/* ==========================================================================
   GemsFarm "Porcelain Atelier" storefront system (Nov 2026)
   Loaded after the legacy theme files. Everything here is namespaced .gf-*
   so the new structures do not depend on the Omniva template's classes.

   Colour roles (tokens.css):
   porcelain = surfaces · stone = plates, alternate bands, hairlines · ink = text, primary buttons
   gold = eyebrows, hairlines, focus, stars · emerald = brand surfaces · oxblood = attention only
   ========================================================================== */

/* ---------- 1. Base ---------- */
body.gf-body {
    font-family: var(--gf-body);
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;
    color: var(--gf-ink-2);
    background: var(--gf-porcelain);
}

.gf-body :where(h1, h2, h3, h4) {
    font-family: var(--gf-display);
    font-weight: 500;
    letter-spacing: -0.005em;
    line-height: 1.1;
    color: var(--gf-ink);
}

:where(.gf-body) a {
    color: inherit;
    text-decoration: none;
}
:where(.gf-body) a:hover {
    color: var(--gf-gold-text);
}
.gf-body img {
    max-width: 100%;
}

.gf-body :focus-visible {
    outline: 2px solid var(--gf-gold);
    outline-offset: 3px;
}

.gf-skip {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 2000;
    padding: 10px 16px;
    color: #fff;
    background: var(--gf-ink);
}

.gf-skip:focus {
    top: 12px;
    color: #fff;
}

.gf-main {
    display: block;
    min-height: 40vh;
}

.gf-wrap {
    width: 100%;
    max-width: var(--gf-wrap);
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .gf-wrap {
        padding: 0 32px;
    }
}

/* ---------- 2. Sections, headings, links ---------- */
.gf-section {
    padding: var(--gf-section-pad) 0;
    background: var(--gf-porcelain);
}
.gf-section--paper {
    background: var(--gf-porcelain-2);
}
.gf-section--stone {
    background: var(--gf-stone);
}
.gf-section--emerald {
    color: rgba(240, 236, 228, 0.8);
    background: var(--gf-emerald);
}
.gf-section--emerald h2,
.gf-section--emerald h3 {
    color: #fff;
}
.gf-section--tight {
    padding: clamp(28px, 4vw, 48px) 0;
}

.gf-head {
    margin-bottom: clamp(24px, 3.4vw, 44px);
    text-align: center;
}

.gf-eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    font-family: var(--gf-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.26em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--gf-gold-text);
}

.gf-section--emerald .gf-eyebrow {
    color: var(--gf-gold-200);
}

.gf-head__title {
    margin: 0;
    font-size: clamp(1.95rem, 3.6vw, 3rem);
}

.gf-head__sub {
    max-width: 560px;
    margin: 12px auto 0;
    color: var(--gf-muted);
}

.gf-head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    text-align: left;
}

.gf-head--row .gf-head__sub {
    margin-left: 0;
}

.gf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 3px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gf-ink);
    border-bottom: 1px solid currentColor;
}

.gf-link i {
    transition: transform 0.3s var(--gf-ease);
}
.gf-body .gf-link:hover {
    color: var(--gf-gold-text);
}
.gf-link:hover i {
    transform: translateX(4px);
}
.gf-section--emerald .gf-link {
    color: #fff;
}
.gf-body .gf-section--emerald .gf-link:hover {
    color: var(--gf-gold-200);
}

/* ---------- 3. Buttons, chips, icon buttons ---------- */
.gf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 32px;
    font-family: var(--gf-body);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    background: var(--gf-ink);
    border: 1px solid var(--gf-ink);
    border-radius: var(--gf-radius);
    cursor: pointer;
    transition:
        color 0.3s var(--gf-ease),
        background 0.3s var(--gf-ease),
        border-color 0.3s var(--gf-ease);
}

.gf-body .gf-btn:hover {
    color: #fff;
    background: var(--gf-emerald);
    border-color: var(--gf-emerald);
}

.gf-btn--outline {
    color: var(--gf-ink);
    background: transparent;
}
.gf-body .gf-btn--outline:hover {
    color: #fff;
    background: var(--gf-ink);
    border-color: var(--gf-ink);
}

.gf-btn--light {
    color: var(--gf-ink);
    background: #fff;
    border-color: #fff;
}
.gf-body .gf-btn--light:hover {
    color: var(--gf-ink);
    background: var(--gf-gold-100);
    border-color: var(--gf-gold-100);
}

.gf-btn--ghost-light {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
}
.gf-body .gf-btn--ghost-light:hover {
    color: var(--gf-ink);
    background: #fff;
    border-color: #fff;
}

.gf-btn--block {
    width: 100%;
}
.gf-btn--sm {
    min-height: 40px;
    padding: 0 20px;
}
.gf-btn.disabled,
.gf-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.gf-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    font-size: 19px;
    color: var(--gf-ink);
    background: transparent;
    border: 0;
    border-radius: 50%;
    transition:
        background 0.25s var(--gf-ease),
        color 0.25s var(--gf-ease);
}

.gf-body .gf-icon-btn:hover {
    color: var(--gf-ink);
    background: var(--gf-stone);
}

.gf-count {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-family: var(--gf-body);
    font-size: 10px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    color: #fff;
    background: var(--gf-orange, #F26B3A);
    border-radius: 9px;
}

.gf-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 18px;
    font-size: 13px;
    color: var(--gf-ink);
    background: var(--gf-porcelain);
    border: 1px solid var(--gf-stone-line);
    border-radius: 999px;
    transition:
        border-color 0.25s var(--gf-ease),
        background 0.25s var(--gf-ease);
}

.gf-body .gf-chip:hover,
.gf-chip.is-active {
    color: var(--gf-ink);
    border-color: var(--gf-ink);
}
.gf-chip.is-active {
    background: var(--gf-stone);
}

.gf-chip small {
    font-size: 11px;
    color: var(--gf-muted);
}

/* Gemstone colour diamond. Class is gf-stone--{slug of products.main_stone}. */
.gf-swatch {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: none;
    background: var(--swatch, var(--gf-gold));
    transform: rotate(45deg);
}

