/* ============================================================
   MORVAT HOME APPLIANCES — Design System
   Palette: #FFFFFF | #1A1A2E | #2C7A7B | #E8ECEF
   ============================================================ */

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

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --c-bg:          #FFFFFF;
  --c-dark:        #1A1A2E;
  --c-teal:        #2C7A7B;
  --c-teal-light:  #3a9899;
  --c-teal-dark:   #1e5f60;
  --c-teal-bg:     #eaf5f5;
  --c-teal-bg2:    #d4ecec;
  --c-gray:        #E8ECEF;
  --c-gray-mid:    #bec8d2;
  --c-gray-text:   #637381;
  --c-red:         #e53e3e;
  --c-shadow:      rgba(0,0,0,.06);
  --c-shadow-md:   rgba(0,0,0,.11);
  --c-shadow-teal: rgba(44,122,123,.22);
  --radius:        10px;
  --radius-sm:     6px;
  --radius-lg:     16px;
  --radius-full:   9999px;
  --font:          'Vazirmatn', Tahoma, Arial, sans-serif;
  --sp:            56px;      /* section padding */
  --container:     1280px;
  --header-h:      68px;
  --nav-h:         46px;
  --t:             .2s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-dark);
  direction: rtl;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block; }
a   { color:inherit; text-decoration:none; transition:color var(--t); }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
ul,ol { list-style:none; }
input,select,textarea { font-family:inherit; }
svg { flex-shrink:0; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Utility ────────────────────────────────────────────────── */
.sr-only {
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ============================================================
   ANNOUNCE BAR
   ============================================================ */
.announce-bar {
  background: var(--c-teal-dark);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  padding: 7px 0;
  text-align: center;
}
.announce-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.announce-bar svg   { vertical-align: middle; }
.announce-bar a     { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.announce-sep       { opacity: .4; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-bg);
  box-shadow: 0 1px 0 var(--c-gray), 0 2px 20px var(--c-shadow);
}
.header-main { height: var(--header-h); display:flex; align-items:center; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--c-dark);
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--c-teal);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.logo-icon-sm { width:32px; height:32px; }
.logo-text { display:flex; flex-direction:column; line-height:1.2; }
.logo-name  { font-weight:700; font-size:1.15rem; color:var(--c-teal); }
.logo-tagline { font-size:.7rem; color:var(--c-gray-text); }

/* Search */
.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--c-gray);
  border-radius: var(--radius-full);
  overflow: hidden;
  height: 44px;
  border: 1.5px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.header-search:focus-within {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px var(--c-shadow-teal);
  background: #fff;
}
.search-cat {
  background: transparent; border: none;
  padding: 0 14px;
  font-size: .83rem; color: var(--c-dark);
  border-left: 1.5px solid var(--c-gray-mid);
  height: 100%; outline: none; flex-shrink: 0; cursor: pointer;
}
.search-input {
  flex: 1; background: transparent; border: none;
  padding: 0 14px;
  font-size: .88rem; color: var(--c-dark);
  outline: none; height: 100%; min-width: 0;
}
.search-input::placeholder { color: var(--c-gray-text); }
.search-btn {
  width: 44px; height: 44px;
  background: var(--c-teal); color: #fff;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t);
}
.search-btn:hover { background: var(--c-teal-light); }

/* Header actions */
.header-actions { display:flex; align-items:center; gap:4px; flex-shrink:0; }
.btn-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-dark);
  transition: background var(--t), color var(--t);
  position: relative;
}
.btn-icon:hover { background:var(--c-gray); color:var(--c-teal); }
.cart-badge {
  position: absolute; top: 2px; left: 2px;
  min-width: 17px; height: 17px;
  background: var(--c-teal); color: #fff;
  border-radius: var(--radius-full);
  font-size: .62rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 1.5px solid #fff;
}

/* ── Nav bar ─────────────────────────────────────────────────── */
.header-nav {
  height: var(--nav-h);
  border-top: 1px solid var(--c-gray);
}
.nav-list {
  display: flex; align-items: center;
  height: 100%; gap: 0;
}
.nav-list > li { position:relative; height:100%; display:flex; align-items:center; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0 16px; height: 100%;
  font-size: .88rem; color: var(--c-gray-text);
  white-space: nowrap;
  transition: color var(--t);
}
.nav-link:hover { color: var(--c-teal); }
.nav-link.active {
  color: var(--c-teal);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--c-teal);
}

