/* ==================== VARIABLES ==================== */
:root {
    --primary: #3599EA;
    --primary-dark: #2a7bc8;
    --primary-light: #e8f4fd;
    --orange: #fc5e1a;
    --dark: #1A1A2E;
    --text: #313131;
    --text-light: #666666;
    --text-muted: #969696;
    --bg: #FFFFFF;
    --bg-light: #F8F9FA;
    --border: rgba(219,219,219,0.3);
    --radius: 6px;
    --radius-sm: 6px;
    --radius-lg: 18px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

/* ==================== RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.503;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font-family: inherit; border: none; outline: none; }

/* ==================== CONTAINER ==================== */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER TOP ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
}

.header-top {
    background: white;
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    padding-bottom: 22px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    padding: 4px 0;
}

.main-nav a.active {
    text-decoration: underline;
}

.main-nav a:hover {
    opacity: 0.8;
}

.btn-login {
    background: var(--primary);
    color: white;
    padding: 7.5px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
}

.btn-login:hover {
    background: var(--primary-dark);
}

/* ==================== SEARCH BAR ==================== */
.header-search {
    background: var(--primary);
    padding: 7px 0;
    box-shadow: 0px 4.814px 4.814px rgba(0,0,0,0.09);
}

.header-search .container {
    display: flex;
    align-items: center;
    gap: 7px;
}

.search-brand {
    flex-shrink: 0;
    width: 110px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Brand rotator */
.brand-rotator {
    position: relative;
    width: 110px;
    height: 32px;
    overflow: hidden;
}

.brand-rotator-item {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.brand-rotator-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.brand-rotator-item img {
    height: 24px;
    width: auto;
    max-width: 108px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    height: 32px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 5px 14px;
    font-size: 13px;
    background: transparent;
    font-family: 'Poppins', sans-serif;
}

.search-box input::placeholder {
    color: #9e9e9e;
    font-size: 13px;
}

.search-btn {
    background: rgba(0,0,0,0.08);
    padding: 5px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-left: 1px solid #e0e0e0;
    transition: background 0.15s;
}
.search-btn:hover { background: rgba(0,0,0,0.15); }

/* ── Search autocomplete dropdown ── */
.search-dropdown {
    display: none;
    position: absolute;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    z-index: 99999;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    max-height: 420px;
    overflow-y: auto;
}

.sd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    text-decoration: none;
    color: #222;
    transition: background 0.12s;
    border-bottom: 1px solid #f4f4f4;
}
.sd-item:hover, .sd-item.sd-active {
    background: #f0f6ff;
}
.sd-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
    background: #f8f8f8;
}
.sd-info {
    flex: 1;
    min-width: 0;
}
.sd-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sd-name mark {
    background: transparent;
    color: var(--primary);
    font-weight: 700;
}
.sd-meta {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}
.sd-brand {
    font-size: 11px;
    color: #666;
    background: #f0f0f0;
    border-radius: 3px;
    padding: 1px 6px;
}
.sd-cat {
    font-size: 11px;
    color: var(--primary);
    background: #e8f0fe;
    border-radius: 3px;
    padding: 1px 6px;
}
.sd-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}
.sd-all {
    display: block;
    padding: 9px 14px;
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    background: #f8faff;
    text-align: center;
}
.sd-all:hover, .sd-all.sd-active {
    background: #e8f0fe;
}

.search-icon-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.header-icons {
    display: flex;
    gap: 7px;
    align-items: center;
}