.gf-stone--emerald {
    --swatch: #1f7a55;
}
.gf-stone--ruby {
    --swatch: #a3172f;
}
.gf-stone--blue-sapphire {
    --swatch: #1f3f8f;
}
.gf-stone--amethyst {
    --swatch: #6e3f9e;
}
.gf-stone--citrine {
    --swatch: #d9a21b;
}
.gf-stone--aquamarine {
    --swatch: #6fb7c9;
}
.gf-stone--garnet {
    --swatch: #6b1424;
}
.gf-stone--peridot {
    --swatch: #8fa62a;
}
.gf-stone--moonstone {
    --swatch: #b9c6d3;
}
.gf-stone--turquoise {
    --swatch: #2fa6a0;
}
.gf-stone--rose-quartz {
    --swatch: #e2a6b4;
}
.gf-stone--black-onyx {
    --swatch: #1b1c20;
}
.gf-stone--lapis-lazuli {
    --swatch: #203a84;
}
.gf-stone--opal {
    --swatch: #cfe3e8;
}
.gf-stone--tanzanite {
    --swatch: #4b3fa0;
}
.gf-stone--topaz {
    --swatch: #3c8fc6;
}
.gf-stone--labradorite {
    --swatch: #4d6670;
}

/* ---------- 4. Grids ---------- */
.gf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 14px;
}

@media (min-width: 768px) {
    .gf-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 16px;
    }
}

@media (min-width: 992px) {
    .gf-grid--5 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .gf-grid--5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 36px 18px;
    }
}

/* ---------- 5. Rails (product sliders, theme.js) ---------- */
.gf-rail {
    position: relative;
}
.gf-rail .swiper {
    overflow: hidden;
}
.gf-rail .swiper-slide {
    height: auto;
}

.gf-rail__foot {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}

.gf-rail__bar.swiper-scrollbar {
    position: relative;
    inset: auto;
    flex: 1;
    width: auto;
    height: 1px;
    background: var(--gf-stone-line);
    border-radius: 0;
}

.gf-rail__bar .swiper-scrollbar-drag {
    background: var(--gf-ink);
    border-radius: 0;
}

.gf-rail__nav {
    display: flex;
    gap: 8px;
}

.gf-rail__prev,
.gf-rail__next {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--gf-ink);
    background: transparent;
    border: 1px solid var(--gf-stone-line);
    border-radius: 50%;
    transition:
        border-color 0.25s var(--gf-ease),
        background 0.25s var(--gf-ease);
}

.gf-rail__prev:hover,
.gf-rail__next:hover {
    border-color: var(--gf-ink);
}
.gf-rail__prev.swiper-button-disabled,
.gf-rail__next.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ---------- 6. Breadcrumb, page header ---------- */
.gf-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    list-style: none;
    color: var(--gf-muted);
}

.gf-breadcrumb li + li::before {
    content: "/";
    margin-right: 10px;
    color: var(--gf-stone-line);
}

.gf-breadcrumb a:hover {
    color: var(--gf-ink);
}
.gf-breadcrumb [aria-current] {
    color: var(--gf-ink);
}

.gf-pagehead {
    padding: clamp(28px, 4vw, 56px) 0 clamp(24px, 3vw, 40px);
    background: var(--gf-porcelain-2);
    border-bottom: 1px solid var(--gf-line-2);
}

.gf-pagehead .gf-breadcrumb {
    margin-bottom: clamp(16px, 2.4vw, 28px);
}

.gf-pagehead__title {
    margin: 0;
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}

.gf-pagehead__sub {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--gf-muted);
}

.gf-pagehead--center {
    text-align: center;
}
.gf-pagehead--center .gf-breadcrumb {
    justify-content: center;
}
.gf-pagehead--center .gf-pagehead__sub {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 7. Accordion (Bootstrap collapse) ---------- */
.gf-accordion {
    border-top: 1px solid var(--gf-line);
}
.gf-accordion__item {
    border-bottom: 1px solid var(--gf-line);
}

.gf-accordion__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    font-family: var(--gf-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-align: left;
    text-transform: uppercase;
    color: var(--gf-ink);
    background: none;
    border: 0;
}

.gf-accordion__btn::after {
    content: "\F64D"; /* bi-plus-lg */
    font-family: "bootstrap-icons";
    font-size: 14px;
    letter-spacing: 0;
    transition: transform 0.3s var(--gf-ease);
}

.gf-accordion__btn:not(.collapsed)::after {
    transform: rotate(45deg);
}

.gf-accordion__body {
    padding: 0 0 24px;
    font-size: 14.5px;
    color: var(--gf-ink-2);
}

.gf-accordion__body p:last-child {
    margin-bottom: 0;
}

/* ---------- 8. Forms ---------- */
.gf-form {
    display: grid;
    gap: 16px;
}

.gf-field {
    display: grid;
    gap: 6px;
}

.gf-field label,
.gf-label {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gf-ink);
}

.gf-req {
    color: var(--gf-oxblood);
}

.gf-field input,
.gf-field select,
.gf-field textarea,
.gf-select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    font-family: var(--gf-body);
    font-size: 14.5px;
    color: var(--gf-ink);
    background: #fff;
    border: 1px solid var(--gf-stone-line);
    border-radius: var(--gf-radius);
    transition:
        border-color 0.2s var(--gf-ease),
        box-shadow 0.2s var(--gf-ease);
}

.gf-field textarea {
    min-height: 110px;
    resize: vertical;
}

.gf-field input:focus,
.gf-field select:focus,
.gf-field textarea:focus,
.gf-select:focus {
    border-color: var(--gf-ink);
    box-shadow: 0 0 0 3px rgba(242, 107, 58, 0.18);
    outline: none;
}

.gf-field--2 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gf-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13.5px;
}
.gf-check .form-check-input {
    margin-top: 3px;
}
.gf-check .form-check-input:checked {
    background-color: var(--gf-ink);
    border-color: var(--gf-ink);
}
.gf-check a {
    text-decoration: underline;
}

/* ---------- 9. Tables, modal ---------- */
.gf-table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}
.gf-table th {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-align: left;
    text-transform: uppercase;
    color: var(--gf-muted);
    border-bottom: 1px solid var(--gf-line);
}
.gf-table td {
    padding: 11px 12px;
    color: var(--gf-ink);
    border-bottom: 1px solid var(--gf-line-2);
}

.gf-modal .modal-content {
    background: var(--gf-porcelain);
    border: 0;
    border-radius: var(--gf-radius-lg);
    box-shadow: 0 30px 80px rgba(0, 19, 45, 0.22);
}

.gf-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--gf-line);
}

.gf-modal__title {
    margin: 0;
    font-size: 1.6rem;
}
.gf-modal__body {
    padding: 22px;
}
.gf-modal__note {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--gf-muted);
}

/* ==========================================================================
   Shell
   ========================================================================== */

/* ---------- Service bar: sits above the header and scrolls away ---------- */
.gf-topbar {
    color: rgba(240, 236, 228, 0.86);
    background: var(--gf-emerald);
}

