/*
Theme Name: AMP Perfume
Theme URI: https://ampperfume.com
Author: AMP
Author URI: https://ampperfume.com
Description: Luxury perfume brand theme with WooCommerce integration. Animated, gold-accented design with parallax hero, custom cursor, cart drawer, and full e-commerce flow. Auto-imports 6 signature products on activation.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amp-perfume
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, full-width-template
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    --bg: #faf7f2;
    --bg-dark: #0c0c0c;
    --bg-soft: #f3ede3;
    --ink: #111111;
    --ink-soft: #2a2a2a;
    --muted: #6e6a63;
    --line: #e8e2d6;
    --gold: #c9a96e;
    --gold-soft: #e6d5b4;
    --gold-deep: #a07f4a;
    --serif: 'Playfair Display', serif;
    --display: 'Cormorant Garamond', serif;
    --sans: 'Inter', sans-serif;
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

::selection { background: var(--gold); color: #fff; }

/* ============== PRELOADER ============== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
    /* Hard fail-safe: never let loader block UI forever */
    animation: ampPreloaderAutoHide 0.7s ease 6s forwards;
}
.preloader.hidden { opacity: 0; visibility: hidden; }

@keyframes ampPreloaderAutoHide {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.preloader-inner { text-align: center; }

.preloader-logo {
    font-family: var(--serif);
    font-size: 5rem;
    color: var(--gold);
    letter-spacing: 0.4rem;
    font-weight: 700;
    animation: logoFade 1.8s var(--ease) infinite alternate;
}

@keyframes logoFade {
    from { opacity: 0.4; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.preloader-bar {
    width: 220px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 1.5rem auto 1rem;
    overflow: hidden;
}
.preloader-bar span {
    display: block;
    width: 30%;
    height: 100%;
    background: var(--gold);
    animation: load 1.4s var(--ease) infinite;
}
@keyframes load {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.preloader-tag {
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* ============== CUSTOM CURSOR ============== */
.cursor-dot, .cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s, transform 0.15s var(--ease-out);
    mix-blend-mode: difference;
}
.cursor-dot {
    width: 6px; height: 6px;
    background: var(--gold);
}
.cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.6);
    transition: transform 0.4s var(--ease-out), width 0.3s, height 0.3s, border 0.3s;
}
.cursor-ring.expand { width: 64px; height: 64px; border-color: var(--gold); }

@media (max-width: 992px) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ============== ANNOUNCE BAR ============== */
.announce-bar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    overflow: hidden;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 0.65rem 0;
}
.announce-track {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
    width: max-content;
}
.announce-track span:not(:empty) { flex-shrink: 0; }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============== HEADER ============== */
header {
    position: sticky;
    top: 0;
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 100;
    transition: background 0.3s, padding 0.3s, border-color 0.3s;
    padding: 1.4rem 0;
    border-bottom: 1px solid transparent;
}
header.scrolled {
    padding: 0.9rem 0;
    background: rgba(250, 247, 242, 0.96);
    border-bottom-color: var(--line);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.logo-mark {
    width: 38px; height: 38px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1rem;
    transition: 0.4s var(--ease);
}
.logo:hover .logo-mark { background: var(--ink); color: var(--gold); transform: rotate(360deg); }
.logo-text { font-size: 1rem; }
.logo-img,
.logo .custom-logo,
.logo .custom-logo-link img,
.custom-logo-link img {
    display: block;
    height: 72px !important;
    width: auto !important;
    max-width: 220px;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    mix-blend-mode: multiply;
    transition: 0.4s var(--ease);
}
header.scrolled .logo-img,
header.scrolled .logo .custom-logo,
header.scrolled .logo .custom-logo-link img,
header.scrolled .custom-logo-link img {
    height: 56px !important;
}
.logo:hover .logo-img,
.logo:hover .custom-logo,
.logo:hover .custom-logo-link img {
    transform: scale(1.04);
}
.logo .custom-logo-link {
    display: block;
    line-height: 0;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}
.nav-link {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    position: relative;
    padding: 0.4rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--gold-deep); }

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 1rem;
}
.nav-icons i { cursor: pointer; transition: 0.3s; }
.nav-icons i:hover { color: var(--gold-deep); transform: translateY(-2px); }

.cart-icon {
    position: relative;
    cursor: pointer;
}
.cart-icon span {
    position: absolute;
    top: -10px; right: -10px;
    background: var(--gold);
    color: #fff;
    font-size: 0.6rem;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 600;
    transition: 0.3s var(--ease);
}
.cart-icon.bump span { transform: scale(1.4); }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition: 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    color: #fff;
    z-index: 99;
    display: grid;
    place-items: center;
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul {
    list-style: none;
    text-align: center;
}
.mobile-menu li { margin: 1.2rem 0; }
.mobile-menu a {
    font-family: var(--serif);
    font-size: 2rem;
    color: #fff;
    letter-spacing: 0.1em;
    transition: 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ============== SEARCH OVERLAY ============== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 12, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 18vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.search-overlay.open {
    opacity: 1;
    visibility: visible;
}
.search-overlay .search-form {
    width: min(720px, 90%);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.6rem 0;
    transform: translateY(20px);
    transition: transform 0.5s 0.05s var(--ease-out);
}
.search-overlay.open .search-form { transform: translateY(0); }
.search-overlay .search-icon {
    color: var(--gold);
    font-size: 1.3rem;
}
.search-overlay input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    padding: 0.8rem 0;
    outline: none;
    letter-spacing: 0.01em;
    -webkit-appearance: none;
    appearance: none;
}
.search-overlay input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
}
.search-overlay input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}
.search-overlay button[type="submit"] {
    background: var(--gold);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: grid;
    place-items: center;
    transition: 0.3s var(--ease);
}
.search-overlay button[type="submit"]:hover {
    background: #fff;
    color: var(--ink);
    transform: translateX(3px);
}
.search-close {
    position: absolute;
    top: 1.8rem;
    right: 1.8rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.3s var(--ease);
}
.search-close:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: rotate(90deg);
}
.search-hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 2rem;
}
.search-hint kbd {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    margin: 0 0.2rem;
}

/* ============== HERO ============== */
.hero {
    position: relative;
    height: 100svh;
    min-height: 700px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 18s var(--ease) infinite alternate;
}
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(1.12) contrast(1.05);
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}
@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.18); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.32) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 1.5rem;
}

.hero-eyebrow {
    font-family: var(--display);
    color: var(--gold-soft);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 1;
    font-weight: 700;
    margin-bottom: 1.8rem;
    letter-spacing: -0.01em;
}
.hero-title .line {
    display: block;
    overflow: hidden;
}
.hero-title .line.italic { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.hero-title [data-reveal-text] {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.1s var(--ease-out);
}
.hero-title [data-reveal-text].in { transform: translateY(0); }

.hero-sub {
    font-family: var(--display);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    font-style: italic;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.05rem 2.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.btn span, .btn i { position: relative; z-index: 2; }
.btn i { transition: transform 0.4s var(--ease); }
.btn:hover i { transform: translateX(5px); }

.btn-gold {
    background: var(--gold);
    color: #fff;
}
.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease);
}
.btn-gold:hover::before { transform: translateY(0); }
.btn-gold:hover { color: var(--gold); }

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

.btn-dark {
    background: var(--ink);
    color: #fff;
    margin-top: 1rem;
}
.btn-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease);
}
.btn-dark:hover::before { transform: translateY(0); }
.btn-dark:hover { color: #fff; }

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.7);
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    text-align: center;
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    margin: 0.7rem auto 0;
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -50px; left: 0;
    width: 100%; height: 50%;
    background: var(--gold);
    animation: scrollDown 2s var(--ease) infinite;
}
@keyframes scrollDown {
    to { top: 100%; }
}

.hero-side {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right;
    color: rgba(255,255,255,0.5);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    z-index: 3;
}

/* ============== STATS ============== */
.stats {
    padding: 5rem 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat {
    position: relative;
    padding: 0 1rem;
}
.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--line);
}
.stat-num {
    display: inline-block;
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}
.plus {
    font-family: var(--serif);
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}
.stat p {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--muted);
}

/* ============== ABOUT ============== */
.about {
    padding: 9rem 0;
    background: var(--bg);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}
.about-img {
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
}
.about-img::before {
    content: '';
    position: absolute;
    inset: 1.2rem;
    border: 1px solid rgba(255,255,255,0.4);
    z-index: 2;
    pointer-events: none;
}
.about-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--ease);
}
.about-img:hover img { transform: scale(1.06); }
.about-slider {
    width: 100%;
    height: 100%;
}
.about-slider .swiper-slide {
    overflow: hidden;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    display: block;
    transition: none;
}
.about-img { max-height: 640px; }
@media (max-width: 880px) {
    .about-img { max-height: 520px; }
}
.about-pagination { display: none !important; }

