@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: #1E293B; background: #fff; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font-family: inherit; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; }
.btn-primary { background: #0EA5E9; color: #fff; }
.btn-primary:hover { background: #0284C7; }
.btn-outline { background: transparent; color: #0EA5E9; border: 1.5px solid #0EA5E9; }
.btn-outline:hover { background: #0EA5E9; color: #fff; }
.btn-ghost { background: transparent; color: #64748B; border: 1.5px solid #E2E8F0; }
.btn-ghost:hover { background: #F8FAFC; }
.btn-danger { background: #EF4444; color: #fff; }
.btn-danger:hover { background: #DC2626; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 16px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-full { width: 100%; }

/* ── HEADER ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.3s; }
.site-header.scrolled { background: rgba(10,37,64,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 36px; height: 36px; background: #0EA5E9; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.logo-name { color: #fff; font-weight: 800; font-size: 19px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-link { color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500; }
.header-link:hover { color: #fff; }
.cart-btn { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,0.15); }
.cart-btn:hover { background: rgba(255,255,255,0.18); }
.cart-count { background: #0EA5E9; color: #fff; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; }
.mobile-nav { display: none; flex-direction: column; background: rgba(10,37,64,0.98); border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 600; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #0A2540 0%, #0F3460 50%, #0A2540 100%); min-height: 90vh; display: flex; align-items: center; padding-top: 66px; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 80px 1.25rem 60px; }
.hero-eyebrow { display: inline-block; background: rgba(14,165,233,0.15); border: 1px solid rgba(14,165,233,0.3); color: #7DD3FC; font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; letter-spacing: 0.05em; }
.hero h1 { color: #fff; font-size: clamp(2.4rem,5vw,4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero h1 .accent { color: #0EA5E9; }
.hero p { color: rgba(255,255,255,0.7); font-size: clamp(1rem,2vw,1.15rem); line-height: 1.7; margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust span { color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 500; }

/* ── CATEGORIES BAR ── */
.cats-bar { background: #F8FAFC; border-bottom: 1px solid #E2E8F0; padding: 14px 0; }
.cats-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cat-pill { background: #fff; border: 1px solid #E2E8F0; color: #475569; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.cat-pill:hover, .cat-pill.cat-all { background: #0EA5E9; color: #fff; border-color: #0EA5E9; }

/* ── SECTIONS ── */
.section { padding: 80px 1.25rem; }
.section-dark { background: #F8FAFC; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section-label { color: #0EA5E9; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.section-title { color: #0A2540; font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.page-title { color: #0A2540; font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; margin-bottom: 24px; }

/* ── PRODUCT GRID ── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 22px; }
.product-card { background: #fff; border-radius: 14px; border: 1px solid #E2E8F0; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.product-img { aspect-ratio: 4/3; background: #F1F5F9; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-img img { transform: scale(1.04); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; color: #CBD5E1; }
.badge { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-featured { background: #0EA5E9; color: #fff; }
.product-info { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-cat { color: #0EA5E9; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.product-name { color: #0A2540; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.product-desc { color: #64748B; font-size: 13px; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-price { color: #0A2540; font-weight: 800; font-size: 1.05rem; }
.btn-configure { color: #0EA5E9; font-weight: 700; font-size: 13px; }

/* ── PRODUCT DETAIL ── */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 24px; }
.product-images .img-main { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: #F1F5F9; }
.product-images .img-main img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder-lg { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 64px; color: #CBD5E1; gap: 12px; }
.img-placeholder-lg p { font-size: 14px; color: #94A3B8; }
.img-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.img-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 2px solid #E2E8F0; cursor: pointer; }
.img-thumb.active { border-color: #0EA5E9; }
.product-detail-title { color: #0A2540; font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; margin: 8px 0 16px; }
.product-detail-price { color: #0EA5E9; font-size: 1.6rem; font-weight: 800; margin-bottom: 28px; }
.variations { display: flex; flex-direction: column; gap: 24px; margin-bottom: 28px; }
.variation-group {}
.variation-label { font-size: 13px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 10px; }
.variation-label strong { color: #0A2540; font-size: 14px; text-transform: none; letter-spacing: 0; margin-left: 6px; }
.variation-options { display: flex; gap: 8px; flex-wrap: wrap; }
.var-btn { background: #fff; border: 2px solid #E2E8F0; color: #475569; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.var-btn small { font-size: 11px; color: #0EA5E9; font-weight: 700; }
.var-btn:hover { border-color: #0EA5E9; color: #0A2540; }
.var-btn.selected { border-color: #0EA5E9; background: rgba(14,165,233,0.08); color: #0A2540; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-control { display: flex; align-items: center; border: 1.5px solid #E2E8F0; border-radius: 8px; overflow: hidden; }
.qty-control button { width: 38px; height: 38px; border: none; background: #F8FAFC; color: #0A2540; font-size: 18px; font-weight: 600; cursor: pointer; }
.qty-control button:hover { background: #E2E8F0; }
.qty-control input { width: 56px; text-align: center; border: none; border-left: 1.5px solid #E2E8F0; border-right: 1.5px solid #E2E8F0; height: 38px; font-size: 15px; font-weight: 600; color: #0A2540; outline: none; }
.add-cart-row { margin-bottom: 14px; }
.trust-note { color: #64748B; font-size: 13px; margin-bottom: 28px; }
.product-desc-full { border-top: 1px solid #E2E8F0; padding-top: 24px; }
.product-desc-full h3 { color: #0A2540; font-weight: 700; margin-bottom: 12px; }
.product-desc-full p { color: #475569; line-height: 1.7; font-size: 14px; }

/* ── BREADCRUMB ── */
.breadcrumb { color: #94A3B8; font-size: 13px; margin-bottom: 28px; }
.breadcrumb a { color: #0EA5E9; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── CART ── */
.cart-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #E2E8F0; }
.cart-img { width: 72px; height: 72px; background: #F1F5F9; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; color: #0A2540; margin-bottom: 4px; }
.cart-item-vars { color: #64748B; font-size: 13px; }
.cart-item-price { color: #64748B; font-size: 13px; margin-top: 4px; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; }
.cart-item-qty button { width: 28px; height: 28px; border-radius: 6px; border: 1px solid #E2E8F0; background: #F8FAFC; font-size: 16px; cursor: pointer; }
.cart-item-total { font-weight: 700; color: #0A2540; min-width: 80px; text-align: right; }
.cart-remove { background: none; border: none; color: #94A3B8; font-size: 16px; cursor: pointer; padding: 4px; }
.cart-remove:hover { color: #EF4444; }
.cart-summary { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 24px; margin-top: 24px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 10px; }
.cart-note { color: #64748B; font-size: 13px; margin-bottom: 20px; }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 22px; }
.why-card { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 28px 24px; }
.why-icon { font-size: 32px; margin-bottom: 14px; }
.why-card h3 { color: #0A2540; font-weight: 700; margin-bottom: 8px; }
.why-card p { color: #64748B; font-size: 14px; line-height: 1.65; }

/* ── AUTH ── */
.auth-wrap { min-height: calc(100vh - 66px); display: flex; align-items: center; justify-content: center; padding: 60px 20px; background: #F8FAFC; }
.auth-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 40px 36px; width: 100%; max-width: 420px; }
.auth-card h1 { color: #0A2540; font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-switch { text-align: center; color: #64748B; font-size: 14px; margin-top: 16px; }
.auth-switch a { color: #0EA5E9; font-weight: 600; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: #475569; }
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px; border-radius: 8px; border: 1.5px solid #E2E8F0;
  font-size: 14px; color: #0A2540; outline: none; transition: border-color 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #0EA5E9; }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626; }
.alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #16A34A; }

/* ── ORDERS ── */
.order-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; }
.order-card-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #E2E8F0; background: #F8FAFC; }
.order-items-list { padding: 12px 20px; }
.order-item-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; color: #475569; }
.order-card-foot { padding: 12px 20px; border-top: 1px solid #E2E8F0; display: flex; justify-content: flex-end; }
.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* ── FOOTER ── */
.site-footer { background: #0F172A; padding: 56px 1.25rem 28px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-weight: 700; font-size: 12px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-grid ul li a { color: rgba(255,255,255,0.45); font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 13px; }

/* ── SHOP PAGE ── */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.shop-filters { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 20px; position: sticky; top: 80px; }
.shop-filters h3 { font-size: 14px; font-weight: 700; color: #0A2540; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.filter-list a { display: block; padding: 7px 10px; border-radius: 6px; font-size: 14px; color: #475569; transition: all 0.2s; }
.filter-list a:hover, .filter-list a.active { background: rgba(14,165,233,0.1); color: #0EA5E9; font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .main-nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .section { padding: 56px 1.25rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .cart-row { flex-wrap: wrap; }
}
