/* =========================================================
   F17 Theme — Raed Custom Styles
   Brand: Saudi emerald + gold · Dark urban gaming
   Scope: CSS only (no HTML edits)
   ========================================================= */

:root {
  --f17-green: #009640;
  --f17-green-bright: #00b34f;
  --f17-green-deep: #006b2e;
  --f17-green-glow: rgba(0, 150, 64, 0.45);
  --f17-gold: #d4a017;
  --f17-gold-soft: #e8c547;
  --f17-black: #050607;
  --f17-ink: #0b0e10;
  --f17-surface: #121618;
  --f17-surface-2: #1a1f22;
  --f17-border: rgba(0, 150, 64, 0.22);
  --f17-border-soft: rgba(255, 255, 255, 0.08);
  --f17-text: #e8ecef;
  --f17-muted: #9aa3ab;
  --f17-radius: 14px;
  --f17-radius-lg: 22px;
  --f17-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --f17-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --f17-shadow-green: 0 12px 40px rgba(0, 150, 64, 0.28);

  --color-primary: #009640 !important;
  --color-primary-dark: #006b2e !important;
  --color-primary-light: #00b34f !important;
  --color-primary-reverse: #ffffff !important;
  --theme-primary-color: #009640 !important;
}

html {
  scroll-behavior: smooth;
}

body.theme-raed {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0, 150, 64, 0.12), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(212, 160, 23, 0.05), transparent 50%),
    linear-gradient(180deg, #07090a 0%, #0d1113 40%, #0a0c0e 100%) !important;
  color: var(--f17-text);
  overflow-x: hidden;
}

body.theme-raed::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

#app,
.app-inner,
#main-content {
  position: relative;
  z-index: 1;
}

/* ---------- Selection & Scrollbar ---------- */
::selection {
  background: rgba(0, 150, 64, 0.35);
  color: #fff;
}

body.theme-raed::-webkit-scrollbar {
  width: 10px;
}
body.theme-raed::-webkit-scrollbar-track {
  background: #0a0c0e;
}
body.theme-raed::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--f17-green-bright), var(--f17-green-deep));
  border-radius: 999px;
  border: 2px solid #0a0c0e;
}

/* =========================================================
   HEADER
   ========================================================= */
.store-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
}

.store-header .top-navbar {
  background: linear-gradient(90deg, rgba(0, 107, 46, 0.95), rgba(5, 6, 7, 0.98) 45%, rgba(0, 107, 46, 0.95)) !important;
  border-bottom: 1px solid rgba(0, 150, 64, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-height: 44px;
}

.store-header .top-navbar .container {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.store-header .s-search-input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  transition: border-color 0.35s var(--f17-ease), box-shadow 0.35s var(--f17-ease), background 0.35s var(--f17-ease);
}

.store-header .s-search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.store-header .s-search-input:focus {
  background: rgba(0, 0, 0, 0.35) !important;
  border-color: var(--f17-green) !important;
  box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.25);
}

.store-header .s-search-icon svg {
  fill: rgba(255, 255, 255, 0.7) !important;
}

.s-block--hero-slider salla-slider,
.s-block--hero-slider .s-slider-wrapper,
.s-block--hero-slider .swiper,
.s-block--hero-slider .swiper-wrapper,
.s-block--hero-slider .swiper-slide {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hero nav arrows */
.s-block--hero-slider .s-slider-nav-arrow,
.s-block--hero-slider .swiper-button-prev,
.s-block--hero-slider .swiper-button-next {
  z-index: 4;
  background: rgba(8, 12, 14, 0.65) !important;
  border: 1px solid rgba(0, 150, 64, 0.35) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  color: var(--f17-green-bright) !important;
}

.store-header .main-nav-container {
  background: rgba(8, 10, 12, 0.82) !important;
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  border-bottom: 1px solid var(--f17-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35) !important;
  transition: background 0.4s var(--f17-ease), box-shadow 0.4s var(--f17-ease), height 0.35s var(--f17-ease);
  margin-bottom: 0 !important;
}

.store-header.is-scrolled .main-nav-container {
  background: rgba(5, 6, 7, 0.94) !important;
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 150, 64, 0.12) !important;
}

.store-header .navbar-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: transform 0.45s var(--f17-ease);
}

.store-header .navbar-brand::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--f17-green-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--f17-ease);
  z-index: -1;
}

.store-header .navbar-brand:hover {
  transform: scale(1.04);
}

.store-header .navbar-brand:hover::after {
  opacity: 1;
}

