:root {
    --brand: #8d4bc5;
    --brand-dark: #6f36a5;
    --ink: #342a3d;
    --muted: #7c7185;
    --cream: #fbf8ff;
    --line: #e9e0f0;
}

* { box-sizing: border-box; }
body {
    color: var(--ink);
    background: #fff;
    font-family: "DM Sans", sans-serif;
    line-height: 1.55;
}
a { color: inherit; }
.topbar { background: #312c2b; color: #fff; font-size: .82rem; }
.topbar .container { min-height: 39px; }
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { color: #f7efeb; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-cart { display: inline-flex; align-items: center; gap: 8px; }
.cart-badge {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand);
    font-size: .72rem;
    font-weight: 700;
}
.site-header { background: #fff; border-bottom: 1px solid #f0ece9; }
.brand-lockup, .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-decoration: none;
    white-space: nowrap;
}
.brand-lockup strong, .footer-brand strong { color: var(--brand); font-weight: 700; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--brand);
    background: #fbefec;
}
.main-nav { gap: 16px; }
.main-nav .nav-link { color: #45403f; font-size: .94rem; font-weight: 600; }
.main-nav .nav-link:hover { color: var(--brand); }
.header-cart {
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--brand);
    text-decoration: none;
}
.hero-section { padding: 34px 0 30px; background: #fff; }
.hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 390px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(110deg, #f7e9e5 0%, #f8efec 55%, #f2e4df 100%);
}
.hero-content { align-self: center; padding: 50px clamp(24px, 6vw, 82px); }
.eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--brand);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
}
.discount-pill {
    display: inline-block;
    margin: 0 0 18px 10px;
    padding: 5px 11px;
    border-radius: 3px;
    color: #fff;
    background: var(--brand);
    font-size: .75rem;
    font-weight: 700;
    vertical-align: 2px;
}
.hero-content h1, .section-heading h2, .cart-page h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
}
.hero-content h1 { max-width: 520px; margin: 0 0 14px; font-size: clamp(2.4rem, 4.4vw, 3.7rem); line-height: 1.1; }
.hero-content p { max-width: 430px; margin: 0 0 25px; color: #685e5a; font-size: 1rem; }
.hero-art { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 20px 30px 20px 0; }
.hero-art img { width: 100%; max-height: 340px; object-fit: contain; }
.btn-brand {
    border: 1px solid var(--brand);
    border-radius: 5px;
    color: #fff;
    background: var(--brand);
    font-weight: 700;
}
.btn-brand:hover, .btn-brand:focus-visible { border-color: var(--brand-dark); color: #fff; background: var(--brand-dark); }
.btn-brand:disabled { border-color: #aaa; background: #aaa; }
.benefits-strip { padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit { display: flex; align-items: center; gap: 12px; height: 100%; }
.benefit > i { color: var(--brand); font-size: 1.35rem; }
.benefit strong, .benefit small { display: block; }
.benefit strong { font-size: .86rem; }
.benefit small { margin-top: 2px; color: var(--muted); font-size: .75rem; }
.section-space { padding: 70px 0; }
.section-heading { margin-bottom: 30px; text-align: center; }
.section-heading h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.45rem); }
.section-heading p { margin: 0; color: var(--muted); }
.section-heading-inline { display: flex; align-items: end; justify-content: space-between; text-align: left; }
.text-link { color: var(--brand); font-weight: 700; text-decoration: none; }
.category-card {
    display: flex;
    height: 100%;
    min-height: 185px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translateY(-3px); border-color: #e6b2aa; box-shadow: 0 9px 24px #3b262010; color: var(--brand); }
.category-card img { width: 100%; height: 128px; object-fit: contain; }
.category-card span { padding-bottom: 12px; }
.products-section { background: var(--cream); }
.product-card { overflow: hidden; border: 1px solid #eee6e2; border-radius: 8px; background: #fff; }
.product-image-wrap { position: relative; display: grid; place-items: center; min-height: 250px; padding: 18px; background: #faf7f5; }
.product-image-wrap img { width: 100%; height: 220px; object-fit: contain; }
.sale-label { position: absolute; z-index: 1; top: 13px; left: 13px; padding: 5px 9px; border-radius: 3px; color: #fff; background: var(--brand); font-size: .7rem; font-weight: 700; }
.product-info { padding: 17px; }
.product-category { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.product-info h3 { min-height: 46px; margin: 5px 0; font-size: 1rem; font-weight: 700; }
.product-material { margin: 0; color: var(--muted); font-size: .82rem; }
.product-price { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.product-price strong { color: var(--brand); font-size: 1.1rem; }
.old-price { color: #908986; font-size: .85rem; text-decoration: line-through; }
.empty-state { padding: 30px; color: var(--muted); text-align: center; }
.size-guide-section { background: #fff; }
.size-guide-card { max-width: 800px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.size-table { text-align: center; }
.size-table thead th { padding: 16px; color: #fff; background: #3b3331; font-size: .88rem; }
.size-table tbody th, .size-table tbody td { padding: 14px; }
.size-table tbody tr { cursor: pointer; }
.size-table tbody tr:hover, .size-table tbody tr.is-selected { background: #fbefec; }
.size-note { padding: 14px 18px; color: var(--muted); background: #faf7f5; font-size: .84rem; }
.site-footer { color: #e9e2df; background: #302b2a; }
.footer-brand { color: #fff; }
.footer-copy, .site-footer p { color: #c9c0bd; font-size: .88rem; }
.footer-heading { margin-bottom: 15px; color: #fff; font-size: .95rem; font-weight: 700; }
.site-footer a:not(.footer-brand) { display: block; margin-bottom: 9px; color: #d4cbc8; font-size: .87rem; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: .82rem; }
.payment-methods i { margin-right: 5px; color: #f3c8be; }
.footer-policies { border-top: 1px solid #514947; }
.footer-policies p { margin-bottom: 7px; font-size: .79rem; }
.copyright { border-top: 1px solid #514947; color: #bdb3b0; font-size: .78rem; }
.cart-page { min-height: 60vh; background: #fff; }
.cart-page h1 { font-size: 2.5rem; }
.empty-cart { padding: 65px 20px; border: 1px dashed #dfd2cd; border-radius: 10px; text-align: center; }
.empty-cart > i { margin-bottom: 18px; color: var(--brand); font-size: 2.5rem; }
.empty-cart h2 { font-family: "Playfair Display", Georgia, serif; font-size: 1.7rem; }
.empty-cart p { color: var(--muted); }
.cart-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.cart-item > img { width: 115px; height: 125px; border-radius: 5px; background: var(--cream); object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-info h2 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.cart-item-info p { color: var(--muted); font-size: .88rem; }
.cart-quantity-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-quantity-form label { font-size: .84rem; }
.cart-quantity-form input { width: 75px; }
.cart-subtotal { color: var(--brand); white-space: nowrap; }
.cart-summary { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.cart-summary h2 { margin-bottom: 20px; font-size: 1.2rem; font-weight: 700; }
.cart-summary .d-flex { gap: 10px; margin-bottom: 13px; font-size: .9rem; }
.cart-total { font-size: 1.05rem !important; }
.cart-total strong { color: var(--brand); }
@media (max-width: 991.98px) {
    .main-nav { gap: 4px; padding-top: 12px; }
    .hero-card { min-height: 330px; }
    .hero-art { padding-right: 14px; }
    .benefit { justify-content: center; }
}
@media (max-width: 575.98px) {
    .topbar-links { gap: 12px; }
    .topbar-links a:nth-child(2), .topbar-links a:nth-child(4) { display: none; }
    .brand-lockup { font-size: .82rem; gap: 7px; }
    .brand-mark { width: 34px; height: 34px; }
    .hero-card { grid-template-columns: 1fr; }
    .hero-content { padding: 34px 24px 15px; }
    .hero-content h1 { font-size: 2.25rem; }
    .hero-art { padding: 0 24px 22px; }
    .hero-art img { max-height: 215px; }
    .section-space { padding: 52px 0; }
    .benefit { justify-content: flex-start; gap: 8px; }
    .benefit > i { font-size: 1.1rem; }
    .benefit strong { font-size: .75rem; }
    .benefit small { font-size: .68rem; }
    .category-card { min-height: 150px; }
    .category-card img { height: 100px; }
    .product-image-wrap { min-height: 185px; padding: 10px; }
    .product-image-wrap img { height: 165px; }
    .product-info { padding: 12px; }
    .product-info h3 { min-height: 42px; font-size: .9rem; }
    .product-price { align-items: flex-start; flex-direction: column; gap: 0; }
    .product-price strong { font-size: 1rem; }
    .product-info .btn { padding: 8px 5px; font-size: .77rem; }
    .section-heading-inline { align-items: flex-start; flex-direction: column; gap: 12px; }
    .cart-item { gap: 12px; padding: 12px; flex-wrap: wrap; }
    .cart-item > img { width: 80px; height: 90px; }
    .cart-subtotal { margin-left: 92px; }
}