/* Dropdown */
.has-dropdown { position:relative; }
.nav-dropdown {
  position: absolute; top: 100%; right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--c-shadow-md);
  min-width: 210px;
  padding: 6px 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--t), transform var(--t);
  z-index: 200;
  border: 1px solid var(--c-gray);
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-size: .86rem; color: var(--c-dark);
  transition: background var(--t), color var(--t);
}
.nav-dropdown a:hover { background: var(--c-teal-bg); color: var(--c-teal); }

/* Mobile menu toggle — hidden on desktop */
.mobile-menu-toggle { display: none; }

/* ── Mobile drawer ─────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(300px, 85vw); height: 100dvh;
  background: #fff; z-index: 500;
  box-shadow: -4px 0 32px rgba(0,0,0,.14);
  transition: right .3s ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-gray);
  position: sticky; top: 0;
  background: #fff; z-index: 1;
}
.mobile-nav-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  font-size: .9rem; color: var(--c-dark);
  border-bottom: 1px solid var(--c-gray);
  transition: background var(--t), color var(--t);
}
.mobile-nav-list a:hover { color:var(--c-teal); background:var(--c-teal-bg); }
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.42); z-index: 400;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu-overlay.show { opacity:1; pointer-events:all; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-family: inherit; font-size: .9rem; font-weight: 600;
  transition: all var(--t);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--c-teal); color: #fff; border-color: var(--c-teal);
}
.btn-primary:hover {
  background: var(--c-teal-dark); border-color: var(--c-teal-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--c-shadow-teal);
}
.btn-outline {
  background: transparent; color: var(--c-teal); border-color: var(--c-teal);
}
.btn-outline:hover { background:var(--c-teal); color:#fff; }
.btn-outline-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15); border-color: #fff;
}
.btn-white {
  background: #fff; color: var(--c-teal); border-color: #fff;
}
.btn-white:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-sm  { padding: 8px 18px; font-size: .82rem; }
.btn-lg  { padding: 14px 34px; font-size: .97rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section       { padding: var(--sp) 0; }
.section-light { background: #F7F9FB; }

.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.section-title {
  font-size: 1.35rem; font-weight: 700; color: var(--c-dark);
  position: relative; padding-bottom: 10px;
}
.section-title::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 36px; height: 3px;
  background: var(--c-teal);
  border-radius: 2px;
}
.section-link {
  font-size: .84rem; color: var(--c-teal);
  display: flex; align-items: center; gap: 4px;
  transition: gap var(--t);
}
.section-link:hover { gap: 8px; text-decoration: underline; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; height: 500px;
  overflow: hidden; background: var(--c-dark);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  opacity: .82;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to left,
    rgba(26,26,46,.88) 0%,
    rgba(26,26,46,.55) 45%,
    rgba(26,26,46,.1)  100%
  );
  display: flex; align-items: center;
}
.hero-content {
  padding: 0 48px;
  max-width: 560px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-teal);
  color: #fff;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: .78rem; font-weight: 600;
  margin-bottom: 18px;
}
.hero-title {
  font-size: 2.2rem; font-weight: 700;
  color: #fff; line-height: 1.45;
  margin-bottom: 14px;
}
.hero-desc {
  font-size: .95rem; color: rgba(255,255,255,.82);
  margin-bottom: 28px; line-height: 1.85;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: all var(--t);
}
.hero-dot.active { width: 24px; background: var(--c-teal); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: #F7F9FB;
  padding: 28px 0;
  border-top: 1px solid var(--c-gray);
  border-bottom: 1px solid var(--c-gray);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--c-teal-bg);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-teal);
}
.trust-title { font-size: .88rem; font-weight: 700; margin-bottom: 3px; }
.trust-desc  { font-size: .74rem; color: var(--c-gray-text); line-height: 1.4; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  display: block; position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,26,46,.82) 0%,
    rgba(26,26,46,.2)  55%,
    transparent 100%
  );
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background .35s ease;
}
.cat-card:hover .cat-card-overlay {
  background: linear-gradient(
    to top,
    rgba(44,122,123,.88) 0%,
    rgba(26,26,46,.18)   60%,
    transparent 100%
  );
}
.cat-card-name  { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cat-card-count { font-size: .8rem; color: rgba(255,255,255,.75); }
.cat-card-arrow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.75);
  width: 46px; height: 46px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-teal);
  opacity: 0;
  transition: all .3s ease;
}
.cat-card:hover .cat-card-arrow {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}

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

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px var(--c-shadow);
  border: 1px solid var(--c-gray);
  transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--c-shadow-md);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f8f8;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--c-red); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}
.product-badge-new { background: var(--c-teal); }

.product-actions {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(-8px);
  transition: all var(--t);
}
.product-card:hover .product-actions { opacity:1; transform:translateX(0); }

.product-action-btn {
  width: 32px; height: 32px;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px var(--c-shadow-md);
  color: var(--c-gray-text);
  transition: all var(--t);
}
.product-action-btn:hover { background: var(--c-teal); color: #fff; }

.product-body {
  padding: 14px 16px 16px;
  flex: 1; display: flex; flex-direction: column;
}
.product-cat  { font-size: .73rem; color: var(--c-teal); margin-bottom: 6px; font-weight: 500; }
.product-name {
  font-size: .88rem; font-weight: 600; color: var(--c-dark);
  margin-bottom: 12px; line-height: 1.55; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--c-teal); }

.product-price-wrap { margin-bottom: 12px; }
.product-price-original {
  font-size: .76rem; color: var(--c-gray-text);
  text-decoration: line-through; margin-bottom: 2px;
}
.product-price {
  font-size: 1rem; font-weight: 700; color: var(--c-teal);
  display: flex; align-items: baseline; gap: 3px;
}
.product-price-toman { font-size: .75rem; font-weight: 400; color: var(--c-gray-text); }

.product-footer { display: flex; gap: 8px; }
.product-add-btn {
  flex: 1; padding: 9px 12px;
  border: 1.5px solid var(--c-teal);
  border-radius: var(--radius-sm);
  background: transparent; color: var(--c-teal);
  font-size: .8rem; font-weight: 600;
  font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
  transition: all var(--t);
}
.product-add-btn:hover { background: var(--c-teal); color: #fff; }
.product-add-btn.adding {
  background: var(--c-teal-bg2); color: var(--c-teal-dark);
  pointer-events: none;
}
.product-view-btn {
  width: 37px; height: 37px; flex-shrink: 0;
  border: 1.5px solid var(--c-gray);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gray-text);
  transition: all var(--t);
}
.product-view-btn:hover { border-color: var(--c-teal); color: var(--c-teal); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: var(--sp) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px var(--c-shadow-md);
}
.about-img-wrap img { width:100%; height:420px; object-fit:cover; }

.about-label {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-teal); font-size: .83rem; font-weight: 600;
  margin-bottom: 12px;
}
.about-title {
  font-size: 1.55rem; font-weight: 700;
  line-height: 1.45; margin-bottom: 16px;
}
.about-text-col .about-text {
  color: var(--c-gray-text); line-height: 1.9;
  margin-bottom: 24px; font-size: .92rem;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 32px;
}
.about-stat {
  text-align: center; padding: 18px 10px;
  background: var(--c-teal-bg);
  border-radius: var(--radius);
}
.about-stat-num   { font-size: 1.5rem; font-weight: 700; color: var(--c-teal); display: block; }
.about-stat-label { font-size: .76rem; color: var(--c-gray-text); margin-top: 4px; }

/* ============================================================
   CTA / CONTACT STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--c-teal-dark) 0%, var(--c-teal) 55%, var(--c-teal-light) 100%);
  padding: 52px 0;
}
.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-text h2 {
  font-size: 1.45rem; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.cta-text p { color: rgba(255,255,255,.82); font-size: .92rem; }

.cta-phone { display: flex; align-items: center; gap: 16px; }
.cta-phone-icon {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.cta-phone-label { font-size: .78rem; color: rgba(255,255,255,.75); display: block; margin-bottom: 2px; }
.cta-phone-num {
  font-size: 1.25rem; font-weight: 700;
  color: #fff; display: block;
}
.cta-social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cta-social a {
  width: 42px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all var(--t);
}
.cta-social a:hover { background: #fff; color: var(--c-teal); border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--c-dark); }
.footer-main { padding: 56px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
  gap: 40px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-size: 1.05rem; font-weight: 700;
  margin-bottom: 16px;
}
.footer-about {
  font-size: .83rem; line-height: 1.9;
  color: rgba(255,255,255,.58);
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--t);
}
.footer-social a:hover { background: var(--c-teal); border-color: var(--c-teal); color: #fff; }

.footer-col-title {
  font-size: .9rem; font-weight: 700; color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-links li+li { margin-top: 9px; }
.footer-links a {
  font-size: .83rem; color: rgba(255,255,255,.58);
  display: flex; align-items: center; gap: 5px;
  transition: color var(--t), padding-right var(--t);
}
.footer-links a:hover { color: var(--c-teal); padding-right: 4px; }

.footer-contact-list li {
  display: flex; align-items: center; gap: 9px;
  font-size: .83rem; color: rgba(255,255,255,.6);
  margin-bottom: 11px;
}
.footer-contact-list a:hover { color: var(--c-teal); }

.footer-badges {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7px; margin-top: 18px;
}
.badge-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .76rem; color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.07);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 16px 0; text-align: center;
  font-size: .8rem; color: rgba(255,255,255,.35);
}

/* ============================================================
   STUB PAGE
   ============================================================ */