.gf-topbar__track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    height: 32px;
    padding: 0 16px;
    overflow: hidden;
}

.gf-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    white-space: nowrap;
    text-transform: uppercase;
    color: inherit;
}

.gf-topbar__item i {
    font-size: 12px;
    color: var(--gf-gold-200);
}
.gf-body a.gf-topbar__item:hover {
    color: #fff;
}

/* Tablets: all three items no longer fit on one line */
@media (min-width: 768px) and (max-width: 959.98px) {
    .gf-topbar__track {
        gap: 24px;
    }
    .gf-topbar__item:nth-child(2) {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .gf-topbar__track {
        gap: 0;
    }
    .gf-topbar__item:not(:last-child) {
        display: none;
    }
    .gf-topbar__item {
        font-size: 10px;
        letter-spacing: 0.1em;
    }
}

/* ---------- Header: one compact row ----------
   Pinned with sticky. Omniva's main.js writes an inline "top: -Npx" on scroll-down, so the
   !important keeps it in place. Once the page scrolls, theme.js adds .is-scrolled and the bar
   turns into translucent porcelain with a backdrop blur (frosted glass). */
header.gf-header {
    position: sticky;
    top: 0 !important;
    z-index: 1030;
    background: var(--gf-porcelain);
    border-bottom: 1px solid var(--gf-line);
    box-shadow: none !important;
    transition:
        background-color 0.35s var(--gf-ease),
        border-color 0.35s var(--gf-ease),
        box-shadow 0.35s var(--gf-ease);
}

header.gf-header.is-scrolled {
    background: rgba(255, 255, 255, 0.72);
    border-bottom-color: rgba(226, 220, 209, 0.7);
    box-shadow: 0 8px 28px rgba(21, 23, 28, 0.06) !important;
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
}

/* Browsers without backdrop-filter get a near-solid bar so text under it stays readable */
@supports not (
    (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
    header.gf-header.is-scrolled {
        background: rgba(255, 255, 255, 0.96);
    }
}

.gf-header__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    height: 60px;
}

@media (min-width: 992px) {
    .gf-header__row {
        height: 64px;
    }
}

.gf-header__start,
.gf-header__end {
    display: flex;
    align-items: center;
    gap: 2px;
}
.gf-header__start {
    gap: 6px;
}
.gf-header__end {
    justify-content: flex-end;
}

.gf-header__logo {
    display: inline-flex;
}

/* Phones: menu left, logo centred, bag right */
@media (max-width: 991.98px) {
    .gf-header__row {
        grid-template-columns: auto 1fr auto;
    }
    .gf-header__start {
        display: contents;
    }
    .gf-header__logo {
        justify-self: center;
    }
}

/* Logo */
.gf-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gf-ink);
}
.gf-logo__mark {
    width: 24px;
    height: 24px;
    flex: none;
}
.gf-logo__word {
    font-family: var(--gf-display);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
}
.gf-logo__word b {
    font-weight: 500;
    color: var(--gf-emerald);
}
.gf-logo__img {
    max-height: 68px;
    width: auto;
}

@media (max-width: 575.98px) {
    .gf-logo {
        gap: 7px;
    }
    .gf-logo__mark {
        width: 20px;
        height: 20px;
    }
    .gf-logo__word {
        font-size: 1.15rem;
        letter-spacing: 0.12em;
    }
    .gf-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

/* Primary nav: plain links, no mega menu */
.gf-nav__list {
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gf-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 64px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gf-ink);
}

.gf-nav__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 1px;
    background: var(--gf-gold);
    transform: scaleX(0);
    transition: transform 0.35s var(--gf-ease);
}

.gf-nav__link:hover::after,
.gf-nav__link.is-current::after {
    transform: scaleX(1);
}
.gf-body .gf-nav__link:hover {
    color: var(--gf-ink);
}

/* ---------- Drawers ---------- */
.gf-drawer.offcanvas {
    width: min(420px, 92vw);
    color: var(--gf-ink-2);
    background: var(--gf-porcelain);
    border: 0;
}

.gf-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 14px 24px;
    border-bottom: 1px solid var(--gf-line);
}

.gf-drawer__title {
    margin: 0;
    font-family: var(--gf-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--gf-ink);
}

.gf-drawer__body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.gf-drawer__loading {
    display: grid;
    place-items: center;
    min-height: 240px;
    color: var(--gf-ink);
}

.gf-mnav {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}
.gf-mnav > li {
    border-bottom: 1px solid var(--gf-line-2);
}

.gf-mnav__link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 0;
    font-family: var(--gf-display);
    font-size: 1.4rem;
    color: var(--gf-ink);
    text-align: left;
    background: none;
    border: 0;
}

.gf-mnav__link i {
    margin-left: auto;
    font-size: 14px;
    transition: transform 0.3s var(--gf-ease);
}
.gf-mnav__link:not(.collapsed) i {
    transform: rotate(45deg);
}

.gf-mnav__thumb {
    width: 44px;
    height: 44px;
    flex: none;
    overflow: hidden;
    background: var(--gf-stone);
    border-radius: 50%;
}
.gf-mnav__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-mnav__sub {
    margin: 0;
    padding: 0 0 14px 58px;
    list-style: none;
}
.gf-mnav__sub a {
    display: block;
    padding: 7px 0;
    font-size: 14.5px;
    color: var(--gf-ink-2);
}

.gf-drawer__actions {
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
}

.gf-drawer__promises {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 20px;
    font-size: 13.5px;
    list-style: none;
    background: var(--gf-porcelain-2);
    border: 1px solid var(--gf-line-2);
}

.gf-drawer__promises li {
    display: flex;
    align-items: center;
    gap: 12px;
}
.gf-drawer__promises i {
    color: var(--gf-emerald);
}

/* Search: a compact panel from the top. Its content is sized to fit, so it never scrolls. */
.offcanvas.offcanvas-top.gf-search {
    top: 0;
    bottom: auto;
    height: auto !important;
    max-height: 100vh;
    overflow: hidden;
    background: var(--gf-porcelain);
    border: 0 !important;
    box-shadow: 0 24px 60px rgba(21, 23, 28, 0.12);
    transition: transform 0.45s var(--gf-ease);
}

.gf-search__inner {
    max-width: 880px;
    padding-top: 18px;
    padding-bottom: 26px;
    overflow: hidden;
}

.gf-search__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.gf-search__title {
    margin: 0;
    font-family: var(--gf-display);
    font-size: 1.5rem;
    color: var(--gf-ink);
}

