/* =====================================================================================================
   Clasy Care on the stock «رائد Twig» theme — custom CSS (theme editor → «تخصيص CSS»)
   Built 2026-12-05 for the launch on Raed, while Salla Partners review our own Clasy theme.
   Target look = our Clasy theme, turquoise skin (03-theme/clasy-theme/src/assets/styles/clasy/_tokens.scss,
   _turquoise.scss). Selectors target Raed Twig 1.382 markup (tested on Salla's own Raed Twig demo store) and
   Salla's web components (salla-*). A few React-Raed classes (.site-header, .mobile-bottom-bar) are covered too,
   in case Salla upgrades the store's Raed to its React copy.
   Phone first (390 px), then desktop (1024 px +). No new colours outside the Clasy tokens.
   v2 2026-12-05 (after the independent review REVIEW.md): hero banners by block order (no JS), collapsed description
   on whole lines, one price colour, single wishlist ring, roomier CR tile, product title scoped and sized like ours,
   no box inside a box in the cart offer. What changed and why: CHANGES.md.
   ===================================================================================================== */

/* ---------- 0. Font: Readex Pro (variable 400–700), Arabic + Latin, from Google Fonts ----------
   @font-face (not @import): it works wherever Salla prints this field in the page. The browser downloads only the
   subset a page uses. If the font fails, the stack falls back to Salla's own PingARLT, not to a system font. */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/readexpro/v27/SLXYc1bJ7HE5YDoGPuzj_dh8uc7wUy8ZQQyX2Iw1ZEzMhQ.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/readexpro/v27/SLXYc1bJ7HE5YDoGPuzj_dh8uc7wUy8ZQQyX2Iw-ZEzMhQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/readexpro/v27/SLXYc1bJ7HE5YDoGPuzj_dh8uc7wUy8ZQQyX2IwwZEw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens (same values as our theme's turquoise skin) ---------- */
:root {
  --clasy-primary: #0A7780;
  --clasy-primary-hover: #096A72;
  --clasy-primary-soft: #E2F5F3;
  --clasy-primary-deep: #0A5966;
  --clasy-brand: #2EC4B6;
  --clasy-sand: #F0F9F8;
  --clasy-ink: #102A30;
  --clasy-muted: #55676B;
  --clasy-border: #D3EBE8;
  --clasy-sale: #D7263D;
  --clasy-gold: #E0A100;
  --clasy-action-gradient: linear-gradient(100deg, #139E96 0%, #1491AA 100%);
  --clasy-action-gradient-hover: linear-gradient(100deg, #108880 0%, #117D93 100%);
  --clasy-fill-gradient: linear-gradient(100deg, #0E8C85 0%, #108199 100%);
  --clasy-line-gradient: linear-gradient(90deg, #22B5AA 0%, #1BA0BA 100%);
  --clasy-dark-gradient: linear-gradient(165deg, #0A6A66, #0A5966 65%, #0B5C70);
  --clasy-photo-gradient: radial-gradient(circle at 50% 42%, #E2F5F3, #F4FBFA 60%, #FFFFFF);
  --clasy-font: 'Readex Pro', 'PingARLT', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
  --clasy-r-sm: 10px;
  --clasy-r: 14px;
  --clasy-r-lg: 20px;
  --clasy-shadow: 0 4px 16px rgb(10 119 128 / .07);
  --clasy-shadow-lg: 0 12px 28px -12px rgb(10 119 128 / .2);
  --clasy-ring: 0 0 0 3px rgb(10 119 128 / .2);
  --clasy-text-shadow: 0 1px 2px rgb(0 70 80 / .35);
}

/* Raed and Salla's components read these; html:root outranks the :root block Salla prints from the store settings */
html:root {
  --color-primary: #0A7780;
  --color-primary-dark: #096A72;
  --color-primary-light: #096A72;
  --color-primary-reverse: #FFFFFF;
  --color-primary-d: #096A72;
  --color-primary-l: #096A72;
  --main-text-color: #102A30;
  --main-text-color-dark: #102A30;
  --color-text: #55676B;
  --font-main: 'Readex Pro', 'PingARLT';
  --s-radius: 12px;
}

/* ---------- 2. Base: page, type, links ---------- */
body {
  background-color: #FFFFFF;
  color: var(--clasy-ink);
}
body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--clasy-font);
}
h1, h2, h3 { color: var(--clasy-ink); }
::selection { background: var(--clasy-primary-soft); color: var(--clasy-ink); }
.text-primary { color: var(--clasy-primary) !important; }
.bg-primary { background-color: var(--clasy-primary) !important; }
.app-inner { background-color: #FFFFFF; } /* Raed paints the page #f9fafb; ours is white, boxes get a hairline instead */

/* ---------- 3. Announcement bar (Salla «الشريط الإعلاني») ---------- */
.s-advertisement {
  background: var(--clasy-action-gradient) !important;
  color: #FFFFFF !important;
  text-shadow: var(--clasy-text-shadow);
  font-weight: 700;
}
.s-advertisement a, .s-advertisement-content, .s-advertisement-content-main, .s-advertisement-action { color: #FFFFFF !important; }

/* ---------- 4. Header (Raed Twig: .store-header → .top-navbar + #mainnav.main-nav-container) ---------- */
.store-header .top-navbar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--clasy-border);
}
.top-navbar .s-search-input,
.site-header .s-search-input {
  background-color: var(--clasy-sand) !important;
  border: 1px solid var(--clasy-border) !important;
  color: var(--clasy-ink);
}
.top-navbar .s-search-input::placeholder { color: var(--clasy-muted); }
.top-navbar .s-localization-modal-trigger-btn,
.top-navbar .btn--rounded-gray {
  background-color: var(--clasy-sand);
  border: 1px solid var(--clasy-border);
  color: var(--clasy-ink);
}
.main-nav-container,
.main-nav-container .inner {
  background-color: #FFFFFF;
}
/* the 3 px turquoise stripe under the header, as in our theme */
.main-nav-container .inner {
  border-bottom: 3px solid transparent;
  border-image: var(--clasy-line-gradient) 1;
  box-shadow: none;
}
.main-nav-container.shadow-default { box-shadow: none; }
.navbar-brand img {
  max-height: 44px;
  max-width: 150px;
  object-fit: contain;
}
@media (min-width: 1024px) {
  .navbar-brand img { max-height: 54px; max-width: 190px; }
}
/* phone: logo in the middle, menu on the start side, account + cart on the end side (our header) */
@media (max-width: 1023px) {
  /* 2026-12-05 after the first Be20 draft check: the real CLASY logo is wide; at 150 px it ran over the account icon on 390 */
  .navbar-brand img { max-height: 38px; max-width: 112px; }
  /* and the account icon moves 12 px toward the edge (Raed puts 16 px between account and cart) */
  .main-nav-container salla-cart-summary { margin-right: 4px !important; }
  .main-nav-container .container > .flex { min-height: 68px; }
  .main-nav-container .navbar-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
}
.mburger .sicon-menu { color: var(--clasy-ink) !important; font-size: 26px; }
/* account + cart: plain icons, no grey circles */
.store-header salla-user-menu .s-user-menu-login-btn,
.store-header .s-user-menu-trigger,
.store-header salla-cart-summary #s-cart-icon,
.store-header .header-btn__icon {
  background-color: transparent !important;
  border: 0 !important;
  color: var(--clasy-ink);
}
.store-header .s-user-menu-login-btn svg,
.store-header .s-user-menu-trigger svg { fill: var(--clasy-ink); }
.store-header .header-btn__icon { font-size: 24px; }
.s-cart-summary-count {
  background-image: var(--clasy-fill-gradient) !important;
  background-color: var(--clasy-primary) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  font-weight: 700;
}
.s-cart-summary-total { color: var(--clasy-ink); font-weight: 600; }
@media (max-width: 1023px) {
  .store-header .s-cart-summary-content { display: none; } /* phone: the bag icon and its count only, as in our header */
}
/* desktop menu */
custom-main-menu .main-menu > li > a,
.main-menu > li > a {
  color: var(--clasy-ink);
  font-weight: 600;
  font-size: 15px;
}
custom-main-menu .main-menu > li > a:hover,
.main-menu > li > a:hover,
.main-menu > li.active > a { color: var(--clasy-primary); }
.main-menu .sub-menu {
  border: 1px solid var(--clasy-border);
  border-radius: var(--clasy-r);
  box-shadow: var(--clasy-shadow-lg);
}
/* phone side menu (mmenu) */
.mm-ocd__content, .mm-spn { background-color: #FFFFFF; }
.mm-spn li a, .mm-spn li span { color: var(--clasy-ink); font-weight: 500; }
.btn--close-sm.close-mobile-menu {
  background-image: var(--clasy-fill-gradient);
  background-color: var(--clasy-primary);
  color: #FFFFFF;
  border-color: transparent;
}

/* React Raed header (only if Salla upgrades the store's Raed) */
.site-header__bar { background-color: #FFFFFF; border-bottom: 3px solid transparent; border-image: var(--clasy-line-gradient) 1; }
.site-header__topnav { background-color: #FFFFFF; border-bottom: 1px solid var(--clasy-border); }
.site-header__brand img { max-height: 44px; width: auto; object-fit: contain; }
.mobile-bottom-bar__item.is-active,
.mobile-bottom-bar__item[aria-current="page"] { color: var(--clasy-primary); background-color: var(--clasy-primary-soft); }

/* ---------- 5. Buttons (Salla <salla-button> + Raed .btn) ---------- */
salla-button .s-button-btn,
.btn {
  border-radius: 999px;
  font-weight: 600;
  transition: background-color .18s, color .18s, border-color .18s;
}
salla-button .s-button-primary,
.btn--primary {
  background-color: var(--clasy-primary) !important;
  background-image: var(--clasy-action-gradient) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
  text-shadow: var(--clasy-text-shadow);
}
salla-button .s-button-primary:hover,
.btn--primary:hover {
  opacity: 1;
  background-image: var(--clasy-action-gradient-hover) !important;
}
salla-button .s-button-primary-outline,
.btn--outline-primary {
  border-color: var(--clasy-primary) !important;
  color: var(--clasy-primary) !important;
  background-color: #FFFFFF;
}
salla-button .s-button-primary-outline:hover,
.btn--outline-primary:hover {
  opacity: 1;
  background-color: var(--clasy-primary-soft) !important;
}
salla-button .s-button-light-outline { border-color: var(--clasy-border); color: var(--clasy-ink); }

/* ---------- 6. Fields ---------- */
.form-input,
.s-form-control,
salla-quantity-input .s-quantity-input-input,
salla-coupon input,
.s-coupon-input {
  border: 1px solid var(--clasy-border);
  border-radius: 12px;
  color: var(--clasy-ink);
  background-color: #FFFFFF;
}
.form-input:focus,
.s-form-control:focus {
  border-color: var(--clasy-primary) !important;
  box-shadow: var(--clasy-ring) !important;
  outline: none;
}
.form-label { color: var(--clasy-ink); }

/* ---------- 7. Home sections ---------- */
.s-block__title h2,
.s-block__title h3,
.s-block--categories h2,
.s-slider-block__title h2 {
  font-size: clamp(21px, calc(17.06px + 1.011vw), 30px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--clasy-ink);
}
/* short turquoise line under each section title (our «تسوّقي حسب احتياج بشرتك» look) */
.s-block__title h2::after,
.s-slider-block__title h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: var(--clasy-line-gradient);
}
.s-slider-block__title-nav a,
.s-block__display-all { color: var(--clasy-primary); font-weight: 600; }
/* banners and sliders: our rounded corners, no Raed grey veil */
.banner--fixed,
.banner--fixed img,
.s-block--photos-slider img,
.s-block--banners .banner-entry,
.s-block--banners .banner-entry img {
  border-radius: var(--clasy-r) !important;
}
.s-block--banners .banner-entry.has-overlay::before { background: linear-gradient(0deg, rgb(10 89 102 / .55), transparent 60%); }
.s-block--photos-slider .swiper-pagination-bullet-active,
.swiper-pagination-bullet-active { background-color: var(--clasy-primary) !important; }
/* phone vs computer hero, decided by block ORDER (CSS only, from the first paint; no JS, no waiting for a picture):
   two «صور متحركة» blocks one right after the other, the PHONE (square) block FIRST and the COMPUTER (wide) block
   SECOND. Phones hide the second, computers hide the first. A single «صور متحركة» block is never hidden.
   Swapping the two blocks swaps the devices: keep the order of HOMEPAGE-PLAN-AR.md. */
@media (max-width: 767px) {
  .s-block--photos-slider + .s-block--photos-slider { display: none !important; }
}
@media (min-width: 768px) {
  .s-block--photos-slider:has(+ .s-block--photos-slider) { display: none !important; }
}
.s-block--photos-slider .swiper-slide img { border-radius: var(--clasy-r); }
/* category shortcuts (Raed «روابط سريعة» with «عرض التصنيفات»): our 8 circles in two rows of 4 on phones, and
   4-column tiles (picture + name) on computers. The carousel becomes a still grid (all 8 fit, nothing to slide). */
.s-block--categories .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 8px;
  transform: none !important;
  width: 100% !important;
}
.s-block--categories .swiper-slide {
  width: auto !important;
  margin: 0 !important;
}
.s-block--categories .s-slider-nav-arrow,
.s-block--categories .swiper-pagination { display: none !important; }
.s-block--categories .slide--cat-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  height: auto;
}
.s-block--categories .slide--cat-entry img,
.s-block--categories .slide--cat-entry i {
  width: 72px;
  height: 72px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--clasy-primary-soft);
  color: var(--clasy-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.s-block--categories .slide--cat-entry h2 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--clasy-ink);
  white-space: normal;
  text-align: center;
  margin: 0;
}
@media (min-width: 1024px) {
  .s-block--categories .swiper-wrapper { gap: 16px; }
  .s-block--categories .slide--cat-entry {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 16px;
    min-height: 88px;
    border: 1px solid var(--clasy-border);
    border-radius: var(--clasy-r);
    background: #FFFFFF;
    transition: border-color .18s, box-shadow .18s;
  }
  .s-block--categories .slide--cat-entry:hover { border-color: var(--clasy-primary); box-shadow: var(--clasy-shadow); }
  .s-block--categories .slide--cat-entry img,
  .s-block--categories .slide--cat-entry i { width: 56px; height: 56px; flex: none; }
  .s-block--categories .slide--cat-entry h2 { font-size: 15px; text-align: start; }
}
/* store features (Raed «مميزات المتجر») = our trust row */
.s-block--features__item {
  background-color: var(--clasy-sand);
  border: 1px solid var(--clasy-border);
  border-radius: var(--clasy-r);
  box-shadow: none;
}
.s-block--features__item h2 { font-size: 15px; font-weight: 700; color: var(--clasy-ink); }
.s-block--features__item p { color: var(--clasy-muted); font-size: 13px; }
.s-block--features .feature-icon {
  background-color: #FFFFFF;
  color: var(--clasy-primary);
  border: 1px solid var(--clasy-border);
}
.s-block--features .feature-icon i { color: var(--clasy-primary); }
/* testimonials */
.s-block--testimonials .swiper-slide > div,
.s-block--testimonials .testimonial {
  border: 1px solid var(--clasy-border);
  border-radius: var(--clasy-r);
  background-color: #FFFFFF;
}
.s-block--testimonials .sicon-star2,
.s-rating-stars-selected { color: var(--clasy-gold); }

/* ---------- 8. Product cards (Raed <custom-salla-product-card>) ---------- */
.s-products-list-vertical-cards {
  gap: 12px !important;
}
@media (min-width: 1024px) {
  .s-products-list-vertical-cards { gap: 24px !important; }
}
.s-product-card-entry {
  background-color: #FFFFFF;
  border: 1px solid var(--clasy-border);
  border-radius: var(--clasy-r);
  overflow: hidden;
  transition: transform .18s cubic-bezier(.22, 1, .36, 1), box-shadow .18s cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) {
  .s-product-card-entry:hover { transform: translateY(-3px); box-shadow: var(--clasy-shadow-lg); }
}
/* same image box for every pack: 2:3, the whole photo, on our soft mint gradient */
.s-product-card-vertical .s-product-card-image,
.s-product-card-fit-height .s-product-card-image {
  flex: none;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 2 / 3;
  border-radius: var(--clasy-r-sm) var(--clasy-r-sm) 0 0;
  background: var(--clasy-photo-gradient);
}
.s-product-card-image::before { content: none !important; display: none !important; }
.s-product-card-image > a { display: block; height: 100%; }
.s-product-card-image img,
.s-product-card-image img.s-product-card-image-cover {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}
.s-product-card-out-of-stock img { filter: grayscale(.7); }
/* wishlist heart: small white circle */
.s-product-card-wishlist-btn,
.s-product-card-vertical .s-product-card-wishlist-btn { opacity: 1; }
.s-product-card-wishlist-btn button,
button.s-product-card-wishlist-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--clasy-border) !important;
  border-radius: 999px;
  background-color: #FFFFFF !important;
  color: var(--clasy-muted);
}
.s-product-card-wishlist-added i,
.s-product-card-wishlist-btn.s-product-card-wishlist-added i { color: var(--clasy-sale); }
/* promotion title on the photo (Raed prints it in the image's corner): our «عرض» pill */
.s-product-card-promotion-title {
  border-radius: 999px;
  background: var(--clasy-primary-soft) !important;
  color: var(--clasy-primary-deep) !important;
  border: 1px solid rgb(10 119 128 / .18);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
}
.s-product-card-out-badge {
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--clasy-ink);
  border: 1px solid var(--clasy-border);
  font-size: 12px;
  font-weight: 700;
}
/* text block: title first, two lines; price and the round add button on one row (our card) */
.s-product-card-vertical .s-product-card-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 6px;
  flex: 1 1 auto;
  padding: 8px 10px 10px;
}
.s-product-card-vertical .s-product-card-content-main {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  align-self: start;
}
.s-product-card-content-title { margin: 0; line-height: 1.4; }
.s-product-card-content-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font: 600 13px/1.45 var(--clasy-font);
  color: var(--clasy-ink);
}
@media (min-width: 640px) {
  .s-product-card-content-title a { font-size: 14px; }
}
.s-product-card-content-title a:hover { color: var(--clasy-primary); }
.s-product-card-content-subtitle {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--clasy-muted);
  opacity: 1 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.s-product-card-vertical .s-product-card-content-sub {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  min-width: 0;
  flex-wrap: wrap;
  gap: 2px 6px;
  justify-content: flex-start;
}
.s-product-card-vertical .s-product-card-content-footer {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}
/* prices: current price in the text colour, old price muted and struck */
.s-product-card-price,
.s-product-card-sale-price h4,
.s-product-card-starting-price h4 {
  font: 700 15px/1.3 var(--clasy-font) !important;
  color: var(--clasy-ink) !important;
}
@media (min-width: 640px) {
  .s-product-card-price, .s-product-card-sale-price h4, .s-product-card-starting-price h4 { font-size: 17px !important; }
}
.s-product-card-sale-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.s-product-card-sale-price span {
  font-size: 13px;
  color: var(--clasy-muted) !important;
}
.s-product-card-rating { font-size: 12px; color: var(--clasy-muted); }
.s-product-card-rating .sicon-star2 { color: var(--clasy-gold); }
/* the add button: a 44 px round turquoise button with the bag icon (the text stays for screen readers) */
.s-product-card-vertical .s-product-card-content-footer salla-add-product-button { display: block; width: 44px; }
.s-product-card-vertical .s-product-card-content-footer .s-button-btn {
  width: 44px !important;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: var(--clasy-primary) !important;
  background-image: var(--clasy-action-gradient) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
}
.s-product-card-vertical .s-product-card-content-footer .s-button-text { gap: 0; justify-content: center; }
.s-product-card-vertical .s-product-card-content-footer .s-button-text i { font-size: 20px !important; margin: 0 !important; color: #FFFFFF; }
.s-product-card-vertical .s-product-card-content-footer .s-button-text > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* sold out / notify-me cards keep a full-width text button under the price */
.s-product-card-vertical .s-product-card-content:has(salla-add-product-button:not([product-status="sale"])) .s-product-card-content-footer {
  grid-column: 1 / -1;
  grid-row: 3;
}
.s-product-card-vertical .s-product-card-content:has(salla-add-product-button:not([product-status="sale"])) salla-add-product-button { width: 100%; }
.s-product-card-vertical .s-product-card-content:has(salla-add-product-button:not([product-status="sale"])) .s-button-btn {
  width: 100% !important;
  border-radius: 999px !important;
  background-image: none !important;
  background-color: #FFFFFF !important;
  border: 1px solid var(--clasy-primary) !important;
  color: var(--clasy-primary) !important;
  font-size: 12px;
  text-shadow: none;
}
.s-product-card-vertical .s-product-card-content:has(salla-add-product-button:not([product-status="sale"])) .s-button-text > span,
.s-product-card-vertical .s-product-card-content:has(salla-add-product-button:not([product-status="sale"])) .s-button-text i { position: static; width: auto; height: auto; clip-path: none; color: var(--clasy-primary); font-size: 14px !important; }
/* horizontal / minimal cards (home «منتجات مميزة» styles) */
.s-product-card-horizontal .s-product-card-image,
.s-product-card-minimal .s-product-card-image {
  background: var(--clasy-photo-gradient);
  border-radius: var(--clasy-r-sm);
}
.s-product-card-horizontal .s-product-card-image img,
.s-product-card-minimal .s-product-card-image img { object-fit: contain !important; }
.s-product-card-content-pie-svg-bar { stroke: var(--clasy-primary); }

/* ---------- 9. Category / listing page ---------- */
#page-main-title,
.main-content > .flex > h1 {
  font-size: clamp(21px, calc(17.06px + 1.011vw), 30px);
  font-weight: 600;
  color: var(--clasy-ink);
}
#product-filter {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--clasy-border);
  padding-inline: 16px 36px;
  color: var(--clasy-ink);
  font-weight: 600;
}
.filters-trigger {
  border-radius: 999px;
  background-color: var(--clasy-primary-soft) !important;
  color: var(--clasy-primary) !important;
}
.s-breadcrumb-item, .s-breadcrumb-item a { color: var(--clasy-muted); font-size: 13px; }
.s-breadcrumb-item:last-child { color: var(--clasy-ink); }
.s-breadcrumb-item a:hover { color: var(--clasy-primary); }
.s-products-list-placeholder { color: var(--clasy-muted); }
.s-infinite-scroll-btn { border-radius: 999px; }
/* filters panel */
salla-filters .s-filters-widget-title { color: var(--clasy-ink); font-weight: 600; }
salla-filters input[type="checkbox"]:checked,
salla-filters input[type="radio"]:checked { background-color: var(--clasy-primary); border-color: var(--clasy-primary); }

