/* Site-wide header, search, mobile menu, footer and phone tab bar.
   Markup: template/client-pov/base/header.html and footer.html. Loaded on every client page after the theme CSS.
   Bootstrap 3 sets html { font-size: 10px }, so sizes are in px. */

:root {
    --gs-indigo: #1E1C55;
    --gs-indigo-deep: #15143A;
    --gs-indigo-soft: #EFEDFA;
    --gs-indigo-card: #23215A;
    --gs-gold: #F2A31B;
    --gs-gold-dark: #E08A00;
    --gs-gold-soft: #FFF1D6;
    --gs-gold-track: #F6DDB0;
    --gs-amber: #9A5500;
    --gs-brown: #5A3400;
    --gs-red: #C0272D;
    --gs-ink: #1C1B2B;
    --gs-body: #4A4660;
    --gs-muted: #5F5B6E;
    --gs-line: #ECE3D3;
    --gs-line-warm: #E2D6C1;
    --gs-cream: #FFF9F0;
    --gs-sand: #FBF4E8;
    --gs-footer-text: #CFCBEA;
    --gs-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --gs-sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --gs-topbar-h: 36px;
    --gs-tabbar-h: 58px;
}

/* ---------- Fonts: one family across the site instead of the theme's four ---------- */

body { font-family: var(--gs-sans); color: var(--gs-ink); }

.biolife-banner.layout-01 .bottomm-title,
.biolife-title-box .subtitle,
.biolife-title-box.style-02 .subtitle,
.biolife-title-box.style-02 .desc,
.why-choose-us-block .subtitle,
.why-choose-us-block .sc-element .txt-content .title,
.biolife-banner__style-01 .text-content .third-line,
.biolife-banner__style-02 .text1,
.biolife-instagram-block .wrap-title .subtitle { font-family: var(--gs-serif); }

.quantity-box.type1 .qty-input input,
.welcome-us-block .qt-text { font-family: var(--gs-sans); }

/* ---------- Shared pieces ---------- */

.gs-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: clamp(16px, 3vw, 32px);
    padding-right: clamp(16px, 3vw, 32px);
    box-sizing: border-box;
}

.gs-header *,
.gs-header *::before,
.gs-header *::after,
.gs-drawer *,
.gs-drawer *::before,
.gs-drawer *::after,
.gs-footer *,
.gs-footer *::before,
.gs-footer *::after,
.gs-tabbar *,
.gs-tabbar *::before,
.gs-tabbar *::after { box-sizing: border-box; }

.gs-header ul,
.gs-drawer ul,
.gs-footer ul,
.gs-tabbar ul { margin: 0; padding: 0; list-style: none; }

.gs-header p,
.gs-drawer p,
.gs-footer p { margin: 0; }

.gs-icon { flex: 0 0 auto; display: inline-block; vertical-align: middle; }

.gs-header :focus-visible,
.gs-drawer :focus-visible,
.gs-footer :focus-visible,
.gs-tabbar :focus-visible { outline: 3px solid var(--gs-gold); outline-offset: 2px; }

.gs-skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100002;
    padding: 10px 16px;
    border-radius: 0 0 12px 12px;
    background: var(--gs-indigo);
    color: #FFFFFF;
    font-weight: 800;
    transition: top 0.15s ease;
}
.gs-skip-link:focus { top: 0; color: #FFFFFF; text-decoration: none; }

#gs-content:focus { outline: none; }

.gs-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--gs-line);
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--gs-indigo);
    cursor: pointer;
}
.gs-icon-btn:hover { background: var(--gs-indigo-soft); }

.gs-coin {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--gs-gold);
    box-shadow: inset 0 0 0 3px #FFD27A, inset 0 -4px 0 rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--gs-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--gs-indigo);
}