.about-img-tag {
    /* Hidden on all screens — the spinning circle poked past the image
       corner and broke the About layout on both desktop and mobile. */
    display: none !important;
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gold);
    color: #fff;
    width: 130px; height: 130px;
    border-radius: 50%;
    place-items: center;
    text-align: center;
    z-index: 3;
    font-family: var(--serif);
    animation: spin 25s linear infinite;
}
.about-img-tag span {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
.about-img-tag strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.2rem;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.eyebrow {
    display: block;
    font-family: var(--display);
    font-style: italic;
    color: var(--gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
}
.eyebrow.light { color: var(--gold-soft); }

.h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.8rem;
    letter-spacing: -0.01em;
}
.h2 em {
    font-family: var(--display);
    font-weight: 500;
    color: var(--gold-deep);
}
.h2.light { color: #fff; }
.h2.light em { color: var(--gold-soft); }

.about-content > p {
    color: var(--muted);
    margin-bottom: 1.2rem;
    max-width: 520px;
}

.about-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.2rem 0;
    padding: 1.8rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.about-meta strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}
.about-meta span {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}

/* ============== MARQUEE ============== */
.marquee {
    background: var(--bg-dark);
    color: #fff;
    overflow: hidden;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    width: max-content;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
}
.marquee-track .dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============== SECTION HEAD ============== */
.section-head {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.section-head p {
    color: var(--muted);
    margin-top: 1rem;
}

/* ============== WHY US ============== */
.why-us {
    padding: 8rem 0;
    background: var(--bg);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.usp {
    background: var(--bg);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: 0.5s var(--ease);
}
.usp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--ease);
    z-index: 0;
}
.usp:hover::before { transform: scaleY(1); }
.usp:hover { color: #fff; }
.usp:hover .usp-num { color: rgba(255,255,255,0.15); }
.usp:hover i { color: var(--gold); transform: rotateY(360deg); }
.usp:hover p { color: rgba(255,255,255,0.7); }

.usp > * { position: relative; z-index: 1; }
.usp-num {
    font-family: var(--serif);
    font-size: 3rem;
    color: var(--line);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    transition: 0.5s;
}
.usp i {
    font-size: 1.6rem;
    color: var(--gold-deep);
    margin-bottom: 1.4rem;
    display: inline-block;
    transition: transform 0.8s var(--ease);
}
.usp h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}
.usp p {
    color: var(--muted);
    font-size: 0.88rem;
    transition: 0.4s;
}

/* ============== COLLECTIONS ============== */
.collections {
    padding: 8rem 0;
    background: var(--bg-soft);
}
.col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.col-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    color: #fff;
    display: block;
}
.col-item img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}
.col-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
    transition: 0.6s;
    z-index: 1;
}
.col-item:hover img { transform: scale(1.08); }
.col-item:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%); }

.col-info {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    padding: 2.5rem;
    z-index: 2;
    transform: translateY(30%);
    transition: transform 0.5s var(--ease);
}
.col-item:hover .col-info { transform: translateY(0); }

.col-tag {
    display: inline-block;
    font-family: var(--display);
    font-style: italic;
    color: var(--gold-soft);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}
.col-info h3 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.col-info p {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.5s 0.1s var(--ease);
}
.col-item:hover .col-info p { opacity: 1; transform: translateY(0); }
.col-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-soft);
    border-bottom: 1px solid var(--gold-soft);
    padding-bottom: 0.4rem;
    font-weight: 600;
}

/* ============== SHOP / PRODUCT SLIDER ============== */
.shop {
    padding: 8rem 0;
    background: var(--bg);
}
.shop-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}
.shop-tab {
    appearance: none;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding: 0.95rem 2.2rem;
    cursor: pointer;
    transition: 0.35s var(--ease);
    position: relative;
}
.shop-tab:hover {
    border-color: var(--gold);
    color: var(--ink);
}
.shop-tab.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.shop-tab-panel {
    display: none;
}
.shop-tab-panel.active {
    display: block;
    animation: shopFade 0.5s var(--ease-out);
}
@keyframes shopFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.product-slider {
    padding-bottom: 4rem;
    position: relative;
}
.product-card {
    background: var(--bg);
    border: 1px solid var(--line);
    transition: 0.4s var(--ease);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.15);
}
.p-badge {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 3;
    padding: 0.4rem 0.8rem;
    background: var(--ink);
    color: #fff;
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
}
.p-badge.sale { background: #c0392b; }
.p-badge.new { background: var(--gold); color: #fff; }
.p-badge.bestseller { background: var(--ink); }
.p-badge.bundle { background: var(--gold-deep); color: #fff; }
.p-badge.tester { background: var(--gold); color: #fff; }
.p-badge.bundle + .p-badge.sale,
.p-badge.tester + .p-badge.sale { top: 52px; }

/* Bundle Offer section — subtle distinction from Bestselling */
.shop.bundle-section { background: var(--bg-soft); }
.shop.bundle-section .product-card { background: #fff; }
.shop.bundle-section .section-head p,
.shop.tester-section .section-head p {
    max-width: 560px;
    margin: 1rem auto 0;
    font-family: var(--display);
    font-style: italic;
    color: var(--muted);
    font-size: 1.1rem;
}

/* Tester page grid */
.tester-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 640px) {
    .tester-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

.p-img-box {
    display: grid;
    place-items: center;
    background: var(--bg-soft);
    overflow: hidden;
    position: relative;
}
.p-img-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(201, 169, 110, 0.18) 0%, transparent 70%);
    opacity: 0;
    transition: 0.6s;
}
.product-card:hover .p-img-box::before { opacity: 1; }
.p-img-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: 0.7s var(--ease);
}
.product-card:hover .p-img-box img { transform: scale(1.08) rotate(-2deg); }

.p-body {
    padding: 1.4rem 1.4rem 1.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.p-tag {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.62rem;
    color: var(--gold-deep);
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.p-name {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.p-notes {
    font-family: var(--display);
    font-style: italic;
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 0.7rem;
}
.p-rating {
    color: var(--gold);
    font-size: 0.7rem;
    margin-bottom: 0.7rem;
    letter-spacing: 0.15em;
}
.p-price-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.p-old {
    font-family: var(--serif);
    font-size: 0.95rem;
    color: var(--muted);
    text-decoration: line-through;
}
.p-price {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
}
.buy-btn {
    margin-top: auto;
    width: 100%;
    padding: 0.95rem 1rem;
    background: var(--ink);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    transition: 0.4s var(--ease);
    font-family: var(--sans);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}
.buy-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease);
}
.buy-btn:hover::before { transform: translateX(0); }
.buy-btn span, .buy-btn i { position: relative; z-index: 1; }
.buy-btn.added { background: var(--gold); }
.buy-btn.added::before { display: none; }
.shop-cta { text-align: center; margin-top: 3rem; }

.swiper-button-next, .swiper-button-prev {
    color: var(--ink);
    background: var(--bg);
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1px solid var(--line);
    transition: 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--ink); color: var(--gold); border-color: var(--ink);
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 0.9rem;
    font-weight: 700;
}
.swiper-pagination-bullet {
    background: var(--ink);
    opacity: 0.3;
    transition: 0.3s;
}
.swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* ============== HIGHLIGHT BANNER ============== */
.highlight {
    position: relative;
    min-height: 600px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.highlight-bg {
    position: absolute;
    inset: -10%;
    z-index: 0;
}
.highlight-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}
.highlight-content {
    position: relative;
    z-index: 2;
    padding: 6rem 1.5rem;
    max-width: 720px;
}
.highlight-content p {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin: 1rem 0 2rem;
}

/* ============== TESTIMONIALS ============== */
.testimonials {
    padding: 8rem 0;
    background: var(--bg-soft);
}
.testimonial-slider {
    padding-bottom: 4rem;
    max-width: 900px;
    margin: 0 auto;
}
.t-card {
    background: var(--bg);
    padding: 3.5rem 3rem 3rem;
    text-align: center;
    border: 1px solid var(--line);
    position: relative;
}
.t-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--serif);
    font-size: 7rem;
    line-height: 1;
    color: var(--gold);
    background: var(--bg);
    padding: 0 1rem;
}
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 1.5rem; letter-spacing: 0.2em; }
.t-card p {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ink-soft);
    margin-bottom: 2rem;
    line-height: 1.5;
}
.t-card strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}
.t-card span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--muted);
}

/* ============== FAQ ============== */
.faq {
    padding: 8rem 0;
    background: var(--bg);
}
.faq-list {
    max-width: 880px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--line);
    transition: 0.3s;
}
.faq-item:hover { border-color: var(--gold); }
.faq-q {
    padding: 1.8rem 0;
    cursor: pointer;
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: 0.3s;
}
.faq-q:hover { color: var(--gold-deep); }
.faq-q i {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 0.7rem;
    transition: 0.4s var(--ease);
}
.faq-item.active .faq-q i {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: rotate(45deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), padding 0.4s;
    color: var(--muted);
}
.faq-a p { padding-bottom: 1.8rem; padding-right: 4rem; }
.faq-item.active .faq-a { max-height: 250px; }

