/* ============================================================
   A2 Collection — Premium RTL Farsi Casual Clothing
   Design System — style.css
   ============================================================ */

/* ----------------------------------------------------------
   1. FONTS
   ---------------------------------------------------------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ----------------------------------------------------------
   2. CSS VARIABLES
   ---------------------------------------------------------- */
:root {
  --navy: #000000;
  --navy-light: #000000;
  --navy-faint: #ffffff;
  --green: #ffffff;
  --green-dark: #000000;
  --green-glow: #000000;
  --white: #ffffff;
  --gray-50: #ffffff;
  --gray-100: #ffffff;
  --gray-200: #000000;
  --gray-500: #000000;
  --gray-600: #000000;
  --gray-800: #000000;
  --text: #000000;
  --text-muted: #000000;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-green: none;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --transition: 0.22s ease;
  --header-h: 68px;
}

/* ----------------------------------------------------------
   3. BASE RESET & BODY
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background: var(--white);
  direction: rtl;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  direction: rtl;
}

ul, ol {
  list-style: none;
}

/* ----------------------------------------------------------
   4. LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-light {
  background: var(--gray-50);
}

.section-header {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: gap var(--transition);
}

.section-link:hover {
  gap: 8px;
}

/* ----------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 24px;
  font-size: 14px;
}

.btn-sm {
  padding: 7px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 13px 32px;
  font-size: 15px;
}

.btn-primary {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-ghost-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ----------------------------------------------------------
   6. HEADER
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  height: var(--header-h);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  gap: 18px;
  min-width: 0;
}

/* Logo + Actions centered */
.header-brand-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.site-logo {
  width: 248px;
  height: 99px;
  padding: 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.68);
  transform-origin: center;
  filter: brightness(0) invert(1);
}

/* Nav */
.site-header nav {
  grid-column: 1;
  justify-self: start;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.site-nav a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  min-width: 0;
}

.cart-btn {
  position: relative;
  color: rgba(255,255,255,0.78);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
  padding: 4px;
}

.cart-btn:hover {
  color: var(--green);
}

.cart-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  background: var(--green);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-header-login {
  background: var(--green);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn-header-login:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
  align-items: center;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--navy);
  z-index: 150;
  padding: 24px;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .site-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  width: 100%;
}

.mobile-nav .site-nav a {
  font-size: 16px;
  padding: 14px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ----------------------------------------------------------
   7. HERO SECTION
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(26,37,47,0.88) 35%, rgba(26,37,47,0.45) 65%, rgba(26,37,47,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px;
  width: 100%;
}

.hero-text {
  max-width: 500px;
}

.hero-tag {
  display: inline-block;
  background: var(--green);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 400px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------
   8. CATEGORY STRIP
   ---------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,37,47,0.82) 0%, rgba(26,37,47,0.1) 55%);
}

.category-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 20px 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

/* ----------------------------------------------------------
   9. PRODUCT CARDS
   ---------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
  flex: 1;
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
  direction: rtl;
}

.product-info .btn {
  width: 100%;
  font-size: 13px;
  padding: 8px 12px;
}

/* Product badge (sale / new) */
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}

/* ----------------------------------------------------------
   10. GALLERY GRID
   ---------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.gallery-grid-featured {
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.gallery-item-featured {
  grid-row: span 2;
  aspect-ratio: 4/5;
}

.gallery-item.tall {
  aspect-ratio: 3/5;
  grid-row: span 2;
}

.gallery-item.wide {
  aspect-ratio: 8/5;
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,37,47,0);
  transition: background var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(26,37,47,0.15);
}

/* ----------------------------------------------------------
   11. NEWSLETTER
   ---------------------------------------------------------- */
.newsletter {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(46,204,113,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.newsletter-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.5;
}

.newsletter-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 8px;
  direction: rtl;
}

.newsletter-input {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.38);
}

.newsletter-input:focus {
  border-color: var(--green);
  background: rgba(255,255,255,0.12);
}

