/* FONTY – import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@300;400;600&display=swap');

/* RESET / BASE */
body {
    margin: 0;
    padding: 0;
    background: #F7F1D6;
    font-family: 'Montserrat', sans-serif;
    color: #5C3A1A;
    line-height: 1.6;

    /* najważniejsze dla mobilności */
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 12px;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    color: #5C3A1A;
    letter-spacing: 0.5px;
}

/* ---------- TOP BAR ---------- */


/* =========================================================
   HEADER – DESKTOP
========================================================= */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #F7F1D6;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    height: 70px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.desktop-only {
    display: inline-block;
}

.mobile-only {
    display: none;
}

.mobile-menu {
    display: none;
}

.desktop-menu a {
    margin-left: 16px;
    text-decoration: none;
    font-weight: 600;
    color: #5C3A1A;
}

/* Koszyk */
.cart-link {
    text-decoration: none;
    font-weight: bold;
    color: #5C3A1A;
}

.cart-link i {
    margin-right: 4px;
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 600px) {

    /* Header układ */
    .main-header {
        padding: 10px 16px;
    }

    .logo {
        height: 37px;
    }

    .desktop-only {
        display: none !important;
    }

    /* MENU NA MOBILE NIE WIDOCZNE JAKO DESKTOP */
    .desktop-menu {
        display: none !important;
    }

    /* MENU BUTTON */
    .mobile-only {
        display: inline-block;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
        color: #5C3A1A;
    }

    /* MOBILE MENU PANEL */
    .mobile-menu {
        display: none;
        background: #fff;
        padding: 15px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    }

    .mobile-menu.open {
        display: block;
    }

    .mobile-menu a {
        display: block;
        padding: 10px 0;
        color: #5C3A1A;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid #eee;
    }
}




/* ---------- PRODUKTY - LISTA ---------- */

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* zawsze 3 kolumny */
    gap: 25px;
    padding: 20px;
}

.product-card {
    background: #fff8e6;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ---------- PRZYCISKI ---------- */

.btn {
    display: inline-block;
    padding: 10px 18px;
    background: #D6B25B;
    color: #5C3A1A;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
}

.btn:hover { filter: brightness(1.05); }

/* ---------- STRONA PRODUKTU ---------- */

.product-container {
    padding: 30px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
    gap: 35px;
    align-items: start;
}

.product-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* MOBILE: przejście do 1 kolumny */
@media (max-width: 820px) {
    .product-container {
        grid-template-columns: 1fr;
    }
}

/* ---------- KOSZYK ---------- */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 14px;
    border-bottom: 1px solid #eee;
}

th {
    background: #f3e4b8;
    font-family: 'Cormorant Garamond';
    font-size: 18px;
}



