/* ============================================================
   Regal look for the Raed (Twig) theme — matches the Figma file
   "Regal › Store Theme".
   ============================================================ */

:root {
  --rg-agarwood: #2e1d15;
  --rg-agarwood-2: #45302a;
  --rg-ivory: #f1ebe1;
  --rg-page: #f7f2ea;
  --rg-sunken: #ede5d8;
  --rg-card: #fffdf9;
  --rg-brass: #a6885a;
  --rg-brass-text: #7d6440;
  --rg-ember: #9e4724;
  --rg-text: #2e1d15;
  --rg-text-2: #5e534b;
  --rg-muted: #6f655d;
  --rg-on-dark: #f1ebe1;
  --rg-on-dark-muted: #b3a89e;
  --rg-border: #e2d8c9;
  --rg-border-dark: #5a4535;
  --rg-rating: #c9a15b;
  --rg-font: var(--font-main, 'PingARLT'), system-ui, sans-serif; /* follows the font picked in خيارات التصميم */
  --color-primary: #2e1d15;
  --color-primary-dark: #1f130d;
  --color-primary-light: #ede5d8;
  --color-primary-reverse: #f1ebe1;
}

/* ---------- base ---------- */
body, body.theme-raed, .app-inner { background: var(--rg-page) !important; color: var(--rg-text); }
body, body *:not(i):not([class*="sicon"]):not(.sicon):not([class^="sicon-"]) { font-family: var(--rg-font) !important; }
a { transition: color .2s ease; }
.container { max-width: 1248px; }
h1, h2, h3, .s-block__title h2, .s-slider-block__title h2 { color: var(--rg-text); }

/* ---------- header ---------- */
.store-header .top-navbar { background: var(--rg-sunken) !important; color: var(--rg-text) !important; border-bottom: 1px solid var(--rg-border); }
.store-header .top-navbar a, .store-header .top-navbar .s-contacts-topnav-link, .store-header .top-navbar salla-menu a { color: var(--rg-text-2) !important; font-size: 13px; }
.store-header .top-navbar a:hover { color: var(--rg-text) !important; }
.store-header .top-navbar .s-search-input, .store-header .s-search-input { background: var(--rg-card) !important; border: 1px solid var(--rg-border) !important; border-radius: 999px !important; color: var(--rg-text) !important; height: 40px; }
.store-header .top-navbar .header-buttons button, .store-header .top-navbar salla-localization-modal button { background: transparent !important; color: var(--rg-text) !important; border: 1px solid var(--rg-border) !important; border-radius: 999px !important; }
#mainnav, #mainnav .inner, .main-nav-container { background: var(--rg-page) !important; box-shadow: none !important; border-bottom: 1px solid var(--rg-border); }
#mainnav .navbar-brand img { max-height: 52px; width: auto; }
#mainnav .main-menu > li > a, #mainnav .main-menu > li.root-level > a { color: var(--rg-text) !important; font-size: 15px; font-weight: 500; }
#mainnav .main-menu > li > a:hover { color: var(--rg-brass-text) !important; }
#mainnav .sub-menu, #mainnav .main-menu .sub-menu { background: var(--rg-card) !important; border: 1px solid var(--rg-border); border-radius: 16px; }
.store-header .header-btn, #mainnav salla-user-menu button, #mainnav salla-cart-summary .s-cart-summary-wrapper, #mainnav .s-cart-summary-wrapper { color: var(--rg-text) !important; }
#mainnav .s-cart-summary-count { background: var(--rg-ember) !important; color: #fff !important; }
#mainnav .s-user-menu-avatar-wrap, #mainnav .s-cart-summary-wrapper { border-color: var(--rg-border) !important; }
.mburger i { color: var(--rg-text) !important; }

/* ---------- buttons ---------- */
.s-button-primary, .s-button-btn.s-button-primary, .btn--primary, .s-button-solid.s-button-primary { background: var(--rg-agarwood) !important; color: var(--rg-ivory) !important; border-color: var(--rg-agarwood) !important; border-radius: 999px !important; }
.s-button-primary-outline, .s-button-outline.s-button-primary-outline { border-color: var(--rg-agarwood) !important; color: var(--rg-agarwood) !important; border-radius: 999px !important; }
.s-button-primary-outline:hover { background: var(--rg-agarwood) !important; color: var(--rg-ivory) !important; }