/* ----------------------------------------------------------
   12. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  border-top: 2px solid var(--green);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  width: 126px;
  height: 58px;
  padding: 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}

.footer-social-link:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(46,204,113,0.08);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 2px;
  background: var(--green);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  flex-wrap: wrap;
  gap: 8px;
}

/* ----------------------------------------------------------
   13. FLASH MESSAGES
   ---------------------------------------------------------- */
.flash {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}

.flash-success {
  background: rgba(46,204,113,0.12);
  color: var(--green-dark);
  border: 1px solid rgba(46,204,113,0.25);
}

.flash-error {
  background: rgba(231,76,60,0.1);
  color: #c0392b;
  border: 1px solid rgba(231,76,60,0.2);
}

.flash-info {
  background: rgba(52,152,219,0.1);
  color: #2980b9;
  border: 1px solid rgba(52,152,219,0.2);
}

/* ----------------------------------------------------------
   14. PAGE STUB LAYOUTS
   ---------------------------------------------------------- */
.page-hero {
  background: var(--gray-50);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--gray-200);
}

.page-hero-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.page-hero-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero-breadcrumb a {
  color: var(--text-muted);
}

.page-hero-breadcrumb a:hover {
  color: var(--navy);
}

/* ----------------------------------------------------------
   15. FORM ELEMENTS
   ---------------------------------------------------------- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  direction: rtl;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* ----------------------------------------------------------
   16. BADGES
   ---------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.badge-green {
  background: rgba(46,204,113,0.15);
  color: var(--green-dark);
}

.badge-navy {
  background: var(--navy);
  color: var(--white);
}

/* ----------------------------------------------------------
   17. EMPTY STATE
   ---------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.empty-state-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ----------------------------------------------------------
   18. UTILITY CLASSES
   ---------------------------------------------------------- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

.w-full { width: 100%; }

.ltr {
  direction: ltr;
  unicode-bidi: embed;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.d-flex   { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

/* ----------------------------------------------------------
   19. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .site-nav     { display: none; }
  .mobile-nav .site-nav { display: flex; }
  .menu-toggle  { display: flex; }
  .header-inner { gap: 10px; }
  .header-brand-actions { gap: 10px; }
  .site-logo { width: 198px; height: 81px; }
  .header-actions { gap: 10px; }
  .btn-header-login { padding: 7px 15px; font-size: 12px; }

  .category-grid { grid-template-columns: 1fr; }
  .category-card { aspect-ratio: 16/9; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .hero          { min-height: 460px; }
  .hero-content  { padding: 64px 24px; }
  .hero-title    { font-size: 26px; }

  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-featured { gap: 12px; }
  .gallery-item-featured { aspect-ratio: 4/3; grid-row: auto; }
  .gallery-item.tall  { aspect-ratio: 4/3; grid-row: auto; }
  .gallery-item.wide  { grid-column: auto; aspect-ratio: 4/3; }

  .newsletter-form { flex-direction: column; }

  .footer-grid   { grid-template-columns: 1fr 1fr; }

  .section { padding: 56px 0; }
}

@media (max-width: 390px) {
  .container     { padding: 0 16px; }
  .header-inner  { padding: 0 16px; }
  .site-logo { width: 168px; height: 68px; }
  .header-brand-actions { gap: 8px; }
  .header-actions { gap: 8px; }
  .btn-header-login { padding: 7px 12px; }
  .cart-btn { padding: 2px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-info  { padding: 12px; }
  .product-name  { font-size: 13px; }
  .product-price { font-size: 13px; }

  .footer-grid   { grid-template-columns: 1fr; }

  .hero-content  { padding: 48px 16px; }
  .hero-title    { font-size: 23px; }

  .section       { padding: 48px 0; }
  .newsletter    { padding: 56px 0; }
}

/* ===== HAMBURGER MENU TOGGLE ===== */
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  pointer-events: none;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px 4px;
  align-items: center;
  justify-content: center;
}
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
}