/* MOBILE – tabela przewijalna */
@media (max-width: 650px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ---------- MINIATURY ---------- */

.product-thumb {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    height: 210px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.no-image {
    width: 100%;
    height: 210px;
    border-radius: 16px;
    background: #f3e9c9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a3844a;
    font-style: italic;
}

/* ---------- ADMIN BAR ---------- */

.front-admin-bar {
    background: #5C3A1A;
    color: #F7F1D6;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    font-size: 14px;
    align-items: center;
}

.front-admin-bar a {
    color: #F7E8B0;
    text-decoration: none;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 600px) {
    .front-admin-bar {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}

/* ---------- INSTAGRAM GRID ---------- */

.insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 900px;
    margin: 0 auto 60px;
}

/* MOBILE -> 2 kolumny */
@media (max-width: 700px) {
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE -> 1 kolumna */
@media (max-width: 420px) {
    .insta-grid {
        grid-template-columns: 1fr;
    }
}

.insta-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: transform .2s ease;
}

.insta-grid img:hover { transform: scale(1.03); }

/* ---------- OPISY I SEKCJE ---------- */

.product-section {
    margin-top: 30px;
    padding: 20px;
    background: #fff8e6;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.aroma-card {
    background: #fff8e6;
    border-radius: 14px;
    padding: 22px;
    margin-top: 30px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.aroma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.aroma-box {
    background: #fff8e6;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.oils-box {
    margin-top: 25px;
    background: #fff8f0;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ---------- FORMULARZE ---------- */

.section-dane {
    margin-right: 25px;
}

@media (max-width: 600px) {
    .section-dane {
        margin-right: 0;
    }
}


     /* PRODUCT LIST (responsywne 3 → 2 → 1 kolumny) */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}


.product-card h3 {
    margin: 10px 0;
}

/* Global button improvements */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
}

.btn-main {
    background: #d6b25b;
    color: #5C3A1A;
    font-weight: bold;
}

.cart-link {
    text-decoration: none;
    font-weight: bold;
    color: #5C3A1A;
}

/* ------------------------------- */
/* FRONT ADMIN BAR */
/* ------------------------------- */

.front-admin-bar {
    background: #5C3A1A;
    color: #F7F1D6;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    font-size: 14px;
    align-items: center;
    margin: -10px 0 10px;
    border-radius: 6px;
}

.front-admin-bar a {
    color: #F7E8B0;
    text-decoration: none;
    font-weight: 600;
}

.front-admin-bar a:hover {
    text-decoration: underline;
}

/* MOBILE — admin bar w jednej kolumnie */
@media (max-width: 600px) {
    .front-admin-bar {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

/* ------------------------------- */
/* PRODUCT PAGE */
/* ------------------------------- */

.product-container {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 30px;
    align-items: flex-start;
}

.product-image img {
    width: 100%;
    border-radius: 16px;
}

/* MOBILE — jedna kolumna */
@media (max-width: 820px) {
    .product-container {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------- */
/* CART TABLE */
/* ------------------------------- */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.btn-ghost {
    background: transparent;
    border: 1px solid #d6b25b;
    color: #5C3A1A;
}

.section-box {
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.price-note {
    color: #5C3A1A;
    font-weight: bold;
}

/* MOBILE – tabela przewijalna */
@media (max-width: 650px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 10px;
    }

    th, td {
        padding: 10px;
        font-size: 14px;
    }
}

/* ------------------------------- */
/* INPUTS */
/* ------------------------------- */

/* Podstawowe inputy */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #d7c28f;
    background: #fff9e7;
    margin-top: 5px;
    box-sizing: border-box;
}

/* Liczba (np. ilość w koszyku) */
input[type="number"] {
    width: 100%;
    max-width: 90px; /* NIE WYCHODZI POZA OBRAZEK NA MOBILE */
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #d7c28f;
    background: #fff9e7;
    margin-top: 5px;
    box-sizing: border-box;
}

/* Zapobiega wyciekom inputów na mobile */
@media (max-width: 600px) {
    input[type="number"] {
        max-width: 70px;
        padding: 8px;
    }
}


a.back-link {
    text-decoration: none;
    color: #5C3A1A;
}



        .box {
            background: #fff;
            padding: 28px;
            max-width: 600px;
            margin: 30px auto;
            border-radius: 18px;
            box-shadow: 0 4px 14px rgba(0,0,0,0.1);
            text-align: left;
        }
        .row { margin-bottom: 10px; }
        strong { color: #5C3A1A; }
        a.btn {
            display: inline-block;
            margin-top: 25px;
            padding: 10px 20px;
            background: #d6b25b;
            color: #5C3A1A;
            border-radius: 999px;
            text-decoration: none;
            font-weight: bold;
        }
        .pay-box {
            background: #fff9e7;
            border-left: 5px solid #d6b25b;
            padding: 15px;
            margin-top: 20px;
        }


        .remove-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #b33;
}

.remove-btn:hover {
    color: #ff0000;
    transform: scale(1.2);
}

/* --------------------- FOOTER --------------------- */

.site-footer {
    background: #f1e9ce;
    padding: 50px 20px 25px;
    margin-top: 60px;
    color: #5C3A1A;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
}

/* LOGO */
.footer-logo {
    height: 60px;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    max-width: 260px;
    line-height: 1.5;
}

/* KOLUMNY */
.footer-col h4 {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: #5C3A1A;
    text-decoration: none;
    margin: 6px 0;
    font-size: 15px;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #8c6a38;
}

/* SOCIAL */
.footer-social i {
    margin-right: 6px;
}

/* DÓŁ FOOTERA */
.footer-bottom {
    text-align: center;
    margin-top: 35px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.07);
    font-size: 14px;
    color: #6b5a3c;
}

/* MOBILE */
@media (max-width: 600px) {
    .footer-content {
        text-align: center;
    }

    .footer-col a {
        font-size: 16px;
    }

    .footer-logo {
        height: 50px;
    }
}

/* ------------------------------- */
/* CART DRAWER + CHECKOUT FLOW */
/* ------------------------------- */

body.cart-open {
    overflow: hidden;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #5C3A1A;
    font-weight: 700;
    cursor: pointer;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(38, 24, 10, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 90;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(430px, 100vw);
    height: 100vh;
    background: #fff8ee;
    box-shadow: -18px 0 40px rgba(48, 29, 11, 0.18);
    transform: translateX(100%);
    transition: transform 0.22s ease;
    z-index: 91;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 22px 18px;
    border-bottom: 1px solid rgba(92, 58, 26, 0.12);
}

.cart-drawer-eyebrow,
.checkout-step {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9a7f54;
    font-weight: 700;
}

.cart-drawer-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 14px;
    background: #f3ead6;
    color: #5C3A1A;
    cursor: pointer;
}

.cart-drawer-body {
    flex: 1;
    padding: 18px 22px 24px;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 18px;
}

.cart-empty-state {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(48, 29, 11, 0.08);
}

.cart-drawer-items {
    display: grid;
    gap: 14px;
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(48, 29, 11, 0.08);
}

.cart-drawer-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    background: #f2e5c1;
}

.cart-drawer-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a3844a;
    font-size: 13px;
}

.cart-drawer-item-body {
    min-width: 0;
}

.cart-drawer-item-body strong {
    display: block;
}

.cart-drawer-meta {
    margin-top: 6px;
    font-size: 14px;
    color: #8d7558;
}

.cart-drawer-line-total {
    margin-top: 6px;
    font-weight: 700;
}

.cart-drawer-quantity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.cart-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(92, 58, 26, 0.18);
    background: #f7efd9;
    color: #5C3A1A;
    text-decoration: none;
    font-weight: 700;
}

.cart-qty-value {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    color: #5C3A1A;
}

.cart-drawer-remove {
    color: #8c4d31;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.cart-drawer-summary {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(48, 29, 11, 0.08);
    display: grid;
    gap: 12px;
}

.cart-drawer-row,
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.cart-drawer-row-total,
.checkout-total-row-final {
    padding-top: 10px;
    border-top: 1px solid rgba(92, 58, 26, 0.12);
    font-size: 18px;
}

.cart-drawer-checkout,
.checkout-submit {
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

.checkout-intro {
    margin-bottom: 18px;
    color: #7c6548;
}

.checkout-empty-box {
    display: grid;
    gap: 14px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.checkout-main {
    display: grid;
    gap: 20px;
}

.checkout-fields {
    display: grid;
    gap: 16px;
    margin-top: 14px;
}

.checkout-options {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.checkout-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #fff9e7;
    border: 1px solid #e7d7aa;
    border-radius: 14px;
}

.checkout-option input {
    width: auto;
    margin: 0;
}

.checkout-paczkomat {
    margin-top: 14px;
}

.checkout-summary-box {
    position: sticky;
    top: 20px;
}

.checkout-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.checkout-open-cart {
    white-space: nowrap;
}

.checkout-items {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(92, 58, 26, 0.12);
}

.checkout-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.checkout-item-meta {
    margin-top: 6px;
    font-size: 14px;
    color: #8d7558;
}

.checkout-totals {
    display: grid;
    gap: 10px;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary-box {
        position: static;
    }
}

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

    .cart-drawer-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .cart-drawer-remove {
        grid-column: 2;
    }

    .checkout-summary-header {
        flex-direction: column;
        align-items: stretch;
    }
}
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 24, 9, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 39;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(430px, 100vw);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f8f1e5 0%, #f3eadb 100%);
    box-shadow: -18px 0 44px rgba(31, 20, 12, 0.18);
    transform: translate3d(104%, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, visibility 0s linear 0.32s;
    z-index: 40;
}

.cart-drawer.open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

body.cart-open {
    overflow: hidden;
}

.cart-progress-card {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 248, 227, 0.96), rgba(255, 241, 206, 0.88));
    border: 1px solid rgba(193, 152, 77, 0.24);
    box-shadow: 0 14px 28px rgba(95, 62, 24, 0.08);
}