.icon-box {
    width: 33px;
    height: 33px;
    border: 0.846px solid white;
    border-radius: 5.538px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.icon-box:hover {
    background: rgba(255,255,255,0.15);
}

.header-icon-img {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--orange);
    color: white;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== HERO ==================== */
.hero {
    padding: 24px 0;
    background: var(--bg-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 222px 1fr;
    gap: 20px;
}

/* Sidebar */
.category-sidebar {
    background: white;
    border-radius: var(--radius);
    overflow: visible;
    position: relative;
    z-index: 50;
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    font-size: 11.84px;
    font-weight: 500;
    color: #747474;
    transition: var(--transition);
    border-bottom: 1px solid rgba(219,219,219,0.15);
}

.category-list li:last-child a {
    border-bottom: none;
}

.category-list li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.cat-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.cat-icon-fa {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 14px;
}

.cat-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.cat-name {
    font-size: 11.84px;
    font-weight: 500;
    color: #747474;
}

.category-list li:first-child .cat-name {
    font-size: 14px;
}

.cat-count {
    font-size: 8px;
    color: #8e8b8b;
    font-weight: 400;
}

.cat-arrow {
    width: 5px;
    height: 7px;
    object-fit: contain;
    margin-left: auto;
    flex-shrink: 0;
}

/* Category submenu (flyout to the right) */
.category-list li {
    position: relative;
}

.cat-submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 210px;
    background: #fff;
    border-radius: 0 8px 8px 8px;
    box-shadow: 4px 8px 24px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 4px 0;
}

.category-list li:hover > .cat-submenu {
    display: block;
}

.cat-submenu a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 9px 16px !important;
    font-size: 12px !important;
    font-weight: 500;
    color: #555 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    white-space: nowrap;
    transition: var(--transition);
}

.cat-submenu a:last-child {
    border-bottom: none !important;
}

.cat-submenu a:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

.cat-submenu a i {
    font-size: 12px;
    color: var(--primary);
    width: 14px;
    text-align: center;
}

.has-submenu > a .fa-chevron-right {
    margin-left: auto;
    font-size: 9px;
    color: #aaa;
}

/* Hero Banner Slider */
.hero-slider {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
}

.hero-banner.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero-banner.slide.active {
    position: relative;
    opacity: 1;
    pointer-events: all;
}

.svg-slide {
    background: white;
}

.banner-svg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.banner-bg-img {
    position: absolute;
    right: 0; top: 0;
    width: 55%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 10px 10px 0;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 40px 48px;
    max-width: 50%;
    color: white;
}

.banner-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.banner-sub {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.banner-btn {
    display: inline-block;
    background: white;
    color: #0080e0;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.banner-btn:hover { opacity: 0.9; }

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: var(--transition);
    line-height: 1;
}

.slider-arrow:hover {
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dots .dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* ==================== PRODUCTS ==================== */
.products-section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 40px;
}

.section-header:first-child {
    margin-top: 0;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.see-more {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.see-more:hover {
    opacity: 0.8;
}

/* Product Slider */
.products-slider {
    display: flex;
    gap: 12px;
    overflow: visible;
    padding: 8px 2px 12px;
}
.products-slider .product-card {
    flex: 1 1 0;
    min-width: 0;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 6.323px;
    padding: 15.806px 7.903px 23.71px;
    transition: all 0.3s ease;
    border: 1.581px solid rgba(219,219,219,0.3);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(53,153,234,0.3);
}

.product-card-overlay {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 9.484px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0;
}

.product-card:hover .product-card-overlay {
    max-height: 50px;
    opacity: 1;
    margin-top: 12.645px;
}

.product-card:hover {
    border-color: rgba(53,153,234,0.6);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    padding-bottom: 12px;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7.903px;
    width: 105px;
    height: 30px;
    background: #3599EA;
    color: #fff;
    border: none;
    border-radius: 3.161px;
    font-size: 12.645px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    padding: 3.161px 9.484px;
    white-space: nowrap;
}

.btn-add-cart:hover {
    background: #2a7bc8;
}

.btn-add-cart img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.btn-compare-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29.206px;
    height: 30.826px;
    background: white;
    border: 1.185px solid #3599EA;
    border-radius: 5.173px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 6.323px;
}

.btn-compare-overlay:hover {
    background: rgba(53,153,234,0.1);
}

.btn-compare-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fc5e1a;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 3px;
    z-index: 2;
}

.product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: white;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    padding: 4px;
}