/* ---------- product cards ---------- */
.s-product-card-entry { background: var(--rg-card) !important; border: 1px solid var(--rg-border) !important; border-radius: 16px !important; padding: 10px !important; box-shadow: none !important; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.s-product-card-entry .s-product-card-image { border-radius: 12px !important; overflow: hidden; background: var(--rg-sunken) !important; aspect-ratio: 1 / 1; height: auto !important; }
.s-product-card-entry .s-product-card-image img { width: 100%; height: 100%; object-fit: cover !important; }
.s-product-card-entry .s-product-card-wishlist-btn button, .s-product-card-entry .s-product-card-wishlist-btn .s-button-element { background: #fff !important; border: 0 !important; color: var(--rg-text) !important; width: 34px; height: 34px; border-radius: 999px !important; box-shadow: 0 1px 2px rgba(46,29,21,.08); }
.s-product-card-entry .s-product-card-content { padding: 12px 4px 2px !important; display: flex; flex-direction: column; flex: 1; text-align: start; }
.s-product-card-entry .s-product-card-content-title a, .s-product-card-entry .s-product-card-content-title { color: var(--rg-text) !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.6; }
.s-product-card-entry .s-product-card-content-subtitle { color: var(--rg-muted) !important; font-size: 12px !important; order: -1; }
.s-product-card-entry .s-product-card-price, .s-product-card-entry .s-product-card-sale-price h4 { color: var(--rg-text) !important; font-weight: 700 !important; font-size: 17px !important; }
.s-product-card-entry .s-product-card-sale-price span { color: var(--rg-muted) !important; }
.s-product-card-entry .s-product-card-content-footer { margin-top: auto; padding-top: 12px; }
.s-product-card-entry .s-product-card-content-footer .s-button-element { background: var(--rg-agarwood) !important; color: var(--rg-ivory) !important; border: 0 !important; border-radius: 999px !important; height: 42px; font-weight: 500; }
.s-product-card-entry .s-product-card-content-footer .s-button-element:hover { background: var(--rg-agarwood-2) !important; }
.s-product-card-entry .s-product-card-promotion-title, .s-product-card-entry .s-product-card-promotion { background: var(--rg-ember) !important; color: #fff !important; border-radius: 999px !important; font-size: 12px; }
.s-product-card-entry salla-rating-stars .s-rating-stars-selected, .s-product-card-entry .sicon-star2 { color: var(--rg-rating) !important; }

/* sliders & section titles */
.s-slider-block__title h2, .s-block__title h2 { font-size: 30px !important; font-weight: 600 !important; color: var(--rg-text) !important; }
.s-slider-block__display-all { color: var(--rg-brass-text) !important; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.s-slider-block__title-nav button, .s-slider-nav-arrow { border: 1px solid var(--rg-brass) !important; background: transparent !important; color: var(--rg-text) !important; border-radius: 999px !important; width: 36px; height: 36px; }

/* ---------- footer ---------- */
footer.store-footer, .store-footer .store-footer__inner, .store-footer > div { background: var(--rg-agarwood) !important; color: var(--rg-on-dark-muted) !important; }
.store-footer h3, .store-footer .footer-title, .store-footer strong { color: var(--rg-on-dark) !important; font-weight: 500; }
.store-footer a, .store-footer p, .store-footer span, .store-footer li { color: var(--rg-on-dark-muted) !important; }
.store-footer a:hover { color: var(--rg-on-dark) !important; }
.store-footer .border-t, .store-footer hr, .store-footer [class*="border"] { border-color: var(--rg-border-dark) !important; }
.store-footer .s-social-link, .store-footer salla-social a { border: 1px solid var(--rg-border-dark) !important; border-radius: 999px !important; color: var(--rg-on-dark) !important; background: transparent !important; }
.store-footer .navbar-brand img, .store-footer img.logo { filter: brightness(0) invert(.92) sepia(.15); }

/* ---------- Regal home sections (built by the custom JavaScript) ---------- */
body.rg-home #main-content > section.s-block { display: none !important; }
.rg { color: var(--rg-text); }
.rg * { box-sizing: border-box; }
.rg-wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.rg-sec { padding: 64px 0; }
.rg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.rg-head h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.3; }
.rg-head .rg-head-start { display: flex; align-items: center; gap: 16px; }
.rg-link { color: var(--rg-brass-text); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.rg-link:hover { color: var(--rg-text); }
.rg-eyebrow { display: block; font-size: 13px; color: var(--rg-brass-text); margin-bottom: 10px; }
.rg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 500; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.rg-btn--brass { background: var(--rg-brass); color: var(--rg-agarwood); }
.rg-btn--brass:hover { background: #b89a6a; }
.rg-btn--ghost { border-color: rgba(241,235,225,.7); color: var(--rg-on-dark); }
.rg-btn--ghost:hover { background: rgba(241,235,225,.12); }
.rg-btn--dark { background: var(--rg-agarwood); color: var(--rg-ivory); }
.rg-btn--dark:hover { background: var(--rg-agarwood-2); }
.rg-arrows { display: flex; gap: 8px; }
.rg-arrow { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--rg-brass); background: transparent; color: var(--rg-text); display: grid; place-items: center; cursor: pointer; }
.rg-arrow:hover { background: var(--rg-agarwood); color: var(--rg-ivory); border-color: var(--rg-agarwood); }
.rg-arrow svg { width: 16px; height: 16px; }

/* hero */
.rg-hero { position: relative; min-height: 620px; display: flex; align-items: center; color: var(--rg-on-dark); background: var(--rg-agarwood) center/cover no-repeat; overflow: hidden; }
.rg-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(30,18,12,.92) 0%, rgba(30,18,12,.78) 38%, rgba(30,18,12,.15) 70%, rgba(30,18,12,0) 100%); }
[dir="ltr"] .rg-hero::before { background: linear-gradient(to right, rgba(30,18,12,.92) 0%, rgba(30,18,12,.78) 38%, rgba(30,18,12,.15) 70%, rgba(30,18,12,0) 100%); }
.rg-hero .rg-wrap { position: relative; z-index: 1; }
.rg-hero__body { max-width: 440px; }
.rg-hero .rg-eyebrow { color: var(--rg-brass); }
.rg-hero h2 { margin: 0 0 18px; font-size: clamp(40px, 6vw, 72px); font-weight: 600; line-height: 1.15; color: var(--rg-on-dark); }
.rg-hero p { margin: 0 0 30px; font-size: 17px; line-height: 1.9; color: rgba(241,235,225,.82); }
.rg-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* announcement */
.rg-announce { background: var(--rg-agarwood); color: var(--rg-on-dark); min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; padding: 10px 16px; text-align: center; }
.rg-announce svg { width: 18px; height: 18px; color: var(--rg-brass); flex: none; }
.rg-announce small { font-size: .9em; opacity: .75; white-space: nowrap; }

/* product rails */
.rg-rail salla-products-slider .s-slider-block__title { display: none !important; }
.rg-rail .swiper-slide { height: auto; }
.rg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 26px; }
.rg-chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rg-border); background: var(--rg-card); color: var(--rg-text); font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; transition: background .2s, color .2s; }
.rg-chip.is-active, .rg-chip:hover { background: var(--rg-agarwood); color: var(--rg-ivory); border-color: var(--rg-agarwood); }

/* promo */
.rg-promo { position: relative; border-radius: 16px; overflow: hidden; min-height: 340px; display: flex; align-items: center; background: #120b07 center/cover no-repeat; color: var(--rg-on-dark); }
.rg-promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(18,11,7,.85) 0%, rgba(18,11,7,.55) 45%, rgba(18,11,7,0) 80%); }
[dir="ltr"] .rg-promo::before { background: linear-gradient(to right, rgba(18,11,7,.85) 0%, rgba(18,11,7,.55) 45%, rgba(18,11,7,0) 80%); }
.rg-promo__body { position: relative; z-index: 1; padding: 40px 48px; max-width: 520px; }
.rg-promo .rg-eyebrow { color: var(--rg-brass); }
.rg-promo h2 { margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; color: var(--rg-on-dark); line-height: 1.3; }
.rg-promo p { margin: 0 0 24px; color: rgba(241,235,225,.8); font-size: 16px; }

/* categories */
.rg-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rg-tile { position: relative; display: block; border-radius: 16px; overflow: hidden; min-height: 300px; background: var(--rg-sunken) center/cover no-repeat; color: var(--rg-on-dark); }
.rg-tile--wide { grid-column: 1 / -1; min-height: 320px; }
.rg-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,18,12,.72) 0%, rgba(30,18,12,.15) 55%, rgba(30,18,12,0) 100%); transition: background .3s; }
.rg-tile:hover::before { background: linear-gradient(to top, rgba(30,18,12,.82) 0%, rgba(30,18,12,.25) 60%, rgba(30,18,12,.05) 100%); }
.rg-tile__txt { position: absolute; inset-inline-start: 24px; bottom: 22px; z-index: 1; }
.rg-tile__txt strong { display: block; font-size: 28px; font-weight: 600; color: var(--rg-on-dark); }
.rg-tile__txt span { font-size: 13px; color: rgba(241,235,225,.85); }
.rg-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.rg-pill { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rg-border); background: var(--rg-card); color: var(--rg-text); font-size: 13px; display: inline-flex; align-items: center; }
.rg-pill:hover { border-color: var(--rg-agarwood); }