/* ----------------------------------------------------------
   20. BUTTON EXTRAS
   ---------------------------------------------------------- */
.btn-block  { width: 100%; justify-content: center; }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-secondary:hover {
  background: var(--gray-100);
  border-color: var(--gray-200);
}

/* ----------------------------------------------------------
   21. FORM INPUT ALIAS + EXTRAS
   ---------------------------------------------------------- */
.form-input {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  direction: rtl;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}
.required { color: #e74c3c; font-size: 12px; }

/* ----------------------------------------------------------
   22. EMPTY STATE EXTRAS
   ---------------------------------------------------------- */
.empty-state-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.empty-state-sm  { padding: 40px 24px; }
.empty-state-404 { padding: 100px 24px; }
.error-code {
  font-size: clamp(64px, 10vw, 100px);
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -4px;
}

/* ----------------------------------------------------------
   23. SHOP FILTER BAR
   ---------------------------------------------------------- */
.shop-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}
.filter-btn {
  display: inline-block;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ----------------------------------------------------------
   24. SHOP PRODUCT CARD (inner)
   ---------------------------------------------------------- */
.product-card-img-link { display: block; }
.product-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  display: block;
}
.product-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
  flex: 1;
}
.product-card-name a { color: inherit; }
.product-card-name a:hover { color: var(--green-dark); }
.product-card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
  direction: rtl;
}
.product-card-form { margin-top: auto; }

/* ----------------------------------------------------------
   25. PRODUCT DETAIL PAGE
   ---------------------------------------------------------- */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.product-detail-image {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
}
.product-detail-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.product-gallery-thumbs {
  display: flex;
  gap: 10px;
}
.thumb-btn {
  width: 72px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  background: var(--gray-100);
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-btn.active,
.thumb-btn:hover { border-color: var(--green); }

/* Info panel */
.product-detail-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 8px;
  line-height: 1.4;
}
.product-detail-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 16px;
  direction: rtl;
}
.product-detail-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.product-detail-form { margin-bottom: 0; }

/* Size selector */
.size-selector-row { margin-bottom: 20px; }
.size-selector-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  display: block;
}
.size-selector { display: flex; gap: 10px; flex-wrap: wrap; }
.size-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.size-btn:hover,
.size-btn.selected {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.size-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  text-decoration: line-through;
}
.size-btn:disabled:hover {
  background: var(--white);
  color: var(--text);
  border-color: var(--gray-200);
}

/* Qty selector */
.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.qty-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.qty-control { flex: 1; max-width: 100px; }
.qty-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  outline: none;
  direction: rtl;
  transition: border-color var(--transition);
}
.qty-select:focus { border-color: var(--green); }

/* Meta badges row */
.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.meta-icon { color: var(--green-dark); display: flex; }