.store-header .navbar-brand img {
  width: auto !important;
  height: 58px !important;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 150, 64, 0.35));
  transition: filter 0.35s var(--f17-ease);
}

@media (min-width: 1024px) {
  .store-header .navbar-brand img {
    height: 68px !important;
    max-height: 68px;
  }
}

.store-header .sicon-menu {
  color: var(--f17-green-bright) !important;
  text-shadow: 0 0 18px var(--f17-green-glow);
}

.store-header .s-user-menu-login-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: var(--f17-border) !important;
  transition: all 0.35s var(--f17-ease);
}

.store-header .s-user-menu-login-btn:hover {
  border-color: var(--f17-green) !important;
  background: rgba(0, 150, 64, 0.15) !important;
  box-shadow: 0 0 24px rgba(0, 150, 64, 0.25);
}

.store-header .s-user-menu-login-btn svg {
  fill: var(--f17-text) !important;
}

.store-header .s-cart-summary-wrapper {
  color: var(--f17-text) !important;
}

.store-header .s-cart-summary-icon svg,
.store-header .header-btn__icon {
  color: var(--f17-text);
  fill: var(--f17-text) !important;
}

.store-header .s-cart-summary-count {
  background: linear-gradient(135deg, var(--f17-green-bright), var(--f17-green-deep)) !important;
  box-shadow: 0 0 16px var(--f17-green-glow);
  font-weight: 700;
}

.store-header .s-cart-summary-total {
  color: var(--f17-gold-soft) !important;
}

.store-header .main-menu a,
.store-header .mm-spn--navbar a {
  color: var(--f17-text) !important;
  transition: color 0.3s var(--f17-ease);
}

.store-header .main-menu a:hover,
.store-header .mm-spn--navbar a:hover {
  color: var(--f17-green-bright) !important;
}

/* =========================================================
   HERO SLIDER
   ========================================================= */
.s-block--hero-slider,
.s-block--hero-slider.s-block,
.s-block--hero-slider.wide-placeholder,
.s-block--hero-slider.s-block--full-bg {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  padding-block: 0 !important;
  padding-top: 0 !important;
}

/* Kill gap under header / above hero */
.store-header {
  margin-bottom: 0 !important;
}

.store-header + main,
#main-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#main-content > salla-hook:first-child,
#main-content > .s-block--hero-slider:first-of-type,
#main-content > salla-hook + .s-block--hero-slider {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.index #main-content > *:first-child,
body.index #main-content .s-block--hero-slider {
  margin-top: 0 !important;
}

salla-advertisement:empty,
salla-advertisement:not(:has(*)) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.s-block--hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.35) 0%, transparent 35%, rgba(5, 6, 7, 0.75) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 150, 64, 0.25), transparent 55%);
}

