

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Nunito+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #b8956a;
    --primary-dark: #96774f;
    --primary-light: #d4b896;
    --primary-rgb: 184, 149, 106;
    --dark: #3d2e1f;
    --dark-rgb: 61, 46, 31;
    --bg: #faf7f2;
    --bg-alt: #f3ede4;
    --text: #4a3728;
    --text-light: #8b7355;
    --accent: #c9a77d;
    --white: #ffffff;
    --gray: #9e8b7a;
    --gray-light: #c4b5a5;
    --gray-lighter: #f5f0e8;
    --border: #e8ddd0;
    --success: #5a8f5a;
    --danger: #c44d4d;
    --warning: #c4963a;
    --radius: 8px;
    --radius-lg: 14px;
    --shadow: 0 2px 15px rgba(61,46,31,0.06);
    --shadow-lg: 0 8px 30px rgba(61,46,31,0.1);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito Sans', -apple-system, sans-serif;
    --container: 1280px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark); line-height: 1.3; font-weight: 600; }

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px; /* SOL ALT */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
}
.announcement-bar {
    background: var(--dark);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
}

.announcement-bar .marquee {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.announcement-bar .marquee span {
    padding: 0 60px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-lighter);
    font-size: 13px;
    color: var(--text-light);
}

.header-top a { color: var(--text-light); font-size: 13px; }
.header-top a:hover { color: var(--primary); }

.header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 18px 0;
    gap: 30px;
}

.header-search {
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 11px 20px 11px 42px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    transition: var(--transition);
}

.header-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.header-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 14px;
}

.header-logo {
    text-align: center;
}

.header-logo a {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.header-logo small {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: -2px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text);
    font-size: 12px;
    font-weight: 500;
    position: relative;
}

.header-action i { font-size: 20px; }
.header-action:hover { color: var(--primary); }

.header-action .badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.nav-mega {
    background: var(--white);
    border-top: 1px solid var(--gray-lighter);
}

.nav-mega-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.nav-mega-item {
    position: relative;
}

.nav-mega-item > a {
    display: block;
    padding: 14px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--dark);
    transition: var(--transition);
}

.nav-mega-item > a:hover,
.nav-mega-item:hover > a {
    color: var(--primary);
    background: var(--bg);
}

.nav-mega-item > a.highlight {
    color: var(--danger);
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 999;
}

.nav-mega-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
}

.mega-dropdown a {
    display: block;
    padding: 9px 24px;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.mega-dropdown a:hover {
    background: var(--bg);
    color: var(--primary);
    padding-left: 28px;
}

.mega-dropdown .view-all {
    display: block;
    padding: 12px 24px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.hero-slide.active { display: flex; align-items: center; }

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    padding: 60px;
}

.hero-slide-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--dark);
}

.hero-slide-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.hero-slide-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-slide-content .btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(var(--dark-rgb), 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}


.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.section-title p {
    font-size: 15px;
    color: var(--text-light);
}

.section-title .line {
    width: 60px;
    height: 2px;
    background: var(--primary);
    margin: 12px auto 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.category-card {
    text-align: center;
    padding: 30px 15px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.category-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.category-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.category-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-body);
}

