/* G.C. Dey Jewellers: global styles (tokens, header, drawer, buttons, product cards, footer). Loaded by every page. */
:root {
    --ivory: #fcf8f0;
    --paper: #f6efe1;
    --paper-2: #ece2cd;
    --card: #fffdf8;
    --ink: #2a1a16;
    --ink-soft: #6c5c52;
    --red: #ce0307;
    --red-deep: #9c0206;
    --wine: #3b0a10;
    --wine-2: #2a070b;
    --gold: #d9a521;
    --gold-soft: #f1d98b;
    --yellow: #fcc314;
    --green: #17794a;
    --line: rgba(42, 26, 22, 0.12);
    --line-strong: rgba(42, 26, 22, 0.22);
    --r-sm: 10px;
    --r: 18px;
    --r-lg: 28px;
    --sh-1:
        0 1px 2px rgba(42, 26, 22, 0.05),
        0 10px 28px -16px rgba(42, 26, 22, 0.28);
    --sh-2:
        0 2px 4px rgba(42, 26, 22, 0.05),
        0 28px 56px -28px rgba(42, 26, 22, 0.42);
    --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --sans: "Manrope", "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
    --bn: "Tiro Bangla", "Noto Serif Bengali", "Nirmala UI", serif;
    --pad: clamp(1.15rem, 4.2vw, 3.2rem);
    --max: 80rem;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --hh: 4.5rem;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 6.5rem;
}
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font: 400 1rem/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.no-scroll {
    overflow: hidden;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
}
button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}
button:disabled {
    cursor: default;
}
ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
address {
    margin: 0;
}
address {
    font-style: normal;
}
h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
p {
    text-wrap: pretty;
}
:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 4px;
}
.skip {
    position: absolute;
    left: -9999px;
}
.skip:focus {
    left: 0.75rem;
    top: 0.75rem;
    z-index: 100;
    background: #fff;
    padding: 0.7rem 1rem;
    border-radius: var(--r-sm);
}
.wrap {
    width: min(100% - 2 * var(--pad), var(--max));
    margin-inline: auto;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font: 700 0.74rem/1 var(--sans);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
}
/* .eyebrow::before {
    content: "";
    width: 1.8rem;
    height: 1px;
    background: currentColor;
} */

/* buttons and links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.7rem;
    border: 1px solid var(--red);
    border-radius: 999px;
    background: var(--red);
    color: #fff7ea;
    font-weight: 600;
    font-size: 0.97rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s,
        color 0.2s,
        border-color 0.2s,
        transform 0.2s var(--ease),
        box-shadow 0.2s;
}
@media (hover: hover) and (min-width: 701px) {
.btn:hover {
    background: var(--red-deep);
    border-color: var(--red-deep);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -12px rgba(156, 2, 6, 0.7);
}
}

.btn-gold {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--wine);
}
@media (hover: hover) and (min-width: 701px) {
.btn-gold:hover {
    background: #fff;
    border-color: #fff;
    color: var(--wine);
    box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.5);
}
}

.btn-white {
    background: #fff;
    border-color: #fff;
    color: var(--wine);
}
@media (hover: hover) and (min-width: 701px) {
.btn-white:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--wine);
    box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.5);
}
}

.btn-line {
    background: transparent;
    color: var(--red);
}
@media (hover: hover) and (min-width: 701px) {
.btn-line:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff7ea;
}
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff3dc;
}
@media (hover: hover) and (min-width: 701px) {
.btn-ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--wine);
}
}

.textlink {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.textlink .tl {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3em;
}
@media (hover: hover) and (min-width: 701px) {
.textlink:hover .tl {
    text-decoration-thickness: 2px;
}
}

.textlink i,
.textlink span[aria-hidden] {
    transition: transform 0.2s var(--ease);
    text-decoration: none;
}
@media (hover: hover) and (min-width: 701px) {
.textlink:hover i,
.textlink:hover span[aria-hidden] {
    transform: translateX(3px);
}
}


/* Modal */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(42, 26, 22, 0.7);
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}

.modal-overlay:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Container */
.modal {
    background: #fff;
    border-radius: var(--r-lg);
    max-width: 32rem;
    width: 100%;
    height: 90vh;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s var(--ease);
}