/* Keep slides isolated — no bleed / overlap */
.s-block--hero-slider salla-slider,
.s-block--hero-slider .s-slider-wrapper,
.s-block--hero-slider .s-slider-container,
.s-block--hero-slider .swiper {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.s-block--hero-slider .swiper-wrapper {
  display: flex !important;
  align-items: stretch;
}

.s-block--hero-slider .swiper-slide,
.s-block--hero-slider .bg-dark {
  position: relative !important;
  flex-shrink: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  background-color: var(--f17-black) !important;
  min-height: clamp(320px, 58vh, 620px) !important;
  height: auto !important;
}

.s-block--hero-slider .overlay-bg {
  position: absolute !important;
  inset: -2% !important;
  width: 104% !important;
  height: 104% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  will-change: transform;
  filter: brightness(0.48) contrast(1.12) saturate(1.05);
  transition: filter 0.45s var(--f17-ease);
  z-index: 0;
}

.s-block--hero-slider .swiper-slide-active .overlay-bg {
  filter: brightness(0.52) contrast(1.12) saturate(1.08);
}

.s-block--hero-slider .home-slider__content {
  position: relative;
  z-index: 3;
}

.s-block--hero-slider .home-slider__content h2 {
  font-size: clamp(1.75rem, 4vw, 3.25rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.65), 0 0 40px rgba(0, 150, 64, 0.25);
  background: linear-gradient(135deg, #fff 30%, var(--f17-green-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

.s-block--hero-slider .home-slider__content .description {
  color: rgba(232, 236, 239, 0.88) !important;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  max-width: 36ch;
  margin-inline: auto;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

#f17-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: screen;
}

/* =========================================================
   GLOBAL SECTIONS
   ========================================================= */
.s-block {
  position: relative;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

/* Hero must stay flush under header (override global .s-block padding) */
.s-block.s-block--hero-slider {
  padding-block: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.s-block__title,
.s-slider-block__title,
.s-reviews-header {
  color: var(--f17-text) !important;
}

.s-block__title h2,
.s-block__title .s-block__title-text,
.s-slider-block__title h2,
.s-reviews-header {
  position: relative;
  display: inline-block;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

.s-reviews-header-wrapper {
  margin-bottom: 1.75rem;
  text-align: center;
}

.s-reviews-header {
  font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
  margin: 0;
}

.s-reviews-header::after,
.s-block__title h2::after,
.s-slider-block__title-right::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--f17-green), var(--f17-gold), var(--f17-green), transparent);
  box-shadow: 0 0 18px var(--f17-green-glow);
}

/* =========================================================
   PRODUCTS / BEST OFFERS — safe visibility (don't break Salla WC)
   ========================================================= */
.s-block--best-offers,
.s-block--best-offers.container {
  overflow: visible !important;
  opacity: 1 !important;
  min-height: 120px;
}

.s-block--best-offers .s-slider-wrapper,
.s-block--best-offers .s-slider-container,
.s-block--best-offers .swiper,
.s-block--best-offers .swiper-wrapper {
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 260px;
}

.s-block--best-offers .swiper-slide {
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  display: flex;
}

/* Cards stretch to fill their slide, whatever the product count is */
.s-block--best-offers .swiper-slide > *,
.s-block--best-offers .swiper-slide salla-product-card,
.s-block--best-offers .swiper-slide custom-salla-product-card {
  width: 100%;
}

.s-block--best-offers .s-slider-block__title,
.s-block--best-offers .s-block__title,
.s-block--best-offers .s-slider-block__title h2,
.s-block--best-offers .s-slider-block__title-text {
  margin-bottom: 1rem;
  color: #fff !important;
}

.s-block--best-offers .s-slider-block__display-all,
.s-block--best-offers a.s-slider-block__display-all {
  color: var(--f17-green-bright) !important;
}

/* Cards — colors only, no visibility/transform overrides on host tags */
.s-product-card,
.product-entry,
.s-product-card-entry,
.s-product-card-vertical,
.s-block--best-offers .s-product-card {
  background: linear-gradient(165deg, rgba(26, 31, 34, 0.95), rgba(12, 14, 16, 0.98)) !important;
  border: 1px solid var(--f17-border-soft) !important;
  border-radius: var(--f17-radius-lg) !important;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition: border-color 0.35s var(--f17-ease), box-shadow 0.35s var(--f17-ease);
}

.s-product-card:hover,
.product-entry:hover {
  border-color: rgba(0, 150, 64, 0.45) !important;
  box-shadow: var(--f17-shadow-green);
}

.s-product-card h3,
.s-product-card .s-product-card-content-title,
.product-entry h3 a,
.s-product-card-content-title a,
.s-product-card-content-title {
  color: #fff !important;
}

.s-product-card .s-product-card-price,
.product-entry .price,
.s-product-card-sale-price,
.s-product-card-price {
  color: var(--f17-green-bright) !important;
  font-weight: 800 !important;
}

.s-button-primary,
.btn-primary,
salla-button .s-button-primary,
.s-add-product-add-button .s-button-btn {
  background: linear-gradient(135deg, var(--f17-green-bright), var(--f17-green-deep)) !important;
  border-color: transparent !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(0, 150, 64, 0.35);
  transition: filter 0.3s var(--f17-ease) !important;
}

.s-button-primary:hover,
.btn-primary:hover,
salla-button .s-button-primary:hover {
  filter: brightness(1.08);
}

.s-slider-nav-arrow {
  background: rgba(18, 22, 24, 0.9) !important;
  border: 1px solid var(--f17-border) !important;
  color: var(--f17-green-bright) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(10px);
  transition: all 0.35s var(--f17-ease) !important;
}

.s-slider-nav-arrow:hover {
  background: rgba(0, 150, 64, 0.2) !important;
  box-shadow: 0 0 24px rgba(0, 150, 64, 0.35);
}

.s-slider-nav-arrow svg {
  fill: var(--f17-green-bright) !important;
}

/* Empty / loading placeholders stay readable on dark bg */
.s-products-list-placeholder,
.s-block--best-offers .s-products-list-placeholder {
  color: var(--f17-muted) !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 180px;
}

/* =========================================================
   FIXED BANNER — full bleed
   ========================================================= */
.s-block--fixed-banner,
.s-block--fixed-banner.wide-placeholder {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-inline: calc(50% - 50vw) !important;
  padding-inline: 0 !important;
  padding-block: 0 !important;
  background: transparent !important;
}

.s-block--fixed-banner > .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-inline: 0 !important;
  margin-inline: 0 !important;
}

.s-block--fixed-banner .banner--fixed {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  overflow: hidden;
  border: 0 !important;
  box-shadow: none !important;
  position: relative;
  background: #050607 !important;
  transition: filter 0.45s var(--f17-ease);
}

.s-block--fixed-banner .banner--fixed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.35) 0%, transparent 18%, transparent 82%, rgba(5, 6, 7, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.15) 0%, transparent 30%, rgba(5, 6, 7, 0.45) 100%);
  z-index: 1;
}