/* ============== CTA ============== */
.cta {
    padding: 5rem 0 8rem;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 60%);
    animation: float 12s ease-in-out infinite;
}
.cta::after {
    content: '';
    position: absolute;
    bottom: -50%; right: -10%;
    width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 60%);
    animation: float 14s ease-in-out infinite reverse;
}
.cta-box {
    background: transparent;
    color: #fff;
    padding: 2rem 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box p {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 1rem auto 2.5rem;
}
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 600px;
    margin: 0 auto;
}
.cta-form input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1.1rem 1.4rem;
    color: #fff;
    font-family: var(--sans);
    font-size: 0.85rem;
    outline: none;
    letter-spacing: 0.05em;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.4); }
.cta-form button {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 1.2rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--sans);
}
.cta-form button:hover { background: var(--gold-deep); }

/* ============== FOOTER ============== */
footer {
    padding: 6rem 0 2rem;
    background: var(--bg-dark);
    color: rgba(255,255,255,0.6);
}
.f-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.f-brand p { max-width: 320px; font-size: 0.88rem; line-height: 1.7; }
.f-logo {
    font-family: var(--serif);
    font-size: 1.8rem;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 1.2rem;
    font-weight: 700;
}
.socials {
    margin-top: 1.8rem;
    display: flex;
    gap: 0.7rem;
}
.socials a {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: grid; place-items: center;
    color: rgba(255,255,255,0.6);
    transition: 0.4s var(--ease);
}
.socials a:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: translateY(-3px);
}
.f-col h4 {
    color: #fff;
    font-family: var(--serif);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.f-col ul { list-style: none; }
.f-col ul li { margin-bottom: 0.7rem; }
.f-col ul a {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    transition: 0.3s;
    position: relative;
}
.f-col ul a:hover { color: var(--gold); padding-left: 12px; }
.f-news {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}
.f-form {
    display: flex;
    border: 1px solid rgba(255,255,255,0.15);
}
.f-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.9rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    font-family: var(--sans);
}
.f-form input::placeholder { color: rgba(255,255,255,0.3); }
.f-form button {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 0 1.4rem;
    cursor: pointer;
    transition: 0.3s;
}
.f-form button:hover { background: var(--gold-deep); }

.f-bottom {
    padding-top: 1.8rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ============== FLOATING UI ============== */
.wa-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 56px; height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.6rem;
    z-index: 80;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    transition: 0.3s var(--ease);
    animation: pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse {
    0%, 100% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); }
}

.to-top {
    position: fixed;
    bottom: 24px; left: 24px;
    width: 48px; height: 48px;
    background: var(--ink);
    color: var(--gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: #fff; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
    .stats-grid, .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2)::after { display: none; }
    .f-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-icons i:not(.fa-bag-shopping) { display: none; }

    .about-grid, .col-grid { grid-template-columns: 1fr; gap: 3rem; }

    /* Once the about section stacks, the decorative spinning circle pokes
       past the image edge and causes overflow — hide it, center the image.
       The image also needs an explicit width: with only aspect-ratio + max-height
       the browser derives its width from the height and it bleeds off the right. */
    .about-img-tag { display: none !important; }
    .about-img-wrap { width: 100%; max-width: 100%; }
    .about-img {
        width: 100%;
        max-width: 100%;
        max-height: none;
        margin: 0 auto;
    }

    .hero { height: 86svh; min-height: 620px; }
    .hero-side { display: none; }

    .about { padding: 5rem 0; }
    .why-us, .collections, .shop, .testimonials, .faq { padding: 5rem 0; }
}

@media (max-width: 600px) {
    .hero { height: 82svh; min-height: 540px; }
    .stats-grid, .usp-grid, .f-grid { grid-template-columns: 1fr; }
    .stat::after { display: none !important; }
    .stats { padding: 3.5rem 0; }
    .about-img-tag { width: 100px; height: 100px; bottom: -20px; right: -10px; }
    .cta-box { padding: 3.5rem 1.5rem; }
    .cta-form { flex-direction: column; }
    .cta-form button { padding: 1rem; }
    .t-card { padding: 3rem 1.5rem 2rem; }
    .t-card p { font-size: 1.05rem; }
    .f-bottom { flex-direction: column; text-align: center; }
}

/* =========================================================
   CART DRAWER
   ========================================================= */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 460px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,0.3);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
    padding: 1.6rem 1.8rem;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-head h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.cart-head-count {
    font-family: var(--sans);
    background: var(--ink);
    color: var(--gold);
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    font-weight: 600;
}
.cart-close {
    background: var(--bg-soft);
    border: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.3s;
    color: var(--ink);
}
.cart-close:hover { background: var(--ink); color: var(--gold); transform: rotate(90deg); }

.cart-ship-bar {
    padding: 0.9rem 1.8rem;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
    color: var(--ink-soft);
}
.cart-ship-bar strong { color: var(--gold-deep); }
.cart-ship-bar p { margin-bottom: 0.5rem; }
.cart-ship-bar .ship-done {
    color: var(--gold-deep);
    margin-bottom: 0;
    display: flex; align-items: center; gap: 0.4rem;
}
.ship-progress {
    height: 4px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
}
.ship-progress span {
    display: block;
    height: 100%;
    background: var(--gold);
    transition: width 0.6s var(--ease);
    border-radius: 2px;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1.8rem;
}
.cart-body::-webkit-scrollbar { width: 4px; }
.cart-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

.cart-empty {
    padding: 4rem 1rem;
    text-align: center;
    color: var(--muted);
}
.cart-empty i {
    font-size: 3rem;
    color: var(--line);
    margin-bottom: 1.4rem;
}
.cart-empty h4 {
    font-family: var(--serif);
    color: var(--ink);
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}
.cart-empty p {
    margin-bottom: 1.6rem;
    font-size: 0.9rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    padding: 1.3rem 0;
    border-bottom: 1px solid var(--line);
    animation: fadeUp 0.35s var(--ease);
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.ci-img {
    width: 90px; height: 110px;
    background: var(--bg-soft);
    overflow: hidden;
}
.ci-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.ci-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ci-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.6rem;
}
.ci-top h4 {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.ci-top span {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.ci-remove {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    width: 26px; height: 26px;
    border-radius: 50%;
    transition: 0.3s;
}
.ci-remove:hover { background: var(--ink); color: var(--gold); }

.ci-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.6rem;
}
.ci-price {
    font-family: var(--serif);
    font-weight: 700;
    color: var(--ink);
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--bg);
}
.qty-stepper button {
    width: 30px; height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--ink);
    transition: 0.2s;
}
.qty-stepper button:hover { background: var(--ink); color: var(--gold); }
.qty-stepper span {
    width: 32px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-foot {
    padding: 1.4rem 1.8rem 1.8rem;
    border-top: 1px solid var(--line);
    background: var(--bg);
}
.cart-totals {
    margin-bottom: 1.2rem;
}
.cart-totals > div {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.cart-totals strong { color: var(--ink); font-weight: 600; }
.cart-totals .total-row {
    border-top: 1px solid var(--line);
    margin-top: 0.6rem;
    padding-top: 0.9rem;
    font-size: 1rem;
}
.cart-totals .total-row span { color: var(--ink); font-weight: 600; }
.cart-totals .total-row strong {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--gold-deep);
}
.cart-checkout-btn {
    width: 100%;
    justify-content: center;
}
.cart-continue {
    margin-top: 0.8rem;
    width: 100%;
    background: none;
    border: none;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    padding: 0.6rem;
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-family: var(--sans);
    letter-spacing: 0.05em;
}

@media (max-width: 520px) {
    .cart-drawer { width: 100%; }
}

/* =========================================================
   PAGE HEAD (Shop / Common)
   ========================================================= */
.page-head {
    padding: 5rem 0 2.5rem;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.crumb {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--muted);
    margin-bottom: 1.2rem;
}
.crumb a { color: var(--muted); transition: 0.3s; }
.crumb a:hover { color: var(--gold-deep); }
.crumb i { font-size: 0.6rem; margin: 0 0.5rem; }
.crumb span { color: var(--ink); }

.page-title {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 0.8rem;
}
.page-sub {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto;
}

/* =========================================================
   SHOP PAGE
   ========================================================= */
.shop-toolbar {
    padding: 1.5rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 73px;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(250, 247, 242, 0.95);
}
.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.filter-tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--line);
    padding: 0.7rem 1.3rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: 0.3s var(--ease);
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.filter-btn span {
    font-size: 0.62rem;
    color: var(--muted);
    background: var(--bg-soft);
    padding: 0.1rem 0.45rem;
    border-radius: 100px;
    font-weight: 500;
    letter-spacing: 0;
}
.filter-btn:hover {
    border-color: var(--ink);
}
.filter-btn.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.filter-btn.active span {
    background: var(--gold);
    color: #fff;
}