.modal-overlay:not([hidden]) .modal {
    transform: translateY(0);
}

/* =========================================
   HEADER
========================================= */

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
    background: #fff;
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
}

.modal-close {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    border: none;
    background: var(--paper);
    border-radius: 50%;
    cursor: pointer;
    color: var(--ink-soft);
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
@media (hover: hover) and (min-width: 701px) {
.modal-close:hover {
    background: var(--line);
    color: var(--ink);
}
}


/* =========================================
   FORM LAYOUT
========================================= */

.modal-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

/* Scrollable Form Content */
.modal-form-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1.2rem 1.5rem;
    overscroll-behavior: contain;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--red) transparent;
}

/* Custom Scrollbar - Chrome, Edge, Safari */
.modal-form-content::-webkit-scrollbar {
    width: 4px;
}

.modal-form-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-form-content::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 10px;
}
@media (hover: hover) and (min-width: 701px) {
.modal-form-content::-webkit-scrollbar-thumb:hover {
    background: #651419;
}
}


/* =========================================
   FORM FIELDS
========================================= */

.form-group {
    margin-bottom: 0.85rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--r);
    font-size: 0.92rem;
    font-family: inherit;
    background: #fff;
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(180, 60, 60, 0.15);
}

/* =========================================
   CHECKBOX / CONSENT
========================================= */

.checkbox-group {
    margin-bottom: 0.8rem;
}

.checkbox-label {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--ink-soft);
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    cursor: pointer;
}

/* =========================================
   FIXED FOOTER / SUBMIT BUTTON
========================================= */

.modal-form-footer {
    flex-shrink: 0;
    padding: 0.85rem 1.5rem 1rem;
    border-top: 1px solid var(--line);
    background: #fff;
}

.modal-form-footer .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}
.modal-form-footer .btn {
    width: 100%;
    padding-block: 0.8rem;
    font-size: 0.95rem;
    cursor: pointer;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 480px) {
    .modal {
        height: 90dvh;
        max-height: 90dvh;
    }

    .modal-header {
        padding: 1rem 1.2rem;
    }

    .modal-header h2 {
        font-size: 1.15rem;
    }

    .modal-form-content {
        padding: 1rem 1.2rem;
    }

    .modal-form-footer {
        padding: 0.75rem 1.2rem 0.9rem;
    }
}

/* top bar */
.topbar {
    background: var(--wine-2);
    color: #ecdcc0;
    font-size: 0.82rem;
}
.topbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.5rem;
}
.topbar p {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.topbar p i {
    color: var(--yellow);
}
.topbar nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}
.topbar a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.15s;
}
@media (hover: hover) and (min-width: 701px) {
.topbar a:hover {
    color: var(--yellow);
}
}

.topbar a i {
    color: var(--yellow);
    font-size: 0.78rem;
}

/* header */
.masthead {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(252, 248, 240, 0.86);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition:
        border-color 0.2s,
        box-shadow 0.25s;
}
.masthead.is-stuck {
    border-color: var(--line);
    box-shadow: 0 12px 28px -22px rgba(42, 26, 22, 0.6);
}
.masthead-in {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: min(100% - 2 * var(--pad), var(--max));
    margin-inline: auto;
    padding-block: 0.75rem;
}
.logo img {
    height: 2.7rem;
    width: auto;
}
.primary {
    margin-left: auto;
}
.primary > ul {
    display: flex;
    align-items: center;
    gap: clamp(0.2rem, 1.2vw, 0.8rem);
}
.primary a,
.primary button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.93rem;
    line-height: 1.2;
    text-decoration: none;
    transition:
        color 0.15s,
        background-color 0.15s;
}
@media (hover: hover) and (min-width: 701px) {
.primary a:hover,
.primary button:hover {
    color: var(--red);
    background: rgba(206, 3, 7, 0.06);
}
}

