/* Sola Naturals — shop / category / search listing + product card
   Reference: shop.html (.breadcrumb, .shop-intro, .cards, .card, .filters).
   Markup: templates/products.jinja · templates/category.jinja · templates/search.jinja
           components/organisms/product-card/card.jinja (+ molecules/product-card-cta.jinja)
   Replaces the Chrono Dial card/listing block formerly in cd-bridge.css.
   Logical properties throughout; the grid places the filter column on the inline-start side. */

/* ============ Listing page shell ============ */
.ab-cat {
  background: var(--sn-cream);
  padding-block: 30px var(--sn-section-y);
}

/* Breadcrumb: small uppercase trail, start-aligned */
.ab-cat .ab-crumb,
.ab-cat .cd-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sn-ink);
}
.ab-cat .ab-crumb a {
  color: inherit;
  text-decoration: none;
}
.ab-cat .ab-crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ab-cat .ab-crumb .sep {
  opacity: 0.55;
}
.ab-cat .ab-crumb .cur {
  font-weight: 700;
}
html[lang="ar"] .ab-cat .ab-crumb {
  font-size: 12px;
  letter-spacing: 0;
}

/* Intro: start-aligned title + optional description (no dark banner) */
.ab-cat .ab-cat-hero,
.ab-cat .cd-list-hero {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 24px 0 26px;
  background: transparent;
  color: var(--sn-ink);
  border-radius: 0;
  text-align: start;
  place-items: normal; /* cd-storefront centres .cd-list-hero via place-items */
}
.ab-cat .ab-cat-hero-copy {
  padding: 0;
  max-width: 580px;
  text-align: start;
}
.ab-cat .ab-cat-hero h1,
.ab-cat .cd-list-hero h1 {
  margin: 0 0 8px;
  font-family: var(--sn-font-sans);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--sn-ink);
  text-align: start;
}
.ab-cat .ab-cat-hero p {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  color: var(--sn-ink);
}

/* Category with a cover image: keep it as a rounded banner above the intro copy */
.ab-cat .ab-cat-hero.has-img {
  position: relative;
  overflow: hidden;
  min-height: clamp(180px, 22vw, 300px);
  display: flex;
  align-items: flex-end;
  padding: 28px clamp(20px, 3vw, 40px);
  margin-block-end: 24px;
  border-radius: var(--sn-radius-card);
  color: #fff;
}
.ab-cat .ab-cat-hero.has-img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-cat .ab-cat-hero.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 24, 12, 0.7),
    rgba(20, 24, 12, 0.1) 60%
  );
}
.ab-cat .ab-cat-hero.has-img .ab-cat-hero-copy {
  position: relative;
  z-index: 1;
}
.ab-cat .ab-cat-hero.has-img h1,
.ab-cat .ab-cat-hero.has-img p,
.ab-cat .ab-cat-hero.has-img .ab-crumb {
  color: #fff;
}

/* Sub-category chips */
.ab-cat .ab-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}
.ab-cat .ab-subcats .ab-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 18px;
  border: 1.5px solid var(--sn-forest);
  border-radius: var(--sn-radius-pill);
  background: transparent;
  color: var(--sn-forest);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.ab-cat .ab-subcats .ab-chip:hover {
  background: var(--sn-forest);
  color: #fff;
}

/* ============ Toolbar ============ */
.ab-cat .ab-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0 0 28px;
  padding: 14px 0;
  border-block: 1.5px solid #c4c2b4;
}
.ab-cat .ab-toolbar-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--sn-muted-ink);
}
.ab-cat .ab-sort {
  min-height: 38px;
  padding-inline: 18px 36px;
  border: 1.5px solid var(--sn-brown);
  border-radius: var(
    --sn-radius-pill
  ) !important; /* cd-bridge forces radius 0 on every select */
  background-color: transparent;
  color: var(--sn-brown);
  font: 600 12px/1.2 var(--sn-font-sans);
  cursor: pointer;
}

/* Mobile filter trigger: "Filter By" pill (brown outline), only below 900px.
   !important: cd-bridge's shared button block forces display/colours with !important. */
@media (min-width: 901px) {
  .ab-cat .ab-filter-btn.cd-filter-mobile-btn {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .ab-cat .ab-filter-btn.cd-filter-mobile-btn {
    display: inline-flex;
    border-color: var(--sn-brown) !important;
    color: var(--sn-brown) !important;
    background: transparent !important;
  }
  .ab-cat .ab-filter-btn.cd-filter-mobile-btn:hover {
    background: var(--sn-brown) !important;
    color: #fff !important;
  }
}

/* ============ Layout: filter column (inline-start) + results ============ */
.ab-cat .ab-list-layout:has(> .cd-filter-col) {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 50px);
  align-items: start;
}
.ab-cat .ab-list-layout:has(> .cd-filter-col) > .cd-filter-col {
  grid-column: 1;
  grid-row: 1;
}
.ab-cat .ab-list-layout:has(> .cd-filter-col) > .ab-list-main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.ab-cat .cd-filter-col {
  position: sticky;
  top: 88px;
  width: auto;
  margin: 0;
  padding: 0;
}
@media (max-width: 900px) {
  .ab-cat .ab-list-layout:has(> .cd-filter-col) {
    display: block;
  }
  .ab-cat .cd-filter-col {
    display: none;
  }
}