.sort-wrap {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.sort-wrap label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
}
.sort-wrap select {
    padding: 0.7rem 2.4rem 0.7rem 1rem;
    background: var(--bg);
    border: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23111' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    transition: 0.3s;
}
.sort-wrap select:hover { border-color: var(--ink); }
.sort-wrap select:focus { outline: none; border-color: var(--gold); }

.shop-grid-wrap {
    padding: 3rem 0 6rem;
    background: var(--bg);
}
.result-count {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
@media (max-width: 1100px) {
    .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
}
@media (max-width: 520px) {
    .shop-grid { grid-template-columns: 1fr; }
}

.product-card.flash {
    animation: flashHighlight 1.5s var(--ease);
}
@keyframes flashHighlight {
    0%, 100% { box-shadow: 0 30px 60px -30px rgba(0,0,0,0.15); }
    50% { box-shadow: 0 0 0 4px var(--gold), 0 30px 60px -30px rgba(201, 169, 110, 0.5); }
}

.shop-empty {
    text-align: center;
    padding: 5rem 1rem;
}
.shop-empty i { font-size: 3rem; color: var(--line); margin-bottom: 1.4rem; }
.shop-empty h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}
.shop-empty p { color: var(--muted); margin-bottom: 2rem; }

.trust-bar {
    background: var(--bg-dark);
    color: #fff;
    padding: 3rem 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.trust-grid > div {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.trust-grid i {
    font-size: 1.6rem;
    color: var(--gold);
    flex-shrink: 0;
}
.trust-grid strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
}
.trust-grid span {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}
@media (max-width: 880px) {
    .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .trust-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CHECKOUT PAGE
   ========================================================= */
.checkout-body { background: var(--bg-soft); }

.minimal-header { padding: 1rem 0; }
.minimal-header nav { gap: 1rem; }
.checkout-steps {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--muted);
}
.checkout-steps i { font-size: 0.55rem; opacity: 0.5; }
.checkout-steps .step.active { color: var(--ink); font-weight: 600; }
.checkout-steps .step.done { color: var(--gold-deep); }
.checkout-steps .step.done::before {
    content: '✓ ';
    color: var(--gold-deep);
}
.back-link {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--ink);
    transition: 0.3s;
}
.back-link:hover { color: var(--gold-deep); }
.back-link i { margin-right: 0.4rem; transition: 0.3s; }
.back-link:hover i { transform: translateX(-3px); }

.checkout-main {
    padding: 3rem 0 5rem;
}
.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}
.checkout-form-wrap {
    background: var(--bg);
    padding: 3rem;
    border: 1px solid var(--line);
}
.checkout-sub {
    font-family: var(--display);
    font-style: italic;
    color: var(--muted);
    margin: -0.5rem 0 2.2rem;
    font-size: 1.05rem;
}

.form-section { margin-bottom: 2.2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: none; }
.form-section h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 1rem; }
@media (max-width: 600px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.field {
    margin-bottom: 1rem;
    position: relative;
}
.field label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--bg);
    border: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 0.92rem;
    color: var(--ink);
    transition: 0.3s;
    outline: none;
    border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}
.field select { cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23111' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center; padding-right: 2.4rem; }
.field textarea { resize: vertical; min-height: 88px; }
.field.error input,
.field.error select,
.field.error textarea {
    border-color: #c0392b;
    background: #fdf2f0;
}
.field.error::after {
    content: 'Required';
    position: absolute;
    bottom: -16px;
    left: 0;
    color: #c0392b;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}
@media (max-width: 600px) { .payment-options { grid-template-columns: 1fr; } }

.pay-option { cursor: pointer; }
.pay-option input { display: none; }
.pay-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem;
    border: 1px solid var(--line);
    background: var(--bg);
    transition: 0.3s var(--ease);
    height: 100%;
}
.pay-card i {
    font-size: 1.4rem;
    color: var(--gold-deep);
    width: 36px;
    text-align: center;
    flex-shrink: 0;
}
.pay-card strong {
    display: block;
    font-family: var(--serif);
    font-size: 1rem;
    margin-bottom: 0.1rem;
}
.pay-card span {
    font-size: 0.78rem;
    color: var(--muted);
}
.pay-option.active .pay-card {
    border-color: var(--ink);
    background: var(--bg-soft);
    box-shadow: 0 0 0 1px var(--ink) inset;
}
.pay-option:hover .pay-card { border-color: var(--gold); }

.place-order-btn {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
    padding: 1.2rem;
    font-size: 0.85rem;
}
.place-order-btn:disabled { opacity: 0.7; cursor: progress; }

.secure-note {
    margin-top: 1rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}
.secure-note i { color: var(--gold-deep); margin-right: 0.4rem; }

/* SUMMARY */
.checkout-summary {
    position: relative;
}
.summary-sticky {
    position: sticky;
    top: 100px;
    background: var(--bg);
    padding: 2rem;
    border: 1px solid var(--line);
}
.summary-sticky h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

.summary-items { margin-bottom: 1.4rem; }
.sum-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}
.sum-item:last-child { border-bottom: none; }
.sum-img {
    position: relative;
    width: 60px; height: 75px;
    background: var(--bg-soft);
    overflow: hidden;
}
.sum-img img { width: 100%; height: 100%; object-fit: cover; }
.sum-qty {
    position: absolute;
    top: -8px; right: -8px;
    background: var(--ink);
    color: var(--gold);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 0.7rem;
    font-weight: 700;
}
.sum-info h4 { font-family: var(--serif); font-size: 0.98rem; font-weight: 600; }
.sum-info span { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; }
.sum-price { font-family: var(--serif); font-weight: 600; font-size: 0.95rem; }

.summary-promo {
    display: flex;
    margin-bottom: 1.4rem;
    border: 1px solid var(--line);
}
.summary-promo input {
    flex: 1;
    padding: 0.8rem 0.9rem;
    background: transparent;
    border: none;
    font-family: var(--sans);
    font-size: 0.85rem;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.summary-promo button {
    background: var(--ink);
    color: var(--gold);
    border: none;
    padding: 0 1.2rem;
    cursor: pointer;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    transition: 0.3s;
    font-family: var(--sans);
}
.summary-promo button:hover { background: var(--gold); color: #fff; }

.summary-totals { padding-top: 1.2rem; border-top: 1px solid var(--line); }
.summary-totals > div {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.summary-totals strong { color: var(--ink); }
.summary-totals .discount { color: var(--gold-deep); }
.summary-totals .discount strong { color: var(--gold-deep); }
.summary-totals .total-row {
    margin-top: 0.6rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    font-size: 1rem;
}
.summary-totals .total-row span { color: var(--ink); font-weight: 600; }
.summary-totals .total-row strong {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--gold-deep);
}

.summary-trust {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.summary-trust i { color: var(--gold-deep); margin-right: 0.3rem; }

@media (max-width: 980px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .summary-sticky { position: static; }
    .checkout-form-wrap { padding: 2rem 1.5rem; }
}

/* CHECKOUT EMPTY */
.checkout-empty {
    padding: 6rem 1rem;
    text-align: center;
}
.checkout-empty i { font-size: 4rem; color: var(--line); margin-bottom: 1.5rem; }
.checkout-empty h2 {
    font-family: var(--serif);
    font-size: 2rem;
    margin-bottom: 0.6rem;
}
.checkout-empty p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-family: var(--display);
    font-style: italic;
    font-size: 1.1rem;
}

/* =========================================================
   SUCCESS PAGE
   ========================================================= */
.success-body { background: var(--bg-soft); }
.success-main {
    padding: 4rem 0 5rem;
}
.success-card {
    max-width: 880px;
    margin: 0 auto;
    background: var(--bg);
    padding: 4rem 3rem;
    text-align: center;
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.1);
}
.success-icon {
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: inline-block;
}
.circle-anim {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: drawCircle 0.9s var(--ease) forwards;
}
.check-anim {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: drawCheck 0.5s 0.7s var(--ease) forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.success-card .h2 { margin: 0.6rem 0 1rem; }
.success-msg {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 2.5rem;
}

.order-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-bottom: 2.8rem;
}
.order-meta > div {
    background: var(--bg);
    padding: 1.4rem 1rem;
}
.order-meta span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--muted);
    margin-bottom: 0.4rem;
}
.order-meta strong {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--ink);
    font-weight: 700;
}
@media (max-width: 600px) {
    .order-meta { grid-template-columns: 1fr; }
}

