/* ============================================================
   Lumora Accessories – Main Stylesheet
   RTL / Persian – Vazirmatn (self-hosted)
   ============================================================ */

/* ── 0. Self-hosted Vazirmatn ────────────────────────────── */
@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-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ── 1. CSS Custom Properties ────────────────────────────── */
:root {
  --coral:       #FF5533;
  --coral-dark:  #E04422;
  --coral-light: #fff3f1;
  --gold:        #D4A83A;
  --gold-light:  #f9f1dc;
  --black:       #181818;
  --black-soft:  #222222;
  --grey-dark:   #444444;
  --grey:        #888888;
  --grey-light:  #f5f5f5;

  --ff-base: 'Vazirmatn', Tahoma, Arial, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  2.25rem;
  --fs-4xl:  2.75rem;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-full: 999px;

  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.16);
  --shadow-coral: 0 8px 28px rgba(255,79,54,.32);

  --transition: 200ms ease;

  --container: 1200px;
  --header-h:  68px;
}

/* ── 2. Base Reset ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  color: var(--black);
  background-color: #ffffff;
  direction: rtl;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

/* ── 3. Container ────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ── 4. Site Header ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  background-color: #ffffff;
  height: var(--header-h);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ── 5. Logo ─────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.logo-lumora {
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--black);
  font-size: var(--fs-lg);
}

.logo-sub {
  font-weight: 500;
  color: var(--coral);
  font-size: var(--fs-sm);
}

/* ── 6. Main Nav ─────────────────────────────────────────── */
.main-nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--grey-dark);
  font-weight: 500;
  font-size: var(--fs-sm);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  left: 0;
  height: 2px;
  background-color: var(--coral);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--coral);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ── 7. Header Actions ───────────────────────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: transparent;
  border: none;
  color: var(--black);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
  flex-shrink: 0;
}

.icon-btn:hover {
  background-color: var(--grey-light);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

/* ── 8. Cart Badge ───────────────────────────────────────── */
.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background-color: var(--coral);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #ffffff;
}

/* ── 9. Mobile Menu Button ───────────────────────────────── */
.mobile-menu-btn {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ── 10. Mobile Nav ──────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: min(320px, 85vw);
  background-color: #ffffff;
  z-index: 300;
  transition: right 320ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-inner {
  padding: 2rem;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey-light);
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: var(--grey-light);
  border: none;
  color: var(--black);
  transition: background-color var(--transition);
}

.mobile-nav-close:hover {
  background-color: #e5e7eb;
}

.mobile-nav-close svg {
  width: 18px;
  height: 18px;
}

.mobile-nav-link {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-light);
  font-weight: 500;
  font-size: var(--fs-md);
  color: var(--black);
  text-decoration: none;
  transition: color var(--transition), padding-right var(--transition);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--coral);
  padding-right: 0.5rem;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 290;
  display: none;
  opacity: 0;
  transition: opacity 320ms ease;
}

.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
}

/* ── 11. Main Content Push ───────────────────────────────── */
main {
  padding-top: var(--header-h);
}

/* ── 12. Hero Section ────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 420px;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 55% 45%;
    min-height: 540px;
  }
}

.hero-content {
  background-color: var(--coral);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem 3rem 3rem;
}

.hero-img {
  overflow: hidden;
  min-height: 280px;
}

@media (min-width: 768px) {
  .hero-img {
    min-height: unset;
  }
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-tag {
  display: inline-block;
  background-color: rgba(255,255,255,0.2);
  color: #ffffff;
  font-size: var(--fs-sm);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title {
  color: #ffffff;
  font-size: var(--fs-3xl);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: var(--fs-4xl);
  }
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-md);
  margin-bottom: 2rem;
  max-width: 36ch;
  line-height: 1.7;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: var(--coral);
  font-weight: 700;
  font-size: var(--fs-base);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition);
  align-self: flex-start;
}

.hero-btn:hover {
  box-shadow: var(--shadow-coral);
  transform: translateY(-2px);
}

.hero-btn svg {
  width: 18px;
  height: 18px;
}

/* ── 13. Trust Bar ───────────────────────────────────────── */
.trust-bar {
  background-color: var(--gold-light);
  border-top: 1px solid rgba(212,168,58,0.2);
  border-bottom: 1px solid rgba(212,168,58,0.2);
  padding: 1.25rem 0;
}