.s-block--fixed-banner .banner--fixed:hover {
  filter: brightness(1.06);
}

.s-block--fixed-banner picture,
.s-block--fixed-banner .banner--fixed {
  display: block;
  width: 100%;
  line-height: 0;
}

.s-block--fixed-banner img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(240px, 38vw, 560px) !important;
  min-height: 240px !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform 0.8s var(--f17-ease);
}

.s-block--fixed-banner .banner--fixed:hover img {
  transform: scale(1.03);
}

@media (max-width: 767px) {
  .s-block--fixed-banner img {
    height: clamp(180px, 52vw, 320px) !important;
  }
}

/* =========================================================
   TESTIMONIALS — default layout + smooth slide
   ========================================================= */
.s-block--testimonials,
.s-block--custom-testimonials,
.s-block--testimonials .s-reviews-container,
.s-block--testimonials .s-slider-wrapper,
.s-block--testimonials .s-slider-container,
.s-block--testimonials .swiper,
.s-block--testimonials .swiper-wrapper,
.s-block--testimonials .swiper-slide,
.s-block--testimonials .s-reviews-swiper-slide,
.s-block--testimonials .s-reviews-testimonial {
  background: transparent !important;
  background-color: transparent !important;
}

.s-block--testimonials .s-reviews-header {
  color: #fff !important;
}

/* Smooth swiper motion */
.s-block--testimonials .swiper-wrapper,
.testimonials-slider .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.s-block--testimonials .swiper-slide,
.s-block--testimonials .s-reviews-swiper-slide {
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
  opacity: 0.45;
}

.s-block--testimonials .swiper-slide-active,
.s-block--testimonials .s-reviews-swiper-slide.swiper-slide-active {
  opacity: 1 !important;
}

.s-block--testimonials .swiper-slide-prev,
.s-block--testimonials .swiper-slide-next {
  opacity: 0.55;
}

/* Card fills its slide so peeks look intentional */
.s-block--testimonials .s-reviews-testimonial {
  display: flex !important;
  width: 100%;
  padding-inline: 0.75rem;
}

.s-reviews-testimonial__inner {
  position: relative !important;
  overflow: hidden !important;
  width: 100%;
  display: flex !important;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem !important;
  background: rgba(18, 22, 24, 0.95) !important;
  border: 1px solid rgba(0, 150, 64, 0.25) !important;
  border-radius: 14px !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Avatar — inside padding, never clipped */
.s-block--testimonials .s-reviews-testimonial__avatar {
  position: static !important;
  flex: 0 0 auto;
  margin: 0 !important;
  inset: auto !important;
  order: 0;
}

.s-reviews-testimonial__avatar img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 2px solid var(--f17-green) !important;
  background: #1a1f22;
}

/* Text block */
.s-block--testimonials .s-reviews-testimonial__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0 !important;
  padding: 0 !important;
}

.s-block--testimonials .s-reviews-testimonial__name_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 !important;
  width: 100%;
}

.s-block--testimonials .s-reviews-testimonial__info,
.s-block--testimonials .s-reviews-testimonial__rating {
  margin: 0 !important;
}

.s-block--testimonials .s-reviews-testimonial__rating {
  flex: 0 0 auto;
}

/* Keep the quote mark inside the card, out of the text flow */
.s-block--testimonials .s-reviews-testimonial__icon {
  position: absolute !important;
  top: 0.65rem !important;
  inset-inline-start: 0.75rem !important;
  inset-inline-end: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  line-height: 1;
  opacity: 0.25;
  pointer-events: none;
}

