/* ============================================================
   Victor Shop — storefront stylesheet
   Design: intergame layout parity, Victor branding
   (purple #a855f7 on dark navy, Vazirmatn, RTL)
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }

/* ---------- Design tokens ---------- */
:root {
  /* brand */
  --primary: #a855f7;          /* Victor purple (contract) */
  --primary-2: #6562ff;        /* gradient partner (intergame) */
  --accent: #ff4da9;           /* hot-pink accent (intergame) */
  --gold: #f2c230;             /* feature-banner CTA (intergame) */
  --green: #22c55e;            /* discount badge (intergame) */
  --grad: linear-gradient(90deg, var(--primary-2), var(--primary));
  --grad-r: linear-gradient(270deg, var(--primary-2), var(--primary));

  /* surfaces */
  --bg: #0e0e1a;               /* Victor dark base (contract) */
  --bg-2: #131829;             /* card / section surface */
  --bg-3: #1a2138;             /* elevated surface */
  --border: #252c47;
  --border-soft: #1e2440;

  /* text */
  --text: #f4f4f4;
  --text-dim: #9aa3bd;
  --text-faint: #6b7392;

  /* shape */
  --radius: 12px;
  --radius-lg: 15px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --shadow-primary: 0 6px 24px rgba(168, 85, 247, .35);

  --container: 1280px;
}

/* ---------- Base ---------- */
body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  background:
    radial-gradient(1100px 500px at 85% -100px, rgba(101, 98, 255, .14), transparent 60%),
    radial-gradient(900px 450px at 10% 120px, rgba(168, 85, 247, .10), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 15px;
  min-height: 100vh;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 34px; }

.skip-link {
  position: absolute; top: -48px; right: 12px; z-index: 200;
  background: var(--primary); color: #fff; padding: 8px 18px;
  border-radius: 0 0 10px 10px; transition: top .2s;
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: transform .15s, box-shadow .15s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--grad-r); box-shadow: 0 8px 30px rgba(168, 85, 247, .5); }
.btn-ghost { border: 1px solid var(--border); color: var(--text-dim); }
.btn-ghost:hover { border-color: var(--primary); color: var(--text); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 14, 26, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .25s;
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 76px;
}

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--grad); color: #fff;
  box-shadow: var(--shadow-primary);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.35; }
.logo-text strong { font-size: 1.12rem; letter-spacing: .2px; }
.logo-text small { color: var(--text-dim); font-size: .72rem; }

/* category dropdown */
.cat-menu { position: relative; }
.cat-menu-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--bg-3); border: 1px solid var(--border);
  font-weight: 600; font-size: .9rem;
  transition: border-color .2s;
}
.cat-menu-btn:hover, .cat-menu.open .cat-menu-btn { border-color: var(--primary); }
.cat-menu-btn img { width: 17px; height: 17px; }
.cat-menu-btn .caret { transition: transform .2s; font-size: .7rem; color: var(--text-dim); }
.cat-menu.open .caret { transform: rotate(180deg); }

.cat-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 240px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; translate: 0 8px;
  transition: opacity .18s, translate .18s, visibility .18s;
}
.cat-menu.open .cat-dropdown { opacity: 1; visibility: visible; translate: 0 0; }
.cat-dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--text-dim); font-size: .92rem;
  transition: background .15s, color .15s;
}
.cat-dropdown a:hover { background: var(--bg-3); color: var(--text); }
.cat-dropdown img { width: 28px; height: 28px; object-fit: contain; }

/* main nav */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 10px;
  color: var(--text-dim); font-size: .93rem; font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-menu a img { width: 16px; height: 16px; opacity: .75; }
.nav-menu a:hover { color: var(--text); background: var(--bg-3); }
.nav-menu a.active { color: var(--text); position: relative; }
.nav-menu a.active::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--grad);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--text); }

/* header actions */
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid transparent; color: var(--text-dim);
  transition: color .15s, border-color .15s, background .15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border); background: var(--bg-3); }
.icon-btn img { width: 19px; height: 19px; }
.cart-badge {
  position: absolute; top: -5px; left: -5px;
  min-width: 19px; height: 19px; padding-inline: 5px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-size: .68rem; font-weight: 700; border-radius: 999px;
}

