
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --background: #faf8f5;
    --white: #ffffff;
    --black: #242321;
    --rose: #d8b5a5;
    --gold: #b79b76;
    --muted: #827b75;
    --border: #e7e1da;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--background);
    color: var(--black);
    -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
    font-family: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    transition: all 0.25s ease;
}

/* TOP BAR */

.announcement {
    background: var(--black);
    color: white;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 12px 15px;
    text-transform: uppercase;
}

/* HEADER */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 6%;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 8px;
}

.navigation {
    display: flex;
    gap: 35px;
}

.navigation a {
    font-size: 13px;
    color: var(--muted);
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: var(--black);
}

.cart-button {
    background: transparent;
    border: 1px solid var(--border);
    padding: 12px 22px;
    font-size: 13px;
}

.cart-button:hover {
    background: var(--black);
    color: white;
}

/* PRODUCT */

.product-section {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 75px;
    max-width: 1440px;
    margin: auto;
    padding: 60px 6% 85px;
    align-items: start;
}

.product-gallery {
    min-width: 0;
}

.main-image {
    background: #eee5dc;
    aspect-ratio: 1 / 1.05;
    overflow: hidden;
    border-radius: 5px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.main-image:hover img {
    transform: scale(1.045);
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.thumbnails img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 3px;
    background: #eee5dc;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.thumbnails img:hover,
.thumbnails img.active {
    border-color: var(--gold);
    opacity: 0.85;
}

/* PRODUCT INFORMATION */

.product-info {
    padding-top: 25px;
}

.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 18px;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.product-info h1 {
    font-size: clamp(48px, 5vw, 76px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.subtitle {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.price {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 15px;
}

.old-price {
    color: #a49b93;
    font-size: 19px;
    text-decoration: line-through;
}

.current-price {
    font-size: 32px;
    font-weight: 600;
}

.stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #52775a;
    margin-bottom: 25px;
}

.stock-dot {
    width: 7px;
    height: 7px;
    background: #52775a;
    border-radius: 50%;
}

.description {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 30px;
}

/* COLORS */

.color-selection {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-bottom: 28px;
}

.color-selection p {
    font-size: 13px;
    margin-bottom: 14px;
}

.colors {
    display: flex;
    gap: 14px;
}

.color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid var(--background);
    outline: 1px solid transparent;
}

.color.active,
.color:hover {
    outline-color: var(--black);
}

.color.rose {
    background: #d8b5a5;
}

.color.black {
    background: #292929;
}

.color.cream {
    background: #d8ccb9;
}

/* BUY BUTTONS */

.purchase-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border);
    min-width: 115px;
    background: white;
}

.quantity button {
    background: transparent;
    border: none;
    font-size: 20px;
    padding: 15px;
}

.quantity span {
    font-size: 14px;
}

.add-to-cart {
    background: var(--black);
    color: white;
    border: none;
    padding: 19px 25px;
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.add-to-cart:hover {
    background: #44403c;
}

.buy-now {
    background: var(--rose);
    color: var(--black);
    width: 100%;
    padding: 19px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.buy-now:hover {
    background: #cba391;
}

.trust-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.trust-info p {
    font-size: 12px;
    color: var(--muted);
}

/* BENEFITS */

.benefits {
    background: #eee5dc;
    padding: 90px 6%;
    text-align: center;
}

.benefits h2,
.faq h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1250px;
    margin: 45px auto 0;
}

.benefits-grid article {
    background: var(--background);
    padding: 40px 25px;
    border: 1px solid rgba(183, 155, 118, 0.2);
    transition: transform 0.3s ease;
}

.benefits-grid article:hover {
    transform: translateY(-5px);
}

.benefits-grid article span {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 32px;
}

.benefits-grid h3 {
    font-weight: 500;
    font-size: 20px;
    margin: 20px 0 12px;
}

.benefits-grid p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

/* FAQ */

.faq {
    max-width: 900px;
    margin: auto;
    padding: 90px 30px;
}

.faq > .eyebrow,
.faq h2 {
    text-align: center;
}

.faq h2 {
    margin-bottom: 40px;
}

.faq details {
    padding: 23px 0;
    border-bottom: 1px solid var(--border);
}

.faq summary {
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

.faq details p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    padding-top: 15px;
}

/* CART OVERLAY */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* CART DRAWER */

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 101;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.08);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px;
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    font-size: 27px;
}

.cart-header button {
    border: none;
    background: transparent;
    font-size: 21px;
}