.s-block--testimonials .s-reviews-testimonial__icon svg {
  width: 22px;
  height: 22px;
}

.s-block--testimonials .swiper-slide-active .s-reviews-testimonial__inner {
  border-color: rgba(0, 150, 64, 0.45) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transform: scale(1);
}

.s-block--testimonials .swiper-slide:not(.swiper-slide-active) .s-reviews-testimonial__inner {
  transform: scale(0.95);
}

/* Soft edges instead of hard-cut peeks */
.s-block--testimonials .s-slider-container,
.s-block--testimonials .swiper {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.s-block--testimonials .s-slider-nav-arrow {
  z-index: 5;
}

.s-reviews-testimonial__text > p,
.s-reviews-testimonial__text .text-gray-700,
.s-reviews-testimonial__text .text-sm {
  color: rgba(232, 236, 239, 0.9) !important;
}

.s-reviews-testimonial__info h2,
.s-reviews-testimonial__info .text-gray-900,
.s-reviews-testimonial__info .font-bold {
  color: #fff !important;
}

.s-reviews-testimonial__icon svg {
  fill: rgba(0, 150, 64, 0.4) !important;
}

@media (max-width: 575px) {
  .s-reviews-testimonial__inner {
    flex-direction: column;
    text-align: center;
    padding: 1.35rem 1.15rem !important;
    gap: 1rem;
  }

  .s-block--testimonials .s-reviews-testimonial__name_wrapper {
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }

  .s-reviews-testimonial__avatar img {
    width: 58px !important;
    height: 58px !important;
  }
}

.s-block--testimonials .s-rating-stars-selected svg,
.s-reviews-testimonial .s-rating-stars-selected svg {
  fill: var(--f17-gold) !important;
}

.s-block--testimonials .s-slider-nav-arrow,
.testimonials-slider .s-slider-nav-arrow {
  background: rgba(12, 16, 18, 0.9) !important;
  border: 1px solid rgba(0, 150, 64, 0.35) !important;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.s-block--testimonials .s-slider-nav-arrow:hover {
  background: rgba(0, 150, 64, 0.22) !important;
}

.s-block--testimonials .s-slider-nav-arrow svg,
.testimonials-slider .s-slider-nav-arrow svg {
  fill: var(--f17-green-bright) !important;
}

/* =========================================================
   FEATURES
   ========================================================= */
.s-block--features__item {
  background: linear-gradient(165deg, rgba(26, 31, 34, 0.9), rgba(12, 14, 16, 0.95));
  border: 1px solid var(--f17-border-soft);
  border-radius: var(--f17-radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.45s var(--f17-ease), border-color 0.45s var(--f17-ease), box-shadow 0.45s var(--f17-ease);
  position: relative;
  overflow: hidden;
}

.s-block--features__item::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 150, 64, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--f17-ease);
}

.s-block--features__item:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 150, 64, 0.45);
  box-shadow: var(--f17-shadow-green);
}

.s-block--features__item:hover::after {
  opacity: 1;
}

.s-block--features__item .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(0, 150, 64, 0.2), rgba(212, 160, 23, 0.08));
  border: 1px solid rgba(0, 150, 64, 0.35);
  box-shadow: inset 0 0 24px rgba(0, 150, 64, 0.12);
  transition: transform 0.45s var(--f17-ease);
}

.s-block--features__item:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
}

.s-block--features__item .feature-icon i {
  font-size: 1.65rem;
  color: var(--f17-green-bright);
  text-shadow: 0 0 20px var(--f17-green-glow);
}

.s-block--features__item h2 {
  color: var(--f17-text) !important;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.s-block--features__item p {
  color: var(--f17-muted) !important;
  font-size: 0.9rem;
  margin: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.store-footer,
body.footer-is-light .store-footer,
body.theme-raed .store-footer {
  position: relative;
  margin-top: 3rem;
  background-color: #06140c !important;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(0, 179, 79, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(212, 160, 23, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 70%, rgba(0, 107, 46, 0.35), transparent 50%),
    linear-gradient(180deg, #0a1a12 0%, #06140c 42%, #030805 100%) !important;
  color: var(--f17-text) !important;
  border-top: 1px solid rgba(0, 150, 64, 0.35);
  overflow: hidden;
}

.store-footer::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--f17-green), var(--f17-gold), var(--f17-green), transparent);
  box-shadow: 0 0 24px var(--f17-green-glow);
  z-index: 2;
}