.category-card span {
    font-size: 12px;
    color: var(--text-light);
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--bg-alt);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-discount {
    background: var(--danger);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.badge-new {
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-card-actions { opacity: 1; }

.product-card-actions button,
.product-card-actions a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.product-card-actions button:hover,
.product-card-actions a:hover {
    background: var(--primary);
    color: var(--white);
}

.product-card-info {
    padding: 16px;
}

.product-card-info .brand {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-card-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    font-family: var(--font-body);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.product-card-rating i { font-size: 11px; color: var(--warning); }
.product-card-rating i.empty { color: var(--gray-light); }
.product-card-rating span { font-size: 11px; color: var(--gray); margin-left: 4px; }

.product-card-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-card-price .price {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.product-card-price .old-price {
    font-size: 13px;
    color: var(--gray);
    text-decoration: line-through;
}

.product-card-price .discount-tag {
    font-size: 11px;
    color: var(--danger);
    font-weight: 700;
}


section { padding: 50px 0; }

.section-bg { background: var(--white); }
.section-alt { background: var(--bg-alt); }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 26px;
}

.section-header .view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-header .view-all:hover { gap: 10px; }


.features-section {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.feature-item p {
    font-size: 12px;
    color: var(--text-light);
}


.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 700;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    padding: 0;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    padding: 0;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.newsletter-section {
    background: var(--bg-alt);
    padding: 50px 0;
}

.newsletter-inner {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-inner h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.newsletter-inner p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 13px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-family: var(--font-body);
    background: var(--white);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 13px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-lg { padding: 16px 40px; font-size: 15px; }
.btn-sm { padding: 8px 18px; font-size: 12px; }


.breadcrumb-bar {
    background: var(--white);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--gray-light); }
.breadcrumb .current { color: var(--dark); font-weight: 600; }


.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 40px 0;
}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-alt);
    cursor: pointer;
    position: relative;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.gallery-thumb {
    width: 75px;
    height: 90px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.product-info .brand-name {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-info .price-block {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin: 18px 0;
    padding: 18px;
    background: var(--bg);
    border-radius: var(--radius);
}

.price-block .current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
}

.price-block .old-price {
    font-size: 18px;
    color: var(--gray);
    text-decoration: line-through;
}

.price-block .discount-badge {
    background: var(--danger);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
}

.product-options {
    margin: 20px 0;
}

.option-group {
    margin-bottom: 18px;
}

.option-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.color-swatches {
    display: flex;
    gap: 10px;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.color-swatch.active,
.color-swatch:hover {
    border-color: var(--primary);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-btn {
    min-width: 48px;
    height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark);
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.size-btn.out-of-stock {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-selector button {
    width: 42px;
    height: 45px;
    background: var(--bg);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark);
}

.qty-selector button:hover { background: var(--gray-lighter); }

.qty-selector input {
    width: 55px;
    height: 45px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
}

.add-to-cart-block {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.add-to-cart-block .btn-cart {
    flex: 1;
    padding: 16px;
    font-size: 15px;
}

.add-to-cart-block .btn-fav {
    width: 52px;
    height: 52px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 18px;
    cursor: pointer;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.add-to-cart-block .btn-fav:hover {
    border-color: var(--danger);
    color: var(--danger);
}

.product-tabs {
    margin-top: 50px;
    border-top: 2px solid var(--border);
}

.tab-buttons {
    display: flex;
    gap: 0;
}

.tab-btn {
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 600;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
    font-family: var(--font-body);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content { padding: 25px 0; display: none; }
.tab-content.active { display: block; }


.category-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 30px 0;
}

.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    position: sticky;
    top: 120px;
    height: fit-content;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-lighter);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-body);
    color: var(--dark);
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
    padding: 5px 0;
    cursor: pointer;
}

.filter-group label:hover { color: var(--primary); }

.filter-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.filter-group.filter-group-brands {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 6px;
}

.products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 18px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.products-header .count {
    font-size: 14px;
    color: var(--text-light);
}

.products-header select {
    padding: 8px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    background: var(--bg);
    color: var(--text);
}

.subcategory-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.subcategory-pill {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
}

.subcategory-pill:hover,
.subcategory-pill.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}


.cart-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.cart-table th {
    background: var(--bg-alt);
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    text-align: left;
}

.cart-table td {
    padding: 18px 20px;
    border-top: 1px solid var(--gray-lighter);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart-product h4 {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
}

.cart-product .variant {
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-qty button {
    width: 32px;
    height: 36px;
    background: var(--bg);
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.cart-qty input {
    width: 40px;
    height: 36px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
}

.cart-remove {
    color: var(--gray);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
}

.cart-remove:hover { color: var(--danger); }

.cart-summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.cart-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-body);
}

.cart-summary .row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

.cart-summary .total {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    border-top: 2px solid var(--border);
    padding-top: 15px;
    margin-top: 10px;
}


.checkout-steps {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.step-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    cursor: default;
}

.step-item.active {
    color: var(--white);
    background: var(--primary);
    font-weight: 600;
}

.step-item.done {
    color: var(--success);
    background: rgba(90, 143, 90, 0.08);
}

.checkout-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}

.checkout-card h2 {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-card h2 i { color: var(--primary); font-size: 20px; }

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}


.auth-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 0 20px;
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.auth-card h1 {
    font-size: 26px;
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

.auth-card .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

.auth-card .auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.auth-card .auth-link a {
    color: var(--primary);
    font-weight: 600;
}


.profile-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 30px 0;
}

.profile-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
}

.profile-sidebar .user-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 15px;
}

.profile-sidebar .user-info h3 {
    font-size: 16px;
    font-family: var(--font-body);
    margin-bottom: 4px;
}

.profile-sidebar .user-info p {
    font-size: 13px;
    color: var(--gray);
}

.profile-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text);
    border-radius: var(--radius);
    transition: var(--transition);
}

.profile-sidebar a:hover,
.profile-sidebar a.active {
    background: var(--bg);
    color: var(--primary);
}

.profile-sidebar a i { width: 18px; text-align: center; }

.profile-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}


.search-hero {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.search-hero h1 { font-size: 24px; margin-bottom: 15px; }

.search-hero .search-input-lg {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-hero .search-input-lg input {
    width: 100%;
    padding: 15px 25px 15px 50px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 16px;
    font-family: var(--font-body);
}

.search-hero .search-input-lg input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-hero .search-input-lg i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}


.error-page {
    text-align: center;
    padding: 80px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-page h1 {
    font-size: 100px;
    color: var(--primary-light);
    line-height: 1;
}

.error-page h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.error-page p {
    color: var(--text-light);
    margin-bottom: 25px;
}


.success-page {
    text-align: center;
    padding: 60px 20px;
    max-width: 550px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(90, 143, 90, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--success);
}

.success-page h1 {
    font-size: 26px;
    margin-bottom: 12px;
}

.success-page p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}


.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
}

