/* ===== ATHAR MEMORIES · custom look for Salla's Raed theme =====
   Paste into: Store design > Customize > Advanced customization > Customize with CSS */

:root {
  --ath-ink: #2E2420;
  --ath-muted: #5A4E48;
  --ath-soft: #6B5E57;
  --ath-bg: #FBF9F6;
  --ath-line: #ECE5DE;
  --ath-cream: #F5EFE9;
  --ath-blue: #E4ECF3;
  --ath-blush: #F5E6E8;
  --ath-r: 18px;
  --color-primary: #2E2420;
  --color-primary-dark: #1F1815;
  --color-primary-light: #F5EFE9;
  --color-primary-reverse: #FFFFFF;
}

/* ---------- base ---------- */
body, button, input, select, textarea {
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
}
body { background: var(--ath-bg) !important; color: var(--ath-ink); }
h1, h2, .s-block__title h2 { font-family: 'Noto Naskh Arabic', serif !important; color: var(--ath-ink); }

/* ---------- header ---------- */
.store-header, .main-nav-container, .top-navbar { background: #fff !important; }
.main-nav-container { border-bottom: 1px solid var(--ath-line); }

/* ---------- buttons ---------- */
.s-button-primary, .btn--primary,
salla-add-product-button .s-button-primary {
  background: var(--ath-ink) !important;
  border-color: var(--ath-ink) !important;
  color: #fff !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
}
salla-add-product-button .s-button-element { min-height: 54px; font-size: 17px; }

/* ---------- product cards ---------- */
.s-product-card-entry {
  background: #fff !important;
  border: 1px solid var(--ath-line) !important;
  border-radius: var(--ath-r) !important;
  overflow: hidden;
  box-shadow: none !important;
  cursor: pointer;
}
.s-product-card-content-title a { font-weight: 700; color: var(--ath-ink) !important; }
.s-product-card-price { color: var(--ath-ink) !important; font-weight: 700; }

/* ---------- homepage: our hero replaces Raed's slider ---------- */
[data-testid="store-home-slider"] { display: none !important; }
.s-block { padding-block: 40px; }
.s-block--tabs-produtcs, .s-block--full-bg.bg-gray-100 { background: var(--ath-bg) !important; }

/* ---------- product page ---------- */
.container--product-details h1[data-testid="store-product-title"] {
  font-size: 28px !important; line-height: 1.5 !important; margin-bottom: 6px !important;
}
.container--product-details [data-testid="store-product-price"] p { font-size: 26px !important; font-weight: 700 !important; color: var(--ath-ink) !important; }
.container--product-details .details-slider,
.container--product-details .slide--one-fourth img { border-radius: var(--ath-r) !important; }
.container--product-details section.bg-white { border: 1px solid var(--ath-line); border-radius: var(--ath-r) !important; }
.ath-has-bundles salla-quantity-input,
.ath-has-bundles .ath-qty-row { display: none !important; }

/* ---------- shared blocks ---------- */
.ath-wrap { max-width: 1240px; margin: 0 auto; padding-inline: 20px; }
.ath-sec { padding-block: 64px; }
.ath-head { text-align: center; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.ath-eyebrow { font-size: 13px; font-weight: 600; color: var(--ath-soft); }
.ath-h2 { font-family: 'Noto Naskh Arabic', serif; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.4; font-weight: 700; margin: 0; }
.ath-card { background: #fff; border: 1px solid var(--ath-line); border-radius: var(--ath-r); }
.ath-white { background: #fff; border-block: 1px solid var(--ath-line); }
.ath-dark { background: var(--ath-ink); color: #F5EFE9; }
.ath-bluebg { background: var(--ath-blue); }
.ath-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ath-split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.ath-split > * { flex: 1 1 420px; min-width: 0; }
.ath-split img { border-radius: var(--ath-r); width: 100%; display: block; }
.ath-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border-radius: 14px; background: var(--ath-ink); color: #fff !important; text-decoration: none;
  font-weight: 700; border: 0; font-size: 16px; cursor: pointer;
}
.ath-btn--light { background: #F5EFE9; color: var(--ath-ink) !important; }

/* hero */
.ath-hero { padding-block: 40px 56px; }
.ath-hero__t { display: flex; flex-direction: column; gap: 18px; }
.ath-hero h1 { font-size: clamp(30px, 4.6vw, 48px) !important; line-height: 1.3; font-weight: 700; margin: 0; }
.ath-hero p { color: var(--ath-muted); font-size: 17px; margin: 0; }
.ath-trust { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--ath-muted); }

/* benefits */
.ath-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ath-benefit { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 16px; }
.ath-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--ath-blue); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.ath-benefit:nth-child(even) .ath-icon { background: var(--ath-blush); }
.ath-benefit h3 { font-size: 17px; font-weight: 700; margin: 0; }
.ath-benefit p { margin: 0; font-size: 14px; color: var(--ath-muted); }

/* steps */
.ath-step { border: 1px solid #54463F; border-radius: var(--ath-r); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.ath-step__n { font-family: Georgia, serif; font-size: 44px; font-weight: 700; line-height: 1; color: #E8D9C3; }
.ath-step h3 { color: #fff; font-size: 19px; font-weight: 700; margin: 0; }
.ath-step p { margin: 0; font-size: 15px; color: #D9CCC0; }

/* kit contents */
.ath-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ath-chips div { background: var(--ath-bg); border: 1px solid var(--ath-line); border-radius: 12px; padding: 12px 14px; font-size: 15px; }

/* comparison */
.ath-cmp { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--ath-r); overflow: hidden; border: 1px solid var(--ath-line); }
.ath-cmp th, .ath-cmp td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--ath-line); font-size: 15px; }
.ath-cmp th:first-child { text-align: start; font-weight: 500; }
.ath-cmp thead th { background: var(--ath-bg); font-size: 14px; }
.ath-cmp .us { background: #F7F1EA; font-weight: 700; }
.ath-yes { color: #2F6B45; font-weight: 700; } .ath-no { color: #9A8F88; }

/* FAQ */
.ath-faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ath-faq details { background: #fff; border: 1px solid var(--ath-line); border-radius: 14px; padding: 0 18px; }
.ath-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ath-faq summary::-webkit-details-marker { display: none; }
.ath-faq summary::after { content: '+'; font-size: 20px; line-height: 1; }
.ath-faq details[open] summary::after { content: '–'; }
.ath-faq p { margin: 0 0 16px; color: var(--ath-muted); line-height: 1.8; }

/* guarantee */
.ath-g { background: #fff; border-radius: 16px; padding: 20px 22px; }
.ath-g h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.ath-g p { margin: 0; color: var(--ath-muted); font-size: 14px; }

/* final CTA */
.ath-final { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }

/* ---------- bullet points ---------- */
.ath-ticks { margin: 14px 0 6px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.ath-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ath-ticks svg { flex: none; margin-top: 4px; }

/* ---------- bundles (same as the Shopify page) ---------- */
.ath-bundles { margin: 18px 0 14px; display: flex; flex-direction: column; gap: 16px; }
.ath-bundles__t { font-weight: 700; font-size: 17px; }
.ath-tier {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ath-bg); border: 2px solid #E0D7CE; border-radius: 14px;
  padding: 22px 18px; min-height: 84px; cursor: pointer; text-align: start; width: 100%; color: var(--ath-ink); font: inherit;
}
.ath-tier.is-on { background: #fff; border-color: var(--ath-ink); }
.ath-tier__tag { position: absolute; top: -12px; left: 16px; background: var(--ath-ink); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 12px; border-radius: 20px; }
.ath-tier__l { display: flex; align-items: center; gap: 12px; }
.ath-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ath-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.ath-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.ath-tier.is-on .ath-radio::after { background: var(--ath-ink); }
.ath-tier__t { display: flex; flex-direction: column; line-height: 1.4; }
.ath-tier__t b { font-size: 16px; }
.ath-tier__t small { font-size: 13px; color: var(--ath-muted); }
.ath-tier__p { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.4; white-space: nowrap; }
.ath-tier__p b { font-size: 18px; }
.ath-tier__p s { font-size: 13px; color: var(--ath-soft); }
.ath-off { display: inline-block; font-size: 12px; font-weight: 700; background: var(--ath-blush); color: #7A2E3A; padding: 1px 8px; border-radius: 20px; margin-inline-start: 6px; vertical-align: middle; }

/* ---------- mix & match ---------- */
.ath-mix { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--ath-blue); margin: 0 0 14px; }
.ath-mix__imgs { display: flex; align-items: center; gap: 6px; flex: none; }
.ath-mix__imgs img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #fff; }
.ath-mix__plus { font-weight: 700; font-size: 18px; }
.ath-mix__t { display: flex; flex-direction: column; line-height: 1.45; flex: 1 1 180px; min-width: 0; }
.ath-mix__t small { color: #3F4A55; font-size: 13px; }
.ath-mix__p { font-size: 15px; }
.ath-mix__p s { color: var(--ath-soft); font-size: 13px; }
.ath-mix .ath-btn { min-height: 46px; padding: 0 18px; font-size: 15px; flex: none; }

/* ---------- delivery line ---------- */
.ath-eta { margin-top: 12px; font-size: 14px; color: var(--ath-muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- mobile sticky add to cart ---------- */
.ath-sticky { display: none; }
@media (max-width: 768px) {
  .ath-sticky {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--ath-line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
    transform: translateY(110%); transition: transform .25s ease;
  }
  .ath-sticky.is-on { transform: none; }
  .ath-sticky__p { font-weight: 700; white-space: nowrap; }
  .ath-sticky .ath-btn { flex: 1; min-height: 48px; }
  .ath-sec { padding-block: 44px; }
  .ath-chips { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.store-footer { background: #fff !important; border-top: 1px solid var(--ath-line); color: var(--ath-muted); }
.ath-biz { text-align: center; font-size: 13px; color: var(--ath-muted); padding: 14px 16px 22px; }

/* ---------- hide the search bar at the top ---------- */
.header-search, salla-search[data-testid="store-header-search"] { display: none !important; }

/* ---------- shorter gap between the product box and the sections below ---------- */
.container--product-details { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.ath-product-after > section:first-child { padding-top: 12px !important; }