/* Perspective road / city glow layer (logo-inspired) */
.store-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(180deg, transparent 0%, transparent 48%, rgba(255, 255, 255, 0.03) 49%, transparent 52%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 48px,
      rgba(0, 150, 64, 0.04) 48px,
      rgba(0, 150, 64, 0.04) 49px
    ),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(0, 150, 64, 0.22), transparent 70%);
  mask-image: linear-gradient(180deg, transparent 0%, black 35%, black 100%);
}

.store-footer__inner,
body.footer-is-light .store-footer__inner {
  position: relative;
  z-index: 1;
  padding-top: 3.5rem !important;
  padding-bottom: 2.5rem !important;
  background: transparent !important;
}

.store-footer > .container,
.store-footer > .md\:flex {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.store-footer > .md\:flex {
  border-top: 1px solid rgba(0, 150, 64, 0.18);
  background: rgba(0, 0, 0, 0.25) !important;
}

.store-footer h3 {
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  margin-bottom: 1.15rem !important;
  position: relative;
  display: inline-block;
}

.store-footer h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 0.45rem;
  background: linear-gradient(90deg, var(--f17-green), transparent);
  border-radius: 999px;
}

.store-footer a {
  color: var(--f17-muted) !important;
  transition: color 0.3s var(--f17-ease), transform 0.3s var(--f17-ease);
}

.store-footer a:hover {
  color: var(--f17-green-bright) !important;
}

.store-footer .s-contacts-title {
  color: #fff !important;
}

.store-footer .s-contacts-icon {
  border-color: rgba(0, 150, 64, 0.4) !important;
  background: rgba(0, 150, 64, 0.1);
  transition: all 0.35s var(--f17-ease);
}

.store-footer .s-contacts-item:hover .s-contacts-icon {
  background: rgba(0, 150, 64, 0.25);
  box-shadow: 0 0 20px rgba(0, 150, 64, 0.35);
}

.store-footer .s-social-link a {
  border-color: rgba(0, 150, 64, 0.35) !important;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.35s var(--f17-ease);
}

.store-footer .s-social-link a:hover {
  background: rgba(0, 150, 64, 0.2) !important;
  border-color: var(--f17-green) !important;
  opacity: 1 !important;
  transform: translateY(-3px);
}

.store-footer .s-trust-badges-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--f17-border-soft);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
}

.store-footer .s-trust-badges-label,
.store-footer .s-trust-badges-number {
  color: var(--f17-muted) !important;
}

.store-footer .s-trust-badges-number {
  color: var(--f17-gold-soft) !important;
}

.store-footer .copyright-text,
.store-footer .text-gray-400 {
  color: rgba(154, 163, 171, 0.85) !important;
}

.store-footer .s-payments-list-item {
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: 8px !important;
  transition: transform 0.3s var(--f17-ease);
}

.store-footer .s-payments-list-item:hover {
  transform: translateY(-3px);
}

/* =========================================================
   CANVAS BG LAYER (injected by JS)
   ========================================================= */
#f17-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* =========================================================
   GSAP / PARALLAX HELPERS
   ========================================================= */
.f17-reveal {
  /* Do NOT hide content by default — GSAP handles motion safely */
  will-change: transform, opacity;
}

.f17-parallax-layer {
  will-change: transform;
}

.store-header .f17-header-line {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--f17-green), var(--f17-gold), var(--f17-green), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s var(--f17-ease);
  pointer-events: none;
}

.store-header.is-scrolled .f17-header-line {
  transform: scaleX(1);
}

/* =========================================================
   MISC / FORMS / MODALS
   ========================================================= */
.s-modal-body {
  border-radius: var(--f17-radius-lg) !important;
  border: 1px solid var(--f17-border);
}

.text-primary,
.hover\:text-primary:hover,
a.text-primary {
  color: var(--f17-green-bright) !important;
}

.bg-primary {
  background-color: var(--f17-green) !important;
}

/* Soften default white containers on dark body */
#main-content .container > .bg-white,
.s-block .bg-white {
  background: transparent !important;
}

/* Viewed products */
#viewed-section .s-block__title {
  color: var(--f17-text);
}

/* Mobile menu */
.mobile-menu,
.mm-spn--navbar {
  background: var(--f17-ink) !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .f17-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Tablet / Mobile polish */
@media (max-width: 767px) {
  .store-header .navbar-brand img {
    height: 48px !important;
    max-height: 48px;
  }

  .s-block--features__item {
    padding: 1.25rem 1rem;
  }

  .store-footer__inner {
    padding-top: 2.5rem !important;
  }
}