/* ===================================================================
   XANI SHOP — Premium E-Commerce
   Brand Orange: #e8882d  |  Dark: #1a1a2e  |  Warm BG: #f8f7f4
   =================================================================== */

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #f8f7f4;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========================= HEADER ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.logo-img { height: 30px; width: auto; }
.logo-shop {
  background: #e8882d;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 3.5px;
  padding: 2px 8px 1px;
  border-radius: 2px;
  line-height: 1;
}
.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #777;
  transition: color 0.15s;
  position: relative;
}
.main-nav a:hover { color: #e8882d; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: #1a1a1a; padding: 8px; }

.header-right { display: flex; align-items: center; gap: 8px; }
.cart-icon-link {
  position: relative; color: #1a1a1a; display: flex; align-items: center;
  padding: 10px; border-radius: 50%; transition: background 0.15s;
}
.cart-icon-link:hover { background: rgba(232,136,45,0.06); }
.cart-badge, .cart-badge-icon {
  background: #e8882d; color: #fff; font-size: 0.6rem; font-weight: 700;
  border-radius: 50%; min-width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 2px; right: 0; padding: 0 4px;
}
.cart-link .cart-badge { position: static; display: inline-flex; margin-left: 6px; }

/* ========================= HERO ========================= */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(26,26,46,0.55) 50%, rgba(26,26,46,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 60px 24px;
  max-width: 680px;
  animation: heroFadeIn 0.8s ease-out;
}
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  display: inline-block;
  background: rgba(232,136,45,0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  animation: heroFadeIn 0.8s ease-out 0.15s both;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  animation: heroFadeIn 0.8s ease-out 0.3s both;
}
.hero p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 28px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  animation: heroFadeIn 0.8s ease-out 0.45s both;
}
.hero-actions { margin-bottom: 28px; animation: heroFadeIn 0.8s ease-out 0.6s both; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.hero-trust {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  font-size: 0.8rem; opacity: 0.85;
  animation: heroFadeIn 0.8s ease-out 0.75s both;
}

/* ========================= USP BAR ========================= */
.usp-bar {
  background: #1a1a2e;
  color: rgba(255,255,255,0.85);
  padding: 14px 24px;
  overflow: hidden;
}
.usp-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
}
.usp-item { font-size: 0.8rem; font-weight: 500; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.usp-icon { color: #e8882d; font-weight: 700; }

/* ========================= SECTIONS ========================= */
.featured, .page-section {
  max-width: 1320px; margin: 0 auto; padding: 64px 28px;
}
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag {
  display: inline-block; background: rgba(232,136,45,0.1); color: #e8882d;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 12px;
}
.featured h2, .page-section h1 {
  font-size: 2rem; font-weight: 800; margin-bottom: 8px;
  letter-spacing: -0.02em; color: #1a1a2e;
}
.section-sub { color: #999; font-size: 0.95rem; }
.page-section h1 { text-align: center; margin-bottom: 28px; }
.text-center { text-align: center; margin-top: 44px; }

/* ========================= BUTTONS ========================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 10px; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease; border: none; gap: 8px;
  letter-spacing: 0.01em; text-decoration: none;
}
.btn-primary {
  background: #e8882d; color: #fff;
  box-shadow: 0 4px 14px rgba(232,136,45,0.25);
}
.btn-primary:hover {
  background: #d47a24;
  box-shadow: 0 6px 20px rgba(232,136,45,0.35);
  transform: translateY(-1px);
}
.btn-outline { background: transparent; border: 1.5px solid #ddd; color: #666; }
.btn-outline:hover { border-color: #e8882d; color: #e8882d; }
.btn-buy {
  background: #e8882d; color: #fff; font-size: 1rem; font-weight: 700;
  padding: 15px 44px; border-radius: 12px;
  box-shadow: 0 4px 16px rgba(232,136,45,0.3);
}
.btn-buy:hover {
  background: #d47a24;
  box-shadow: 0 8px 28px rgba(232,136,45,0.4);
  transform: translateY(-2px);
}
.btn-sm { padding: 7px 16px; font-size: 0.78rem; background: #e8882d; color: #fff; border-radius: 8px; }
.btn-sm:hover { background: #d47a24; }
.btn-full { width: 100%; }

/* ========================= SEARCH ========================= */
.search-bar { display: flex; gap: 8px; max-width: 500px; margin: 0 auto 32px; }
.search-bar input {
  flex: 1; padding: 13px 20px; border: 1.5px solid #e5e2dd; border-radius: 12px;
  font-size: 0.9rem; background: #fff; transition: all 0.2s;
}
.search-bar input:focus { outline: none; border-color: #e8882d; box-shadow: 0 0 0 3px rgba(232,136,45,0.08); }
.result-count { text-align: center; color: #aaa; margin-bottom: 20px; font-size: 0.82rem; }

/* ========================= PRODUCT GRID ========================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s ease, opacity 0.5s ease;
  display: flex; flex-direction: column;
  position: relative;
  animation: cardFadeIn 0.5s ease-out both;
}
@keyframes cardFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.product-grid .product-card:nth-child(1) { animation-delay: 0s; }
.product-grid .product-card:nth-child(2) { animation-delay: 0.08s; }
.product-grid .product-card:nth-child(3) { animation-delay: 0.16s; }
.product-grid .product-card:nth-child(4) { animation-delay: 0.24s; }
.product-grid .product-card:nth-child(5) { animation-delay: 0.32s; }
.product-grid .product-card:nth-child(6) { animation-delay: 0.4s; }
.product-grid .product-card:nth-child(7) { animation-delay: 0.48s; }
.product-grid .product-card:nth-child(8) { animation-delay: 0.56s; }
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.product-card-image {
  aspect-ratio: 1; overflow: hidden; background: #faf9f6;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: contain; padding: 20px;
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1);
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.no-image, .no-image-large { color: #ddd; font-size: 0.85rem; }
.no-image-large {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  background: #faf9f6; border-radius: 16px;
}
.product-card-body {
  padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1;
}
.product-card-body h3 {
  font-size: 0.88rem; font-weight: 600; line-height: 1.35; color: #2a2a2a;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-brand { font-size: 0.7rem; color: #bbb; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.card-price { font-size: 1.15rem; font-weight: 800; color: #e8882d; margin-top: auto; padding-top: 6px; margin-bottom: 0; }
.card-vat { font-size: 0.65rem; color: #bbb; }
.card-variants {
  font-size: 0.7rem; color: #888; background: #f5f4f0; padding: 3px 10px;
  border-radius: 100px; display: inline-block; width: fit-content; font-weight: 500;
}

/* ========================= PRODUCT DETAIL ========================= */
.product-detail { max-width: 1320px; margin: 0 auto; padding: 36px 28px 72px; }
.back-link {
  color: #e8882d; font-size: 0.82rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px; margin-bottom: 28px;
  transition: opacity 0.15s;
}
.back-link:hover { opacity: 0.7; }
.product-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.product-images { position: sticky; top: 96px; }
.main-image {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}
.main-image img { width: 100%; object-fit: contain; max-height: 560px; padding: 28px; }
.image-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumb {
  width: 68px; height: 68px; object-fit: contain; border-radius: 10px;
  cursor: pointer; border: 2px solid transparent; transition: all 0.2s;
  background: #fff; padding: 6px;
}
.thumb.active, .thumb:hover { border-color: #e8882d; box-shadow: 0 2px 8px rgba(232,136,45,0.15); }
.product-info h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; text-align: left; line-height: 1.3; letter-spacing: -0.01em; }
.product-brand { color: #bbb; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.product-price { font-size: 2.2rem; font-weight: 900; color: #e8882d; margin: 16px 0 2px; letter-spacing: -0.02em; }
.product-vat { color: #999; font-size: 0.78rem; margin-bottom: 6px; }
.product-shipping { color: #999; font-size: 0.82rem; display: flex; align-items: center; gap: 6px; }
.product-condition {
  color: #777; font-size: 0.82rem; margin-top: 10px;
  background: #f5f4f0; display: inline-block; padding: 5px 12px; border-radius: 6px;
}
.product-description { margin-top: 32px; padding-top: 24px; border-top: 1px solid #eee; }
.product-description h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.product-description p { color: #666; line-height: 1.8; font-size: 0.88rem; }
.product-meta { color: #ccc; font-size: 0.78rem; margin-top: 4px; }

/* ========================= VARIANT SELECT ========================= */
.variant-select { margin-top: 24px; }
.variant-select label { font-size: 0.8rem; font-weight: 600; color: #888; display: block; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.variant-select select {
  width: 100%; padding: 13px 16px; border: 1.5px solid #e5e2dd; border-radius: 12px;
  font-size: 0.9rem; background: #fff; cursor: pointer; transition: all 0.2s;
}
.variant-select select:focus { outline: none; border-color: #e8882d; box-shadow: 0 0 0 3px rgba(232,136,45,0.08); }

/* ========================= ADD TO CART ========================= */
.add-to-cart-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid #eee; }
.add-to-cart-section > label { font-size: 0.8rem; font-weight: 600; color: #888; display: block; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.qty-row { display: flex; gap: 12px; align-items: center; }
.qty-row input[type="number"] {
  width: 68px; padding: 13px; border: 1.5px solid #e5e2dd; border-radius: 12px;
  font-size: 1rem; text-align: center; font-weight: 600; transition: all 0.2s;
}
.qty-row input[type="number"]:focus { outline: none; border-color: #e8882d; box-shadow: 0 0 0 3px rgba(232,136,45,0.08); }

/* ========================= PAYMENT & TRUST ========================= */
.payment-methods { display: flex; gap: 6px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.pay-badge {
  background: #fff; border: 1px solid #e8e6e1; border-radius: 6px;
  padding: 5px 12px; font-size: 0.68rem; font-weight: 600; color: #777; letter-spacing: 0.01em;
}
.trust-row { display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: #999; font-weight: 500; }
.trust-icon { font-size: 0.9rem; }

/* ========================= CART ========================= */
.cart-table { margin-bottom: 36px; }
.cart-header-row {
  display: grid; grid-template-columns: 3fr 1fr 90px 1fr 40px;
  gap: 12px; padding: 12px 0; border-bottom: 1.5px solid #e8e6e1;
  font-weight: 700; font-size: 0.72rem; color: #bbb;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.cart-row {
  display: grid; grid-template-columns: 3fr 1fr 90px 1fr 40px;
  gap: 12px; padding: 20px 0; border-bottom: 1px solid #f2f0ed; align-items: center;
}
.cart-product { display: flex; gap: 16px; align-items: center; }
.cart-thumb {
  width: 72px; height: 72px; object-fit: contain; border-radius: 12px;
  background: #fff; border: 1px solid #eee; flex-shrink: 0; padding: 6px;
}
.cart-qty {
  width: 60px; padding: 9px; border: 1.5px solid #e5e2dd; border-radius: 10px;
  text-align: center; font-size: 0.88rem; font-weight: 600; transition: all 0.2s;
}
.cart-qty:focus { outline: none; border-color: #e8882d; }
.btn-remove { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #ddd; transition: color 0.15s; }
.btn-remove:hover { color: #ef4444; }

.cart-summary {
  background: #fff; border-radius: 20px; padding: 32px;
  border: 1px solid rgba(0,0,0,0.04); max-width: 440px; margin-left: auto;
}
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.9rem; color: #666; }
.summary-total {
  border-top: 2px solid #1a1a2e; margin-top: 10px; padding-top: 16px;
  font-size: 1.25rem; font-weight: 800; color: #1a1a2e;
}
.vat-note { font-size: 0.78rem; color: #999; text-align: right; margin-top: 6px; }
.cart-actions { display: flex; gap: 12px; margin-top: 28px; justify-content: flex-end; }

/* ========================= CHECKOUT ========================= */
.checkout-grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
.checkout-left { display: flex; flex-direction: column; gap: 24px; }
.form-card {
  background: #fff; border-radius: 20px; padding: 32px;
  border: 1px solid rgba(0,0,0,0.04);
}
.form-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; letter-spacing: -0.01em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 600; color: #aaa; margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid #e5e2dd; border-radius: 12px;
  font-size: 0.9rem; font-family: inherit; background: #fff; transition: all 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #e8882d;
  box-shadow: 0 0 0 3px rgba(232,136,45,0.08);
}
.checkbox-label {
  display: flex; align-items: center; gap: 10px; font-size: 0.88rem;
  margin-bottom: 18px; cursor: pointer; color: #666; font-weight: 500;
}
.checkbox-label input { width: auto; accent-color: #e8882d; }
.order-summary { position: sticky; top: 96px; }
.checkout-item {
  display: flex; justify-content: space-between; padding: 10px 0;
  font-size: 0.85rem; border-bottom: 1px solid #f2f0ed; color: #666;
}
.checkout-legal { font-size: 0.72rem; color: #bbb; margin-top: 14px; line-height: 1.6; }
.checkout-login-hint {
  text-align: center; font-size: 0.88rem; color: #888; margin-bottom: 24px;
  background: rgba(232,136,45,0.05); padding: 12px; border-radius: 10px;
}
.checkout-login-hint a { color: #e8882d; font-weight: 600; }
.checkout-legal a { color: #e8882d; font-weight: 600; }

/* ========================= SUCCESS ========================= */
.success-box { max-width: 500px; margin: 0 auto; padding: 72px 24px; }
.success-icon {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, #e8882d, #f5a55a);
  color: #fff; font-size: 2.6rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  box-shadow: 0 12px 32px rgba(232,136,45,0.3);
}
.success-box h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.success-box p { color: #777; margin-bottom: 8px; }
.success-detail {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  color: #e8882d; font-weight: 800; font-size: 1.15rem;
  margin: 24px 0; letter-spacing: 0.05em;
  background: rgba(232,136,45,0.06); display: inline-block; padding: 8px 20px; border-radius: 8px;
}
.success-box .btn { margin-top: 32px; }

/* ========================= LEGAL ========================= */
.legal { max-width: 800px; }
.legal h1 { text-align: left; margin-bottom: 28px; font-size: 1.6rem; }
.legal h2 { font-size: 1.05rem; margin: 32px 0 8px; color: #1a1a2e; font-weight: 700; }
.legal p, .legal li { color: #666; line-height: 1.85; font-size: 0.88rem; }
.legal ul { padding-left: 24px; margin: 8px 0; }
.legal a { color: #e8882d; font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal-date { margin-top: 40px; color: #ccc; font-size: 0.78rem; }

/* ========================= FOOTER ========================= */
.site-footer {
  background: #1a1a2e; color: rgba(255,255,255,0.55);
  padding: 48px 28px; margin-top: 0;
}
.footer-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-col { font-size: 0.78rem; line-height: 1.8; }
.footer-col a { color: rgba(255,255,255,0.55); margin-right: 20px; transition: color 0.15s; }
.footer-col a:hover { color: #e8882d; }

/* ========================= AUTH & ACCOUNT ========================= */
.auth-card {
  max-width: 460px; margin: 0 auto; background: #fff; border-radius: 20px;
  padding: 40px 36px; border: 1px solid rgba(0,0,0,0.04);
}
.auth-card h1 { text-align: center; font-size: 1.5rem; margin-bottom: 4px; }
.auth-sub { text-align: center; color: #999; font-size: 0.88rem; margin-bottom: 24px; }
.auth-form { margin-top: 8px; }
.auth-error {
  background: #fef2f2; color: #dc2626; border: 1px solid #fecaca;
  border-radius: 10px; padding: 12px 16px; font-size: 0.85rem; margin-bottom: 16px;
}
.auth-success {
  background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0;
  border-radius: 10px; padding: 12px 16px; font-size: 0.85rem; margin-bottom: 16px;
}
.auth-link { text-align: center; margin-top: 20px; font-size: 0.85rem; color: #999; }
.auth-link a { color: #e8882d; font-weight: 600; }
.auth-link a:hover { text-decoration: underline; }

.account-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.account-header h1 { margin-bottom: 0; text-align: left; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

.header-account {
  color: #1a1a1a; display: flex; align-items: center; padding: 8px;
  border-radius: 50%; transition: background 0.15s;
}
.header-account:hover { background: rgba(232,136,45,0.06); }

.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-item {
  border: 1px solid #f0eeeb; border-radius: 12px; padding: 16px; transition: border-color 0.15s;
}
.order-item:hover { border-color: #e8882d; }
.order-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.order-number { font-weight: 700; font-size: 0.88rem; font-family: 'SF Mono', Monaco, monospace; }
.order-badge {
  color: #fff; font-size: 0.68rem; font-weight: 700; padding: 3px 10px;
  border-radius: 100px; text-transform: capitalize;
}
.order-item-body { display: flex; justify-content: space-between; font-size: 0.82rem; color: #999; margin-bottom: 4px; }
.order-total { font-weight: 700; color: #1a1a2e; }
.order-item-products { font-size: 0.78rem; color: #bbb; }

@media (max-width: 768px) {
  .account-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
  .account-header { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ========================= MISC ========================= */
.empty-state { text-align: center; color: #ccc; padding: 72px 0; font-size: 1rem; }
.empty-state a { color: #e8882d; font-weight: 600; }

.toast-container { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #1a1a2e; color: #fff; padding: 16px 24px; border-radius: 14px;
  font-size: 0.86rem; opacity: 0; transform: translateY(14px);
  transition: all 0.35s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18); border-left: 3px solid #e8882d;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ========================= RESPONSIVE ========================= */

/* Tablet */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-images { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 2.4rem; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    flex-direction: column; padding: 20px 28px; gap: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1rem; padding: 4px 0; }

  .header-inner { height: 64px; padding: 0 16px; }
  .featured, .page-section { padding: 40px 16px; }

  .hero { min-height: 380px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.9rem; }
  .hero-content { padding: 40px 16px; }
  .hero-trust { font-size: 0.72rem; gap: 12px; }
  .btn-lg { padding: 14px 32px; font-size: 0.9rem; }

  .usp-inner { gap: 16px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .usp-item { font-size: 0.72rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card { border-radius: 12px; }
  .product-card-image img { padding: 12px; }
  .product-card-body { padding: 12px 14px 16px; }
  .product-card-body h3 { font-size: 0.8rem; }
  .card-price { font-size: 1rem; }
  .card-brand { font-size: 0.65rem; }

  .product-detail { padding: 20px 16px 48px; }
  .product-price { font-size: 1.7rem; }
  .product-info h1 { font-size: 1.25rem; }
  .main-image img { padding: 16px; }
  .thumb { width: 56px; height: 56px; }

  .cart-header-row { display: none; }
  .cart-row { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
  .cart-product { flex-wrap: wrap; }
  .cart-summary { max-width: 100%; border-radius: 16px; padding: 24px; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; border-radius: 16px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-col a { margin: 0 10px; }

  .trust-row { gap: 10px; }
  .payment-methods { gap: 4px; }
  .pay-badge { padding: 4px 8px; font-size: 0.62rem; }

  .section-header { margin-bottom: 28px; }
  .featured h2, .page-section h1 { font-size: 1.5rem; }
}

/* Small phone */
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero h1 { font-size: 1.5rem; }
  .qty-row { flex-direction: column; align-items: stretch; }
  .qty-row input[type="number"] { width: 100%; }
  .btn-buy { padding: 14px 24px; }
}