.gf-search__form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1.5px solid var(--gf-ink);
}

.gf-search__form > i {
    font-size: 18px;
    color: var(--gf-muted);
}

.gf-search .gf-search__form input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0;
    font-family: var(--gf-display);
    font-size: 1.5rem;
    color: var(--gf-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.gf-search .gf-search__form input[type="search"]::placeholder {
    color: var(--gf-stone-line);
}
.gf-search .gf-search__form input[type="search"]:focus {
    outline: none;
    box-shadow: none;
}
.gf-search .gf-search__form input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.gf-search__submit {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 18px;
    color: #fff;
    background: var(--gf-ink);
    border: 0;
    border-radius: 50%;
    transition: background 0.25s var(--gf-ease);
}

.gf-search__submit:hover {
    background: var(--gf-emerald);
}

.gf-search__suggest {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 22px;
}
.gf-search__picks-title {
    display: block;
    margin-bottom: 12px;
}

/* Columns follow the number of picks, so 3, 4 or 5 items always fill the row */
.gf-search__picks {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gf-pick {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--gf-ink);
}
.gf-pick__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--gf-stone);
    border-radius: 2px;
    box-shadow: var(--gf-card-shadow);
}
.gf-pick__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--gf-ease);
}
.gf-pick:hover .gf-pick__img img {
    transform: scale(1.05);
}
.gf-pick__text {
    display: grid;
    gap: 2px;
}
.gf-pick__name {
    overflow: hidden;
    font-family: var(--gf-display);
    font-size: 0.98rem;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.gf-pick__price {
    font-size: 12.5px;
    color: var(--gf-muted);
}
.gf-body .gf-pick:hover {
    color: var(--gf-emerald);
}

/* Fewer picks on smaller screens so the panel still fits without scrolling */
@media (max-width: 767.98px) {
    .gf-search__picks li:nth-child(n + 4) {
        display: none;
    }
    .gf-search .gf-search__form input[type="search"] {
        font-size: 1.25rem;
    }
}

/* Mini bag (partial front/partials/cart.blade.php) */
.gf-drawer--bag .canvas-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gf-bag__items {
    flex: 1;
    padding: 6px 24px;
    overflow-y: auto;
}

.gf-bag__item {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gf-line-2);
}

.gf-bag__thumb {
    display: block;
    overflow: hidden;
    background: var(--gf-stone);
}
.gf-bag__thumb img {
    display: block;
    width: 84px;
    height: 105px;
    object-fit: cover;
}

.gf-bag__name {
    display: block;
    margin-bottom: 4px;
    font-family: var(--gf-display);
    font-size: 1.15rem;
    line-height: 1.2;
    color: var(--gf-ink);
}

.gf-bag__meta {
    margin-bottom: 8px;
    font-size: 12.5px;
    color: var(--gf-muted);
}
.gf-bag__price {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gf-ink);
}

.gf-bag__remove {
    align-self: start;
    padding: 4px;
    font-size: 13px;
    color: var(--gf-muted);
    background: none;
    border: 0;
    cursor: pointer;
}

.gf-bag__remove:hover {
    color: var(--gf-oxblood);
}

.gf-qty {
    display: inline-flex;
    align-items: center;
    height: 36px;
    background: #fff;
    border: 1px solid var(--gf-stone-line);
    border-radius: var(--gf-radius);
}

.gf-qty button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 100%;
    padding: 0;
    font-size: 12px;
    color: var(--gf-ink);
    background: none;
    border: 0;
    cursor: pointer;
}

.gf-qty input {
    width: 34px;
    height: 100%;
    padding: 0;
    font-size: 13.5px;
    text-align: center;
    color: var(--gf-ink);
    background: transparent;
    border: 0;
}

.gf-qty--lg {
    height: 50px;
}
.gf-qty--lg button {
    width: 44px;
}
.gf-qty--lg input {
    width: 44px;
    font-size: 15px;
}

.gf-bag__foot {
    padding: 20px 24px 24px;
    background: var(--gf-porcelain-2);
    border-top: 1px solid var(--gf-line);
}

.gf-totals {
    margin: 0 0 16px;
}
.gf-totals > div {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14px;
}
.gf-totals dt {
    font-weight: 400;
    color: var(--gf-muted);
}
.gf-totals dd {
    margin: 0;
    font-weight: 500;
    color: var(--gf-ink);
}
.gf-totals .is-grand {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--gf-line);
}
.gf-totals .is-grand dt {
    color: var(--gf-ink);
    font-weight: 500;
}
.gf-totals .is-grand dd {
    font-family: var(--gf-display);
    font-size: 1.5rem;
}

.gf-bag__note {
    margin: 0 0 16px;
    font-size: 12.5px;
    color: var(--gf-muted);
}
.gf-bag__actions {
    display: grid;
    gap: 10px;
}

.gf-empty {
    padding: 48px 24px;
    text-align: center;
}
.gf-empty__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    font-size: 24px;
    color: var(--gf-emerald);
    background: var(--gf-stone);
    border-radius: 50%;
}
.gf-empty__title {
    margin-bottom: 8px;
    font-family: var(--gf-display);
    font-size: 1.7rem;
    color: var(--gf-ink);
}
.gf-empty__text {
    margin-bottom: 22px;
    color: var(--gf-muted);
}

/* ---------- Footer (compact): one band of five columns, then a thin base row ---------- */
.gf-footer {
    color: rgba(240, 236, 228, 0.72);
    background: var(--gf-emerald);
}
.gf-body .gf-footer a:hover {
    color: #fff;
}
.gf-footer .gf-eyebrow {
    color: var(--gf-gold-200);
}

.gf-footer__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-top: 40px;
    padding-bottom: 32px;
}

@media (min-width: 768px) {
    .gf-footer__main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .gf-footer__main {
        grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.4fr;
        gap: 40px;
        padding-top: 48px;
        padding-bottom: 36px;
    }
}

.gf-footer__brand,
.gf-footer__news {
    grid-column: 1 / -1;
}

@media (min-width: 1200px) {
    .gf-footer__brand,
    .gf-footer__news {
        grid-column: auto;
    }
}

.gf-footer .gf-logo,
.gf-footer .gf-logo__word b {
    color: #fff;
}
.gf-footer__logo {
    display: inline-flex;
    margin-bottom: 10px;
}
.gf-footer__tagline {
    margin: 0 0 12px;
    font-size: 13.5px;
}

.gf-footer__contact {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    font-size: 13.5px;
    list-style: none;
}
.gf-footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gf-footer__contact i {
    color: var(--gf-gold-200);
}