#cartItems {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 90px;
    height: 110px;
    object-fit: cover;
    background: #eee5dc;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.cart-item-info p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.cart-item button {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 12px;
    text-decoration: underline;
}

.cart-footer {
    border-top: 1px solid var(--border);
    padding: 28px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin-bottom: 22px;
}

.checkout-button {
    display: block;
    background: var(--black);
    color: white;
    text-align: center;
    padding: 19px;
    font-size: 14px;
    font-weight: 600;
}

.checkout-button:hover {
    background: #44403c;
}

/* FOOTER */

footer {
    background: var(--black);
    color: white;
    text-align: center;
    padding: 50px 20px;
}

footer p {
    margin: 15px 0 30px;
    color: #c0b5ac;
    font-size: 13px;
    letter-spacing: 2px;
}

footer small {
    font-size: 11px;
    color: #99918b;
}

/* MOBILE */

@media (max-width: 900px) {
    .navigation {
        display: none;
    }

    .product-section {
        gap: 35px;
        padding: 35px 4% 60px;
    }

    .product-info {
        padding-top: 5px;
    }
}

@media (max-width: 650px) {
    .announcement {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .header {
        padding: 18px 5%;
    }

    .logo {
        font-size: 25px;
        letter-spacing: 5px;
    }

    .cart-button {
        padding: 10px 15px;
        font-size: 12px;
    }

    .product-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 5% 45px;
    }

    .main-image {
        aspect-ratio: 1 / 1.05;
    }

    .thumbnails {
        gap: 8px;
    }

    .product-info h1 {
        font-size: 48px;
    }

    .current-price {
        font-size: 29px;
    }

    .purchase-controls {
        gap: 8px;
    }

    .quantity {
        min-width: 100px;
    }

    .add-to-cart {
        padding: 17px 12px;
    }

    .benefits {
        padding: 55px 5%;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .faq {
        padding: 55px 5%;
    }

    .cart-header,
    .cart-footer {
        padding: 20px;
    }
}

/* CART QUANTITY */

.cart-item-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    margin: 15px 0;
    min-height: 35px;
}

.cart-item-quantity button {
    padding: 8px 14px;
    font-size: 16px;
    text-decoration: none;
    color: var(--black);
}

.cart-item-quantity button:hover {
    background: var(--background);
}

.cart-item-quantity span {
    padding: 0 10px;
    font-size: 13px;
}

.remove-item {
    display: block;
    margin-top: 3px;
}

.cart-item-info strong {
    display: block;
    font-size: 16px;
    margin-top: 10px;
}

.empty-cart {
    text-align: center;
    padding: 60px 10px;
}

.empty-cart h3 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 500;
}

.empty-cart p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 15px 0 25px;
}

.empty-cart button {
    border: none;
    background: var(--black);
    color: white;
    padding: 15px 25px;
    font-size: 13px;
}

/* CHECKOUT */

.back-link {
    font-size: 13px;
    color: var(--muted);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 70px;
    max-width: 1250px;
    margin: auto;
    padding: 60px 5% 90px;
    align-items: start;
}

.checkout-details h1 {
    font-size: clamp(34px, 4vw, 48px);
    margin-bottom: 15px;
}

.checkout-intro {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.checkout-details h2 {
    font-size: 25px;
    margin: 35px 0 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    min-width: 0;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: white;
    border-radius: 4px;
    padding: 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.delivery-option,
.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 12px;
    border-radius: 4px;
    font-size: 14px;
}

.delivery-option {
    justify-content: space-between;
}

.payment-option {
    cursor: pointer;
}

.payment-option:has(input:checked) {
    border-color: var(--gold);
    background: #f7f1eb;
}

.delivery-option p,
.payment-option p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.payment-option input,
.terms-option input {
    accent-color: var(--black);
    flex-shrink: 0;
}

.terms-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    margin: 25px 0;
}

.place-order {
    width: 100%;
    padding: 21px;
    border: none;
    background: var(--black);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
}

.place-order:hover {
    background: #44403c;
}

