
/* MINH THANH LGBT - MongoDB E-commerce Theme */
:root{--deep-teal:#001E2B;--primary-green:#00ED64;--pressed-green:#00B545;--bg:#FFFFFF;--surface:#F9FBFA;--border:#E1E5E8;--text:#001E2B;--text-secondary:#5A6872;--text-tertiary:#8B9CA6;--shadow-sm:0 1px 3px rgba(0,30,43,0.06);--shadow-md:0 4px 12px rgba(0,30,43,0.08);--shadow-lg:0 8px 30px rgba(0,30,43,0.12);--shadow-xl:0 20px 60px rgba(0,30,43,0.15);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-full:9999px;--transition:0.25s cubic-bezier(0.4,0,0.2,1);--transition-fast:0.15s cubic-bezier(0.4,0,0.2,1);--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;--header-height:64px;--container-max:1200px;--container-padding:24px}
[data-theme="dark"]{--bg:#0A0F14;--surface:#111921;--border:#1E2A34;--text:#E8ECF0;--text-secondary:#8B9CA6;--text-tertiary:#5A6872;--shadow-sm:0 1px 3px rgba(0,0,0,0.2);--shadow-md:0 4px 12px rgba(0,0,0,0.3);--shadow-lg:0 8px 30px rgba(0,0,0,0.4);--shadow-xl:0 20px 60px rgba(0,0,0,0.5)}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.6;overflow-x:hidden;transition:background var(--transition),color var(--transition);-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{max-width:100%;height:auto;display:block}
button{cursor:pointer;border:none;background:none;font-family:inherit;font-size:inherit;color:inherit}
input,select,textarea{font-family:inherit;font-size:inherit}
:focus-visible{outline:2px solid var(--primary-green);outline-offset:2px}
::selection{background:var(--primary-green);color:var(--deep-teal)}
.container{max-width:var(--container-max);margin:0 auto;padding:0 var(--container-padding)}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 24px;border-radius:var(--radius-full);font-weight:600;font-size:14px;transition:all var(--transition);position:relative;overflow:hidden;white-space:nowrap}
.btn--primary{background:var(--primary-green);color:var(--deep-teal);box-shadow:0 2px 8px rgba(0,237,100,0.3)}
.btn--primary:hover{background:var(--pressed-green);transform:translateY(-1px);box-shadow:0 4px 16px rgba(0,237,100,0.4)}
.btn--primary:active{transform:translateY(0)}
.btn--outline{background:transparent;color:var(--primary-green);border:2px solid var(--primary-green)}
.btn--outline:hover{background:rgba(0,237,100,0.1)}
.btn--lg{padding:14px 32px;font-size:16px}
.btn--sm{padding:6px 16px;font-size:13px}
.btn--full{width:100%;justify-content:center}

/* Ripple */
.ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,0.35);transform:scale(0);animation:rippleAnim 0.6s ease-out;pointer-events:none}
@keyframes rippleAnim{to{transform:scale(4);opacity:0}}

/* HEADER */
.header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,0.85);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border);height:var(--header-height);transition:all var(--transition)}
[data-theme="dark"] .header{background:rgba(10,15,20,0.85)}
.header.scrolled{box-shadow:var(--shadow-md)}
.header__inner{display:flex;align-items:center;justify-content:space-between;height:var(--header-height)}
.header__logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;flex-shrink:0}
.header__logo-text{color:var(--deep-teal)}
[data-theme="dark"] .header__logo-text{color:#fff}
.header__nav{display:flex;gap:4px}
.header__nav-link{padding:8px 14px;border-radius:var(--radius-full);font-size:14px;font-weight:500;color:var(--text-secondary);transition:all var(--transition-fast)}
.header__nav-link:hover,.header__nav-link.active{color:var(--text);background:var(--surface)}
.header__actions{display:flex;align-items:center;gap:4px}
.header__icon-btn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-full);transition:all var(--transition-fast);position:relative;color:var(--text-secondary)}
.header__icon-btn:hover{background:var(--surface);color:var(--text)}
.header__icon-btn--relative{position:relative}
.badge{position:absolute;top:2px;right:2px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;background:var(--primary-green);color:var(--deep-teal);font-size:10px;font-weight:700;border-radius:var(--radius-full);padding:0 4px}
[data-theme="light"] .icon-moon{display:none}
[data-theme="dark"] .icon-sun{display:none}
[data-theme="dark"] .icon-moon{display:block}
.header__mobile-menu{display:none;width:40px;height:40px;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.header__mobile-menu span{display:block;width:20px;height:2px;background:var(--text);border-radius:2px;transition:all var(--transition)}
.header__mobile-menu.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.header__mobile-menu.active span:nth-child(2){opacity:0}
.header__mobile-menu.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* Search Bar */
.search-bar{position:absolute;top:100%;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--border);padding:16px 0;transform:translateY(-10px);opacity:0;pointer-events:none;transition:all var(--transition);box-shadow:var(--shadow-md)}
.search-bar.active{transform:translateY(0);opacity:1;pointer-events:all}
.search-bar__inner{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-full);padding:10px 20px}
.search-bar__inner input{flex:1;border:none;background:none;font-size:15px;color:var(--text);outline:none}
.search-bar__inner input::placeholder{color:var(--text-tertiary)}
#searchClose{color:var(--text-tertiary);transition:color var(--transition-fast)}
#searchClose:hover{color:var(--text)}