.cart-progress-card.is-complete {
    background: linear-gradient(135deg, rgba(241, 208, 103, 0.22), rgba(255, 249, 228, 0.96));
}

.cart-progress-text {
    margin: 0;
    color: #5b3d17;
    line-height: 1.5;
}

.cart-progress-bar {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(123, 88, 36, 0.12);
}

.cart-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #cfa640 0%, #f1cb3d 55%, #f4d978 100%);
    transition: width 0.35s ease;
}

.cart-drawer-old-price,
.product-price-old {
    display: inline-block;
    color: #987e63;
    text-decoration: line-through;
    font-size: 0.95rem;
}

.product-card-media,
.product-image-card {
    position: relative;
    overflow: hidden;
}

.product-card-media {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(233,221,200,0.5));
    padding: 0;
}

.product-image-card {
    border-radius: 28px;
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(22, 16, 8, 0.14);
}

.product-badge + .product-badge {
    top: 50px;
}

.product-badge.is-promo {
    background: #f1cb3d;
    color: #362502;
}

.product-badge.is-new {
    background: #232111;
    color: #fff4be;
}

.product-price-box {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin: 12px 0 18px;
}

.product-price-current {
    color: #5c3a1a;
    font-size: 1.2rem;
}

.product-price-current.is-sale {
    color: #8f2f1f;
}

