/* ============================================================
   Egoire – Luxury Gift Bag Page
   File:  public/css/gift-bag.css
   Namespace: gb-
   ============================================================

   Design:  Soft feminine luxury, editorial gift experience
   Palette: Gold #C6A75E · Beige #FAF6F3 · Black #0a0a0a
   Fonts:   Playfair Display · Cormorant Garamond · Inter

   Table of Contents:
   1.  Container
   2.  Hero Section
   3.  Steps Section
   4.  Individual Step Card
   5.  Steps Note
   6.  Offers Section
   7.  Offer Card
   8.  Editorial Section
   9.  CTA Banner
   10. Tablet  (≤ 1199px)
   11. Mobile  (≤ 767px)
   12. Small Mobile (≤ 479px)
   13. Reduced Motion
   ============================================================ */


/* ============================================================
   1. CONTAINER
   ============================================================ */
.gb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}


/* ============================================================
   2. HERO SECTION
   ============================================================ */
.gb-hero {
    position: relative;
    min-height: clamp(400px, 65vh, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
}

.gb-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gb-hero:hover .gb-hero__img {
    transform: scale(1.03);
}

.gb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.55) 0%,
        rgba(10, 10, 10, 0.30) 50%,
        rgba(10, 10, 10, 0.60) 100%
    );
    pointer-events: none;
}

.gb-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    padding: 0 24px;
}

.gb-hero__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 20px;
}

.gb-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0 0 20px;
    line-height: 1.15;
}

.gb-hero__text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}


/* ============================================================
   3. STEPS SECTION
   ============================================================ */
.gb-steps {
    padding: clamp(64px, 10vw, 112px) 0;
    background: #FAF6F3;
}

.gb-steps__header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto clamp(48px, 7vw, 80px);
}

.gb-steps__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 16px;
}

.gb-steps__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: #0a0a0a;
    margin: 0 0 16px;
    line-height: 1.2;
}

.gb-steps__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: #6b6b6b;
    margin: 0;
}


/* ============================================================
   3b. STEPS GRID
   ============================================================ */
.gb-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 48px);
}


/* ============================================================
   4. INDIVIDUAL STEP CARD
   ============================================================ */
.gb-step {
    text-align: center;
    padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 32px) clamp(28px, 3.5vw, 40px);
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid rgba(198, 167, 94, 0.12);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}

.gb-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 10, 10, 0.06);
}

.gb-step__number {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 400;
    color: #C6A75E;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.gb-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #FAF6F3;
    color: #C6A75E;
    border: 1px solid rgba(198, 167, 94, 0.2);
}

.gb-step__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 600;
    color: #0a0a0a;
    margin: 0 0 12px;
    line-height: 1.3;
}

.gb-step__desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    color: #6b6b6b;
    margin: 0;
}


/* ============================================================
   5. STEPS NOTE
   ============================================================ */
.gb-steps__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(32px, 5vw, 48px);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #8a8a8a;
    text-align: center;
}

.gb-steps__note svg {
    flex-shrink: 0;
    color: #C6A75E;
}


/* ============================================================
   6. OFFERS SECTION
   ============================================================ */
.gb-offers {
    padding: clamp(64px, 10vw, 112px) 0;
    background: #ffffff;
}

.gb-offers__header {
    text-align: center;
    max-width: 480px;
    margin: 0 auto clamp(40px, 6vw, 64px);
}

.gb-offers__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 16px;
}

.gb-offers__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: #0a0a0a;
    margin: 0;
    line-height: 1.2;
}


/* ============================================================
   6b. OFFERS GRID
   ============================================================ */
.gb-offers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(24px, 4vw, 32px);
}


/* ============================================================
   7. OFFER CARD
   ============================================================ */
.gb-offer {
    position: relative;
    padding: clamp(32px, 4vw, 44px) clamp(24px, 3vw, 36px);
    background: #FAF6F3;
    border: 1px solid rgba(198, 167, 94, 0.12);
    border-radius: 4px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}

.gb-offer:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 10, 10, 0.06);
}

.gb-offer__accent {
    position: absolute;
    top: 0;
    left: clamp(24px, 3vw, 36px);
    right: clamp(24px, 3vw, 36px);
    height: 2px;
    background: linear-gradient(90deg, transparent, #C6A75E, transparent);
}

.gb-offer__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 600;
    color: #0a0a0a;
    margin: 0 0 24px;
    line-height: 1.3;
}

.gb-offer__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.gb-offer__detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(198, 167, 94, 0.1);
}

.gb-offer__detail:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.gb-offer__detail-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #6b6b6b;
}

.gb-offer__detail-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0a0a0a;
}

.gb-offer__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0a0a0a;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.gb-offer__cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #C6A75E;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gb-offer__cta:hover::after {
    width: 100%;
}

.gb-offer__cta svg {
    transition: transform 0.3s ease;
}

.gb-offer__cta:hover svg {
    transform: translateX(4px);
}


/* ============================================================
   8. EDITORIAL SECTION
   ============================================================ */
.gb-editorial {
    padding: clamp(64px, 10vw, 112px) 0;
    background: #FAF6F3;
}

.gb-editorial__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.gb-editorial__visual {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.gb-editorial__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gb-editorial__visual:hover .gb-editorial__img {
    transform: scale(1.03);
}

.gb-editorial__content {
    max-width: 480px;
}

.gb-editorial__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 16px;
}