.place-order:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.demo-notice {
    margin-top: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

/* ORDER SUMMARY */

.order-summary {
    background: #eee5dc;
    border: 1px solid var(--border);
    padding: 35px;
    border-radius: 6px;
    position: sticky;
    top: 25px;
}

.order-summary h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.checkout-product {
    display: flex;
    gap: 20px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #d9cfc4;
}

.checkout-product img {
    width: 100px;
    height: 115px;
    object-fit: cover;
    border-radius: 4px;
}

.checkout-product h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.checkout-product p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.checkout-product strong {
    font-size: 15px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 20px;
}

.free-delivery {
    color: #52775a;
}

.summary-total {
    border-top: 1px solid #d9cfc4;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 19px;
}

.summary-total strong {
    font-size: 25px;
}

.summary-note {
    font-size: 12px;
    color: var(--muted);
    text-align: right;
    margin-top: 12px;
}

/* ORDER CONFIRMATION */

.confirmation-page {
    max-width: 650px;
    margin: 70px auto;
    padding: 50px 25px;
    text-align: center;
}

.confirmation-icon {
    width: 85px;
    height: 85px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 30px;
    color: #52775a;
    font-size: 38px;
}

.confirmation-page h1 {
    font-size: clamp(35px, 5vw, 48px);
    margin-bottom: 20px;
}

.confirmation-page p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.confirmation-box {
    background: #eee5dc;
    padding: 30px;
    margin: 30px 0;
    border-radius: 5px;
}

@media (max-width: 800px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 5% 60px;
    }

    .order-summary {
        position: static;
        grid-row: 1;
        padding: 25px;
    }

    .confirmation-page {
        margin: 20px auto;
    }
}

/* AUREA LEGAL PAGES */

.legal-page {
    max-width: 960px;
    margin: 60px auto;
    padding: 30px 6% 70px;
    line-height: 1.8;
}

.legal-page h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin: 15px 0 35px;
}

.legal-page h2 {
    font-size: 21px;
    margin: 30px 0 12px;
}

.legal-page p {
    font-size: 15px;
    margin-bottom: 15px;
    color: var(--muted);
}

.legal-page a {
    color: inherit;
    text-decoration: underline;
}

.legal-draft {
    padding: 15px;
    border: 1px solid #c9ad86;
    background: #f1e8de;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin: 25px auto;
    max-width: 900px;
    padding: 0 20px;
}

.legal-links a {
    color: inherit;
    font-size: 13px;
    text-decoration: none;
    opacity: .8;
}

.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .legal-page {
        margin: 20px auto;
    }

    .legal-links {
        gap: 12px 18px;
    }
}

/* AUREA COOKIE CONSENT */

#cookieBanner[hidden],
#cookieBanner [hidden] {
    display: none !important;
}

#cookieBanner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: min(460px, calc(100vw - 48px));
    z-index: 100000;
    background: #fffaf5;
    color: #24211e;
    border: 1px solid #d7c4ad;
    padding: 26px;
    box-shadow: 0 12px 50px rgba(0,0,0,.15);
    border-radius: 8px;
    max-height: 85vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.cookie-brand {
    color: #94754d;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

#cookieBanner h2 {
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: normal;
    margin: 0 0 14px;
}

#cookieBanner p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}

#cookieBanner a {
    color: #806345;
    text-decoration: underline;
    font-size: 12px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#cookieBanner button {
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    padding: 12px;
    border: 1px solid #24211e;
    border-radius: 3px;
}

#acceptCookies,
#rejectCookies {
    flex: 1;
    background: #24211e;
    color: white;
}

#customCookies {
    width: 100%;
    background: transparent;
    color: #24211e;
    border: none !important;
    margin-top: 8px;
}

#saveCookies {
    width: 100%;
    background: #24211e;
    color: white;
    margin-top: 10px;
}

#cookieOptions {
    margin-top: 18px;
}

#cookieOptions label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin: 12px 0;
    text-align: left;
}

#cookieOptions input {
    width: 17px;
    height: 17px;
    accent-color: #94754d;
}

@media (max-width: 600px) {
    #cookieBanner {
        left: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 20px;
    }
}

/* COOKIE CONSENT - CENTERED OVERLAY */

#cookieBanner {
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(520px, calc(100vw - 32px));
    padding: 32px;
    box-shadow: 0 0 0 200vmax rgba(0,0,0,.55),
                0 20px 60px rgba(0,0,0,.2);
}

#cookieBanner h2 {
    font-size: 26px;
}

body:has(#cookieBanner:not([hidden])) {
    overflow: hidden;
}

body:has(#cookieBanner:not([hidden]))::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99999;
}

@media (max-width: 600px) {
    #cookieBanner {
        padding: 24px;
    }

    #cookieBanner h2 {
        font-size: 22px;
    }
}

/* AUREA - PRODUCT DISCOUNTS */

.product-info .price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

#previousPrice {
    font-size: 18px;
    font-weight: 400;
    color: #948981;
}

#discountBadge {
    background: #292421;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 3px;
}

#previousPrice[hidden],
#discountBadge[hidden] {
    display: none !important;
}