.gf-footer__social {
    display: flex;
    gap: 6px;
}
.gf-footer__social:empty {
    display: none;
}
.gf-footer__social a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    font-size: 14px;
    color: #fff;
    border: 1px solid var(--gf-emerald-line);
    border-radius: 50%;
}

.gf-body .gf-footer__social a:hover {
    color: var(--gf-emerald);
    background: #fff;
}

.gf-footer__heading {
    margin: 0 0 12px;
    font-family: var(--gf-body) !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.24em !important;
    line-height: 1.4 !important;
    text-transform: uppercase;
    color: #fff !important;
}

.gf-footer__col ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    font-size: 13.5px;
    list-style: none;
}

/* Newsletter: a single underlined field with an arrow, like the rest of the footer type */
.gf-newsletter__row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(240, 236, 228, 0.4);
    transition: border-color 0.25s var(--gf-ease);
}

.gf-newsletter__row:focus-within {
    border-bottom-color: #fff;
}

.gf-footer .gf-newsletter__input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0;
    font-size: 14px;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.gf-footer .gf-newsletter__input::placeholder {
    color: rgba(240, 236, 228, 0.5);
}
.gf-footer .gf-newsletter__input:focus {
    outline: none;
    box-shadow: none;
}

.gf-newsletter__btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 16px;
    color: #fff;
    background: none;
    border: 0;
    transition: transform 0.25s var(--gf-ease);
}

.gf-newsletter__btn:hover {
    transform: translateX(3px);
}
.gf-newsletter__note {
    margin: 8px 0 0;
    font-size: 11.5px;
    color: rgba(240, 236, 228, 0.5);
}
.gf-newsletter__note a {
    text-decoration: underline;
}

.gf-footer__base {
    border-top: 1px solid var(--gf-emerald-line);
}

.gf-footer__base-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 12px;
}

.gf-footer__base-inner p {
    margin: 0;
}
.gf-footer__pay {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gf-footer__pay img {
    display: block;
    height: 22px;
    width: auto;
    padding: 3px 5px;
    background: #fff;
    border-radius: 2px;
}

/* ---------- WhatsApp ---------- */
.gf-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 1020;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    font-size: 24px;
    color: #fff;
    background: var(--gf-emerald);
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(0, 19, 45, 0.32);
    transition: transform 0.3s var(--gf-ease);
}

.gf-body .gf-whatsapp:hover {
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .gf-whatsapp {
        right: 14px;
        bottom: 16px;
        width: 46px;
        height: 46px;
        font-size: 21px;
    }
    .gf-has-sticky .gf-whatsapp {
        bottom: 88px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-body *,
    .gf-body *::before,
    .gf-body *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Product card (front/partials/product_card.blade.php)
   Photo on a stone plate, second photo crossfades in, an "Add to bag" bar rises on hover
   (always visible as a round button on touch), stone + serif name + price below.
   ========================================================================== */
.gf-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    margin: 0;
}

.gf-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--gf-stone);
    border-radius: 2px;
}

.gf-card__img {
    position: absolute;
    inset: 0;
    display: block;
}

.gf-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity 0.7s var(--gf-ease),
        transform 1.4s var(--gf-ease);
}

.gf-card__img .img-hover {
    opacity: 0;
}

@media (hover: hover) {
    .gf-card:hover .gf-card__img img {
        transform: scale(1.045);
    }
    .gf-card:hover .gf-card__img .img-hover {
        opacity: 1;
    }
}

.gf-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--gf-ink);
    background: var(--gf-porcelain);
    border-radius: 2px;
}

.gf-card__badge.is-sale {
    color: #fff;
    background: var(--gf-oxblood);
}
.gf-card__badge.is-muted {
    color: var(--gf-muted);
}

.gf-card__tools {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    gap: 8px;
}

.gf-card__tool {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 14px;
    color: var(--gf-ink);
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition:
        color 0.25s var(--gf-ease),
        background 0.25s var(--gf-ease),
        opacity 0.3s var(--gf-ease),
        transform 0.3s var(--gf-ease);
}

.gf-card__tool:hover {
    color: #fff;
    background: var(--gf-ink);
}
.gf-card__tool:first-child:hover {
    background: var(--gf-oxblood);
}

.gf-card__add {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 38px;
    padding: 0 10px;
    font-family: var(--gf-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gf-ink);
    background: rgba(255, 255, 255, 0.95);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    transition:
        color 0.25s var(--gf-ease),
        background 0.25s var(--gf-ease),
        opacity 0.35s var(--gf-ease),
        transform 0.35s var(--gf-ease);
}

.gf-card__add:hover {
    color: #fff;
    background: var(--gf-ink);
}
.gf-card__add.disabled {
    opacity: 0.6;
    pointer-events: none;
}

@media (hover: hover) and (min-width: 768px) {
    .gf-card__add {
        opacity: 0;
        transform: translateY(12px);
    }
    .gf-card:hover .gf-card__add,
    .gf-card:focus-within .gf-card__add {
        opacity: 1;
        transform: none;
    }
    .gf-card__tool.quickview {
        opacity: 0;
        transform: translateX(8px);
    }
    .gf-card:hover .gf-card__tool.quickview,
    .gf-card:focus-within .gf-card__tool.quickview {
        opacity: 1;
        transform: none;
    }
}

/* Touch and small screens: the bar becomes a round bag button */
@media (hover: none), (max-width: 767.98px) {
    .gf-card__add {
        right: 8px;
        bottom: 8px;
        left: auto;
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 50%;
    }

    .gf-card__add span {
        display: none;
    }
    .gf-card__tools {
        top: 8px;
        right: 8px;
    }
    .gf-card__tool {
        width: 34px;
        height: 34px;
    }
    .gf-card__tool.quickview {
        display: none;
    }
}

.gf-card__info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gf-card__stone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--gf-muted);
}

.gf-card__stone .gf-swatch {
    width: 7px;
    height: 7px;
}

.gf-body .gf-card__name {
    margin: 0;
    font-family: var(--gf-display);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--gf-ink);
}

.gf-card__name a {
    color: inherit;
}
.gf-body .gf-card__name a:hover {
    color: var(--gf-emerald);
}

.gf-card__desc {
    margin: 4px 0 2px;
    font-size: 13.5px;
    color: var(--gf-muted);
}

.gf-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 8px;
    margin: 0;
    font-size: 13.5px;
}
.gf-card__now {
    font-weight: 500;
    color: var(--gf-ink);
}
.gf-card__was {
    font-size: 13px;
    color: var(--gf-muted);
}