.gb-editorial__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: #0a0a0a;
    margin: 0 0 24px;
    line-height: 1.2;
}

.gb-editorial__text {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.8;
    color: #6b6b6b;
    margin: 0 0 16px;
}

.gb-editorial__text:last-child {
    margin-bottom: 0;
}


/* ============================================================
   9. CTA BANNER
   ============================================================ */
.gb-cta {
    padding: clamp(64px, 10vw, 112px) 0;
    background: #ffffff;
}

.gb-cta__inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 80px) clamp(24px, 4vw, 48px);
    background: #0a0a0a;
    border-radius: 4px;
}

.gb-cta__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.25;
}

.gb-cta__text {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 32px;
}

.gb-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0a0a0a;
    background: #C6A75E;
    border: none;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease,
                transform 0.3s ease;
}

.gb-cta__btn:hover {
    background: #b8993f;
    transform: translateY(-2px);
}

.gb-cta__btn svg {
    transition: transform 0.3s ease;
}

.gb-cta__btn:hover svg {
    transform: translateX(4px);
}


/* ============================================================
   9b. GIFT BAG MODELS SECTION (database-driven)
   ============================================================ */
.gb-models {
    padding: clamp(64px, 10vw, 112px) 0;
    background: #ffffff;
}

.gb-models__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto clamp(48px, 7vw, 72px);
}

.gb-models__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 16px;
}

.gb-models__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: #0a0a0a;
    margin: 0 0 16px;
    line-height: 1.2;
}

.gb-models__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: #6b6b6b;
    margin: 0;
}

.gb-models__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(24px, 4vw, 36px);
}

.gb-model {
    background: #FAF6F3;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(198, 167, 94, 0.12);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}

.gb-model:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 10, 10, 0.08);
}

.gb-model__image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0ece6;
}

.gb-model__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gb-model:hover .gb-model__image {
    transform: scale(1.05);
}

.gb-model__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f0ea 0%, #e8e0d5 100%);
}

.gb-model__body {
    padding: clamp(20px, 3vw, 28px);
}

.gb-model__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #0a0a0a;
    margin: 0 0 8px;
}

.gb-model__desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
    color: #6b6b6b;
    margin: 0 0 16px;
}

.gb-model__price {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #C6A75E;
    margin-bottom: 20px;
}

.gb-model__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0a0a0a;
    padding: 12px 0;
    border-bottom: 1px solid #0a0a0a;
    transition: color 0.3s, border-color 0.3s;
}

.gb-model__btn:hover {
    color: #C6A75E;
    border-color: #C6A75E;
}

.gb-model__btn svg {
    transition: transform 0.3s ease;
}

.gb-model__btn:hover svg {
    transform: translateX(4px);
}

.gb-models__info {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: clamp(32px, 5vw, 48px);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #6b6b6b;
}

.gb-models__info svg {
    flex-shrink: 0;
    color: #C6A75E;
}

.gb-editorial__text--highlight {
    font-weight: 500;
    color: #C6A75E;
    font-style: italic;
    margin-top: 8px;
}


/* ============================================================
   10. TABLET (≤ 1199px)
   ============================================================ */
@media (max-width: 1199px) {
    .gb-steps__grid {
        gap: 24px;
    }

    .gb-editorial__inner {
        gap: 40px;
    }
}


/* ============================================================
   11. MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
    .gb-hero {
        min-height: 380px;
    }

    .gb-steps__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 440px;
        margin: 0 auto;
    }

    .gb-step {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        text-align: left;
        gap: 0 20px;
        padding: 28px 24px;
    }

    .gb-step__number {
        grid-column: 1;
        grid-row: 1 / 2;
        margin-bottom: 0;
        align-self: center;
    }

    .gb-step__icon {
        grid-column: 1;
        grid-row: 2 / 4;
        margin: 12px 0 0;
        width: 48px;
        height: 48px;
        align-self: start;
    }

    .gb-step__name {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .gb-step__desc {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 12px;
    }

    .gb-step__icon {
        display: none;
    }

    .gb-step__desc {
        grid-column: 2;
        grid-row: 2;
        margin-top: 4px;
    }

    .gb-editorial__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gb-editorial__content {
        max-width: 100%;
        text-align: center;
    }

    .gb-editorial__visual {
        order: -1;
    }

    .gb-cta__inner {
        padding: 40px 24px;
    }

    .gb-offers__grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .gb-models__grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
}


/* ============================================================
   12. SMALL MOBILE (≤ 479px)
   ============================================================ */
@media (max-width: 479px) {
    .gb-hero {
        min-height: 320px;
    }

    .gb-hero__label {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .gb-step {
        padding: 24px 20px;
    }

    .gb-step__number {
        font-size: 1.4rem;
    }

    .gb-cta__btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
}


/* ============================================================
   13. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .gb-hero__img,
    .gb-editorial__img,
    .gb-step,
    .gb-offer,
    .gb-offer__cta::after,
    .gb-offer__cta svg,
    .gb-model,
    .gb-model__image,
    .gb-model__btn svg,
    .gb-cta__btn,
    .gb-cta__btn svg {
        transition: none;
    }

    .gb-hero:hover .gb-hero__img,
    .gb-editorial__visual:hover .gb-editorial__img {
        transform: none;
    }
}
