/* ======================================================
   ITOLL SHOP — HOMEPAGE
   RTL / Persian
   Zebra: odd sections #f5f5f5 · even sections #fff
   Spacing: padding only, no section margins
====================================================== */

/* ─── shared section wrap ─────────────────────────── */
.ait-section {
  padding: 56px 24px;
}
.ait-section__wrap {
  max-width: 1280px;
  margin: 0 auto;
}
.ait-section--narrow .ait-section__wrap {
  max-width: 920px;
}

/* section head (title row) */
.ait-cat-head {
  text-align: center;
  margin-bottom: 32px;
}
.ait-cat-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  direction: rtl;
}
.ait-cat-head h2 span { color: #22c55e; }
.ait-cat-head p {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 13px;
}

/* ─── zebra backgrounds ───────────────────────────── */
.ait-section--gray  { background: #f5f5f5; }
.ait-section--white { background: #ffffff; }

/* =====================================================
   CATEGORIES  (.ait-section--gray)
   cards are white inside gray section
===================================================== */
.categories-section {
  padding: 56px 24px;
  background: #f5f5f5;
}
.categories-section .ait-section__wrap {
  max-width: 860px;
  margin: 0 auto;
}

.category-grid-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.category-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: #ffffff;
  border: 1px solid #dde4ec;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(15,23,42,.04);
  text-decoration: none !important;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: .25s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15,23,42,.08);
}
.category-card.large { padding: 28px 20px; }
.category-card.small { padding: 20px 16px; }

.category-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 110px;
  margin-bottom: 14px;
}
.category-card.small .category-image { width: 76px; height: 76px; margin-bottom: 10px; }
.category-image img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

.category-card h3,
.category-card h4 { margin: 0; color: #1e2e4a; text-align: center; line-height: 1.4; }
.category-card h3 { font-size: 18px; font-weight: 700; }
.category-card h4 { font-size: 13px; font-weight: 600; }

/* =====================================================
   BATTERY BRANDS  (.ait-section--white)
   cards are #f7f8fa inside white section
===================================================== */
.brands-section {
  padding: 56px 24px;
  background: #ffffff;
}
.brands-section .ait-section__wrap {
  max-width: 860px;
  margin: 0 auto;
}

.brands-header {
  text-align: center;
  margin-bottom: 32px;
}
.brands-header h2 { margin: 0; font-size: 28px; font-weight: 800; color: #111827; }
.brands-header h2 span { color: #22c55e; }
.brands-header p { margin-top: 6px; color: #6b7280; font-size: 13px; }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.brand-card,
.brand-more {
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 12px;
  min-height: 130px;
  transition: .25s;
}
.brand-card:hover,
.brand-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.07);
}

.brand-logo {
  width: 100%; height: 56px;
  background: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.brand-logo img { max-width: 90px; max-height: 40px; object-fit: contain; }
.brand-name { font-size: 13px; font-weight: 600; color: #1f2f46; text-align: center; }

.brand-more { background: #2f3aa6; border: none; }
.more-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; color: #22c55e; font-size: 26px; font-weight: 700;
}
.more-text { color: #fff; font-size: 13px; font-weight: 600; }

/* =====================================================
   PARTNER BRANDS  (.ait-section--gray)
   if present — cards white inside gray
===================================================== */
.partner-brands-section {
  padding: 56px 24px;
  background: #f5f5f5;
}
.partner-brands-section .ait-section__wrap {
  max-width: 860px;
  margin: 0 auto;
}
.partner-brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.partner-brand-card {
  background: #ffffff;
  border: 1px solid #dde4ec;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px; min-height: 80px;
  transition: .25s;
}
.partner-brand-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.partner-brand-card img { max-width: 100%; max-height: 44px; object-fit: contain; }

/* =====================================================
   SUPPORT SECTION  (.ait-section--white)
===================================================== */
.ait-support-section {
  padding: 56px 24px;
  background: #ffffff;
  direction: rtl;
}
.ait-support-section .ait-section__wrap {
  max-width: 860px;
  margin: 0 auto;
}

.ait-support-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  min-height: 380px;
  box-shadow: 0 20px 60px -16px rgba(16,24,40,.12);
}

/* right column — content */
.ait-support__content {
  padding: 56px 56px 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background: #fff;
}

.ait-support__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #22c55e;
}
.ait-support__eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.4);
  animation: ait-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes ait-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.ait-support__title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
}
.ait-support__title em {
  font-style: normal;
  color: #1e2a78;
}

.ait-support__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #6b7280;
}

