/* =========================================================
   BASE
   ========================================================= */

body {
    font-family: 'Inter', sans-serif;
    color: #222;
    background: #fff;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* =========================================================
   HEADER
   ========================================================= */

.gs-header {
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
}

.gs-nav a {
    margin-left: 32px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.gs-nav a:hover {
    color: #000;
}

.gs-cart {
    padding: 6px 14px;
    border: 1px solid #222;
    border-radius: 20px;
}

.gs-cart:hover {
    background: #222;
    color: #fff;
}

/* =========================================================
   HEADER – CART BUTTON
   ========================================================= */

.gs-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 14px;
    border: 1px solid #222;
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;

    color: #222;
    text-decoration: none;

    transition: all 0.15s ease;
}

.gs-cart-btn i {
    font-size: 1rem;
    color: inherit; /* 🔑 */
}

/* Hover */
.gs-cart-btn:hover {
    background: #222;
    color: #fff;
}

/* Ensure icon stays visible */
.gs-cart-btn:hover i {
    color: #fff;
}



/* =========================================================
   SHOP HEADER
   ========================================================= */

.shop-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.shop-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-header h1 {
    font-size: 2.1rem;
}

.shop-subtitle {
    color: #6b7280;
    margin-bottom: 1.25rem;
}

/* =========================================================
   HEADER – CART BUTTON OVERRIDES
   ========================================================= */

.gs-nav .gs-cart-btn {
    color: #222;
}

.gs-nav .gs-cart-btn:hover {
    background: #222;
    color: #fff;          /* 🔑 force override */
    border-color: #222;
}

.gs-nav .gs-cart-btn span,
.gs-nav .gs-cart-btn i {
    color: inherit;       /* 🔑 text + icon follow button */
}


/* =========================================================
   SEARCH
   ========================================================= */

.shop-search {
    max-width: 380px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
    margin: 0 auto 1.25rem;
    display: block;
}

/* =========================================================
   SORT
   ========================================================= */

.shop-sort {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    font-size: 0.8rem;
    background: #fff;
}

/* =========================================================
   CATEGORY PILLS
   ========================================================= */

.shop-categories {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-pill {
    padding: 5px 12px;
    font-size: 0.72rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111 !important;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.category-pill:hover {
    background: #f9fafb;
}

/* ACTIVE */
.category-pill.active {
    background: #111827;
    color: #ffffff !important;
    border-color: #111827;
}

/* =========================================================
   PRODUCT GRID (TIGHTER)
   ========================================================= */

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 200px); /* FIXED CARD WIDTH */
    gap: 1.25rem;
    justify-content: center; /* CENTER THE GRID BLOCK */
}



/* =========================================================
   PRODUCT CARD (SMALLER)
   ========================================================= */

.product-card {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    height: 300px;              /* 🔒 FIXED CARD HEIGHT */
    display: flex;
    flex-direction: column;
}

/* Smaller square image */
.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 180px;
    background: #f9fafb;
    overflow: hidden;
}