.product-price-box-detail {
    margin-top: 22px;
}

.product-price-box-detail .product-price-current {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.checkout-progress-card {
    margin-bottom: 18px;
}

.checkout-delivery-note {
    margin: 0 0 12px;
    color: #8f6224;
    font-weight: 700;
}

.checkout-option small {
    display: block;
    margin-top: 4px;
    color: #8d7558;
}

@media (max-width: 700px) {
    .product-badge {
        top: 10px;
        left: 10px;
        min-height: 26px;
        padding: 0 8px;
        font-size: 0.66rem;
    }

    .product-badge + .product-badge {
        top: 42px;
    }
}
/* ------------------------------- */
/* PRODUCT MEDIA REFRESH */
/* ------------------------------- */

.product-card-media {
    aspect-ratio: 4 / 5;
}

.product-thumb,
.no-image {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: 18px;
}

.product-thumb {
    display: block;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
    transform: translateZ(0);
}

.product-detail-layout {
    align-items: start;
}

.product-gallery-shell {
    display: grid;
    gap: 14px;
}

.product-gallery-stage {
    background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(240, 230, 207, 0.82));
    box-shadow: 0 18px 34px rgba(48, 29, 11, 0.12);
}

.product-main-image,
.product-gallery-empty {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
}

.product-main-image {
    object-fit: contain;
    background: rgba(255, 251, 242, 0.8);
}

.product-gallery-empty {
    display: grid;
    place-items: center;
    color: #a3844a;
    background: rgba(243, 233, 201, 0.9);
}

.product-gallery-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
    gap: 10px;
}

.product-gallery-thumb {
    padding: 0;
    border: 1px solid rgba(92, 58, 26, 0.12);
    border-radius: 18px;
    overflow: hidden;
    background: #fff9ee;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(48, 29, 11, 0.08);
}

.product-gallery-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-gallery-thumb.is-active {
    border-color: #c79d42;
    box-shadow: 0 0 0 2px rgba(199, 157, 66, 0.2);
}

.instagram-section {
    margin: 72px 0 10px;
    padding: 34px 26px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(239, 230, 195, 0.95), rgba(230, 220, 183, 0.88));
    box-shadow: 0 18px 36px rgba(71, 50, 19, 0.08);
}

.instagram-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
}

.instagram-section h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.instagram-section p {
    margin: 6px 0 0;
    color: #7c6548;
}

.instagram-section a {
    color: inherit;
}

.instagram-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.instagram-card {
    display: grid;
    gap: 10px;
    text-decoration: none;
    color: #5C3A1A;
}