/* circles */
.rg-circles { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rg-circles::-webkit-scrollbar { display: none; }
.rg-circle { flex: 0 0 auto; width: 150px; text-align: center; scroll-snap-align: start; color: var(--rg-text); }
.rg-circle__img { width: 150px; height: 150px; border-radius: 999px; overflow: hidden; background: var(--rg-sunken); border: 1px solid var(--rg-border); margin-bottom: 12px; transition: transform .3s; }
.rg-circle__img img { width: 100%; height: 100%; object-fit: cover; }
.rg-circle:hover .rg-circle__img { transform: translateY(-3px); }
.rg-circle span { font-size: 15px; font-weight: 500; }

/* featured product */
.rg-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rg-feature__img { border-radius: 16px; overflow: hidden; background: var(--rg-sunken); aspect-ratio: 560 / 520; }
.rg-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.rg-feature h2 { margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; line-height: 1.25; }
.rg-feature h2 a { color: inherit; }
.rg-feature p { margin: 0 0 22px; color: var(--rg-text-2); font-size: 16px; line-height: 1.9; }
.rg-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.rg-note { background: var(--rg-card); border: 1px solid var(--rg-border); border-radius: 12px; padding: 14px 16px; }
.rg-note small { display: block; font-size: 12px; color: var(--rg-muted); margin-bottom: 4px; }
.rg-note b { font-size: 14px; font-weight: 600; }
.rg-feature__buy { display: flex; align-items: center; gap: 18px; }
.rg-feature__price { font-size: 24px; font-weight: 700; }
.rg-feature__buy salla-add-product-button .s-button-element { background: var(--rg-agarwood) !important; color: var(--rg-ivory) !important; border-radius: 999px !important; height: 46px; padding: 0 26px; border: 0 !important; }

/* brand story */
.rg-story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rg-story__img { border-radius: 16px; overflow: hidden; aspect-ratio: 560 / 600; background: var(--rg-agarwood) center/cover no-repeat; }
.rg-story h2 { margin: 0 0 16px; font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; }
.rg-story > div > p { margin: 0 0 8px; color: var(--rg-text-2); font-size: 16px; line-height: 1.9; }
.rg-feats { list-style: none; margin: 18px 0 22px; padding: 0; }
.rg-feats li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--rg-border); }
.rg-feats li:last-child { border-bottom: 1px solid var(--rg-border); }
.rg-feats .rg-ico { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--rg-sunken); display: grid; place-items: center; color: var(--rg-text); }
.rg-feats .rg-ico svg { width: 18px; height: 18px; }
.rg-feats b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.rg-feats span { font-size: 14px; color: var(--rg-text-2); }

/* trust */
.rg-trust h2 { text-align: center; margin: 0 0 32px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; }
.rg-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rg-trust__item { background: var(--rg-card); border: 1px solid var(--rg-border); border-radius: 16px; padding: 28px 20px; text-align: center; }
.rg-trust__item svg { width: 26px; height: 26px; color: var(--rg-brass); margin-bottom: 12px; }
.rg-trust__item b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.rg-trust__item span { font-size: 13px; color: var(--rg-text-2); }

/* club */
.rg-club { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--rg-on-dark); background: #120b07 center/cover no-repeat; }
.rg-club::before { content: ""; position: absolute; inset: 0; background: rgba(18,11,7,.72); }
.rg-club .rg-wrap { position: relative; z-index: 1; }
.rg-club .rg-eyebrow { color: var(--rg-brass); }
.rg-club h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 46px); font-weight: 600; color: var(--rg-on-dark); }
.rg-club p { margin: 0 0 28px; color: rgba(241,235,225,.78); font-size: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .rg-feature, .rg-story { grid-template-columns: 1fr; gap: 28px; }
  .rg-trust__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 767px) {
  .rg-wrap { padding: 0 20px; }
  .rg-sec { padding: 44px 0; }
  .rg-hero { min-height: 520px; align-items: flex-end; padding-bottom: 40px; background-position: 30% center; }
  .rg-hero::before { background: linear-gradient(to top, rgba(30,18,12,.95) 0%, rgba(30,18,12,.75) 45%, rgba(30,18,12,.2) 100%); }
  .rg-hero h2 { font-size: 42px; }
  .rg-hero p { font-size: 15px; }
  .rg-hero__ctas .rg-btn { flex: 1; }
  .rg-announce { font-size: 13px; }
  .rg-head h2 { font-size: 24px; }
  .rg-promo { min-height: 300px; align-items: flex-end; }
  .rg-promo::before { background: linear-gradient(to top, rgba(18,11,7,.9) 0%, rgba(18,11,7,.5) 60%, rgba(18,11,7,.1) 100%); }
  .rg-promo__body { padding: 28px 24px; }
  .rg-tiles { grid-template-columns: 1fr; gap: 14px; }
  .rg-tile, .rg-tile--wide { min-height: 200px; }
  .rg-circles { gap: 16px; }
  .rg-circle { width: 104px; }
  .rg-circle__img { width: 104px; height: 104px; }
  .rg-circle span { font-size: 13px; }
  .rg-notes { gap: 8px; }
  .rg-note { padding: 10px; }
  .rg-trust__item { padding: 20px 12px; }
  .rg-club { min-height: 400px; }
  .s-slider-block__title h2 { font-size: 24px !important; }
}
/* ---------- fixes after the first preview ---------- */
#mainnav .navbar-brand img { content: url("https://cdn.files.salla.network/other/2067420025/62a806d3-32cd-4e6f-9ce6-fc1603901277-original.webp"); width: auto !important; height: auto !important; filter: brightness(0) saturate(100%) invert(10%) sepia(25%) saturate(1800%) hue-rotate(340deg) brightness(.9); }
.rg-hero__body { max-width: 560px; }
.rg-promo__body { max-width: 640px; }
.rg-promo { background-position: center 75%; }
.rg-club h2, .rg-promo h2, .rg-hero h2 { line-height: 1.3; }
body.rg-home footer.store-footer { margin-top: 0 !important; }
.s-product-card-entry .s-product-card-image { height: auto !important; aspect-ratio: 1 / 1 !important; }
.s-product-card-entry .s-product-card-image > a { display: block; height: 100%; }
.s-product-card-entry .s-product-card-image img { height: 100% !important; max-height: none !important; }
/* layout: image on the left on desktop, like the Figma frames */
@media (min-width: 1024px) {
  .rg-feature__img, .rg-story__img { order: 2; }
}
.rg-link { white-space: nowrap; }
@media (max-width: 767px) {
  .rg-head .rg-arrows { display: none; }
  .rg-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .rg-pills::-webkit-scrollbar { display: none; }
  .rg-pill { flex: none; }
}
/* =========================================================
   Regal — inner pages (category, product, cart, content pages)
   ========================================================= */

/* shared */
.s-breadcrumb-wrapper, .s-breadcrumb-item, .s-breadcrumb-item a { color: var(--rg-muted) !important; font-size: 13px !important; }
.s-breadcrumb-item:last-child { color: var(--rg-text) !important; }
.s-breadcrumb-arrow svg { width: 12px; fill: var(--rg-muted); }
#main-content .form-input, #main-content select, #main-content .s-form-control { background-color: var(--rg-card) !important; border: 1px solid var(--rg-border) !important; border-radius: 999px !important; color: var(--rg-text) !important; min-height: 44px; }
#main-content textarea.s-form-control, #main-content textarea { border-radius: 14px !important; }
.s-infinite-scroll-btn, .btn--outline-primary { background: transparent !important; color: var(--rg-text) !important; border: 1px solid var(--rg-text) !important; border-radius: 999px !important; height: 44px; padding: 0 28px !important; }
.s-infinite-scroll-btn:hover, .btn--outline-primary:hover { background: var(--rg-agarwood) !important; color: var(--rg-ivory) !important; }
.no-content-placeholder { background: var(--rg-card); border: 1px solid var(--rg-border); border-radius: 16px; padding: 48px 24px; }
.no-content-placeholder .icon { color: var(--rg-brass) !important; }