/* HERO */
.hero{position:relative;min-height:100vh;background:var(--deep-teal);display:flex;align-items:center;overflow:hidden;padding-top:var(--header-height)}
.hero__inner{display:flex;align-items:center;gap:60px;position:relative;z-index:2}
.hero__content{flex:1}
.hero__badge{display:inline-block;padding:6px 16px;background:rgba(0,237,100,0.15);color:var(--primary-green);font-size:13px;font-weight:600;border-radius:var(--radius-full);margin-bottom:20px;border:1px solid rgba(0,237,100,0.2)}
.hero__title{font-size:clamp(42px,6vw,72px);font-weight:800;line-height:1.1;color:#fff;margin-bottom:20px;letter-spacing:-1px}
.hero__title--accent{color:var(--primary-green)}
.hero__subtitle{font-size:18px;color:rgba(255,255,255,0.65);max-width:500px;margin-bottom:32px;line-height:1.7}
.hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:48px}
.hero__stats{display:flex;gap:40px}
.hero__stat{display:flex;flex-direction:column}
.hero__stat-num{font-size:32px;font-weight:800;color:#fff;display:inline}
.hero__stat-plus{font-size:24px;font-weight:700;color:var(--primary-green);display:inline}
.hero__stat-label{font-size:13px;color:rgba(255,255,255,0.5);margin-top:2px}
.hero__visual{flex:0 0 400px;position:relative;height:400px}
.hero__card{position:absolute;display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);border-radius:var(--radius-lg);backdrop-filter:blur(10px);color:rgba(255,255,255,0.9);font-weight:600;font-size:14px}
.hero__card--1{top:10%;left:10%;animation:heroFloat 6s ease-in-out infinite}
.hero__card--2{top:35%;right:5%;animation:heroFloat 6s ease-in-out infinite 2s}
.hero__card--3{bottom:5%;left:25%;animation:heroFloat 6s ease-in-out infinite 4s}
@keyframes heroFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-15px)}}
.hero__shapes{position:absolute;inset:0;overflow:hidden}
.hero__shape{position:absolute;border-radius:50%;background:rgba(0,237,100,0.06)}
.hero__shape--1{width:500px;height:500px;top:-200px;right:-100px}
.hero__shape--2{width:300px;height:300px;bottom:-100px;left:-50px;background:rgba(0,237,100,0.04)}
.hero__shape--3{width:200px;height:200px;top:30%;left:20%;background:rgba(0,237,100,0.03);animation:heroFloat 8s ease-in-out infinite 1s}
.hero__shape--4{width:150px;height:150px;bottom:20%;right:30%;background:rgba(0,237,100,0.05);animation:heroFloat 7s ease-in-out infinite 3s}
.hero__glow{position:absolute;width:600px;height:600px;top:50%;left:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(0,237,100,0.12) 0%,transparent 70%);pointer-events:none}
.hero__scroll-hint{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,0.3);animation:bounceDown 2s ease-in-out infinite;z-index:2}
@keyframes bounceDown{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(10px)}}