@media (max-width: 575.98px) {
    .gf-card {
        gap: 10px;
    }
    .gf-body .gf-card__name {
        font-size: 1.08rem;
    }
    .gf-card__price {
        font-size: 13.5px;
    }
    .gf-card__badge {
        top: 8px;
        left: 8px;
        padding: 4px 7px;
        font-size: 9px;
    }
}

/* Shop list view */
.gf-card.product-style_list {
    flex-direction: row;
    gap: 24px;
    align-items: center;
}
.gf-card.product-style_list .gf-card__media {
    width: 38%;
    flex: none;
}

@media (max-width: 575.98px) {
    .gf-card.product-style_list {
        gap: 14px;
    }
}

/* ==========================================================================
   Buy box (product page + quick view)
   ========================================================================== */
.gf-buy {
    min-width: 0;
}

.gf-buy__stone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gf-muted);
}

.gf-body .gf-buy__stone:hover {
    color: var(--gf-ink);
}

.gf-body .gf-buy__title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    line-height: 1.08;
}

.gf-buy__rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--gf-muted);
}

.gf-buy__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
}
.gf-buy__price .price_div {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--gf-ink);
}
.gf-buy__price s {
    font-size: 1rem;
    color: var(--gf-muted);
}
.gf-buy__save {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gf-oxblood);
}
.gf-buy__tax {
    margin: 2px 0 20px;
    font-size: 12px;
    color: var(--gf-muted);
}
.gf-buy__lede {
    margin: 0 0 24px;
    padding-bottom: 24px;
    font-size: 15px;
    color: var(--gf-ink-2);
    border-bottom: 1px solid var(--gf-line);
}

.gf-option {
    margin-bottom: 20px;
}
.gf-option__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.gf-option__label {
    display: block;
    margin: 0 0 10px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gf-ink);
}
.gf-option__label .variant-value {
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--gf-muted);
}
.gf-option__guide {
    font-size: 12.5px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gf-option__values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gf-option__btn {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13.5px;
    color: var(--gf-ink);
    background: #fff;
    border: 1px solid var(--gf-stone-line);
    border-radius: var(--gf-radius);
    transition:
        border-color 0.2s var(--gf-ease),
        background 0.2s var(--gf-ease),
        color 0.2s var(--gf-ease);
}

.gf-option__btn:hover {
    border-color: var(--gf-ink);
}
.gf-option__btn.is-active {
    color: #fff;
    background: var(--gf-ink);
    border-color: var(--gf-ink);
}
.gf-option .gf-select {
    max-width: 260px;
}

.gf-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 14px;
    font-size: 13px;
    color: var(--gf-emerald-2);
}

.gf-stock::before {
    content: "";
    width: 7px;
    height: 7px;
    background: currentColor;
    border-radius: 50%;
}
.gf-stock.is-low {
    color: var(--gf-oxblood);
}
.gf-stock.is-out {
    color: var(--gf-muted);
}

.gf-buy__row {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
}
.gf-buy__add {
    flex: 1;
    min-height: 50px;
}

.gf-buy__wish {
    display: grid;
    place-items: center;
    flex: none;
    width: 50px;
    height: 50px;
    font-size: 18px;
    color: var(--gf-ink);
    background: #fff;
    border: 1px solid var(--gf-stone-line);
    border-radius: var(--gf-radius);
    transition:
        color 0.2s var(--gf-ease),
        border-color 0.2s var(--gf-ease);
}

.gf-buy__wish:hover {
    color: var(--gf-oxblood);
    border-color: var(--gf-oxblood);
}

/* ---------- Quick view ---------- */
.modal.modal-quickview .modal-dialog {
    max-width: 980px;
}
.gf-qv {
    position: relative;
    display: grid;
}

@media (min-width: 768px) {
    .gf-qv {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.gf-qv__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
}
.gf-qv__media {
    overflow: hidden;
    background: var(--gf-stone);
}
.gf-qv__swiper .swiper-slide {
    aspect-ratio: 4 / 5;
}
.gf-qv__swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-body .gf-qv__title {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}
.gf-qv .gf-buy__price {
    margin-bottom: 16px;
}
.gf-qv .gf-buy__price .qv-price {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gf-ink);
}
.gf-qv__lede {
    margin: 0 0 22px;
    color: var(--gf-ink-2);
}
.gf-qv .gf-buy__row {
    margin-bottom: 14px;
}
.gf-qv__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--gf-muted);
}
.gf-qv__note i {
    color: var(--gf-emerald);
}

select.gf-select,
.gf-field select {
    padding-right: 38px;
    appearance: none;
    background: #fff
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2315171C' stroke-width='1.6' d='M3 6l5 5 5-5'/%3E%3C/svg%3E")
        no-repeat right 14px center;
}

/* ---------- Legal and long-form pages ---------- */
.gf-legal {
    max-width: 760px;
    margin: 0 auto;
    font-size: 15.5px;
    line-height: 1.75;
}
.gf-body .gf-legal h2 {
    margin: 36px 0 12px;
    font-size: 1.65rem;
}
.gf-body .gf-legal h2:first-child {
    margin-top: 0;
}
.gf-legal ul {
    padding-left: 20px;
}
.gf-legal li {
    margin-bottom: 6px;
}
.gf-legal a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gf-legal__updated {
    margin-top: 36px;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    color: var(--gf-muted);
}

/* ---------- Contact ---------- */
.gf-contact {
    display: grid;
    gap: 40px;
}

@media (min-width: 992px) {
    .gf-contact {
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        gap: clamp(48px, 6vw, 96px);
    }
}

.gf-contact__info {
    display: grid;
    gap: 26px;
    align-content: start;
}
.gf-contact__item {
    display: flex;
    gap: 16px;
}
.gf-contact__item > i {
    font-size: 20px;
    color: var(--gf-emerald);
}
.gf-body .gf-contact__item h2 {
    margin: 0 0 4px;
    font-family: var(--gf-body);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gf-ink);
}
.gf-contact__item p {
    margin: 0;
}
.gf-contact__item a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gf-contact__form {
    padding: clamp(22px, 3vw, 40px);
    background: var(--gf-porcelain-2);
    border: 1px solid var(--gf-line-2);
}
.gf-body .gf-contact__title {
    margin: 0 0 4px;
    font-size: 1.8rem;
}
.gf-contact__form .gf-btn {
    justify-self: start;
}
.gf-contact__map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    filter: grayscale(0.4);
}

