:root {
    --green: #C62B48;
    --green-dark: #a02339;
    --green-light: #f9e8eb;
    --orange: #718D9F;
    --orange-dark: #5c7382;
    --orange-light: #e8eef1;
    --red: #E53935;
    --red-light: #fde8e8;
    --yellow: #FFC107;
    --bg: #F5F7FA;
    --white: #FFFFFF;
    --text: #1A1A2E;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border: #E8E8ED;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
html { scroll-behavior:smooth; }
body { font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; background:var(--bg); color:var(--text); line-height:1.5; -webkit-font-smoothing:antialiased; }
img { max-width:100%; display:block; }
button { font-family:inherit; border:none; cursor:pointer; background:none; }
a { text-decoration:none; color:inherit; }

.skeleton { background:linear-gradient(90deg,#e8e8e8 25%,#f5f5f5 50%,#e8e8e8 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} }

.announcement-bar { background:var(--text); color:var(--white); text-align:center; padding:10px 16px; font-size:13px; font-weight:600; }
.announcement-bar i { color:var(--yellow); margin-right:6px; }

.sticky-top { position:sticky; top:0; z-index:999; background:var(--white); box-shadow:var(--shadow); }
.header { background:var(--white); padding:6px 12px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.logo { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.logo-img { width:auto; height:36px; border-radius:8px; object-fit:contain; }
.logo-text { display:flex; flex-direction:column; line-height:1.1; }
.logo-brand { font-weight:800; font-size:15px; color:var(--green); }
.logo-location { font-size:10px; color:var(--text-secondary); font-weight:500; }
.logo-location i { font-size:9px; color:var(--green); margin-right:2px; }
.header-actions { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.icon-btn { width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--bg); position:relative; transition:transform .15s; }
.icon-btn i { font-size:18px; }
.badge { position:absolute; background:var(--red); color:white; font-weight:700; border-radius:50%; display:flex; align-items:center; justify-content:center; border:2px solid var(--white); width:16px; height:16px; font-size:9px; top:-1px; right:-1px; }
.icon-btn:active { transform:scale(0.92); }

.search-bar-wrap { position:relative; background:var(--white); padding:6px 12px; box-shadow:0 2px 4px rgba(0,0,0,0.04); }
.search-box { display:flex; align-items:center; gap:6px; background:var(--bg); border-radius:var(--radius-lg); padding:3px 3px 3px 12px; height:48px; }
.search-box input { flex:1; border:none; background:transparent; font-size:14px; outline:none; color:var(--text); }
.search-box input::placeholder { color:var(--text-muted); }
.search-action { width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:var(--radius); }
.search-action i { font-size:18px; color:var(--text-secondary); }
.search-action.orange { background:var(--orange); }
.search-action.orange i { color:white; }

.search-overlay { position:fixed; inset:0; background:var(--white); z-index:2000; transform:translateY(100%); transition:transform .3s ease; display:flex; flex-direction:column; }
.search-overlay.active { transform:translateY(0); }
.search-overlay-header { padding:12px 16px; display:flex; align-items:center; gap:12px; border-bottom:1px solid var(--border); }
.search-overlay-header .search-box { flex:1; background:var(--bg); }
.close-search { font-size:14px; color:var(--green); font-weight:600; padding:8px; }
.search-suggestions { padding:16px; overflow-y:auto; flex:1; }
.suggestion-title { font-size:13px; font-weight:600; color:var(--text-secondary); margin-bottom:12px; text-transform:uppercase; letter-spacing:.5px; }
.suggestion-item { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); font-size:15px; }
.suggestion-item i { color:var(--text-muted); }
.trending-tag { display:inline-flex; align-items:center; gap:6px; background:var(--green-light); color:var(--green); padding:8px 14px; border-radius:20px; font-size:13px; font-weight:600; margin:4px; }

.hero-section { padding:16px; }
.carousel { position:relative; border-radius:var(--radius-lg); overflow:hidden; background:var(--white); box-shadow:var(--shadow); }
.carousel-track { display:flex; transition:transform .4s ease; }
.carousel-slide { min-width:100%; padding:24px 24px 44px; display:flex; flex-direction:column; gap:16px; position:relative; overflow:hidden; min-height:220px; }
.slide-bg-1 { background:linear-gradient(135deg,#1a1a2e 0%,#16213e 100%); }
.slide-bg-2 { background:linear-gradient(135deg,#e94560 0%,#ff6b6b 100%); }
.slide-bg-3 { background:linear-gradient(135deg,#C62B48 0%,#9f4a5c 100%); }
.slide-bg-4 { background:linear-gradient(135deg,#718D9F 0%,#a1b8c4 100%); }
.slide-content { position:relative; z-index:2; color:white; max-width:65%; }
.slide-badge { display:inline-block; background:rgba(255,255,255,.2); backdrop-filter:blur(8px); padding:6px 14px; border-radius:20px; font-size:12px; font-weight:600; margin-bottom:12px; }
.slide-title { font-size:24px; font-weight:800; line-height:1.2; margin-bottom:8px; }
.slide-desc { font-size:14px; opacity:.95; margin-bottom:16px; }
.slide-cta { display:inline-flex; align-items:center; gap:8px; background:var(--orange); color:white; padding:14px 28px; border-radius:var(--radius-lg); font-weight:700; font-size:15px; box-shadow:0 4px 12px rgba(113,141,159,.4); }
.slide-image { position:absolute; right:-10px; bottom:24px; width:140px; height:140px; object-fit:cover; border-radius:var(--radius); opacity:.95; transform:rotate(-6deg); box-shadow:var(--shadow-lg); }
.carousel-dots { display:flex; justify-content:center; gap:8px; position:absolute; bottom:12px; left:0; right:0; z-index:10; }
.carousel-dot { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.4); transition:all .3s; cursor:pointer; }
.carousel-dot.active { width:24px; border-radius:4px; background:rgba(255,255,255,.9); }

.section { padding:20px 16px; }
.section-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.section-title { font-size:18px; font-weight:700; }
.section-action { display:flex; align-items:center; gap:4px; color:var(--green); font-size:14px; font-weight:600; }

.categories-scroll { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding-bottom:8px; scrollbar-width:none; }
.categories-scroll::-webkit-scrollbar { display:none; }
.category-card { flex-shrink:0; width:88px; text-align:center; scroll-snap-align:start; }
.category-image { width:64px; height:64px; border-radius:50%; background:var(--white); overflow:hidden; margin:0 auto 8px; box-shadow:var(--shadow); }
.category-image img { width:100%; height:100%; object-fit:cover; }
.category-name { font-size:12px; font-weight:600; color:var(--text); line-height:1.3; }
.category-count { font-size:11px; color:var(--text-muted); }

.flash-sale-header { display:flex; align-items:center; gap:12px; margin-bottom:16px; flex-wrap:wrap; }
.flash-badge { background:var(--red); color:white; padding:6px 14px; border-radius:var(--radius-sm); font-size:13px; font-weight:700; display:flex; align-items:center; gap:6px; }
.countdown { display:flex; gap:4px; }
.countdown-item { background:var(--text); color:white; padding:6px 10px; border-radius:var(--radius-sm); font-size:14px; font-weight:700; font-variant-numeric:tabular-nums; }
.flash-progress { width:100%; height:6px; background:var(--border); border-radius:3px; margin-bottom:16px; overflow:hidden; }
.flash-progress-bar { height:100%; background:linear-gradient(90deg,var(--red),var(--orange)); border-radius:3px; width:65%; transition:width .3s; }

.products-scroll { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:8px; }
.products-scroll::-webkit-scrollbar { display:none; }

.product-card { flex-shrink:0; width:170px; background:var(--white); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); scroll-snap-align:start; position:relative; transition:transform .2s; }
.product-card:active { transform:scale(0.98); }
.product-image-wrap { position:relative; padding:12px; background:var(--bg); aspect-ratio:1; display:flex; align-items:center; justify-content:center; }
.product-image-wrap img { width:100%; height:100%; object-fit:cover; border-radius:var(--radius-sm); }
.discount-badge { position:absolute; top:8px; left:8px; background:var(--red); color:white; padding:4px 8px; border-radius:var(--radius-sm); font-size:11px; font-weight:700; }
.favorite-btn { position:absolute; top:8px; right:8px; width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,.95); display:flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(0,0,0,.1); }
.favorite-btn i { font-size:14px; color:var(--text-muted); transition:color .2s; }
.favorite-btn.active i { color:var(--red); }
.product-info { padding:12px; }
.product-title { font-size:13px; font-weight:600; line-height:1.4; margin-bottom:6px; display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:36px; }
.product-rating { display:flex; align-items:center; gap:4px; margin-bottom:8px; }
.stars { color:var(--yellow); font-size:12px; }
.rating-count { font-size:11px; color:var(--text-muted); }
.product-price { display:flex; align-items:baseline; gap:6px; margin-bottom:6px; }
.price-current { font-size:16px; font-weight:800; color:var(--text); }
.price-old { font-size:12px; color:var(--text-muted); text-decoration:line-through; }
.delivery-badge { display:inline-flex; align-items:center; gap:4px; font-size:11px; color:var(--green); font-weight:500; }
.add-cart-btn { width:100%; margin-top:10px; padding:10px; background:var(--orange); color:white; border-radius:var(--radius-sm); font-weight:700; font-size:13px; display:flex; align-items:center; justify-content:center; gap:6px; transition:background .2s; }
.add-cart-btn:active { background:var(--orange-dark); }

.products-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.products-grid .product-card { width:100%; }

.brands-scroll { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:8px; }
.brands-scroll::-webkit-scrollbar { display:none; }
.brand-item { flex-shrink:0; width:100px; height:80px; background:var(--white); border-radius:var(--radius-lg); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow); scroll-snap-align:start; font-weight:700; font-size:13px; color:var(--text-secondary); padding:8px; text-align:center; }

.trust-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.trust-item { background:var(--white); padding:16px; border-radius:var(--radius-lg); display:flex; align-items:center; gap:12px; box-shadow:var(--shadow); }
.trust-icon { width:44px; height:44px; border-radius:var(--radius); background:var(--green-light); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.trust-icon i { font-size:20px; color:var(--green); }
.trust-text h4 { font-size:14px; font-weight:700; }
.trust-text p { font-size:12px; color:var(--text-secondary); }

.app-promo { background:linear-gradient(135deg,var(--green) 0%,var(--green-dark) 100%); border-radius:var(--radius-lg); padding:24px; color:white; text-align:center; }
.app-promo h3 { font-size:20px; font-weight:800; margin-bottom:8px; }
.app-promo p { font-size:14px; opacity:.95; margin-bottom:20px; }
.app-benefits { display:flex; justify-content:center; gap:20px; margin-bottom:20px; flex-wrap:wrap; }
.app-benefit { display:flex; flex-direction:column; align-items:center; gap:6px; font-size:12px; }
.app-benefit i { font-size:24px; }
.app-buttons { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.app-btn { display:flex; align-items:center; gap:8px; background:rgba(0,0,0,.3); color:white; padding:12px 20px; border-radius:var(--radius); font-size:13px; font-weight:600; backdrop-filter:blur(8px); }
.app-btn i { font-size:20px; }

.newsletter { background:var(--white); border-radius:var(--radius-lg); padding:24px; text-align:center; box-shadow:var(--shadow); }
.newsletter h3 { font-size:18px; font-weight:700; margin-bottom:8px; }
.newsletter p { font-size:14px; color:var(--text-secondary); margin-bottom:16px; }
.newsletter-form { display:flex; gap:8px; }
.newsletter-form input { flex:1; padding:14px 16px; border:2px solid var(--border); border-radius:var(--radius-lg); font-size:15px; outline:none; transition:border-color .2s; }
.newsletter-form input:focus { border-color:var(--green); }
.newsletter-form button { padding:14px 24px; background:var(--green); color:white; border-radius:var(--radius-lg); font-weight:700; font-size:15px; white-space:nowrap; }

.footer { background:var(--white); padding:32px 16px; border-top:1px solid var(--border); }
.footer-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-bottom:24px; }
.footer-col h4 { font-size:14px; font-weight:700; margin-bottom:12px; }
.footer-col a { display:block; font-size:13px; color:var(--text-secondary); padding:6px 0; }
.social-links { display:flex; gap:12px; margin-bottom:24px; }
.social-links a { width:44px; height:44px; border-radius:50%; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:20px; color:var(--text); transition:background .2s; }
.social-links a:active { background:var(--border); }
.footer-bottom { text-align:center; font-size:12px; color:var(--text-muted); padding-top:16px; border-top:1px solid var(--border); }

.cart-drawer { position:fixed; inset:0; z-index:3000; pointer-events:none; }
.cart-drawer.active { pointer-events:all; }
.cart-overlay { position:absolute; inset:0; background:rgba(0,0,0,.5); opacity:0; transition:opacity .3s; }
.cart-drawer.active .cart-overlay { opacity:1; }
.cart-panel { position:absolute; right:0; top:0; bottom:0; width:100%; max-width:420px; background:var(--white); transform:translateX(100%); transition:transform .3s ease; display:flex; flex-direction:column; }
.cart-drawer.active .cart-panel { transform:translateX(0); }
.cart-header { padding:16px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.cart-header h2 { font-size:18px; font-weight:700; }
.cart-close { width:40px; height:40px; border-radius:50%; background:var(--bg); display:flex; align-items:center; justify-content:center; }
.cart-items { flex:1; overflow-y:auto; padding:16px; }
.cart-empty { text-align:center; padding:48px 16px; color:var(--text-muted); }
.cart-empty i { font-size:64px; margin-bottom:16px; opacity:.3; }
.cart-empty h3 { font-size:18px; font-weight:700; color:var(--text); margin-bottom:8px; }
.cart-item { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); }
.cart-item img { width:70px; height:70px; object-fit:cover; border-radius:var(--radius-sm); background:var(--bg); }
.cart-item-info { flex:1; }
.cart-item-title { font-size:14px; font-weight:600; margin-bottom:4px; display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.cart-item-price { font-size:15px; font-weight:700; color:var(--green); }
.cart-item-remove { color:var(--text-muted); padding:4px; }
.cart-footer { padding:16px; border-top:1px solid var(--border); background:var(--white); }
.cart-total { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.cart-total-label { font-size:14px; color:var(--text-secondary); }
.cart-total-value { font-size:20px; font-weight:800; }
.cart-actions { display:flex; gap:10px; }
.checkout-btn { flex:1; padding:14px; background:var(--green); color:white; border-radius:var(--radius-lg); font-weight:700; font-size:14px; }
.whatsapp-btn { flex:1; padding:14px; background:#25D366; color:white; border-radius:var(--radius-lg); font-weight:700; font-size:14px; display:flex; align-items:center; justify-content:center; gap:6px; }
.whatsapp-btn:hover { background:#1ebe57; }

.fab { position:fixed; width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg); z-index:1002; transition:transform .2s; }
.fab:active { transform:scale(0.92); }
.fab i { font-size:22px; }
.fab-call { bottom:82px; left:16px; background:var(--green); color:white; }
.fab-chat { bottom:82px; right:16px; background:var(--orange); color:white; }

.toast { position:fixed; bottom:90px; left:50%; transform:translateX(-50%) translateY(100px); background:var(--text); color:white; padding:14px 24px; border-radius:var(--radius-lg); font-size:14px; font-weight:600; z-index:4000; opacity:0; transition:all .4s ease; display:flex; align-items:center; gap:10px; box-shadow:var(--shadow-lg); }
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
.toast i { color:var(--green); }

.quick-view { position:fixed; inset:0; z-index:2500; pointer-events:none; }
.quick-view.active { pointer-events:all; }
.quick-view-overlay { position:absolute; inset:0; background:rgba(0,0,0,.5); opacity:0; transition:opacity .3s; }
.quick-view.active .quick-view-overlay { opacity:1; }
.quick-view-panel { position:absolute; bottom:0; left:0; right:0; max-height:85vh; background:var(--white); border-radius:var(--radius-xl) var(--radius-xl) 0 0; transform:translateY(100%); transition:transform .3s ease; overflow-y:auto; }
.quick-view.active .quick-view-panel { transform:translateY(0); }
.quick-view-close { position:absolute; top:16px; right:16px; width:40px; height:40px; border-radius:50%; background:var(--bg); display:flex; align-items:center; justify-content:center; z-index:10; }
.quick-view-image { width:100%; aspect-ratio:1; background:var(--bg); display:flex; align-items:center; justify-content:center; padding:24px; }
.quick-view-image img { max-width:100%; max-height:100%; object-fit:contain; }
.quick-view-details { padding:24px; }
.quick-view-title { font-size:20px; font-weight:700; margin-bottom:8px; }
.quick-view-price { font-size:24px; font-weight:800; color:var(--green); margin-bottom:16px; }
.quick-view-desc { font-size:14px; color:var(--text-secondary); margin-bottom:24px; line-height:1.6; }
.quick-view-actions { display:flex; gap:12px; }
.quick-view-actions .add-cart-btn { margin:0; flex:1; padding:16px; font-size:16px; }

@media (min-width:768px) {
    body { padding-bottom:0; }
    .announcement-bar { font-size:14px; padding:12px; }
    .sticky-top { box-shadow:var(--shadow); }
    .header { padding:16px 32px; }
    .logo { gap:12px; }
    .logo-img { width:auto; height:48px; }
    .logo-brand { font-size:22px; }
    .logo-location { font-size:13px; }
    .search-bar-wrap { position:relative; padding:16px 32px; background:var(--white); }
    .search-box { max-width:720px; margin:0 auto; height:56px; }
    .hero-section { padding:32px; max-width:1280px; margin:0 auto; }
    .carousel-slide { min-height:380px; padding:48px 48px 60px; }
    .slide-title { font-size:42px; }
    .slide-desc { font-size:18px; }
    .slide-image { width:280px; height:280px; right:40px; bottom:20px; }
    .section { padding:40px 32px; max-width:1280px; margin:0 auto; }
    .section-title { font-size:24px; }
    .categories-scroll { flex-wrap:wrap; justify-content:center; overflow-x:visible; gap:20px; }
    .category-card { width:110px; }
    .category-image { width:80px; height:80px; }
    .category-name { font-size:14px; }
    .category-count { font-size:12px; }
    .products-grid { grid-template-columns:repeat(4,1fr); gap:20px; }
    .products-scroll { gap:20px; }
    .product-card { width:220px; }
    .product-title { font-size:14px; min-height:40px; }
    .price-current { font-size:18px; }
    .brands-scroll { flex-wrap:wrap; justify-content:center; overflow-x:visible; gap:20px; }
    .brand-item { width:140px; height:100px; font-size:15px; }
    .trust-grid { grid-template-columns:repeat(5,1fr); gap:20px; }
    .trust-item { padding:20px; }
    .trust-icon { width:52px; height:52px; }
    .trust-icon i { font-size:24px; }
    .trust-text h4 { font-size:15px; }
    .trust-text p { font-size:13px; }
    .app-promo { padding:48px; }
    .app-promo h3 { font-size:28px; }
    .app-promo p { font-size:16px; }
    .app-benefit { font-size:14px; }
    .newsletter { padding:40px; max-width:720px; margin:0 auto; }
    .newsletter h3 { font-size:22px; }
    .newsletter-form { max-width:480px; margin:0 auto; }
    .footer { padding:48px 32px; }
    .footer-grid { grid-template-columns:repeat(4,1fr); gap:32px; max-width:1280px; margin:0 auto 32px; }
    .footer-col h4 { font-size:15px; }
    .footer-col a { font-size:14px; }
    .social-links { max-width:1280px; margin:0 auto 32px; }
    .footer-bottom { max-width:1280px; margin:0 auto; font-size:13px; }
    .fab-call { bottom:32px; left:32px; }
    .fab-chat { bottom:32px; right:32px; }
    .toast { max-width:480px; bottom:32px; font-size:15px; padding:16px 28px; }
    .quick-view-panel { max-width:600px; left:50%; right:auto; transform:translate(-50%,100%); border-radius:var(--radius-lg); max-height:90vh; }
    .quick-view.active .quick-view-panel { transform:translate(-50%,5vh); }
}

/* Checkout Modal */
.checkout-modal { position:fixed; inset:0; z-index:1200; display:none; }
.checkout-modal.active { display:block; }
.checkout-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.5); }
.checkout-panel { position:absolute; right:0; top:0; bottom:0; width:100%; max-width:480px; background:var(--white); display:flex; flex-direction:column; transform:translateX(100%); transition:transform .3s ease; }
.checkout-modal.active .checkout-panel { transform:translateX(0); }
.checkout-header { padding:16px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.checkout-header h2 { font-size:16px; display:flex; align-items:center; gap:8px; }
.checkout-close { width:32px; height:32px; border-radius:50%; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:14px; color:var(--text-secondary); }
.checkout-body { flex:1; overflow-y:auto; padding:16px; }
.checkout-tabs { display:flex; gap:8px; margin-bottom:16px; }
.checkout-tab { flex:1; padding:10px; border-radius:var(--radius-sm); font-size:13px; font-weight:600; background:var(--bg); color:var(--text-secondary); }
.checkout-tab.active { background:var(--green); color:var(--white); }
.checkout-tab-content { display:none; }
.checkout-tab-content.active { display:block; }
.form-group { margin-bottom:12px; }
.form-group label { display:block; font-size:12px; font-weight:600; margin-bottom:4px; color:var(--text-secondary); }
.form-group input { width:100%; padding:10px 12px; border:1px solid var(--border); border-radius:var(--radius-sm); font-size:14px; font-family:inherit; }
.form-group input:focus { outline:none; border-color:var(--green); }
.checkout-action-btn { width:100%; padding:12px; background:var(--green); color:var(--white); font-weight:700; font-size:14px; border-radius:var(--radius-sm); margin-top:4px; }
.checkout-divider { display:flex; align-items:center; gap:12px; margin:20px 0; color:var(--text-muted); font-size:12px; }
.checkout-divider::before, .checkout-divider::after { content:''; flex:1; height:1px; background:var(--border); }
.checkout-summary { background:var(--bg); border-radius:var(--radius-sm); padding:12px; }
.checkout-item { display:flex; gap:10px; align-items:center; padding:6px 0; border-bottom:1px solid var(--border); }
.checkout-item:last-child { border-bottom:none; }
.checkout-item img { width:40px; height:40px; object-fit:cover; border-radius:var(--radius-sm); }
.checkout-item-info { flex:1; }
.checkout-item-name { font-size:12px; font-weight:600; }
.checkout-item-meta { font-size:11px; color:var(--text-muted); }
.checkout-empty { text-align:center; padding:20px; color:var(--text-muted); font-size:13px; }
.checkout-total-row { display:flex; justify-content:space-between; padding:12px 0; font-weight:700; font-size:15px; margin-top:8px; border-top:2px solid var(--border); }
.checkout-place-btn { width:100%; padding:14px; background:var(--green); color:var(--white); font-weight:700; font-size:15px; border-radius:var(--radius-sm); margin-top:8px; }
.checkout-place-btn:disabled { background:var(--text-muted); cursor:not-allowed; }

/* Account Modal */
.account-modal { position:fixed; inset:0; z-index:1200; display:none; }
.account-modal.active { display:block; }
.account-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.5); }
.account-panel { position:absolute; right:0; top:0; bottom:0; width:100%; max-width:480px; background:var(--white); display:flex; flex-direction:column; transform:translateX(100%); transition:transform .3s ease; }
.account-modal.active .account-panel { transform:translateX(0); }
.account-header { padding:16px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.account-header h2 { font-size:16px; display:flex; align-items:center; gap:8px; }
.account-close { width:32px; height:32px; border-radius:50%; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:14px; color:var(--text-secondary); }
.account-body { flex:1; overflow-y:auto; padding:16px; }
.account-guest { text-align:center; padding:40px 20px; }
.account-guest-icon { width:64px; height:64px; border-radius:50%; background:var(--green-light); color:var(--green); display:flex; align-items:center; justify-content:center; font-size:24px; margin:0 auto 16px; }
.account-guest h3 { font-size:16px; margin-bottom:8px; }
.account-guest p { font-size:13px; color:var(--text-muted); margin-bottom:20px; }
.account-action-btn { padding:12px 24px; background:var(--green); color:var(--white); font-weight:700; font-size:14px; border-radius:var(--radius-sm); }
.account-info { display:flex; gap:12px; align-items:center; margin-bottom:20px; }
.account-avatar { width:48px; height:48px; border-radius:50%; background:var(--green-light); color:var(--green); display:flex; align-items:center; justify-content:center; font-size:20px; }
.account-details { flex:1; }
.account-name { font-size:15px; font-weight:700; }
.account-phone { font-size:13px; color:var(--text-muted); }
.account-address { font-size:12px; color:var(--text-secondary); margin-top:2px; }
.account-stats { display:flex; gap:12px; margin-bottom:20px; }
.account-stat { flex:1; background:var(--bg); padding:12px; border-radius:var(--radius-sm); text-align:center; }
.account-stat-value { font-size:16px; font-weight:700; color:var(--green); }
.account-stat-label { font-size:11px; color:var(--text-muted); margin-top:2px; }
.account-section-title { font-size:14px; font-weight:700; margin-bottom:10px; }
.account-orders { background:var(--bg); border-radius:var(--radius-sm); padding:12px; }
.account-order { padding:10px 0; border-bottom:1px solid var(--border); }
.account-order:last-child { border-bottom:none; }
.account-order-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:4px; }
.account-order-id { font-size:12px; font-weight:700; }
.account-order-status { font-size:11px; padding:2px 8px; border-radius:12px; font-weight:600; }
.status-pending { background:var(--yellow); color:var(--text); }
.status-confirmed { background:var(--green-light); color:var(--green); }
.status-dispatched { background:var(--orange-light); color:var(--orange-dark); }
.status-delivered { background:#d4edda; color:#155724; }
.status-cancelled { background:var(--red-light); color:var(--red); }
.account-order-date { font-size:11px; color:var(--text-muted); }
.account-order-total { font-size:13px; font-weight:700; margin-top:4px; }
.account-empty { text-align:center; padding:20px; color:var(--text-muted); font-size:13px; }
.account-logout-btn { width:100%; padding:12px; background:var(--bg); color:var(--text); font-weight:700; font-size:14px; border-radius:var(--radius-sm); margin-top:16px; border:1px solid var(--border); }

/* Chat Drawer */
.chat-drawer { position:fixed; inset:0; z-index:1100; display:none; }
.chat-drawer.active { display:block; }
.chat-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.3); }
.chat-panel { position:absolute; right:0; top:0; bottom:0; width:100%; max-width:420px; background:var(--white); display:flex; flex-direction:column; transform:translateX(100%); transition:transform .3s ease; }
.chat-drawer.active .chat-panel { transform:translateX(0); }
.chat-header { padding:14px 16px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; background:var(--green); color:var(--white); }
.chat-header-info { display:flex; align-items:center; gap:10px; }
.chat-avatar { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; font-size:16px; }
.chat-title { font-size:14px; font-weight:700; }
.chat-status { font-size:11px; opacity:0.9; display:flex; align-items:center; gap:4px; }
.chat-status-dot { width:6px; height:6px; border-radius:50%; background:#4ade80; }
.chat-close { width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; color:var(--white); font-size:14px; }
.chat-messages { flex:1; overflow-y:auto; padding:16px; background:#f8f9fb; display:flex; flex-direction:column; gap:12px; }
.chat-message { display:flex; flex-direction:column; max-width:80%; }
.chat-message.user { align-self:flex-end; }
.chat-message.bot { align-self:flex-start; }
.chat-bubble { padding:10px 14px; border-radius:var(--radius-lg); font-size:14px; line-height:1.5; word-wrap:break-word; }
.chat-message.user .chat-bubble { background:var(--green); color:var(--white); border-bottom-right-radius:4px; }
.chat-message.bot .chat-bubble { background:var(--white); color:var(--text); border:1px solid var(--border); border-bottom-left-radius:4px; box-shadow:var(--shadow); }
.chat-time { font-size:10px; color:var(--text-muted); margin-top:4px; }
.chat-message.user .chat-time { text-align:right; }
.chat-bubble strong { font-weight:700; }
.chat-bubble em { font-style:italic; }
.chat-bubble u { text-decoration:underline; }
.chat-bubble h3 { font-size:14px; font-weight:700; margin:4px 0; }
.chat-bubble ul { margin:4px 0; padding-left:18px; }
.chat-bubble li { margin-bottom:2px; }
.chat-input-area { padding:12px 16px; border-top:1px solid var(--border); background:var(--white); display:flex; gap:8px; align-items:center; }
.chat-input { flex:1; padding:10px 14px; border:1px solid var(--border); border-radius:var(--radius-xl); font-size:14px; font-family:inherit; background:var(--bg); }
.chat-input:focus { outline:none; border-color:var(--green); }
.chat-send { width:40px; height:40px; border-radius:50%; background:var(--green); color:var(--white); display:flex; align-items:center; justify-content:center; font-size:14px; flex-shrink:0; }
.chat-send:disabled { background:var(--text-muted); cursor:not-allowed; }
.chat-typing { display:flex; gap:4px; padding:10px 14px; }
.chat-typing span { width:6px; height:6px; border-radius:50%; background:var(--text-muted); animation:chatBounce 1.4s infinite ease-in-out both; }
.chat-typing span:nth-child(1) { animation-delay:-0.32s; }
.chat-typing span:nth-child(2) { animation-delay:-0.16s; }
@keyframes chatBounce { 0%,80%,100% { transform:scale(0); } 40% { transform:scale(1); } }
