:root {
    --brand-plum: #34243A;
    --brand-plum-dark: #241823;
    --brand-rose: #D88C91;
    --brand-rose-dark: #C16D74;
    --brand-gold: #C89B5B;
    --brand-gold-bright: #DDB679;
    --brand-warm: #FFF9F7;
    --brand-charcoal: #29252A;

    /* legacy aliases so any old references keep working */
    --brand-primary: var(--brand-plum);
    --brand-primary-dark: var(--brand-plum-dark);
    --brand-beige: var(--brand-warm);
}

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: var(--brand-charcoal);
}

a { text-decoration: none; }

.navbar-brand {
    font-weight: 800;
    color: #fff !important;
    font-size: 1.6rem;
}

.top-bar {
    background: var(--brand-plum);
    color: #fff;
    font-size: .8rem;
    padding: .35rem 0;
}

.main-nav {
    background: var(--brand-plum);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.main-nav .nav-link {
    color: #fff;
    opacity: .92;
    font-weight: 500;
}

.main-nav .nav-link:hover { color: var(--brand-gold-bright); opacity: 1; }

.btn-brand {
    background-color: var(--brand-rose);
    border-color: var(--brand-rose);
    color: #fff;
}

.btn-brand:hover {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-plum);
}

.btn-outline-brand {
    border-color: var(--brand-plum);
    color: var(--brand-plum);
}

.btn-outline-brand:hover {
    background-color: var(--brand-plum);
    color: #fff;
}

.text-brand { color: var(--brand-plum) !important; }
.bg-brand { background-color: var(--brand-plum) !important; }
.bg-beige { background-color: var(--brand-warm) !important; }

.hero-slide {
    background: linear-gradient(135deg, var(--brand-warm), #fff);
    border-radius: 1rem;
    overflow: hidden;
}

.product-card {
    background: #fff;
    border: 1px solid #F0E4E7;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(52,36,58,.06);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

.product-card .product-img {
    height: 240px;
    object-fit: cover;
    width: 100%;
}

.product-card .wishlist-btn {
    position: absolute;
    top: .5rem;
    left: .5rem;
    background: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    border: none;
}

.product-card .wishlist-btn.active { color: var(--brand-rose); }

.badge-discount {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: var(--brand-rose);
    color: #fff;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: .85rem;
}

.price-new {
    color: var(--brand-plum);
    font-weight: 700;
    font-size: 1.1rem;
}

.category-card {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: block;
}

.category-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.category-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: .75rem;
    color: #fff;
    font-weight: 600;
}

footer.site-footer {
    background: var(--brand-plum);
    color: #EFE4E6;
}

footer.site-footer a { color: #EFE4E6; }
footer.site-footer a:hover { color: var(--brand-gold-bright); }
footer.site-footer h5, footer.site-footer h6 { color: var(--brand-gold-bright); }

.zoom-container {
    overflow: hidden;
    border-radius: .75rem;
    cursor: zoom-in;
}

.zoom-container img { transition: transform .3s; width: 100%; }
.zoom-container:hover img { transform: scale(1.4); }

.variant-swatch {
    padding: .35rem .9rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
    cursor: pointer;
    font-size: .85rem;
}

.variant-swatch.active {
    border-color: var(--brand-rose);
    background: var(--brand-rose);
    color: #fff;
}

.product-slider-section {
    background: linear-gradient(135deg, var(--brand-warm), #fff);
    border-radius: 1.25rem;
    padding: 1.5rem;
}

.slider-nav {
    display: flex;
    gap: .5rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--brand-rose);
    background: #fff;
    color: var(--brand-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
}

.slider-btn:hover {
    background: var(--brand-rose);
    color: #fff;
}

.product-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: .5rem;
    scrollbar-width: none;
}

.product-slider::-webkit-scrollbar { display: none; }

.product-slider-item {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;
}

@media (max-width: 576px) {
    .product-slider-item { width: 170px; }
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    background: var(--brand-rose);
    color: #fff;
    font-size: .65rem;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