/* ============================================================
   HERO — intro text (right) + compact slider card (left)
   ============================================================ */
.hero { padding-block: 40px 14px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center;
}
.hero-content { position: relative; z-index: 0; }
.hero-watermark { top: -34px; font-size: 4.2rem; }
.hero-title { font-size: 2rem; margin-bottom: 12px; }
.hero-text { color: var(--text-dim); max-width: 58ch; margin-bottom: 24px; text-align: justify; }
.hero-cta { display: flex; gap: 12px; }

/* plain stats row (no boxes — like the original) */
.hero-stats { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.stat dt { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.stat dd { color: var(--text-dim); font-size: .8rem; }

/* gradient slider card */
.hero-slider {
  position: relative; overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(165deg, var(--accent) 0%, var(--primary) 55%, var(--primary-2) 100%);
  box-shadow: var(--shadow);
  max-width: 440px; justify-self: start; width: 100%;
}
/* faint PS-icons pattern over the gradient */
.hero-slider::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../images/slider-back-1.png") repeat;
  background-size: 150px;
  opacity: .18;
  pointer-events: none;
}
.hero-track { position: relative; z-index: 1; display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.hero-slide {
  flex: 0 0 100%;
  display: grid; place-items: center;
  padding: 46px 34px 52px;
}
.hero-slide img {
  width: min(300px, 88%); height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

/* small arrows pinned to the card's top-left (like the original) */
.hero-slider .slider-arrow {
  top: 16px; translate: none;
  width: 32px; height: 32px;
}
.hero-slider .slider-arrow.prev { right: auto; left: 56px; }
.hero-slider .slider-arrow.next { right: auto; left: 16px; }

.slider-arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(19, 24, 41, .55); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; backdrop-filter: blur(6px);
  transition: color .15s, border-color .15s, background .15s;
}
.slider-arrow:hover { border-color: #fff; background: rgba(19, 24, 41, .8); }

.slider-dots {
  position: absolute; bottom: 16px; inset-inline: 0;
  display: flex; justify-content: center; gap: 7px; z-index: 5;
}
.slider-dots button {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .45); transition: width .2s, background .2s;
}
.slider-dots button.active { width: 26px; background: #fff; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-head {
  position: relative; z-index: 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-direction: row-reverse; gap: 14px; margin-bottom: 24px;
}
.section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 800;
}
.title-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); color: #fff; font-size: 1rem;
  box-shadow: var(--shadow-primary);
}
.see-all {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-dim); font-size: .88rem;
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px;
  transition: color .15s, border-color .15s;
}
.see-all:hover { color: var(--text); border-color: var(--primary); }

/* underline-style tabs (like the original) */
.head-tabs { display: flex; gap: 22px; }
.head-tabs button {
  padding: 6px 2px;
  color: var(--text-faint); font-size: .92rem; font-weight: 600;
  position: relative;
  transition: color .15s;
}
.head-tabs button:hover { color: var(--text-dim); }
.head-tabs button.active { color: var(--text); }
.head-tabs button.active::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 2px;
  border-radius: 2px; background: var(--grad);
}

/* faint English watermark behind section headings */
.section-watermark {
  position: absolute; top: -22px; right: 0; z-index: -1;
  font-size: 3.6rem; font-weight: 800; letter-spacing: 3px;
  color: rgba(244, 244, 244, .04);
  pointer-events: none; user-select: none;
}

/* ============================================================
   CATEGORY CAROUSEL (horizontal cards)
   ============================================================ */
.cat-carousel { position: relative; }
.cat-track {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-block: 8px;
}
.cat-track::-webkit-scrollbar { display: none; }

.cat-card {
  flex: 0 0 calc((100% - 54px) / 4);
  scroll-snap-align: start;
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--border); border-radius: 24px;
  padding: 22px 20px;
  transition: border-color .2s;
}
.cat-card:hover { border-color: var(--primary); }