/* FEATURES */
.features{padding:80px 0;background:var(--bg)}
.features__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.feature-card{padding:28px 24px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);transition:all var(--transition)}
.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--primary-green)}
.feature-card__icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md);background:rgba(0,237,100,0.1);color:var(--primary-green);margin-bottom:16px}
.feature-card__title{font-size:15px;font-weight:700;margin-bottom:6px}
.feature-card__desc{font-size:13px;color:var(--text-secondary);line-height:1.5}

/* SECTION HEADER */
.section-header{text-align:center;margin-bottom:48px}
.section-title{font-size:clamp(28px,3vw,36px);font-weight:800;margin-bottom:12px;letter-spacing:-0.5px}
.section-desc{font-size:16px;color:var(--text-secondary);max-width:500px;margin:0 auto}

/* CATEGORIES */
.categories{padding:80px 0;background:var(--surface)}
.categories__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px}
.category-card{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 16px;border-radius:var(--radius-md);background:var(--bg);border:1px solid var(--border);cursor:pointer;transition:all var(--transition);text-align:center}
.category-card:hover,.category-card.active{border-color:var(--primary-green);box-shadow:0 0 0 1px var(--primary-green),var(--shadow-md);transform:translateY(-2px)}
.category-card__icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);color:var(--primary-green);font-size:24px}
.category-card__name{font-size:13px;font-weight:600;color:var(--text)}
.category-card__count{font-size:11px;color:var(--text-tertiary)}

/* PRODUCTS */
.products{padding:80px 0;background:var(--bg)}
.products__toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:32px;padding:16px 20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md)}
.products__filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.toolbar__select,.toolbar__input{padding:8px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);font-size:13px;transition:border-color var(--transition-fast)}
.toolbar__select:focus,.toolbar__input:focus{border-color:var(--primary-green);outline:none}
.toolbar__input{width:90px}
.toolbar__price-range{display:flex;align-items:center;gap:6px}
.toolbar__dash{color:var(--text-tertiary);font-weight:600}
.products__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;min-height:200px}