/* ----------------------------------------------------------
   26. CART PAGE
   ---------------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.cart-table th {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  padding: 14px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  text-align: right;
}
.cart-row { border-bottom: 1px solid var(--gray-100); }
.cart-row:last-child { border-bottom: none; }
.cart-row td { padding: 16px; vertical-align: middle; }
.cart-product-link {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-product-thumb {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.cart-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.cart-price,
.cart-subtotal {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.cart-qty { font-size: 15px; font-weight: 700; text-align: center; }
.cart-remove-cell { text-align: center; }
.btn-remove {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--gray-500);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
  font-family: inherit;
  line-height: 1;
}
.btn-remove:hover {
  background: rgba(231,76,60,0.08);
  color: #e74c3c;
}
.cart-summary-box {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.cart-summary-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
}
.cart-summary-total {
  font-size: 15px;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 1px solid var(--gray-200);
  margin-bottom: 24px;
}

/* ----------------------------------------------------------
   27. CHECKOUT PAGE
   ---------------------------------------------------------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.checkout-form-col,
.checkout-summary-col { min-width: 0; }
.checkout-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 32px;
}
.checkout-summary-col .checkout-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.checkout-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.checkout-notice {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  line-height: 1.7;
}
.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}
.checkout-item-name { color: var(--text); line-height: 1.5; }
.checkout-item-price { font-weight: 700; color: var(--navy); white-space: nowrap; }
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  font-size: 15px;
}
.checkout-empty { font-size: 14px; color: var(--text-muted); }
.checkout-empty a { color: var(--green-dark); }

/* ----------------------------------------------------------
   28. ABOUT PAGE
   ---------------------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  display: block;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.about-heading {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.about-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}
.about-stats {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.about-stat { text-align: center; }
.about-stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.about-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}
.about-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.about-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.about-contact-item svg { color: var(--green-dark); flex-shrink: 0; }
.section-alt { background: var(--gray-50); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(46,204,113,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--green-dark);
}
.value-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.value-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   29. CONTACT PAGE
   ---------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 32px;
}
.contact-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(46,204,113,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  flex-shrink: 0;
}
.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.contact-info-text span {
  font-size: 13px;
  color: var(--text-muted);
}
.contact-hours {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.contact-hours-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-hours p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.contact-social {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.contact-social .footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13px;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  border: 1.5px solid var(--gray-200);
  width: auto;
  height: auto;
  transition: all var(--transition);
}
.contact-social .footer-social-link:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: rgba(46,204,113,0.05);
}

/* ----------------------------------------------------------
   30. AUTH PAGES (Login / Register)
   ---------------------------------------------------------- */
.auth-section {
  min-height: calc(100vh - var(--header-h) - 80px);
  display: flex;
  align-items: center;
  background: var(--gray-50);
}
.auth-card {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
}
.auth-card-header {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo {
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
  display: block;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
}
.auth-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}
.auth-form { margin-top: 4px; }
.auth-card-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  font-size: 14px;
  color: var(--text-muted);
}
.auth-link { color: var(--green-dark); font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

/* ----------------------------------------------------------
   31. ACCOUNT PAGE
   ---------------------------------------------------------- */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.account-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.account-avatar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  background: var(--navy);
}
.avatar-placeholder {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.account-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  min-width: 0;
}
.account-username {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.account-email {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.account-nav { display: flex; flex-direction: column; }
.account-nav-link {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.account-nav-link:last-child { border-bottom: none; }
.account-nav-link:hover,
.account-nav-link.active {
  background: var(--gray-50);
  color: var(--navy);
  font-weight: 600;
  padding-right: 26px;
}
.account-nav-logout { color: #c0392b; }
.account-nav-logout:hover {
  background: rgba(231,76,60,0.06);
  color: #c0392b;
}
.account-main { display: flex; flex-direction: column; gap: 24px; }
.account-section-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.account-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}
.account-info-grid {
  display: flex;
  flex-direction: column;
}
.account-info-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.account-info-item:last-child { border-bottom: none; }
.account-info-label {
  font-size: 13px;
  color: var(--text-muted);
  width: 120px;
  flex-shrink: 0;
}
.account-info-value { font-size: 14px; font-weight: 600; color: var(--navy); }

/* Orders table */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200);
  text-align: right;
}
.orders-table td {
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--text);
}
.orders-table tr:last-child td { border-bottom: none; }

/* ----------------------------------------------------------
   32. RESPONSIVE FOR NEW COMPONENTS
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .product-detail-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-col .checkout-card { position: static; }
  .account-layout { grid-template-columns: 220px 1fr; gap: 24px; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-layout { gap: 40px; }
}

@media (max-width: 768px) {
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-detail-image { position: static; }
  .about-layout { grid-template-columns: 1fr; }
  .about-image-col { max-width: 400px; margin: 0 auto; }
  .about-stats { gap: 16px; }
  .values-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-box { position: static; }
  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2) { display: none; }
  .checkout-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .auth-card { padding: 28px 20px; }
  .shop-filter-bar { gap: 8px; }
  .filter-btn { padding: 7px 16px; font-size: 12px; }
  .orders-table th:nth-child(2),
  .orders-table td:nth-child(2) { display: none; }
}

/* Monochrome customer theme */
body,
.section-light,
.page-hero,
.product-card,
.auth-card,
.contact-card,
.about-card,
.checkout-card,
.cart-summary-box,
.account-card,
.account-sidebar,
.form-control,
.form-input,
.qty-select,
.size-btn,
.newsletter-input {
  background: #ffffff;
  color: #000000;
}