/* ---------- 10. Product page ---------- */
.container--product-details { padding-top: 4px; }
.details-slider,
.image-slider,
#product-gallery,
.product-gallery {
  border-radius: var(--clasy-r);
  background: var(--clasy-photo-gradient);
}
.details-slider img,
.image-slider .swiper-slide img { object-fit: contain !important; }
/* thumbnails: rounded, active one with our ring */
.s-slider-thumbs .swiper-slide,
.thumbs-slider .swiper-slide {
  border: 1px solid var(--clasy-border);
  border-radius: var(--clasy-r-sm);
  overflow: hidden;
  background: #FFFFFF;
}
.s-slider-thumbs .swiper-slide-thumb-active,
.thumbs-slider .swiper-slide-thumb-active { border: 2px solid var(--clasy-primary); }
/* title + subtitle: product page only (cart lines are <h1> too), our sizes: 20 px phone, 24 px from 768 px */
.container--product-details .main-content h1,
[data-testid="store-product-title"],
.product-entry__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--clasy-ink);
}
@media (min-width: 768px) {
  .container--product-details .main-content h1,
  [data-testid="store-product-title"],
  .product-entry__title { font-size: 24px; }
}
.product-entry__sub-title { color: var(--clasy-muted) !important; font-size: 14px; }
.promotion-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: var(--clasy-primary-soft);
  color: var(--clasy-primary-deep);
  border: 1px solid rgb(10 119 128 / .18);
  font-weight: 700;
  font-size: 13px;
}
/* price: big, in the text colour; the old price muted and struck (no red «sale» look) */
.total-price,
.price-wrapper .total-price,
.starting-or-normal-price h2,
[data-testid="store-product-price"] h2 {
  color: var(--clasy-ink) !important;
  font-family: var(--clasy-font);
  font-weight: 700;
  font-size: 26px !important;
}
/* the price under the title is a <p class="text-red-800"> in Raed Twig (not an <h2>): same ink colour as the big price */
[data-testid="store-product-price"] p,
[data-testid="store-product-price"] .text-red-800 {
  color: var(--clasy-ink) !important;
  font-family: var(--clasy-font);
  font-weight: 700;
}
.before-price { color: var(--clasy-muted) !important; font-size: 15px; }
/* cards and boxes on the product page: white with our hairline, no grey bands */
.product-form,
.sticky-product-bar,
.main-content > .bg-white,
.sidebar .bg-white {
  border-radius: var(--clasy-r);
}
.container--product-details .bg-white.rounded-md { border: 1px solid var(--clasy-border); box-shadow: none; }
.product-form .form-label { font-weight: 600; }
/* quantity box */
salla-quantity-input .s-quantity-input-container {
  border: 1px solid var(--clasy-border);
  border-radius: 14px;
  background-color: #FFFFFF;
  overflow: hidden;
}
salla-quantity-input .s-quantity-input-button { color: var(--clasy-ink); }
salla-quantity-input .s-quantity-input-button:hover { color: var(--clasy-primary); background-color: var(--clasy-primary-soft); }
salla-quantity-input .s-quantity-input-input { border: 0; font-weight: 700; }
/* the main add-to-cart button: our big gradient pill with a 19 px bold label */
salla-add-product-button .s-add-product-button-main .s-button-btn,
.product-form salla-add-product-button .s-button-btn,
.sticky-product-bar salla-add-product-button .s-button-btn,
.sticky-product-bar__btn .s-button-btn {
  min-height: 52px;
  border-radius: 999px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  background-color: var(--clasy-primary) !important;
  background-image: var(--clasy-action-gradient) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
  text-shadow: var(--clasy-text-shadow);
}
/* «اشتر الآن» / quick buy: the outline twin */
salla-add-product-button .s-add-product-button-buy-now .s-button-btn,
salla-quick-buy .s-button-btn,
.s-fast-checkout-button {
  border-radius: 999px !important;
}
/* phone sticky bar (Raed setting «تثبيت زر الإضافة للسلة»): white, hairline on top, soft shadow */
@media (max-width: 640px) {
  .is-sticky-product-bar .sticky-product-bar {
    background-color: #FFFFFF;
    border-top: 1px solid var(--clasy-border);
    border-radius: var(--clasy-r-lg) var(--clasy-r-lg) 0 0;
    box-shadow: 0 -6px 18px rgb(10 89 102 / .08);
  }
}
.s-add-product-button-with-sticky-bar,
.s-add-product-button-mini-checkout {
  background-color: #FFFFFF;
  border-top: 1px solid var(--clasy-border);
}
/* installments (Tabby / Tamara widgets when the store turns them on) */
salla-installment,
#store-product-installment,
.s-installment {
  display: block;
  border-radius: var(--clasy-r);
}
salla-installment [class*="s-installment-"][class$="-wrapper"],
#tabbyPromoWrapper,
#tabbyPromo,
tamara-widget,
tamara-product-widget {
  display: block;
  border: 1px solid var(--clasy-border);
  border-radius: var(--clasy-r) !important;
  background-color: #FFFFFF;
  overflow: hidden;
}
/* product offers box (Salla <salla-offer>) */
salla-offer .s-offer-wrapper,
.s-offer-wrapper {
  border: 1px solid var(--clasy-border) !important;
  border-radius: var(--clasy-r) !important;
  background-color: var(--clasy-sand) !important;
}
/* description: readable size and line height */
.product__description,
.article--main {
  color: var(--clasy-ink);
  font-size: 15px;
  line-height: 1.9;
}
.article--main h2, .article--main h3, .product__description h2, .product__description h3 {
  font-weight: 700;
  color: var(--clasy-ink);
  margin: 18px 0 6px;
}
/* the collapsed description («اقرأ المزيد», a fixed 5.25rem window) keeps Raed's own 2rem rhythm, so the window
   ends on a whole line, not through the middle of one */