.success-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    text-align: left;
    margin-bottom: 2.5rem;
}
.ord-section h3 {
    font-family: var(--serif);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--line);
}
.order-items > div + div { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.ord-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 1rem;
    align-items: center;
}
.ord-img {
    position: relative;
    width: 70px; height: 88px;
    background: var(--bg-soft);
    overflow: hidden;
}
.ord-img img { width: 100%; height: 100%; object-fit: cover; }
.ord-img span {
    position: absolute;
    top: -8px; right: -8px;
    background: var(--ink);
    color: var(--gold);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 0.7rem;
    font-weight: 700;
}
.ord-info h4 { font-family: var(--serif); font-size: 1rem; }
.ord-info span { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; }
.ord-price { font-family: var(--serif); font-weight: 700; }

#orderAddress {
    font-style: normal;
    line-height: 1.8;
    color: var(--ink-soft);
    font-size: 0.9rem;
}
#orderAddress strong { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }

.order-totals > div {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.order-totals strong { color: var(--ink); }
.order-totals .total-row {
    margin-top: 0.6rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
    font-size: 1rem;
}
.order-totals .total-row span { color: var(--ink); font-weight: 600; }
.order-totals .total-row strong {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--gold-deep);
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.btn-ghost-dark {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost-dark:hover {
    background: var(--ink);
    color: var(--gold);
}

.success-note {
    background: var(--bg-soft);
    padding: 1rem;
    color: var(--muted);
    font-size: 0.85rem;
    border-left: 3px solid var(--gold);
    text-align: left;
    max-width: 540px;
    margin: 0 auto;
}
.success-note i { color: var(--gold-deep); margin-right: 0.6rem; }

@media (max-width: 880px) {
    .success-grid { grid-template-columns: 1fr; }
    .success-card { padding: 3rem 1.5rem; }
}

/* =========================================================
   FOOTER MIN
   ========================================================= */
.footer-min {
    padding: 1.8rem 0;
    background: var(--bg-dark);
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
}
.footer-min .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

@media (max-width: 880px) {
    .checkout-steps { display: none; }
    .minimal-header nav { justify-content: space-between; }
}


/* =========================================================
   WOOCOMMERCE OVERRIDES
   ========================================================= */
.wc-page-wrap { padding: 4rem 0 6rem; background: var(--bg); }
.wc-page-wrap .container { padding: 0 5%; max-width: 1400px; margin: 0 auto; }
/* Single product output has no inner .container — center & pad it like one
   so the gallery, summary and reviews aren't glued to the screen edges. */
.wc-single.wc-page-wrap { max-width: 1400px; margin-left: auto; margin-right: auto; padding-left: 5%; padding-right: 5%; }
/* Cart / Checkout / My-Account flow pages: centered column with consistent
   side padding so content isn't glued to the edges, and no doubled padding
   if WooCommerce wrapped the output in its own .container. */
.wc-flow.wc-page-wrap {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.wc-flow.wc-page-wrap > .container,
.wc-flow .wc-main > .container { max-width: 100%; padding-left: 0; padding-right: 0; }
@media (min-width: 1024px) {
    .wc-flow.wc-page-wrap { padding-left: 2rem; padding-right: 2rem; }
}
.wc-main { padding: 4rem 0 6rem; background: var(--bg); }

/* tighten spacing on shop archives */
.wc-shop.wc-page-wrap {
    padding-top: 1.25rem;
}
.wc-shop .woocommerce-result-count,
.wc-shop .woocommerce-ordering {
    margin-bottom: 1.2rem;
}
.wc-shop .woocommerce ul.products,
.wc-shop .woocommerce-page ul.products {
    margin-top: 0;
}

/* Shop / Archive */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 0 3rem;
    padding: 0;
}
/* Disable WooCommerce clearfix pseudo-elements inside CSS grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    content: none !important;
    display: none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 0 !important;
    text-align: center;
    transition: 0.4s var(--ease);
    overflow: hidden;
    list-style: none;
    position: relative;
    float: none !important;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.15);
}
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    margin: 0;
    background: var(--bg-soft);
    width: 100%;
    height: 340px;
    object-fit: contain;
    padding: 1.5rem;
    transition: 0.7s var(--ease);
    display: block;
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.05) rotate(-2deg); }

/* Variable product card image swap on hover */
.woocommerce ul.products li.product .amp-loop-thumb {
    position: relative;
    overflow: hidden;
}
.woocommerce ul.products li.product .amp-loop-thumb .amp-main-img,
.woocommerce ul.products li.product .amp-loop-thumb .amp-hover-img {
    width: 100%;
    height: 340px;
    object-fit: contain;
    padding: 1.5rem;
    background: var(--bg-soft);
    transition: 0.5s var(--ease);
}
.woocommerce ul.products li.product .amp-loop-thumb .amp-hover-img {
    position: absolute;
    inset: 0;
    opacity: 0;
}
.woocommerce ul.products li.product:hover .amp-loop-thumb .amp-main-img {
    opacity: 0;
}
.woocommerce ul.products li.product:hover .amp-loop-thumb .amp-hover-img {
    opacity: 1;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--serif) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    padding: 1.2rem 1rem 0.4rem !important;
    color: var(--ink);
}
.woocommerce ul.products li.product .price {
    font-family: var(--serif) !important;
    color: var(--ink) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    padding: 0 1rem;
    display: block;
}
.woocommerce ul.products li.product .price del {
    color: var(--muted) !important;
    margin-right: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--gold-deep) !important;
}
.woocommerce ul.products li.product .button,
.woocommerce a.button.add_to_cart_button {
    background: var(--ink) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    padding: 0.95rem 1rem !important;
    width: calc(100% - 2rem);
    margin: 0 1rem 1.4rem !important;
    font-family: var(--sans) !important;
    transition: 0.3s var(--ease);
}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button.add_to_cart_button:hover {
    background: var(--gold) !important;
    color: #fff !important;
}
.woocommerce ul.products li.product .button.added::after { content: ' ✓'; }
.woocommerce ul.products li.product .added_to_cart {
    display: none !important;
}
.woocommerce span.onsale {
    background: #c0392b !important;
    color: #fff !important;
    font-family: var(--sans) !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border-radius: 0 !important;
    min-height: auto !important;
    line-height: 1 !important;
    padding: 0.5rem 0.8rem !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

/* Result count + ordering */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.7rem 0;
}
.woocommerce .woocommerce-ordering select {
    padding: 0.7rem 2.4rem 0.7rem 1rem;
    background: var(--bg);
    border: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 0.82rem;
    color: var(--ink);
    cursor: pointer;
    border-radius: 0;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
    gap: 0.4rem;
    display: inline-flex;
}
.woocommerce nav.woocommerce-pagination ul li {
    border: 1px solid var(--line) !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 0.7rem 1rem !important;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--ink) !important;
    background: var(--bg) !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--ink) !important;
    color: var(--gold) !important;
}

/* Single Product */
.woocommerce div.product {
    padding: 2rem 0;
}
.woocommerce div.product .product_title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.05;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-family: var(--serif) !important;
    font-size: 1.6rem !important;
    color: var(--gold-deep) !important;
    font-weight: 700 !important;
    margin: 1rem 0 1.5rem !important;
}
.woocommerce div.product .woocommerce-product-rating {
    margin-bottom: 1.5rem;
}
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
    color: var(--gold);
}
.woocommerce div.product .woocommerce-product-details__short-description {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    padding: 1.4rem;
    background: var(--bg-soft);
    border-left: 3px solid var(--gold);
}
.woocommerce div.product form.cart {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}
.woocommerce div.product form.cart .quantity .qty {
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 0.85rem;
    font-family: var(--sans);
    width: 80px;
    text-align: center;
}
.woocommerce div.product form.cart .button {
    background: var(--ink) !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 1rem 2.5rem !important;
    font-size: 0.78rem !important;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 600 !important;
    transition: 0.3s var(--ease);
    font-family: var(--sans) !important;
}
.woocommerce div.product form.cart .button:hover {
    background: var(--gold) !important;
}
.woocommerce div.product form.variations_form table.variations td,
.woocommerce div.product form.variations_form table.variations th {
    vertical-align: middle;
}
.woocommerce div.product form.variations_form table.variations th.label label {
    font-family: var(--serif);
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--ink);
}
.woocommerce div.product form.variations_form table.variations select {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}
.amp-variation-swatches {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.amp-variation-swatch {
    appearance: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    padding: 0.5rem 0.9rem;
    min-width: 64px;
    font-family: var(--sans);
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.25s var(--ease);
}
.amp-variation-swatch:hover {
    border-color: var(--ink);
}
.amp-variation-swatch.active {
    border-color: var(--ink);
    background: var(--bg-soft);
    box-shadow: inset 0 0 0 1px var(--ink);
}
.woocommerce div.product form.variations_form .reset_variations {
    display: none !important;
}

.woocommerce-tabs {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin: 0 0 2rem !important;
    border: none !important;
    display: flex;
    gap: 0.4rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 0.8rem 1.4rem !important;
    color: var(--ink) !important;
    font-family: var(--sans) !important;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem !important;
    font-weight: 600;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--ink) !important;
    border-color: var(--ink) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }

/* =================== Product Reviews =================== */
.woocommerce #reviews { max-width: 760px; }
.woocommerce #reviews #comments > h2,
.woocommerce #reviews #comments h2 {
    font-family: var(--serif);
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
    color: var(--ink);
}
.woocommerce #reviews .woocommerce-noreviews {
    color: var(--muted);
    font-style: italic;
    margin: 0 0 1.5rem;
    padding: 0.9rem 1.2rem;
    background: var(--bg-soft);
    border-left: 3px solid var(--gold);
    border-radius: 0 4px 4px 0;
}

/* Existing reviews list */
.woocommerce #reviews #comments ol.commentlist { margin: 0 0 2.5rem; padding: 0; }
.woocommerce #reviews #comments ol.commentlist li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    list-style: none;
}
.woocommerce #reviews #comments ol.commentlist li .comment_container {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.woocommerce #reviews #comments ol.commentlist li img.avatar {
    position: static;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    padding: 0;
    margin: 0;
    float: none;
    background: var(--bg-soft);
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
    border: none;
    padding: 0;
    margin: 0;
    flex: 1;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta { font-size: 0.85rem; color: var(--muted); }
.woocommerce #reviews #comments ol.commentlist li .comment-text .woocommerce-review__author { color: var(--ink); font-weight: 600; }

/* Review form */
.woocommerce #review_form_wrapper { margin-top: 0.5rem; }
.woocommerce #review_form #respond {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2rem;
    margin: 0;
}
.woocommerce #reviews #respond .comment-reply-title {
    font-family: var(--serif);
    font-size: 1.35rem;
    color: var(--ink);
    display: block;
    margin-bottom: 0.35rem;
}
.woocommerce #review_form #respond .comment-notes {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 1.6rem;
}
.woocommerce #review_form #respond .comment-notes .required,
.woocommerce #review_form #respond .required { color: var(--gold-deep); }

/* Labels */
.woocommerce #review_form #respond label {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 0.55rem;
}

/* Rating stars */
.woocommerce #review_form #respond p.comment-form-rating { margin: 0 0 1.4rem; }
.woocommerce #review_form #respond p.stars {
    margin: 0;
    line-height: 1;
}
.woocommerce #review_form #respond p.stars a {
    font-size: 1.45rem;
    margin-right: 0.15rem;
}
.woocommerce #review_form #respond p.stars a::before { color: var(--gold-soft); }
.woocommerce #review_form #respond p.stars a:hover::before,
.woocommerce #review_form #respond p.stars a.active::before { color: var(--gold-deep); }
.woocommerce #review_form #respond p.stars.selected a.active::before,
.woocommerce #review_form #respond p.stars:hover a::before { color: var(--gold-deep); }

/* Inputs */
.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"],
.woocommerce #review_form #respond textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.woocommerce #review_form #respond input[type="text"]:focus,
.woocommerce #review_form #respond input[type="email"]:focus,
.woocommerce #review_form #respond textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.16);
}
.woocommerce #review_form #respond textarea { min-height: 130px; resize: vertical; }
.woocommerce #review_form #respond p.comment-form-comment,
.woocommerce #review_form #respond p.comment-form-author,
.woocommerce #review_form #respond p.comment-form-email { margin: 0 0 1.25rem; }

/* Two-column name / email on desktop */
@media (min-width: 768px) {
    .woocommerce #review_form #respond p.comment-form-author,
    .woocommerce #review_form #respond p.comment-form-email {
        display: inline-block;
        width: calc(50% - 0.5rem);
        vertical-align: top;
    }
    .woocommerce #review_form #respond p.comment-form-author { margin-right: 0.9rem; }
}

/* Cookies consent */
.woocommerce #review_form #respond p.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0 0 1.4rem;
}
.woocommerce #review_form #respond p.comment-form-cookies-consent label {
    display: inline;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}
.woocommerce #review_form #respond p.comment-form-cookies-consent input { margin-top: 0.2rem; flex-shrink: 0; }

/* Submit button */
.woocommerce #review_form #respond .form-submit { margin: 0; }
.woocommerce #review_form #respond .form-submit input#submit,
.woocommerce #review_form #respond .form-submit input[type="submit"] {
    background: var(--ink) !important;
    color: #fff !important;
    border: 1px solid var(--ink) !important;
    padding: 0.95rem 2.6rem !important;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem !important;
    font-weight: 600;
    border-radius: 0 !important;
    cursor: pointer;
    width: auto !important;
    transition: 0.4s var(--ease);
}
.woocommerce #review_form #respond .form-submit input#submit:hover,
.woocommerce #review_form #respond .form-submit input[type="submit"]:hover {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--ink) !important;
}

/* Related Products */
.related h2, .upsells h2 {
    font-family: var(--serif);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 4rem;
}

/* Cart Page */
.woocommerce-cart .container { max-width: 1100px; }
.woocommerce table.shop_table {
    border: 1px solid var(--line);
    border-radius: 0;
    border-collapse: collapse;
}
.woocommerce table.shop_table th {
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bg-soft);
    padding: 1rem;
}
.woocommerce table.shop_table td {
    padding: 1.2rem 1rem !important;
    border-top: 1px solid var(--line);
}
.woocommerce a.remove {
    color: var(--muted) !important;
    font-size: 1.2rem;
    transition: 0.3s;
}
.woocommerce a.remove:hover {
    background: var(--ink) !important;
    color: var(--gold) !important;
}
.woocommerce .cart-collaterals .cart_totals {
    background: var(--bg-soft);
    padding: 2rem;
    border: 1px solid var(--line);
}
.woocommerce .cart-collaterals .cart_totals h2 {
    font-family: var(--serif);
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.woocommerce .checkout-button.button {
    background: var(--gold) !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 1.1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    width: 100%;
}
.woocommerce .checkout-button.button:hover {
    background: var(--ink) !important;
}

/* Checkout */
.woocommerce-checkout #payment {
    background: var(--bg-soft) !important;
    border-radius: 0 !important;
}
.woocommerce-checkout .form-row label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-checkout .select2-selection {
    padding: 0.9rem 1rem !important;
    background: var(--bg);
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    font-family: var(--sans);
    font-size: 0.92rem !important;
    color: var(--ink);
    height: auto !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12) !important;
    outline: none;
}
.woocommerce-checkout #place_order {
    background: var(--gold) !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 1.2rem !important;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    width: 100%;
    transition: 0.3s var(--ease);
}
.woocommerce-checkout #place_order:hover {
    background: var(--ink) !important;
}

/* Order Received / Thank You */
.woocommerce-order {
    text-align: center;
    padding: 3rem 0;
}
.woocommerce-order .woocommerce-thankyou-order-received {
    font-family: var(--serif) !important;
    font-size: 2.2rem !important;
    margin-bottom: 1rem !important;
    color: var(--gold-deep) !important;
}
.woocommerce-order ul.order_details {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px !important;
    background: var(--line);
    border: 1px solid var(--line);
    padding: 0 !important;
    margin: 2rem 0 !important;
    list-style: none;
}
.woocommerce-order ul.order_details li {
    background: var(--bg);
    padding: 1.4rem 1rem !important;
    border: none !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: var(--muted);
}
.woocommerce-order ul.order_details li strong {
    display: block;
    font-family: var(--serif) !important;
    font-size: 1.05rem !important;
    color: var(--ink) !important;
    margin-top: 0.4rem;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 700;
}