.stub-page {
  min-height: 50vh;
  display: flex; align-items: center; justify-content: center;
}
.stub-content { text-align: center; padding: 56px 24px; }
.stub-icon { color: var(--c-teal); margin: 0 auto 20px; }
.stub-title { font-size: 1.45rem; font-weight: 700; margin-bottom: 10px; }
.stub-desc  { color: var(--c-gray-text); margin-bottom: 28px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ============================================================
   TOAST
   ============================================================ */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--c-dark); color: #fff;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: .86rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  display: flex; align-items: center; gap: 10px;
  max-width: 320px;
  animation: toast-in .3s ease, toast-out .3s ease 2.7s forwards;
}
.toast.success { border-right: 3px solid var(--c-teal); }
.toast.error   { border-right: 3px solid var(--c-red); }
@keyframes toast-in  { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@keyframes toast-out { from{opacity:1;transform:translateY(0)} to{opacity:0;transform:translateY(10px)} }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 14px 0; font-size: .8rem; color: var(--c-gray-text);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--c-teal); }
.breadcrumb-sep { color: var(--c-gray-mid); }
.breadcrumb .current { color: var(--c-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .products-grid-5 { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap:28px; }
}

@media (max-width: 1024px) {
  .products-grid   { grid-template-columns: repeat(3,1fr); }
  .products-grid-5 { grid-template-columns: repeat(3,1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap:28px; }
  .about-grid      { gap:36px; }
}

@media (max-width: 768px) {
  :root { --sp: 40px; }

  .header-search       { display: none; }
  .mobile-menu-toggle  { display: flex; }
  .header-nav          { display: none; }
  .header-inner        { gap: 10px; }

  .hero              { height: 340px; }
  .hero-content      { padding: 0 20px; }
  .hero-title        { font-size: 1.5rem; }
  .hero-desc         { font-size: .88rem; }

  .trust-grid        { grid-template-columns: repeat(2,1fr); gap:12px; }
  .cat-grid          { grid-template-columns: 1fr; gap:14px; }
  .cat-grid .cat-card { aspect-ratio: 16/7; }
  .products-grid     { grid-template-columns: repeat(2,1fr); gap:14px; }
  .products-grid-5   { grid-template-columns: repeat(2,1fr); }

  .about-grid        { grid-template-columns: 1fr; gap: 28px; }
  .about-img-wrap    { order: -1; }
  .about-img-wrap img { height: 260px; }
  .about-stats       { gap: 8px; }

  .cta-inner         { flex-direction: column; text-align: center; }
  .cta-phone         { justify-content: center; }
  .cta-social        { justify-content: center; }

  .footer-grid       { grid-template-columns: 1fr; gap: 28px; }
  .footer-badges     { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  :root { --sp: 32px; --header-h: 62px; }
  .container     { padding: 0 14px; }

  .hero          { height: 260px; }
  .hero-title    { font-size: 1.2rem; }
  .hero-badge    { display: none; }
  .hero-desc     { display: none; }
  .hero-cta .btn-lg { padding: 11px 20px; font-size: .85rem; }

  .products-grid     { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .products-grid-5   { grid-template-columns: repeat(2,1fr); }
  .product-body      { padding: 10px 12px 12px; }
  .product-name      { font-size: .82rem; }

  .trust-icon    { width: 40px; height: 40px; }
  .trust-title   { font-size: .82rem; }
  .about-stats   { grid-template-columns: repeat(3,1fr); gap: 8px; }
}

@media (max-width: 390px) {
  .logo-tagline { display: none; }
  .cart-badge   { top: 0; left: 0; }
}

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-header { background: var(--c-gray); padding: 24px 0; }
.shop-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.shop-title    { font-size: 1.45rem; font-weight: 700; }
.shop-subtitle { font-size: .84rem; color: var(--c-gray-text); margin-top: 4px; }
.shop-sort     { display: flex; align-items: center; gap: 8px; }
.sort-label    { font-size: .84rem; color: var(--c-gray-text); display: flex; align-items: center; gap: 5px; }
.sort-select {
  border: 1.5px solid var(--c-gray-mid); border-radius: var(--radius-sm);
  padding: 7px 12px; font-family: inherit; font-size: .84rem;
  background: #fff; cursor: pointer; color: var(--c-dark);
  transition: border-color var(--t);
}
.sort-select:focus { outline: none; border-color: var(--c-teal); }

.shop-filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--c-gray);
  position: sticky; top: calc(var(--header-h) + var(--nav-h)); z-index: 50;
}
.cat-tabs { display: flex; gap: 0; overflow-x: auto; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 20px;
  font-size: .86rem; color: var(--c-gray-text);
  white-space: nowrap; flex-shrink: 0;
  border-bottom: 2.5px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.cat-tab:hover { color: var(--c-teal); }
.cat-tab.active { color: var(--c-teal); font-weight: 600; border-bottom-color: var(--c-teal); }
.cat-tab-count {
  background: var(--c-gray);
  border-radius: var(--radius-full);
  font-size: .7rem; padding: 1px 7px; color: var(--c-gray-text);
}
.cat-tab.active .cat-tab-count { background: var(--c-teal-bg2); color: var(--c-teal-dark); }

.products-grid-shop { grid-template-columns: repeat(4, 1fr); }

/* Empty state */
.empty-state {
  min-height: 40vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 56px 24px; text-align: center;
}
.empty-icon  { color: var(--c-gray-mid); margin-bottom: 20px; }
.empty-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.empty-desc  { color: var(--c-gray-text); margin-bottom: 24px; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
  margin-bottom: 48px;
}

.pd-main-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f5f8f8;
  border: 1px solid var(--c-gray);
  aspect-ratio: 1;
}
.pd-main-img-wrap img { width:100%; height:100%; object-fit:cover; }
.pd-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--c-red); color: #fff;
  font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-full);
}
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--c-gray);
  cursor: pointer;
  transition: border-color var(--t);
  padding: 0;
}
.pd-thumb img { width:100%; height:100%; object-fit:cover; }
.pd-thumb.active { border-color: var(--c-teal); }
.pd-thumb:hover  { border-color: var(--c-teal-light); }