.toast {
    padding: 14px 22px;
    border-radius: var(--radius);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-info { background: var(--primary); }

@keyframes slideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}


.flash-message {
    padding: 14px 22px;
    border-radius: var(--radius);
    margin: 15px 0;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-success {
    background: rgba(90,143,90,0.1);
    color: var(--success);
    border: 1px solid rgba(90,143,90,0.2);
}

.flash-error {
    background: rgba(196,77,77,0.1);
    color: var(--danger);
    border: 1px solid rgba(196,77,77,0.2);
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding: 20px;
}

.mobile-menu.active { left: 0; }

.mobile-menu .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu .menu-header h3 {
    font-size: 18px;
    font-family: var(--font-heading);
}

.mobile-menu .close-menu {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text);
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid var(--gray-lighter);
    font-weight: 500;
}

.mobile-menu a:hover { color: var(--primary); }

.mobile-menu .sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-menu .sub-menu {
    display: none;
    padding-left: 15px;
}

.mobile-menu .sub-menu.open { display: block; }

.mobile-menu .sub-menu a {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
    padding: 8px 0;
}


@media (max-width: 1024px) {
    .header-main { grid-template-columns: auto 1fr auto; gap: 15px; }
    .header-logo a { font-size: 26px; }
    .category-layout { grid-template-columns: 220px 1fr; }
    .product-detail { gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-mega { display: none; }
    .header-main { grid-template-columns: auto 1fr auto; padding: 12px 0; }
    .header-search { display: none; }
    .header-top { display: none; }
    .announcement-bar { font-size: 11px; height: 32px; }

    .hero-slide { min-height: 350px; }
    .hero-slide-content { padding: 30px; }
    .hero-slide-content h1 { font-size: 28px; }

    .category-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .category-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; display: none; max-height: none; overflow: visible; }
    .filter-sidebar.mobile-active { display: block; }

    .product-detail { grid-template-columns: 1fr; gap: 20px; }

    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }

    .profile-layout { grid-template-columns: 1fr; }

    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
        display: block;
        width: 100%;
    }
    .cart-table tr {
        margin-bottom: 15px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 15px;
    }

    .checkout-steps { flex-wrap: wrap; }
    .step-item { font-size: 12px; padding: 10px; }

    .auth-card { padding: 25px; }
}

@media (max-width: 480px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card-info { padding: 10px; }
    .product-card-info h3 { font-size: 12px; }
    .product-card-price .price { font-size: 14px; }

    .hero-slide-content h1 { font-size: 22px; }

    .success-actions { flex-direction: column; }
    .success-actions .btn { width: 100%; }
}


.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}


::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray); }


.user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    display: none;
    z-index: 100;
}

.user-dropdown:hover .user-dropdown-menu { display: block; }
.user-dropdown.open .user-dropdown-menu { display: block; }

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 13px;
    color: var(--text);
}

.user-dropdown-menu a:hover {
    background: var(--bg);
    color: var(--primary);
}

.user-dropdown-menu a i { width: 16px; color: var(--gray); }


.review-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-lighter);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.review-stars i { font-size: 13px; color: var(--warning); }
.review-stars i.empty { color: var(--gray-light); }

.review-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
}

.review-date {
    font-size: 12px;
    color: var(--gray);
    margin-top: 6px;
}


.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #d1ecf1; color: #0c5460; }
.status-shipped { background: #d4edda; color: #155724; }
.status-delivered { background: #c3e6cb; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }


.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.inspiration-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--bg-alt);
}

.inspiration-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.inspiration-card:hover img { transform: scale(1.05); }

.inspiration-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: var(--white);
}

.inspiration-card .overlay h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 4px;
}

.inspiration-card .overlay span {
    font-size: 13px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .inspiration-grid { grid-template-columns: repeat(2, 1fr); }
}


.mobile-filter-btn {
    display: none;
    width: 100%;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

@media (max-width: 768px) {
    .mobile-filter-btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
}


.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
}

.modal-box .close-modal {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--gray);
}

.modal-box h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: var(--font-body);
}


.pay-method {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 12px;
}

.pay-method.active {
    border-color: var(--primary);
}

.pay-method-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.pay-method-header i {
    font-size: 22px;
    color: var(--primary);
}

.pay-method-header h4 {
    font-size: 15px;
    font-family: var(--font-body);
}

.pay-method-body {
    padding: 0 20px 20px;
    display: none;
}

.pay-method.active .pay-method-body { display: block; }


.shipping-option {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 10px;
}

.shipping-option:hover,
.shipping-option.active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.03);
}


.addr-option {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    margin-bottom: 10px;
}

.addr-option:hover,
.addr-option.active {
    border-color: var(--primary);
}

.addr-option .addr-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.addr-option .addr-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}