/* Mini Cart in Drawer */
.cart-drawer .widget_shopping_cart_content {
    padding: 1rem 1.8rem;
}
.cart-drawer ul.cart_list,
.cart-drawer ul.product_list_widget {
    padding: 0 !important;
    margin: 0 !important;
}
.cart-drawer ul.cart_list li,
.cart-drawer ul.product_list_widget li {
    position: relative;
    display: block;
    padding: 1.3rem 1.9rem 1.3rem 86px !important;
    min-height: 100px;
    border-bottom: 1px solid var(--line);
    list-style: none;
}
.cart-drawer ul.cart_list li img,
.cart-drawer ul.product_list_widget li img {
    position: absolute;
    left: 0;
    top: 1.3rem;
    width: 70px !important;
    height: 86px !important;
    object-fit: cover !important;
    background: var(--bg-soft);
    margin: 0 !important;
    float: none !important;
}
.cart-drawer ul.cart_list li a:not(.remove) {
    display: block;
    font-family: var(--serif);
    font-size: 1.02rem !important;
    font-weight: 600;
    color: var(--ink) !important;
    text-decoration: none;
    line-height: 1.3;
}
/* Variation list — e.g. "Selected Perfumes: Saddle, Rebel, …" on one flowing line */
.cart-drawer ul.cart_list li dl.variation {
    margin: 0.35rem 0 0 !important;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--muted);
}
.cart-drawer ul.cart_list li dl.variation dt,
.cart-drawer ul.cart_list li dl.variation dd,
.cart-drawer ul.cart_list li dl.variation dd p {
    display: inline;
    margin: 0;
    padding: 0;
    float: none;
}
.cart-drawer ul.cart_list li dl.variation dt { font-weight: 600; margin-right: 0.25rem; }
.cart-drawer ul.cart_list li dl.variation dd { color: var(--ink-soft); }
.cart-drawer ul.cart_list li .quantity {
    display: block;
    color: var(--muted) !important;
    font-size: 0.85rem !important;
    margin-top: 0.4rem;
    font-family: var(--sans);
}
.cart-drawer ul.cart_list li .quantity .amount {
    color: var(--ink) !important;
    font-weight: 700 !important;
}
.cart-drawer ul.cart_list li .remove {
    position: absolute;
    top: 1.4rem;
    right: 0;
    width: 26px !important;
    height: 26px !important;
    line-height: 24px !important;
    text-align: center;
    background: none !important;
    color: var(--muted) !important;
    font-size: 1rem !important;
    border-radius: 50%;
    transition: 0.3s;
}
.cart-drawer ul.cart_list li .remove:hover {
    background: var(--ink) !important;
    color: var(--gold) !important;
}
.cart-drawer ul.cart_list li {
    position: relative;
}
.cart-drawer .total {
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
    border-bottom: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.cart-drawer .total strong {
    font-family: var(--serif);
    color: var(--ink);
}
.cart-drawer .total .amount {
    color: var(--gold-deep) !important;
    font-family: var(--serif);
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    float: right;
    text-transform: none;
    letter-spacing: 0;
}
.cart-drawer .woocommerce-mini-cart__buttons {
    display: flex !important;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
}
.cart-drawer .woocommerce-mini-cart__buttons .button {
    width: 100% !important;
    padding: 1rem !important;
    text-align: center;
    background: var(--ink) !important;
    color: #fff !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
}
.cart-drawer .woocommerce-mini-cart__buttons .checkout {
    background: var(--gold) !important;
    color: #fff !important;
}
.cart-drawer .woocommerce-mini-cart__buttons .checkout:hover {
    background: var(--ink) !important;
}
.cart-drawer .woocommerce-mini-cart__empty-message {
    padding: 4rem 1rem;
    text-align: center;
    color: var(--muted);
    font-family: var(--display);
    font-style: italic;
    font-size: 1.1rem;
}

/* Notices */
.woocommerce-notices-wrapper { margin-bottom: 1rem; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border: none !important;
    border-left: 4px solid var(--gold) !important;
    background: var(--bg-soft) !important;
    color: var(--ink) !important;
    padding: 1rem 1.4rem !important;
    border-radius: 0 !important;
    font-family: var(--sans);
    font-size: 0.9rem;
    /* Lay out text + action button as a flex row that wraps, so the
       button never pushes the box wider than the screen (which was
       causing the notices to overflow and get cut off). */
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
    width: 100%;
    box-sizing: border-box;
    margin-left: 0 !important;
    margin-right: 0 !important;
    list-style: none !important;
}
/* WooCommerce auto-focuses the notice after add-to-cart; kill the blue
   browser focus ring it leaves behind. */
.woocommerce-message:focus,
.woocommerce-info:focus,
.woocommerce-error:focus,
.woocommerce-notices-wrapper:focus,
.woocommerce-notices-wrapper [tabindex]:focus {
    outline: none !important;
    box-shadow: none !important;
}
/* Hide WooCommerce's absolutely-positioned icon — it overlapped the
   first letter of the message. The gold left border is our indicator. */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
}
/* Action button (View cart / Login / etc.) sits at the end, wraps below
   on narrow screens instead of overflowing. */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    margin: 0 0 0 auto !important;
    flex-shrink: 0;
}
@media (max-width: 480px) {
    .woocommerce-message .button,
    .woocommerce-info .button,
    .woocommerce-error .button { margin-left: 0 !important; width: 100%; text-align: center; }
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--line);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 0.9rem 0;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    transition: 0.3s;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    color: var(--gold-deep);
    padding-left: 0.6rem;
}

/* Quantity Stepper override for cart */
.woocommerce .quantity input.qty {
    height: 40px;
    width: 70px;
    border: 1px solid var(--line);
    background: var(--bg);
}

/* WC responsive grid */
@media (max-width: 1100px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }
@media (max-width: 520px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr; } }

/* Single product layout */
.woocommerce div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce div.product .amp-product-gallery { width: 48% !important; float: left; }
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary { width: 48% !important; }
@media (max-width: 880px) {
    .woocommerce div.product div.images,
    .woocommerce-page div.product div.images,
    .woocommerce div.product .amp-product-gallery,
    .woocommerce div.product div.summary,
    .woocommerce-page div.product div.summary { width: 100% !important; float: none !important; }
}

/* Hide ALL default WC gallery elements — using custom .amp-product-gallery instead */
.woocommerce div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery__wrapper,
.woocommerce div.product .woocommerce-product-gallery__image,
.woocommerce div.product .flex-control-thumbs,
.woocommerce div.product .flex-control-nav,
.woocommerce-product-gallery__trigger {
    display: none !important;
}

/* ========== AMP custom single product gallery (with variation images) ========== */
.amp-product-gallery {
    width: 100%;
    max-width: 100%;
    display: block !important;
}
.amp-gallery-main {
    width: 100%;
    aspect-ratio: 1/1;
    max-height: 560px;
    background: var(--bg-soft);
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}
.amp-gallery-main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    overflow: hidden;
}
.amp-gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.8rem;
    display: block;
}
.amp-gallery-main .swiper-button-prev,
.amp-gallery-main .swiper-button-next {
    background: rgba(255, 255, 255, 0.92);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink);
    opacity: 0;
    transition: 0.3s var(--ease);
}
.amp-gallery-main:hover .swiper-button-prev,
.amp-gallery-main:hover .swiper-button-next { opacity: 1; }
.amp-gallery-main .swiper-button-prev::after,
.amp-gallery-main .swiper-button-next::after {
    font-size: 0.85rem;
    font-weight: 700;
}
.amp-gallery-main .swiper-button-prev:hover,
.amp-gallery-main .swiper-button-next:hover {
    background: var(--ink);
    color: var(--gold);
    border-color: var(--ink);
}
.amp-gallery-pagination {
    position: absolute;
    bottom: 1rem !important;
    left: 0;
    right: 0;
    z-index: 6;
    text-align: center;
}
.amp-gallery-pagination .swiper-pagination-bullet {
    background: var(--ink);
    opacity: 0.3;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    transition: 0.3s var(--ease);
}
.amp-gallery-pagination .swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
    width: 22px;
    border-radius: 4px;
}
@media (max-width: 880px) {
    .amp-gallery-main { max-height: 480px; }
}

/* =========================================================
   MOBILE REFINEMENT LAYER  (added — full-site responsive pass)
   Loaded last so it wins the cascade. Touch-friendly sizing,
   compact header, stacked WooCommerce pages, no h-scroll.
   ========================================================= */

/* ---- Global safety: never allow horizontal scroll ---- */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe, svg { max-width: 100%; }

/* =================== TABLET / SMALL  (<= 880px) =================== */
@media (max-width: 880px) {
    /* Compact, less screen-hungry header */
    header { padding: 0.85rem 0; }
    header.scrolled { padding: 0.75rem 0; }
    nav { gap: 1rem; }
    .logo-img,
    .logo .custom-logo,
    .logo .custom-logo-link img,
    .custom-logo-link img { height: 56px !important; }
    header.scrolled .logo-img,
    header.scrolled .logo .custom-logo,
    header.scrolled .logo .custom-logo-link img,
    header.scrolled .custom-logo-link img { height: 50px !important; }
    .nav-icons { gap: 1.25rem; font-size: 1.1rem; }
    /* Keep search reachable on mobile (account stays hidden to save room) */
    .nav-icons .fa-magnifying-glass { display: inline-block !important; }

    /* Don't let the shop filter bar stick under a taller mobile header */
    .shop-toolbar { position: static; top: auto; }

    /* ---- WooCommerce: stacked layout for default-output pages ---- */
    /* Cart / Checkout two-column sets */
    .woocommerce .col2-set,
    .woocommerce-page .col2-set,
    .woocommerce .col2-set .col-1,
    .woocommerce .col2-set .col-2,
    .woocommerce-page .col2-set .col-1,
    .woocommerce-page .col2-set .col-2 { width: 100% !important; float: none !important; }
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review,
    .woocommerce-checkout #order_review_heading { width: 100% !important; float: none !important; }
    .woocommerce-cart .cart-collaterals,
    .woocommerce-cart .cart-collaterals .cart_totals,
    .woocommerce-cart .cart-collaterals .cross-sells { width: 100% !important; float: none !important; }

    /* My Account: stack nav + content */
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: 100% !important; }
    .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 1.5rem; }

    /* Product tabs wrap instead of overflowing */
    .woocommerce div.product .woocommerce-tabs ul.tabs { flex-wrap: wrap; }

    /* Single product: add left/right breathing room (content has no .container) */
    .wc-single.wc-page-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* =================== PHONE  (<= 600px) =================== */