.pd-cat    { font-size: .78rem; color: var(--c-teal); font-weight: 600; margin-bottom: 8px; }
.pd-title  { font-size: 1.5rem; font-weight: 700; line-height: 1.45; margin-bottom: 12px; }

.pd-stars  { display: flex; align-items: center; gap: 3px; margin-bottom: 18px; }
.pd-star   { color: var(--c-gray-mid); }
.pd-star.filled { color: #f59e0b; }
.pd-rating-text { font-size: .78rem; color: var(--c-gray-text); margin-right: 5px; }

.pd-price-block { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pd-price-orig  { font-size: .88rem; color: var(--c-gray-text); text-decoration: line-through; }
.pd-price-main  { font-size: 1.55rem; font-weight: 700; color: var(--c-teal); }
.pd-disc-tag {
  background: rgba(229,62,62,.1); color: var(--c-red);
  font-size: .75rem; font-weight: 700;
  padding: 3px 10px; border-radius: var(--radius-full);
}

.pd-desc {
  font-size: .9rem; color: var(--c-gray-text);
  line-height: 1.85; margin-bottom: 22px;
}

/* Qty control */
.qty-control {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--c-gray-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-gray); color: var(--c-dark);
  transition: background var(--t), color var(--t);
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--c-teal); color: #fff; }
.qty-input {
  width: 52px; height: 38px;
  border: none; border-right: 1.5px solid var(--c-gray-mid); border-left: 1.5px solid var(--c-gray-mid);
  text-align: center;
  font-family: inherit; font-size: .9rem; font-weight: 600;
  background: #fff; outline: none;
}

.qty-control-sm .qty-btn { width: 30px; height: 30px; }
.qty-control-sm .qty-input { width: 38px; height: 30px; font-size: .82rem; }
.qty-display {
  width: 38px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; font-weight: 600;
  border-right: 1.5px solid var(--c-gray-mid); border-left: 1.5px solid var(--c-gray-mid);
}

.pd-atc-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.pd-atc-btn { flex: 1; min-width: 180px; justify-content: center; }

.pd-stock {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; margin-bottom: 20px;
}
.pd-stock.in-stock  { color: #059669; }
.pd-stock.out-stock { color: var(--c-red); }

.pd-meta { display: flex; flex-direction: column; gap: 10px; }
.pd-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--c-gray-text);
}
.pd-meta-item svg { color: var(--c-teal); flex-shrink: 0; }