.instagram-card-frame {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 248, 234, 0.82);
    box-shadow: 0 12px 24px rgba(48, 29, 11, 0.1);
    overflow: hidden;
}

.instagram-card-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
}

.instagram-card-meta {
    display: grid;
    gap: 2px;
    padding: 0 4px;
}

.instagram-card-meta strong {
    font-size: 0.95rem;
}

.instagram-card-meta span,
.instagram-empty {
    color: #7c6548;
    font-size: 0.9rem;
}

.instagram-empty {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 248, 234, 0.7);
}

@media (max-width: 980px) {
    .instagram-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .product-thumb,
    .no-image {
        min-height: 220px;
    }

    .instagram-section {
        padding: 26px 18px;
        border-radius: 24px;
    }

    .instagram-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .instagram-strip {
        grid-template-columns: 1fr;
    }
}

.cart-drawer-option-list,
.checkout-item-options {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    color: #8d7558;
    font-size: 0.88rem;
}

.product-page-modern {
    gap: 40px;
}

.product-buy-panel {
    display: grid;
    gap: 18px;
    padding: 12px 0 24px;
}

.product-short-copy {
    margin: -4px 0 0;
    color: #7c6548;
    font-size: 1.05rem;
}

.product-long-copy {
    margin: 0;
    color: #6a573d;
}

.product-intensity {
    display: grid;
    gap: 8px;
    max-width: 220px;
    color: #7c6548;
    font-size: 0.92rem;
}

.product-intensity-dots {
    display: inline-flex;
    gap: 6px;
}

.product-intensity-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(92, 58, 26, 0.18);
}

.product-intensity-dots span.is-active {
    background: #2f2418;
}

.product-price-panel {
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 249, 231, 0.86);
    border: 1px solid rgba(92, 58, 26, 0.1);
}

.product-price-stack-modern {
    display: grid;
    gap: 6px;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-price-main {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: #3a2814;
}

.product-discount-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f1cb3d;
    color: #3a2814;
    font-weight: 700;
}

.product-price-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: #8d7558;
}

.product-price-old.modern {
    font-size: 1rem;
}

.product-price-save {
    font-size: 0.92rem;
    font-weight: 700;
    color: #8f2f1f;
}

.is-hidden {
    display: none !important;
}

.product-purchase-form {
    display: grid;
    gap: 18px;
}

.product-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.product-form-field {
    display: grid;
    gap: 8px;
    color: #7c6548;
    font-size: 0.92rem;
}

.product-form-field select,
.product-form-field input {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border-radius: 0;
    border: 1px solid rgba(92, 58, 26, 0.16);
    background: #efe7c8;
    color: #5c3a1a;
}

.product-form-field-full {
    grid-column: 1 / -1;
}

.quantity-stepper {
    display: grid;
    grid-template-columns: 52px minmax(72px, 1fr) 52px;
    align-items: center;
    border: 1px solid rgba(92, 58, 26, 0.16);
    background: #efe7c8;
}

.quantity-stepper input {
    text-align: center;
    border: 0;
    background: transparent;
    margin: 0;
    max-width: none;
}

.quantity-stepper-btn {
    min-height: 52px;
    border: 0;
    background: transparent;
    color: #5c3a1a;
    font-size: 1.1rem;
    cursor: pointer;
}

.product-add-to-cart {
    width: 100%;
    min-height: 58px;
    font-size: 1rem;
    font-weight: 700;
    background: #e5c100;
    color: #3a2814;
}

.product-accordion-stack {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.product-accordion {
    border-top: 1px solid rgba(92, 58, 26, 0.14);
    border-bottom: 1px solid rgba(92, 58, 26, 0.08);
    padding: 16px 0;
}

.product-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
}

.product-accordion summary::-webkit-details-marker {
    display: none;
}

.product-accordion summary::after {
    content: '+';
    font-size: 1.2rem;
    color: #5c3a1a;
}

.product-accordion[open] summary::after {
    content: '-';
}

.product-accordion-content {
    padding-top: 14px;
    color: #6a573d;
}

.aroma-grid.compact {
    margin-top: 0;
}

