*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#ffffff;--bg-alt:#f8f9fa;--text:#1a1a1a;--text-muted:#6b7280;
  --primary:#0d9488;--primary-dark:#0f766e;--primary-light:#ccfbf1;
  --border:#e5e7eb;--radius:8px;--shadow:0 1px 3px rgba(0,0,0,.08);
  --font:'DM Sans',system-ui,-apple-system,sans-serif;
  --max-w:1200px;
}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max-w);margin:0 auto;padding:0 1rem}
.announcement-bar{background:var(--text);color:#fff;text-align:center;padding:.5rem 1rem;font-size:.8rem;font-weight:500;letter-spacing:.03em}
.site-header{background:var(--bg);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:60px}
.logo svg{color:var(--text)}
.main-nav{display:flex;gap:1.5rem}
.main-nav a{font-size:.9rem;font-weight:500;color:var(--text-muted);transition:color .2s}
.main-nav a:hover,.main-nav a.active{color:var(--primary)}
.header-actions{display:flex;align-items:center;gap:.75rem}
.cart-btn{position:relative;display:flex;align-items:center;padding:.5rem}
.cart-count{position:absolute;top:0;right:0;background:var(--primary);color:#fff;font-size:.65rem;font-weight:700;min-width:16px;height:16px;border-radius:999px;display:flex;align-items:center;justify-content:center;line-height:1}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem;color:var(--text)}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:.6rem 1.4rem;border-radius:var(--radius);font-family:var(--font);font-size:.9rem;font-weight:600;border:none;cursor:pointer;transition:all .2s;text-decoration:none}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark)}
.btn-outline{background:transparent;border:1.5px solid var(--border);color:var(--text)}
.btn-outline:hover{border-color:var(--text)}
.btn-lg{padding:.8rem 2rem;font-size:1rem}
.btn-sm{padding:.4rem 1rem;font-size:.8rem}
.btn-full{width:100%}
.btn-disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed}
.hero{background:linear-gradient(135deg,#f0fdfa 0%,#ecfdf5 50%,#f0fdf4 100%);padding:4rem 1rem;text-align:center}
.hero h1{font-size:2.5rem;font-weight:700;margin-bottom:.5rem;letter-spacing:-.02em}
.hero-sub{font-size:1.1rem;color:var(--text-muted);margin-bottom:1.5rem}
.section{padding:3rem 0}
.section-alt{background:var(--bg-alt)}
.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}
.section-header h2{font-size:1.5rem;font-weight:700}
.link-arrow{color:var(--primary);font-weight:500;font-size:.9rem}
.page-header{background:var(--bg-alt);padding:2rem 0}
.page-header h1{font-size:1.8rem;font-weight:700}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem}
.cat-card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--radius);padding:1.2rem;text-align:center;font-weight:600;font-size:.9rem;transition:all .2s}
.cat-card:hover{border-color:var(--primary);color:var(--primary)}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem}
.product-card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all .25s}
.product-card:hover{border-color:var(--primary);box-shadow:0 4px 12px rgba(13,148,136,.1);transform:translateY(-2px)}
.product-img{position:relative;aspect-ratio:1;background:var(--bg-alt);overflow:hidden}
.product-img img{width:100%;height:100%;object-fit:cover}
.no-img{display:flex;align-items:center;justify-content:center;height:100%;font-size:2.5rem;background:var(--bg-alt)}
.badge-sale{position:absolute;top:.5rem;left:.5rem;background:#ef4444;color:#fff;font-size:.7rem;font-weight:700;padding:.2rem .6rem;border-radius:4px}
.product-info{padding:.75rem}
.product-info h3{font-size:.9rem;font-weight:600;margin-bottom:.3rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-price{display:flex;align-items:center;gap:.5rem}
.price{font-weight:700;color:var(--primary);font-size:.95rem}
.compare-price{text-decoration:line-through;color:var(--text-muted);font-size:.8rem}
.shop-layout{display:grid;grid-template-columns:200px 1fr;gap:2rem}
.shop-sidebar{position:sticky;top:80px;align-self:start}
.filter-group{margin-bottom:1.5rem}
.filter-group h4{font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:.5rem}
.filter-group a{display:block;padding:.35rem 0;font-size:.9rem;color:var(--text-muted);transition:color .2s}
.filter-group a:hover,.filter-group a.active{color:var(--primary);font-weight:500}
.pagination{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:2rem}
.page-info{font-size:.85rem;color:var(--text-muted)}
.breadcrumb{font-size:.8rem;color:var(--text-muted);margin-bottom:1.5rem}
.breadcrumb a:hover{color:var(--primary)}
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem}
.gallery-main{aspect-ratio:1;border-radius:var(--radius);overflow:hidden;background:var(--bg-alt)}
.gallery-main img{width:100%;height:100%;object-fit:cover}
.no-img-lg{display:flex;align-items:center;justify-content:center;font-size:5rem;background:var(--bg-alt);border-radius:var(--radius);aspect-ratio:1}
.gallery-thumbs{display:flex;gap:.5rem;margin-top:.5rem}
.thumb{width:60px;height:60px;object-fit:cover;border-radius:4px;border:2px solid transparent;cursor:pointer;transition:border-color .2s}
.thumb.active,.thumb:hover{border-color:var(--primary)}
.product-info-detail h1{font-size:1.6rem;font-weight:700;margin-bottom:.5rem}
.product-price-lg .price{font-size:1.5rem}
.product-price-lg .compare-price{font-size:1rem}
.stock-warning{color:#f59e0b;font-size:.85rem;font-weight:500;margin:.5rem 0}
.stock-out{color:#ef4444;font-size:.85rem;font-weight:600;margin:.5rem 0}
.variant-select{margin:1rem 0}
.variant-select label{display:block;font-size:.85rem;font-weight:500;margin-bottom:.3rem}
.variant-select select{width:100%;padding:.6rem;border:1.5px solid var(--border);border-radius:var(--radius);font-family:var(--font);font-size:.9rem}
.qty-row{margin:1rem 0;display:flex;align-items:center;gap:1rem}
.qty-row label{font-size:.85rem;font-weight:500}
.qty-control{display:flex;align-items:center;border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden}
.qty-control button{width:36px;height:36px;border:none;background:var(--bg-alt);cursor:pointer;font-size:1.1rem;font-weight:600}
.qty-control button:hover{background:var(--border)}
.qty-control input{width:50px;text-align:center;border:none;font-family:var(--font);font-size:.9rem;font-weight:600}
.qty-control input::-webkit-outer-spin-button,.qty-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.product-desc{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border)}
.product-desc h3{font-size:1rem;margin-bottom:.5rem}
.trust-badges-sm{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border)}
.trust-badges-sm span{font-size:.8rem;color:var(--text-muted)}
.related-products{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--border)}
.related-products h2{font-size:1.3rem;margin-bottom:1rem}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.trust-item{text-align:center;padding:1.5rem}
.trust-icon{font-size:2rem;margin-bottom:.5rem}
.trust-item h3{font-size:.95rem;font-weight:600;margin-bottom:.25rem}
.trust-item p{font-size:.8rem;color:var(--text-muted)}
.cart-layout{display:grid;grid-template-columns:1fr 340px;gap:2rem}
.cart-items{display:flex;flex-direction:column;gap:.75rem}
.cart-item{display:flex;gap:1rem;padding:1rem;border:1px solid var(--border);border-radius:var(--radius)}
.cart-item-img{width:80px;height:80px;border-radius:6px;overflow:hidden;background:var(--bg-alt);flex-shrink:0}
.cart-item-img img{width:100%;height:100%;object-fit:cover}
.cart-item-info{flex:1;display:flex;flex-direction:column;justify-content:space-between}
.cart-item-name{font-weight:600;font-size:.9rem}
.cart-item-variant{font-size:.8rem;color:var(--text-muted)}
.cart-item-bottom{display:flex;align-items:center;justify-content:space-between}
.cart-item-price{font-weight:700;color:var(--primary)}
.cart-item-remove{background:none;border:none;color:#ef4444;cursor:pointer;font-size:.8rem;font-weight:500}
.cart-summary{background:var(--bg-alt);border-radius:var(--radius);padding:1.5rem;align-self:start;position:sticky;top:80px}
.cart-summary h3{font-size:1.1rem;margin-bottom:1rem}
.summary-row{display:flex;justify-content:space-between;padding:.5rem 0;font-size:.9rem}
.summary-row.total{border-top:2px solid var(--border);margin-top:.5rem;padding-top:.75rem;font-size:1.1rem;font-weight:700}
.cart-summary .btn{margin-top:.75rem}
.checkout-layout{display:grid;grid-template-columns:1fr 380px;gap:2rem}
.checkout-form h3{font-size:1.1rem;margin-bottom:1rem}
.form-group{margin-bottom:1rem}
.form-group label{display:block;font-size:.85rem;font-weight:500;margin-bottom:.3rem}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:.65rem .75rem;border:1.5px solid var(--border);border-radius:var(--radius);font-family:var(--font);font-size:.9rem;transition:border-color .2s}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--primary)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.checkout-summary{background:var(--bg-alt);border-radius:var(--radius);padding:1.5rem;align-self:start;position:sticky;top:80px}
.checkout-summary h3{font-size:1.1rem;margin-bottom:1rem}
.checkout-item{display:flex;justify-content:space-between;padding:.4rem 0;font-size:.85rem;border-bottom:1px solid var(--border)}
.summary-note{font-size:.8rem;color:var(--text-muted);padding:.3rem 0}
.cod-notice{background:var(--primary-light);color:var(--primary-dark);padding:.75rem;border-radius:var(--radius);font-size:.85rem;font-weight:500;text-align:center;margin:1rem 0}
.form-error{color:#ef4444;font-size:.85rem;margin-top:.5rem;padding:.5rem;background:#fef2f2;border-radius:var(--radius)}
.confirmation-box{max-width:600px;margin:0 auto;text-align:center}
.confirm-icon{font-size:3rem;margin-bottom:.5rem}
.confirmation-box h1{font-size:1.8rem;margin-bottom:.5rem}
.confirm-number{font-size:1.2rem;font-weight:700;color:var(--primary);margin-bottom:1rem}
.confirm-details{text-align:left;background:var(--bg-alt);padding:1.5rem;border-radius:var(--radius);margin:1.5rem 0}
.confirm-details h3{font-size:1rem;margin-bottom:.75rem}
.confirm-item{display:flex;justify-content:space-between;padding:.4rem 0;font-size:.9rem;border-bottom:1px solid var(--border)}
.confirm-item.total{border-top:2px solid var(--border);border-bottom:none;font-weight:700;font-size:1rem;padding-top:.75rem;margin-top:.5rem}
.confirm-address{text-align:left;margin:1rem 0}
.confirm-address h3{font-size:1rem;margin-bottom:.3rem}
.confirm-actions{display:flex;gap:.75rem;justify-content:center;margin-top:1.5rem}
.tracking-form{margin-bottom:2rem}
.tracking-results h3{margin-bottom:1rem}
.tracking-order{border:1.5px solid var(--border);border-radius:var(--radius);padding:1rem;margin-bottom:.75rem}
.tracking-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
.order-num{font-weight:700}
.status-badge{display:inline-block;color:#fff;font-size:.7rem;font-weight:700;padding:.2rem .6rem;border-radius:4px}
.tracking-meta{display:flex;justify-content:space-between;font-size:.85rem;color:var(--text-muted)}
.tracking-total{font-weight:600;color:var(--text)}
.content-page{max-width:700px}
.content-page h3{font-size:1.1rem;margin:1.5rem 0 .5rem}
.content-page p{margin-bottom:.75rem;color:var(--text-muted)}
.content-page a{color:var(--primary)}
.simple-table{width:100%;border-collapse:collapse;margin:1rem 0}
.simple-table th,.simple-table td{padding:.6rem .75rem;border-bottom:1px solid var(--border);text-align:left;font-size:.9rem}
.simple-table th{font-weight:600;font-size:.8rem;text-transform:uppercase;color:var(--text-muted)}
.simple-table small{color:var(--text-muted)}
.empty-state{text-align:center;padding:2rem;color:var(--text-muted)}
.site-footer{background:var(--text);color:#fff;padding:3rem 0 1.5rem;margin-top:3rem}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;margin-bottom:2rem}
.footer-col h4{font-size:.85rem;font-weight:600;margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.03em}
.footer-col p,.footer-col a{font-size:.85rem;color:rgba(255,255,255,.6);display:block;margin-bottom:.4rem;transition:color .2s}
.footer-col a:hover{color:#fff}
.social-links{display:flex;flex-direction:column}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.5rem;text-align:center}
.footer-bottom p{font-size:.8rem;color:rgba(255,255,255,.4)}
.toast{position:fixed;bottom:1.5rem;right:1.5rem;background:var(--text);color:#fff;padding:.75rem 1.25rem;border-radius:var(--radius);font-size:.9rem;font-weight:500;z-index:9999;transform:translateY(100px);opacity:0;transition:all .3s ease}
.toast.show{transform:translateY(0);opacity:1}
@media(max-width:768px){
  .main-nav{display:none;position:absolute;top:60px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--border);flex-direction:column;padding:1rem}
  .main-nav.open{display:flex}
  .menu-toggle{display:block}
  .hero h1{font-size:1.8rem}
  .trust-grid{grid-template-columns:repeat(2,1fr);gap:1rem}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}
  .shop-layout{grid-template-columns:1fr}
  .shop-sidebar{position:static;display:flex;gap:1rem;overflow-x:auto;padding-bottom:.5rem}
  .filter-group{flex-shrink:0}
  .product-detail{grid-template-columns:1fr}
  .cart-layout{grid-template-columns:1fr}
  .cart-summary{position:static}
  .checkout-layout{grid-template-columns:1fr}
  .checkout-summary{position:static;order:-1}
  .form-row{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}
  .confirm-actions{flex-direction:column}
}
@media(max-width:480px){
  .product-grid{grid-template-columns:repeat(2,1fr);gap:.5rem}
  .product-info{padding:.5rem}
  .product-info h3{font-size:.8rem}
  .price{font-size:.85rem}
}