/* Product tabs */
.pd-tabs {
  display: flex; border-bottom: 2px solid var(--c-gray);
  margin-bottom: 24px;
}
.pd-tab-btn {
  padding: 12px 24px;
  font-family: inherit; font-size: .9rem; font-weight: 600;
  color: var(--c-gray-text);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color var(--t), border-color var(--t);
}
.pd-tab-btn:hover { color: var(--c-teal); }
.pd-tab-btn.active { color: var(--c-teal); border-bottom-color: var(--c-teal); }

.pd-tab-content { padding: 8px 0 32px; }
.pd-tab-content.hidden { display: none; }

.pd-long-desc p  { color: var(--c-gray-text); line-height: 1.85; margin-bottom: 16px; }
.pd-long-desc ul { padding-right: 18px; }
.pd-long-desc li {
  color: var(--c-gray-text); font-size: .9rem; line-height: 1.85;
  list-style: disc; margin-bottom: 6px;
}

.pd-spec-table { max-width: 480px; }
.spec-row {
  display: flex;
  border-bottom: 1px solid var(--c-gray);
  padding: 11px 0;
  font-size: .88rem;
}
.spec-key { width: 140px; font-weight: 600; flex-shrink: 0; }
.spec-val  { color: var(--c-gray-text); }

/* ============================================================
   CART PAGE
   ============================================================ */