/* Filter panel: white rounded card, eyebrow header, pill footer */
.ab-cat .cd-filter-panel {
  background: #fff;
  border: 1px solid #e0dcd2;
  border-radius: var(--sn-radius-card);
  overflow: hidden;
}
.ab-cat .cd-filter-panel__hd {
  padding: 16px 18px 12px;
  border-block-end: 1px solid var(--sn-line-soft);
  font-family: var(--sn-font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sn-muted-ink);
}
.ab-cat .cd-filter-panel__bd {
  padding: 10px 18px 6px;
  max-height: none;
  overflow: visible;
}
.ab-cat .cd-filter-panel__ft {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px 18px;
  border-block-start: 1px solid var(--sn-line-soft);
}
/* In the desktop column the footer only repeats "Clear all" and a drawer-close button; the drawer keeps its own */
.ab-cat .cd-filter-col .cd-filter-panel__ft {
  display: none;
}
/* Apply button: filled forest pill (bridge button colours are !important) */
.ab-cat .cd-filter-form__ft .ab-btn {
  background: var(--sn-forest) !important;
  border-color: var(--sn-forest) !important;
  color: #fff !important;
}
.ab-cat .cd-filter-form__ft .ab-btn:hover {
  background: var(--sn-green-900) !important;
  border-color: var(--sn-green-900) !important;
}
.ab-cat .cd-fg {
  border-block-end: 1px solid var(--sn-line-soft);
}
.ab-cat .cd-fg:last-of-type {
  border-block-end: 0;
}
.ab-cat .cd-fg__sum,
.ab-cat .ab-fg-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--sn-forest);
}
.ab-cat .ab-text-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--sn-brown);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ============ Results grid ============ */
.ab-listing-grid,
.ab-cat #products-list,
.cd-grid3 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 16px;
  padding: 0;
}
@media (max-width: 900px) {
  .ab-listing-grid,
  .ab-cat #products-list,
  .cd-grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }
}

/* ============ Product card (Exact Sola Naturals reference) ============ */
.card,
.ab-card,
.product-cart.card,
.product-cart.ab-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0dcd2;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  color: var(--sn-ink);
  text-align: start;
}

/* Media: cream frame, pack-shot aspect 203/280, contained 78%x84% at left 11% top 8% */
.card-media,
.ab-card .media,
.ab-card .az-card__media,
.product-cart .card-media,
.product-cart .media {
  background: var(--sn-cream, #f6f2ec);
  aspect-ratio: 203 / 280;
  position: relative;
  overflow: hidden;
  width: 100%;
  flex: none;
  border-radius: 0;
}

.card-media .card-media-link,
.card-media > a,
.media .card-media-link,
.media > a {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.card-media img,
.card-media .card-media-link img,
.card-media > a img,
.ab-card .media img,
.ab-card .az-card__media img {
  position: absolute;
  left: 11%;
  top: 8%;
  width: 78%;
  height: 84%;
  object-fit: contain;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Body: padding 18px 9px 24px, margin-inline 11px on direct children */
.card-body,
.ab-card-body {
  padding: 18px 9px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: start;
  gap: 0;
}

.card-body > *,
.ab-card-body > * {
  margin-inline: 11px;
}

.card .eyebrow,
.card-body .eyebrow,
.sn-card-eyebrow {
  margin-block-end: 14px;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #969b91;
  margin-top: 0;
}

.product-cart .product-card-title,
.product-cart.ab-card .product-card-title,
.product-cart.ab-card h3,
.card h3,
.card-body h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 4px;
  font-family: var(--sn-font-sans);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sn-forest, #1d4d3b);
  letter-spacing: 0;
  text-align: start;
  text-transform: none;
}
.product-cart .product-card-title a,
.card h3 a {
  color: var(--sn-forest, #1d4d3b);
  text-decoration: none;
}

.card p,
.card-body p,
.sn-card-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #555;
  text-align: start;
}

.ab-card .cd-stars,
.cd-stars {
  margin-block-start: 6px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--sn-star);
}
.ab-card .cd-stars .off {
  color: #d8d8d8;
}
.ab-card .cd-stars em {
  font-style: normal;
  color: var(--sn-muted-ink);
  letter-spacing: 0;
}

.product-cart .ab-card-meta,
.card .ab-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.card .price,
.card-body .price,
.product-cart .price,
.product-cart .tp-price-product {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 4px 8px;
  margin: 12px 0 16px;
  padding: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--sn-green-900, #213f23);
  text-align: start;
}
.card .price s,
.card-body .price s,
.product-cart .price s,
.product-cart .tp-price-product s {
  order: 2;
  font-size: 13px;
  font-weight: 500;
  color: var(--sn-muted-ink);
}
.ab-card-way,
.ab-card-sws {
  display: none;
}

/* Visible card actions */
.card-body .btn:first-of-type,
.card-body .card-actions,
.card-body .sn-card-cta {
  margin-top: auto;
}

.sn-card-cta,
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
}