@media (max-width: 600px) {
    .container { padding: 0 1.25rem; }

    /* Tighter vertical rhythm so pages aren't endless scroll */
    .about, .why-us, .collections, .shop, .testimonials, .faq { padding: 3.5rem 0; }
    .stats { padding: 3rem 0; }
    .cta { padding: 3rem 0 4rem; }
    .section-head { margin-bottom: 2.5rem; }

    /* Smaller logo on phones */
    .logo-img,
    .logo .custom-logo,
    .logo .custom-logo-link img,
    .custom-logo-link img,
    header.scrolled .logo-img,
    header.scrolled .logo .custom-logo,
    header.scrolled .logo .custom-logo-link img,
    header.scrolled .custom-logo-link img { height: 46px !important; }

    /* Hero: stack CTAs full width, comfortable tap targets */
    .hero-eyebrow { letter-spacing: 0.35em; font-size: 0.75rem; }
    .hero-sub { font-size: 1rem; margin-bottom: 2rem; }
    .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin: 0 auto; gap: 0.8rem; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-scroll { display: none; }

    /* Product cards / sliders */
    .p-name { font-size: 1.2rem; }

    /* About */
    .about-grid { gap: 2.5rem; }
    .about-img-tag { width: 92px; height: 92px; bottom: -16px; right: 0; }
    .about-meta { gap: 1rem; padding: 1.3rem 0; margin: 1.6rem 0; }

    /* Testimonials */
    .testimonial-slider { padding-bottom: 3rem; }

    /* FAQ answer not cut off by the desktop right padding */
    .faq-q { font-size: 1.02rem; gap: 1rem; padding: 1.4rem 0; }
    .faq-a p { padding-right: 0; }

    /* Marquee a touch smaller */
    .marquee { padding: 1.1rem 0; }

    /* Footer breathing room */
    footer { padding: 4rem 0 2rem; }
    .f-grid { gap: 2.2rem; }

    /* Floating UI — smaller and clear of thumbs */
    .wa-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 16px; right: 16px; }
    .to-top { width: 42px; height: 42px; bottom: 16px; left: 16px; }

    /* ---- WooCommerce single product on phones ---- */
    .wc-single.wc-page-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
    .woocommerce div.product { padding: 1.5rem 0; }
    .woocommerce div.product .product_title { margin-top: 18px; }
    .woocommerce div.product .woocommerce-product-details__short-description { padding: 1.1rem; font-size: 1rem; }

    /* Quantity + Add-to-cart stack and go full width (no overflow) */
    .woocommerce div.product form.cart .quantity { float: none; display: block; width: 100%; margin: 0 0 0.8rem; }
    .woocommerce div.product form.cart .quantity .qty,
    .woocommerce .quantity input.qty { width: 100% !important; box-sizing: border-box; }
    .woocommerce div.product form.cart .button,
    .woocommerce div.product form.cart .single_add_to_cart_button { width: 100% !important; display: block; text-align: center; float: none; }

    /* Size / variation table → stacked blocks */
    .woocommerce div.product form.variations_form table.variations,
    .woocommerce div.product form.variations_form table.variations tbody,
    .woocommerce div.product form.variations_form table.variations tr,
    .woocommerce div.product form.variations_form table.variations td,
    .woocommerce div.product form.variations_form table.variations th { display: block; width: 100%; text-align: left; }
    .woocommerce div.product form.variations_form table.variations th.label { margin: 0 0 0.5rem; padding: 0; }
    .woocommerce div.product form.variations_form table.variations td { margin-bottom: 1rem; }

    /* Full product image on phones — no crop, no short squashed box */
    .amp-gallery-main { aspect-ratio: 1 / 1; max-height: none; }
    .amp-gallery-main .swiper-slide img { padding: 0.75rem; object-fit: contain; }

    /* Related / upsell heading */
    .related h2, .upsells h2 { font-size: 1.6rem; margin-top: 2.5rem; }

    /* Reviews: stop the form crowding the screen edges */
    .woocommerce #reviews #comments > h2,
    .woocommerce #reviews #comments h2 { font-size: 1.45rem; }
    .woocommerce #review_form #respond { padding: 1.3rem; }
    .woocommerce #reviews #comments ol.commentlist li { padding: 1.1rem; }
    .woocommerce #review_form #respond .form-submit input#submit,
    .woocommerce #review_form #respond .form-submit input[type="submit"] { width: 100% !important; text-align: center; }
}

/* ---- WooCommerce cart/checkout tables: card layout on phones ---- */
@media (max-width: 768px) {
    /* Cart/checkout pages render via page.php (.page-main > .container).
       Keep everything inside the column — no sideways bleed. */
    .page-main .woocommerce { overflow-x: hidden; }

    /* CRITICAL: the table must become a block, otherwise it keeps
       display:table and sizes to its longest content (the product name),
       overflowing the column and bleeding off the right edge. */
    .woocommerce table.shop_table_responsive,
    .woocommerce-page table.shop_table_responsive {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        border: 1px solid var(--line);
    }
    .woocommerce table.shop_table_responsive thead,
    .woocommerce-page table.shop_table_responsive thead { display: none; }
    .woocommerce table.shop_table_responsive tbody,
    .woocommerce-page table.shop_table_responsive tbody { display: block; width: 100%; }
    .woocommerce table.shop_table_responsive tr,
    .woocommerce-page table.shop_table_responsive tr { display: block; width: 100%; border-bottom: 2px solid var(--line); }
    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        text-align: right;
        padding: 0.75rem 1rem !important;
        border-top: none;
        width: auto;
    }
    /* Long product names wrap instead of forcing width */
    .woocommerce table.shop_table_responsive tr td.product-name { word-break: break-word; }
    .woocommerce table.shop_table_responsive tr td.product-name a { font-weight: 600; }
    .woocommerce table.shop_table_responsive tr td::before,
    .woocommerce-page table.shop_table_responsive tr td::before {
        content: attr(data-title);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        font-size: 0.7rem;
        color: var(--muted);
        text-align: left;
        flex-shrink: 0;
    }
    .woocommerce table.shop_table_responsive tr td.product-remove { justify-content: flex-end; padding: 0.5rem 1rem !important; }
    .woocommerce table.shop_table_responsive tr td.product-remove::before { content: none; }
    .woocommerce table.shop_table_responsive .product-thumbnail img { width: 64px; margin-left: auto; }
    /* Quantity stepper stays compact, aligned right */
    .woocommerce-cart table.cart td.product-quantity .quantity { margin-left: auto; }
    .woocommerce-cart table.cart td.product-quantity .qty,
    .woocommerce .quantity input.qty { width: 84px !important; box-sizing: border-box; }

    /* Coupon + update row stack cleanly, full width */
    .woocommerce-cart table.cart td.actions { display: block; }
    .woocommerce-cart table.cart td.actions::before { content: none; }
    .woocommerce-cart table.cart td.actions .coupon {
        float: none;
        display: flex;
        gap: 0.5rem;
        margin: 0 0 0.8rem;
        width: 100%;
    }
    .woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1; width: auto !important; min-width: 0; }
    .woocommerce-cart table.cart td.actions .coupon .button { flex-shrink: 0; }
    .woocommerce-cart table.cart td.actions .button[name="update_cart"],
    .woocommerce-cart table.cart td.actions > .button { width: 100%; }

    /* Checkout: stack the two columns and keep the order review readable */
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review,
    .woocommerce-checkout #order_review_heading { width: 100% !important; float: none !important; margin-left: 0 !important; }
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last { width: 100% !important; float: none !important; margin-right: 0 !important; }
}

/* =========================================================
   ABOUT IMAGE — definitive mobile fix (LAST in cascade, wins)
   The about slider (Swiper) writes a per-slide pixel width taken
   from the element size at init. When the box width comes from
   aspect-ratio × max-height it can exceed the stacked column and
   bleed off the right. Pin the box to the column width and clip,
   so even a stale Swiper width can never overflow the screen.
   ========================================================= */
@media (max-width: 880px) {
    .about-img-tag { display: none !important; }

    .about-img-wrap {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }
    .about-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5;
        max-height: 78vh !important;
        margin: 0 auto !important;
        overflow: hidden;
    }
    .about-slider,
    .about-slider .swiper-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
    }
}