.site-header,
.mobile-nav,
.site-footer,
.newsletter,
.btn-primary,
.btn-secondary:hover,
.btn-ghost-dark:hover,
.filter-btn:hover,
.filter-btn.active,
.size-btn:hover,
.size-btn.selected,
.badge-navy,
.page-hero-breadcrumb a:hover {
  background: #000000;
  color: #ffffff;
}

.btn-primary,
.btn-secondary,
.btn-ghost-dark,
.filter-btn,
.form-control,
.form-input,
.qty-select,
.size-btn,
.product-card,
.category-card,
.auth-card,
.contact-card,
.about-card,
.checkout-card,
.cart-summary-box,
.account-card,
.account-sidebar,
.flash,
.badge,
.newsletter-input,
.thumb-btn {
  border-color: #000000;
  box-shadow: none;
}

.site-nav a,
.cart-btn,
.footer-brand p,
.footer-links a,
.footer-contact-item,
.footer-bottom,
.newsletter-subtitle,
.hero-subtitle,
.page-hero-breadcrumb,
.section-subtitle,
.product-cat,
.product-card-cat,
.product-detail-desc,
.empty-state-text,
.empty-state-desc,
.form-hint,
.account-info-label {
  color: #ffffff;
}

.section-subtitle,
.product-cat,
.product-card-cat,
.product-detail-desc,
.empty-state-text,
.empty-state-desc,
.form-hint,
.account-info-label,
.page-hero-breadcrumb,
.page-hero-breadcrumb a {
  color: #000000;
}

.section-title,
.product-name,
.product-card-name,
.product-price,
.product-card-price,
.product-detail-name,
.product-detail-price,
.form-label,
.empty-state-title,
.cart-price,
.checkout-item-price,
.account-section-title,
.account-info-value,
.badge-green,
.required,
.flash-success,
.flash-error,
.flash-info {
  color: #000000;
}

.btn-primary:hover,
.btn-header-login,
.btn-header-login:hover,
.cart-badge,
.hero-tag,
.footer-social-link:hover,
.flash-success,
.flash-error,
.flash-info,
.badge-green {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
  box-shadow: none;
}

.btn-ghost,
.footer-social-link,
.newsletter-input {
  border-color: #ffffff;
  color: #ffffff;
}

.btn-ghost:hover,
.newsletter .btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.site-nav a::after,
.footer-col h4::after,
.hero-overlay,
.newsletter::before,
.gallery-item-overlay,
.gallery-item:hover .gallery-item-overlay {
  background: #000000;
}

.hero-overlay {
  opacity: 1;
}

.product-image,
.product-card-img,
.product-gallery-main,
.thumb-btn,
.error-code {
  background: #ffffff;
  color: #000000;
}

body * {
  box-shadow: none !important;
  text-shadow: none !important;
}

.account-nav-logout,
.account-nav-logout:hover,
.remove-btn,
.remove-btn:hover,
.cart-remove,
.cart-remove:hover {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
}

.gallery-item-overlay {
  background: rgba(0,0,0,0);
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(0,0,0,0.12);
}


/* ═══ QA#226 logo top-right + 50% bigger; actions left (2026-08-08) ═══ */
.header-inner > .site-logo { grid-column: 1; justify-self: start; width: 372px; height: 99px; }
.site-header nav { grid-column: 2; justify-self: center; }
.header-inner > .header-actions { grid-column: 3; justify-self: end; }
@media (max-width: 900px){ .header-inner > .site-logo { width: 300px; height: 88px; } }
@media (max-width: 560px){ .header-inner > .site-logo { width: 210px; height: 68px; } }