.cat-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cat-en { color: var(--accent); font-size: .74rem; font-weight: 600; letter-spacing: .5px; }
.cat-card h3 { font-size: 1.1rem; }
.cat-card p { color: var(--text-dim); font-size: .78rem; line-height: 1.8; margin-bottom: 12px; min-height: 2.9em; }

.cat-icon {
  flex: 0 0 106px; width: 106px; height: 106px;
  display: grid; place-items: center;
  background: var(--bg-3); border: 1px solid var(--border-soft);
  border-radius: 24px;
  transform: rotate(-8deg);
  transition: transform .25s;
}
.cat-icon img { width: 66%; height: 66%; object-fit: contain; }
.cat-card:hover .cat-icon { transform: rotate(0deg); }

.cat-link {
  align-self: flex-start;
  display: inline-block; padding: 8px 30px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-size: .82rem; font-weight: 700;
  box-shadow: var(--shadow-primary);
  transition: background .2s;
}
.cat-link:hover { background: var(--grad-r); }

.cat-carousel .slider-arrow.prev { right: -10px; }
.cat-carousel .slider-arrow.next { left: -10px; }

/* static dots (below carousels, unlike the hero's absolute dots) */
.dots-static { position: static; margin-top: 14px; }
.dots-static button { background: var(--text-faint); }
.dots-static button.active { background: var(--primary); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow); }

.product-thumb { position: relative; display: block; aspect-ratio: 5 / 3; overflow: hidden; }
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.product-card:hover .product-thumb img { transform: scale(1.06); }

.discount-badge {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  background: var(--green); color: #fff;
  font-size: .78rem; font-weight: 800;
  padding: 4px 11px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(34, 197, 94, .4);
}

.product-info { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.product-name { font-size: .9rem; font-weight: 600; line-height: 1.7; }
.product-name a { display: block; }
.product-name a:hover { color: var(--primary); }

.rating { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-dim); }
.stars { position: relative; display: inline-block; font-size: .82rem; color: var(--text-faint); letter-spacing: 2px; }
.stars::before { content: "\2605\2605\2605\2605\2605"; }
.stars-fill { position: absolute; inset: 0; overflow: hidden; color: #fbbf24; white-space: nowrap; }
.stars-fill::before { content: "\2605\2605\2605\2605\2605"; letter-spacing: 2px; }

.product-price { margin-top: auto; font-size: .92rem; color: var(--text-dim); }
.product-price .price { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.product-price del { color: var(--text-faint); font-size: .82rem; margin-inline-end: 8px; }

.product-actions { display: flex; align-items: center; gap: 8px; }
.btn-add {
  flex: 1; padding: 10px 12px; border-radius: 999px;
  background: var(--grad);
  color: #fff; font-size: .82rem; font-weight: 700;
  box-shadow: var(--shadow-primary);
  transition: background .2s, box-shadow .2s, opacity .2s;
}
.btn-add:hover { background: var(--grad-r); box-shadow: 0 8px 26px rgba(168, 85, 247, .5); }
.btn-add:disabled { opacity: .8; cursor: default; }

.qty {
  display: flex; align-items: center; gap: 2px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px;
}
.qty button {
  width: 27px; height: 30px; display: grid; place-items: center;
  color: var(--text-dim); border-radius: 999px; font-weight: 700;
}
.qty button:hover { color: var(--text); background: var(--bg-2); }
.qty span { min-width: 20px; text-align: center; font-size: .88rem; }

/* ============================================================
   FEATURE BANNERS (character art + gold CTA)
   ============================================================ */
.banner-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-banner {
  display: flex; flex-direction: row-reverse; /* art left, text right */
  align-items: center; gap: 10px;
  min-height: 175px; border-radius: 20px;
  border: 1px solid var(--border-soft);
  background:
    radial-gradient(300px 170px at 15% 100%, rgba(168, 85, 247, .22), transparent 70%),
    var(--bg-2);
  padding: 20px 22px;
  transition: transform .2s, border-color .2s;
}
.feat-banner:hover { transform: translateY(-4px); border-color: var(--border); }
.feat-art {
  flex: 0 0 128px; width: 128px; height: 150px;
  object-fit: contain; object-position: bottom;
  margin-top: -34px; /* let the character break out of the card */
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5));
}
.feat-text { flex: 1; min-width: 0; }
.feat-text h3 { font-size: .98rem; margin-bottom: 2px; line-height: 1.7; }
.feat-sub { color: var(--text-dim); font-size: .78rem; margin-bottom: 14px; }
.feat-cta {
  display: inline-block;
  background: var(--gold); color: #1d1503;
  font-size: .78rem; font-weight: 800;
  padding: 7px 20px; border-radius: 999px;
  box-shadow: 0 5px 18px rgba(242, 194, 48, .35);
  transition: filter .15s;
}
.feat-cta:hover { filter: brightness(1.08); }