.card .btn,
.card .sn-btn,
.card-actions .btn,
.sn-card-cta .sn-btn {
  white-space: normal;
  text-align: center;
  margin: 0;
  min-height: 28px;
  padding-block: 5px;
  padding-inline: 12px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: var(--sn-radius-pill, 999px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
  transition: all 0.2s ease;
}
.card .btn:last-child,
.card-actions .btn:last-child,
.sn-card-cta .sn-btn:last-child {
  margin-bottom: 0;
}

.card .btn-forest,
.sn-card-cta .sn-btn--forest,
.sn-card-cta .btn-forest {
  background: var(--sn-btn-primary, #6ea460) !important;
  color: #fff !important;
  border: 1.5px solid transparent !important;
}
.card .btn-forest:hover,
.sn-card-cta .sn-btn--forest:hover,
.sn-card-cta .btn-forest:hover {
  background: var(--sn-btn-primary-hover, #5d9150) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.card .btn-soft,
.sn-card-cta .sn-btn--soft,
.sn-card-cta .btn-soft {
  background: var(--sn-cream-2, #f1ede1) !important;
  border: 1.5px solid #8a9a85 !important;
  color: var(--sn-forest, #1d4d3b) !important;
  font-weight: 500;
}
.card .btn-soft:hover,
.sn-card-cta .sn-btn--soft:hover,
.sn-card-cta .btn-soft:hover {
  background: var(--sn-forest, #1d4d3b) !important;
  border-color: var(--sn-forest, #1d4d3b) !important;
  color: #fff !important;
}

.card .btn-outline,
.sn-card-cta .sn-btn--outline,
.sn-card-cta .btn-outline {
  font-weight: 700;
  font-size: 11px;
  background: var(--sn-cream-2, #f1ede1) !important;
  border: 1.5px solid #8a9a85 !important;
  color: var(--sn-forest, #1d4d3b) !important;
}
.card .btn-outline:hover,
.sn-card-cta .sn-btn--outline:hover,
.sn-card-cta .btn-outline:hover {
  background: var(--sn-forest, #1d4d3b) !important;
  border-color: var(--sn-forest, #1d4d3b) !important;
  color: #fff !important;
}

.sn-card-cta__spin {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-block-start-color: #fff;
  border-radius: 50%;
  animation: sn-card-spin 0.7s linear infinite;
}
@keyframes sn-card-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Product card wishlist button: top inline-end (left in RTL, right in LTR) & always visible without hover */
.sn-card-wishlist,
.product-cart .ab-card-acts,
.ab-card .ab-card-acts,
.az-card .ab-card-acts {
  position: absolute !important;
  inset-block-start: 12px !important;
  top: 12px !important;
  bottom: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: 12px !important;
  transform: none !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: #ffffff !important;
  border: 1px solid var(--sn-line, #e3ddcf) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: none !important;
}

/* REMOVE ALL HOVER EFFECTS: No scale, no transform, no border shift, no shadow jump */
.sn-card-wishlist:hover,
.product-cart .ab-card-acts:hover,
.ab-card .ab-card-acts:hover,
.az-card .ab-card-acts:hover,
.product-cart:hover .sn-card-wishlist,
.product-cart:hover .ab-card-acts,
.ab-card:hover .sn-card-wishlist,
.ab-card:hover .ab-card-acts {
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--sn-line, #e3ddcf) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (hover: hover) {
  .sn-card-wishlist,
  .product-cart .ab-card-acts,
  .ab-card .ab-card-acts,
  .az-card .ab-card-acts {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .ab-card:hover .ab-card-acts,
  .product-cart:hover .ab-card-acts,
  .ab-card:hover .sn-card-wishlist,
  .product-cart:hover .sn-card-wishlist {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

.sn-card-wishlist .add-to-wishlist,
.ab-card-acts .add-to-wishlist {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.sn-card-wishlist button,
.sn-card-wishlist a,
.ab-card-acts .add-to-wishlist > button,
.ab-card-acts .add-to-wishlist > a,
.ab-card-acts button,
.ab-card-acts > a {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  color: var(--sn-forest, #1d4d3b) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: none !important;
  transform: none !important;
}

/* Ensure display:none from inline styles or scripts is strictly respected */
.sn-card-wishlist button[style*="display:none"],
.sn-card-wishlist button[style*="display: none"],
.sn-card-wishlist a[style*="display:none"],
.sn-card-wishlist a[style*="display: none"],
.ab-card-acts button[style*="display:none"],
.ab-card-acts button[style*="display: none"],
.ab-card-acts a[style*="display:none"],
.ab-card-acts a[style*="display: none"] {
  display: none !important;
}

.sn-card-wishlist button:hover,
.sn-card-wishlist a:hover,
.ab-card-acts .add-to-wishlist > button:hover,
.ab-card-acts .add-to-wishlist > a:hover,
.ab-card-acts button:hover {
  transform: none !important;
}

.sn-card-wishlist [zid-visible-wishlist],
.ab-card-acts [zid-visible-wishlist],
.sn-card-wishlist button.filled,
.ab-card-acts button.filled {
  color: #e45b78 !important;
}

/* Badges: pills on the media */
.ab-card-sale,
.ab-card-new,
.ab-card-oos {
  position: absolute;
  z-index: 2;
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--sn-radius-pill);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: none;
}
.ab-card-new {
  inset-block-start: 10px;
  inset-inline: 10px auto;
  background: var(--sn-teal);
  color: #fff;
  font-family: var(--sn-font-display);
  font-style: italic;
  font-size: 13px;
  padding: 2px 10px;
}
.ab-card-sale {
  inset-block-start: 10px;
  inset-inline: 10px auto;
  background: var(--sn-maroon);
  color: #fff;
}
.ab-card-new + .ab-card-sale {
  inset-block-start: 38px;
}
.ab-card-oos,
.ab-card-new.ab-card-oos {
  inset-block: auto 10px;
  inset-inline: 10px auto;
  background: #d8a53e;
  color: #3d2c06;
  font-family: var(--sn-font-sans);
  font-style: normal;
  font-size: 10px;
}
html[lang="ar"] .ab-card-new {
  font-style: normal;
}

/* ============ Pagination ============ */
.products-pagination {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.products-pagination .ab-pager,
.ab-cat .ab-pager,
.ab-cat .products-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.products-pagination .page-link,
.ab-cat .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid #d9d3c5;
  border-radius: 999px;
  background: #fff;
  color: var(--sn-green-900, #213f23);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
}
.products-pagination .page-link.on,
.products-pagination .page-link[aria-current="page"],
.ab-cat .page-link.on,
.ab-cat .page-link:hover,
.products-pagination .page-link:hover {
  background: var(--sn-btn-primary, #6ea460);
  border-color: var(--sn-btn-primary, #6ea460);
  color: #fff;
}
.products-pagination .page-item.is-disabled .page-link,
.products-pagination .page-item.disabled .page-link,
.ab-cat .page-item.disabled .page-link {
  opacity: 0.35;
  pointer-events: none;
  background: transparent;
  color: var(--sn-green-900, #213f23);
  border-color: #e4dfd4;
}
.products-pagination .page-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 40px;
  color: #8a9086;
  background: transparent;
  border: 0;
}

/* ============ Empty state ============ */
.ab-cat .ab-empty {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0dcd2;
  border-radius: var(--sn-radius-card);
}
.ab-cat .ab-empty h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--sn-forest);
}
.ab-cat .ab-empty p {
  margin: 0 0 20px;
  color: var(--sn-muted);
}

/* ============ Phones ============ */
@media (max-width: 600px) {
  .ab-cat {
    padding-top: 20px;
  }
  .ab-cat .ab-cat-hero,
  .ab-cat .cd-list-hero {
    padding-block: 16px 20px;
  }
  .ab-cat .ab-cat-hero h1 {
    font-size: 22px;
  }
  .ab-cat .ab-cat-hero p {
    font-size: 15px;
  }
  .ab-card-body {
    padding: 14px 12px 0;
  }
  .sn-card-eyebrow {
    margin-block-end: 8px;
  }
  .product-cart.ab-card .product-card-title,
  .product-cart.ab-card h3 {
    font-size: 14px;
  }
  .sn-card-desc {
    font-size: 12.5px;
  }
  .product-cart.ab-card .price,
  .product-cart.ab-card .tp-price-product {
    font-size: 17px;
    margin-block: 10px 12px;
  }
  .sn-card-cta {
    padding: 0 12px 14px;
  }
  .sn-card-cta .sn-btn {
    font-size: 13px;
  }
}

/* ============ Motion (only with html.sn-motion) ============ */
.sn-motion .ab-card {
  transition:
    transform 0.45s var(--sn-ease),
    box-shadow 0.45s ease;
}
.sn-motion .ab-card .media img {
  transition:
    transform 0.6s var(--sn-ease-back),
    filter 0.4s ease,
    opacity 0.15s;
}
@media (hover: hover) {
  .sn-motion .ab-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 34px rgba(60, 45, 20, 0.14);
  }
  .sn-motion .ab-card:hover .media img.primary-image {
    transform: translateY(-10px) rotate(-3deg) scale(1.04);
    filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.18));
  }
}
@media (prefers-reduced-motion: reduce) {
  .sn-motion .ab-card,
  .sn-motion .ab-card .media img {
    transition: none;
  }
  .sn-motion .ab-card:hover,
  .sn-motion .ab-card:hover .media img.primary-image {
    transform: none;
  }
}

/* ==========================================================================
   Shop Page Static Sections (Sola Naturals shop.html)
   ========================================================================== */

/* Page Shell & Dividers */
.bg-cream {
  background: var(--sn-cream, #f7f3ea);
}
.shop-main {
  background: var(--sn-cream, #f7f3ea);
}
.shop-main .divider,
hr.divider {
  border: 0;
  border-block-start: 1.5px solid var(--sn-line-soft, #c4c2b4);
  margin: 0;
}

/* 1. Explore Cool Gut Products Section */
#top-products {
  padding-block: 28px 26px;
}
.shop-intro {
  padding-block: 28px 24px;
  max-width: 580px;
}
.shop-intro h1 {
  font-family: var(--sn-font-sans);
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--sn-ink);
}
.shop-intro p {
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--sn-ink);
}
.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sn-ink);
  margin-bottom: 8px;
}
.shop-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.shop-breadcrumb a:hover {
  text-decoration: underline;
}
.shop-breadcrumb strong {
  font-weight: 700;
}

/* Static Cards Grid */
.sn-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-block: 16px 20px;
}
.sn-shop-card {
  background: #fff;
  border-radius: var(--sn-radius-card, 16px);
  overflow: hidden;
  border: 1px solid var(--sn-line-soft, #e6e2d6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.sn-shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30, 40, 25, 0.08);
}
.sn-shop-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 24px;
  overflow: hidden;
}
.sn-shop-card__media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.sn-shop-card:hover .sn-shop-card__media img {
  transform: scale(1.05);
}
.sn-shop-card__tag {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  background: #c69c3f;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--sn-radius-pill, 999px);
  z-index: 2;
}
.sn-shop-card__body {
  padding: 16px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.sn-shop-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sn-muted-ink);
  margin: 0 0 4px;
}
.sn-shop-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--sn-forest);
  margin: 0 0 6px;
}
.sn-shop-card__desc {
  font-size: 13px;
  color: var(--sn-muted);
  line-height: 1.4;
  margin: 0 0 4px;
  flex-grow: 1;
}
.sn-shop-card__weight {
  font-size: 12px;
  color: var(--sn-muted-ink);
  margin: 0 0 8px;
}
.sn-shop-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--sn-green-900);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 16px;
}
.sn-shop-card__price img {
  height: 14px;
  width: auto;
}
.sn-shop-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.sn-shop-card__actions .sn-btn {
  width: 100%;
}

/* 2. Shop by Goal Section */
.goal-strip {
  display: grid;
  grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  gap: 30px;
  align-items: center;
  padding-block: 40px;
}
.goal-strip .eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sn-brown);
  margin-bottom: 8px;
}
.goal-strip h2 {
  font-family: var(--sn-font-sans);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--sn-forest);
  margin-bottom: 14px;
  line-height: 1.2;
}
.goal-strip p {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--sn-ink);
  max-width: 420px;
  margin: 0;
}
.goal-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.goal-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--sn-radius-card, 16px);
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.goal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.goal-media:hover img {
  transform: scale(1.06);
}
.goal-media::after {
  content: "";
  position: absolute;
  inset: 40% 0 0 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
  pointer-events: none;
}
.goal-media span {
  position: absolute;
  inset-inline: 8px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: clamp(13px, 1.1vw, 13.5px);
  text-align: center;
  line-height: 1.2;
}

/* ==========================================================================
   2b. Sola Naturals Shop Filtered Layout (shop.html .shop-filtered & .filters)
   ========================================================================== */
.shop-filtered {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 50px);
  padding-block: 36px 90px;
  align-items: start;
}

.filters {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: sticky;
  top: 100px;
  z-index: 10;
}

/* !important: the global .btn / .btn-soft / .btn-outline-brown rules in sn-home.css are !important too */
.filters .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 34px !important;
  min-width: 98px;
  padding: 6px 18px !important;
  font-family: var(--sn-font-sans);
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  border-radius: var(--sn-radius-pill, 999px) !important;
  border: 1.5px solid transparent !important;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease !important;
  transform: none !important;
  box-shadow: none !important;
  width: auto;
  box-sizing: border-box;
}