#more-content.article--main { line-height: 2rem; }
#more-content.article--main > :first-child { margin-top: 0; }
.article--main ul li::marker, .product__description ul li::marker { color: var(--clasy-primary); }
#btn-show-more,
.link--primary { color: var(--clasy-primary) !important; font-weight: 600; }
/* wishlist on the product page: the class sits on the <salla-button> host, which is taller than its round button;
   only the inner button's own outline shows (no second, stretched oval around it) */
salla-button.btn--wishlist { border: 0; background: transparent; border-radius: 0; }
/* reviews block */
salla-comments .s-comments-title, .s-comments-product .s-comments-title { color: var(--clasy-ink); font-weight: 700; }
.s-comments-item { border-color: var(--clasy-border) !important; border-radius: var(--clasy-r); }
.s-rating-stars-btn-star.s-rating-stars-selected svg, .sicon-star2 { color: var(--clasy-gold); fill: var(--clasy-gold); }

/* ---------- 11. Cart ---------- */
.cart-item {
  border: 1px solid var(--clasy-border);
  border-radius: var(--clasy-r) !important;
  box-shadow: none !important;
}
.cart-item img {
  border-radius: var(--clasy-r-sm) !important;
  background: var(--clasy-photo-gradient) !important;
  object-fit: contain !important;
  border-color: var(--clasy-border) !important;
}
.cart-item h3, .cart-item .text-lg, .cart-item a.text-gray-900 { color: var(--clasy-ink); font-weight: 600; }
.cart-item .item-price, .cart-item .item-total { color: var(--clasy-ink) !important; font-weight: 700; }
.cart-item .item-original-price, .cart-item .item-regular-price { color: var(--clasy-muted) !important; }
.cart-item .text-primary { color: var(--clasy-primary) !important; }
.cart-item .btn--delete .s-button-btn, .cart-item__delete {
  border-radius: 999px !important;
}
#free-shipping, #free-shipping-bar { border: 1px solid var(--clasy-border); border-radius: var(--clasy-r) !important; box-shadow: none !important; }
#free-shipping .progress-bg, .progress-bg { background-image: var(--clasy-line-gradient); background-color: var(--clasy-primary) !important; }
#free-shipping .rounded-icon, .rounded-icon.bg-primary { background-image: var(--clasy-fill-gradient); }
/* summary box */
[data-testid="store-cart-summary"],
#store-cart-summary,
.cart-summary,
.sticky.top-24 > .shadow-default {
  border: 1px solid var(--clasy-border);
  border-radius: var(--clasy-r) !important;
  box-shadow: none !important;
}
.cart-submit-wrap .s-button-btn,
#cart-submit,
[data-testid="store-cart-submit"] .s-button-btn {
  min-height: 52px;
  border-radius: 999px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}