.ait-support__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.ait-support__phone-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: #1e2a78;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.ait-support__phone-icon svg { width: 24px; height: 24px; }
.ait-support__phone-label {
  display: flex; flex-direction: column; gap: 3px;
}
.ait-support__phone-cta {
  font-size: 12px; font-weight: 600; color: #6b7280;
}
.ait-support__phone-number {
  font-size: 20px; font-weight: 800; color: #111827;
  direction: rtl; unicode-bidi: embed;
  font-feature-settings: "tnum";
  display: block; text-align: right;
}

.ait-support__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.ait-support__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #6b7280;
  font-weight: 500;
}
.ait-support__meta-item svg {
  width: 15px; height: 15px;
  color: #22c55e; flex-shrink: 0;
}

/* left column — image */
.ait-support__media {
  position: relative;
  overflow: hidden;
  background: #eef2f5;
}
.ait-support__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ait-support__media-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8edf8 0%, #d1daf0 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: #1e2a78; opacity: .4;
}
.ait-support__media-placeholder svg { width: 64px; height: 64px; }

/* =====================================================
   FAQ  (.ait-section--white or --gray per zebra)
===================================================== */
.faq-section {
  padding: 56px 24px;
  background: #ffffff;
  direction: rtl;
}
.faq-section .ait-section__wrap {
  max-width: 720px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 32px;
}
.faq-header h2 { margin: 0; font-size: 26px; font-weight: 800; color: #111827; }
.faq-header h2 span { color: #22c55e; }
.faq-header p { margin-top: 6px; color: #6b7280; font-size: 13px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: #f5f5f5;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  transition: .2s;
}
.faq-item[open] { border-color: #b7e8c4; }

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
}
.faq-question::-webkit-details-marker { display: none; }

.faq-title { flex: 1; text-align: right; margin-left: 12px; }

.faq-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: #dcfce7;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0;
}
.faq-icon::before { content: "+"; font-size: 20px; font-weight: 700; color: #16a34a; line-height: 1; }
.faq-item[open] .faq-icon { background: #22c55e; }
.faq-item[open] .faq-icon::before { content: "−"; color: #fff; }

.faq-answer {
  padding: 0 18px 14px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.9;
  text-align: right;
}

/* =====================================================
   COMING SOON — disabled cards
===================================================== */
.aitl-coming-soon {
  position: relative;
  pointer-events: none;
  cursor: default;
  opacity: 1;
}
.aitl-coming-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.55);
  border-radius: inherit;
  z-index: 1;
}
.aitl-coming-soon__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #9ca3af;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .02em;
}

/* =====================================================
   RESPONSIVE — tablet ≤960px
===================================================== */
@media (max-width: 960px) {
  .categories-section,
  .brands-section,
  .partner-brands-section,
  .ait-support-section,
  .faq-section { padding: 40px 18px; }

  .ait-cat-head { margin-bottom: 24px; }
  .ait-cat-head h2 { font-size: 22px; }

  .brands-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .partner-brands-grid { grid-template-columns: repeat(4, 1fr); }

  .ait-support-card {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .ait-support__media { min-height: 220px; order: -1; }
  .ait-support__content { padding: 32px 24px; }
  .ait-support__title { font-size: 24px; }
}

/* =====================================================
   RESPONSIVE — mobile ≤600px
===================================================== */
@media (max-width: 600px) {
  .aitl-coming-soon__badge { font-size: 9px; padding: 2px 7px; top: 6px; right: 6px; }
  .categories-section { padding: 28px 12px; }
  .brands-section,
  .partner-brands-section,
  .ait-support-section,
  .faq-section { padding: 32px 14px; }

  .ait-cat-head { margin-bottom: 18px; }

  .category-grid-top { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 8px; }
  .category-grid-bottom { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .category-card.large { padding: 16px; }
  .category-card.small { padding: 12px; }
  .category-image { width: 80px; height: 80px; margin-bottom: 10px; }
  .category-card.small .category-image { width: 56px; height: 56px; margin-bottom: 8px; }
  .category-card h3 { font-size: 14px; }
  .category-card h4 { font-size: 12px; }

  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .partner-brands-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  .ait-support__content { padding: 24px 18px; gap: 16px; }
  .ait-support__title { font-size: 20px; }
  .ait-support__phone-number { font-size: 17px; }
  .ait-support__meta { gap: 10px; }

  .faq-header h2 { font-size: 20px; }
  .faq-question { font-size: 13px; padding: 13px 14px; }
  .faq-answer { font-size: 13px; padding: 0 14px 12px; }
}