/* Omniva's form input rules outrank a single class here */
.gf-search .gf-search__form input[type="search"] {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* ==========================================================================
   Refinements (Nov 2026): card shadow, scrollbars, modals, quick view
   ========================================================================== */
:root {
    --gf-card-shadow:
        0 1px 2px rgba(21, 23, 28, 0.04);
    --gf-card-shadow-hover:
        0 4px 14px -6px rgba(21, 23, 28, 0.12);
}

/* ---------- 1. Product card: a minimal lift ---------- */
.gf-card__media {
    box-shadow: var(--gf-card-shadow);
    transition:
        box-shadow 0.45s var(--gf-ease),
        transform 0.45s var(--gf-ease);
}

@media (hover: hover) {
    .gf-card:hover .gf-card__media {
        box-shadow: var(--gf-card-shadow-hover);
        transform: translateY(-3px);
    }
}

/* ---------- 2. Thin, quiet scrollbars everywhere ---------- */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(21, 23, 28, 0.28) transparent;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(21, 23, 28, 0.22) transparent;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(21, 23, 28, 0.22);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(21, 23, 28, 0.4);
}
::-webkit-scrollbar-corner {
    background: transparent;
}

.gf-footer *,
.gf-section--emerald * {
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* ---------- 3. Backdrops: same soft blur as the drawers (no green wash) ---------- */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.24);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.modal-backdrop.fade {
    opacity: 0;
    transition: opacity 0.2s var(--gf-ease);
}
.modal-backdrop.show {
    opacity: 1;
}
.offcanvas-backdrop.fade {
    transition: opacity 0.25s var(--gf-ease);
}

/* ---------- 4. Modal motion: rise + fade in, settle back on close ---------- */
.gf-modal.fade {
    transition: opacity 0.2s var(--gf-ease);
}

.gf-modal.fade .modal-dialog {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition:
        transform 0.26s var(--gf-ease),
        opacity 0.2s var(--gf-ease);
}

.gf-modal.show .modal-dialog {
    opacity: 1;
    transform: none;
}

.gf-modal .modal-content {
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(21, 23, 28, 0.22);
}

@media (prefers-reduced-motion: reduce) {
    .gf-modal.fade .modal-dialog {
        transform: none;
    }
}

/* ---------- 5. Quick view fits the viewport; only its info column scrolls ---------- */
.modal.modal-quickview {
    overflow: hidden;
}

/* Bootstrap centres the dialog; the content gets a fixed height that always fits the screen */
.modal.modal-quickview .modal-dialog {
    max-width: 960px;
}

.modal-quickview .modal-content {
    height: min(640px, calc(100vh - 48px));
    height: min(640px, calc(100dvh - 48px));
    overflow: hidden;
}

.gf-qv {
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 42%) minmax(0, 1fr);
}

@media (min-width: 768px) {
    .gf-qv {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
    }
}

.gf-qv__media {
    min-height: 0;
    height: 100%;
}
.gf-qv__swiper {
    height: 100%;
}
.gf-qv__swiper .swiper-wrapper,
.gf-qv__swiper .swiper-slide {
    height: 100%;
    aspect-ratio: auto;
}

.gf-qv__info {
    min-height: 0;
    padding: 24px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media (min-width: 768px) {
    .gf-qv__info {
        padding: 40px 36px;
    }
}

/* While loading, the spinner keeps a sensible height */
.modal-quickview .gf-drawer__loading {
    height: 100%;
}

/* ==========================================================================
   Mini bag v2 (front/partials/cart.blade.php): compact type, 4:5 thumbs, slim buttons
   ========================================================================== */
.gf-drawer--bag.offcanvas {
    width: min(380px, 92vw);
}

.gf-mini {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.gf-mini__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 14px 20px;
    border-bottom: 1px solid var(--gf-line);
}

.gf-mini__title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    font-family: var(--gf-display);
    font-size: 1.3rem;
    color: var(--gf-ink);
}

.gf-mini__title span {
    font-family: var(--gf-body);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gf-muted);
}

.gf-mini__close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 14px;
    color: var(--gf-ink);
    background: none;
    border: 0;
    border-radius: 50%;
    transition: background 0.2s var(--gf-ease);
}

.gf-mini__close:hover {
    background: var(--gf-stone);
}

.gf-mini__items {
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 4px 20px;
    overflow-y: auto;
    list-style: none;
}

.gf-mini__item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gf-line-2);
}

.gf-mini__item:last-child {
    border-bottom: 0;
}

/* The thumb keeps the 4:5 product ratio; the photo covers it */
.gf-mini__thumb {
    display: block;
    width: 64px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--gf-stone);
    border-radius: 2px;
}

.gf-mini__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-mini__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.gf-mini__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.gf-mini__row--end {
    align-items: center;
    margin-top: auto;
}

.gf-mini__name {
    display: -webkit-box;
    overflow: hidden;
    font-family: var(--gf-display);
    font-size: 1rem;
    line-height: 1.25;
    color: var(--gf-ink);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gf-mini__price {
    flex: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--gf-ink);
}
.gf-mini__meta {
    margin: 0;
    font-size: 11.5px;
    color: var(--gf-muted);
}

.gf-mini__qty {
    display: inline-flex;
    align-items: center;
    height: 28px;
    border: 1px solid var(--gf-stone-line);
    border-radius: 999px;
}

.gf-mini__qty button {
    display: grid;
    place-items: center;
    width: 26px;
    height: 100%;
    padding: 0;
    font-size: 12px;
    color: var(--gf-ink);
    background: none;
    border: 0;
}

.gf-mini__qty input {
    width: 22px;
    height: 100%;
    padding: 0;
    font-size: 12px;
    text-align: center;
    color: var(--gf-ink);
    background: transparent;
    border: 0;
}

.gf-mini__remove {
    padding: 0;
    font-size: 11.5px;
    color: var(--gf-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: 0;
}

.gf-mini__remove:hover {
    color: var(--gf-oxblood);
}

.gf-mini__foot {
    padding: 14px 20px 18px;
    background: var(--gf-porcelain-2);
    border-top: 1px solid var(--gf-line);
}

.gf-mini__totals {
    margin: 0 0 12px;
}
.gf-mini__totals > div {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    font-size: 12.5px;
}
.gf-mini__totals dt {
    font-weight: 400;
    color: var(--gf-muted);
}
.gf-mini__totals dd {
    margin: 0;
    color: var(--gf-ink);
}
.gf-mini__totals .is-total {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--gf-line);
    font-size: 14px;
}
.gf-mini__totals .is-total dt,
.gf-mini__totals .is-total dd {
    font-weight: 500;
    color: var(--gf-ink);
}