/* ═══ CR#588 hero slideshow ═══ */
.hero-slider{position:relative;overflow:hidden}
.hero-slider .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .8s ease}
.hero-slider .hero-slide.active{opacity:1}
.hero-slider-dots{position:absolute;bottom:16px;left:0;right:0;display:flex;gap:8px;justify-content:center;z-index:2}
.hero-slider .hero-dot{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.55)}
.hero-slider .hero-dot.active{background:#fff}


/* ═══ CR#593 header fix — taller bar, logo contained (no scale-overflow), nav removed (2026-08-08) ═══ */
:root { --header-h: 100px; }
.header-inner > .site-logo { width: auto; height: auto; max-width: 340px; padding:0; }
.header-inner > .site-logo img { transform: none !important; max-height: calc(var(--header-h) - 22px); width: auto; height: auto; object-fit: contain; }
.site-header nav { display: none !important; }
@media (max-width: 640px){ :root { --header-h: 76px; } .header-inner > .site-logo img { max-height: 52px; } }

/* QA#237: cart table -> card layout on phones/tablets (no h-overflow, no shrink) */
@media (max-width: 768px) {
  .cart-table, .cart-table tbody { display: block; width: 100%; box-shadow: none; background: transparent; }
  .cart-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cart-row { display: block; width: 100%; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 12px; padding: 12px 14px; position: relative; }
  .cart-row td { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0 !important; border: none; }
  .cart-row td:not(.cart-product-cell):not(.cart-remove-cell)::before { content: attr(data-label); font-weight: 700; color: var(--text-muted); font-size: 12px; }
  .cart-product-cell { padding-inline-end: 34px !important; }
  .cart-product-link { width: 100%; }
  .cart-product-name { min-width: 0; }
  .cart-remove-cell { position: absolute; top: 8px; inset-inline-start: 8px; padding: 0 !important; width: auto; }
}

/* QA#237b: prevent card/shadow clipping on phones/tablets */
@media (max-width: 768px) {
  .cart-table, .cart-items, .cart-layout { overflow: visible !important; }
  .cart-row:last-child { margin-bottom: 4px; }
}

/* #603: hero slider on mobile — match 16:9 image aspect so the sides aren't cropped by object-fit:cover */
@media (max-width: 768px) {
  .hero.hero-slider { min-height: 0; height: 56.25vw; max-height: 440px; }
}

/* Customer request: A2 mark in the black header, exactly 50% larger than the
   previous 2x rendering. The uploaded artwork contains generous whitespace;
   3 / 2 = 1.5 enlarges the visible mark while the crop stays inside the bar. */
:root { --header-h: 150px; }
.site-header { overflow: hidden; }
.header-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: var(--header-h);
}
.header-inner > .site-logo,
.site-logo {
  grid-column: 1;
  justify-self: start;
  width: min(300px, 100%);
  height: var(--header-h);
  max-width: 100%;
  overflow: hidden;
}
.header-inner > .site-logo img,
.site-logo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  transform: scale(3) !important;
  transform-origin: center;
}
.header-inner > .header-actions {
  grid-column: 2;
  justify-self: end;
}

/* Product actions always stack below the price and span the card width. */
.product-card > .btn,
.product-card-form,
.product-card-form .btn,
.product-card-body > .btn {
  display: block;
  width: 100%;
}
.product-card-form { margin-top: auto; }

@media (max-width: 900px) {
  :root { --header-h: 120px; }
  .header-inner > .site-logo,
  .site-logo { width: min(250px, 100%); }
}

@media (max-width: 600px) {
  :root { --header-h: 96px; }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 16px;
    gap: 10px;
  }
  .header-inner > .site-logo,
  .site-logo { width: min(210px, 100%); }
}

@media (max-width: 390px) {
  .header-inner > .site-logo,
  .site-logo { width: min(180px, 100%); }
}