.page-title {
  font-size: 1.45rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px; align-items: start;
}
.cart-items-col { display: flex; flex-direction: column; gap: 0; }
.cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-gray);
}
.cart-item-img {
  width: 88px; height: 88px; flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--c-gray);
}
.cart-item-img img { width:100%; height:100%; object-fit:cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: .9rem; font-weight: 600; color: var(--c-dark);
  display: block; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-name:hover { color: var(--c-teal); }
.cart-item-price-orig {
  font-size: .76rem; color: var(--c-gray-text); text-decoration: line-through;
}
.cart-item-price { font-size: .88rem; color: var(--c-teal); font-weight: 700; }
.cart-item-controls {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.cart-item-total { font-size: .9rem; font-weight: 700; min-width: 120px; text-align: left; }
.cart-remove-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gray-text);
  transition: all var(--t);
}
.cart-remove-btn:hover { background: rgba(229,62,62,.08); color: var(--c-red); }
.cart-footer-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; gap: 12px;
}

/* Summary card */
.cart-summary {
  background: #F7F9FB;
  border: 1px solid var(--c-gray);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky; top: calc(var(--header-h) + var(--nav-h) + 16px);
}
.cart-summary-title {
  font-size: 1rem; font-weight: 700; margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--c-gray);
}
.cart-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .86rem; margin-bottom: 12px;
}
.cart-summary-total {
  font-size: .95rem; font-weight: 700;
  border-top: 1px solid var(--c-gray);
  padding-top: 14px; margin-top: 4px; margin-bottom: 18px;
}
.cart-summary-total span:last-child { color: var(--c-teal); font-size: 1.05rem; }
.free-shipping { color: #059669; font-weight: 700; }
.cart-shipping-note {
  font-size: .74rem; color: var(--c-gray-text);
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 12px; margin-top: -6px;
}
.btn-full { width: 100%; justify-content: center; }
.cart-secure {
  display: flex; align-items: center; justify-content: center;
  gap: 5px; font-size: .74rem; color: var(--c-gray-text);
  margin-top: 12px;
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px; align-items: start;
}
.checkout-form-col {}
.checkout-summary {
  background: #F7F9FB;
  border: 1px solid var(--c-gray);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky; top: calc(var(--header-h) + var(--nav-h) + 16px);
}
.checkout-summary-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 10px; font-size: .82rem;
}
.chk-item-name { color: var(--c-gray-text); flex: 1; }
.chk-item-total { font-weight: 600; white-space: nowrap; }

/* Forms (shared) */
.form-group  { margin-bottom: 18px; }
.form-label  { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--c-gray-mid);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: .9rem;
  color: var(--c-dark); background: #fff;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-input:focus {
  outline: none; border-color: var(--c-teal);
  box-shadow: 0 0 0 3px var(--c-shadow-teal);
}
.form-input.error  { border-color: var(--c-red); }
.form-textarea { resize: vertical; min-height: 90px; }
.form-row-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-optional { font-weight: 400; font-size: .78rem; color: var(--c-gray-text); }
.req           { color: var(--c-red); }