.trust-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--grey-dark);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── 14. Sections ────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 0.5rem;
  text-align: center;
}

@media (min-width: 992px) {
  .section-title {
    font-size: var(--fs-3xl);
  }
}

.section-sub {
  text-align: center;
  color: var(--grey);
  font-size: var(--fs-base);
  margin-bottom: 3rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── 15. Category Chips ──────────────────────────────────── */
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.cat-chip {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-sm);
  background-color: var(--grey-light);
  color: var(--grey-dark);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.cat-chip:hover {
  background-color: var(--coral);
  color: #ffffff;
}

.cat-chip.active {
  background-color: var(--coral);
  color: #ffffff;
}

/* ── 16. Product Grid ────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.pc-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background-color: var(--grey-light);
}

.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.product-card:hover .pc-img img {
  transform: scale(1.04);
}

.pc-img-placeholder {
  aspect-ratio: 1;
  background-color: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
}

.pc-img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.pc-badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pc-badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.4;
}

.pc-badge-new {
  background-color: var(--coral);
  color: #ffffff;
}

.pc-badge-sale {
  background-color: var(--gold);
  color: #ffffff;
}

.pc-body {
  padding: 1.25rem;
}

.pc-name {
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--black);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.pc-cat {
  font-size: var(--fs-xs);
  color: var(--grey);
  margin-bottom: 0.75rem;
}

.pc-price {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.pc-price-old {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--grey);
  text-decoration: line-through;
}

.pc-btn {
  width: 100%;
  background-color: var(--coral);
  color: #ffffff;
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  font-size: var(--fs-md);
  transition: background-color var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
}

.pc-btn:hover {
  background-color: var(--coral-dark);
}

.pc-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.pc-btn svg {
  width: 18px;
  height: 18px;
}

/* ── 17. About Banner ────────────────────────────────────── */
.about-banner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 360px;
}

@media (min-width: 768px) {
  .about-banner {
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
  }
}

.about-img {
  overflow: hidden;
  min-height: 280px;
}

@media (min-width: 768px) {
  .about-img {
    min-height: unset;
  }
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content {
  background-color: var(--black);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-tag {
  display: inline-block;
  background-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-title {
  color: #ffffff;
  font-size: var(--fs-2xl);
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.about-desc {
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-md);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 700;
  font-size: var(--fs-base);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
  align-self: flex-start;
}

.about-btn:hover {
  background-color: #ffffff;
  color: var(--black);
}

/* ── 18. Newsletter ──────────────────────────────────────── */
.newsletter-section {
  background-color: var(--coral);
  padding: 4rem 0 3rem;
}

.nl-title {
  color: #ffffff;
  font-size: var(--fs-2xl);
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-align: center;
}

.nl-sub {
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin-bottom: 2rem;
  font-size: var(--fs-base);
  line-height: 1.6;
}

.nl-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.nl-input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: var(--fs-base);
  direction: rtl;
  font-family: inherit;
  outline: none;
  transition: box-shadow var(--transition);
}

.nl-input:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

.nl-input::placeholder {
  color: var(--grey);
}

.nl-btn {
  background-color: var(--black);
  color: #ffffff;
  font-weight: 700;
  font-size: var(--fs-base);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color var(--transition);
  white-space: nowrap;
}

.nl-btn:hover {
  background-color: var(--black-soft);
}

/* ── 19. Cart Table ──────────────────────────────────────── */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.cart-table th,
.cart-table td {
  padding: 0.75rem 1rem;
  text-align: right;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.cart-table th {
  background-color: var(--grey-light);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--grey-dark);
  white-space: nowrap;
}

.cart-table tr:last-child td {
  border-bottom: none;
}

.cart-table tbody tr:hover td {
  background-color: #fafafa;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-name {
  font-weight: 600;
  color: var(--black);
}

.cart-item-cat {
  font-size: var(--fs-xs);
  color: var(--grey);
  margin-top: 0.2rem;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #e5e7eb;
  background-color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--grey-dark);
  transition: border-color var(--transition), color var(--transition);
}

.qty-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.qty-value {
  font-weight: 600;
  min-width: 1.5rem;
  text-align: center;
}

.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey);
  transition: color var(--transition);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.remove-btn:hover {
  color: var(--coral);
}