/* coupon */
.btn--coupon, salla-coupon .s-button-btn { border-radius: 999px !important; }
/* Salla cart offers (conditional / tiered) */
.s-conditional-offer-root,
salla-tiered-offer > div {
  border: 1px solid var(--clasy-border) !important;
  border-radius: var(--clasy-r) !important;
  background-color: var(--clasy-sand) !important;
}
/* the banner inside the root: no second box */
.s-conditional-offer-root .s-conditional-offer-banner { border: 0 !important; background-color: transparent !important; box-shadow: none !important; }
.s-conditional-offer-badge { border-radius: 999px; }

/* ---------- 12. Footer: deep teal like our theme, white text, payment logos on white tiles ---------- */
.store-footer {
  background: var(--clasy-dark-gradient) !important;
  color: rgb(255 255 255 / .86) !important;
}
.store-footer__inner { background: transparent !important; border-color: rgb(255 255 255 / .12) !important; }
.store-footer h3,
.store-footer .s-contacts-title,
.store-footer .s-apps-icons h3,
.store-footer .text-gray-900 {
  color: #BDE8E4 !important;
  font-weight: 700;
}
.store-footer a,
.store-footer .s-contacts-item,
.store-footer .s-menu-footer-item,
.store-footer .copyright-text,
.store-footer .copyright-text p,
.store-footer .text-gray-400,
.store-footer .text-gray-600,
.store-footer .text-gray-700 {
  color: rgb(255 255 255 / .86) !important;
}
.store-footer a:hover { color: #FFFFFF !important; }
.store-footer .s-contacts-icon {
  border-color: rgb(255 255 255 / .25) !important;
  background-color: rgb(255 255 255 / .08) !important;
  color: #FFFFFF;
}
.store-footer .s-contacts-icon svg, .store-footer .s-social-icon svg { fill: #FFFFFF; }
.store-footer .s-social-link, .store-footer .s-social-list a {
  border: 1px solid rgb(255 255 255 / .25);
  border-radius: 999px;
}
/* payment methods: Salla's own logos on white tiles (our row) */
.s-payments-list { gap: 6px; flex-wrap: wrap; justify-content: center; }
.s-payments-list-item {
  background-color: #FFFFFF !important;
  border-radius: 8px !important;
  border: 0 !important;
  padding: 4px 6px;
  height: 32px;
}
.s-payments-list-item img { height: 100%; width: auto; object-fit: contain; }
/* Saudi business platform / VAT badges keep their own colours on a white tile */
salla-trust-badges .s-trust-badges-wrapper,
.s-trust-badges-wrapper > * {
  background-color: #FFFFFF;
  border-radius: 10px;
  color: var(--clasy-ink);
}
.store-footer .s-trust-badges-wrapper * { color: var(--clasy-ink) !important; }
/* commercial-register tile: room around the text, label on one line */
.store-footer .s-trust-badges-content { padding: 6px 10px; }
.store-footer .s-trust-badges-label { white-space: nowrap; margin-bottom: 2px; }
.store-footer > .container,
.store-footer__bottom { border-top: 1px solid rgb(255 255 255 / .12); }
.store-footer hr,
.store-footer .border-b,
.store-footer .border-t { border-color: rgb(255 255 255 / .12) !important; }

/* ---------- 13. Add-to-cart toast, modals, misc ---------- */
.s-modal-container, .s-modal-body { border-radius: var(--clasy-r-lg); }
.s-modal-title { color: var(--clasy-ink); font-weight: 700; }
.s-user-menu-dropdown { border: 1px solid var(--clasy-border); border-radius: var(--clasy-r); }
/* «أضيفت للسلة» toast (Raed setting «إظهار رسالة الإضافة للسلة») */
.s-add-product-toast { border-radius: var(--clasy-r) !important; border: 1px solid var(--clasy-border); font-family: var(--clasy-font); }
.s-add-product-toast__name { color: var(--clasy-ink); font-weight: 600; }
.s-add-product-toast__image { border-radius: var(--clasy-r-sm); background: var(--clasy-photo-gradient); }
.s-add-product-toast__icon { color: var(--clasy-primary); }

@media (prefers-reduced-motion: reduce) {
  .s-product-card-entry, .s-product-card-entry:hover { transform: none; transition: none; }
}

/* ---------- 2026-12-06 owner review fixes (header + circles). Owner: «ليش الهدر مزدحمة اركانه ومش مقسمة على المسافة صح؟
   وليش ال categories طالعة صورة مش دائرية مزبوطة ومش في منتصف الصفحة؟» ---------- */

/* circles: Salla's carousel keeps 48 px of «controls-outer» padding on one side and a -10px margin, so the still 4-column
   grid sat off-centre (x 53..380 on 390). The grid has no arrows: no padding, centred, equal columns. */
.s-block--categories .swiper.s-slider-container {
  padding: 0 !important;
  margin: 0 !important;
}
.s-block--categories .swiper-wrapper {
  margin: 0 auto !important;
  justify-items: center;
}
/* circles: the image had a fixed 72 px height in a ~68 px column (max-width:100%) = an oval. Square box, true circle. */
.s-block--categories .slide--cat-entry img,
.s-block--categories .slide--cat-entry i {
  width: 72px !important;
  height: 72px !important;
  max-width: none !important;
  aspect-ratio: 1 / 1;
  flex: none;
  object-fit: cover;
  border-radius: 50% !important;
}
@media (max-width: 359px) {
  .s-block--categories .slide--cat-entry img,
  .s-block--categories .slide--cat-entry i { width: 64px !important; height: 64px !important; }
}
.s-block--categories .slide--cat-entry { width: 100%; }
@media (min-width: 1024px) {
  /* computers keep the approved equal-width tiles (4 columns): stretch, not centre */
  .s-block--categories .swiper-wrapper { justify-items: stretch; }
  .s-block--categories .swiper-slide,
  .s-block--categories .slide--cat-entry { width: 100% !important; }
  .s-block--categories .slide--cat-entry img,
  .s-block--categories .slide--cat-entry i { width: 60px !important; height: 60px !important; }
}

/* header, phone and tablet: one calm row like our theme. Raed puts the search as a full-width row above the header;
   it moves into the header as an icon (clasy-raed.js adds it next to the menu button). */
@media (max-width: 1023px) {
  .store-header .top-navbar { display: none !important; }
  #mainnav.main-nav-container { height: 64px !important; }
  .main-nav-container .container > .flex { min-height: 64px; align-items: center; }
  .main-nav-container .container { padding-left: 12px; padding-right: 12px; }
  /* start side (right in Arabic): menu, then search */
  .main-nav-container .container > .flex > .flex:first-child { gap: 6px; }
  .main-nav-container .mburger { margin: 0 !important; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  .main-nav-container .clasy-head-search { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  /* end side (left in Arabic): account, then cart, the same 40 px boxes and gap */
  .main-nav-container .container > .flex > .flex:last-child { gap: 6px; margin: 0 !important; }
  .main-nav-container salla-user-menu,
  .main-nav-container salla-cart-summary { margin: 0 !important; width: 40px !important; flex: none; }
  .main-nav-container salla-cart-summary #s-cart-icon { width: 40px !important; display: inline-flex; align-items: center; justify-content: center; }
  #mainnav salla-cart-summary, #mainnav salla-cart-summary .s-cart-summary-wrapper { width: 40px !important; min-width: 0 !important; max-width: 40px !important; padding: 0 !important; margin: 0 !important; }
  .main-nav-container .s-user-menu-login-btn,
  .main-nav-container salla-cart-summary .s-cart-summary-wrapper { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; position: relative; }
  .navbar-brand img { max-height: 34px; max-width: 120px; }
}
/* the search icon itself (all widths it exists on) */
.clasy-head-search { background: transparent; border: 0; color: var(--clasy-ink); cursor: pointer; padding: 0; }
.clasy-head-search i { font-size: 22px; color: var(--clasy-ink); }
/* cart badge: small, on the bag's corner, and hidden while the cart is empty (class set by clasy-raed.js) */
.s-cart-summary-count {
  min-width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  font-size: 11px !important;
  padding: 0 4px !important;
  top: 2px !important;
  inset-inline-end: 0 !important;
}
.clasy-cart-empty .s-cart-summary-count { display: none !important; }
/* the moved <salla-search> drawn as an icon: the readonly input stays the click target (it opens Salla's search window) */
@media (max-width: 1023px) {
  .main-nav-container salla-search.clasy-head-search { position: relative; flex: none; width: 40px !important; height: 40px !important; overflow: hidden; display: block; }
  .main-nav-container salla-search.clasy-head-search .s-search-placeholder-wrapper.s-search-inline,
  .main-nav-container salla-search.clasy-head-search .s-search-placeholder-wrapper-new { width: 40px !important; min-width: 0 !important; max-width: 40px !important; }
  .main-nav-container .clasy-head-search .s-search-placeholder-wrapper,
  .main-nav-container .clasy-head-search .s-search-input-wrapper { width: 40px !important; height: 40px !important; position: relative; }
  .main-nav-container .clasy-head-search .s-search-input {
    width: 40px !important; height: 40px !important; padding: 0 !important; border: 0 !important;
    background: transparent !important; color: transparent !important; font-size: 0 !important; cursor: pointer;
  }
  .main-nav-container .clasy-head-search .s-search-input::placeholder { color: transparent !important; }
  .main-nav-container salla-search.clasy-head-search .s-search-icon-wrap {
    position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
    width: 40px !important; height: 40px !important; margin: 0 !important; transform: none !important;
    display: flex !important; align-items: center; justify-content: center; pointer-events: none;
  }
  .main-nav-container .clasy-head-search .s-search-icon svg { width: 22px; height: 22px; fill: var(--clasy-ink); }
}

/* ---------- 2026-12-06 owner review: product rows on phones showed one 250 px card and a sliver, with 48 px of arrow
   padding on one side only. Two cards per view (the approved two-column look), even padding. ---------- */
@media (max-width: 767px) {
  salla-products-slider .swiper.s-slider-container {
    padding: 0 !important;
    margin: 0 !important;
  }
  salla-products-slider .s-products-slider-card.swiper-slide {
    width: calc((100% - 12px) / 2.15) !important;
    padding: 0 !important;
    margin-inline-end: 12px;
  }
  salla-products-slider .s-products-slider-card.swiper-slide:last-child { margin-inline-end: 0; }
  salla-products-slider custom-salla-product-card .s-product-card-content-title,
  salla-products-slider custom-salla-product-card .s-product-card-content-title a { font-size: 14px; line-height: 1.45; }
  salla-products-slider custom-salla-product-card .s-product-card-content-subtitle { font-size: 12.5px; }
}

/* ---------- 2026-12-06 owner review: trust strip (Raed «مميزات المتجر») = one even row of three on phones
   (Raed drew card 1 full width and cards 2-3 half width), and section titles never push «عرض الكل» onto two lines. ---------- */
@media (max-width: 767px) {
  .s-block--features > .grid,
  section.s-block--features > div.grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .s-block--features__item {
    grid-column: auto !important;
    width: auto !important;
    padding: 12px 6px !important;
    min-height: 0 !important;
    margin: 0 !important;
  }
  .s-block--features__item .feature-icon,
  .s-block--features__item i,
  .s-block--features__item [class*=icon] { width: 40px !important; height: 40px !important; font-size: 20px !important; margin: 0 auto 6px !important; }
  .s-block--features__item h2,
  .s-block--features__item h3,
  .s-block--features__item .feature-title { font-size: 13px !important; line-height: 1.35 !important; margin: 0 0 2px !important; }
  .s-block--features__item p { font-size: 11px !important; line-height: 1.4 !important; }
  .s-slider-block__title h2 { font-size: 20px !important; }
}
.s-slider-block__title { align-items: flex-end; gap: 12px; }
.s-slider-block__title-right { min-width: 0; flex: 1 1 auto; }
.s-slider-block__title-left,
.s-slider-block__title-left a,
.s-slider-block__title-nav a { white-space: nowrap; flex: none; }

/* ---------- 2026-12-06 owner review: product page. The «رقم الموديل» row showed a broken icon («!!!!!!») and is not in our
   approved product page; Salla's related row «منتجات قد تعجبك» returns no products for our catalogue, so only its title showed. ---------- */
.product-single .product-sku-wrapper { display: none !important; }
/* (fixed 12-06: a :has() inside :has() is not allowed, so Chrome dropped the whole two-selector rule) */
salla-products-slider[source="related"]:not(:has(.s-product-card-entry)) { display: none !important; }
.container:has(> salla-products-slider[source="related"]):not(:has(.s-product-card-entry)) { display: none !important; }
/* store reviews block (Salla «آراء العملاء» on category pages): keep the review, drop Salla's default cartoon «avatar_male» */
.s-block--testimonials .s-reviews-testimonial__avatar { display: none !important; }

/* ---------- 2026-12-06 owner review, batch 2 (prep-20261206/visual/FLAWS.json items 5, 12, 13, 16, 17, 20, 23, 28) ---------- */

/* 13: announcement bar, phones: one calmer line where it fits (it wrapped to 2 lines, 61 px, with a big ×) */
@media (max-width: 767px) {
  .s-advertisement { font-size: 12.5px !important; line-height: 1.35 !important; padding-top: 7px !important; padding-bottom: 7px !important; }
  .s-advertisement .s-advertisement-close, .s-advertisement [class*=close] { transform: scale(.8); }
}

/* 16: the final «ي» lost its dots in Salla's own components (search placeholder «ابحثى», offer title «اشترى»): our font there too */
salla-search .s-search-input,
salla-search .s-search-input::placeholder,
salla-offer, salla-offer *:not([class*="sicon-"]),
.s-offer-wrapper, .s-offer-wrapper *:not([class*="sicon-"]),
salla-product-offers, salla-product-offers *:not([class*="sicon-"]) { font-family: var(--clasy-font) !important; }
/* (fixed 12-06: without :not(), the rule also took the icon font from Salla's gift icon in «عروض هذا المنتج», which then
   showed an empty box) */

/* 17: price row and cart button on one line across neighbouring cards */
.s-product-card-content-subtitle { -webkit-line-clamp: 1 !important; line-clamp: 1; }
.s-product-card-vertical .s-product-card-content { display: grid !important; grid-template-rows: 1fr auto !important; }
.s-product-card-vertical .s-product-card-content-sub,
.s-product-card-vertical .s-product-card-content-footer { align-self: end; }


/* 23: category title «العناية بالجسم - 9 منتجات» broke into two lines beside the sort button: title on its own line */
@media (max-width: 639px) {
  .container--products-list .main-content > .flex:has(> #page-main-title) { flex-wrap: wrap; gap: 10px; }
  #page-main-title { flex: 1 1 100%; }
}

/* 20: footer: an empty band (empty social list / app icons) before the copyright line */
.store-footer .contact-social:not(:has(li)) { display: none; }
.store-footer salla-apps-icons:not(:has(img, a)) { display: none; }

/* 12: Salla's cashback box «كاش باك عند شراء هذا المنتج» was the only purple thing on the page (box 10% purple, dark-purple
   icon circle, purple amount): our mint box, teal circle with its white star, teal amount. Nothing hidden. */
salla-cashback-banner .s-cashback-banner-container { background: var(--clasy-primary-soft) !important; border-color: var(--clasy-border) !important; }
salla-cashback-banner .s-cashback-banner-icon { background: var(--clasy-primary) !important; }
salla-cashback-banner .s-cashback-banner-value, salla-cashback-banner .s-cashback-banner-value i { color: var(--clasy-primary-deep) !important; }

/* 5: hero banner: one full-width slide (phone 390, computer 1351), no slivers of the neighbouring slides at the edges.
   Checked after the slider moves (show-apply/audit-banner): the active slide stays at x=0, full width. */
.s-block--photos-slider salla-slider .swiper.s-slider-container { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
.s-block--photos-slider salla-slider .swiper-slide { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

/* ---------- 2026-12-06 owner review: the dots under «ي» were cut in «اشترى 2…», «أضيفى للسلة», «ابحثى». Not the font
   (Readex Pro draws them at every weight: show-apply/font-test.png): Salla's boxes hide overflow with a line box shorter
   than the letters (offer title 14px in 17.5px, button text 18px in 20px, search 16px in 20px). Give the dots room;
   the button keeps its size (padding/negative margin only widen the clip box). ---------- */
.s-offer-card-title { line-height: 1.6 !important; }
.s-button-text { padding-top: 4px; padding-bottom: 4px; margin-top: -4px; margin-bottom: -4px; }
salla-search .s-search-input { line-height: 1.6 !important; }
.s-product-card-content-title a { line-height: 1.55 !important; }