.primary .is-here {
    color: var(--red);
    background: rgba(206, 3, 7, 0.08);
}
.has-menu {
    position: relative;
}
.has-menu svg {
    transition: transform 0.2s;
}
.has-menu button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.menu-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    padding-top: 0.7rem;
}
.menu-panel[hidden] {
    display: none;
}
@keyframes drop {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
}
.menu-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 14rem);
    grid-template-rows: auto auto;
    column-gap: 2rem;
    row-gap: 0.6rem;
    align-items: start;
    width: min(40rem, 100vw - 2rem);
    padding: 1.3rem 1.4rem 1.1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-2);
    animation: drop 0.22s var(--ease);
}
.menu-links {
    display: contents;
}
.menu-links > ul {
    grid-column: 1;
    grid-row: 1;
}
.menu-box li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition:
        color 0.15s,
        background-color 0.15s,
        padding-left 0.2s var(--ease);
}
.menu-box li a:focus-visible {
    color: var(--red);
    background: rgba(206, 3, 7, 0.06);
    padding-left: 1.05rem;
}
@media (hover: hover) and (min-width: 701px) {
.menu-box li a:hover {
    color: var(--red);
    background: rgba(206, 3, 7, 0.06);
    padding-left: 1.05rem;
}
}

.menu-box li a span {
    min-width: 1.6rem;
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}
.menu-box .menu-all {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 2.8rem;
    box-sizing: border-box;
    padding: 0.65rem 0.6rem;
    border-top: 1px solid var(--line);
    color: var(--red);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.2;
    text-decoration: none;
}
@media (hover: hover) and (min-width: 701px) {
.menu-box .menu-all:hover .tl {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}
}

.menu-box .menu-all i {
    font-size: 0.8em;
    transition: transform 0.2s ease;
}
@media (hover: hover) and (min-width: 701px) {
.menu-box .menu-all:hover i {
    transform: translateX(4px);
}
}

.menu-preview {
    display: block;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 100%;
    text-decoration: none;
}
.menu-img {
    display: block;
    height: var(--menu-list-height, 20rem);
    overflow: hidden;
    border-radius: 999px 999px var(--r) var(--r);
    background: var(--paper-2);
}
.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition:
        opacity 0.35s,
        transform 0.6s var(--ease);
}
.menu-img img.in {
    opacity: 1;
}
.wa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background: var(--red);
    color: #fff7ea;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition:
        background-color 0.2s,
        transform 0.2s var(--ease);
}
@media (hover: hover) and (min-width: 701px) {
.wa-link:hover {
    background: var(--red-deep);
    transform: translateY(-1px);
}
}

.menu-btn {
    display: none;
    margin-left: auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* mobile drawer */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    overflow-y: auto;
    padding: 0 var(--pad) 3rem;
    background: var(--ivory);
    visibility: hidden;
    transform: translateX(100%);
    transition:
        transform 0.35s var(--ease),
        visibility 0s 0.35s;
}
.drawer.is-open {
    visibility: visible;
    transform: none;
    transition: transform 0.35s var(--ease);
}
.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.8rem;
}
.drawer-top img {
    height: 2.4rem;
    width: auto;
}
.drawer-top button {
    padding: 0.6rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}
.drawer-kinds {
    margin-top: 1.2rem;
}
.drawer-kinds a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    font: 400 1.75rem/1.2 var(--serif);
    text-decoration: none;
}
.drawer-kinds a span {
    font: 600 0.8rem var(--sans);
    color: var(--ink-soft);
}
.drawer-more {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.6rem;
}
.drawer-more a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    background: var(--card);
}
.drawer-more a.is-here {
    color: var(--red);
    border-color: rgba(206, 3, 7, 0.4);
}
.drawer-more .drawer-wa {
    background: var(--red);
    border-color: var(--red);
    color: #fff7ea;
} 
.social-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.social-links a {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid rgba(241, 217, 139, 0.3);
    border-radius: 50%;
    color: var(--gold-soft);
    font-size: 1rem;
    text-decoration: none;
    transition:
        color 0.2s,
        background-color 0.2s,
        border-color 0.2s,
        transform 0.2s var(--ease);
}
.masthead-social {
    flex: none;
    gap: 0.4rem;
}
.masthead-social a {
    width: 2.35rem;
    height: 2.35rem;
    border-color: var(--line-strong);
    color: var(--wine);
    font-size: 0.9rem;
}
.foot-social {
    margin-top: 1.25rem;
}
.drawer-social {
    flex: none;
    gap: 0.45rem;
    margin: 0;
}
.drawer-social a {
    flex: none;
    width: 2.8rem;
    height: 2.8rem;
    border-color: var(--line-strong);
    color: var(--wine);
}
.drawer-more .drawer-contact-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.drawer-more .drawer-contact-row .drawer-wa {
    flex: 1;
    justify-content: center;
    gap: 0.6rem;
    min-width: 0;
}
@media (hover: hover) and (min-width: 701px) {
    .social-links a:hover {
        transform: translateY(-2px);
        border-color: var(--yellow);
        background: rgba(252, 195, 20, 0.12);
        color: var(--yellow);
    }
}

