:root {
  --c-text: #17181c;
  --c-muted: #6d7280;
  --c-border: #e9e9ec;
  --c-bg: #ffffff;
  --c-soft: #f6f6f8;
  --c-dark: #111114;
  --c-accent: #ff3d5a;
  --c-accent-dark: #e22642;
  --c-sale: #e63946;
  --c-green: #16a34a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(17, 17, 20, 0.08);
  --shadow-sm: 0 2px 10px rgba(17, 17, 20, 0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.site-main { min-height: 50vh; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-dark { background: var(--c-dark); color: #fff; }
.btn-dark:hover { background: #2b2b31; }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: var(--c-accent-dark); }
.btn-light { background: #fff; color: var(--c-text); }
.btn-light:hover { background: #f1f1f3; }
.btn-outline { background: transparent; border: 1.5px solid var(--c-text); color: var(--c-text); }
.btn-outline:hover { background: var(--c-text); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.badge {
  position: absolute;
  top: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.badge-sale { left: 12px; background: var(--c-sale); color: #fff; }
.badge-new { right: 12px; background: var(--c-dark); color: #fff; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--c-dark);
  color: #fff;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease;
}
.toast-success { background: var(--c-green); }
.toast-error { background: var(--c-sale); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.topbar { background: var(--c-dark); color: #e8e8ea; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar-msg b { color: #fff; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { color: #c9c9ce; transition: color 0.15s; }
.topbar-links a:hover { color: #fff; }

.site-header { background: #fff; border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 76px; }

.logo {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
}
.logo span { color: var(--c-accent); }
.logo-light { color: #fff; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--c-text);
  padding: 6px;
}

.search { flex: 1; display: flex; align-items: center; background: var(--c-soft); border: 1.5px solid transparent; border-radius: 50px; overflow: hidden; transition: border-color 0.15s, background 0.15s; max-width: 560px; }
.search:focus-within { border-color: var(--c-dark); background: #fff; }
.search input { flex: 1; border: 0; background: transparent; padding: 12px 20px; outline: none; font-size: 14px; }
.search button { border: 0; background: transparent; padding: 12px 20px; color: var(--c-muted); display: flex; align-items: center; transition: color 0.15s; }
.search button:hover { color: var(--c-text); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-text);
  transition: background 0.15s;
  position: relative;
}
.header-link:hover { background: var(--c-soft); }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--c-accent);
  color: #fff;
  font-size: 10.5px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-weight: 700;
}

.main-nav { border-top: 1px solid var(--c-border); }
.nav-list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a {
  display: inline-block;
  padding: 13px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #3f3f46;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-list a:hover { color: var(--c-text); border-color: var(--c-dark); }
.nav-sale a { color: var(--c-accent); }
.nav-sale a:hover { border-color: var(--c-accent); }

.hero { position: relative; overflow: hidden; background: var(--c-dark); }
.slides { position: relative; }
.slide {
  display: none;
  min-height: 480px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.slide.active { display: flex; animation: fadeSlide 0.6s ease; }
@keyframes fadeSlide { from { opacity: 0; } to { opacity: 1; } }

.slide-1 { background: #17181c; }
.slide-2 { background: #7a1f35; }
.slide-3 { background: #1f3a34; }
.slide::before { content: ''; position: absolute; inset: 0; z-index: 0; transform: scale(1); }
.slide-1::before { background: linear-gradient(100deg, rgba(17, 17, 20, .82) 0%, rgba(17, 17, 20, .5) 48%, rgba(17, 17, 20, .18) 100%), url('../img/hero-1.jpg') center / cover no-repeat; }
.slide-2::before { background: linear-gradient(100deg, rgba(122, 31, 53, .82) 0%, rgba(176, 54, 90, .5) 48%, rgba(212, 95, 125, .18) 100%), url('../img/hero-2.jpg') center / cover no-repeat; }
.slide-3::before { background: linear-gradient(100deg, rgba(31, 58, 52, .82) 0%, rgba(46, 90, 77, .5) 48%, rgba(85, 128, 110, .18) 100%), url('../img/hero-3.jpg') center / cover no-repeat; }
.slide.active::before { animation: heroZoom 9s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }

.slide::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.slide-content { position: relative; z-index: 2; max-width: 560px; color: #fff; padding: 60px 0; }
.slide-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.slide-content h1 { font-size: 44px; line-height: 1.15; font-weight: 900; margin-bottom: 16px; letter-spacing: -0.5px; }
.slide-content p { font-size: 17px; color: rgba(255, 255, 255, 0.82); margin-bottom: 30px; }

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.slide-arrow:hover { background: rgba(0, 0, 0, 0.4); }
.slide-prev { left: 24px; }
.slide-next { right: 24px; }

.slide-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.slide-dots button { width: 26px; height: 4px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, 0.35); transition: background 0.2s; padding: 0; }
.slide-dots button.active { background: #fff; }

.section { padding: 56px 0 8px; }
.section-soft { background: var(--c-soft); padding: 48px 0; margin-top: 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; gap: 16px; }
.section-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.4px; }
.section-head p { color: var(--c-muted); font-size: 14px; margin-top: 4px; }
.section-link { font-size: 13.5px; font-weight: 700; color: var(--c-accent); white-space: nowrap; }
.section-link:hover { text-decoration: underline; }

.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.cat-card { text-align: center; }
.cat-card .cat-media {
  background: var(--c-soft);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--c-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-card:hover .cat-media { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cat-card .cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card b { font-size: 14px; font-weight: 700; }
.cat-card span { display: block; font-size: 12px; color: var(--c-muted); margin-top: 2px; }

.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.products-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.products-grid > *, .cat-grid > *, .features-grid > * { min-width: 0; }

.product-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-media { position: relative; display: block; background: var(--c-soft); aspect-ratio: 4 / 5; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-info { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.product-cat { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--c-muted); }
.product-title { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.product-title a:hover { color: var(--c-accent); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { font-size: 17px; font-weight: 800; }
.old-price { font-size: 13px; color: var(--c-muted); text-decoration: line-through; }
.card-add { margin-top: 10px; }

.banner-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.banner {
  border-radius: var(--radius);
  padding: 42px 40px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.banner::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.banner-1 { background: linear-gradient(120deg, #17181c, #3a3d47); }
.banner-2 { background: linear-gradient(120deg, #b0365a, #e26a8d); }
.banner b { font-size: 24px; font-weight: 800; letter-spacing: -0.3px; }
.banner span { color: rgba(255, 255, 255, 0.85); font-size: 14px; margin-bottom: 14px; }
.banner .btn { align-self: flex-start; position: relative; z-index: 2; }

.footer-features { background: var(--c-soft); border-top: 1px solid var(--c-border); padding: 26px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature { display: flex; align-items: center; gap: 14px; color: var(--c-text); }
.feature svg { flex-shrink: 0; color: var(--c-accent); }
.feature b { display: block; font-size: 14px; }
.feature span { font-size: 12.5px; color: var(--c-muted); }

.site-footer { background: var(--c-dark); color: #c8c8cd; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; padding: 52px 20px 40px; }
.footer-grid > * { min-width: 0; }
.footer-col h4 { color: #fff; font-size: 14.5px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 13.5px; color: #b4b4bb; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-about p { font-size: 13.5px; margin: 16px 0; color: #a8a8b0; max-width: 320px; }
.footer-contact li { font-size: 13.5px; margin-bottom: 8px; padding-left: 0; color: #a8a8b0; }
.footer-note { font-size: 13px; color: #a8a8b0; margin-bottom: 14px; }
.pay-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-cards span {
  background: #232329;
  border: 1px solid #33333b;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #d6d6db;
}
.footer-bottom { border-top: 1px solid #26262c; padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: #8b8b94; gap: 12px; flex-wrap: wrap; }
.admin-link { color: #6f6f78; font-size: 12px; }
.admin-link:hover { color: #fff; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--c-muted); padding: 20px 0 0; }
.breadcrumb a:hover { color: var(--c-text); text-decoration: underline; }
.breadcrumb .sep { color: #c4c4cb; }

.page-head { padding: 26px 0 6px; }
.page-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.page-head p { color: var(--c-muted); margin-top: 6px; }

.catalog { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; padding: 26px 0 10px; align-items: start; }
.sidebar { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; position: sticky; top: 150px; }
.sidebar h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
.sidebar-list li { border-bottom: 1px solid var(--c-border); }
.sidebar-list li:last-child { border-bottom: 0; }
.sidebar-list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 14px; color: #3f3f46; transition: color 0.15s; }
.sidebar-list a:hover, .sidebar-list a.active { color: var(--c-accent); font-weight: 600; }
.sidebar-list .count { color: var(--c-muted); font-size: 12.5px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .result-count { font-size: 13.5px; color: var(--c-muted); }
.toolbar select { border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); padding: 10px 14px; background: #fff; outline: none; font-size: 13.5px; }

.pagination { display: flex; gap: 8px; justify-content: center; padding: 36px 0 10px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  padding: 0 12px;
  transition: all 0.15s;
}
.pagination a:hover { border-color: var(--c-dark); }
.pagination .current { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--c-muted); }
.empty-state h2 { color: var(--c-text); margin-bottom: 8px; font-size: 22px; }
.empty-state .btn { margin-top: 18px; }

.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 50px; padding: 26px 0 20px; align-items: start; }
.pd-media { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: var(--c-soft); position: relative; }
.pd-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pd-info h1 { font-size: 30px; font-weight: 800; line-height: 1.25; letter-spacing: -0.4px; margin: 8px 0 14px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0; }
.pd-price .price { font-size: 30px; font-weight: 900; }
.pd-price .old-price { font-size: 17px; }
.pd-price .disc-badge { background: var(--c-sale); color: #fff; padding: 5px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 700; }
.pd-desc { color: #4b4b53; font-size: 14.5px; margin-bottom: 22px; }
.pd-stock { font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.pd-stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c-green); }
.pd-stock.out { color: var(--c-sale); }
.pd-stock.out::before { background: var(--c-sale); }

.option-group { margin-bottom: 20px; }
.option-group > label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 10px; }
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-options input { display: none; }
.size-options span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 9px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.size-options input:checked + span { border-color: var(--c-dark); background: var(--c-dark); color: #fff; }
.color-options { display: flex; gap: 10px; flex-wrap: wrap; }
.color-options input { display: none; }
.color-option { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--c-border); border-radius: 50px; padding: 7px 14px 7px 8px; cursor: pointer; font-size: 13px; font-weight: 500; transition: border-color 0.15s; }
.color-option i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.12); display: inline-block; }
.color-options input:checked + .color-option { border-color: var(--c-dark); }

.buy-row { display: flex; gap: 12px; margin: 26px 0 24px; flex-wrap: wrap; }
.qty-box { display: inline-flex; align-items: center; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-box button { border: 0; background: #fff; width: 42px; height: 48px; font-size: 18px; color: var(--c-muted); transition: background 0.15s; }
.qty-box button:hover { background: var(--c-soft); }
.qty-box input { width: 52px; height: 48px; text-align: center; border: 0; border-left: 1.5px solid var(--c-border); border-right: 1.5px solid var(--c-border); font-weight: 700; outline: none; }
.buy-row .btn { flex: 1; min-width: 180px; height: 48px; }

.pd-meta { border-top: 1px solid var(--c-border); padding-top: 20px; display: grid; gap: 10px; font-size: 13.5px; color: #4b4b53; }
.pd-meta li { display: flex; gap: 10px; align-items: center; }
.pd-meta svg { color: var(--c-accent); flex-shrink: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius); }
table.shop-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.shop-table th { background: var(--c-soft); text-align: left; padding: 14px 16px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.6px; color: #55555e; }
.shop-table td { padding: 16px; border-top: 1px solid var(--c-border); vertical-align: middle; font-size: 14px; }
.cart-prod { display: flex; align-items: center; gap: 14px; }
.cart-prod img { width: 64px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--c-border); }
.cart-prod b { font-size: 14px; font-weight: 600; display: block; }
.cart-prod span { font-size: 12.5px; color: var(--c-muted); }
.cart-table input[type="number"] { width: 64px; padding: 9px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); text-align: center; font-weight: 600; }
.remove-link { color: var(--c-muted); font-size: 13px; }
.remove-link:hover { color: var(--c-sale); }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; padding: 26px 0 10px; align-items: start; }
.summary-card { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; position: sticky; top: 150px; }
.summary-card h3 { font-size: 17px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; color: #4b4b53; }
.summary-row.total { border-top: 1px solid var(--c-border); margin-top: 10px; padding-top: 16px; font-size: 17px; font-weight: 800; color: var(--c-text); }
.summary-card .btn { margin-top: 16px; }
.free-ship { background: var(--c-soft); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; font-size: 13px; }
.coupon-box { display: flex; gap: 8px; }
.coupon-box input { flex: 1; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); padding: 10px 12px; outline: none; min-width: 0; }
.coupon-box input:focus { border-color: var(--c-dark); }
.coupon-active { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #e7f7ee; border: 1px solid #bfe8d1; color: #146c43; border-radius: var(--radius-sm); padding: 11px 14px; font-size: 13px; }
.coupon-active form { margin: 0; }
.free-ship b { color: var(--c-green); }
.progress { height: 6px; background: #e4e4e9; border-radius: 6px; margin-top: 10px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--c-green); border-radius: 6px; transition: width 0.4s ease; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; }
.form-field label i { color: var(--c-sale); font-style: normal; }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--c-dark); }
.form-field textarea { min-height: 110px; resize: vertical; }

.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; transition: border-color 0.15s; }
.pay-option input { margin-top: 4px; accent-color: var(--c-dark); }
.pay-option b { display: block; font-size: 14px; }
.pay-option span { font-size: 12.5px; color: var(--c-muted); }
.pay-option:has(input:checked) { border-color: var(--c-dark); }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; padding: 26px 0 10px; align-items: start; }
.card-box { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.card-box h2 { font-size: 18px; margin-bottom: 18px; }
.order-item-mini { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 13.5px; border-bottom: 1px dashed var(--c-border); }
.order-item-mini:last-child { border-bottom: 0; }
.order-item-mini .qty { color: var(--c-muted); }

.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 13.5px; margin-bottom: 18px; }
.alert-error { background: #fde8ec; color: #a01b33; border: 1px solid #f6c6d0; }
.alert-success { background: #e7f7ee; color: #146c43; border: 1px solid #bfe8d1; }
.alert-info { background: #eef2f7; color: #33415c; border: 1px solid #d6dfeb; }

.success-box { max-width: 720px; margin: 40px auto; text-align: center; }
.success-icon { width: 84px; height: 84px; border-radius: 50%; background: #e7f7ee; color: var(--c-green); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.success-box h1 { font-size: 30px; margin-bottom: 10px; }
.success-box > p { color: var(--c-muted); margin-bottom: 26px; }
.order-no-chip { display: inline-block; background: var(--c-soft); border: 1px dashed #c9c9ce; border-radius: var(--radius-sm); padding: 12px 22px; font-size: 18px; font-weight: 800; letter-spacing: 1px; margin-bottom: 26px; }
.status-timeline { display: flex; justify-content: center; gap: 0; margin: 30px 0; flex-wrap: wrap; }
.status-step { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 130px; position: relative; font-size: 12.5px; color: var(--c-muted); font-weight: 600; }
.status-step::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--c-border); }
.status-step:first-child::before { display: none; }
.status-step i { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--c-border); background: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; z-index: 1; }
.status-step.done { color: var(--c-text); }
.status-step.done i { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.status-step.done::before { background: var(--c-green); }

.status-pill { display: inline-block; padding: 5px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.status-pending { background: #fff4d6; color: #8a6100; }
.status-preparing { background: #e3edff; color: #1d4ed8; }
.status-shipping { background: #e0f2fe; color: #0369a1; }
.status-done { background: #e7f7ee; color: #146c43; }
.status-cancel { background: #fde8ec; color: #a01b33; }

.static-page { max-width: 800px; margin: 0 auto; padding: 30px 0 20px; }
.static-page h1 { font-size: 30px; margin-bottom: 20px; letter-spacing: -0.4px; }
.static-page h2 { font-size: 19px; margin: 26px 0 10px; }
.static-page p { color: #4b4b53; margin-bottom: 14px; }
.static-page ul { list-style: disc; padding-left: 22px; color: #4b4b53; margin-bottom: 14px; }
.static-page ul li { margin-bottom: 8px; }
.faq-item { border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 12px; }
.faq-item b { display: block; margin-bottom: 6px; }
.faq-item p { margin: 0; font-size: 14px; }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0; }
.contact-card { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; text-align: center; }
.contact-card b { display: block; margin-bottom: 6px; }
.contact-card span { color: var(--c-muted); font-size: 14px; }

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 14px; padding: 14px 20px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .menu-toggle { display: block; }
  .header-actions .header-link span { display: none; }
  .main-nav { display: none; border-top: 1px solid var(--c-border); }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; padding: 8px 0; }
  .nav-list a { display: block; border-bottom: 0; padding: 11px 4px; }
  .slide-content h1 { font-size: 32px; }
  .slide { min-height: 400px; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .pd { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .summary-card { position: static; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner-row { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .products-grid, .products-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head h2 { font-size: 21px; }
  .page-head h1, .pd-info h1 { font-size: 24px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .slide-content h1 { font-size: 26px; }
  .slide { min-height: 340px; }
  .slide-arrow { display: none; }
  .pd-price .price { font-size: 24px; }
  .topbar-msg { display: none; }
  .topbar-inner { justify-content: center; }
}

.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(17, 17, 20, 0.09); }
.logo { font-size: 27px; letter-spacing: 1.5px; }
.header-link svg { transition: color 0.15s ease; }
.header-link:hover svg { color: var(--c-accent); }
.cart-badge.pop { animation: badgePop 0.4s ease; }
@keyframes badgePop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.btn { border-radius: 10px; }
.btn-accent { background: linear-gradient(135deg, #ff4d64, #e22642); box-shadow: 0 8px 20px rgba(255, 61, 90, 0.28); }
.btn-accent:hover { background: linear-gradient(135deg, #ff5c71, #d81f3b); box-shadow: 0 12px 26px rgba(255, 61, 90, 0.36); transform: translateY(-1px); }
.btn-dark { box-shadow: 0 8px 20px rgba(17, 17, 20, 0.14); }
.btn-dark:hover { transform: translateY(-1px); }

.section-head h2 { position: relative; padding-bottom: 12px; }
.section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-accent), #ff8fa3); }
.section-link { transition: transform 0.15s ease; display: inline-block; }
.section-link:hover { transform: translateX(3px); }

.slide-content h1 { font-size: 46px; text-shadow: 0 4px 26px rgba(0, 0, 0, 0.4); }
.slide-kicker { backdrop-filter: blur(4px); }
.slide-arrow { backdrop-filter: blur(6px); }
.slide-dots button { width: 30px; }

.trust-bar { background: #fff; border-bottom: 1px solid var(--c-border); }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 18px 0; }
.trust-bar-inner > * { min-width: 0; }

.product-card { border-color: #ededf1; }
.product-card:hover { box-shadow: 0 18px 44px rgba(17, 17, 20, 0.13); }
.badge { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14); }
.badge-sale { background: linear-gradient(135deg, #ff4d64, #d92746); }
.price { letter-spacing: -0.3px; }
.card-add .btn-dark { transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; }
.card-add .btn-dark:hover { background: var(--c-accent); box-shadow: 0 10px 22px rgba(255, 61, 90, 0.3); }

.cat-card .cat-media { border: 3px solid #fff; outline: 1px solid var(--c-border); box-shadow: 0 8px 20px rgba(17, 17, 20, 0.07); }
.cat-card:hover .cat-media { outline-color: var(--c-accent); box-shadow: 0 14px 30px rgba(17, 17, 20, 0.13); }
.cat-card b { transition: color 0.15s ease; }
.cat-card:hover b { color: var(--c-accent); }

.banner { box-shadow: 0 12px 30px rgba(17, 17, 20, 0.12); }
.banner::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 12px, rgba(255, 255, 255, 0) 12px 24px); }
.banner b { font-size: 26px; }
.banner .btn { position: relative; z-index: 2; }

.pd-media { box-shadow: 0 14px 36px rgba(17, 17, 20, 0.1); }
.summary-card { box-shadow: 0 10px 28px rgba(17, 17, 20, 0.06); }
.card-box { box-shadow: 0 6px 20px rgba(17, 17, 20, 0.04); }

.site-footer { background: linear-gradient(180deg, #141418, #0d0d10); }
.footer-col a:hover { padding-left: 4px; }
.footer-col a { transition: color 0.15s ease, padding-left 0.15s ease; }
.pay-cards span { transition: all 0.15s ease; }
.pay-cards span:hover { border-color: #4a4a54; color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.to-top { position: fixed; right: 20px; bottom: 88px; width: 46px; height: 46px; border-radius: 50%; background: var(--c-dark); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s ease; z-index: 900; box-shadow: 0 10px 26px rgba(17, 17, 20, 0.25); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-accent); }

@media (max-width: 900px) {
  .trust-bar-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slide-content h1 { font-size: 34px; }
}

@media (max-width: 640px) {
  .slide-content h1 { font-size: 27px; }
  .banner b { font-size: 21px; }
  .trust-bar-inner { gap: 12px; }
  .to-top { right: 14px; bottom: 76px; width: 42px; height: 42px; }
}

:root { --font-head: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
h1, h2, h3, .logo, .section-head h2, .slide-content h1, .page-head h1, .auth-form h1, .auth-visual h2, .account-user b, .mini-stat b { font-family: var(--font-head); }

.topbar-msg { overflow: hidden; position: relative; flex: 1; min-width: 0; }
.marquee { display: flex; width: max-content; animation: marqueeMove 26s linear infinite; }
.marquee span { white-space: nowrap; padding-right: 40px; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.auth-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 560px; margin: 28px 0 10px; border-radius: 18px; overflow: hidden; border: 1px solid var(--c-border); box-shadow: 0 24px 60px rgba(17, 17, 20, .12); }
.auth-visual { background: linear-gradient(120deg, rgba(17, 17, 20, .88), rgba(226, 38, 66, .5)), url('../img/hero-2.jpg') center / cover; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.auth-visual h2 { font-size: 32px; line-height: 1.2; }
.auth-visual p { color: rgba(255, 255, 255, .85); font-size: 15px; max-width: 380px; }
.auth-form { padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.auth-form h1 { font-size: 26px; }
.auth-form .sub { color: var(--c-muted); font-size: 14px; margin: 6px 0 22px; }
.auth-alt { margin-top: 18px; font-size: 14px; color: var(--c-muted); }
.auth-alt a { color: var(--c-accent); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }

.account-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; padding: 26px 0 10px; align-items: start; }
.account-side { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 32px rgba(17, 17, 20, .06); position: sticky; top: 150px; }
.account-user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--c-border); margin-bottom: 14px; }
.account-user b { display: block; font-size: 15px; line-height: 1.3; }
.account-user span:not(.account-avatar) { font-size: 12.5px; color: var(--c-muted); word-break: break-all; }
.account-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #ff4d64, #e22642); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; flex-shrink: 0; }
.account-nav { display: grid; gap: 4px; }
.account-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: #3f3f46; transition: background .15s ease, color .15s ease; }
.account-nav a:hover { background: var(--c-soft); color: var(--c-text); }
.account-nav a.active { background: #fde8ec; color: var(--c-accent-dark); }
.account-nav a b { background: var(--c-dark); color: #fff; font-size: 11px; border-radius: 50px; padding: 2px 8px; }
.account-nav a.logout { color: var(--c-sale); margin-top: 6px; }
.account-nav a.logout:hover { background: #fde8ec; }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.mini-stat { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 20px; background: #fff; box-shadow: 0 10px 26px rgba(17, 17, 20, .05); }
.mini-stat span { font-size: 12.5px; color: var(--c-muted); }
.mini-stat b { display: block; font-size: 22px; margin-top: 4px; }
.order-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

.status-pill { display: inline-block; padding: 5px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-pending { background: #fff4d6; color: #8a6100; }
.status-preparing { background: #e3edff; color: #1d4ed8; }
.status-shipping { background: #e0f2fe; color: #0369a1; }
.status-done { background: #e7f7ee; color: #146c43; }
.status-cancel { background: #fde8ec; color: #a01b33; }

.sidebar-list a { border-radius: 8px; padding-left: 10px; padding-right: 10px; }
.sidebar-list a.active { background: #fde8ec; }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .account-layout { grid-template-columns: minmax(0, 1fr); }
  .account-side { position: static; }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .auth-visual { display: none; }
}

@media (max-width: 560px) {
  .mini-stats { grid-template-columns: minmax(0, 1fr); }
  .auth-form { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee, .slide.active::before { animation: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.fav-btn { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: #3f3f46; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px rgba(17, 17, 20, .18); transition: all .18s ease; }
.fav-btn:hover { color: var(--c-accent); transform: scale(1.08); }
.fav-btn.active { background: var(--c-accent); color: #fff; }
.fav-btn.active svg { fill: currentColor; }

.fav-inline { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 10px; border: 1.5px solid var(--c-border); background: #fff; color: #3f3f46; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .15s ease; }
.fav-inline:hover { border-color: var(--c-accent); color: var(--c-accent); }
.fav-inline.active { border-color: var(--c-accent); background: #fde8ec; color: var(--c-accent-dark); }
.fav-inline.active svg { fill: currentColor; }

.size-table-link { margin-top: 12px; background: none; border: 0; padding: 0; color: var(--c-muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.size-table-link:hover { color: var(--c-text); }

.share-row { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-border); flex-wrap: wrap; font-size: 13px; color: var(--c-muted); }
.share-btn { border: 1.5px solid var(--c-border); background: #fff; border-radius: 50px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: #3f3f46; cursor: pointer; transition: all .15s ease; text-decoration: none; }
.share-btn:hover { border-color: var(--c-dark); color: var(--c-text); }

.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17, 17, 20, .55); }
.modal-card { position: relative; background: #fff; border-radius: 16px; padding: 26px; width: 100%; max-width: 620px; max-height: 85vh; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-head h3 { font-size: 19px; }
.modal-close { border: 0; background: var(--c-soft); width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: #3f3f46; }
.modal-close:hover { background: #ececf0; }
.modal-note { font-size: 12.5px; color: var(--c-muted); margin-top: 14px; }

.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 950; background: rgba(17, 17, 20, .97); color: #e8e8ea; border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); font-size: 13.5px; animation: toastIn .35s ease; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar .btn { flex-shrink: 0; }

@media (max-width: 640px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .fav-inline { width: 100%; justify-content: center; }
}

@media (max-width: 900px) {
  .site-header { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .site-header.header-hidden { transform: translateY(-100%); }
  .sidebar { position: static; padding: 14px; }
  .sidebar h3 { display: none; }
  .sidebar-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
  .sidebar-list li { border-bottom: 0; flex-shrink: 0; }
  .sidebar-list a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--c-soft); border-radius: 50px; font-size: 13px; white-space: nowrap; }
  .sidebar-list a.active { background: var(--c-dark); color: #fff; }
  .sidebar-list .count { color: inherit; opacity: 0.75; }
  .checkout-layout { display: flex; flex-direction: column; }
  .checkout-layout form { order: 2; }
  .checkout-layout .summary-card { order: 1; position: static; }
}

@media (max-width: 640px) {
  .section { padding: 42px 0 4px; }
  .section-head { margin-bottom: 18px; }
  .banner { padding: 30px 22px; min-height: 150px; }
  .trust-bar-inner { padding: 14px 0; gap: 10px 14px; }
  .feature span { font-size: 11.5px; }
  .product-info { padding: 12px 12px 14px; gap: 4px; }
  .product-title { font-size: 13.5px; }
  .price { font-size: 15px; }
  .old-price { font-size: 12px; }
  .card-add .btn { padding: 10px 12px; font-size: 13px; }
  .cat-grid { gap: 10px; }
  .cat-card .cat-media { border-width: 2px; }
  .cat-card b { font-size: 12.5px; }
  .slide { min-height: 320px; }
  .slide-content { padding: 42px 0; }
  .toolbar select { width: 100%; }
  .share-row { gap: 6px; }
  .summary-card, .card-box { padding: 18px; }
  .footer-grid { padding: 40px 20px 30px; }
  .account-side { padding: 16px; }
  .account-content .card-box { padding: 16px; }
  .toast { left: 14px; right: 14px; bottom: 14px; text-align: center; }
  .modal-card { padding: 18px; }
}

@media (max-width: 640px) {
  .cart-table .table-wrap { border: 0; overflow: visible; }
  .cart-table table.shop-table { min-width: 0; }
  .cart-table thead { display: none; }
  .cart-table tbody { display: block; }
  .cart-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "prod prod" "price total" "qty remove"; gap: 10px 12px; padding: 14px; border: 1px solid var(--c-border); border-radius: 14px; margin-bottom: 12px; background: #fff; }
  .cart-table td { display: block; border: 0; padding: 0; }
  .cart-table td:nth-child(1) { grid-area: prod; }
  .cart-table td:nth-child(2) { grid-area: price; align-self: center; color: var(--c-muted); font-size: 13px; }
  .cart-table td:nth-child(2)::before { content: 'Birim: '; }
  .cart-table td:nth-child(3) { grid-area: qty; }
  .cart-table td:nth-child(4) { grid-area: total; text-align: right; align-self: center; }
  .cart-table td:nth-child(5) { grid-area: remove; text-align: right; align-self: center; }
  .cart-table .cart-prod img { width: 56px; height: 70px; }
  .status-step { width: 50%; margin-bottom: 14px; }
  .status-step::before { display: none; }
  .status-timeline { margin: 20px 0; }
}

.stars { color: #d9d9de; letter-spacing: 2px; font-size: 15px; }
.stars .on { color: #f5a623; }
.pd-rating { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--c-muted); margin: 0 0 6px; }
.pd-rating a { color: var(--c-muted); text-decoration: underline; }
.pd-rating a:hover { color: var(--c-text); }

.reviews-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.review-item { border: 1px solid var(--c-border); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.review-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.review-head b { font-size: 14.5px; }
.review-date { font-size: 12px; color: var(--c-muted); white-space: nowrap; }
.review-item p { margin: 8px 0 0; color: #4b4b53; font-size: 14px; }
.rating-input { direction: rtl; display: inline-flex; gap: 2px; }
.rating-input input { display: none; }
.rating-input label { font-size: 27px; line-height: 1; color: #d9d9de; cursor: pointer; transition: color 0.12s ease; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: #f5a623; }

.address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.address-card { border: 1px solid var(--c-border); border-radius: 12px; padding: 16px; position: relative; background: #fff; }
.address-card.default { border-color: var(--c-accent); box-shadow: 0 8px 20px rgba(255, 61, 90, 0.08); }
.address-card > b { display: block; margin-bottom: 6px; }
.address-card p { margin: 0; font-size: 13.5px; color: #4b4b53; line-height: 1.6; }
.address-badge { position: absolute; top: 12px; right: 12px; background: #fde8ec; color: var(--c-accent-dark); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.address-actions { display: flex; gap: 8px; margin-top: 12px; }
.address-actions form { margin: 0; }
.save-address-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; margin-top: 10px; cursor: pointer; }
.danger-zone { border: 1px solid #f6c6d0; background: #fff7f9; border-radius: 12px; padding: 18px; margin-top: 20px; }
.danger-zone b { display: block; margin-bottom: 6px; }
.danger-zone p { margin: 0 0 12px; font-size: 13px; color: #6d7280; }
.danger-zone form { display: flex; gap: 10px; flex-wrap: wrap; }
.danger-zone input[type="password"] { flex: 1; min-width: 180px; border: 1.5px solid var(--c-border); border-radius: 10px; padding: 10px 12px; outline: none; }
.tracking-link { color: var(--c-accent); font-weight: 700; text-decoration: underline; }

@media (max-width: 900px) {
  .reviews-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .address-grid { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .site-header, .site-footer, .topbar, .breadcrumb, .account-side, .account-nav, .cookie-bar, .to-top, .admin-side, .admin-top, .no-print, .trust-bar, .site-main > .container > .card-box:last-child { display: none !important; }
  body { background: #fff; }
  .account-layout { display: block; }
  .card-box, .panel { border: 0 !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 18px !important; }
  .status-pill { border: 1px solid #ccc; }
}