/* ---------- category / product list ---------- */
.rg-cat-hero { position: relative; border-radius: 16px; overflow: hidden; min-height: 232px; display: flex; align-items: center; background: var(--rg-agarwood) center/cover no-repeat; color: var(--rg-on-dark); margin-bottom: 24px; }
.rg-cat-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(30,18,12,.85) 0%, rgba(30,18,12,.55) 45%, rgba(30,18,12,.15) 100%); }
[dir="ltr"] .rg-cat-hero::before { background: linear-gradient(to right, rgba(30,18,12,.85) 0%, rgba(30,18,12,.55) 45%, rgba(30,18,12,.15) 100%); }
.rg-cat-hero__body { position: relative; z-index: 1; padding: 32px 40px; max-width: 620px; }
.rg-cat-hero h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 44px); font-weight: 600; color: var(--rg-on-dark) !important; line-height: 1.25; }
.rg-cat-hero p { margin: 0; font-size: 16px; color: rgba(241,235,225,.82); line-height: 1.8; }
.rg-cat-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 20px; border-bottom: 1px solid var(--rg-border); margin-bottom: 20px; }
.rg-cat-chips::-webkit-scrollbar { display: none; }
.rg-cat-chips a { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rg-border); background: var(--rg-card); color: var(--rg-text); font-size: 14px; display: inline-flex; align-items: center; transition: background .2s, color .2s; }
.rg-cat-chips a:hover, .rg-cat-chips a.is-active { background: var(--rg-agarwood); color: var(--rg-ivory); border-color: var(--rg-agarwood); }
body.product-index #page-main-title { font-size: 26px !important; font-weight: 600 !important; color: var(--rg-text) !important; }
body.product-index #page-main-title span { color: var(--rg-muted); font-weight: 400; font-size: 15px; }
body.product-index .container--products-list .main-content > div:first-child { padding-bottom: 16px; border-bottom: 1px solid var(--rg-border); margin-bottom: 24px !important; }
body.product-index label[for="product-filter"], body.product-index .container--products-list label { color: var(--rg-text-2); font-size: 14px; }
body.product-index #product-filter { padding-inline: 18px 40px !important; height: 44px; }
.s-products-list-vertical-cards { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px !important; }
.s-products-list-vertical-cards > * { width: auto !important; margin: 0 !important; }
salla-filters, .s-filters-wrapper { background: var(--rg-card) !important; border: 1px solid var(--rg-border) !important; border-radius: 16px !important; padding: 20px !important; }
.s-infinite-scroll-wrapper { margin-top: 32px; text-align: center; }