/* product cards and grid (every listing page) */
.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.4rem 1.3rem;
}
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}
.card {
    animation: rise 0.55s var(--ease) both;
}
.card:nth-child(2) {
    animation-delay: 0.04s;
}
.card:nth-child(3) {
    animation-delay: 0.08s;
}
.card:nth-child(4) {
    animation-delay: 0.12s;
}
.card:nth-child(n + 5) {
    animation-delay: 0.14s;
}
.card-img {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--r);
    background: linear-gradient(135deg, var(--paper-2), var(--paper));
    box-shadow: var(--sh-1);
    transition:
        box-shadow 0.35s var(--ease),
        transform 0.35s var(--ease);
}
.card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity 0.45s,
        transform 0.8s var(--ease);
}
.card-img .b {
    opacity: 0;
}
.card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--wine);
    color: var(--gold-soft);
    font: 700 0.68rem/1.2 var(--sans);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
@media (hover: hover) and (min-width: 701px) {
    .card:hover .card-img {
        box-shadow: var(--sh-2);
        transform: translateY(-4px);
    }
    .card:hover .card-img .b {
        opacity: 1;
    }
    .card:hover .card-img img {
        transform: scale(1.04);
    }
}
.card-body {
    margin-top: 0.95rem;
    padding-inline: 0.15rem;
}
.card-name {
    display: block;
    font: 400 1.18rem/1.28 var(--serif);
    letter-spacing: -0.01em;
    text-decoration: none;
}
@media (hover: hover) and (min-width: 701px) {
.card-name:hover {
    color: var(--red);
}
}

.card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 0.55rem;
    font-size: 0.84rem;
    color: var(--ink-soft);
}
.card-row a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(206, 3, 7, 0.3);
    border-radius: 999px;
    color: var(--red);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 0.2s,
        color 0.2s,
        border-color 0.2s;
}
@media (hover: hover) and (min-width: 701px) {
.card-row a:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff7ea;
}
}

.product-cert {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #7a5a06;
}
.product-cert::before {
    content: "\f3a5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--gold);
    font-size: 0.72rem;
}

/* footer */
.foot {
    position: relative;
    margin-top: 0;
    background: var(--wine-2);
    color: #e8d9bd;
    overflow: hidden;
}
.foot::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.foot-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    flex-wrap: wrap;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(0.6rem, 1.5vw, 1rem) clamp(1.5rem, 3.5vw, 2.8rem);
    border: 1px solid rgba(241, 217, 139, 0.22);
    border-radius: var(--r-lg);
    background:
        radial-gradient(
            ellipse at 100% 0%,
            rgba(252, 195, 20, 0.16),
            transparent 55%
        ),
        rgba(255, 255, 255, 0.03);
}
.foot-cta h2 {
    max-width: 28rem;
    font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--serif);
    color: #fff3dc;
}
.foot-cta p {
    margin-top: 0.4rem;
    font-size: 0.95rem;
    color: rgba(232, 217, 189, 0.8);
}
.foot-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 0.9fr 1.2fr;
    gap: 2.5rem 2rem;
    padding-top: clamp(2.5rem, 5vw, 4rem);
}
.foot-brand img {
    width: 11.5rem;
    height: auto;
}
.foot-brand p {
    margin-top: 1.1rem;
    max-width: 18rem;
    font-size: 0.93rem;
    line-height: 1.7;
}
.foot-brand .foot-tag {
    margin-top: 1rem;
    font: 400 1.25rem/1 var(--bn);
    color: var(--yellow);
}
.foot h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    font: 700 0.74rem/1.2 var(--sans);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-soft);
    border-bottom: none;
    position: relative;
}