/* Product Card */
.product-card{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--bg);overflow:hidden;transition:all var(--transition);display:flex;flex-direction:column;animation:fadeInUp 0.4s ease-out both}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.product-card__img-wrap{position:relative;height:220px;background:var(--surface);overflow:hidden;display:flex;align-items:center;justify-content:center}
.product-card__img{max-width:70%;max-height:85%;object-fit:contain;transition:transform var(--transition)}
.product-card:hover .product-card__img{transform:scale(1.05)}
.product-card__badge{position:absolute;top:12px;left:12px;padding:4px 10px;background:var(--primary-green);color:var(--deep-teal);font-size:11px;font-weight:700;border-radius:var(--radius-full)}
.product-card__actions-top{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;gap:6px;opacity:0;transform:translateX(10px);transition:all var(--transition)}
.product-card:hover .product-card__actions-top{opacity:1;transform:translateX(0)}
.product-card__action-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-full);background:var(--bg);box-shadow:var(--shadow-md);color:var(--text-secondary);transition:all var(--transition-fast)}
.product-card__action-btn:hover{color:var(--primary-green);transform:scale(1.1)}
.product-card__action-btn.wishlisted{color:#EF4444}
.product-card__action-btn.wishlisted svg{fill:#EF4444}
.product-card__body{padding:16px;flex:1;display:flex;flex-direction:column}
.product-card__category{font-size:11px;font-weight:600;color:var(--primary-green);text-transform:uppercase;letter-spacing:0.5px;margin-bottom:6px}
.product-card__name{font-size:15px;font-weight:700;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
.product-card__brand{font-size:12px;color:var(--text-tertiary);margin-bottom:8px}
.product-card__rating{display:flex;align-items:center;gap:6px;font-size:13px;margin-bottom:10px}
.product-card__stars{color:#F59E0B;letter-spacing:1px}
.product-card__rating-num{color:var(--text-secondary)}
.product-card__price-row{display:flex;align-items:baseline;gap:8px;margin-top:auto;margin-bottom:12px}
.product-card__price{font-size:18px;font-weight:800;color:var(--primary-green)}
.product-card__old-price{font-size:13px;color:var(--text-tertiary);text-decoration:line-through}
.product-card__discount{font-size:11px;font-weight:700;color:#EF4444;background:rgba(239,68,68,0.1);padding:2px 8px;border-radius:var(--radius-full)}
.product-card__stock{font-size:11px;margin-bottom:8px;display:flex;align-items:center;gap:4px}
.product-card__stock--in{color:var(--primary-green)}
.product-card__stock--low{color:#F59E0B}
.product-card__stock--out{color:#EF4444}
.product-card__stock-dot{width:6px;height:6px;border-radius:50%;display:inline-block}
.product-card__stock--in .product-card__stock-dot{background:var(--primary-green)}
.product-card__stock--low .product-card__stock-dot{background:#F59E0B}
.product-card__stock--out .product-card__stock-dot{background:#EF4444}
.product-card__footer{display:flex;gap:8px;padding:0 16px 16px}
.product-card__btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;border-radius:var(--radius-full);font-size:13px;font-weight:600;transition:all var(--transition-fast)}
.product-card__btn--cart{background:var(--primary-green);color:var(--deep-teal)}
.product-card__btn--cart:hover{background:var(--pressed-green)}
.product-card__btn--view{background:var(--surface);color:var(--text-secondary);border:1px solid var(--border);flex:0 0 auto;padding:10px 14px}
.product-card__btn--view:hover{border-color:var(--text-secondary);color:var(--text)}
.products__more{text-align:center;margin-top:40px}
.products__empty{text-align:center;padding:60px 20px;color:var(--text-tertiary)}
.products__empty svg{margin:0 auto 16px}

/* Skeleton */
.skeleton{background:linear-gradient(90deg,var(--surface) 25%,var(--border) 50%,var(--surface) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-sm)}
.skeleton-card{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--bg);overflow:hidden}
.skeleton-card__img{height:220px}
.skeleton-card__body{padding:16px}
.skeleton-card__line{height:14px;margin-bottom:10px;border-radius:4px}
.skeleton-card__line--short{width:60%}
.skeleton-card__line--price{height:20px;width:40%;margin-top:12px}
@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

/* DEALS */
.deals{padding:80px 0;background:var(--deep-teal)}
.deals__banner{display:flex;align-items:center;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:var(--radius-xl);padding:48px;gap:48px;position:relative;overflow:hidden}
.deals__banner-content{flex:1;position:relative;z-index:2}
.deals__badge{display:inline-block;padding:6px 16px;background:var(--primary-green);color:var(--deep-teal);font-size:13px;font-weight:800;border-radius:var(--radius-full);margin-bottom:16px;animation:pulse 2s ease-in-out infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(0,237,100,0.4)}50%{box-shadow:0 0 0 12px rgba(0,237,100,0)}}
.deals__title{font-size:36px;font-weight:800;color:#fff;margin-bottom:12px;line-height:1.2}
.deals__title--accent{color:var(--primary-green)}
.deals__desc{font-size:16px;color:rgba(255,255,255,0.6);margin-bottom:24px}
.deals__countdown{display:flex;gap:12px;margin-bottom:32px}
.countdown__item{display:flex;flex-direction:column;align-items:center;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.1);border-radius:var(--radius-md);padding:12px 16px;min-width:70px}
.countdown__num{font-size:28px;font-weight:800;color:var(--primary-green);font-variant-numeric:tabular-nums}
.countdown__label{font-size:11px;color:rgba(255,255,255,0.5);margin-top:2px}
.countdown__sep{font-size:28px;font-weight:700;color:rgba(255,255,255,0.3);align-self:flex-start;padding-top:10px}
.deals__banner-visual{flex:0 0 300px;position:relative;height:300px;display:flex;align-items:center;justify-content:center}
.deals__circle{position:absolute;border-radius:50%;border:1px solid rgba(0,237,100,0.2)}
.deals__circle--1{width:250px;height:250px;animation:pulse 3s ease-in-out infinite}
.deals__circle--2{width:180px;height:180px;animation:pulse 3s ease-in-out infinite 1s}
.deals__circle--3{width:110px;height:110px;animation:pulse 3s ease-in-out infinite 2s}
.deals__icon{position:relative;z-index:2}

/* ABOUT */
.about{padding:80px 0;background:var(--bg)}
.about__grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.about__heading{font-size:28px;font-weight:800;margin-bottom:16px}
.about__text{font-size:15px;color:var(--text-secondary);line-height:1.7;margin-bottom:12px}
.about__features{display:flex;flex-direction:column;gap:12px;margin-top:20px}
.about__feature{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500}
.about__visual{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.about__card{padding:32px 24px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);text-align:center;flex:0 0 140px;transition:all var(--transition)}
.about__card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.about__card--1{border-top:3px solid var(--primary-green)}
.about__card--2{border-top:3px solid #3B82F6}
.about__card--3{border-top:3px solid #F59E0B}
.about__card-num{display:block;font-size:28px;font-weight:800;color:var(--text)}
.about__card-label{font-size:13px;color:var(--text-secondary);margin-top:4px}

/* CONTACT */
.contact{padding:80px 0;background:var(--surface)}
.contact__grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.contact__info{display:flex;flex-direction:column;gap:24px}
.contact__item{display:flex;gap:16px}
.contact__item-icon{width:48px;height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md);background:rgba(0,237,100,0.1);color:var(--primary-green)}
.contact__item h4{font-size:15px;font-weight:700;margin-bottom:4px}
.contact__item p{font-size:14px;color:var(--text-secondary)}
.contact__form{display:flex;flex-direction:column;gap:16px}
.form__group{display:flex;flex-direction:column;gap:6px}
.form__row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form__label{font-size:13px;font-weight:600}
.form__input{padding:12px 16px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);font-size:14px;transition:border-color var(--transition-fast)}
.form__input:focus{border-color:var(--primary-green);outline:none}
.form__textarea{resize:vertical;min-height:100px}

/* FOOTER */
.footer{background:var(--deep-teal);color:rgba(255,255,255,0.7);padding:60px 0 0}
.footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,0.08)}
.footer__logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;color:#fff;margin-bottom:12px}
.footer__about-text{font-size:14px;line-height:1.6;margin-bottom:16px}
.footer__social{display:flex;gap:8px}
.footer__social-link{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-full);background:rgba(255,255,255,0.08);color:rgba(255,255,255,0.7);transition:all var(--transition-fast)}
.footer__social-link:hover{background:var(--primary-green);color:var(--deep-teal)}
.footer__heading{font-size:15px;font-weight:700;color:#fff;margin-bottom:16px}
.footer__links ul{display:flex;flex-direction:column;gap:10px}
.footer__links a{font-size:14px;transition:color var(--transition-fast)}
.footer__links a:hover{color:var(--primary-green)}
.footer__newsletter p{font-size:14px;margin-bottom:12px}
.newsletter__form{display:flex;gap:8px}
.newsletter__input{flex:1;padding:10px 16px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12);border-radius:var(--radius-full);color:#fff;font-size:14px}
.newsletter__input::placeholder{color:rgba(255,255,255,0.4)}
.newsletter__input:focus{border-color:var(--primary-green);outline:none}
.footer__bottom{padding:20px 0;text-align:center;font-size:13px;color:rgba(255,255,255,0.4)}

/* DRAWERS */
.overlay{position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,0.5);opacity:0;pointer-events:none;transition:opacity var(--transition);backdrop-filter:blur(4px)}
.overlay.active{opacity:1;pointer-events:all}
.cart-drawer,.wishlist-drawer{position:fixed;top:0;right:0;width:400px;max-width:90vw;height:100vh;z-index:2001;background:var(--bg);border-left:1px solid var(--border);display:flex;flex-direction:column;transform:translateX(100%);transition:transform var(--transition);box-shadow:var(--shadow-xl)}
.cart-drawer.active,.wishlist-drawer.active{transform:translateX(0)}
.cart-drawer__header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid var(--border)}
.cart-drawer__header h3{font-size:18px;font-weight:700}
.cart-drawer__close{color:var(--text-secondary);transition:color var(--transition-fast)}
.cart-drawer__close:hover{color:var(--text)}
.cart-drawer__body{flex:1;overflow-y:auto;padding:16px 24px}
.cart-drawer__footer{padding:16px 24px 24px;border-top:1px solid var(--border)}
.cart-drawer__subtotal,.cart-drawer__shipping{display:flex;justify-content:space-between;font-size:14px;color:var(--text-secondary);margin-bottom:8px}
.cart-drawer__total{display:flex;justify-content:space-between;font-size:18px;font-weight:800;padding-top:12px;margin-bottom:16px;border-top:1px solid var(--border)}
.cart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--text-tertiary);gap:12px}
.cart-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}
.cart-item__img{width:70px;height:70px;flex-shrink:0;background:var(--surface);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center}
.cart-item__img img{max-width:80%;max-height:80%;object-fit:contain}
.cart-item__info{flex:1;min-width:0}
.cart-item__name{font-size:14px;font-weight:600;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-item__price{font-size:13px;color:var(--primary-green);font-weight:700}
.cart-item__qty{display:flex;align-items:center;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}
.cart-item__qty button{width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:var(--surface);color:var(--text);font-size:16px;font-weight:600;transition:background var(--transition-fast)}
.cart-item__qty button:hover{background:var(--border)}
.cart-item__qty span{width:36px;text-align:center;font-size:14px;font-weight:600}
.cart-item__remove{color:var(--text-tertiary);font-size:13px;transition:color var(--transition-fast);flex-shrink:0}
.cart-item__remove:hover{color:#EF4444}

/* MODALS */
.modal-overlay{position:fixed;inset:0;z-index:3000;background:rgba(0,0,0,0.6);display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity var(--transition);padding:20px;backdrop-filter:blur(4px)}
.modal-overlay.active{opacity:1;pointer-events:all}
.modal{background:var(--bg);border-radius:var(--radius-lg);width:100%;max-width:720px;max-height:85vh;overflow-y:auto;position:relative;transform:scale(0.9) translateY(20px);transition:transform var(--transition);box-shadow:var(--shadow-xl)}
.modal-overlay.active .modal{transform:scale(1) translateY(0)}
.modal__close{position:absolute;top:16px;right:16px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-full);background:var(--surface);color:var(--text-secondary);z-index:10;transition:all var(--transition-fast)}
.modal__close:hover{background:var(--border);color:var(--text)}
.modal__body{padding:32px}
.modal__product-layout{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.modal__product-img{background:var(--surface);border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;min-height:300px;overflow:hidden}
.modal__product-img img{max-width:85%;max-height:85%;object-fit:contain}
.modal__product-info{display:flex;flex-direction:column;gap:12px}
.modal__product-category{font-size:12px;font-weight:700;color:var(--primary-green);text-transform:uppercase;letter-spacing:0.5px}
.modal__product-name{font-size:22px;font-weight:800}
.modal__product-brand{font-size:13px;color:var(--text-tertiary)}
.modal__product-rating{display:flex;align-items:center;gap:8px}
.modal__product-rating .stars{color:#F59E0B}
.modal__product-rating .count{font-size:13px;color:var(--text-secondary)}
.modal__product-price-row{display:flex;align-items:baseline;gap:10px;margin-top:8px}
.modal__product-price{font-size:28px;font-weight:800;color:var(--primary-green)}
.modal__product-old-price{font-size:16px;color:var(--text-tertiary);text-decoration:line-through}
.modal__product-desc{font-size:14px;color:var(--text-secondary);line-height:1.7}
.modal__product-actions{display:flex;gap:10px;margin-top:12px}

/* Checkout */
.modal--checkout{max-width:560px}
.checkout__title{font-size:22px;font-weight:800;margin-bottom:24px}
.checkout__form{display:flex;flex-direction:column;gap:16px}
.payment__options{display:flex;gap:10px;flex-wrap:wrap}
.payment__option{cursor:pointer}
.payment__option input{display:none}
.payment__card{display:flex;align-items:center;gap:6px;padding:10px 18px;border:2px solid var(--border);border-radius:var(--radius-sm);font-size:14px;font-weight:500;transition:all var(--transition-fast)}
.payment__option input:checked+.payment__card{border-color:var(--primary-green);background:rgba(0,237,100,0.05);color:var(--primary-green)}
.checkout__summary{padding:16px;background:var(--surface);border-radius:var(--radius-md);border:1px solid var(--border)}
.checkout__summary-row{display:flex;justify-content:space-between;font-size:14px;margin-bottom:6px}
.checkout__summary-row--total{font-size:18px;font-weight:800;padding-top:8px;margin-top:8px;border-top:1px solid var(--border);margin-bottom:0}

/* Success */
.modal--success{max-width:420px}
.modal__body--center{text-align:center;padding:48px 32px}
.success__icon{margin-bottom:20px}
.success__title{font-size:22px;font-weight:800;margin-bottom:8px}
.success__text{font-size:15px;color:var(--text-secondary);margin-bottom:8px}
.success__order-id{font-size:13px;color:var(--text-tertiary);margin-bottom:24px;font-family:monospace}

/* Toast */
.toast-container{position:fixed;bottom:24px;right:24px;z-index:4000;display:flex;flex-direction:column;gap:8px}
.toast{background:var(--bg);padding:14px 20px;border-radius:var(--radius-md);box-shadow:var(--shadow-xl);max-width:350px;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;animation:toastIn 0.3s ease-out;border:1px solid var(--border)}
.toast--success{border-left:4px solid var(--primary-green)}
.toast--error{border-left:4px solid #EF4444}
.toast.removing{animation:toastOut 0.3s ease-in forwards}
@keyframes toastIn{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:translateX(0)}}
@keyframes toastOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(40px)}}

/* Back to top */
.back-to-top{position:fixed;bottom:24px;left:24px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-full);background:var(--primary-green);color:var(--deep-teal);opacity:0;pointer-events:none;transition:all var(--transition);box-shadow:0 4px 12px rgba(0,237,100,0.3)}
.back-to-top.visible{opacity:1;pointer-events:all}
.back-to-top:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,237,100,0.5)}