/* ============================================================
   DEALS + COUNTDOWN (panel right, products left)
   ============================================================ */
.deals-grid { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: stretch; }
.deal-countdown {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center;
  border-radius: 20px; padding: 30px 20px;
  background:
    radial-gradient(420px 260px at 50% -60px, rgba(168, 85, 247, .45), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--border);
}
/* pink accent bar on the panel's outer (right) edge */
.deal-countdown::after {
  content: ""; position: absolute; inset-inline-start: -3px; top: 30%;
  width: 6px; height: 40%; border-radius: 999px;
  background: var(--accent);
}
.deal-icon {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: 0 10px 30px rgba(168, 85, 247, .35);
}
.deal-icon img { width: 62%; height: auto; }
.deal-countdown h3 { font-size: 1.2rem; }
.deal-countdown p { color: var(--text-dim); font-size: .86rem; }
.countdown { display: flex; gap: 8px; margin-top: 8px; direction: ltr; }
.cd-box {
  display: flex; flex-direction: column; align-items: center;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 11px; padding: 9px 13px; min-width: 62px;
}
.cd-num { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.cd-box small { color: var(--text-faint); font-size: .68rem; }
.deals-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ============================================================
   WIDE BANNER
   ============================================================ */
.wide-banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 20px; border: 1px solid var(--border-soft);
  padding: 40px 48px; min-height: 190px;
  background:
    linear-gradient(90deg, rgba(14, 14, 26, .96) 40%, rgba(14, 14, 26, .55)),
    url("../images/Assassin-creed.webp") center / cover;
}
.wide-sub { color: var(--text-dim); font-size: .88rem; }
.wide-text h3 { font-size: 1.6rem; margin-block: 4px; }
.wide-text small { color: var(--text-faint); letter-spacing: 1px; }
.wide-cta {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); color: var(--text);
  font-weight: 600; font-size: .9rem;
  padding: 11px 26px; border-radius: 999px;
  transition: border-color .2s, color .2s;
}
.wide-cta:hover { border-color: var(--primary); color: #fff; }

/* ============================================================
   TOP PRODUCTS OF MONTH
   ============================================================ */
.top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.top-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 10px;
  transition: border-color .2s, transform .2s;
}
.top-item:hover { border-color: var(--border); transform: translateY(-2px); }
.top-thumb {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
}
.top-thumb img { width: 100%; height: 100%; object-fit: cover; }
.top-info h3 { font-size: .84rem; font-weight: 600; line-height: 1.6; }
.top-info h3 a:hover { color: var(--primary); }
.top-price { color: var(--primary); font-weight: 700; font-size: .8rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.about-content p { color: var(--text-dim); font-size: .92rem; margin-bottom: 14px; text-align: justify; }
.about-content .btn { margin-top: 6px; }
.about-img img { border-radius: 20px; width: 100%; height: auto; }

/* ============================================================
   SERVICE BANNERS (colored)
   ============================================================ */
.service-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-radius: 20px; padding: 24px;
  min-height: 168px; color: #fff;
  transition: transform .2s;
}
.service-card:hover { transform: translateY(-3px); }
.s-gold { background: linear-gradient(135deg, #f7b733, #c07c09); }
.s-pink { background: linear-gradient(135deg, #f472b6, #be185d); }
.s-teal { background: linear-gradient(135deg, #2dd4bf, #0e7490); }
.service-body { position: relative; z-index: 2; }
.service-body h3 { font-size: 1.05rem; margin-bottom: 2px; }
.service-body p { color: rgba(255, 255, 255, .88); font-size: .8rem; margin-bottom: 14px; }
.service-cta {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .75); color: #fff;
  font-size: .78rem; font-weight: 700;
  padding: 7px 18px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.service-cta:hover { background: #fff; color: #1a1a2e; }
.service-art {
  flex: 0 0 118px; width: 118px; height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3));
}

/* ============================================================
   BLOG (mini list right, cards left)
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: 300px 1fr; gap: 18px; }
.blog-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card {
  background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.blog-card:hover { border-color: var(--border); transform: translateY(-3px); }
.blog-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-date {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--grad); color: #fff;
  font-size: .68rem; font-weight: 600;
  padding: 3px 12px; border-radius: 999px;
}
.blog-body { padding: 14px 16px 18px; }
.blog-meta { color: var(--text-faint); font-size: .74rem; margin-bottom: 6px; }
.blog-body h3 { font-size: .88rem; font-weight: 600; line-height: 1.75; }
.blog-body h3 a:hover { color: var(--primary); }

.blog-list { display: flex; flex-direction: column; gap: 12px; }
.blog-mini {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 10px;
  transition: border-color .2s;
}
.blog-mini:hover { border-color: var(--primary); }
.mini-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-text { font-size: .84rem; font-weight: 600; line-height: 1.6; }
.mini-text small { display: block; color: var(--text-faint); font-weight: 400; font-size: .72rem; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 18px 20px;
}
.trust-icon {
  flex: 0 0 46px; width: 46px; height: 46px;
  display: grid; place-items: center; font-size: 1.15rem;
  border-radius: 13px; background: var(--grad); color: #fff;
  box-shadow: var(--shadow-primary);
}
.trust-item h3 { font-size: .92rem; }
.trust-item p { color: var(--text-dim); font-size: .76rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 44px;
  background: linear-gradient(180deg, var(--bg-2), #0b0f1e);
  border-top: 1px solid var(--border-soft);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px;
  padding-block: 44px 30px;
}
.footer-about p { color: var(--text-dim); font-size: .85rem; margin-top: 14px; text-align: justify; }
.footer-col h3 { position: relative; font-size: .95rem; margin-bottom: 16px; padding-bottom: 10px; }
.footer-col h3::after {
  content: ""; position: absolute; bottom: 0; right: 0;
  width: 34px; height: 3px; border-radius: 3px; background: var(--grad);
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links li, .footer-links a { color: var(--text-dim); font-size: .85rem; }
.footer-links a:hover { color: var(--primary); }

.footer-trust { border-top: 1px solid var(--border-soft); padding-block: 18px; }
.trust-badges { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.trust-badges img {
  width: 90px; height: 90px;
  background: #fff; border-radius: 12px; padding: 6px;
}
.trust-badge {
  display: inline-flex; align-items: center;
  padding: 10px 22px; border-radius: 11px;
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-dim); font-size: .8rem;
}

.footer-bottom { border-top: 1px solid var(--border-soft); padding-block: 16px; text-align: center; }
.footer-bottom p { color: var(--text-faint); font-size: .78rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .cat-card { flex-basis: calc((100% - 36px) / 3); }
  .product-grid, .top-grid { grid-template-columns: repeat(3, 1fr); }
  .deals-grid { grid-template-columns: 1fr; }
  .banner-row, .service-row { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-main { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .nav-menu a img { display: none; }
}

@media (max-width: 820px) {
  .header-inner { gap: 10px; }
  .cat-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 10px 16px 16px; display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 14px; }
  .nav-menu a.active::after { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-slider { justify-self: center; max-width: 420px; }
  .hero-title { font-size: 1.5rem; }
  .hero-stats { gap: 22px; }

  .section-head { flex-wrap: wrap; }
  .cat-card { flex-basis: calc((100% - 18px) / 2); }
  .product-grid, .deals-products { grid-template-columns: repeat(2, 1fr); }
  .top-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .wide-banner { flex-direction: column; text-align: center; padding: 28px 22px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .cat-card { flex-basis: 100%; }
  .product-grid, .deals-products,
  .banner-row, .service-row, .blog-main, .trust-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .logo-text small { display: none; }
}