@media (max-width: 900px) {
    .product-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------- */
/* MOBILE CART + PRODUCT GALLERY TUNING */
/* ------------------------------- */

.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(92, 58, 26, 0.16);
    background: rgba(255, 248, 231, 0.86);
    box-shadow: 0 10px 24px rgba(76, 49, 19, 0.08);
}

.cart-link-count {
    font-variant-numeric: tabular-nums;
}

.cart-drawer-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    overflow: hidden;
}

.cart-drawer-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 18px;
    padding-right: 4px;
}

.cart-drawer-summary {
    margin-top: 0;
    flex-shrink: 0;
    border: 1px solid rgba(92, 58, 26, 0.08);
    background: rgba(255, 252, 245, 0.96);
    box-shadow: 0 -10px 24px rgba(48, 29, 11, 0.08);
}

.cart-drawer-checkout {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.cart-drawer-item {
    align-items: start;
}

.cart-drawer-thumb {
    width: 84px;
    height: 84px;
}

.cart-qty-btn {
    width: 36px;
    height: 36px;
    background: #efe4c2;
    box-shadow: 0 6px 14px rgba(48, 29, 11, 0.08);
}

.product-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(26px, 4vw, 56px);
}

.product-gallery-stage {
    position: relative;
    display: grid;
    place-items: center;
}

.product-gallery-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(92, 58, 26, 0.16);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.92);
    color: #5c3a1a;
    box-shadow: 0 10px 22px rgba(48, 29, 11, 0.1);
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.product-gallery-nav:hover:not(:disabled) {
    transform: translateY(-1px);
}

.product-gallery-nav:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
}

.product-gallery-main-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
}

.product-gallery-main-nav.is-prev {
    left: 16px;
}

.product-gallery-main-nav.is-next {
    right: 16px;
}

.product-gallery-thumbs-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.product-gallery-thumbs-shell.is-static {
    grid-template-columns: minmax(0, 1fr);
}

.product-gallery-strip-window {
    overflow: hidden;
}

.product-gallery-strip {
    display: flex;
    gap: 10px;
    transition: transform 0.28s ease;
    will-change: transform;
}

.product-gallery-thumb {
    flex: 0 0 calc((100% - 20px) / 3);
}

.product-gallery-strip-nav {
    width: 38px;
    height: 38px;
}

.product-gallery-thumb img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.instagram-embed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.instagram-embed-card {
    min-width: 0;
    padding: 12px;
    border-radius: 28px;
    background: rgba(255, 248, 234, 0.82);
    box-shadow: 0 12px 24px rgba(48, 29, 11, 0.1);
}

.instagram-embed-card .instagram-media {
    min-width: 0 !important;
    width: 100% !important;
}

@media (max-width: 980px) {
    .instagram-embed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .main-header {
        padding: 10px 8px;
    }

    .header-right {
        gap: 10px;
    }

    .cart-link {
        min-height: 40px;
        padding: 0 12px;
        font-size: 0.95rem;
    }

    .cart-link i {
        margin-right: 0;
    }

    .cart-drawer {
        width: 100vw;
        border-radius: 0;
    }

    .cart-drawer-header {
        padding: 18px 14px 14px;
    }

    .cart-drawer-body {
        padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px));
        gap: 14px;
    }

    .cart-drawer-scroll {
        gap: 14px;
        padding-right: 2px;
    }

    .cart-drawer-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 12px;
    }

    .cart-drawer-thumb {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }

    .cart-drawer-remove {
        grid-column: 2;
        margin-top: 2px;
    }

    .cart-drawer-summary {
        position: sticky;
        bottom: 0;
        padding: 16px;
        border-radius: 22px;
    }

    .product-gallery-main-nav {
        width: 40px;
        height: 40px;
    }

    .product-gallery-main-nav.is-prev {
        left: 10px;
    }

    .product-gallery-main-nav.is-next {
        right: 10px;
    }

    .product-gallery-thumbs-shell {
        gap: 8px;
    }

    .product-gallery-strip-nav {
        width: 34px;
        height: 34px;
    }

    .instagram-embed-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------- */
/* HOMEPAGE PRODUCT CARDS */
/* ------------------------------- */