.form-errors {
  background: rgba(229,62,62,.06);
  border: 1px solid rgba(229,62,62,.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 18px;
}
.form-errors p {
  display: flex; align-items: center; gap: 6px;
  font-size: .84rem; color: var(--c-red); margin-bottom: 4px;
}
.form-errors p:last-child { margin-bottom: 0; }
.form-success {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(5,150,105,.06);
  border: 1px solid rgba(5,150,105,.2);
  border-radius: var(--radius-sm);
  padding: 16px; margin-bottom: 18px;
  color: #059669;
}
.form-success strong { display: block; margin-bottom: 4px; font-size: .9rem; }
.form-success p { font-size: .83rem; color: var(--c-gray-text); }

/* Checkout success */
.checkout-success {
  text-align: center; padding: 80px 24px;
  max-width: 500px; margin: 0 auto;
}
.checkout-success-icon { color: #059669; margin: 0 auto 24px; }
.checkout-success-title { font-size: 1.55rem; font-weight: 700; margin-bottom: 12px; }
.checkout-success-code  { font-size: .9rem; color: var(--c-gray-text); margin-bottom: 10px; }
.checkout-success-desc  { color: var(--c-gray-text); margin-bottom: 32px; }
.checkout-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.checkout-terms {
  display: flex; align-items: center; gap: 5px;
  font-size: .76rem; color: var(--c-gray-text);
  margin-top: 14px; justify-content: center;
}
.checkout-terms a { color: var(--c-teal); text-decoration: underline; }

/* ============================================================
   PAGE HERO (about/contact/faq)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-teal-dark) 100%);
  padding: 48px 0;
  text-align: center;
}
.page-hero-title {
  font-size: 1.85rem; font-weight: 700; color: #fff;
  margin-bottom: 8px;
}
.page-hero-sub { font-size: .92rem; color: rgba(255,255,255,.72); }

/* ============================================================
   ABOUT PAGE (extra)
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--c-gray);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow var(--t), transform var(--t);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--c-shadow-md);
}
.value-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: var(--c-teal-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-teal);
}
.value-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.value-desc  { font-size: .83rem; color: var(--c-gray-text); line-height: 1.7; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px; align-items: start;
}
.contact-col-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 1px solid var(--c-gray);
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--c-teal-bg);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-teal);
}
.contact-info-label { font-size: .76rem; color: var(--c-gray-text); margin-bottom: 3px; }
.contact-info-value { font-size: .9rem; font-weight: 600; color: var(--c-dark); }
.contact-info-value:hover { color: var(--c-teal); }
.contact-social {
  display: flex; gap: 10px; margin-bottom: 28px;
}
.contact-social a {
  width: 40px; height: 40px;
  border: 1.5px solid var(--c-gray-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gray-text);
  transition: all var(--t);
}
.contact-social a:hover { border-color: var(--c-teal); color: var(--c-teal); background: var(--c-teal-bg); }
.contact-img {
  width: 100%; border-radius: var(--radius-lg);
  object-fit: cover; height: 220px;
}
.contact-form { }

/* Input with icon */
.input-icon-wrap { position: relative; }
.input-icon-wrap > svg {
  position: absolute;
  top: 50%; right: 14px;
  transform: translateY(-50%);
  color: var(--c-gray-text);
  pointer-events: none;
}
.input-with-icon { padding-right: 40px; }

/* ============================================================
   AUTH (login / register)
   ============================================================ */
.auth-section {
  min-height: calc(100vh - 180px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 0;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: #fff;
  border: 1px solid var(--c-gray);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 4px 32px var(--c-shadow);
  text-align: center;
}
.auth-logo {
  width: 54px; height: 54px;
  background: var(--c-teal); color: #fff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.auth-title  { font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.auth-sub    { font-size: .84rem; color: var(--c-gray-text); margin-bottom: 28px; }
.auth-form   { text-align: right; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-switch {
  margin-top: 20px; font-size: .84rem; color: var(--c-gray-text);
}
.auth-switch a { color: var(--c-teal); font-weight: 600; }

/* ============================================================
   ACCOUNT PAGE
   ============================================================ */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px; align-items: start;
}
.account-sidebar {
  background: #F7F9FB;
  border: 1px solid var(--c-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky; top: calc(var(--header-h) + var(--nav-h) + 16px);
}
.account-avatar {
  padding: 24px 20px;
  background: var(--c-dark); text-align: center;
}
.avatar-circle {
  width: 56px; height: 56px;
  background: var(--c-teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin: 0 auto 12px;
}
.account-user-name  { font-size: .9rem; font-weight: 700; color: #fff; }
.account-user-phone { font-size: .76rem; color: rgba(255,255,255,.55); margin-top: 3px; }
.account-nav li a,
.account-nav-logout {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 13px 20px;
  font-size: .86rem; color: var(--c-dark);
  font-family: inherit;
  border-bottom: 1px solid var(--c-gray);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.account-nav li a:hover,
.account-nav-logout:hover { background: var(--c-teal-bg); color: var(--c-teal); }
.account-nav li.active a  { color: var(--c-teal); font-weight: 600; background: var(--c-teal-bg); }
.account-nav-logout { color: var(--c-red); border-bottom: none; }
.account-nav-logout:hover { background: rgba(229,62,62,.05); color: var(--c-red); }

.account-main {}

/* Orders table */
.orders-table-wrap { overflow-x: auto; }
.orders-table {
  width: 100%; border-collapse: collapse;
  font-size: .86rem;
}
.orders-table th {
  padding: 11px 14px;
  background: #F7F9FB;
  border-bottom: 2px solid var(--c-gray);
  font-weight: 700; text-align: right; white-space: nowrap;
}
.orders-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-gray);
  color: var(--c-gray-text);
  white-space: nowrap;
}
.orders-table td strong { color: var(--c-dark); }
.order-status {
  display: inline-block; padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 700;
}
.status-pending    { background: rgba(245,158,11,.1);  color: #b45309; }
.status-paid       { background: rgba(5,150,105,.1);   color: #059669; }
.status-processing { background: rgba(59,130,246,.1);  color: #1d4ed8; }
.status-shipped    { background: rgba(139,92,246,.1);  color: #6d28d9; }
.status-delivered  { background: rgba(5,150,105,.15);  color: #047857; }
.status-cancelled  { background: rgba(229,62,62,.1);   color: var(--c-red); }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-grid {
  max-width: 780px; margin: 0 auto 40px;
}
.faq-item {
  border: 1px solid var(--c-gray);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px 20px;
  font-family: inherit; font-size: .92rem; font-weight: 600;
  color: var(--c-dark); cursor: pointer;
  background: #fff;
  transition: background var(--t), color var(--t);
  gap: 12px;
}
.faq-q:hover { background: var(--c-teal-bg); color: var(--c-teal); }
.faq-q.open  { background: var(--c-teal-bg); color: var(--c-teal); }
.faq-chevron { flex-shrink: 0; transition: transform var(--t); }
.faq-q.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  padding: 0 20px 16px;
  font-size: .88rem; color: var(--c-gray-text);
  line-height: 1.8;
  background: var(--c-teal-bg);
  border-top: 1px solid var(--c-teal-bg2);
}
.faq-cta {
  text-align: center;
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  margin-top: 8px;
  font-size: .9rem; color: var(--c-gray-text);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.notfound-section {
  min-height: calc(100vh - 200px);
  display: flex; align-items: center; justify-content: center;
}
.notfound-inner { text-align: center; padding: 60px 24px; }
.notfound-number {
  font-size: 8rem; font-weight: 900; line-height: 1;
  color: var(--c-gray);
  margin-bottom: -16px;
}
.notfound-icon   { color: var(--c-teal); margin: 0 auto 20px; }
.notfound-title  { font-size: 1.65rem; font-weight: 700; margin-bottom: 14px; }
.notfound-desc   { color: var(--c-gray-text); max-width: 380px; margin: 0 auto 32px; line-height: 1.8; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.notfound-back {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .84rem; color: var(--c-gray-text);
  text-decoration: underline; text-underline-offset: 2px;
}
.notfound-back:hover { color: var(--c-teal); }

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 1200px) {
  .products-grid-shop { grid-template-columns: repeat(3, 1fr); }
  .values-grid        { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .pd-grid         { gap: 32px; }
  .cart-layout     { grid-template-columns: 1fr; }
  .cart-summary    { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary{ position: static; }
  .account-layout  { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .contact-layout  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pd-grid         { grid-template-columns: 1fr; }
  .pd-title        { font-size: 1.25rem; }
  .pd-price-main   { font-size: 1.3rem; }
  .shop-filter-bar { position: static; }
  .products-grid-shop { grid-template-columns: repeat(2, 1fr); }
  .values-grid     { grid-template-columns: repeat(2, 1fr); }
  .form-row-2      { grid-template-columns: 1fr; }
  .auth-card       { padding: 28px 20px; }
  .page-hero-title { font-size: 1.45rem; }
  .notfound-number { font-size: 5rem; }
  .cart-item-controls { flex-wrap: wrap; gap: 8px; }
  .cart-item-total { min-width: 80px; }
}
@media (max-width: 480px) {
  .products-grid-shop { grid-template-columns: repeat(2, 1fr); }
  .values-grid        { grid-template-columns: 1fr; }
  .pd-atc-row         { flex-direction: column; }
  .pd-atc-btn         { width: 100%; }
  .cart-item          { flex-wrap: wrap; }
  .cart-item-img      { width: 64px; height: 64px; }
}