/* RESPONSIVE - Tablet */
@media(max-width:1024px){
    .hero__inner{text-align:center}
    .hero__subtitle{margin:0 auto 32px}
    .hero__actions{justify-content:center}
    .hero__stats{justify-content:center}
    .hero__visual{display:none}
    .features__grid{grid-template-columns:repeat(2,1fr)}
    .about__grid{grid-template-columns:1fr;gap:40px}
    .contact__grid{grid-template-columns:1fr}
    .footer__grid{grid-template-columns:repeat(2,1fr)}
    .deals__banner{flex-direction:column;text-align:center}
    .deals__banner-visual{display:none}
    .deals__countdown{justify-content:center}
    .deals__banner-content .btn{margin:0 auto}
    .modal__product-layout{grid-template-columns:1fr}
}

/* RESPONSIVE - Mobile */
@media(max-width:768px){
    :root{--container-padding:16px}
    .header__nav{display:none}
    .header__nav.active{display:flex;flex-direction:column;position:absolute;top:var(--header-height);left:0;right:0;background:var(--bg);border-bottom:1px solid var(--border);padding:12px 16px;box-shadow:var(--shadow-md)}
    .header__mobile-menu{display:flex}
    .hero__title{font-size:36px}
    .hero__stats{gap:24px}
    .hero__stat-num{font-size:24px}
    .products__toolbar{flex-direction:column;align-items:stretch}
    .products__grid{grid-template-columns:repeat(2,1fr);gap:12px}
    .categories__grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}
    .footer__grid{grid-template-columns:1fr}
    .form__row{grid-template-columns:1fr}
    .deals__title{font-size:24px}
    .countdown__item{padding:8px 12px;min-width:56px}
    .countdown__num{font-size:22px}
}

/* RESPONSIVE - Small Mobile */
@media(max-width:480px){
    .features__grid{grid-template-columns:1fr}
    .products__grid{grid-template-columns:1fr}
    .hero__stats{flex-direction:column;align-items:center;gap:16px}
    .hero__actions{flex-direction:column;align-items:center}
    .hero__actions .btn{width:100%;justify-content:center}
    .product-card__img-wrap{height:180px}
}

/* Scrollbar */
::-webkit-scrollbar{width:8px}
::-webkit-scrollbar-track{background:var(--surface)}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:var(--text-tertiary)}
@media print{.header,.footer,.back-to-top,.toast-container{display:none}}