.gf-mini__checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    background: var(--gf-ink);
    border-radius: var(--gf-radius);
    transition: background 0.25s var(--gf-ease);
}

.gf-body .gf-mini__checkout:hover {
    color: #fff;
    background: var(--gf-emerald);
}

.gf-mini__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--gf-muted);
}

.gf-mini__links a,
.gf-mini__links button {
    padding: 0;
    font-size: 12px;
    color: var(--gf-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: 0;
}

.gf-mini__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 11px;
    color: var(--gf-muted);
}

.gf-mini__note i {
    color: var(--gf-emerald);
}

.gf-mini__empty {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 48px 28px;
    text-align: center;
}
.gf-mini__empty > i {
    margin-bottom: 6px;
    font-size: 26px;
    color: var(--gf-emerald);
}
.gf-mini__empty-title {
    margin: 0;
    font-family: var(--gf-display);
    font-size: 1.35rem;
    color: var(--gf-ink);
}
.gf-mini__empty-text {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--gf-muted);
}
.gf-mini__empty .gf-mini__checkout {
    width: auto;
    padding: 0 22px;
}

/* ---------- Search: trending products as real cards, sized to the screen height so the panel never scrolls ---------- */
.gf-search__trending-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.gf-search__trending-head .gf-eyebrow {
    margin: 0;
}

.gf-search__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 14px;
}

.gf-search__grid .gf-card {
    gap: 8px;
}

.gf-search__grid .gf-card__media {
    aspect-ratio: auto;
    height: clamp(120px, calc(100vh - 440px), 280px);
    height: clamp(120px, calc(100dvh - 440px), 280px);
}

.gf-search__grid .gf-card__name {
    font-size: 1rem;
}

@media (max-width: 991.98px) {
    .gf-search__grid > :nth-child(n + 5) {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .gf-search__grid > :nth-child(n + 3) {
        display: none;
    }
}

/* The search panel is wider now that it holds product cards */
.gf-search__inner {
    max-width: 1080px;
}

/* Bootstrap focuses the drawer or modal container itself when it opens; that container should not get the
   gold focus ring (the controls inside keep theirs) */
.gf-body .offcanvas:focus,
.gf-body .offcanvas:focus-visible,
.gf-body .modal:focus,
.gf-body .modal:focus-visible {
    outline: none;
}

/* Omniva gives .wg-quantity a 132px minimum width and a bordered ::before; the mini bag stepper stays compact */
.gf-mini__qty.wg-quantity {
    min-width: 0;
    overflow: visible;
}
.gf-mini__qty.wg-quantity::before {
    display: none;
}

/* Omniva widens .popup-shopping-cart to 520px above 576px; keep the bag compact */
@media (min-width: 576px) {
    .offcanvas.gf-drawer--bag.popup-shopping-cart {
        max-width: 380px;
        width: 380px !important;
    }
}

/* ---------- Quick view carousel indicators ---------- */
.gf-qv__swiper {
    position: relative;
}

.gf-qv__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    padding: 0;
    font-size: 14px;
    color: var(--gf-ink);
    background: rgba(255, 255, 255, 0.9);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(21, 23, 28, 0.12);
    transition:
        background 0.2s var(--gf-ease),
        transform 0.2s var(--gf-ease);
}

.gf-qv__nav:hover {
    background: #fff;
    transform: scale(1.06);
}
.gf-qv__prev {
    left: 12px;
}
.gf-qv__next {
    right: 12px;
}

/* Dots + counter on a small frosted pill at the foot of the photo */
.gf-qv__bar {
    position: absolute;
    bottom: 14px;
    left: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transform: translateX(-50%);
}

.gf-qv__bar .gf-qv__dots.swiper-pagination {
    position: static;
    display: flex;
    gap: 6px;
    width: auto;
    transform: none;
}

.gf-qv__dots .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    padding: 0;
    background: rgba(21, 23, 28, 0.3);
    border: 0;
    border-radius: 999px;
    opacity: 1;
    cursor: pointer;
    transition:
        width 0.3s var(--gf-ease),
        background 0.3s var(--gf-ease);
}

.gf-qv__dots .swiper-pagination-bullet-active {
    width: 20px;
    background: var(--gf-ink);
}

.gf-qv__count {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--gf-ink);
    font-variant-numeric: tabular-nums;
}

/* Omniva pads the body by 67px on phones for its bottom toolbar, which this theme does not use */
body.gf-body {
    padding-bottom: 0;
}

/* ==========================================================================
   Compact footer on phones: brand + contact inline, link columns fold into one-line toggles
   (Bootstrap collapse in layout.blade.php), shorter newsletter and base row. From 768px the
   columns are always open and the toggles behave as plain headings.
   ========================================================================== */
.gf-footer__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
    text-align: left;
    background: none;
    border: 0;
    pointer-events: none;
}

@media (min-width: 768px) {
    .gf-footer__links.collapse:not(.show) {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .gf-footer__main {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 22px;
        padding-bottom: 6px;
    }

    .gf-footer__brand {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 16px;
        padding-bottom: 14px;
    }
    .gf-footer__logo {
        margin: 0;
    }
    .gf-footer__tagline {
        display: none;
    }
    .gf-footer__contact {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 16px;
        margin: 0;
        font-size: 12.5px;
    }
    .gf-footer__social {
        width: 100%;
    }

    .gf-footer__col {
        border-top: 1px solid var(--gf-emerald-line);
    }
    .gf-footer__col .gf-footer__heading {
        margin: 0;
    }
    .gf-footer__toggle {
        height: 44px;
        pointer-events: auto;
        cursor: pointer;
    }

    .gf-footer__toggle::after {
        content: "\F64D"; /* bi-plus-lg */
        font-family: "bootstrap-icons";
        font-size: 12px;
        letter-spacing: 0;
        transition: transform 0.25s var(--gf-ease);
    }

    .gf-footer__toggle:not(.collapsed)::after {
        transform: rotate(45deg);
    }
    .gf-footer__links ul {
        gap: 8px;
        padding-bottom: 14px;
    }

    .gf-footer__news {
        padding: 12px 0 6px;
        border-top: 1px solid var(--gf-emerald-line);
    }
    .gf-footer__news .gf-footer__heading {
        margin-bottom: 2px;
    }
    .gf-newsletter__note {
        display: none;
    }

    .gf-footer__base-inner {
        justify-content: center;
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 11.5px;
    }
    .gf-footer__pay img {
        height: 18px;
    }
}
