:root{--primary:#006233;--primary-dark:#004d28;--primary-light:#00875a;--primary-bg:#e8f5e9;--secondary:#DC2626;--success:#25D366;--accent:#C9A227;--accent-light:#D4AF37;--warning:#C9A227;--info:#3B82F6;--bg:#F8FAFC;--white:#FFFFFF;--text:#0F172A;--text-secondary:#475569;--text-muted:#94A3B8;--border:#E2E8F0;--border-light:#F1F5F9;--shadow-sm:0 1px 2px rgba(0,0,0,0.05);--shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);--shadow-lg:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);--shadow-xl:0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px -5px rgba(0,0,0,0.04);--radius:16px;--radius-md:12px;--radius-sm:8px;--transition:all 0.2s cubic-bezier(0.4, 0, 0.2, 1)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;min-height:100vh;-webkit-font-smoothing:antialiased}.container{max-width:1280px;margin:0 auto;padding:0 24px}a{color:var(--primary);text-decoration:none;transition:var(--transition)}a:hover{color:var(--primary-dark)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;border-radius:var(--radius-sm);font-weight:600;cursor:pointer;border:none;font-size:14px;transition:var(--transition);text-decoration:none!important;white-space:nowrap}.btn:active{transform:scale(.98)}.btn-sm{padding:8px 16px;font-size:13px;border-radius:6px}.btn-lg{padding:16px 32px;font-size:16px}.btn-block{width:100%}.btn-primary{background:linear-gradient(135deg,var(--primary) 0,var(--primary-light) 100%);color:#fff;box-shadow:0 4px 14px rgba(5,150,105,.4)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(5,150,105,.5);color:#fff}.btn-secondary{background:var(--text-secondary);color:#fff}.btn-outline{background:0 0;border:2px solid var(--primary);color:var(--primary)}.btn-outline:hover{background:var(--primary);color:#fff}.btn-success{background:var(--success);color:#fff}.btn-white{background:#fff;color:var(--primary);box-shadow:var(--shadow)}.btn-white:hover{background:var(--bg);transform:translateY(-2px)}.btn-icon{background:0 0;border:none;cursor:pointer;font-size:16px;padding:6px;border-radius:6px;transition:var(--transition)}.btn-icon:hover{background:var(--border-light);transform:scale(1.1)}.btn-danger{color:var(--secondary)}.btn-ghost{background:var(--border-light);color:var(--text-secondary)}.btn-ghost:hover{background:var(--border)}.toast{position:fixed;top:90px;right:24px;z-index:1000;padding:16px 24px;border-radius:var(--radius-sm);box-shadow:var(--shadow-xl);cursor:pointer;animation:slideIn .4s cubic-bezier(.16,1,.3,1);max-width:400px;backdrop-filter:blur(8px)}.toast-success{background:linear-gradient(135deg,rgba(209,250,229,.95),rgba(167,243,208,.95));color:#004d28;border-left:4px solid var(--primary)}.toast-error{background:linear-gradient(135deg,rgba(254,226,226,.95),rgba(254,202,202,.95));color:#991b1b;border-left:4px solid var(--secondary)}@keyframes slideIn{from{transform:translateX(120%);opacity:0}to{transform:translateX(0);opacity:1}}.alert{padding:16px 20px;border-radius:var(--radius-sm);margin-bottom:20px;display:flex;align-items:center;gap:12px}.alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.alert-warning{background:#fffbeb;color:#92400e;border:1px solid #fde68a}.alert-success{background:#f0fdf4;color:#004d28;border:1px solid #bbf7d0}.navbar{background:rgba(255,255,255,.95);backdrop-filter:blur(12px);box-shadow:0 1px 3px rgba(0,0,0,.05);position:sticky;top:0;z-index:100;border-bottom:1px solid var(--border-light)}.navbar .container{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;gap:24px}.logo{font-size:24px;font-weight:800;color:var(--text);display:flex;align-items:center;gap:4px}.logo span{background:linear-gradient(135deg,var(--primary) 0,var(--primary-light) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.logo:hover{text-decoration:none}.search-form{flex:1;max-width:480px;display:flex;background:var(--bg);border-radius:var(--radius-md);border:2px solid transparent;transition:var(--transition)}.search-form:focus-within{border-color:var(--primary);background:#fff;box-shadow:0 0 0 4px rgba(5,150,105,.1)}.search-form input{flex:1;padding:12px 18px;border:none;background:0 0;font-size:14px;outline:0}.search-form button{background:var(--primary);color:#fff;border:none;padding:12px 18px;border-radius:0 var(--radius-md) var(--radius-md) 0;cursor:pointer;transition:var(--transition)}.search-form button:hover{background:var(--primary-dark)}.nav-links{display:flex;align-items:center;gap:12px}.nav-link{color:var(--text-secondary);font-weight:500;padding:10px 16px;border-radius:var(--radius-sm);transition:var(--transition)}.nav-link:hover{background:var(--border-light);color:var(--text);text-decoration:none}.nav-link.active{background:var(--primary);color:#fff}.user-greeting{color:var(--text-muted);font-size:14px;padding:8px 12px;background:var(--border-light);border-radius:20px}.mobile-menu-btn{display:none;align-items:center;justify-content:center;background:var(--border-light);border:none;font-size:20px;cursor:pointer;padding:10px 12px;border-radius:var(--radius-sm);transition:var(--transition)}.mobile-menu-btn:hover{background:var(--border)}.mobile-menu-btn.active{background:var(--primary-bg);color:var(--primary)}.mobile-menu-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:998;opacity:0;transition:opacity .3s ease;backdrop-filter:blur(4px)}.mobile-menu-overlay.open{display:block;opacity:1}.mobile-menu{position:fixed;top:0;right:-100%;width:min(320px,85vw);height:100vh;background:#fff;padding:0;box-shadow:var(--shadow-xl);display:flex;flex-direction:column;z-index:999;transition:right .3s cubic-bezier(.4, 0, .2, 1);overflow-y:auto}.mobile-menu.open{right:0}.mobile-menu-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border-light);background:var(--bg)}.mobile-menu-header .logo{font-size:20px}.mobile-menu-close{background:0 0;border:none;font-size:24px;cursor:pointer;padding:8px;border-radius:var(--radius-sm);color:var(--text-muted);transition:var(--transition)}.mobile-menu-close:hover{background:var(--border-light);color:var(--text)}.mobile-menu-content{flex:1;padding:16px}.mobile-menu-content a{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:var(--radius-sm);color:var(--text);font-weight:500;font-size:15px;transition:var(--transition)}.mobile-menu-content a:hover{background:var(--border-light);text-decoration:none}.mobile-menu-content a.active{background:var(--primary-bg);color:var(--primary)}.mobile-user{display:flex;align-items:center;gap:12px;font-weight:600;padding:16px;margin:0 -16px 16px;background:linear-gradient(135deg,var(--primary-bg) 0,#d1fae5 100%);border-bottom:1px solid var(--border)}.mobile-user-avatar{width:44px;height:44px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700}.mobile-menu-footer{padding:16px 20px;border-top:1px solid var(--border-light);background:var(--bg)}.mobile-menu-footer .btn{width:100%;margin-bottom:10px}.mobile-menu-footer .btn:last-child{margin-bottom:0}.bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);padding:8px 0;padding-bottom:max(8px,env(safe-area-inset-bottom));z-index:100;box-shadow:0 -4px 20px rgba(0,0,0,.08)}.bottom-nav-items{display:flex;justify-content:space-around;align-items:center;max-width:500px;margin:0 auto}.bottom-nav-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 16px;color:var(--text-muted);font-size:10px;font-weight:500;text-decoration:none;border-radius:var(--radius-sm);transition:var(--transition);position:relative}.bottom-nav-item span{font-size:11px}.bottom-nav-item:hover{color:var(--primary);text-decoration:none}.bottom-nav-item.active{color:var(--primary)}.bottom-nav-item.active::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:32px;height:3px;background:var(--primary);border-radius:0 0 3px 3px}@media (max-width:768px){.bottom-nav{display:block}}.hero{background:linear-gradient(135deg,var(--primary) 0,#006233 50%,var(--primary-light) 100%);color:#fff;text-align:center;padding:80px 24px;position:relative;overflow:hidden}.hero::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.hero>*{position:relative}.hero h1{font-size:3rem;margin-bottom:16px;font-weight:800;text-shadow:0 2px 4px rgba(0,0,0,.1)}.hero p{font-size:1.2rem;margin-bottom:32px;opacity:.95;max-width:600px;margin-left:auto;margin-right:auto}.hero-stats{display:flex;justify-content:center;gap:48px;margin-bottom:32px;flex-wrap:wrap}.hero-stat{text-align:center}.hero-stat strong{display:block;font-size:2.5rem;font-weight:800;text-shadow:0 2px 4px rgba(0,0,0,.1)}.hero-stat span{opacity:.9;font-size:.95rem}.filters{background:#fff;padding:20px 0;border-bottom:1px solid var(--border-light);position:sticky;top:68px;z-index:50}.filter-form{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.filter-group select{padding:12px 18px;border:2px solid var(--border);border-radius:var(--radius-sm);font-size:14px;background:#fff;min-width:170px;cursor:pointer;transition:var(--transition);font-weight:500;color:var(--text-secondary)}.filter-group select:focus{outline:0;border-color:var(--primary)}.filter-group select:hover{border-color:var(--text-muted)}.filter-price{display:flex;align-items:center;gap:6px}.filter-price input{padding:10px 12px;border:2px solid var(--border);border-radius:var(--radius-sm);font-size:13px;width:85px}.filter-price input:focus{outline:0;border-color:var(--primary)}.filter-price span{color:var(--text-muted)}.filter-checkbox{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#fff;border:2px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;font-size:13px;font-weight:500;color:var(--text-secondary);white-space:nowrap;transition:var(--transition)}.filter-checkbox:hover{border-color:var(--primary)}.filter-checkbox input{accent-color:var(--primary);width:16px;height:16px}.filter-checkbox input:checked+span{color:var(--primary)}.popular-searches{padding:12px 0;background:var(--border-light);border-bottom:1px solid var(--border)}.popular-searches .container{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.popular-searches>.container>span{font-size:13px;color:var(--text-muted);font-weight:500}.search-tag{padding:6px 14px;background:#fff;border:1px solid var(--border);border-radius:20px;font-size:13px;color:var(--text-secondary);transition:var(--transition)}.search-tag:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}@media (max-width:768px){.filter-price{order:10;width:100%}.filter-price input{flex:1;width:auto}.filter-checkbox{order:11}.popular-searches .container{justify-content:flex-start}}.section{padding:56px 0}.section-gray{background:var(--bg)}.section-title{font-size:1.75rem;margin-bottom:8px;font-weight:700;color:var(--text)}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;flex-wrap:wrap;gap:16px}.section-footer{text-align:center;margin-top:40px}.result-count{color:var(--text-muted);font-size:14px;background:var(--border-light);padding:6px 14px;border-radius:20px}.shops-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:24px}.shop-card{background:#fff;border-radius:var(--radius);padding:28px 24px;text-align:center;color:var(--text);box-shadow:var(--shadow-sm);transition:var(--transition);border:1px solid var(--border-light)}.shop-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);text-decoration:none;border-color:var(--primary-bg)}.shop-avatar{width:72px;height:72px;background:linear-gradient(135deg,var(--primary) 0,var(--primary-light) 100%);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;margin:0 auto 18px;box-shadow:0 4px 14px rgba(5,150,105,.3)}.shop-avatar.large{width:110px;height:110px;font-size:44px}.shop-logo{width:72px;height:72px;border-radius:50%;object-fit:cover;margin-bottom:18px;border:3px solid var(--border-light)}.shop-logo-large{width:110px;height:110px;border-radius:50%;object-fit:cover;margin-bottom:18px;border:4px solid rgba(255,255,255,.3);box-shadow:var(--shadow-lg)}.shop-card h3{font-size:1.1rem;margin-bottom:6px;font-weight:600}.shop-location{color:var(--text-muted);font-size:.9rem}.shop-meta{display:flex;justify-content:center;gap:20px;margin-top:16px;font-size:.85rem;color:var(--text-muted);padding-top:16px;border-top:1px solid var(--border-light)}.shop-header{background:linear-gradient(135deg,var(--primary) 0,#006233 50%,var(--primary-light) 100%);color:#fff;text-align:center;padding:56px 24px;background-size:cover;background-position:center;position:relative}.shop-header::before{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.1),rgba(0,0,0,.3))}.shop-header>*{position:relative}.shop-header h1{font-size:2.25rem;margin-bottom:8px;font-weight:700}.shop-description{max-width:600px;margin:18px auto;opacity:.95}.shop-stats-row{display:flex;justify-content:center;gap:48px;margin:28px 0}.shop-stat{text-align:center}.shop-stat strong{display:block;font-size:1.75rem;font-weight:700}.shop-stat span{font-size:.9rem;opacity:.9}.shop-social{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}.social-link{background:rgba(255,255,255,.15);backdrop-filter:blur(4px);padding:10px 20px;border-radius:24px;color:#fff;font-size:14px;transition:var(--transition);font-weight:500}.social-link:hover{background:rgba(255,255,255,.25);text-decoration:none;color:#fff}.shop-share{margin-top:24px}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:28px}.product-card{background:#fff;border-radius:var(--radius);overflow:hidden;color:var(--text);box-shadow:var(--shadow-sm);transition:var(--transition);border:1px solid var(--border-light)}.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);text-decoration:none}.product-image{height:220px;background:linear-gradient(135deg,#f8fafc 0,#f1f5f9 100%);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s cubic-bezier(.4, 0, .2, 1)}.product-card:hover .product-image img{transform:scale(1.08)}.no-image{font-size:56px;opacity:.2}.product-info{padding:20px}.product-title{font-size:1rem;margin-bottom:10px;line-height:1.5;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text)}.product-location,.product-shop{font-size:.875rem;color:var(--text-muted);margin-bottom:4px}.product-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid var(--border-light)}.product-price{display:flex;flex-direction:column;gap:2px}.price{font-size:1.25rem;font-weight:700;color:var(--primary)}.price-cts{font-size:.75rem;color:var(--text-muted);font-weight:400;margin-left:4px}.old-price{font-size:.875rem;color:var(--text-muted);text-decoration:line-through}.product-views{font-size:.875rem;color:var(--text-muted)}.badge{position:absolute;top:14px;right:14px;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:700;box-shadow:var(--shadow)}.badge-sale{background:linear-gradient(135deg,var(--secondary) 0,#ef4444 100%);color:#fff}.badge-stock{background:linear-gradient(135deg,var(--warning) 0,#fbbf24 100%);color:#fff;left:14px;right:auto}.badge-large{padding:10px 18px;font-size:14px}.badge-success{background:var(--primary-bg);color:var(--primary-dark)}.badge-gray{background:var(--border);color:var(--text-secondary)}.breadcrumb{margin-bottom:28px;font-size:14px;color:var(--text-muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap}.breadcrumb a{color:var(--text-muted)}.breadcrumb a:hover{color:var(--primary)}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:48px;background:#fff;border-radius:var(--radius);padding:40px;box-shadow:var(--shadow);border:1px solid var(--border-light)}.main-image{height:450px;background:linear-gradient(135deg,#f8fafc 0,#f1f5f9 100%);border-radius:var(--radius-md);overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative;cursor:zoom-in}.main-image img{max-width:100%;max-height:100%;object-fit:contain}.thumbnails{display:flex;gap:14px;margin-top:18px}.thumbnails img{width:88px;height:88px;object-fit:cover;border-radius:var(--radius-sm);cursor:pointer;border:3px solid transparent;transition:var(--transition);opacity:.7}.thumbnails img.active,.thumbnails img:hover{border-color:var(--primary);opacity:1;box-shadow:0 0 0 4px rgba(5,150,105,.15)}.product-details h1{font-size:2rem;margin-bottom:18px;font-weight:700}.price-section{margin-bottom:24px;display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}.price-big{font-size:2.25rem;font-weight:800;color:var(--primary)}.price-centimes{font-size:.9rem;color:var(--text-muted);font-weight:400}.old-price-big{font-size:1.25rem;color:var(--text-muted);text-decoration:line-through}.product-meta-info{margin-bottom:28px}.product-meta-info p{margin-bottom:10px;color:var(--text-secondary);display:flex;align-items:center;gap:8px}.product-meta-info a{color:var(--primary);font-weight:600}.low-stock{color:var(--warning)!important;font-weight:600}.out-of-stock{color:var(--secondary)!important;font-weight:600}.product-description{margin-bottom:28px;padding:24px;background:var(--bg);border-radius:var(--radius-sm);border:1px solid var(--border-light)}.product-description h3{margin-bottom:12px;font-weight:600}.product-description p{color:var(--text-secondary);line-height:1.7}.share-section{display:flex;align-items:center;gap:14px;margin-bottom:24px;padding:16px 0;border-top:1px solid var(--border-light);border-bottom:1px solid var(--border-light)}.share-section span{color:var(--text-muted);font-size:14px}.share-btn{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;background:var(--border-light);border:none;cursor:pointer;transition:var(--transition)}.share-btn:hover{transform:scale(1.1)}.share-btn.whatsapp:hover{background:#25d366;color:#fff}.share-btn.facebook:hover{background:#1877f2;color:#fff}.share-btn.copy:hover{background:var(--primary);color:#fff}.seller-social{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}.seller-social a{padding:10px 18px;background:var(--border-light);border-radius:24px;font-size:14px;color:var(--text-secondary);transition:var(--transition)}.seller-social a:hover{background:var(--border);color:var(--text);text-decoration:none}.order-form{background:linear-gradient(135deg,var(--primary-bg) 0,#d1fae5 100%);padding:28px;border-radius:var(--radius);border:1px solid #a7f3d0}.order-form h3{margin-bottom:24px;text-align:center;font-weight:600}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-group{margin-bottom:18px}.form-group label{display:block;margin-bottom:8px;font-weight:600;font-size:14px;color:var(--text)}.form-group input,.form-group select,.form-group textarea{width:100%;padding:14px 18px;border:2px solid var(--border);border-radius:var(--radius-sm);font-size:14px;transition:var(--transition);background:#fff}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 4px rgba(5,150,105,.1)}.form-group textarea{resize:vertical;min-height:88px}.form-hint{font-size:12px;color:var(--text-muted);margin-top:6px}.order-total{text-align:center;font-size:1.25rem;margin:24px 0;padding:18px;background:#fff;border-radius:var(--radius-sm);font-weight:600;color:var(--text);border:2px solid var(--border-light)}.order-total strong{color:var(--primary);font-size:1.5rem}.order-success{text-align:center;padding:48px}.success-icon{font-size:64px;margin-bottom:20px}.order-success h3{color:var(--primary);margin-bottom:12px}.order-success p{color:var(--text-secondary);margin-bottom:24px}.lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.95);z-index:1000;align-items:center;justify-content:center;backdrop-filter:blur(8px)}.lightbox.open{display:flex}.lightbox img{max-width:90%;max-height:90%;object-fit:contain;border-radius:var(--radius-sm)}.lightbox-close{position:absolute;top:24px;right:24px;background:rgba(255,255,255,.1);border:none;color:#fff;font-size:28px;cursor:pointer;width:48px;height:48px;border-radius:50%;transition:var(--transition)}.lightbox-close:hover{background:rgba(255,255,255,.2)}.empty-state{text-align:center;padding:72px 24px;background:#fff;border-radius:var(--radius);border:2px dashed var(--border)}.empty-icon{font-size:72px;margin-bottom:20px;opacity:.5}.empty-state h3{margin-bottom:10px;color:var(--text)}.empty-state p{color:var(--text-muted);margin-bottom:24px}.empty-state-small{text-align:center;padding:40px;color:var(--text-muted)}.cta-section{padding:56px 0}.cta-card{background:linear-gradient(135deg,var(--primary) 0,#006233 50%,var(--primary-light) 100%);color:#fff;text-align:center;padding:56px 40px;border-radius:var(--radius);box-shadow:var(--shadow-xl);position:relative;overflow:hidden}.cta-card::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.cta-card>*{position:relative}.cta-card h2{margin-bottom:14px;font-size:1.75rem;font-weight:700}.cta-card p{margin-bottom:28px;opacity:.95;max-width:500px;margin-left:auto;margin-right:auto}.auth-page{min-height:calc(100vh - 200px);display:flex;align-items:center;justify-content:center;padding:48px 24px;background:linear-gradient(135deg,var(--bg) 0,var(--border-light) 100%)}.auth-card{background:#fff;border-radius:var(--radius);padding:48px;width:100%;max-width:440px;box-shadow:var(--shadow-xl);border:1px solid var(--border-light)}.auth-card-wide{max-width:560px}.auth-header{text-align:center;margin-bottom:36px}.auth-header h1{margin-bottom:10px;font-weight:700}.auth-header p{color:var(--text-muted)}.auth-form{margin-bottom:28px}.auth-footer{text-align:center;padding-top:28px;border-top:1px solid var(--border-light)}.auth-footer p{color:var(--text-muted);margin-bottom:14px}.seller-toggle{margin:28px 0;padding:20px;background:var(--primary-bg);border-radius:var(--radius-sm);border:2px solid transparent;transition:var(--transition)}.seller-toggle:has(input:checked){border-color:var(--primary)}.toggle-label{display:flex;align-items:flex-start;gap:14px;cursor:pointer}.toggle-label input{margin-top:4px;width:18px;height:18px;accent-color:var(--primary)}.toggle-text strong{display:block;margin-bottom:4px}.toggle-text small{color:var(--text-muted)}.shop-field{margin-top:18px}.auth-benefits{margin-top:28px;padding:24px;background:var(--border-light);border-radius:var(--radius-sm)}.auth-benefits h4{margin-bottom:16px;font-weight:600}.auth-benefits ul{list-style:none}.auth-benefits li{padding:8px 0;color:var(--text-secondary)}.dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:36px;flex-wrap:wrap;gap:20px}.dashboard-subtitle{color:var(--text-muted);margin-top:6px}.dashboard-actions{display:flex;gap:14px;flex-wrap:wrap}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;margin-bottom:36px}.stat-card{background:#fff;padding:28px;border-radius:var(--radius);box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:18px;border:1px solid var(--border-light);transition:var(--transition)}.stat-card:hover{box-shadow:var(--shadow)}.stat-card.highlight{background:linear-gradient(135deg,#fffbeb 0,#fef3c7 100%);border-color:#fde68a}.stat-card.stat-revenue{background:linear-gradient(135deg,var(--primary-bg) 0,#d1fae5 100%);border-color:#a7f3d0}.stat-icon{font-size:32px}.stat-content h3{font-size:1.75rem;color:var(--text);line-height:1;font-weight:700}.stat-content p{font-size:.9rem;color:var(--text-muted);margin-top:6px}.dashboard-section{background:#fff;border-radius:var(--radius);padding:28px;margin-bottom:28px;box-shadow:var(--shadow-sm);border:1px solid var(--border-light)}.section-header-dash{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--border-light)}.section-header-dash h2{margin:0;font-weight:600}.dashboard-footer{text-align:center;margin-top:36px}.table-responsive{overflow-x:auto;margin:-4px;padding:4px}.table{width:100%;border-collapse:collapse}.table td,.table th{padding:14px 18px;text-align:left;border-bottom:1px solid var(--border-light)}.table th{background:var(--bg);font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted)}.table tr:hover{background:#fafbfc}.row-pending{background:#fffbeb!important}.row-inactive{opacity:.5}.order-details-row{background:var(--bg)!important}.order-details-row td{padding:10px 18px}.order-product{display:flex;align-items:center;gap:14px}.order-thumb{width:44px;height:44px;object-fit:cover;border-radius:6px}.product-thumb{width:56px;height:56px;object-fit:cover;border-radius:var(--radius-sm);border:1px solid var(--border-light)}.product-thumb-empty{width:56px;height:56px;background:var(--bg);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-size:20px}.phone-link{white-space:nowrap;font-weight:500}.price-cell{font-weight:700;color:var(--primary);white-space:nowrap}.date-cell{white-space:nowrap;font-size:13px;color:var(--text-muted)}.status-form{display:inline}.status-select{padding:8px 12px;border-radius:6px;border:1px solid var(--border);font-size:12px;cursor:pointer;font-weight:500}.status-pending{background:#fef3c7;border-color:#fde68a}.status-confirmed{background:#d1fae5;border-color:#a7f3d0}.status-shipped{background:#dbeafe;border-color:#bfdbfe}.status-delivered{background:#d1fae5;border-color:#a7f3d0}.status-cancelled{background:#fee2e2;border-color:#fecaca}.actions-cell{white-space:nowrap}.actions-cell a,.actions-cell button{margin:0 3px}.stock-low{color:var(--warning);font-weight:700}.stock-out{color:var(--secondary);font-weight:700}.text-muted{color:var(--text-muted)}.share-buttons{display:flex;gap:14px;justify-content:center;margin-top:20px}.card{background:#fff;border-radius:var(--radius);padding:40px;box-shadow:var(--shadow-sm);border:1px solid var(--border-light)}.form-header{margin-bottom:36px}.back-link{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted);margin-bottom:18px;font-size:14px}.back-link:hover{color:var(--primary)}.form-section{margin-bottom:36px;padding-bottom:36px;border-bottom:1px solid var(--border-light)}.form-section:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}.form-section h3{margin-bottom:24px;font-weight:600}.form-actions{display:flex;gap:18px;justify-content:flex-end;margin-top:40px}.images-upload{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.images-upload.horizontal{grid-template-columns:auto 1fr}.image-upload-item{text-align:center}.image-upload-item input[type=file]{display:none}.image-upload-item>label:first-of-type{font-weight:600;margin-bottom:10px;display:block;font-size:14px}.image-placeholder{padding:48px 24px;border:2px dashed var(--border);border-radius:var(--radius-sm);color:var(--text-muted);transition:var(--transition);cursor:pointer}.image-placeholder:hover{border-color:var(--primary);color:var(--primary)}.image-placeholder.small{padding:36px 20px}.image-placeholder.wide{padding:48px}.image-preview{width:100%;max-height:160px;object-fit:contain;border-radius:var(--radius-sm);border:2px solid var(--border-light)}.image-preview.banner{max-height:110px}.checkbox-label{display:flex;align-items:center;gap:14px;cursor:pointer;padding:16px;background:var(--bg);border-radius:var(--radius-sm)}.checkbox-label input{width:18px;height:18px;accent-color:var(--primary)}.input-with-prefix{display:flex;align-items:center;border:2px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;transition:var(--transition)}.input-with-prefix:focus-within{border-color:var(--primary)}.input-with-prefix span{padding:14px 16px;background:var(--bg);color:var(--text-muted);font-size:14px;white-space:nowrap;border-right:1px solid var(--border)}.input-with-prefix input{border:none;flex:1;padding:14px 16px}.input-with-prefix input:focus{outline:0}.shop-link-box{display:flex;gap:14px;margin-bottom:14px}.shop-link-box input{flex:1;background:var(--bg)}.product-form,.settings-form{max-width:720px}.footer{background:linear-gradient(135deg,#0f172a 0,#1e293b 100%);color:rgba(255,255,255,.85);padding:56px 0 28px;margin-top:72px}.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:48px;margin-bottom:40px}.footer-brand h3{color:#fff;margin-bottom:14px;font-weight:700}.footer-brand p{line-height:1.7}.footer-links h4{color:#fff;margin-bottom:18px;font-weight:600}.footer-links ul{list-style:none}.footer-links li{margin-bottom:10px}.footer-links a{color:rgba(255,255,255,.7);transition:var(--transition)}.footer-links a:hover{color:#fff}.footer-bottom{text-align:center;padding-top:28px;border-top:1px solid rgba(255,255,255,.1);font-size:14px;color:rgba(255,255,255,.6)}.error-page{text-align:center;padding:100px 24px}.error-page h1{font-size:8rem;font-weight:800;background:linear-gradient(135deg,var(--primary) 0,var(--primary-light) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:20px}.error-page p{color:var(--text-muted);margin-bottom:28px;font-size:1.1rem}@media (max-width:1024px){.products-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.shops-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:20px}.hero h1{font-size:2.5rem}.product-detail{gap:36px}}@media (max-width:768px){:root{--radius:12px;--radius-md:10px}.hero{padding:48px 20px}.hero h1{font-size:1.75rem;line-height:1.3}.hero p{font-size:1rem;margin-bottom:24px}.hero-stats{gap:24px}.hero-stat strong{font-size:1.75rem}.hero-stat span{font-size:.85rem}.hero .btn{padding:14px 24px;font-size:14px}.navbar .container{padding:12px 16px}.nav-links{display:none}.mobile-menu-btn{display:flex}.search-form{max-width:none;flex:1;order:3;width:100%;margin-top:12px}.navbar .container{flex-wrap:wrap}.logo{font-size:22px}.filters{position:relative;top:0;padding:12px 0;overflow-x:auto}.filter-form{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.filter-form::-webkit-scrollbar{display:none}.filter-group{flex-shrink:0}.filter-group select{min-width:150px;padding:10px 14px;font-size:13px}.filter-form .btn{flex-shrink:0;padding:10px 16px;font-size:13px}.products-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product-image{height:160px}.product-info{padding:12px}.product-title{font-size:.9rem;margin-bottom:6px;-webkit-line-clamp:2}.product-location,.product-shop{font-size:.75rem;margin-bottom:2px}.product-footer{margin-top:10px;padding-top:10px}.price{font-size:1rem}.old-price{font-size:.75rem}.product-views{font-size:.75rem}.badge{padding:4px 8px;font-size:10px;top:8px;right:8px}.product-detail{grid-template-columns:1fr;padding:20px;gap:24px;margin:0 -16px;border-radius:0}.main-image{height:280px;border-radius:var(--radius-sm)}.thumbnails{gap:10px;margin-top:12px;overflow-x:auto;padding-bottom:4px}.thumbnails img{width:64px;height:64px;flex-shrink:0}.product-details h1{font-size:1.5rem;margin-bottom:12px}.price-section{margin-bottom:16px}.price-big{font-size:1.75rem}.old-price-big{font-size:1rem}.product-meta-info{margin-bottom:20px}.product-meta-info p{margin-bottom:8px;font-size:.9rem}.product-description{padding:16px;margin-bottom:20px}.product-description h3{font-size:1rem}.product-description p{font-size:.9rem}.share-section{padding:12px 0;margin-bottom:16px}.share-btn{width:40px;height:40px;font-size:18px}.order-form{padding:20px}.order-form h3{font-size:1.1rem;margin-bottom:18px}.form-row{grid-template-columns:1fr;gap:0}.form-group{margin-bottom:14px}.form-group label{font-size:13px;margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{padding:12px 14px;font-size:16px}.order-total{padding:14px;margin:18px 0;font-size:1.1rem}.order-total strong{font-size:1.25rem}.breadcrumb{font-size:12px;margin-bottom:16px}.shops-grid{grid-template-columns:repeat(2,1fr);gap:12px}.shop-card{padding:20px 16px}.shop-avatar{width:56px;height:56px;font-size:22px;margin-bottom:12px}.shop-logo{width:56px;height:56px;margin-bottom:12px}.shop-card h3{font-size:.95rem}.shop-location{font-size:.8rem}.shop-meta{font-size:.75rem;gap:12px;margin-top:12px;padding-top:12px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:12px}.stat-card{padding:16px;gap:12px}.stat-icon{font-size:24px}.stat-content h3{font-size:1.4rem}.stat-content p{font-size:.8rem}.dashboard-header{flex-direction:column;align-items:stretch;gap:16px}.dashboard-actions{flex-direction:column;gap:10px}.dashboard-actions .btn{width:100%;justify-content:center}.dashboard-section{padding:20px;margin-bottom:20px}.section-header-dash{flex-direction:column;gap:12px;align-items:flex-start}.table-responsive{margin:0 -20px}.table{font-size:12px}.table td,.table th{padding:10px 12px}.product-thumb{width:44px;height:44px}.product-thumb-empty{width:44px;height:44px}.images-upload{grid-template-columns:1fr;gap:14px}.images-upload.horizontal{grid-template-columns:1fr}.image-placeholder{padding:32px 16px}.card{padding:24px}.form-actions{flex-direction:column-reverse;gap:12px}.form-actions .btn{width:100%}.auth-page{padding:24px 16px}.auth-card{padding:24px}.auth-header{margin-bottom:24px}.auth-header h1{font-size:1.5rem}.section{padding:40px 0}.section-title{font-size:1.4rem}.section-header{margin-bottom:20px;gap:12px}.cta-card{padding:40px 24px}.cta-card h2{font-size:1.4rem}.cta-card p{font-size:.95rem}.footer{padding:40px 0 80px;margin-top:48px}.footer-grid{gap:32px}}@media (max-width:480px){.container{padding:0 12px}.navbar .container{padding:10px 12px}.logo{font-size:20px}.search-form{margin-top:10px}.search-form input{padding:10px 14px;font-size:14px}.search-form button{padding:10px 14px}.hero{padding:36px 16px}.hero h1{font-size:1.5rem}.hero p{font-size:.9rem}.hero-stats{gap:16px}.hero-stat strong{font-size:1.5rem}.section{padding:32px 0}.section-title{font-size:1.25rem}.products-grid{gap:10px}.product-image{height:140px}.product-info{padding:10px}.product-title{font-size:.85rem}.price{font-size:.95rem}.shops-grid{gap:10px}.shop-card{padding:16px 12px}.shop-avatar{width:48px;height:48px;font-size:18px}.stats-grid{grid-template-columns:1fr}.stat-card{padding:14px}.main-image{height:240px}.product-details h1{font-size:1.3rem}.price-big{font-size:1.5rem}.error-page h1{font-size:4rem}.error-page p{font-size:1rem}.footer{padding-bottom:100px}}@media (max-width:360px){.products-grid{grid-template-columns:1fr}.shops-grid{grid-template-columns:1fr}.hero-stats{flex-direction:column;gap:12px}}@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.product-card,.shop-card{animation:fadeIn .4s ease-out}.search-form{position:relative}.search-results{position:absolute;top:100%;left:0;right:0;background:#fff;border-radius:var(--radius-sm);box-shadow:var(--shadow-xl);z-index:100;max-height:400px;overflow-y:auto;display:none;margin-top:8px;border:1px solid var(--border)}.search-results.open{display:block}.search-section{padding:8px 0}.search-section:not(:last-child){border-bottom:1px solid var(--border-light)}.search-section-title{padding:8px 16px;font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase}.search-item{display:flex;align-items:center;gap:12px;padding:12px 16px;color:var(--text);transition:var(--transition)}.search-item:hover{background:var(--bg);text-decoration:none}.search-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--primary-light));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.search-thumb{width:40px;height:40px;border-radius:6px;object-fit:cover}.search-thumb-empty{width:40px;height:40px;border-radius:6px;background:var(--bg);display:flex;align-items:center;justify-content:center}.search-info{display:flex;flex-direction:column}.search-info strong{font-size:14px}.search-info small{color:var(--text-muted);font-size:12px}.search-empty{padding:24px;text-align:center;color:var(--text-muted)}.btn.loading{opacity:.7;pointer-events:none;position:relative}.btn.loading::after{content:'';position:absolute;width:16px;height:16px;border:2px solid transparent;border-top-color:currentColor;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.back-to-top{position:fixed;bottom:24px;right:24px;width:48px;height:48px;border-radius:50%;background:var(--primary);color:#fff;border:none;cursor:pointer;font-size:20px;box-shadow:var(--shadow-lg);display:none;align-items:center;justify-content:center;transition:var(--transition);z-index:90;opacity:0;transform:translateY(20px)}.back-to-top:hover{transform:translateY(-4px);background:var(--primary-dark)}.back-to-top.visible{display:flex;opacity:1;transform:translateY(0)}@media (max-width:768px){.back-to-top{bottom:80px;right:16px;width:44px;height:44px;font-size:18px}}.fab{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--primary) 0,var(--primary-light) 100%);color:#fff;border:none;cursor:pointer;font-size:24px;box-shadow:0 4px 20px rgba(5,150,105,.4);display:flex;align-items:center;justify-content:center;transition:var(--transition);z-index:90;text-decoration:none}.fab:hover{transform:scale(1.1);box-shadow:0 6px 28px rgba(5,150,105,.5);color:#fff}@media (max-width:768px){.fab{bottom:80px;right:16px;width:52px;height:52px}}@media (hover:none) and (pointer:coarse){.product-card:hover{transform:none}.shop-card:hover{transform:none}.btn-primary:hover{transform:none}.product-card:active{transform:scale(.98)}.shop-card:active{transform:scale(.98)}.btn:active{transform:scale(.96)}}.thumbnails::after{content:'';flex-shrink:0;width:1px}.ptr-indicator{position:fixed;top:0;left:50%;transform:translateX(-50%) translateY(-100%);padding:12px 24px;background:var(--primary);color:#fff;border-radius:0 0 var(--radius-sm) var(--radius-sm);font-size:14px;font-weight:500;z-index:1000;transition:transform .3s ease}.ptr-indicator.visible{transform:translateX(-50%) translateY(0)}.swipe-hint{display:none;position:absolute;bottom:16px;left:50%;transform:translateX(-50%);padding:8px 16px;background:rgba(0,0,0,.6);color:#fff;border-radius:20px;font-size:12px;backdrop-filter:blur(4px)}@media (max-width:768px){.swipe-hint{display:block}}.image-dots{display:none;justify-content:center;gap:8px;margin-top:12px}.image-dot{width:8px;height:8px;border-radius:50%;background:var(--border);transition:var(--transition);cursor:pointer}.image-dot.active{background:var(--primary);width:24px;border-radius:4px}@media (max-width:768px){.image-dots{display:flex}.thumbnails{display:none}}@media (max-width:768px){input,select,textarea{font-size:16px!important}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-width:2px}}.haptic-tap{animation:hapticPulse .15s ease-out}@keyframes hapticPulse{0%{transform:scale(1)}50%{transform:scale(.97)}100%{transform:scale(1)}}.loading-overlay{position:fixed;inset:0;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;z-index:1001;backdrop-filter:blur(4px)}.loading-spinner{width:48px;height:48px;border:4px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@media (max-width:768px){.toast{top:auto;bottom:90px;right:16px;left:16px;max-width:none}}.card-pressable{transition:var(--transition);cursor:pointer}.card-pressable:active{transform:scale(.98);box-shadow:var(--shadow-sm)}.quantity-selector{display:flex;align-items:center;gap:0;border:2px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.quantity-btn{width:44px;height:44px;background:var(--bg);border:none;font-size:20px;cursor:pointer;transition:var(--transition);display:flex;align-items:center;justify-content:center}.quantity-btn:hover{background:var(--border-light)}.quantity-btn:active{background:var(--border)}.quantity-input{width:60px;height:44px;border:none;text-align:center;font-size:16px;font-weight:600;-moz-appearance:textfield}.quantity-input::-webkit-inner-spin-button,.quantity-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.skeleton{background:linear-gradient(90deg,var(--border-light) 25%,var(--bg) 50%,var(--border-light) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-sm)}@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}.skeleton-text{height:16px;margin-bottom:8px}.skeleton-title{height:24px;width:70%;margin-bottom:12px}.skeleton-image{height:200px}.product-card-skeleton{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border-light)}.product-card-skeleton .skeleton-image{border-radius:0}.product-card-skeleton .skeleton-content{padding:16px}.price-highlight{color:var(--secondary);animation:pulse 2s infinite}@keyframes pulse{0%,100%{opacity:1}50%{opacity:.7}}input:invalid:not(:placeholder-shown){border-color:var(--secondary)}input:valid:not(:placeholder-shown){border-color:var(--primary)}button:focus,input:focus,select:focus,textarea:focus{outline:0;box-shadow:0 0 0 3px rgba(5,150,105,.2)}html{scroll-behavior:smooth}::selection{background:var(--primary-bg);color:var(--primary-dark)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}@media print{.back-to-top,.footer,.mobile-menu,.navbar{display:none!important}body{background:#fff}.container{max-width:100%}}.shop-edit-bar{background:linear-gradient(135deg,#fef3c7 0,#fde68a 100%);padding:12px 0;border-bottom:2px solid #f59e0b;position:sticky;top:68px;z-index:50}.shop-edit-bar span{color:#92400e;font-size:14px}.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;backdrop-filter:blur(4px)}.modal-card{background:#fff;border-radius:var(--radius);padding:24px;width:100%;max-width:450px;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-xl)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--border-light)}.modal-header h3{margin:0}.modal-close{background:var(--border-light);border:none;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:16px;transition:var(--transition)}.modal-close:hover{background:var(--border)}.collection-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--border-light)}.collection-tab{padding:10px 20px;background:var(--bg);border:2px solid var(--border);border-radius:24px;font-size:14px;font-weight:500;color:var(--text-secondary);transition:var(--transition);white-space:nowrap}.collection-tab:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}.collection-tab.active{background:var(--primary);border-color:var(--primary);color:#fff}@media (max-width:768px){.collection-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px;margin:0 -12px 20px;padding-left:12px;padding-right:12px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.collection-tabs::-webkit-scrollbar{display:none}.collection-tab{flex-shrink:0;padding:8px 16px;font-size:13px}}.welcome-card{background:linear-gradient(135deg,var(--primary-bg) 0,#d1fae5 100%);border:2px solid #a7f3d0;border-radius:var(--radius);padding:32px;margin-bottom:28px}.welcome-card h3{margin-bottom:12px}.welcome-card p{color:var(--text-secondary);margin-bottom:16px}.welcome-card ol{margin:0 0 24px 24px;color:var(--text-secondary)}.welcome-card li{margin-bottom:8px}.welcome-card li strong{color:var(--text)}.quick-actions{display:flex;gap:12px;flex-wrap:wrap;padding:16px;background:var(--bg);border-radius:var(--radius-sm);margin-top:16px}.quick-action{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#fff;border-radius:var(--radius-sm);font-size:14px;color:var(--text-secondary);border:1px solid var(--border);transition:var(--transition)}.quick-action:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}.notification-badge{background:var(--secondary);color:#fff;font-size:11px;font-weight:700;padding:2px 6px;border-radius:10px;margin-left:4px}.scroll-link{font-size:24px!important;padding:4px 8px!important;animation:pulse-fire 2s infinite}@keyframes pulse-fire{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}@media (max-width:768px){main{padding-bottom:80px}.form-actions{margin-bottom:20px}.product-form{padding-bottom:30px}}.categories-bar{background:#fff;border-bottom:1px solid var(--border);padding:12px 0}.categories-scroll{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.categories-scroll::-webkit-scrollbar{display:none}.category-chip{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 16px;background:var(--bg);border-radius:var(--radius);border:1px solid var(--border);transition:var(--transition);flex-shrink:0;text-decoration:none;color:var(--text)}.category-chip:hover{border-color:var(--primary);background:var(--primary-bg);text-decoration:none;transform:translateY(-2px)}.category-chip-icon{font-size:1.5rem}.category-chip-name{font-size:.75rem;font-weight:500;white-space:nowrap}.category-chip-more{background:var(--primary-bg);border-color:var(--primary);color:var(--primary)}.categories-modal{max-width:900px;width:95%;max-height:85vh;border:none;border-radius:var(--radius);padding:0;box-shadow:0 25px 50px -12px rgba(0,0,0,.25)}.categories-modal::backdrop{background:rgba(0,0,0,.5)}.categories-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--border);position:sticky;top:0;background:#fff;z-index:1}.categories-modal .modal-close{background:0 0;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-secondary);padding:4px 8px}.categories-modal .modal-close:hover{color:var(--text)}.categories-grid-modal{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:24px;padding:24px;max-height:calc(85vh - 80px);overflow-y:auto}.category-group{background:var(--bg);border-radius:var(--radius-sm);padding:16px}.category-group-title{display:flex;align-items:center;gap:8px;font-weight:600;font-size:1rem;color:var(--text);margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--border)}.category-group-title:hover{color:var(--primary);text-decoration:none}.category-group-subs{display:flex;flex-direction:column;gap:6px}.category-group-subs a{color:var(--text-secondary);font-size:.9rem;padding:4px 0;transition:var(--transition)}.category-group-subs a:hover{color:var(--primary);text-decoration:none;padding-left:4px}@media (max-width:768px){.categories-bar{padding:10px 0}.categories-scroll{padding:0 12px 8px;margin:0 -12px}.category-chip{padding:8px 12px}.category-chip-icon{font-size:1.25rem}.category-chip-name{font-size:.7rem}.categories-grid-modal{grid-template-columns:1fr;gap:16px;padding:16px}}.hero-compact{background:linear-gradient(135deg,#006233 0,#004d28 100%);color:#fff;padding:20px 16px;text-align:center}.hero-compact h1{font-size:1.5rem;margin:0}.hero-compact h1 span{color:#a7f3d0}.hero-compact p{font-size:.9rem;opacity:.9;margin:4px 0 0}.hero-stats-mini{display:flex;justify-content:center;gap:20px;margin-top:12px;font-size:.8rem}.hero-stats-mini strong{font-size:1rem}.categories-section{background:#fff;border-bottom:1px solid #e5e7eb;padding:12px 0;position:sticky;top:56px;z-index:90}.categories-scroll{display:flex;gap:8px;overflow-x:auto;padding:0 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.categories-scroll::-webkit-scrollbar{display:none}.cat-pill{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 14px;background:#f3f4f6;border-radius:12px;flex-shrink:0;text-decoration:none;color:#374151;transition:all .2s;border:none;cursor:pointer}.cat-pill:active,.cat-pill:hover{background:#d1fae5;color:#006233;text-decoration:none}.cat-icon{font-size:1.3rem}.cat-name{font-size:.7rem;font-weight:500;white-space:nowrap}.cat-more{background:#d1fae5;color:#006233}.modal-bottom{position:fixed;bottom:0;left:0;right:0;top:auto;max-height:85vh;width:100%;max-width:100%;margin:0;padding:0;border:none;border-radius:20px 20px 0 0;background:#fff;box-shadow:0 -10px 40px rgba(0,0,0,.2)}.modal-bottom::backdrop{background:rgba(0,0,0,.5)}.modal-bottom .modal-content{padding:16px 20px 32px;overflow-y:auto;max-height:85vh}.modal-handle{width:40px;height:4px;background:#d1d5db;border-radius:2px;margin:0 auto 16px}.modal-bottom h3{margin:0 0 16px;font-size:1.1rem}.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.cat-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 8px;background:#f9fafb;border-radius:12px;text-decoration:none;color:#374151;transition:all .2s}.cat-card:hover{background:#d1fae5;color:#006233;text-decoration:none}.cat-card-icon{font-size:1.5rem}.cat-card-name{font-size:.7rem;font-weight:500;text-align:center;line-height:1.2}.promo-banner{background:linear-gradient(90deg,#dc2626 0,#ef4444 100%);color:#fff;padding:10px 16px}.promo-link{display:block;color:#fff;text-align:center;font-size:.85rem;text-decoration:none}.promo-link:hover{text-decoration:none;color:#fff}.product-section{padding:20px 0 12px;background:#fff;margin-bottom:8px}.section-header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;margin-bottom:12px}.section-header h2{font-size:1.1rem;margin:0}.see-all{font-size:.85rem;color:#006233;text-decoration:none;font-weight:500}.see-all:hover{text-decoration:underline}.products-scroll{display:flex;gap:12px;overflow-x:auto;padding:0 16px 8px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.products-scroll::-webkit-scrollbar{display:none}.product-card-mini{flex-shrink:0;width:140px;background:#fff;border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 1px 3px rgba(0,0,0,.08);border:1px solid #f3f4f6;transition:transform .2s,box-shadow .2s}.product-card-mini:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.1);text-decoration:none}.pcm-img{position:relative;aspect-ratio:1;background:#f9fafb}.pcm-img img{width:100%;height:100%;object-fit:cover}.pcm-img .no-img{display:flex;align-items:center;justify-content:center;height:100%;font-size:2rem;color:#d1d5db}.pcm-badge{position:absolute;top:6px;left:6px;padding:3px 8px;border-radius:6px;font-size:.65rem;font-weight:700;text-transform:uppercase}.pcm-badge.promo{background:#dc2626;color:#fff}.pcm-badge.new{background:#8b5cf6;color:#fff}.pcm-info{padding:10px}.pcm-info h4{font-size:.8rem;font-weight:500;margin:0 0 4px;line-height:1.3;color:#1f2937;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pcm-shop{font-size:.7rem;color:#6b7280;margin:0 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pcm-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.pcm-price .price{font-size:.9rem;font-weight:700;color:#006233}.pcm-price .old{font-size:.7rem;color:#9ca3af;text-decoration:line-through}.shops-scroll{display:flex;gap:12px;overflow-x:auto;padding:0 16px 8px;scrollbar-width:none}.shops-scroll::-webkit-scrollbar{display:none}.shop-pill{flex-shrink:0;display:flex;align-items:center;gap:10px;padding:12px 16px;background:#f9fafb;border-radius:12px;text-decoration:none;color:inherit;min-width:200px;transition:all .2s}.shop-pill:hover{background:#d1fae5;text-decoration:none}.shop-pill-logo{width:44px;height:44px;border-radius:50%;object-fit:cover}.shop-pill-avatar{width:44px;height:44px;border-radius:50%;background:#006233;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem}.shop-pill-info{display:flex;flex-direction:column;gap:2px}.shop-pill-info strong{font-size:.9rem;color:#1f2937}.shop-pill-info span{font-size:.75rem;color:#6b7280}.shop-pill-badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:.65rem;color:#fff;margin-top:2px}.promo-section{background:linear-gradient(135deg,#fef2f2 0,#fee2e2 100%)}.filter-bar{background:#fff;border-bottom:1px solid #e5e7eb;padding:10px 0;position:sticky;top:56px;z-index:89;transform:translateY(-100%);opacity:0;transition:all .3s}.filter-bar.active,.filter-bar.visible{transform:translateY(0);opacity:1}.filter-bar .container{display:flex;align-items:center;gap:10px;padding:0 16px}.filter-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;background:#f3f4f6;border:none;border-radius:20px;font-size:.85rem;color:#374151;cursor:pointer}.filter-btn:active{background:#e5e7eb}.filter-count{color:#006233;font-size:.7rem}.filter-quick{display:flex;gap:8px;flex:1;overflow-x:auto}.filter-quick select{padding:8px 12px;border:1px solid #e5e7eb;border-radius:20px;font-size:.8rem;background:#fff;flex-shrink:0}.filter-reset{padding:8px;color:#ef4444;font-size:1rem;text-decoration:none}.filter-form-modal{display:flex;flex-direction:column;gap:16px}.filter-group-modal label{display:block;font-size:.85rem;font-weight:500;color:#374151;margin-bottom:6px}.filter-group-modal input[type=number],.filter-group-modal select{width:100%;padding:12px;border:1px solid #e5e7eb;border-radius:10px;font-size:1rem}.price-range{display:flex;align-items:center;gap:10px}.price-range input{flex:1}.checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer}.checkbox-label input[type=checkbox]{width:20px;height:20px;accent-color:#006233}.filter-actions{display:flex;gap:12px;margin-top:8px}.filter-actions .btn{flex:1}.products-main{padding:16px 0;background:#f9fafb;min-height:50vh}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding:0 16px}.results-header h2{font-size:1rem;margin:0}.results-count{font-size:.8rem;color:#6b7280}.products-grid-main{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:0 12px}.product-card{background:#fff;border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 1px 3px rgba(0,0,0,.06);transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.1);text-decoration:none}.product-img{position:relative;aspect-ratio:1;background:#f3f4f6}.product-img img{width:100%;height:100%;object-fit:cover}.product-img .no-img{display:flex;align-items:center;justify-content:center;height:100%;font-size:2.5rem;color:#d1d5db}.badge-sale{position:absolute;top:8px;left:8px;background:#dc2626;color:#fff;padding:4px 8px;border-radius:6px;font-size:.7rem;font-weight:700}.badge-oos{position:absolute;bottom:0;left:0;right:0;background:rgba(0,0,0,.7);color:#fff;text-align:center;padding:6px;font-size:.75rem}.product-body{padding:10px}.product-body h3{font-size:.85rem;font-weight:500;margin:0 0 4px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-shop{font-size:.7rem;color:#6b7280;margin:0 0 4px}.product-rating{font-size:.7rem;color:#f59e0b;margin:0 0 6px}.product-rating span{color:#9ca3af}.product-price-row{display:flex;align-items:baseline;gap:8px}.product-price-row .price{font-size:.95rem;font-weight:700;color:#006233}.product-price-row .old-price{font-size:.7rem;color:#9ca3af;text-decoration:line-through}.empty-state{text-align:center;padding:60px 20px}.empty-icon{font-size:4rem;margin-bottom:16px}.empty-state h3{margin:0 0 8px}.empty-state p{color:#6b7280;margin:0 0 20px}.cta-seller{background:linear-gradient(135deg,#006233 0,#004d28 100%);color:#fff;padding:40px 16px;text-align:center;margin-top:20px}.cta-content{display:flex;flex-direction:column;align-items:center;text-align:center}.cta-content h2{margin:0 0 8px;font-size:1.3rem}.cta-content p{margin:0 0 20px;opacity:.9}.btn-white{background:#fff;color:#006233;font-weight:600}.btn-white:hover{background:#f0fdf4}@media (min-width:768px){.hero-compact{padding:32px 24px}.hero-compact h1{font-size:2rem}.hero-compact p{font-size:1rem}.categories-section{padding:16px 0}.categories-scroll{justify-content:center;padding:0 24px;gap:12px}.cat-pill{padding:10px 18px}.cat-icon{font-size:1.5rem}.cat-name{font-size:.8rem}.cat-grid{grid-template-columns:repeat(4,1fr)}.section-header{padding:0 24px}.products-scroll,.shops-scroll{padding:0 24px 12px;gap:16px}.product-card-mini{width:180px}.pcm-info h4{font-size:.85rem}.pcm-price .price{font-size:1rem}.shop-pill{min-width:240px}.filter-bar .container{max-width:1200px;margin:0 auto;padding:0 24px}.modal-bottom{position:fixed;top:50%;left:50%;bottom:auto;transform:translate(-50%,-50%);max-width:500px;max-height:80vh;border-radius:16px}.products-main .container{max-width:1200px;margin:0 auto}.results-header{padding:0 24px}.products-grid-main{grid-template-columns:repeat(3,1fr);gap:20px;padding:0 24px}.product-body{padding:14px}.product-body h3{font-size:.95rem}.product-price-row .price{font-size:1.1rem}.cta-seller{padding:60px 24px}.cta-content h2{font-size:1.8rem}}@media (min-width:1024px){.products-grid-main{grid-template-columns:repeat(4,1fr)}.product-card-mini{width:200px}}@media (min-width:1280px){.products-grid-main{grid-template-columns:repeat(5,1fr)}}body,html{overflow-x:hidden;width:100%;max-width:100vw}main{overflow-x:hidden}.categories-scroll,.products-scroll,.shops-scroll{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;margin:0}.container{max-width:100%;overflow-x:hidden}.categories-section,.cta-seller,.filter-bar,.hero-compact,.product-section,.products-main,.promo-banner{overflow-x:hidden;max-width:100vw}.section-header{overflow:hidden}[data-lucide]{width:18px;height:18px;stroke-width:2;vertical-align:middle;display:inline-block}.btn [data-lucide]{margin-right:6px;vertical-align:-2px}.bottom-nav-item [data-lucide]{width:22px;height:22px;margin-bottom:2px}.back-to-top [data-lucide]{width:20px;height:20px}.footer [data-lucide]{width:16px;height:16px;margin-right:6px;vertical-align:-2px}.footer-brand [data-lucide]{width:24px;height:24px}.cat-card .cat-card-icon,.cat-pill .cat-icon{width:24px;height:24px;stroke-width:1.5}.cat-pill .cat-icon{color:var(--primary)}.cat-card .cat-card-icon{width:28px;height:28px;color:var(--primary)}.section-header h2 [data-lucide]{width:22px;height:22px;margin-right:6px;vertical-align:-3px;color:var(--primary)}.see-all [data-lucide]{width:14px;height:14px;vertical-align:-2px}.hero-compact [data-lucide]{width:28px;height:28px;vertical-align:-5px}.hero-stats-mini [data-lucide]{width:16px;height:16px;vertical-align:-2px;margin-right:4px;opacity:.8}.cta-seller [data-lucide]{color:#fff}.cta-seller h2 [data-lucide]{width:28px;height:28px;vertical-align:-5px;margin-right:8px}.promo-link [data-lucide]{width:18px;height:18px;vertical-align:-3px}.filter-btn [data-lucide]{width:18px;height:18px;vertical-align:-3px;margin-right:4px}.no-img [data-lucide],.pcm-img .no-img [data-lucide],.product-img .no-img [data-lucide]{width:48px;height:48px;color:#d1d5db;stroke-width:1}.legal-page{padding:2rem 0 4rem;min-height:80vh}.legal-content{max-width:800px;margin:0 auto;background:#fff;border-radius:12px;padding:2rem 2.5rem;box-shadow:0 1px 3px rgba(0,0,0,.08)}.legal-content h1{font-size:1.8rem;color:#111827;margin-bottom:.25rem;display:flex;align-items:center;gap:.5rem}.legal-content h1 svg{width:28px;height:28px;color:#006233}.legal-updated{color:#6b7280;font-size:.9rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid #e5e7eb}.legal-content section{margin-bottom:2rem}.legal-content h2{font-size:1.25rem;color:#1f2937;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #f3f4f6}.legal-content h3{font-size:1.05rem;color:#374151;margin:1rem 0 .5rem}.legal-content p{color:#4b5563;line-height:1.7;margin-bottom:.75rem}.legal-content ul{padding-left:1.5rem;margin-bottom:1rem}.legal-content li{color:#4b5563;line-height:1.7;margin-bottom:.3rem}.legal-content a{color:#006233;text-decoration:underline}.legal-content a:hover{color:#004d28}.cgu-checkbox{margin-bottom:1rem}.cgu-checkbox .toggle-label{display:flex;align-items:flex-start;gap:.5rem;cursor:pointer}.cgu-checkbox input[type=checkbox]{margin-top:.2rem;accent-color:#006233}.cgu-checkbox .toggle-text{font-size:.9rem;color:#4b5563;line-height:1.4}.cgu-checkbox .toggle-text a{color:#006233;text-decoration:underline}@media (max-width:640px){.legal-content{padding:1.25rem 1rem;border-radius:0}.legal-content h1{font-size:1.4rem}}.badge-new,.badge-promo,.product-badge{background:linear-gradient(135deg,#c9a227 0,#d4af37 100%)!important;color:#1a1a1a!important}.old-price+.price,.price-promo{color:#c9a227!important}.rating-stars,.stars,[data-lucide=star]{color:#c9a227!important}.btn-outline,.btn-secondary{border-color:#c9a227!important;color:#c9a227!important}.btn-outline:hover,.btn-secondary:hover{background:#c9a227!important;color:#1a1a1a!important}.featured-badge,.highlight,.top-seller{background:linear-gradient(135deg,#c9a227 0,#d4af37 100%);color:#1a1a1a}.hero h1 span,.hero-compact h1 span{color:#d4af37!important}.footer h3 i,.footer-brand i{color:#c9a227!important}.price-current,.product-price{color:#006233!important}.product-price::after{color:#c9a227}.cat-pill.active,.category-active{border-color:#c9a227!important;box-shadow:0 0 0 2px rgba(201,162,39,.2)}.accent-link,a.accent{color:#c9a227}.icon-xs{width:12px;height:12px}.icon-sm{width:14px;height:14px}.icon-md{width:18px;height:18px}.icon-lg{width:24px;height:24px}.icon-xl{width:48px;height:48px}.icon-sm,.icon-xs{vertical-align:-2px}.icon-md{vertical-align:-3px}.text-muted{color:var(--text-muted)}.text-secondary{color:var(--text-secondary)}.text-success{color:#22c55e}.text-warning{color:#f59e0b}.text-danger{color:#ef4444}.text-gray{color:#9ca3af}.d-none{display:none}.d-block{display:block}.d-inline{display:inline}.d-flex{display:flex}.d-inline-flex{display:inline-flex}.flex-1{flex:1}.align-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:4px}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-5{margin-top:24px}.mb-1{margin-bottom:4px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.mb-5{margin-bottom:24px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-uppercase{text-transform:uppercase}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-sm{font-size:.85rem}.text-xs{font-size:.75rem}.p-2{padding:8px}.p-3{padding:12px}.p-4{padding:16px}.p-5{padding:20px}.link-inherit{color:inherit;text-decoration:none}.link-inherit:hover{color:inherit}.input-simple{padding:8px;border:1px solid #ddd;border-radius:6px}.empty-message{color:#666;text-align:center;padding:20px}.beta-badge{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:9px;font-weight:700;padding:2px 6px;border-radius:4px;margin-left:6px;text-transform:uppercase;letter-spacing:.5px;vertical-align:middle;position:relative;top:-2px;box-shadow:0 1px 3px rgba(0,0,0,.2)}
/* === RADIO BUTTONS FIX === */
.radio-group{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.radio-group .radio-label,label.radio-label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:14px 18px!important;background:#f8fafc!important;border:2px solid #e2e8f0!important;border-radius:10px!important;cursor:pointer!important;margin-bottom:0!important;transition:all .2s!important}
.radio-group .radio-label:hover,label.radio-label:hover{border-color:#006233!important;background:#f0fdf4!important}
.radio-group .radio-label:has(input:checked),label.radio-label:has(input:checked){border-color:#006233!important;background:#ecfdf5!important}
.radio-group .radio-label input[type=radio],label.radio-label input[type=radio]{width:22px!important;height:22px!important;margin:0!important;flex-shrink:0!important;accent-color:#006233!important}
.radio-group .radio-label span,label.radio-label span{flex:1!important;font-weight:500!important;font-size:15px!important}
/* Scroll to top fix */
.back-to-top{bottom:100px!important}
@media(max-width:768px){.back-to-top{bottom:90px!important}}

/* UX Improvements - Upload Loading */
.image-upload-item.loading {
  position: relative;
  pointer-events: none;
}
.upload-loader {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  z-index: 10;
}
.upload-loader .spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e5e7eb;
  border-top-color: #006233;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.upload-loader span {
  margin-top: 8px;
  font-size: 13px;
  color: #6b7280;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1f2937;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-success { background: #059669; }
.toast-error { background: #dc2626; }

/* Image fade in */
.image-preview.fade-in {
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Button contrast improvements */
.btn-primary {
  background: #006233 !important;
  color: white !important;
  font-weight: 600;
}
.btn-primary:hover {
  background: #004d28 !important;
}
.form-section .btn {
  min-height: 48px;
}

/* Language Switcher - Improved Mobile UX */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  padding: 4px;
  border-radius: 20px;
}

.lang-btn {
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

.lang-btn.active {
  background: #fff;
  color: var(--primary);
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  margin: 8px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.mobile-lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid #e5e7eb;
  color: #374151;
  background: #fff;
}

.mobile-lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.mobile-lang-btn .lang-code {
  font-weight: 700;
  font-size: 14px;
  opacity: 0.7;
}

.mobile-lang-btn.active .lang-code {
  opacity: 1;
}

@media (max-width: 768px) {
  .lang-switcher {
    padding: 3px;
  }
  .lang-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* === LANGUAGE SWITCHER FIX === */
.lang-switcher {
  background: #f3f4f6 !important;
  border: 1px solid #e5e7eb;
}

.lang-btn {
  color: #6b7280 !important;
  font-weight: 600;
}

.lang-btn:hover {
  color: #374151 !important;
  background: #e5e7eb !important;
}

.lang-btn.active {
  background: #006233 !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .lang-switcher {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Fix badge stock - plus compact */
.badge-stock {
  left: 8px !important;
  right: auto !important;
  top: 8px !important;
  padding: 4px 8px !important;
  font-size: 10px !important;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .badge-stock {
    padding: 3px 6px !important;
    font-size: 9px !important;
    max-width: 70px;
  }
  .badge-sale, .badge {
    padding: 3px 6px !important;
    font-size: 9px !important;
    top: 8px !important;
    right: 8px !important;
  }
}

/* Badge stock en bas pour éviter chevauchement */
.badge-stock {
  top: auto !important;
  bottom: 8px !important;
  left: 8px !important;
  right: auto !important;
  padding: 3px 6px !important;
  font-size: 9px !important;
  border-radius: 4px !important;
}

/* Stock badge en bas - nouvelle classe */
.stock-badge-bottom {
  position: absolute;
  bottom: 8px;
  left: 8px;
  top: unset;
  right: unset;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #C9A227 0%, #D4AF37 100%);
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 5;
}

/* Fix badges trop larges */
.badge, .badge-sale {
  width: auto !important;
  max-width: fit-content !important;
  display: inline-block !important;
}