.product-image-wrap picture {
    width: 100%;
    height: 100%;
    display: block;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tighter body */
.product-card-body {
    padding: 0.75rem;
    text-align: center;
    padding-bottom: 1.25rem;
}

.product-card-body h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.product-price {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

/* =========================================================
   STOCK BADGE
   ========================================================= */

.stock-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #111827;
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 9px;
    border-radius: 999px;
    z-index: 2;
}


/* =========================================================
   FOOTER – EDITORIAL / LUXURY
   ========================================================= */

.gs-footer {
    margin-top: 6rem;
    padding: 4rem 0 2.5rem;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.gs-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.gs-footer-col h4 {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.gs-footer-col a {
    display: block;
    font-size: 0.85rem;
    color: #111;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.gs-footer-col a:hover {
    text-decoration: underline;
}

.gs-footer-newsletter p {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
    max-width: 260px;
}

.gs-footer-form {
    display: flex;
    border-bottom: 1px solid #111;
}

.gs-footer-form input {
    border: none;
    outline: none;
    padding: 6px 0;
    font-size: 0.85rem;
    flex: 1;
}

.gs-footer-form button {
    border: none;
    background: none;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-left: 1rem;
    cursor: pointer;
}

.gs-footer-msg {
    display: none;
    font-size: 0.8rem;
    color: #111;
    margin-top: 0.75rem;
}

/* Bottom bar */

.gs-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.gs-footer-copy {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Responsive */

@media (max-width: 900px) {
    .gs-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 520px) {
    .gs-footer-grid {
        grid-template-columns: 1fr;
    }

    .gs-footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* =========================================================
   PRODUCT PAGE – TRUE FIXED IMAGE FRAME (NO BASELINE SHIFT)
   ========================================================= */

.product-page {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* Media column */
.product-media {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HARD FIXED FRAME */
.product-media-main {
    width: 360px;
    height: 480px;
    position: relative;   /* 🔑 */
    overflow: hidden;
}

/* REMOVE <picture> FROM FLOW */
.product-media-main picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* IMAGE IS NOW ABSOLUTE – NO LAYOUT PARTICIPATION */
.product-media-main img {
    position: absolute;   /* 🔑 */
    inset: 0;             /* top:0 right:0 bottom:0 left:0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Thumbnails */
.product-media-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    height: 48px;          /* 🔒 reserve space */
}

.product-media-thumbs img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.product-media-thumbs img:hover {
    opacity: 1;
}

/* Info */
.product-info h1 {
    font-size: 2.3rem;
    margin-bottom: 0.4rem;
}

.product-price {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.product-description {
    margin-top: 2rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .product-page {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .product-media-main {
        width: 280px;
        height: 380px;
    }

    .product-media-thumbs {
        justify-content: center;
    }
}

/* =========================================================
   PRODUCT CARD – CONSISTENT HEIGHT + TITLE TRUNCATION
   ========================================================= */

/* Ensure card body has consistent height */
.product-card-body {
    min-height: 90px;               /* locks text area height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.1rem 0.75rem 1.4rem;
}

/* Product title – max 2 lines, then truncate */
.product-card-body h3 {
    font-size: 0.95rem;
    line-height: 1.35;

    display: -webkit-box;
    -webkit-line-clamp: 2;          /*  max 2 lines */
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    min-height: calc(1.35em * 2);   /* reserve exact space */
    margin-bottom: 0.4rem;
}

/* Price always aligned */
.product-price {
    margin-top: auto;               /*  pushes price down */
    font-size: 0.95rem;
}
/* =========================================================
   PRODUCT CARD – TITLE TYPOGRAPHY FIX
   ========================================================= */

.product-card-body h3 {
    font-family: 'Inter', sans-serif;   /*  clarity */
    font-size: 0.95rem;
    font-weight: 500;                   /* readable, not heavy */
    letter-spacing: 0.01em;
    color: #111;

    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    min-height: calc(1.4em * 2);
    margin-bottom: 0.45rem;
}


/* =========================================================
   LIFESTYLE SECTION – FIXED IMAGE FRAMES
   ========================================================= */

.gs-lifestyle {
    margin-top: 6rem;
}

.gs-lifestyle-grid {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* IMAGE FRAME – LOCK SIZE */
.gs-lifestyle-image {
    width: 100%;
    height: 260px;                 /* 🔒 fixed height */
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;           /* subtle neutral fallback */
}

/* IMAGE FILL */
.gs-lifestyle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;             /* 🔑 fills box */
    object-position: center;
    display: block;
}

/* CENTER TEXT */
.gs-lifestyle-content {
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
}

.gs-lifestyle-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.gs-lifestyle-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive */
@media (max-width: 900px) {
    .gs-lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gs-lifestyle-image {
        height: 240px;
    }
}

/* =========================================================
   EDITORIAL ANCHOR (HOME)
   ========================================================= */

.editorial-anchor {
    margin: 6rem 0;
    padding: 5rem 1rem;
    text-align: center;
    background: #fff;
}

.editorial-inner {
    max-width: 720px;
    margin: 0 auto;
}

.editorial-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.editorial-anchor h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.25;
    color: #111;
}

/* Responsive */
@media (max-width: 600px) {
    .editorial-anchor {
        margin: 4rem 0;
        padding: 3.5rem 1rem;
    }

    .editorial-anchor h2 {
        font-size: 1.9rem;
    }
}

/* =========================================================
   MICRO STORY (HOME)
   ========================================================= */

.micro-story {
    margin: 6rem 0;
    padding: 0 1rem;
}

.micro-story-grid {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Image */
.micro-story-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* Text */
.micro-story-text {
    max-width: 420px;
}

.micro-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 1rem;
}

.micro-story-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.micro-story-text p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #444;
    margin-bottom: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .micro-story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .micro-story-text {
        margin: 0 auto;
    }

    .micro-story-image img {
        height: 280px;
    }
}
/* =========================================================
   HOMEPAGE – EDITORIALS
   ========================================================= */

.gs-home-editorials {
    max-width: 1100px;
    margin: 0 auto;
}

.gs-home-editorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.gs-home-editorial-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gs-home-editorial-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.gs-home-editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gs-home-editorial-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.gs-home-editorial-body p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.gs-home-editorial-link {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    font-weight: 500;
}



/* =========================================================
   HEADER – BASE
   ========================================================= */

.gs-header {
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
    position: relative;
    z-index: 100;
}

.gs-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.3rem 1.25rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.gs-logo img {
    height: 40px;
    display: block;
}

/* =========================================================
   DESKTOP NAV
   ========================================================= */

.gs-nav-desktop {
    display: flex;
    align-items: center;
    gap: 2px; /* 🔧 HALF THE PREVIOUS GAP */
}

.gs-nav-desktop a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.35rem; /* subtle click target */
}

.gs-nav-desktop a:hover {
    color: #000;
}

/* =========================================================
   CART BUTTON
   ========================================================= */

.gs-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 14px;
    border: 1px solid #222;
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: all 0.15s ease;
}

.gs-cart-btn:hover {
    background: #222;
    color: #fff;
}

/* =========================================================
   MOBILE CONTROLS
   ========================================================= */

.gs-mobile-actions {
    display: none;
    align-items: center;
    gap: 0.6rem;
}

.gs-menu-toggle-input {
    display: none;
}

.gs-menu-toggle-label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
}

/* =========================================================
   MOBILE NAV
   ========================================================= */

.gs-nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1.1rem;

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: #fff;
    padding: 2rem 1.25rem;
    border-bottom: 1px solid #e6e6e6;
}

.gs-nav-mobile a {
    text-align: center;
    font-size: 0.95rem;
    text-decoration: none;
    color: #222;
    letter-spacing: 0.05em;
}

/* =========================================================
   TOGGLE (THIS NOW WORKS)
   ========================================================= */

.gs-menu-toggle-input:checked ~ .gs-nav-mobile {
    display: flex;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

    .gs-nav-desktop {
        display: none;
    }

    .gs-mobile-actions {
        display: flex;
    }

    .gs-logo img {
        height: 34px;
    }
}