/* ---------- product page ---------- */
body.product-single .container--product-details { margin-top: 8px; }
body.product-single .details-slider { border-radius: 16px !important; overflow: hidden; background: var(--rg-sunken); }
body.product-single .details-slider .swiper-slide img { border-radius: 16px; object-fit: cover; }
body.product-single .details-slider .s-slider-thumbs img, body.product-single .details-slider [class*="thumb"] img { border-radius: 12px !important; border: 1px solid var(--rg-border); }
body.product-single .details-slider .swiper-slide-thumb-active img { border-color: var(--rg-agarwood) !important; }
body.product-single .main-content > h1 { font-size: clamp(30px, 3.4vw, 42px) !important; font-weight: 600 !important; color: var(--rg-text) !important; line-height: 1.3 !important; margin-bottom: 8px !important; }
body.product-single .product-entry__sub-title { color: var(--rg-muted) !important; font-size: 13px !important; margin-bottom: 14px; }
body.product-single .main-content > small { color: var(--rg-muted) !important; font-size: 12px; display: block; }
body.product-single .main-content > .flex p.font-bold { font-size: 28px !important; color: var(--rg-text) !important; font-weight: 700 !important; }
body.product-single .main-content .text-red-800 { color: var(--rg-ember) !important; }
body.product-single .product__description { padding: 0 !important; margin: 16px 0 20px !important; color: var(--rg-text-2) !important; font-size: 16px; line-height: 1.9 !important; }
body.product-single .product__description * { color: var(--rg-text-2) !important; }
body.product-single .btn--wishlist .s-button-element, body.product-single .s-social-share-btn .s-button-element { background: var(--rg-card) !important; border: 1px solid var(--rg-border) !important; color: var(--rg-text) !important; border-radius: 999px !important; width: 44px; height: 44px; }
body.product-single salla-installment > div, body.product-single #tabbyPromoWrapper, body.product-single .s-installment-madfu-wrapper { background: var(--rg-card); border: 1px solid var(--rg-border); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
body.product-single .s-product-options-option-label { color: var(--rg-text) !important; font-weight: 600 !important; font-size: 15px !important; }
body.product-single .s-product-options-option-container { margin-bottom: 16px; }
body.product-single .s-product-options-option-content label, body.product-single .s-product-options-thumbnails-item, body.product-single .s-product-options-colors-item label { border-radius: 14px !important; }
body.product-single .s-product-options-option-content input[type="radio"] + label, body.product-single .s-product-options-option-content .s-form-control-radio-label { border: 1px solid var(--rg-border); border-radius: 14px !important; padding: 10px 18px; background: var(--rg-card); }
body.product-single .s-product-options-option-content input[type="radio"]:checked + label { border: 2px solid var(--rg-agarwood); background: var(--rg-sunken); }
body.product-single .sticky-product-bar { background: transparent !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
.s-quantity-input, body.product-single .s-quantity-input, body.cart .s-quantity-input { border: 1px solid var(--rg-border) !important; border-radius: 999px !important; background: var(--rg-card) !important; overflow: hidden; }
.s-quantity-input-button { color: var(--rg-text) !important; background: transparent !important; }
.s-quantity-input-input { background: transparent !important; color: var(--rg-text) !important; font-weight: 600; border: 0 !important; }
body.product-single .sticky-product-bar__btn .s-add-product-button-main .s-button-element, body.product-single .sticky-product-bar__btn > .s-button-wrap .s-button-element { background: var(--rg-agarwood) !important; color: var(--rg-ivory) !important; border: 0 !important; border-radius: 999px !important; height: 54px; font-size: 16px; font-weight: 500; }
body.product-single .s-add-product-button-mini-checkout .s-button-element, body.product-single salla-mini-checkout-widget button { background: transparent !important; color: var(--rg-text) !important; border: 1px solid var(--rg-text) !important; border-radius: 999px !important; height: 50px; }
body.product-single salla-mini-checkout-widget button:hover { background: var(--rg-agarwood) !important; color: var(--rg-ivory) !important; }
body.product-single .s-tabs-header, body.product-single .tabs-wrapper { border-color: var(--rg-border) !important; }
body.product-single .s-comments-item, body.product-single .s-comment-item, .s-comments .s-comments-item { background: var(--rg-card) !important; border: 1px solid var(--rg-border) !important; border-radius: 16px !important; }
body.product-single section.s-block .s-block__title h2, body.product-single .s-slider-block__title h2 { font-size: 30px !important; }

/* ---------- cart ---------- */
.rg-cart-title { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 8px; }
.rg-cart-title h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); font-weight: 600; color: var(--rg-text); }
.rg-cart-title span { color: var(--rg-muted); font-size: 15px; }
body.cart .cart-item { background: var(--rg-card) !important; border: 1px solid var(--rg-border) !important; border-radius: 16px !important; box-shadow: none !important; margin-bottom: 12px; }
body.cart .cart-item img { width: 80px !important; height: 80px !important; object-fit: cover; border-radius: 12px !important; background: var(--rg-sunken); border-color: var(--rg-border) !important; }
body.cart .cart-item h1, body.cart .cart-item h1 a { color: var(--rg-text) !important; font-size: 16px !important; font-weight: 500; }
body.cart .cart-item .item-total, body.cart .cart-item .text-primary { color: var(--rg-text) !important; font-size: 17px; }
body.cart .cart-item .border-gray-200 { border-color: var(--rg-border) !important; }
body.cart .shadow-default { background: var(--rg-card) !important; border: 1px solid var(--rg-border) !important; border-radius: 16px !important; box-shadow: none !important; }
body.cart .shadow-default .rounded-icon { background: transparent !important; color: var(--rg-success, #4a6b3a) !important; }
body.cart .shadow-default h4 { color: #4a6b3a !important; }
body.cart .progress-bg { background: #4a6b3a !important; }
body.cart .bg-border-color, body.cart .bg-gray-100 { background: var(--rg-sunken) !important; }
salla-cart-summary-card, .s-cart-summary-card { --s-radius: 16px; }
.s-cart-summary-card-sheet-wrap, .s-cart-summary-card-wrapper, salla-cart-summary-card > div { background: var(--rg-card) !important; border: 1px solid var(--rg-border) !important; border-radius: 16px !important; box-shadow: none !important; }
.s-cart-summary-card .s-button-element, body.cart #submit-cart, body.cart .s-cart-summary-card-submit button { background: var(--rg-agarwood) !important; color: var(--rg-ivory) !important; border: 0 !important; border-radius: 999px !important; height: 52px; font-size: 16px; }
.s-cart-summary-card [class*="total"] { color: var(--rg-text) !important; }
body.cart .s-gifting-widget, body.cart salla-gifting .s-list-tile-item { border-radius: 14px !important; }

/* ---------- content pages ---------- */
body.page-single .content--single-page { background: var(--rg-card) !important; border: 1px solid var(--rg-border); border-radius: 16px; padding: clamp(24px, 4vw, 48px) !important; }
body.page-single .content--single-page > h1 { font-size: clamp(30px, 4vw, 42px) !important; font-weight: 600 !important; color: var(--rg-text) !important; }
body.page-single .content-entry, body.page-single .content-entry p { color: var(--rg-text-2); line-height: 1.9; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .s-products-list-vertical-cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; }
}
@media (max-width: 767px) {
  .s-products-list-vertical-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .rg-cat-hero { min-height: 180px; }
  .rg-cat-hero__body { padding: 24px; }
  .s-product-card-entry .s-product-card-content-title, .s-product-card-entry .s-product-card-content-title a { font-size: 13px !important; }
  .s-product-card-entry .s-product-card-content-footer .s-button-element { height: 38px; font-size: 13px; }
  body.product-single .main-content > h1 { font-size: 28px !important; }
}
/* ---------- inner pages: fixes after preview ---------- */
body.product-index #rg-cat-hero { margin-top: 0 !important; }
body.product-index #rg-cat-hero + .container--products-list { margin-top: 0 !important; }
body.product-single salla-installment > div, body.product-single #tabbyPromoWrapper { background: transparent !important; border: 0 !important; padding: 0 !important; }
body.product-single salla-product-options, body.product-single .s-product-options-wrapper { background: transparent !important; padding: 0 !important; }
body.product-single form.product-form section.bg-white { background: transparent !important; padding: 0 !important; }
salla-cart-summary-card.s-cart-summary-card--desktop { display: block; background: var(--rg-card); border: 1px solid var(--rg-border); border-radius: 16px; padding: 20px; }
salla-cart-summary-card > div, .s-cart-summary-card-sheet-wrap, .s-cart-summary-card-bar, .s-cart-summary-card-action { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.s-cart-summary-card-bar { border-top: 1px solid var(--rg-border) !important; padding-top: 14px !important; margin-top: 10px; }
.s-cart-summary-card-sheet-title { font-size: 22px !important; font-weight: 600 !important; color: var(--rg-text) !important; }
.s-cart-summary-card-bar-total { font-size: 24px !important; color: var(--rg-text) !important; }
/* ---------- product page: options as pills, buy row, extras ---------- */
body.product-single .s-product-options-option-label { font-weight: 600 !important; color: var(--rg-text) !important; margin-bottom: 10px !important; }
body.product-single .s-product-options-colors-wrapper { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
body.product-single .s-product-options-colors-item { position: relative; }
body.product-single .s-product-options-colors-item label { flex-direction: row !important; width: auto !important; height: auto !important; min-height: 44px; padding: 10px 22px !important; border: 1px solid var(--rg-border) !important; border-radius: 999px !important; background: var(--rg-card) !important; cursor: pointer; align-items: center; justify-content: center; transition: border-color .15s, background .15s; }
body.product-single .s-product-options-colors-item label > span { display: none !important; }
body.product-single .s-product-options-colors-item label > div { font-size: 14px; font-weight: 500; color: var(--rg-text); margin: 0 !important; }
body.product-single .s-product-options-colors-item label:hover { border-color: var(--rg-brass) !important; }
body.product-single .s-product-options-colors-item input:checked + label { border-color: var(--rg-agarwood) !important; background: var(--rg-ivory) !important; box-shadow: inset 0 0 0 1px var(--rg-agarwood); }
body.product-single .s-product-options-colors-item input:focus-visible + label { outline: 2px solid var(--rg-brass); outline-offset: 2px; }
body.product-single .main-content > h1 { font-size: 34px !important; line-height: 1.3 !important; margin-bottom: 10px !important; }
@media (min-width: 768px) {
  body.product-single form.product-form section.bg-white { display: flex !important; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
  body.product-single form.product-form section.bg-white > .center-between.w-full { flex-basis: 100%; }
  body.product-single form.product-form .sticky-product-bar__quantity { margin: 0 !important; }
  body.product-single form.product-form .sticky-product-bar__quantity > label { display: none !important; }
  body.product-single form.product-form salla-add-product-button { flex: 1 1 240px; margin-top: 0 !important; }
}
.rg-pd-extras { margin-top: 22px; }
.rg-pd-trust { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid var(--rg-border); border-radius: 14px; background: var(--rg-card); }
.rg-pd-trust li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; font-size: 14px; color: var(--rg-text-2); }
.rg-pd-trust li + li { border-top: 1px solid var(--rg-border); }
.rg-pd-trust svg { width: 20px; height: 20px; flex: none; color: var(--rg-brass-text); }
.rg-acc { border-top: 1px solid var(--rg-border); }
.rg-acc:last-child { border-bottom: 1px solid var(--rg-border); }
.rg-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font-weight: 600; font-size: 16px; color: var(--rg-text); }
.rg-acc summary::-webkit-details-marker { display: none; }
.rg-acc summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--rg-text-2); }
.rg-acc[open] summary::after { content: '−'; }
.rg-acc p { margin: 0 0 16px; color: var(--rg-text-2); line-height: 1.9; font-size: 14px; }
/* ---------- Our Story page (Figma layout) ---------- */
body.rg-story-page .rg-story-original { display: none !important; }
#rg-story-page { color: var(--rg-text); }
#rg-story-page h1, #rg-story-page h2, #rg-story-page h3 { color: inherit; }
.rgs-hero { position: relative; min-height: 520px; display: flex; align-items: center; text-align: center; background: var(--rg-agarwood) center/cover no-repeat; color: var(--rg-ivory); }
.rgs-hero::before { content: ''; position: absolute; inset: 0; background: rgba(28, 17, 12, .58); }
.rgs-hero .rg-wrap { position: relative; }
.rgs-hero .rg-eyebrow { color: var(--rg-brass); }
#rg-story-page .rgs-hero h1 { margin: 0 0 14px; font-size: clamp(38px, 5vw, 60px); font-weight: 600; color: var(--rg-ivory); line-height: 1.2; }
.rgs-hero p { margin: 0 auto; max-width: 560px; font-size: 17px; line-height: 1.8; color: rgba(241, 235, 225, .85); }
.rgs-intro { padding: 96px 0 24px; }
.rgs-intro p { max-width: 840px; margin: 0 auto; text-align: center; font-size: 19px; line-height: 2; color: var(--rg-text); }
.rgs-split { padding: 72px 0 24px; }
.rgs-split .rg-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rgs-split--rev .rgs-split__img { order: 2; }
.rgs-split__img { aspect-ratio: 560 / 440; border-radius: 16px; background: var(--rg-sunken) center/cover no-repeat; }
.rgs-split__body h2 { margin: 0 0 16px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; line-height: 1.3; }
.rgs-split__body p { margin: 0; font-size: 17px; line-height: 1.9; color: var(--rg-text-2); }
.rgs-steps { padding: 96px 0 24px; }
.rgs-steps h2, .rgs-cta h2 { margin: 0 0 36px; text-align: center; font-size: clamp(26px, 3vw, 34px); font-weight: 600; }
.rgs-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rgs-step { background: var(--rg-card); border: 1px solid var(--rg-border); border-radius: 16px; padding: 28px 24px; }
.rgs-step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.rgs-step__ico svg { width: 28px; height: 28px; color: var(--rg-brass-text); display: block; }
.rgs-step__num { font-size: 30px; font-weight: 600; color: var(--rg-brass); line-height: 1; }
.rgs-step h3 { margin: 0 0 8px; font-size: 21px; font-weight: 600; }
.rgs-step p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--rg-text-2); }
.rgs-cta { padding: 96px 0; text-align: center; }
.rgs-cta h2 { margin-bottom: 22px; font-size: clamp(30px, 3.6vw, 42px); }
@media (max-width: 900px) {
  .rgs-split .rg-wrap { grid-template-columns: 1fr; gap: 28px; }
  .rgs-split--rev .rgs-split__img { order: 0; }
  .rgs-steps__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .rgs-hero { min-height: 420px; }
  .rgs-intro { padding-top: 56px; }
  .rgs-intro p { font-size: 17px; }
  .rgs-split, .rgs-steps { padding-top: 48px; }
  .rgs-cta { padding: 64px 0; }
}
@media (max-width: 480px) { .rgs-steps__grid { grid-template-columns: 1fr; } }
/* ---------- product buy box: match Figma ---------- */
body.product-single form.product-form .price-wrapper, body.product-single form.product-form section .center-between.w-full > label.form-label { display: none !important; }
body.product-single form.product-form section.bg-white:not(.sticky-product-bar) { padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
body.product-single form.product-form salla-quantity-input .s-quantity-input-container { height: 52px !important; width: 140px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 0 14px !important; border: 1px solid var(--rg-border) !important; border-radius: 999px !important; background: var(--rg-card) !important; box-shadow: none !important; }
body.product-single form.product-form salla-quantity-input .s-quantity-input-input { background: transparent !important; border: 0 !important; box-shadow: none !important; width: 40px !important; text-align: center !important; font-size: 17px !important; font-weight: 500 !important; color: var(--rg-text) !important; }
body.product-single form.product-form salla-quantity-input .s-quantity-input-button { background: transparent !important; border: 0 !important; color: var(--rg-text) !important; width: 28px !important; height: 28px !important; }
body.product-single form.product-form salla-add-product-button .s-button-element { height: 52px !important; border-radius: 999px !important; font-size: 16px !important; font-weight: 500 !important; }
body.product-single form.product-form salla-mini-checkout-widget { width: 100%; }
body.product-single form.product-form salla-mini-checkout-widget .s-add-product-button-mini-checkout-content { border: 0 !important; background: transparent !important; }
body.product-single .s-product-options-option { display: block !important; }
body.product-single .s-product-options-option-label { display: block !important; }
body.product-single form.product-form apple-pay-button { --apple-pay-button-height: 52px; --apple-pay-button-border-radius: 26px; }
body.product-single form.product-form salla-mini-checkout-widget svg { display: none !important; }
body.product-single form.product-form salla-quick-buy, body.product-single form.product-form salla-quick-buy apple-pay-button { width: 100%; }
body.product-single form.product-form .rg-buy-wish .s-button-element { width: 52px !important; height: 52px !important; padding: 0 !important; border-radius: 999px !important; border: 1px solid var(--rg-border) !important; background: var(--rg-card) !important; color: var(--rg-text) !important; display: inline-flex !important; align-items: center; justify-content: center; }
body.product-single form.product-form .rg-buy-wish .s-button-element i { font-size: 20px; }
@media (min-width: 768px) {
  body.product-single form.product-form section.sticky-product-bar { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 12px !important; padding: 0 !important; background: transparent !important; }
  body.product-single form.product-form section.sticky-product-bar > .sticky-product-bar__quantity { order: 1; margin: 0 !important; flex: none; }
  body.product-single form.product-form section.sticky-product-bar salla-add-product-button,
  body.product-single form.product-form section.sticky-product-bar .s-add-product-button-main { display: contents !important; }
  body.product-single form.product-form section.sticky-product-bar .s-add-product-button-main > salla-button { order: 2; flex: 1 1 200px; margin: 0 !important; }
  body.product-single form.product-form section.sticky-product-bar > .rg-buy-wish { order: 3; flex: none; margin: 0 !important; }
  body.product-single form.product-form section.sticky-product-bar salla-mini-checkout-widget { order: 4; flex: 1 1 100%; margin: 0 !important; }
  body.product-single form.product-form section.sticky-product-bar salla-quick-buy { order: 5; flex: 1 1 100%; margin: 0 !important; }
}
.rg-pd-trust li { color: var(--rg-text); font-size: 15px; padding: 15px 18px; }
.rg-pd-trust svg { color: var(--rg-text); }
#rg-pd-extras salla-installment { display: block; margin: 0 0 20px; }

/* winter offer banner in the hero */
.rg-hero.rg-hero--banner { display: block; min-height: 0; padding: 0; background: #12505c; }
.rg-hero.rg-hero--banner::before { display: none; }
.rg-hero--banner picture, .rg-hero--banner img { display: block; width: 100%; height: auto; }

/* category tiles: taller wide tile so the new photos are not cropped */
@media (min-width: 768px) { .rg-tile--wide { min-height: 420px; background-position: center 65%; } }
/* ---------- help pages (Figma "FAQ & Policies") ---------- */
.rg-help-original { display: none !important; }
.rgh-head { padding: 56px 0 40px; text-align: center; }
.rgh-head h1 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.3; color: var(--rg-text); }
.rgh-search { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 52px; margin: 0 auto; padding: 0 20px; background: var(--rg-card); border: 1px solid var(--rg-border); border-radius: 999px; cursor: text; }
.rgh-search svg { width: 18px; height: 18px; color: var(--rg-muted); flex: none; }
.rgh-search input { flex: 1; min-width: 0; height: 100%; padding: 0 !important; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important; font-size: 15px; color: var(--rg-text); }
.rgh-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.rgh-nav { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 4px; padding: 20px 16px; background: var(--rg-card); border: 1px solid var(--rg-border); border-radius: 16px; }
.rgh-nav > span { padding: 0 12px 8px; font-size: 13px; color: var(--rg-muted); }
.rgh-nav a { display: block; padding: 12px; border-radius: 10px; font-size: 15px; color: var(--rg-text) !important; transition: background .2s; }
.rgh-nav a:hover { background: var(--rg-page); }
.rgh-nav a.is-active { background: var(--rg-sunken); font-weight: 600; }
.rgh-intro { margin-bottom: 8px; font-size: 16px; line-height: 1.95; color: var(--rg-text-2); }
.rgh-intro p, .rgh-a p { margin: 0 0 12px; }
.rgh-intro strong, .rgh-a strong { color: var(--rg-text); }
.rgh-q { border-bottom: 1px solid var(--rg-border); }
.rgh-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; line-height: 1.6; color: var(--rg-text); }
.rgh-q summary::-webkit-details-marker { display: none; }
.rgh-q__ico { position: relative; flex: none; width: 16px; height: 16px; }
.rgh-q__ico::before, .rgh-q__ico::after { content: ""; position: absolute; inset-inline: 0; top: 7px; height: 1.6px; border-radius: 2px; background: var(--rg-text-2); }
.rgh-q__ico::after { transform: rotate(90deg); transition: transform .2s; }
.rgh-q[open] .rgh-q__ico::after { transform: rotate(0deg); }
.rgh-a { padding: 0 0 22px; font-size: 16px; line-height: 1.95; color: var(--rg-text-2); }
.rgh-empty { padding: 24px 0; color: var(--rg-muted); }
.rgh-nav > span.rgh-nav__sub { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--rg-border); }
.rgh-cat { margin: 40px 0 4px; font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--rg-text); scroll-margin-top: 110px; }
.rgh-intro + .rgh-cat, .rgh-main > .rgh-cat:first-child { margin-top: 16px; }
.rgh-cta-wrap { padding: 40px 0 88px; }
.rgh-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 32px; border-radius: 20px; background: var(--rg-agarwood); color: var(--rg-on-dark); }
.rgh-cta h2 { margin: 0 0 8px; font-size: 28px; font-weight: 700; color: var(--rg-on-dark); }
.rgh-cta p { margin: 0; font-size: 15px; color: var(--rg-on-dark-muted); }
.rgh-cta .rg-btn svg { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .rgh-head { padding: 32px 0 24px; }
  .rgh-grid { grid-template-columns: 1fr; gap: 12px; }
  .rgh-nav { position: static; flex-direction: row; gap: 6px; padding: 6px; overflow-x: auto; scrollbar-width: none; }
  .rgh-nav::-webkit-scrollbar { display: none; }
  .rgh-nav > span { display: none; }
  .rgh-nav a { flex: none; padding: 10px 14px; white-space: nowrap; font-size: 14px; }
  .rgh-nav__sub ~ a { display: none; }
  .rgh-cat { margin-top: 28px; font-size: 19px; }
  .rgh-q summary { padding: 18px 0; font-size: 16px; }
  .rgh-a, .rgh-intro { font-size: 15px; }
  .rgh-cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .rgh-cta h2 { font-size: 22px; }
  .rgh-cta-wrap { padding: 24px 0 56px; }
}
/* ---------- cart: weight/size options as pills (same as product page) ---------- */
body.cart .s-product-options-colors-wrapper { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
body.cart .s-product-options-colors-item { position: relative; }
body.cart .s-product-options-colors-item input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; pointer-events: none; }
body.cart .s-product-options-colors-item label { flex-direction: row !important; width: auto !important; height: auto !important; min-height: 38px; padding: 8px 16px !important; border: 1px solid var(--rg-border) !important; border-radius: 999px !important; background: var(--rg-card) !important; cursor: pointer; align-items: center; justify-content: center; }
body.cart .s-product-options-colors-item label > span { display: none !important; }
body.cart .s-product-options-colors-item label > div { font-size: 13px; font-weight: 500; color: var(--rg-text); margin: 0 !important; }
body.cart .s-product-options-colors-item label:hover { border-color: var(--rg-brass) !important; }
body.cart .s-product-options-colors-item input:checked + label { border-color: var(--rg-agarwood) !important; background: var(--rg-ivory) !important; box-shadow: inset 0 0 0 1px var(--rg-agarwood); }
body.cart .s-product-options-colors-item input:focus-visible + label { outline: 2px solid var(--rg-brass); outline-offset: 2px; }
body.cart .s-product-options-option-label { font-weight: 600 !important; color: var(--rg-text) !important; }