.gs-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}
.gs-pill-btn--gold { background: var(--gs-gold); color: var(--gs-indigo); }
.gs-pill-btn--gold:hover,
.gs-pill-btn--gold:focus { color: var(--gs-indigo); text-decoration: none; filter: brightness(1.06); }
.gs-pill-btn--ghost { border-color: #6E6BB8; color: #FFFFFF; }
.gs-pill-btn--ghost:hover,
.gs-pill-btn--ghost:focus { color: #FFFFFF; text-decoration: none; background: rgba(255, 255, 255, 0.08); }

/* ---------- Page header and breadcrumbs (list, product, content, account, sign-in and blog pages) ---------- */

.gs-page-head { background: #FFF3DD; border-bottom: 1px solid #F1E6D2; font-family: var(--gs-sans); }
.gs-page-head .gs-container { padding-top: 22px; padding-bottom: 26px; }
.gs-page-head .gs-page-head__title {
    margin: 10px 0 0;
    font-family: var(--gs-serif);
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--gs-indigo);
}
.gs-page-head .gs-page-head__intro { margin: 10px 0 0; max-width: 760px; font-size: 16px; line-height: 1.6; color: var(--gs-body); }
.gs-page-head--compact .gs-container { padding-top: 14px; padding-bottom: 14px; }

.gs-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--gs-muted); }
.gs-crumbs li + li::before { content: "/"; margin: 0 8px; color: #B7B1C4; }
.gs-crumbs a { color: var(--gs-muted); text-decoration: none; }
.gs-crumbs a:hover,
.gs-crumbs a:focus { color: var(--gs-indigo); text-decoration: underline; }
.gs-crumbs [aria-current="page"] { color: var(--gs-ink); font-weight: 600; }

@media (max-width: 767px) {
    .gs-page-head .gs-container { padding-top: 16px; padding-bottom: 18px; }
    .gs-page-head .gs-page-head__intro { font-size: 14.5px; }
}

/* ---------- Buttons ---------- */

.gs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 24px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: var(--gs-sans);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.gs-btn:hover,
.gs-btn:focus { text-decoration: none; }
.gs-btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.gs-btn--primary { background: var(--gs-indigo); color: #FFFFFF; }
.gs-btn--primary:hover,
.gs-btn--primary:focus { color: #FFFFFF; filter: brightness(1.2); }
.gs-btn--outline { border-color: var(--gs-indigo); background: transparent; color: var(--gs-indigo); font-weight: 700; }
.gs-btn--outline:hover,
.gs-btn--outline:focus { background: var(--gs-indigo); color: #FFFFFF; }
.gs-btn--gold { background: var(--gs-gold); color: var(--gs-indigo); }
.gs-btn--gold:hover,
.gs-btn--gold:focus { color: var(--gs-indigo); filter: brightness(1.06); }

/* ---------- Forms (contact, suggestion box, sign-in, sign-up) ---------- */

.gs-form { display: flex; flex-direction: column; gap: 16px; margin: 0; font-family: var(--gs-sans); }
.gs-form .form-row,
.gs-form .gs-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.gs-form label { margin: 0; font-size: 14px; font-weight: 700; color: var(--gs-ink); }
.gs-form .requite,
.gs-form .gs-required { margin-left: 2px; color: var(--gs-red); }
.gs-form input[type="text"],
.gs-form input[type="email"],
.gs-form input[type="tel"],
.gs-form input[type="password"],
.gs-form input[type="number"],
.gs-form input[type="search"],
.gs-form select,
.gs-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1.5px solid var(--gs-line-warm);
    border-radius: 14px;
    background: #FFFFFF;
    font-family: var(--gs-sans);
    font-size: 15px;
    color: var(--gs-ink);
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gs-form textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.gs-form input:focus,
.gs-form select:focus,
.gs-form textarea:focus { border-color: var(--gs-indigo); box-shadow: 0 0 0 4px rgba(30, 28, 85, 0.08); outline: none; }
.gs-form .input-error { border-color: var(--gs-red); }
.gs-form .field-error { min-height: 0; font-size: 13px; font-weight: 600; color: var(--gs-red); }
.gs-form .field-error:empty { display: none; }
.gs-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.gs-form__link { font-size: 14px; font-weight: 700; color: var(--gs-indigo); }
.gs-form__link:hover,
.gs-form__link:focus { color: var(--gs-red); }
.gs-form__hint { margin: 0; font-size: 14px; line-height: 1.55; color: var(--gs-muted); }

/* ---------- Product card (components/product_card.html) and cart buttons ---------- */

.gs-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }

.gs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 12px 12px 14px;
    background: #FFFFFF;
    border: 1px solid var(--gs-line);
    border-radius: 20px;
    font-family: var(--gs-sans);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gs-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(30, 28, 85, 0.1); }
.gs-card p { margin: 0; }

.gs-card__media {
    position: relative;
    height: 200px;
    border-radius: 14px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gs-card__img { max-width: 84%; max-height: 180px; width: auto; height: auto; object-fit: contain; }

.gs-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #FFFFFF;
}
.gs-badge--deal { background: var(--gs-red); }
.gs-badge--best { background: var(--gs-indigo); font-size: 11.5px; }

.gs-card .gs-card__brand {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6B6679;
}
.gs-card .gs-card__name {
    min-height: 40px;
    margin: 0;
    font-family: var(--gs-sans);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gs-card .gs-card__name a { color: var(--gs-ink); text-decoration: none; }
.gs-card .gs-card__name a:hover,
.gs-card .gs-card__name a:focus { color: var(--gs-red); }

.gs-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.gs-price { font-size: 22px; font-weight: 800; color: var(--gs-indigo); }
.gs-mrp { font-size: 14px; color: #6B6679; }
.gs-off { font-size: 12.5px; font-weight: 800; color: var(--gs-red); }
.gs-card .gs-card__save { margin-top: -2px; font-size: 13px; font-weight: 700; color: #1F7A4D; }
.gs-card .gs-card__stock { font-size: 12.5px; font-weight: 700; color: #A3470B; }

.gs-card__action { margin-top: auto; padding-top: 4px; }

.gs-add {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: var(--gs-indigo);
    color: #FFFFFF;
    font-family: var(--gs-sans);
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
.gs-add:hover,
.gs-add:focus { color: #FFFFFF; filter: brightness(1.2); }

.gs-stepper {
    height: 44px;
    border-radius: 12px;
    background: var(--gs-gold-soft);
    border: 1.5px solid var(--gs-gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--gs-sans);
    font-size: 14px;
    font-weight: 800;
    color: var(--gs-indigo);
}
.gs-stepper .gs-stepper__btn {
    width: 44px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--gs-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.gs-soldout {
    height: 44px;
    border-radius: 12px;
    background: #F4F2F7;
    color: var(--gs-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .gs-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gs-card { padding: 10px; border-radius: 18px; }
    .gs-card__media { height: 140px; }
    .gs-card__img { max-height: 130px; }
    .gs-price { font-size: 18px; }
    .gs-card .gs-card__name { font-size: 13.5px; min-height: 36px; }
    .gs-card .gs-add { font-size: 13px; height: 42px; padding: 0 8px; }
}

/* ---------- Header ---------- */

.gs-header {
    position: sticky;
    top: calc(-1 * var(--gs-topbar-h));
    z-index: 300;
    background: #FFFFFF;
    box-shadow: 0 1px 0 var(--gs-line);
}

.gs-header a { text-decoration: none; }

.gs-topbar { height: var(--gs-topbar-h); background: var(--gs-indigo); color: #EEEBFF; font-size: 13px; font-weight: 600; }
.gs-topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gs-topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-topbar__item .gs-icon { color: var(--gs-gold); }
.gs-topbar__links { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.gs-topbar__links a { display: inline-flex; align-items: center; gap: 6px; color: #EEEBFF; }
.gs-topbar__links a:hover,
.gs-topbar__links a:focus,
.gs-topbar__links a[aria-current="page"] { color: var(--gs-gold); }

.gs-masthead { background: #FFFFFF; }
.gs-masthead__inner { display: flex; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.gs-masthead__menu { display: none; }

.gs-logo { flex: 0 0 auto; display: inline-flex; line-height: 0; }
.gs-logo img { width: auto; height: 56px; }

/* Search bar */
.gs-search {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    height: 50px;
    margin: 0;
    padding: 0 5px 0 16px;
    border: 1.5px solid var(--gs-line-warm);
    border-radius: 999px;
    background: var(--gs-cream);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gs-search:focus-within { border-color: var(--gs-indigo); box-shadow: 0 0 0 4px rgba(30, 28, 85, 0.08); background: #FFFFFF; }
.gs-search__icon { display: inline-flex; color: var(--gs-muted); }
/* Two classes so this beats the theme's input[type="search"] square border (style.css). */
.gs-search .gs-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    font-family: var(--gs-sans);
    font-size: 15px;
    color: var(--gs-ink);
    outline: none;
    box-shadow: none;
}
.gs-search__input::-webkit-search-cancel-button { cursor: pointer; }
/* The rounded pill shows focus (.gs-search:focus-within), so the field itself draws no square outline. */
.gs-header .gs-search .gs-search__input:focus-visible { outline: none; }
.gs-search__submit {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--gs-indigo);
    color: #FFFFFF;
    font-family: var(--gs-sans);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}
.gs-search__submit:hover { filter: brightness(1.2); }
.gs-search__results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    border: 1px solid var(--gs-line);
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(30, 28, 85, 0.16);
}

/* Account and cart */
.gs-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.gs-actions__search { display: none; }

.gs-account { position: relative; }
.gs-account__link { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 8px; border-radius: 14px; color: var(--gs-indigo); }
.gs-account__link:hover,
.gs-account__link:focus { color: var(--gs-indigo); background: var(--gs-indigo-soft); }
.gs-account__avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--gs-indigo-soft); display: inline-flex; align-items: center; justify-content: center; }
.gs-account__text { display: flex; flex-direction: column; line-height: 1.2; }
.gs-account__text span { font-size: 12px; font-weight: 600; color: var(--gs-muted); }
.gs-account__text strong { font-size: 14px; font-weight: 800; color: var(--gs-indigo); }

.gs-account__menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 20;
    min-width: 210px;
    padding: 8px !important;
    border: 1px solid var(--gs-line);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 22px 50px rgba(30, 28, 85, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.gs-account:hover .gs-account__menu,
.gs-account:focus-within .gs-account__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.gs-account__menu a { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: 10px; color: var(--gs-ink); font-size: 14px; font-weight: 600; }
.gs-account__menu a:hover,
.gs-account__menu a:focus { background: var(--gs-indigo-soft); color: var(--gs-indigo); }
.gs-account__divider { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--gs-line); }

.gs-cart {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 50px;
    padding: 0 20px 0 14px;
    border-radius: 999px;
    background: var(--gs-indigo);
    color: #FFFFFF;
}
.gs-cart:hover,
.gs-cart:focus { color: #FFFFFF; filter: brightness(1.2); }
.gs-cart__icon { position: relative; display: inline-flex; }
.gs-cart__count {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--gs-gold);
    color: var(--gs-indigo);
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}
.gs-cart__text { display: flex; flex-direction: column; line-height: 1.15; }
.gs-cart__text span { font-size: 12px; font-weight: 600; color: #C9C5EE; }
.gs-cart__text strong { font-size: 15px; font-weight: 800; }

/* Department row */
.gs-nav { border-top: 1px solid #F3ECDF; background: #FFFFFF; }
.gs-nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gs-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
}
.gs-nav__list::-webkit-scrollbar { display: none; }
.gs-nav__item > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 11px;
    color: var(--gs-ink);
    border-bottom: 3px solid transparent;
}
.gs-nav__item > a:hover,
.gs-nav__item > a:focus { color: var(--gs-red); }
.gs-nav__item > a[aria-current="page"] { color: var(--gs-indigo); border-bottom-color: var(--gs-gold); }
.gs-nav__item > .gs-nav__all {
    height: 38px;
    margin-right: 6px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: var(--gs-indigo-soft);
    color: var(--gs-indigo);
}
.gs-nav__item > .gs-nav__all:hover,
.gs-nav__item > .gs-nav__all:focus { background: var(--gs-indigo); color: #FFFFFF; }
.gs-nav__deals { color: var(--gs-red) !important; }

.gs-freebar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 12px;
    background: #FFF4E0;
    color: var(--gs-amber);
}
.gs-freebar__body { display: flex; flex-direction: column; gap: 5px; min-width: 200px; }
.gs-freebar__text { font-size: 13px; font-weight: 700; color: var(--gs-brown); white-space: nowrap; }
.gs-freebar__track { display: block; height: 5px; border-radius: 999px; background: var(--gs-gold-track); overflow: hidden; }
.gs-freebar__fill { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--gs-gold-dark); transition: width 0.4s ease; }

/* Shop mega menu (opens on hover or keyboard focus) */
.shop-megamenu {
    position: absolute;
    top: 100%;
    left: clamp(16px, 3vw, 32px);
    z-index: 30;
    padding-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.gs-nav__item--mega:hover .shop-megamenu,
.gs-nav__item--mega:focus-within .shop-megamenu { opacity: 1; visibility: visible; transform: translateY(0); }

.shop-menu {
    display: grid;
    grid-template-columns: max-content 210px;
    grid-template-areas: "aisles shortcuts" "aisles brands";
    grid-template-rows: auto minmax(0, 1fr);
    max-height: min(540px, calc(100vh - 160px));
    overflow: auto;
    border: 1px solid var(--gs-line);
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 24px 56px rgba(30, 28, 85, 0.18);
    white-space: normal;
    text-align: left;
}
.shop-menu-aisles { grid-area: aisles; display: flex; gap: 4px 16px; padding: 16px 12px 10px 14px; }
.shop-menu-col { width: max-content; min-width: 152px; max-width: 180px; }
.shop-menu-group + .shop-menu-group { margin-top: 16px; }
.shop-menu-shortcuts { grid-area: shortcuts; padding: 16px 14px 8px; background: var(--gs-cream); border-bottom: 1px solid var(--gs-line); }
.shop-menu-brands { grid-area: brands; padding: 14px 14px 12px; background: var(--gs-cream); }
.shop-menu-label {
    margin: 0 0 8px;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gs-amber);
}
.shop-menu-label::after { content: ""; display: block; width: 26px; height: 2px; margin-top: 5px; border-radius: 2px; background: var(--gs-gold); }
.shop-menu a { display: block; padding: 6px 8px; border-radius: 8px; color: var(--gs-ink); font-size: 14px; font-weight: 600; line-height: 1.35; }
.shop-menu a:hover,
.shop-menu a:focus { background: var(--gs-indigo-soft); color: var(--gs-indigo); }
.shop-menu a.is-deal { color: var(--gs-red); }

/* ---------- Full-screen search (phones and tablets) ---------- */

.search-overlay[hidden] { display: none; }
.search-overlay { position: fixed; inset: 0; z-index: 100000; pointer-events: none; }
.search-overlay.is-open { pointer-events: auto; }
.search-overlay-backdrop { position: absolute; inset: 0; background: rgba(21, 20, 58, 0.5); opacity: 0; transition: opacity 0.24s ease; }
.search-overlay.is-open .search-overlay-backdrop { opacity: 1; }
.search-overlay-panel {
    position: absolute;
    top: 72px;
    left: 50%;
    width: min(680px, calc(100vw - 18px));
    overflow: hidden;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translate(-50%, -16px) scale(0.97);
    transition: opacity 0.24s ease-out, transform 0.24s ease-out;
}
.search-overlay.is-open .search-overlay-panel { opacity: 1; transform: translate(-50%, 0) scale(1); }
.search-overlay-form { display: flex; flex-direction: column; margin: 0; }
.search-overlay-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.search-overlay-input-wrap { padding: 12px; background: var(--gs-cream); border-bottom: 1px solid var(--gs-line); }
.search-overlay-field { position: relative; display: flex; align-items: center; min-height: 56px; border: 1.5px solid var(--gs-line-warm); border-radius: 999px; background: #FFFFFF; }
.search-overlay-field:focus-within { border-color: var(--gs-indigo); box-shadow: 0 0 0 4px rgba(30, 28, 85, 0.08); }
.search-overlay-field .search-overlay-input {
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 0 58px 0 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-family: var(--gs-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--gs-ink);
    outline: none;
}
.search-overlay-submit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.search-overlay-clear {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: var(--gs-indigo-soft);
    color: var(--gs-indigo);
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}
.search-overlay-clear:hover,
.search-overlay-clear:focus { background: var(--gs-indigo); color: #FFFFFF; outline: none; }
body.search-overlay-open { overflow: hidden; }

/* Suggestion list, shared by the header search bar and the full-screen search */
.smart-search-dropdown { max-height: min(60vh, 520px); overflow-y: auto; padding: 8px; background: #FFFFFF; }
.smart-search-dropdown[hidden] { display: none; }
.smart-search-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; color: var(--gs-ink); text-decoration: none; }
.smart-search-item + .smart-search-item { margin-top: 2px; }
.smart-search-item:hover,
.smart-search-item:focus { background: var(--gs-cream); color: var(--gs-ink); outline: none; text-decoration: none; }
.smart-search-image { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; background: #F6F3EE; object-fit: contain; }
.smart-search-info { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.smart-search-name { overflow: hidden; color: var(--gs-ink); font-size: 15px; font-weight: 700; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.smart-search-name mark { padding: 0 2px; border-radius: 4px; background: var(--gs-gold-soft); color: inherit; }
.smart-search-price { color: var(--gs-indigo); font-size: 14px; font-weight: 800; }
.smart-search-message,
.smart-search-section-title,
.smart-search-view-all { display: block; font-size: 14px; }
.smart-search-section-title { padding: 10px 12px 8px; color: var(--gs-amber); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.smart-search-message,
.smart-search-empty { padding: 26px 18px; color: var(--gs-muted); text-align: center; }
.smart-search-empty strong { display: block; margin-bottom: 6px; color: var(--gs-ink); font-size: 17px; }
.smart-search-view-all { margin: 8px; padding: 13px 16px; border-radius: 14px; background: var(--gs-indigo); color: #FFFFFF; font-weight: 800; text-align: center; }
.smart-search-view-all:hover,
.smart-search-view-all:focus { color: #FFFFFF; filter: brightness(1.2); outline: none; text-decoration: none; }
.search-empty-grid { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 14px; }
.search-empty-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--gs-line-warm); border-radius: 999px; background: var(--gs-cream); color: var(--gs-indigo); font-size: 13px; font-weight: 700; text-decoration: none; }
.search-empty-chip:hover,
.search-empty-chip:focus { background: var(--gs-indigo); color: #FFFFFF; outline: none; text-decoration: none; }
.search-loading-list { display: grid; gap: 10px; padding: 10px 12px 16px; }
.search-loading-row { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; background: #FBFAF7; }
.search-loading-thumb,
.search-loading-line { background: linear-gradient(90deg, #F4EFE6 25%, #FFF4E0 37%, #F4EFE6 63%); background-size: 400% 100%; animation: gsSearchSkeleton 1.2s ease-in-out infinite; }
.search-loading-thumb { width: 52px; height: 52px; border-radius: 12px; }
.search-loading-lines { display: grid; gap: 8px; }
.search-loading-line { height: 12px; border-radius: 999px; }
.search-loading-line.short { width: 38%; }
@keyframes gsSearchSkeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- Mobile menu drawer ---------- */

.gs-drawer[hidden] { display: none; }
.gs-drawer { position: fixed; inset: 0; z-index: 100001; }
.gs-drawer__backdrop { position: absolute; inset: 0; background: rgba(21, 20, 58, 0.55); opacity: 0; transition: opacity 0.2s ease; }
.gs-drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(340px, 88vw);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #FFFFFF;
    box-shadow: 12px 0 30px rgba(21, 20, 58, 0.25);
    transform: translateX(-100%);
    transition: transform 0.22s ease;
}
.gs-drawer.is-open .gs-drawer__backdrop { opacity: 1; }
.gs-drawer.is-open .gs-drawer__panel { transform: translateX(0); }
body.gs-drawer-open { overflow: hidden; }

.gs-drawer a { text-decoration: none; }
.gs-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 8px 16px; }
.gs-drawer__head .gs-logo img { height: 44px; }

.gs-drawer__account { margin: 6px 16px 12px; padding: 16px; border-radius: 18px; background: var(--gs-indigo); color: #FFFFFF; }
.gs-drawer__account-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gs-drawer__account-text { display: flex; flex-direction: column; line-height: 1.3; }
.gs-drawer__account-text strong { font-size: 15px; }
.gs-drawer__account-text span { font-size: 12.5px; color: #D6D3F2; }
.gs-drawer__account-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.gs-drawer__label { margin: 14px 16px 4px !important; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gs-muted); }
.gs-drawer__list { padding: 0 8px !important; }
.gs-drawer__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 10px;
    border-radius: 12px;
    color: var(--gs-ink);
    font-size: 15px;
    font-weight: 700;
}
.gs-drawer__list a:hover,
.gs-drawer__list a:focus { background: var(--gs-sand); color: var(--gs-indigo); }
.gs-drawer__list a .gs-icon { color: var(--gs-muted); }
.gs-drawer__list--plain a { min-height: 44px; font-weight: 600; color: var(--gs-body); }
.gs-drawer__deal { color: var(--gs-red) !important; }

.gs-drawer__group { margin: 0 8px; border-top: 1px solid #F3ECDF; }
.gs-drawer__group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 10px;
    list-style: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--gs-indigo);
    cursor: pointer;
}
.gs-drawer__group summary::-webkit-details-marker { display: none; }
.gs-drawer__group summary .gs-icon { transition: transform 0.2s ease; }
.gs-drawer__group[open] summary .gs-icon { transform: rotate(45deg); }
.gs-drawer__sublist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 4px 10px !important; }
.gs-drawer__sublist a { display: flex; align-items: center; min-height: 40px; padding: 4px 8px; border-radius: 10px; color: var(--gs-body); font-size: 14px; font-weight: 600; }
.gs-drawer__sublist a:hover,
.gs-drawer__sublist a:focus { background: var(--gs-sand); color: var(--gs-indigo); }

.gs-drawer__call {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 16px 20px;
    min-height: 52px;
    padding: 0 14px;
    border-radius: 14px;
    background: #FFF4E0;
    color: var(--gs-brown) !important;
    font-size: 14px;
    font-weight: 800;
}

/* ---------- Footer ---------- */

.gs-footer { background: var(--gs-indigo-deep); color: var(--gs-footer-text); font-size: 14.5px; line-height: 1.6; }
.gs-footer a { color: var(--gs-footer-text); text-decoration: none; }
.gs-footer a:hover,
.gs-footer a:focus { color: #FFFFFF; text-decoration: underline; }

.gs-footer__news { background: var(--gs-indigo); }
.gs-footer__news-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.gs-footer__news-title { font-family: var(--gs-serif); font-size: 24px; font-weight: 600; line-height: 1.2; color: #FFFFFF; }
.gs-footer__news-text { margin-top: 4px !important; color: #D6D3F2; }
.gs-footer__news-form { flex: 1 1 380px; max-width: 520px; display: flex; gap: 8px; margin: 0; }
.gs-footer__news-form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    padding: 0 18px;
    border: 1.5px solid #4A47A0;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--gs-ink);
    font-family: var(--gs-sans);
    font-size: 15px;
}
.gs-footer__news-form button {
    flex: 0 0 auto;
    height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--gs-gold);
    color: var(--gs-indigo);
    font-family: var(--gs-sans);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.gs-footer__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(150px, 1fr));
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 40px;
}
.gs-footer__brand p { margin-top: 14px !important; max-width: 280px; }
.gs-footer__logo { display: inline-flex; padding: 8px 12px; border-radius: 16px; background: #FFFFFF; line-height: 0; }
.gs-footer__logo img { height: 56px; width: auto; }
.gs-footer__social { display: flex; gap: 8px; margin-top: 16px !important; }
.gs-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--gs-indigo-card); color: #FFFFFF; }
.gs-footer__social a:hover,
.gs-footer__social a:focus { background: var(--gs-gold); color: var(--gs-indigo); text-decoration: none; }
.gs-footer__title { margin-bottom: 12px !important; color: #FFFFFF; font-size: 15px; font-weight: 800; }
.gs-footer__col li + li { margin-top: 6px; }
.gs-footer__col li a { display: inline-block; padding: 3px 0; }
.gs-footer__contact { display: flex; flex-direction: column; gap: 8px; margin: 0; font-style: normal; }
.gs-footer__contact a,
.gs-footer__contact span { display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.gs-footer__contact .gs-icon { color: var(--gs-gold); }

.gs-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 24px;
    border-top: 1px solid #2E2C66;
    font-size: 13px;
}
.gs-footer__pay { padding: 6px 12px; border-radius: 999px; background: var(--gs-indigo-card); color: #FFFFFF; font-weight: 700; }

/* ---------- Phone tab bar ---------- */

.gs-tabbar { display: none; }

/* ---------- Cart toast ---------- */

#toast-container .toast { border-color: var(--gs-line); font-family: var(--gs-sans); }
#toast-container .toast::before { background: var(--gs-indigo); box-shadow: none; }
#toast-container .toast::after { background: var(--gs-gold); }

/* ---------- Medium screens ---------- */

@media (max-width: 1199px) {
    .gs-topbar__item--wide { display: none; }
    .gs-freebar { display: none; }
    .gs-masthead__inner { gap: 16px; }
    .gs-account__text { display: none; }
    .gs-cart { padding: 0 16px 0 14px; }

    .gs-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gs-footer__brand { grid-column: 1 / -1; }
    .gs-footer__brand p { max-width: 480px; }
}

/* ---------- Tablets and phones ---------- */

@media (max-width: 991px) {
    .gs-header { top: calc(-1 * var(--gs-topbar-h)); }
    .gs-topbar__inner { justify-content: center; }
    .gs-topbar__links { display: none; }
    .gs-topbar__item { font-size: 12.5px; }

    .gs-masthead__inner { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
    .gs-masthead__menu { display: inline-flex; }
    .gs-logo img { height: 46px; }
    .gs-search { display: none; }
    .gs-nav { display: none; }

    .gs-actions { margin-left: auto; gap: 6px; }
    .gs-actions__search { display: inline-flex; }
    .gs-account__link { padding: 0; }
    .gs-account__menu { display: none; }
    .gs-account__avatar { width: 44px; height: 44px; }
    .gs-cart { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 12px; }
    .gs-cart__text { display: none; }
    .gs-cart__count { top: -6px; right: -8px; }

    .gs-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 40px; }
    .gs-footer__brand { grid-column: 1 / -1; }
    .gs-footer__news-form { flex-basis: 100%; max-width: none; }

    /* Tab bar: same height as the theme's old bar, so the product page's quick-add bar (bottom: 58px) still sits right above it. */
    .gs-tabbar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        padding-bottom: env(safe-area-inset-bottom);
        background: #FFFFFF;
        border-top: 1px solid var(--gs-line);
        box-shadow: 0 -8px 24px rgba(30, 28, 85, 0.08);
    }
    .gs-tabbar__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: var(--gs-tabbar-h); }
    .gs-tabbar__list a,
    .gs-tabbar__list button {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--gs-muted);
        font-family: var(--gs-sans);
        font-size: 11.5px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        cursor: pointer;
    }
    .gs-tabbar__list a[aria-current="page"] { color: var(--gs-indigo); }
    .gs-tabbar__list a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--gs-gold); }
    .gs-tabbar__badge {
        position: absolute;
        top: 6px;
        left: 50%;
        min-width: 18px;
        height: 18px;
        margin-left: 4px;
        padding: 0 5px;
        border-radius: 999px;
        background: var(--gs-gold);
        color: var(--gs-indigo);
        font-size: 10.5px;
        font-weight: 800;
        line-height: 18px;
        text-align: center;
    }
    .gs-tabbar__badge[hidden] { display: none; }

    .gs-tabbar__freebar[hidden] { display: none; }
    .gs-tabbar__freebar {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 32px;
        padding: 0 16px;
        background: #FFF4E0;
        color: var(--gs-brown);
        font-size: 12.5px;
        font-weight: 800;
        text-decoration: none;
    }
    .gs-tabbar__freebar:hover,
    .gs-tabbar__freebar:focus { color: var(--gs-brown); text-decoration: none; }
    .gs-tabbar__freebar-text { flex: 0 0 auto; white-space: nowrap; }
    .gs-tabbar__freebar .gs-freebar__track { flex: 1 1 auto; }
    /* The product page shows its own quick-add bar right above the tab bar. */
    body.has-sticky-product-cart .gs-tabbar__freebar { display: none; }

    body.has-tabbar { padding-bottom: calc(var(--gs-tabbar-h) + env(safe-area-inset-bottom)); }
    body.has-tabbar.gs-tabbar-freebar-on { padding-bottom: calc(var(--gs-tabbar-h) + 32px + env(safe-area-inset-bottom)); }
    /* Product page: keep its own room for the quick-add bar that sits on top of the tab bar. */
    body.has-tabbar.has-sticky-product-cart { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
    body.has-tabbar .btn-scroll-top { bottom: calc(var(--gs-tabbar-h) + 44px); }

    /* The theme's own bar and copied menu are replaced by the tab bar and drawer. */
    .mobile-footer,
    .biolife-clone-wrap { display: none !important; }
}

@media (max-width: 420px) {
    .gs-topbar__item { font-size: 11.5px; }
    .gs-masthead__inner { gap: 6px; }
    .gs-actions { gap: 4px; }
}