.remove-btn svg {
  width: 18px;
  height: 18px;
}

.cart-summary {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  border: 1px solid rgba(0,0,0,0.06);
}

.cart-summary-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-sm);
  margin-bottom: 0.75rem;
  color: var(--grey-dark);
}

.summary-row.total {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--black);
  padding-top: 0.75rem;
  border-top: 1px solid var(--grey-light);
  margin-top: 0.5rem;
}

.summary-row .price-val {
  font-weight: 700;
  color: var(--coral);
}

/* ── 20. Form Styles ─────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--grey-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  direction: rtl;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background-color: #ffffff;
  color: var(--black);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,79,54,0.12);
}

.form-control::placeholder {
  color: var(--grey);
}

.form-control.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

.form-error-msg {
  font-size: var(--fs-xs);
  color: #ef4444;
  margin-top: 0.35rem;
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ── 21. Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--fs-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition);
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--coral);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--coral-dark);
  box-shadow: var(--shadow-coral);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid currentColor;
  color: var(--coral);
}

.btn-outline:hover {
  background-color: var(--coral);
  color: #ffffff;
}

.btn-dark {
  background-color: var(--black);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: var(--black-soft);
}

.btn-gold {
  background-color: var(--gold);
  color: #ffffff;
}

.btn-gold:hover {
  background-color: #b8902e;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-md);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ── 22. Badges ──────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.badge-success {
  background-color: #dcfce7;
  color: #166534;
}

.badge-warning {
  background-color: #fef9c3;
  color: #854d0e;
}

.badge-danger {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-grey {
  background-color: var(--grey-light);
  color: var(--grey-dark);
}

.badge-coral {
  background-color: var(--coral-light);
  color: var(--coral);
}

.badge-gold {
  background-color: var(--gold-light);
  color: #7a5c10;
}

/* ── 23. Account Tabs ────────────────────────────────────── */
.account-tabs {
  display: flex;
  border-bottom: 2px solid var(--grey-light);
  margin-bottom: 2rem;
  gap: 0;
  overflow-x: auto;
}

.account-tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  color: var(--grey);
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  margin-bottom: -2px;
  background-color: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}

.account-tab:hover {
  color: var(--coral);
}

.account-tab.active {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ── 24. Alert ───────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  border-right: 4px solid transparent;
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.alert-success {
  background-color: #f0fdf4;
  border-right-color: #22c55e;
  color: #166534;
}

.alert-error {
  background-color: #fef2f2;
  border-right-color: #ef4444;
  color: #991b1b;
}

.alert-info {
  background-color: #eff6ff;
  border-right-color: #3b82f6;
  color: #1d4ed8;
}

.alert-warning {
  background-color: #fffbeb;
  border-right-color: #f59e0b;
  color: #92400e;
}

/* ── 25. Page Header ─────────────────────────────────────── */
.page-header {
  background-color: var(--grey-light);
  padding: 2.5rem 0;
  margin-bottom: 3rem;
}

.page-header-title {
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--grey);
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li::after {
  content: '/';
  color: var(--grey);
  margin-right: 0;
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: var(--grey);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--coral);
}