/* Sort pills — cream-2 fill, grey-green border, muted text (shop.html .btn-soft) */
.filters .btn-soft {
  background: var(--sn-cream-2, #f1ede1) !important;
  border-color: #8a9a85 !important;
  color: var(--sn-muted, #5e6b56) !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
}
.filters .btn-soft:hover {
  background: #e5ded0 !important;
}
/* Active sort: same cream pill, marked with a forest outline + bold text */
.filters .btn-soft.is-active,
.filters .btn-soft[aria-pressed="true"] {
  background: var(--sn-cream-2, #f1ede1) !important;
  border-color: var(--sn-forest, #1d4d3b) !important;
  color: var(--sn-forest, #1d4d3b) !important;
  font-weight: 700 !important;
}

/* "Filter By ↓" heading — brown outline pill, not clickable */
.filters .btn-outline-brown,
.filters .btn-outline-brown:hover {
  margin-bottom: 6px;
  border-color: var(--sn-brown, #7b4c3e) !important;
  color: var(--sn-brown, #7b4c3e) !important;
  background: transparent !important;
}
.filters .filters-label {
  cursor: default;
  user-select: none;
}

.down {
  display: inline-block;
  width: 8px;
  height: 12px;
  position: relative;
  /* Same drawing in both directions (stem on the left, head centred on it);
     only the gap to the label follows the text direction */
  border-left: 1.5px solid currentColor;
  margin-inline-start: 4px;
  flex-shrink: 0;
}
.down::after {
  content: "";
  position: absolute;
  left: -3.5px;
  bottom: 0;
  width: 6px;
  height: 6px;
  /* physical, not logical: a down arrow must not flip in RTL */
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

[dir="rtl"] .down::after {
  left: -3.47px;
  transform: rotate(49deg);
}

/* Shop Catalog Main Area */
.shop-catalog-main {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.shop-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sn-line-soft, #c4c2b4);
}

.shop-catalog-toolbar .shop-toolbar-count {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sn-muted-ink, #5e6b56);
}

.shop-catalog-toolbar .ab-sort {
  min-height: 36px;
  padding-inline: 16px 32px;
  border: 1.5px solid var(--sn-brown, #7b4c3e);
  border-radius: var(--sn-radius-pill, 999px) !important;
  background-color: transparent;
  color: var(--sn-brown, #7b4c3e);
  font: 600 12px/1.2 var(--sn-font-sans);
  cursor: pointer;
  outline: none;
}

/* Grid: 4 columns, gap 16px */
.cards,
.shop-cards-grid,
.shop-filtered .cards,
.shop-filtered #products-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto;
  padding: 0;
}

.shop-filtered .cards,
.shop-filtered #products-list {
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

/* Responsive grid & card sizing */
@media (max-width: 1100px) {
  .shop-filtered {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .shop-filtered {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 60px;
  }
  .filters {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .filters .btn {
    width: auto;
    min-height: 38px !important;
    padding: 6px 18px !important;
  }
  .filters .btn-outline-brown {
    margin-bottom: 0;
  }
  .shop-filtered .cards,
  .shop-filtered #products-list,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 560px;
    margin: 30px auto 0;
    row-gap: 26px !important;
    column-gap: 14px !important;
  }
  .card-body,
  .ab-card-body,
  .cards .card-body {
    padding: 14px 4px 16px !important;
  }

  .card .price,
  .card-body .price,
  .card .tp-price-product,
  .product-cart .price,
  .product-cart .tp-price-product {
    margin: 12px 0 16px !important;
    font-size: 17px !important;
  }
  .card p,
  .card-body p,
  .sn-card-desc {
    font-size: 12px !important;
  }
}

@media (max-width: 540px) {
  .shop-filtered .cards,
  .shop-filtered #products-list,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 10px !important;
  }
}

/* 3. FAQ Section */
.faq {
  max-width: 810px;
  margin-inline: auto;
  padding-block: 48px 70px;
}
.faq .eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #b5553f;
  margin-bottom: 8px;
}
.faq h2 {
  font-family: var(--sn-font-sans);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--sn-forest, #1d4d3b);
  line-height: 1.15;
  margin-bottom: 24px;
}
.faq details {
  border-bottom: 1.5px solid var(--sn-line-soft, #e6e2d6);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--sn-forest, #1d4d3b);
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-weight: 300;
  font-size: 28px;
  line-height: 0.6;
  color: #5e7a6b;
  flex: none;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details[open] summary {
  padding-bottom: 8px;
  font-size: 17px;
}
.faq-a {
  padding-bottom: 24px;
  max-width: 760px;
}
.faq-a p,
.faq-a li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sn-muted-ink, #555b52);
  margin: 0;
}
.faq-a p + p,
.faq-a ul {
  margin-top: 10px;
}
.faq-a ul {
  padding-inline-start: 22px;
  list-style: disc;
}
.faq-note {
  margin-top: 12px;
  font-size: 12.5px !important;
}
.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.faq-actions .btn {
  min-height: 44px;
  min-width: 164px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sn-radius-pill, 999px);
  text-decoration: none;
  transition: all 0.2s;
}

/* 4. Service is-tall Section */
.service {
  background: var(--sn-blush, #fff8f2);
  padding-block: 26px 44px;
}
.service.is-tall {
  padding-block: 76px 88px;
}
.service ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin-inline: auto;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}
.service li {
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  color: var(--sn-ink);
}
.service img {
  height: 52px;
  width: auto;
  margin: 0 auto 22px;
  display: block;
}
.service strong {
  display: block;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--sn-ink);
}

/* 5. Green Compact Banner Section */
.banner.is-compact {
  background: var(--sn-green-800, #214232);
  color: #fff;
  padding-block: 48px 52px;
}
.banner.is-compact .wrap,
.banner.is-compact .ab-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}
.banner-copy {
  text-align: center;
}
.banner.is-compact .banner-eyebrow {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.banner.is-compact h2 {
  font-family: var(--sn-font-display, "Playfair Display", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  margin-bottom: 14px;
  color: #fff;
}
html[lang="ar"] .banner.is-compact h2 {
  font-style: normal;
}
.banner.is-compact p {
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 22px;
  max-width: 320px;
}
.banner.is-compact .btn-light {
  background: var(--sn-green-300, #95bd6e);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  min-height: 44px;
  padding-inline: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sn-radius-pill, 999px);
  text-decoration: none;
  transition: background 0.2s;
}
.banner.is-compact .btn-light:hover {
  background: var(--sn-green-500, #6ea460);
}
.banner.is-compact .s-art {
  position: relative;
  max-width: 340px;
  margin-inline: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner.is-compact .s-art > img {
  width: 100%;
  height: auto;
  display: block;
}
.banner.is-compact .s-art .ring {
  position: absolute;
  width: 26%;
  inset-inline-end: 4%;
  top: 10%;
  animation: sn-spin-slow 22s linear infinite;
}
@keyframes sn-spin-slow {
  to {
    transform: rotate(360deg);
  }
}

/* 6. Newsletter Section */
.newsletter {
  text-align: center;
  padding-block: 58px 54px;
}
.newsletter h2 {
  font-family: var(--sn-font-display, "Playfair Display", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 10px;
  color: var(--sn-ink);
}
html[lang="ar"] .newsletter h2 {
  font-style: normal;
}
.newsletter p {
  font-size: 16px;
  color: var(--sn-muted-ink, #555b52);
  margin-bottom: 22px;
}
.newsletter form {
  display: flex;
  gap: 8px;
  max-width: 590px;
  margin-inline: auto;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 1.5px solid var(--sn-ink, #111);
  padding: 0 20px;
  font-size: 13.5px;
  background: #fff;
  border-radius: 0;
  outline: none;
}
.newsletter button {
  height: 44px;
  padding: 0 30px;
  background: var(--sn-green-900, #213f23);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter button:hover {
  background: var(--sn-forest, #1d4d3b);
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .sn-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .goal-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .goal-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .banner.is-compact .wrap,
  .banner.is-compact .ab-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .banner-copy {
    order: 1;
  }
  .banner.is-compact .s-art {
    order: 0;
    max-width: 220px;
  }
  .service ul {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service.is-tall {
    padding-block: 48px;
  }
  .newsletter form {
    flex-direction: column;
  }
  .newsletter button {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .sn-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Product card v2 ============ */
.pc2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 28px 0 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  text-align: start;
  color: var(--sn-green-900, #213f23);
}
/* Product badge (product.badge) — smaller twin of the PDP .ab-pdp-badge.
   Shared by every card: .pc2__badge (v2), .ab-card-badge (v1), .pc3__badge (v3/upsell), .sn-mega-badge */
.pc2__badge,
.sn-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  z-index: 2;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 9999px;
  background: var(--ab-ink, #212121);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
[dir="rtl"] .pc2__badge,
[dir="rtl"] .sn-card-badge {
  left: auto;
  right: 10px;
}
/* v1: badge sits where "New" does; push the sale pill below it */
.ab-card-badge + .ab-card-sale {
  inset-block-start: 40px;
}
/* Compact cards (cart upsell, mega menu): same badge design; "Coming soon" stacks under it */
.sn-card-badge.pc3__badge,
.sn-card-badge.sn-mega-badge {
  top: 6px;
  left: 6px;
}
[dir="rtl"] .sn-card-badge.pc3__badge,
[dir="rtl"] .sn-card-badge.sn-mega-badge {
  left: auto;
  right: 6px;
}
.sn-card-badge ~ .pc3__soon,
.sn-card-badge ~ .sn-mega-soon {
  top: 36px;
}
.pc2__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(210px, 22vw, 300px);
  margin: 0 0 18px;
  background: transparent;
}
.pc2__link {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.pc2__img {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: 92%;
  max-height: 100%;
  object-fit: contain;
  margin: 0;
}
.pc2__img.is-oos {
  opacity: 0.6;
}
.pc2__new {
  position: absolute;
  z-index: 2;
  top: -18px;
  inset-inline-end: 4%;
  background: var(--sn-btn-primary, #6ea460);
  color: #fff;
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
  padding: 2px 11px;
  border-radius: 999px;
}
.pc2 .pc2__title,
.pc2.product-cart .product-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-width: none;
  margin: 0 !important;
  font-family: var(--sn-font-sans, inherit) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  color: var(--sn-green-900, #213f23) !important;
}
.pc2 .pc2__title a,
.pc2.product-cart .product-card-title a {
  color: inherit !important;
  text-decoration: none !important;
}
.pc2 .pc2__title a:hover {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.pc2 .pc2__price,
.pc2.product-cart .price {
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  gap: 6px;
  width: auto;
  margin: 10px 0 14px !important;
  padding: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  color: var(--sn-green-900, #213f23) !important;
}
.pc2__riyal {
  width: 15px !important;
  height: auto !important;
  max-height: none !important;
  position: static !important;
  flex: none;
}
.pc2 .pc2__price s {
  order: 2;
  font-size: 13px;
  font-weight: 500;
  color: #8a9086;
}
.pc2__cta {
  margin-top: auto;
  width: 100%;
}
button.pc2__btn,
a.pc2__btn {
  width: 100% !important;
  min-height: 40px !important;
  padding-inline: 14px !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
}
html[lang="ar"] .pc2__btn {
  letter-spacing: 0 !important;
}
.pc2__btn[hidden],
[data-pc2-atc][hidden] {
  display: none !important;
}
.pc2__spin {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-block-start-color: #fff;
  border-radius: 50%;
  animation: sn-card-spin 0.7s linear infinite;
}
.pc2__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 0 8px;
  border: 1.5px solid var(--sn-green-900, #213f23);
  border-radius: 999px;
  background: transparent;
  color: var(--sn-green-900, #213f23);
  box-sizing: border-box;
}
.pc2__qty[hidden] {
  display: none !important;
}
.pc2__qty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
.pc2__qty button:hover {
  background: rgba(33, 63, 35, 0.06);
}
.pc2__qty [data-pc2-val] {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}
/* "Coming soon" badge on out-of-stock cards (same gold as .ab-card-oos on card.jinja) */
.sn-soon-badge {
  position: absolute;
  z-index: 2;
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--sn-radius-pill, 999px);
  background: #d8a53e;
  color: #3d2c06;
  font-family: var(--sn-font-sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pc2__soon {
  top: -12px;
  inset-inline-end: 4%;
}
.pc3__img {
  position: relative;
}
.pc3__soon,
.sn-mega-soon {
  top: 6px;
  inset-inline-start: 6px;
  padding: 2px 8px;
  font-size: 9px;
}

/* Compact stepper — cart upsell (pc3) and mega menu cards have small buttons */
.pc3__qty,
.sn-mega-product .pc2__qty {
  min-height: 32px;
  padding: 0 4px;
}
.pc3__qty {
  width: auto;
  min-width: 104px;
}
.pc3__qty button,
.sn-mega-product .pc2__qty button {
  width: 28px;
  height: 28px;
  font-size: 18px;
}
.pc3__qty [data-pc2-val],
.sn-mega-product .pc2__qty [data-pc2-val] {
  font-size: 13px;
}
@media (max-width: 700px) {
  .pc2 {
    padding-top: 22px;
  }
  .pc2__media {
    height: 200px;
    margin-bottom: 14px;
  }
  .pc2 .pc2__title,
  .pc2.product-cart .product-card-title {
    font-size: 13px !important;
  }
}

/* Same pouch hover as .ab-card / card.jinja */
.sn-motion .pc2,
.motion .pc2 {
  transition: transform 0.45s var(--sn-ease, var(--ease, ease));
}
.sn-motion .pc2__img,
.motion .pc2__img {
  transition:
    transform 0.6s var(--sn-ease-back, var(--ease-back, ease)),
    filter 0.4s ease,
    opacity 0.15s;
}
@media (hover: hover) {
  .sn-motion .pc2:hover,
  .motion .pc2:hover {
    transform: translateY(-8px);
  }
  .sn-motion .pc2:hover .pc2__img,
  .motion .pc2:hover .pc2__img {
    transform: translateY(-10px) rotate(-3deg) scale(1.04);
    filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.18));
  }
}
@media (prefers-reduced-motion: reduce) {
  .sn-motion .pc2,
  .motion .pc2,
  .sn-motion .pc2__img,
  .motion .pc2__img {
    transition: none;
  }
  .sn-motion .pc2:hover,
  .motion .pc2:hover,
  .sn-motion .pc2:hover .pc2__img,
  .motion .pc2:hover .pc2__img {
    transform: none;
    filter: none;
  }
}

/* Arabic: amount on the right, riyal icon to its left (markup puts the icon first for LTR) */
[dir="rtl"] .pc3__meta {
  display: flex;
  align-items: center;
  gap: 4px;
}
[dir="rtl"] .pc2__riyal,
[dir="rtl"] .pc3__riyal,
[dir="rtl"] .sn-shop-card__price img {
  order: 1;
}