.product-list-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.product-card-home {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 248, 230, 0.92);
    box-shadow: 0 14px 28px rgba(50, 32, 12, 0.08);
}

.product-card-media-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card-media-home {
    border-radius: 26px;
}

.product-card-image-stack {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.product-card-image-primary,
.product-card-image-secondary {
    width: 100%;
    min-height: 320px;
    transition: opacity 0.38s ease, transform 0.5s ease;
}

.product-card-image-secondary {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
}

.product-card-image-stack.has-hover-image:hover .product-card-image-secondary,
.product-card-media-link:focus-visible .product-card-image-secondary {
    opacity: 1;
    transform: scale(1);
}

.product-card-image-stack.has-hover-image:hover .product-card-image-primary,
.product-card-media-link:focus-visible .product-card-image-primary {
    opacity: 0;
    transform: scale(0.98);
}

.product-card-copy {
    display: grid;
    gap: 8px;
}

.product-card-home h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.product-card-short-copy {
    margin: 0;
    color: #6f5a3f;
    font-size: 0.98rem;
    line-height: 1.55;
    min-height: 3.1em;
}

.product-card-footer {
    display: grid;
    gap: 16px;
    align-content: end;
}

.product-price-box-home {
    margin: 0;
    display: grid;
    gap: 6px;
}

.product-card-price-topline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-card-discount-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1cb3d;
    color: #3a2814;
    font-size: 0.82rem;
    font-weight: 700;
}

.product-price-box-home .product-price-old {
    font-size: 0.94rem;
}

.product-price-box-home .product-price-current {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.1;
}

.product-card-cta {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 980px) {
    .product-list-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .product-list-home {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .product-card-image-primary,
    .product-card-image-secondary {
        min-height: 280px;
    }
}

/* ------------------------------- */
/* CTA + CART DRAWER POLISH */
/* ------------------------------- */

.product-card-home {
    align-content: start;
}

.product-card-footer {
    grid-template-rows: auto auto;
}

.product-card-cta,
.cart-drawer-checkout {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    min-height: 0;
    line-height: 1.2;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 22px;
}

.product-card-cta {
    margin-top: 2px;
}

.cart-drawer-checkout {
    margin-top: 4px;
    padding-block: 16px;
}

.cart-drawer-items {
    gap: 16px;
}

.cart-drawer-item {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 16px 18px;
}

.cart-drawer-thumb,
.cart-drawer-thumb-empty {
    width: 88px;
    height: 88px;
    border-radius: 18px;
}

.cart-drawer-item-body {
    display: grid;
    align-content: start;
    gap: 8px;
    padding-top: 2px;
}

.cart-drawer-item-body strong {
    line-height: 1.25;
}

.cart-drawer-meta,
.cart-drawer-option-list,
.cart-drawer-line-total,
.cart-drawer-old-price,
.cart-drawer-quantity {
    margin-top: 0;
}

.cart-drawer-remove {
    align-self: start;
    padding-top: 4px;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .product-card-home {
        padding: 16px;
        gap: 16px;
    }

    .product-card-cta {
        padding: 13px 16px;
        border-radius: 20px;
    }

    .cart-drawer-item {
        grid-template-columns: 84px minmax(0, 1fr) auto;
        gap: 14px;
        padding: 16px 14px;
    }

    .cart-drawer-thumb,
    .cart-drawer-thumb-empty {
        width: 84px;
        height: 84px;
    }

    .cart-drawer-item-body {
        gap: 7px;
        padding-top: 4px;
    }

    .cart-drawer-remove {
        grid-column: auto;
        padding-top: 2px;
    }

    .cart-drawer-checkout {
        padding-block: 15px;
        border-radius: 20px;
    }
}

@media (max-width: 520px) {
    .cart-drawer-item {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 14px 16px;
    }

    .cart-drawer-thumb,
    .cart-drawer-thumb-empty {
        width: 80px;
        height: 80px;
    }

    .cart-drawer-remove {
        grid-column: 2;
        justify-self: end;
    }
}

/* ------------------------------- */
/* SEO / HOME TITLES */
/* ------------------------------- */

.home-collection-title {
    margin-top: 60px;
    margin-bottom: 18px;
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.product-card-home h2,
.product-card-home h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}