.foot h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 1px;
    background: var(--gold-soft);
}
.foot-kinds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
}
.foot li {
    padding-block: 0.22rem;
    font-size: 0.93rem;
}
.foot a {
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
}
@media (hover: hover) and (min-width: 701px) {
.foot a:hover {
    color: var(--yellow);
}
}

.foot-contact li {
    display: flex;
    gap: 0.7rem;
    align-items: baseline;
}
.foot-contact i {
    width: 1rem;
    flex: none;
    color: var(--yellow);
    font-size: 0.85rem;
    text-align: center;
}
.foot-contact a {
    overflow-wrap: anywhere;
}
.foot :focus-visible {
    outline-color: var(--yellow);
}
.foot-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
    color: rgba(232, 217, 189, 0.75);
}
.foot-base p:last-child {
    font-family: var(--bn);
    font-size: 1.05rem;
    color: var(--yellow);
}
.developer-credit {
    width: min(100% - 2 * var(--pad), var(--max));
    margin-inline: auto;
    padding-bottom: 0.8rem;
    text-align: center;
    color: rgba(232, 217, 189, 0.7);
    font-size: 0.78rem;
}
.developer-credit a {
    color: var(--gold-soft);
    font-weight: 600;
}

/* floating actions: WhatsApp (icon only, glowing) with scroll-to-top above it */
:root {
    --float-size: 3.5rem;
    --float-gap: 0.8rem;
    --float-edge: 1.1rem;
}
.wa-float {
    position: fixed;
    right: var(--float-edge);
    bottom: var(--float-edge);
    z-index: 25;
    display: grid;
    place-items: center;
    width: var(--float-size);
    height: var(--float-size);
    overflow: hidden;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 1.9rem;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    animation: wa-glow 2.4s ease-out infinite;
    -webkit-tap-highlight-color: transparent;
}
.wa-float i {
    position: relative;
    z-index: 1;
}
.wa-float::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 70%
    );
    transform: translateX(-120%);
    animation: wa-shimmer 3.2s ease-in-out infinite;
}
@keyframes wa-glow {
    0% {
        box-shadow:
            0 8px 20px -8px rgba(23, 121, 74, 0.8),
            0 0 0 0 rgba(37, 211, 102, 0.55);
    }
    70% {
        box-shadow:
            0 8px 20px -8px rgba(23, 121, 74, 0.8),
            0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow:
            0 8px 20px -8px rgba(23, 121, 74, 0.8),
            0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@keyframes wa-shimmer {
    0%,
    55% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}
.wa-float:focus-visible {
    outline-color: #fff;
}
@media (hover: hover) and (min-width: 701px) {
    .wa-float:hover {
        background: #12623b;
    }
}
@media (prefers-reduced-motion: reduce) {
    .wa-float,
    .wa-float::before {
        animation: none !important;
    }
    .wa-float {
        box-shadow: 0 0 18px 2px rgba(37, 211, 102, 0.55);
    }
}

.to-top {
    position: fixed;
    right: var(--float-edge);
    bottom: calc(var(--float-edge) + var(--float-size) + var(--float-gap));
    z-index: 25;
    display: grid;
    place-items: center;
    width: var(--float-size);
    height: var(--float-size);
    padding: 0;
    border: 1px solid rgba(255, 243, 220, 0.25);
    border-radius: 50%;
    background: var(--wine);
    color: #fff3dc;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(59, 10, 16, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity 0.25s,
        transform 0.25s var(--ease),
        visibility 0.25s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.to-top:focus-visible {
    outline-color: var(--yellow);
}
@media (hover: hover) and (min-width: 701px) {
    .to-top:hover {
        background: var(--red);
    }
}
@media (max-width: 700px) {
    :root {
        --float-size: 3.2rem;
        --float-edge: 0.9rem;
    }
    .wa-float {
        font-size: 1.75rem;
    }
}

/* category banner placeholders */
.cat-banner {
    padding-top: clamp(1.2rem, 2.5vw, 2rem);
}
.banner-ph {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 5;
    min-height: 9rem;
    border: 2px dashed var(--line-strong);
    border-radius: var(--r-lg);
    background:
        linear-gradient(135deg, rgba(217, 165, 33, 0.1), transparent 60%),
        var(--paper-2);
    color: var(--ink-soft);
}
.banner-ph-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.banner-ph-label i {
    font-size: 1.2rem;
    color: var(--gold);
}
.banner-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
@media (max-width: 700px) {
    .banner-ph {
        aspect-ratio: 16 / 8;
        min-height: 7rem;
    }
}

/* shared page head (categories, category, gemstones, silver, product) */
.page-head {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3.2rem) 0 clamp(2.2rem, 4.5vw, 3.6rem);
    background:
        radial-gradient(
            ellipse at 88% 0%,
            rgba(252, 195, 20, 0.22),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 0% 100%,
            rgba(206, 3, 7, 0.07),
            transparent 50%
        ),
        var(--paper);
    border-bottom: 1px solid var(--line);
}
.page-head::after {
    content: "";
    position: absolute;
    right: -4rem;
    top: -4rem;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    border: 1px solid rgba(217, 165, 33, 0.35);
    box-shadow:
        0 0 0 2.2rem rgba(217, 165, 33, 0.07),
        0 0 0 4.4rem rgba(217, 165, 33, 0.04);
    pointer-events: none;
}
.page-head .wrap {
    position: relative;
    z-index: 1;
}
.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: var(--ink-soft);
}
.crumbs a {
    text-decoration: none;
}
@media (hover: hover) and (min-width: 701px) {
.crumbs a:hover {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
}

.crumbs span[aria-hidden] {
    opacity: 0.5;
}
.page-head h1 {
    margin-top: 1.1rem;
    font-size: clamp(2.5rem, 5.2vw, 4.4rem);
    line-height: 1.02;
    font-weight: 350;
}
.page-head p {
    max-width: 36rem;
    margin-top: 0.9rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

@media (max-width: 1000px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 960px) {
    .primary,
    .wa-link,
    .masthead-social {
        display: none;
    }
    .menu-btn {
        display: inline-flex;
    }
    .logo img {
        height: 2.4rem;
    }
    .topbar nav {
        display: none;
    }
    .topbar-in {
        justify-content: center;
    }
}
@media (min-width: 961px) {
    .drawer {
        display: none;
    }
}
@media (max-width: 900px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
    .foot-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 700px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.8rem 0.8rem;
    }
    .card-name {
        font-size: 1.05rem;
    }
    .card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
    }
    .topbar {
        font-size: 0.76rem;
    }
    .foot-cta-actions {
        width: 100%;
    }
    .foot-cta-actions .btn {
        flex: 1 1 auto;
    }
}
@media (max-width: 520px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
    .foot-base {
        flex-direction: column;
        gap: 0.4rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.001ms !important;
    }
}


/* Legal pages */
.legal-content {
    max-width: 900px;
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--ink);
}
.legal-content .legal-updated {
    margin-bottom: 2rem;
    color: var(--ink-soft);
    font-size: .9rem;
}
.legal-content h2 {
    margin: 2rem 0 .65rem;
    color: var(--wine);
    font: 500 clamp(1.25rem, 2vw, 1.55rem)/1.25 var(--serif);
}
.legal-content p {
    margin: 0 0 1rem;
    color: var(--ink-soft);
    line-height: 1.85;
}
.legal-content address {
    margin-top: .8rem;
    color: var(--ink-soft);
    font-style: normal;
    line-height: 1.9;
}
.legal-content address a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: .18em;
}
.checkbox-label a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: .15em;
}
.checkbox-label a:hover {
    color: var(--wine);
}


/* Keep the Instagram glyph centred in its circular mobile drawer button. */
.drawer-social a[aria-label="Instagram"] {
    display: grid;
    place-items: center;
}
.drawer-social a[aria-label="Instagram"] i {
    display: block;
    line-height: 1;
    justify-self: center;
    transform: translateX(-3px);
}