.product-wishlist img {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.product-wishlist:hover {
    opacity: 0.7;
}

.product-image {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 4px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: opacity 0.35s ease;
}

/* Hover image layer */
.product-image .img-hover {
    position: absolute;
    inset: 4px;
    max-height: calc(100% - 8px);
    max-width: calc(100% - 8px);
    margin: auto;
    object-fit: contain;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-card:hover .product-image img.img-main.has-hover {
    opacity: 0;
}

.product-card:hover .product-image .img-hover {
    opacity: 1;
}

.product-title {
    font-size: 11px;
    font-weight: 600;
    color: #313131;
    line-height: 1.5;
    height: 33px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.2px;
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.price-old {
    font-size: 14px;
    font-weight: 500;
    color: #fc5e1a;
    text-decoration: line-through;
}

.price-current {
    font-size: 16px;
    font-weight: 600;
    color: #484747;
}

.price-currency {
    font-size: 12px;
    font-weight: 500;
}

/* ==================== MAP ==================== */
.map-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.map-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.map-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0px 3.111px 12.911px rgba(0,0,0,0.17);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.map-wrapper iframe {
    width: 100%;
    height: 420px;
    display: block;
    border-radius: 18px;
    border: 0;
}

/* ==================== TRUST ==================== */
.trust-section {
    padding: 48px 0;
}

.trust-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border: 0.983px solid rgba(53,153,234,0.3);
    border-radius: 7.865px;
    padding: 26px 0;
}

.trust-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
}

.trust-icon {
    width: 63px;
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trust-item h4 {
    font-size: 15.7px;
    font-weight: 500;
    color: #3a3a3a;
}

.trust-item p {
    font-size: 9.8px;
    color: #969696;
    line-height: 1.5;
    font-weight: 400;
}

/* ==================== PARTNERS ==================== */
.partners-section {
    padding: 40px 0 32px;
}

.partners-title {
    font-size: 30px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #313131;
    text-align: center;
    margin-bottom: 30px;
}

.partners-outer {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scroll-partners 30s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partners-strip {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
    flex-shrink: 0;
}

.partners-strip img {
    height: 52px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: filter 0.3s, opacity 0.3s;
}

.partners-strip img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-partners {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== FOOTER ==================== */
.footer {
    background: #ffffff;
    padding: 54px 0 24px;
    box-shadow: 0px -10px 13.4px rgba(0,0,0,0.05);
}

.footer-logo-row {
    margin-bottom: 24px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo-img {
    height: 33px;
    width: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 66px;
    margin-bottom: 32px;
}

.footer-tagline {
    font-size: 16px;
    font-weight: 600;
    color: #3599EA;
    margin-bottom: 24px;
    line-height: 1.503;
}

.footer-contacts p {
    font-size: 16px;
    font-weight: 500;
    color: #9e9e9e;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 11px;
    color: #535353;
}

.footer-col ul li {
    margin-bottom: 11px;
}

.footer-col ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #9e9e9e;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.newsletter-label {
    font-size: 12px;
    font-weight: 500;
    color: #393939;
    margin-bottom: 14px;
    line-height: 1.503;
}

.newsletter-form {
    display: flex;
    height: 33px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 18px;
    width: 223px;
}

.newsletter-form input {
    flex: 1;
    padding: 0 11px;
    background: #eaeaea;
    color: #313131;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px 0 0 4px;
}

.newsletter-form input::placeholder {
    color: #bababa;
}

.newsletter-form button {
    width: 38px;
    background: #a6a6a6;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0;
}

.newsletter-form button:hover {
    background: var(--primary);
}

.send-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.newsletter-note {
    font-size: 12px;
    font-weight: 500;
    color: #8c8c8c;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 8.7px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.social-links a:hover {
    opacity: 0.7;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ==================== SIDEBAR DRAWERS ==================== */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }

.sidebar-drawer {
    position: fixed;
    top: 0;
    right: -540px;
    width: 520px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 26px 0 0 26px;
    overflow: hidden;
}
.sidebar-drawer.active { right: 0; }

.sidebar-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 36px 36px 16px;
}
.sidebar-header h3 {
    font-size: 20px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #3599EA;
}
.sidebar-close {
    background: none;
    cursor: pointer;
    padding: 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-close img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.sidebar-close:hover { opacity: 0.7; }

.sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 34px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 12px;
    border: 1px solid rgba(219,219,219,0.3);
    border-radius: 7px;
    background: white;
}
.sidebar-item-checkbox {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-item-checkbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sidebar-item-checkbox.checked {
    background: none;
}
.sidebar-item-img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-item-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.sidebar-item-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.sidebar-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.sidebar-item-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.sidebar-item-text h4 {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #313131;
    letter-spacing: 0.3px;
}
.sidebar-item-text p {
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
    color: #9e9e9e;
}
.item-delete {
    background: none;
    cursor: pointer;
    border: none;
    padding: 0;
    flex-shrink: 0;
}
.item-delete img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
.item-delete:hover { opacity: 0.7; }
.sidebar-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.item-prices { display: flex; align-items: flex-end; gap: 4px; }
.item-prices .price-current {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #484747;
}
.item-prices .price-old {
    font-size: 12px;
    font-weight: 500;
    color: #a5a5a5;
    text-decoration: line-through;
    text-align: center;
}
.item-badge {
    border: 0.882px solid #fc5e1a;
    color: #fc5e1a;
    background: none;
    font-size: 9px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    padding: 1px 3px;
    border-radius: 2.522px;
}
.qty-control {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Madimi One', sans-serif;
    font-size: 17px;
}
.qty-btn {
    background: none;
    cursor: pointer;
    font-size: 17px;
    color: #aaa;
    border: none;
    padding: 0;
    line-height: 1;
}
.qty-btn:hover { color: #474747; }
.qty-control span {
    font-size: 17px;
    font-weight: 400;
    color: #474747;
    min-width: 10px;
    text-align: center;
}

.sidebar-footer {
    padding: 24px 36px;
    box-shadow: 0px -1px 4px rgba(0,0,0,0.12);
    background: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.total-row span:first-child {
    font-size: 17px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #3a3a3a;
}
.total-price {
    font-size: 17px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #fc5e1a;
}
.btn-checkout {
    width: 100%;
    height: 46px;
    background: #3599EA;
    color: white;
    border-radius: 5px;
    font-size: 19px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-checkout:hover { background: #2a7bc8; }

/* Wishlist sidebar */
.wishlist-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.wishlist-item-info { flex: 1; }
.wishlist-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}
.wishlist-item-top h4 { font-size: 15px; font-weight: 700; }
.stock-status { font-size: 12px; color: var(--orange); margin-bottom: 8px; }
.wishlist-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-buy-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-buy-sm:hover { background: var(--primary-dark); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .container { max-width: 100%; }
    .products-slider .product-card {
        flex: 0 0 calc((100% - 48px) / 4);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }
    .main-nav {
        gap: 16px;
        order: 3;
        width: 100%;
        justify-content: center;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .category-sidebar {
        display: none;
    }
    .hero-slider {
        min-height: 280px;
    }
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
    .products-slider .product-card {
        flex: 0 0 calc((100% - 24px) / 2.3);
    }
    .trust-grid {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
    }
    .trust-item {
        flex: 0 0 calc(50% - 10px);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .partners-title {
        font-size: 24px;
    }
    .partners-strip img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .products-slider {
        gap: 10px;
    }
    .products-slider .product-card {
        flex: 0 0 calc((100% - 10px) / 1.7);
    }
    .product-card {
        padding: 8px;
    }
    .product-image {
        height: 100px;
    }
    .section-header h2 {
        font-size: 18px;
    }
}