/* ── 26. Empty State ─────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  color: var(--grey);
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

.empty-state-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.empty-state-sub {
  color: var(--grey);
  margin-bottom: 2rem;
  font-size: var(--fs-base);
  line-height: 1.6;
}

/* ── 27. Product Detail ──────────────────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.product-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background-color: var(--grey-light);
}

.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-badge-cat {
  display: inline-block;
  margin-bottom: 1rem;
  background-color: var(--coral-light);
  color: var(--coral);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.pd-title {
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.pd-price {
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: var(--coral);
  margin-bottom: 1.5rem;
}

.pd-desc {
  color: var(--grey-dark);
  font-size: var(--fs-base);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.pd-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--grey-dark);
}

.pd-meta-row {
  display: flex;
  gap: 0.5rem;
}

.pd-meta-label {
  font-weight: 600;
  color: var(--grey);
  min-width: 80px;
}

/* ── 28. Footer ──────────────────────────────────────────── */
.site-footer {
  background-color: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-logo {
  color: #ffffff;
  font-weight: 900;
  font-size: var(--fs-xl);
  margin-bottom: 1rem;
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 28ch;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.footer-social-link:hover {
  background-color: var(--coral);
  color: #ffffff;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-heading {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.footer-link {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--transition), padding-right var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: rgba(255,255,255,1);
  padding-right: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.45);
}

.footer-badges {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-badge-img {
  height: 32px;
  opacity: 0.6;
  transition: opacity var(--transition);
  filter: brightness(0) invert(1);
}

.footer-badge-img:hover {
  opacity: 1;
}

/* ── 29. Utility Classes ─────────────────────────────────── */
.img-ratio-1 {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.text-coral  { color: var(--coral); }
.text-gold   { color: var(--gold); }
.text-grey   { color: var(--grey); }
.text-black  { color: var(--black); }
.text-white  { color: #ffffff; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-900 { font-weight: 900; }

.fs-xs   { font-size: var(--fs-xs); }
.fs-sm   { font-size: var(--fs-sm); }
.fs-base { font-size: var(--fs-base); }
.fs-md   { font-size: var(--fs-md); }
.fs-lg   { font-size: var(--fs-lg); }
.fs-xl   { font-size: var(--fs-xl); }

.d-flex        { display: flex; }
.d-block       { display: block; }
.d-none        { display: none; }
.d-grid        { display: grid; }

.align-center  { align-items: center; }
.align-start   { align-items: flex-start; }
.align-end     { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.flex-wrap     { flex-wrap: wrap; }
.flex-col      { flex-direction: column; }
.flex-1        { flex: 1; }

.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }

.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }

.mr-1  { margin-right: 0.25rem; }
.mr-2  { margin-right: 0.5rem; }
.ml-1  { margin-left: 0.25rem; }
.ml-2  { margin-left: 0.5rem; }

.pt-0  { padding-top: 0; }
.pt-4  { padding-top: 1rem; }
.pt-8  { padding-top: 2rem; }
.pb-4  { padding-bottom: 1rem; }
.pb-8  { padding-bottom: 2rem; }
.px-4  { padding-left: 1rem; padding-right: 1rem; }
.py-2  { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4  { padding-top: 1rem; padding-bottom: 1rem; }

.w-full    { width: 100%; }
.h-full    { height: 100%; }
.max-w-sm  { max-width: 480px; }
.max-w-md  { max-width: 640px; }
.max-w-lg  { max-width: 800px; }
.mx-auto   { margin-left: auto; margin-right: auto; }

.rounded     { border-radius: var(--radius); }
.rounded-sm  { border-radius: var(--radius-sm); }
.rounded-lg  { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }

.border-top    { border-top: 1px solid var(--grey-light); }
.border-bottom { border-bottom: 1px solid var(--grey-light); }

/* ── 30. Scroll Reveal ───────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease, transform 400ms ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal-delay="200"] { transition-delay: 200ms; }
[data-reveal-delay="300"] { transition-delay: 300ms; }
[data-reveal-delay="400"] { transition-delay: 400ms; }

/* ── 31. Order Status ────────────────────────────────────── */
.order-status-pending    { background-color: #fef9c3; color: #854d0e; }
.order-status-processing { background-color: #dbeafe; color: #1e40af; }
.order-status-shipped    { background-color: #dcfce7; color: #166534; }
.order-status-delivered  { background-color: #dcfce7; color: #166534; }
.order-status-cancelled  { background-color: #fee2e2; color: #991b1b; }

/* ── 32. Divider ─────────────────────────────────────────── */
.divider {
  height: 1px;
  background-color: var(--grey-light);
  margin: 1.5rem 0;
  border: none;
}

/* ── 33. Loading Spinner ─────────────────────────────────── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 600ms linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── 34. Sticky Sidebar Layout ───────────────────────────── */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .sidebar-layout {
    grid-template-columns: 1fr 300px;
  }
}

/* ── 35. Card Generic ────────────────────────────────────── */
.card {
  background-color: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.06);
}

.card-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.25rem;
}

/* ── 36. Responsive Mobile Overrides ─────────────────────── */
@media (max-width: 767px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 2.5rem 1.5rem;
    order: 1;
  }

  .hero-img {
    order: 0;
    min-height: 260px;
  }

  .hero-title {
    font-size: var(--fs-2xl);
  }

  .hero-sub {
    font-size: var(--fs-base);
  }

  .section {
    padding: 3rem 0;
  }

  .section-sm {
    padding: 2rem 0;
  }

  .section-title {
    font-size: var(--fs-xl);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .about-banner {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 2rem 1.5rem;
  }

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

  .nl-input,
  .nl-btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cart-table {
    font-size: var(--fs-xs);
  }

  .cart-table th,
  .cart-table td {
    padding: 0.5rem 0.5rem;
  }

  .page-header {
    padding: 1.75rem 0;
    margin-bottom: 2rem;
  }

  .page-header-title {
    font-size: var(--fs-xl);
  }

  .trust-grid {
    gap: 1rem 1.5rem;
  }

  .account-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .about-content {
    padding: 1.75rem 1.25rem;
  }
}

/* ── 37. Category Bar ────────────────────────────────────── */
.cat-bar {
  background: var(--coral);
  padding: 1.25rem 0;
}

.cat-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cat-bar-link {
  color: #ffffff;
  font-weight: 700;
  font-size: var(--fs-base);
  text-decoration: none;
  padding: 0.65rem 1.85rem;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.1);
  transition: background var(--transition), border-color var(--transition), transform 150ms ease;
  white-space: nowrap;
}

.cat-bar-link:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-1px);
}

/* ── 38. Shipping Strip ──────────────────────────────────── */
.shipping-strip {
  background: #1DB954;
  padding: 1.5rem 0;
}

.shipping-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.shipping-strip-text {
  color: #ffffff;
  font-size: var(--fs-lg);
  font-weight: 900;
}

.shipping-strip-btn {
  color: #ffffff;
  background: rgba(0,0,0,.18);
  border: 2px solid rgba(255,255,255,.5);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  font-size: var(--fs-sm);
  font-family: var(--ff-base);
  transition: background var(--transition);
  white-space: nowrap;
  display: inline-block;
}

.shipping-strip-btn:hover { background: rgba(0,0,0,.3); }

/* ── 39. Trust Icons (Dark) ──────────────────────────────── */
.trust-icons-dark {
  background: var(--black);
  padding: 4rem 0;
}

.trust-dark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .trust-dark-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-dark-item {
  text-align: center;
}

.trust-dark-icon {
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-dark-label {
  color: #ffffff;
  font-weight: 700;
  font-size: var(--fs-base);
  margin-bottom: 0.25rem;
}

.trust-dark-sublabel {
  color: rgba(255,255,255,.55);
  font-size: var(--fs-sm);
}

/* ── 40. Hamburger / CSS Menu Icon ───────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
  pointer-events: none;
}

.hamburger-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.close-icon {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 300;
  font-style: normal;
  display: block;
}

/* ── 41. Hero Enhancements ───────────────────────────────── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: #ffffff;
  font-weight: 700;
  font-size: var(--fs-md);
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(212,168,58,.4);
  font-family: var(--ff-base);
}

.hero-btn:hover {
  background: #b8902e;
  box-shadow: 0 6px 24px rgba(212,168,58,.5);
  transform: translateY(-2px);
}

.hero-link {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255,255,255,.5);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
  font-size: var(--fs-base);
}

.hero-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* ── 42. Print ───────────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .mobile-nav,
  .mobile-nav-overlay {
    display: none !important;
  }

  main {
    padding-top: 0;
  }

  body {
    font-size: 12pt;
  }
}
