/* ============================================================
   Favorites page — fav-* component styles
   Scoped to .page-template-page-favorites (auto-added by WP)
   ============================================================ */

/* ── Page wrapper ── */
.page-template-page-favorites .fav-page {
    width: 1440px;
    padding: 33px 140px 80px;
}

.page-template-page-favorites .fav-page__title {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}

.page-template-page-favorites .fav-page__note {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 20px;
    width: 781px;
    margin-top: 17px;
}

.page-template-page-favorites .fav-divider {
    height: 2px;
    background: #00862C;
    margin-top: 42px;
    margin-bottom: 20px;
}

/* ── Grid ── */
.page-template-page-favorites .fav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 120px;
    row-gap: 24px;
}

/* ── Item ── */
.page-template-page-favorites .fav-item {
    display: flex;
    align-items: anchor-center;
    gap: 24px;
}

.page-template-page-favorites .fav-item__num {
    width: 20px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 400;
    color: #575856;
    line-height: 20px;
    padding-top: 2px;
}

.page-template-page-favorites .fav-item__cover {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: #E7E8E4;
    overflow: hidden;
}

.page-template-page-favorites .fav-item__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-template-page-favorites .fav-item__info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.page-template-page-favorites .fav-item__name {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    line-height: 20px;
}

.page-template-page-favorites .fav-item__size {
    font-size: 14px;
    font-weight: 400;
    color: #575856;
    line-height: 20px;
    margin-top: 12px;
}

.page-template-page-favorites .fav-item__price {
    font-size: 20px;
    font-weight: 500;
    color: #00862C;
    line-height: 20px;
    margin-top: 7px;
}

.page-template-page-favorites .fav-item__bottom {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-top: 19px;
}

/* ── Qty control ── */
.page-template-page-favorites .fav-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 111px;
    flex-shrink: 0;
}

.page-template-page-favorites .fav-qty__btn {
    width: 24px;
    height: 24px;
    background: transparent;
    /* border: 1px solid #000; */
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Jost', sans-serif;
    transition: background .15s;
}

.page-template-page-favorites .fav-qty__btn:hover { background: #f0f0f0; }

.page-template-page-favorites .fav-qty__val {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 20px;
}

/* ── Delete button ── */
.page-template-page-favorites .fav-item__delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
    color: #575856;
    line-height: 20px;
    padding: 0;
    transition: color .15s;
}

.page-template-page-favorites .fav-item__delete:hover { color: #000; }
.page-template-page-favorites .fav-item__delete svg { flex-shrink: 0; }

/* ── Total section ── */
.page-template-page-favorites .fav-total { margin-top: 54px; }

.page-template-page-favorites .fav-total__label {
    font-size: 28px;
    font-weight: 500;
    color: #575856;
    line-height: 1.2;
}

.page-template-page-favorites .fav-total__sum {
    font-size: 40px;
    font-weight: 600;
    color: #00862C;
    line-height: 1.25;
    margin-top: 4px;
}

.page-template-page-favorites .fav-total__note {
    font-size: 14px;
    font-weight: 400;
    color: #00862C;
    line-height: 20px;
    width: 539px;
    margin-top: 2px;
}

.page-template-page-favorites .fav-total__actions {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 85px;
}

/* ── Action buttons ── */
.page-template-page-favorites .fav-btn-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 40px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
    border-radius: 20px;
}

.page-template-page-favorites .fav-btn-send:hover { background: #333; }

.page-template-page-favorites .fav-btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 40px;
    background: #E7E8E4;
    color: #00862C;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
    border-radius: 20px;
}

.page-template-page-favorites .fav-btn-back:hover { background: #d0d1cc; }

/* ── Empty state ── */
.page-template-page-favorites .fav-empty {
    grid-column: 1 / -1;
    font-size: 20px;
    font-weight: 400;
    color: #575856;
    padding: 40px 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.page-template-page-favorites .fav-cta {
    position: relative;
    width: 1440px;
    min-height: 800px;
    background-image: url('images/plant_cta_bg.jpg');
    background-size: cover;
    background-position: center top;
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.page-template-page-favorites .fav-cta__inner {
    padding: 96px 140px 100px;
}

.page-template-page-favorites .fav-cta__title {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    margin-bottom: 24px;
}

.page-template-page-favorites .fav-btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 40px;
    background: #00862C;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    border: none;
    transition: background .15s;
}

.page-template-page-favorites .fav-btn-call:hover { background: #006220; }

.page-template-page-favorites .fav-cta__chat-title {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-top: 42px;
    margin-bottom: 4px;
}

.page-template-page-favorites .fav-cta__chat-sub {
    font-size: 14px;
    font-weight: 400;
    color: #575856;
    line-height: 20px;
    margin-bottom: 10px;
}

.page-template-page-favorites .fav-cta__buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-template-page-favorites .fav-btn-chat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid #000;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 24px;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    transition: background .15s;
}

.page-template-page-favorites .fav-btn-chat:hover { background: rgba(255, 255, 255, .5); }
.page-template-page-favorites .fav-btn-chat img { width: 20px; height: 20px; object-fit: contain; }