/* ---------- product page (mobile): solid sticky buy bar ---------- */
@media (max-width: 767px) {
  body.product-single form.product-form section.sticky-product-bar { left: 0 !important; right: 0 !important; width: 100% !important; background: var(--rg-page) !important; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important; border-top: 1px solid var(--rg-border) !important; border-radius: 0 !important; box-shadow: 0 -8px 24px rgba(30,18,12,.08) !important; }
}
/* ---------- English (LTR): mirror the hero so text sits on the dark side; flip slider arrows ---------- */
html[dir="ltr"] .rg-hero { transform: scaleX(-1); }
html[dir="ltr"] .rg-hero > .rg-wrap { transform: scaleX(-1); }
@media (min-width: 768px) {
  html[dir="ltr"] .rg-hero::before { background: linear-gradient(to left, rgba(30,18,12,.92) 0%, rgba(30,18,12,.78) 38%, rgba(30,18,12,.15) 70%, rgba(30,18,12,0) 100%); }
}
html[dir="ltr"] .rg-arrow svg { transform: scaleX(-1); }
html[dir="ltr"] .rg-hero.rg-hero--banner { transform: none; }
/* hero slider (winter offer -> oud oils) */
.rg-heroslider { position: relative; overflow: hidden; }
.rg-heroslide { display: block; position: relative; overflow: hidden; }
.rg-heroslide + .rg-heroslide { position: absolute; inset: 0; }
.rg-heroslide + .rg-heroslide img { height: 100%; object-fit: cover; }
.rg-heroslide img { transform-origin: 60% 50%; will-change: transform; }
.rg-heroslide:not(.is-active):not(.is-leaving) { visibility: hidden; pointer-events: none; }
.rg-heroslide.is-leaving { z-index: 1; pointer-events: none; }
.rg-heroslide.is-active { z-index: 2; }
.rg-anim .rg-heroslide.is-active { animation: rgHeroWipe 1.15s cubic-bezier(.77,0,.18,1) both; }
.rg-anim .rg-heroslide.is-active img { animation: rgHeroSettle 1.9s cubic-bezier(.22,.61,.36,1) both; }
.rg-anim .rg-heroslide.is-leaving img { animation: rgHeroAway 1.15s cubic-bezier(.77,0,.18,1) both; }
.rg-anim .rg-heroslide.is-active::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 3px; background: linear-gradient(to bottom, transparent, #c9a46a 20%, #f1e3c4 50%, #c9a46a 80%, transparent); box-shadow: 0 0 18px 4px rgba(201,164,106,.55); z-index: 3; pointer-events: none; animation: rgHeroEdge 1.15s cubic-bezier(.77,0,.18,1) both; }
@keyframes rgHeroWipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes rgHeroEdge { 0% { left: 100%; opacity: 1; } 90% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes rgHeroEdgeLtr { 0% { left: auto; right: 100%; opacity: 1; } 90% { opacity: 1; } 100% { left: auto; right: 0; opacity: 0; } }
html[dir="ltr"] .rg-anim .rg-heroslide.is-active::after { left: auto; right: 100%; animation-name: rgHeroEdgeLtr; }
@keyframes rgHeroSettle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rgHeroAway { from { transform: none; filter: none; } to { transform: scale(1.05) translateX(-3%); filter: brightness(.45); } }
html[dir="ltr"] .rg-anim .rg-heroslide.is-active { animation-name: rgHeroWipeLtr; }
html[dir="ltr"] .rg-anim .rg-heroslide.is-leaving img { animation-name: rgHeroAwayLtr; }
@keyframes rgHeroWipeLtr { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rgHeroAwayLtr { from { transform: none; filter: none; } to { transform: scale(1.05) translateX(3%); filter: brightness(.45); } }
.rg-herodots { position: absolute; inset-inline: 0; bottom: 12px; z-index: 4; display: flex; justify-content: center; gap: 4px; }
.rg-herodot { width: 40px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rg-herodot::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(30,18,12,.25); transition: width .4s ease; }
.rg-herodot.is-active::before { width: 34px; background: linear-gradient(#fff, #fff) no-repeat right center / 100% 100%, rgba(255,255,255,.4); }
.rg-herodot.is-active.is-filling::before { animation: rgDotFill 6s linear both; }
html[dir="ltr"] .rg-herodot.is-active::before { background-position: left center; }
@keyframes rgDotFill { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) {
  .rg-anim .rg-heroslide.is-active, .rg-anim .rg-heroslide.is-active img, .rg-anim .rg-heroslide.is-leaving img, .rg-herodot.is-active.is-filling::before { animation: none; }
  .rg-anim .rg-heroslide.is-active::after { display: none; }
}
/* product page (mobile): quantity stepper fills the sticky bar */
@media (max-width: 767px) {
  body.product-single form.product-form .sticky-product-bar__quantity salla-quantity-input { width: 100% !important; border: 0 !important; background: transparent !important; border-radius: 0 !important; }
  body.product-single form.product-form .sticky-product-bar__quantity salla-quantity-input .s-quantity-input-container { width: 100% !important; padding: 0 20px !important; }
}
/* ---------- performance (PageSpeed fixes, Nov 2026) ---------- */
/* Home: hide Salla's own home sections from the first paint (the Regal sections replace them),
   and hold the hero's space until the custom JavaScript builds it, so nothing jumps. */
body.index #main-content > section.s-block { display: none; animation: rg-show-native 0s 10s forwards; }
body.rg-home #main-content > section.s-block { display: none !important; animation: none; }
body.index:not(.rg-home) #main-content { min-height: 150vh; }
body.index:not(.rg-home) #main-content::before { content: ""; display: block; aspect-ratio: 1440 / 619; background: var(--rg-agarwood); animation: rg-hide-placeholder 0s 10s forwards; }
@media (max-width: 767px) { body.index:not(.rg-home) #main-content::before { aspect-ratio: 1 / 1; } }
/* safety net: if the custom JavaScript never runs, show Salla's own sections after 10s */
@keyframes rg-show-native { to { display: block; } }
@keyframes rg-hide-placeholder { to { display: none; } }

/* Home: start downloading the first hero image as soon as this stylesheet loads,
   instead of waiting for the JavaScript that builds the slider (same file the slider uses). */
body.index::after { content: url("https://cdn.files.salla.network/homepage/2067420025/4989ddc0-c0e3-406f-8217-eea390479cb2-standard.webp"); position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; z-index: -1; }
@media (max-width: 767px) { body.index::after { content: url("https://cdn.files.salla.network/products/2067420025/060f12c4-5e4e-418b-853c-0157e0bbb716-standard.webp"); } }

/* Home: reserve the product rails' height so they don't push the page when they load */
@media (max-width: 767px) {
  .rg-rail__slider { min-height: 439px; }
  #rg-oud .rg-rail__slider { min-height: 410px; }
}
@media (min-width: 1024px) {
  .rg-rail__slider { min-height: 491px; }
  #rg-oud .rg-rail__slider { min-height: 462px; }
}

/* Header: keep the language button's width so it doesn't shift when it loads */
.store-header .top-navbar .header-buttons { min-width: 92px; }

/* Accessibility: product card subtitle had opacity-80, which failed colour contrast */
.s-product-card-content-subtitle, .s-product-card-content-subtitle.opacity-80 { opacity: 1 !important; }

/* ---------- Top category strip with العروض (Offers) ---------- */
.rgd-top{background:var(--rg-page,#f7f2ea);padding:16px 0 10px;border-bottom:1px solid var(--rg-border,#e2d8c9)}
.rgd-cats{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;padding:10px 4px 4px;scroll-snap-type:x mandatory}
.rgd-cats::-webkit-scrollbar{display:none}
.rgd-cats>:first-child{margin-inline-start:auto}.rgd-cats>:last-child{margin-inline-end:auto}
.rgd-cat{flex:0 0 auto;width:84px;text-align:center;color:var(--rg-text,#2e1d15);scroll-snap-align:start;position:relative;text-decoration:none}
.rgd-cat[hidden]{display:none}
.rgd-cat__img{width:84px;height:84px;border-radius:999px;overflow:hidden;background:var(--rg-sunken,#ede5d8);border:1px solid var(--rg-border,#e2d8c9);margin:0 auto 8px}
.rgd-cat__img img{width:100%;height:100%;object-fit:cover}
.rgd-cat>span{font-size:13px;font-weight:600;line-height:1.3;display:block}
.rgd-cat--offers .rgd-cat__img{border:2px solid #d32f2f;background:#0f3a3d url(https://cdn.files.salla.network/products/2067420025/060f12c4-5e4e-418b-853c-0157e0bbb716-standard.webp) no-repeat;background-size:230%;background-position:-5% 56%;box-shadow:0 0 0 3px rgba(211,47,47,.15)}
.rgd-cat--offers>span{color:#d32f2f;font-weight:800}
.rgd-tag{position:absolute;top:0;left:50%;transform:translate(-50%,-40%);background:#d32f2f;color:#fff;font-size:11px;font-style:normal;font-weight:700;padding:2px 10px;border-radius:999px;box-shadow:0 2px 6px rgba(0,0,0,.25);white-space:nowrap;z-index:1}
@media(min-width:1024px){.rgd-cats{gap:20px}.rgd-cat{width:96px}.rgd-cat__img{width:96px;height:96px}.rgd-cat>span{font-size:14px}.rgd-cats>.rgd-cat:nth-child(n+11){display:none}.rgd-cats>.rgd-cat:nth-child(10){margin-inline-end:auto}}
/* العروض in the header menu: red */
.main-menu li:has(> a[href*="c1433049732"]) > a,.main-menu li:has(> a[href*="c1433049732"]) > a *{color:#d32f2f!important;font-weight:800!important}
/* No offers: hide the circle and the menu link */
html.rg-offers-empty .rgd-cat--offers,html.rg-offers-empty .main-menu li:has(> a[href*="c1433049732"]){display:none!important}