/* =========================================
   ECO GARDEN PREMIUM STOREFRONT SYSTEM
   Scoped storefront refresh for hero, cards,
   product surfaces, footer, and mobile polish
   ========================================= */

:root {
  --eco-primary: #71bd5a;
  --eco-primary-strong: #58aa42;
  --eco-primary-dark: #3f972d;
  --eco-primary-deep: #1f5b20;
  --eco-primary-forest: #123b17;
  --eco-primary-mist: #f2f6ef;
  --eco-primary-glow: rgba(113, 189, 90, 0.18);
  --eco-bg: #f7f7f3;
  --eco-bg-deep: #eef0ea;
  --eco-surface: #ffffff;
  --eco-surface-soft: #fafaf7;
  --eco-surface-muted: #f4f5f0;
  --eco-text: #162316;
  --eco-text-soft: #647162;
  --eco-text-inverse: #f8fcf5;
  --eco-border: rgba(45, 62, 42, 0.1);
  --eco-border-strong: rgba(45, 62, 42, 0.18);
  --eco-shadow-soft: 0 14px 34px rgba(20, 34, 18, 0.06);
  --eco-shadow-card: 0 18px 40px rgba(20, 34, 18, 0.09);
  --eco-shadow-hero: 0 22px 54px rgba(16, 30, 16, 0.14);
  --eco-shadow-button: 0 12px 24px rgba(32, 88, 26, 0.18);
  --eco-radius-sm: 16px;
  --eco-radius-md: 24px;
  --eco-radius-lg: 32px;
  --eco-radius-xl: 40px;
  --eco-transition: 220ms ease;
  --eco-transition-slow: 320ms ease;
}

html,
body {
  background: linear-gradient(180deg, #fcfcfa 0%, #f7f7f4 56%, #efefeb 100%);
  color: var(--eco-text);
}

body {
  text-rendering: optimizeLegibility;
}

/* Header stays intentionally safe: no button or icon overrides here. */
header,
.main-header,
.store-header,
.navbar,
.top-navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(81, 116, 72, 0.1);
  box-shadow: 0 10px 22px rgba(20, 44, 18, 0.04);
  backdrop-filter: blur(16px);
}

:is(main, .main-content, .store-page, .home-page) {
  position: relative;
}

:is(.section-title, .s-block__title, .block-title, .section-head h2, .section__title) {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-block-end: 1.4rem;
  color: var(--eco-text);
  font-size: clamp(28px, 2.3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

:is(.section-title, .s-block__title, .block-title, .section-head h2, .section__title)::after {
  content: "";
  flex: 0 0 clamp(52px, 7vw, 88px);
  block-size: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--eco-primary-dark), rgba(113, 189, 90, 0.1));
}

/* Hero / sliders */
:is(.hero, .home-slider, .main-slider, .s-slider-block) .swiper-slide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(500px, 56vw, 700px);
  padding: clamp(36px, 5vw, 72px);
  border: 1px solid rgba(245, 249, 242, 0.12);
  border-radius: var(--eco-radius-xl);
  background:
    linear-gradient(135deg, rgba(18, 33, 21, 0.98) 0%, rgba(24, 50, 31, 0.97) 40%, rgba(52, 84, 57, 0.94) 100%);
  box-shadow:
    0 26px 56px rgba(15, 26, 16, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:is(.hero, .home-slider, .main-slider, .s-slider-block) .swiper-slide::before,
:is(.hero, .home-slider, .main-slider, .s-slider-block) .swiper-slide::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
}

:is(.hero, .home-slider, .main-slider, .s-slider-block) .swiper-slide::before {
  inline-size: clamp(220px, 26vw, 360px);
  block-size: clamp(220px, 26vw, 360px);
  inset-block-start: -10%;
  inset-inline-end: -7%;
  background:
    radial-gradient(circle, rgba(236, 243, 230, 0.12) 0%, rgba(236, 243, 230, 0) 74%);
}

:is(.hero, .home-slider, .main-slider, .s-slider-block) .swiper-slide::after {
  inline-size: clamp(180px, 18vw, 260px);
  block-size: clamp(180px, 18vw, 260px);
  inset-block-end: -8%;
  inset-inline-start: -4%;
  background:
    radial-gradient(circle, rgba(121, 157, 118, 0.1) 0%, rgba(121, 157, 118, 0) 76%);
}

:is(.hero, .home-slider, .main-slider, .s-slider-block)
  :is(.slide-content, .swiper-content, .caption, .content, .hero__content, .s-slider-block__content) {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
  max-inline-size: min(680px, 100%);
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 18px 34px rgba(12, 21, 13, 0.12);
  backdrop-filter: blur(10px);
  text-align: start;
}

:is(.hero, .home-slider, .main-slider, .s-slider-block)
  :is(.subtitle, .eyebrow, .overline, .label, .hero-label, small) {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-inline-size: fit-content;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(244, 249, 241, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

:is(.hero, .home-slider, .main-slider, .s-slider-block) :is(h2, h3, .title) {
  position: relative;
  z-index: 1;
  max-inline-size: 10.5ch;
  margin: 0;
  color: var(--eco-text-inverse);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

:is(.hero, .home-slider, .main-slider, .s-slider-block) p {
  position: relative;
  z-index: 1;
  max-inline-size: 34rem;
  margin: 0;
  color: rgba(244, 248, 241, 0.8);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.75;
}

:is(.hero, .home-slider, .main-slider, .s-slider-block) :is(.actions, .buttons, .hero-actions, .cta-group) {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-block-start: 0.5rem;
}

:is(.hero, .home-slider, .main-slider, .s-slider-block)
  :is(img, .hero-image img, .slider-image img, .swiper-image img) {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 38px rgba(10, 24, 11, 0.16));
}

/* Category cards */
:is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--eco-border);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(249, 250, 246, 0.99) 100%);
  box-shadow: var(--eco-shadow-soft);
  transition:
    transform var(--eco-transition-slow),
    box-shadow var(--eco-transition-slow),
    border-color var(--eco-transition);
}

:is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at top right, rgba(113, 189, 90, 0.1) 0%, rgba(113, 189, 90, 0) 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(113, 189, 90, 0.02) 100%);
  pointer-events: none;
}

:is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item):hover {
  transform: translateY(-5px);
  border-color: rgba(113, 189, 90, 0.24);
  box-shadow: var(--eco-shadow-card);
}

:is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item)
  :is(.content, .details, .info, .s-category-card__content, .category-card__content) {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 2vw, 24px);
  text-align: start;
}

:is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item)
  :is(.image, .thumb, .icon, .s-category-card__image, .category-card__image) {
  position: relative;
  z-index: 1;
  margin: 16px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(249, 251, 247, 1) 0%, rgba(239, 243, 236, 1) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

:is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item)
  :is(img, svg) {
  transition: transform var(--eco-transition-slow);
}

:is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item):hover
  :is(img, svg) {
  transform: scale(1.03);
}

:is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item)
  :is(h3, h4, .title, .name, .s-category-card__title) {
  color: var(--eco-text);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

:is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item)
  :is(p, .description, .caption, .subtitle) {
  color: var(--eco-text-soft);
  line-height: 1.7;
}

:is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item)
  :is(.badge, .tag, .count, .s-category-card__count) {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(113, 189, 90, 0.08);
  color: var(--eco-primary-deep);
  font-size: 0.83rem;
  font-weight: 800;
}

/* Product cards */
:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(24, 32, 22, 0.08);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(252, 252, 249, 1) 100%);
  box-shadow:
    0 12px 28px rgba(18, 24, 16, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    transform var(--eco-transition-slow),
    box-shadow var(--eco-transition-slow),
    border-color var(--eco-transition);
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  block-size: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(24, 32, 22, 0.18) 22%, rgba(24, 32, 22, 0.06) 78%, transparent 100%);
  z-index: 2;
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry):hover {
  transform: translateY(-4px);
  border-color: rgba(24, 32, 22, 0.12);
  box-shadow:
    0 18px 34px rgba(18, 24, 16, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(.image, .thumb, .product-image, .product-card__image, .s-product-card-image, .s-product-card__image) {
  position: relative;
  overflow: hidden;
  margin: 14px 14px 0;
  padding: 12px;
  border: 1px solid rgba(24, 32, 22, 0.06);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(251, 251, 249, 1) 0%, rgba(244, 245, 241, 1) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(img, .product-image img, .thumb img, .s-product-card-image img, .s-product-card__image img) {
  transition:
    transform var(--eco-transition-slow),
    filter var(--eco-transition-slow);
  filter: drop-shadow(0 10px 18px rgba(18, 24, 16, 0.06));
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry):hover
  :is(img, .product-image img, .thumb img, .s-product-card-image img, .s-product-card__image img) {
  transform: scale(1.02);
  filter: drop-shadow(0 12px 22px rgba(18, 24, 16, 0.08));
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(.content, .details, .info, .product-content, .product-card__content, .s-product-card-content, .s-product-card__content) {
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
  text-align: start;
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(.s-product-card__title, .product-title, .product .title, .product-card .title, h3, h4, .name) {
  color: var(--eco-text);
  margin: 0;
  font-size: clamp(20px, 1.55vw, 23px);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(p, .description, .excerpt, .summary) {
  margin: 0;
  color: var(--eco-text-soft);
  font-size: 0.96rem;
  line-height: 1.65;
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(.s-price, .price, .product-price, .current-price, .sale-price, .amount) {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.45rem;
  color: #0f1b11;
  font-size: clamp(28px, 2.35vw, 34px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(.old-price, .price--before, .price_old, del) {
  font-size: 0.92rem;
  color: #8a9588;
  text-decoration-color: rgba(138, 149, 136, 0.7);
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(.badge, .tag, .sale-badge, .discount-badge, .s-product-card__badge) {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  background: rgba(20, 27, 20, 0.92);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: none;
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(.actions, .buttons, .product-actions, .s-product-card__actions) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-block-start: 4px;
  padding-block-start: 12px;
  border-block-start: 1px solid rgba(24, 32, 22, 0.07);
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(.actions, .buttons, .product-actions, .s-product-card__actions)
  :is(.btn-primary, .s-button-primary, .add-to-cart-btn, a.btn-primary, .s-button-element, .s-button-btn, button[type="submit"]):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn) {
  min-height: 46px;
  padding-inline: 1.1rem;
  border: 1px solid rgba(18, 24, 16, 0.08);
  background: linear-gradient(180deg, #2a5b27 0%, #22491f 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 16px rgba(18, 24, 16, 0.08);
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(.actions, .buttons, .product-actions, .s-product-card__actions)
  :is(.btn-primary, .s-button-primary, .add-to-cart-btn, a.btn-primary, .s-button-element, .s-button-btn, button[type="submit"]):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn):hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(18, 24, 16, 0.1);
  filter: none;
}

:is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
  :is(.actions, .buttons, .product-actions, .s-product-card__actions)
  :is(.btn-outline, .btn--outline, .s-button-outline, a.btn-outline, .is-outline):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn) {
  min-height: 46px;
  padding-inline: 1rem;
  border: 1px solid rgba(24, 32, 22, 0.1);
  background: #ffffff;
  color: #172318;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: none;
}

/* Product detail surfaces */
:is(.product-single, .product-details, .s-product-page)
  :is(.card, .product-info, .product-gallery, .product-summary, .summary, .product-form, .product-meta) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(249, 250, 247, 0.98) 100%);
  border: 1px solid var(--eco-border);
  border-radius: 32px;
  box-shadow: var(--eco-shadow-soft);
}

:is(.product-single, .product-details, .s-product-page) :is(h1, .product-title, .page-title) {
  color: var(--eco-text);
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

:is(.product-single, .product-details, .s-product-page)
  :is(.price, .current-price, .product-price, .s-price) {
  color: var(--eco-primary-deep);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

:is(.product-single, .product-details, .s-product-page)
  :is(.description, .product-description, .entry-content, p) {
  color: var(--eco-text-soft);
  line-height: 1.85;
}

:is(.product-single, .product-details, .s-product-page)
  :is(.thumbnails, .product-gallery__thumbs, .gallery-thumbs)
  :is(img, .thumb) {
  border: 1px solid var(--eco-border);
  border-radius: 18px;
  background: var(--eco-surface);
}

:is(.product-single, .product-details, .s-product-page)
  :is(.quantity, .quantity-input, .product-quantity, .quantity-selector) {
  border: 1px solid var(--eco-border-strong);
  border-radius: 999px;
  background: var(--eco-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

/* Filters / FAQ / content panels */
:is(.filters, .collection-sidebar, .s-filter-section) {
  border: 1px solid var(--eco-border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 248, 244, 0.98) 100%);
  box-shadow: var(--eco-shadow-soft);
}

:is(.faq, .accordion) {
  border: 1px solid rgba(38, 46, 35, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(252, 252, 250, 0.98) 0%, rgba(246, 247, 243, 0.98) 100%);
  box-shadow: 0 10px 24px rgba(20, 28, 18, 0.04);
}

:is(.faq-item, .accordion-item) {
  border: 1px solid rgba(38, 46, 35, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

:is(.faq, .accordion) :is(.faq-question, .accordion-button, .question, h3) {
  color: var(--eco-text);
  font-weight: 800;
}

:is(.faq, .accordion) :is(.faq-answer, .accordion-body, .answer, p) {
  color: rgba(80, 90, 79, 0.94);
  line-height: 1.75;
}

/* Action buttons are intentionally scoped to content blocks, not the header. */
:is(
  .hero,
  .home-slider,
  .main-slider,
  .s-slider-block,
  .s-product-card,
  .product,
  .product-card,
  .product-item,
  .products-grid .item,
  .product-entry,
  .product-single,
  .product-details,
  .s-product-page,
  .faq,
  .accordion,
  footer,
  .site-footer,
  .store-footer,
  .s-footer
)
  :is(.btn-primary, .s-button-primary, .add-to-cart-btn, a.btn-primary, .s-button-element, .s-button-btn, button[type="submit"]):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding-inline: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--eco-primary-deep) 0%, #367e2b 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: var(--eco-shadow-button);
  transition:
    transform var(--eco-transition),
    box-shadow var(--eco-transition),
    filter var(--eco-transition),
    border-color var(--eco-transition);
}

:is(
  .hero,
  .home-slider,
  .main-slider,
  .s-slider-block,
  .s-product-card,
  .product,
  .product-card,
  .product-item,
  .products-grid .item,
  .product-entry,
  .product-single,
  .product-details,
  .s-product-page,
  .faq,
  .accordion,
  footer,
  .site-footer,
  .store-footer,
  .s-footer
)
  :is(.btn-primary, .s-button-primary, .add-to-cart-btn, a.btn-primary, .s-button-element, .s-button-btn, button[type="submit"]):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn):hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(38, 98, 31, 0.22);
  filter: saturate(1.02);
}

:is(
  .hero,
  .home-slider,
  .main-slider,
  .s-slider-block,
  .s-product-card,
  .product,
  .product-card,
  .product-item,
  .products-grid .item,
  .product-entry,
  .product-single,
  .product-details,
  .s-product-page,
  .faq,
  .accordion,
  footer,
  .site-footer,
  .store-footer,
  .s-footer
)
  :is(.btn-outline, .btn--outline, .s-button-outline, a.btn-outline, .is-outline):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn) {
  background: rgba(255, 255, 255, 0.92);
  color: var(--eco-primary-deep);
  border: 1.5px solid rgba(113, 189, 90, 0.32);
  box-shadow: 0 8px 18px rgba(17, 39, 14, 0.05);
}

:is(.hero, .home-slider, .main-slider, .s-slider-block)
  :is(.btn-primary, .s-button-primary, .add-to-cart-btn, a.btn-primary, .s-button-element, .s-button-btn, button[type="submit"]):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn) {
  min-height: 58px;
  padding-inline: 1.6rem;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #fbfdf9 0%, #e9f1e3 100%);
  color: var(--eco-primary-deep);
  font-size: 15.5px;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(9, 20, 10, 0.16);
}

:is(.hero, .home-slider, .main-slider, .s-slider-block)
  :is(.btn-outline, .btn--outline, .s-button-outline, a.btn-outline, .is-outline):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn) {
  min-height: 58px;
  padding-inline: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  font-size: 15.5px;
  letter-spacing: 0.01em;
  box-shadow: none;
}

/* Footer */
footer,
.site-footer,
.store-footer,
.s-footer {
  position: relative;
  overflow: hidden;
  margin-block-start: clamp(48px, 7vw, 88px);
  border-top: 1px solid rgba(38, 46, 35, 0.08);
  background: linear-gradient(180deg, #f6f4ef 0%, #efede7 100%);
  color: rgba(71, 79, 70, 0.88);
  box-shadow: 0 -8px 22px rgba(20, 24, 18, 0.04);
}

footer::before,
.site-footer::before,
.store-footer::before,
.s-footer::before,
footer::after,
.site-footer::after,
.store-footer::after,
.s-footer::after {
  content: none;
}

footer::before,
.site-footer::before,
.store-footer::before,
.s-footer::before {
  content: none;
}

footer::after,
.site-footer::after,
.store-footer::after,
.s-footer::after {
  content: none;
}

:is(footer, .site-footer, .store-footer, .s-footer) :is(h2, h3, h4, .title, .footer-title) {
  color: #182118;
  font-weight: 800;
  letter-spacing: -0.02em;
}

:is(footer, .site-footer, .store-footer, .s-footer) :is(p, li, span, small) {
  color: rgba(88, 96, 86, 0.9);
}

:is(footer, .site-footer, .store-footer, .s-footer) :is(a, .link) {
  color: #2a3429;
  transition: color var(--eco-transition), opacity var(--eco-transition);
}

:is(footer, .site-footer, .store-footer, .s-footer) :is(a, .link):hover {
  color: #111811;
}

:is(footer, .site-footer, .store-footer, .s-footer)
  :is(input, textarea, select) {
  border: 1px solid rgba(38, 46, 35, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: #1a221a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

:is(footer, .site-footer, .store-footer, .s-footer)
  :is(.btn-primary, .s-button-primary, .add-to-cart-btn, a.btn-primary, .s-button-element, .s-button-btn, button[type="submit"]):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn) {
  border: 1px solid rgba(38, 46, 35, 0.12);
  background: #ffffff;
  color: #182118;
  box-shadow: none;
}

:is(footer, .site-footer, .store-footer, .s-footer)
  :is(.btn-primary, .s-button-primary, .add-to-cart-btn, a.btn-primary, .s-button-element, .s-button-btn, button[type="submit"]):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn):hover {
  box-shadow: none;
  filter: none;
  background: #fbfbf8;
}

:is(footer, .site-footer, .store-footer, .s-footer)
  :is(.btn-outline, .btn--outline, .s-button-outline, a.btn-outline, .is-outline):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn) {
  border: 1px solid rgba(38, 46, 35, 0.12);
  background: transparent;
  color: #2a3429;
  box-shadow: none;
}

:is(footer, .site-footer, .store-footer, .s-footer)
  :is(.social a, .social-icons a, .footer-social a, .social-links a, .s-social a, .social-icon, .footer__social a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(38, 46, 35, 0.1);
  box-shadow: none;
  color: #223022;
}

:is(footer, .site-footer, .store-footer, .s-footer)
  :is(.social a, .social-icons a, .footer-social a, .social-links a, .s-social a, .social-icon, .footer__social a)
  :is(svg, i) {
  color: currentColor;
  fill: currentColor;
}

/* RTL-friendly spacing */
:is(.hero, .home-slider, .main-slider, .s-slider-block, .s-product-card, .product, .product-card, .product-item, .product-entry, .product-single, .product-details, .s-product-page, .s-category-card, .category-card, .faq, .accordion, footer, .site-footer, .store-footer, .s-footer) {
  text-align: start;
}

html[dir="rtl"] :is(.section-title, .s-block__title, .block-title, .section-head h2, .section__title) {
  flex-direction: row-reverse;
}

html[dir="rtl"]
  :is(.hero, .home-slider, .main-slider, .s-slider-block, .s-product-card, .product, .product-card, .product-item, .product-entry, .product-single, .product-details, .s-product-page, .s-category-card, .category-card, .faq, .accordion, footer, .site-footer, .store-footer, .s-footer)
  :is(.actions, .buttons, .product-actions, .s-product-card__actions, .hero-actions, .cta-group) {
  justify-content: flex-start;
}

/* Tablet and mobile polish */
@media (max-width: 991px) {
  :is(.hero, .home-slider, .main-slider, .s-slider-block) .swiper-slide {
    min-height: auto;
    padding: 32px 24px;
    border-radius: 30px;
  }

  :is(.hero, .home-slider, .main-slider, .s-slider-block)
    :is(.slide-content, .swiper-content, .caption, .content, .hero__content, .s-slider-block__content) {
    padding: 22px;
    border-radius: 26px;
  }

  :is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry),
  :is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item) {
    border-radius: 26px;
  }

  :is(.product-single, .product-details, .s-product-page)
    :is(.card, .product-info, .product-gallery, .product-summary, .summary, .product-form, .product-meta) {
    border-radius: 28px;
  }
}

@media (max-width: 767px) {
  :is(.hero, .home-slider, .main-slider, .s-slider-block) .swiper-slide {
    min-height: auto;
    padding: 26px 18px;
    border-radius: 24px;
  }

  :is(.hero, .home-slider, .main-slider, .s-slider-block)
    :is(.slide-content, .swiper-content, .caption, .content, .hero__content, .s-slider-block__content) {
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
  }

  :is(.hero, .home-slider, .main-slider, .s-slider-block) :is(h2, h3, .title) {
    max-inline-size: none;
    font-size: clamp(38px, 10vw, 52px);
  }

  :is(.hero, .home-slider, .main-slider, .s-slider-block) p {
    font-size: 15px;
    line-height: 1.68;
  }

  :is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
    :is(.content, .details, .info, .product-content, .product-card__content, .s-product-card-content, .s-product-card__content),
  :is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item)
    :is(.content, .details, .info, .s-category-card__content, .category-card__content) {
    padding: 18px;
  }

  :is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
    :is(.s-product-card__title, .product-title, .product .title, .product-card .title, h3, h4, .name),
  :is(.s-category-card, .category-card, .categories-grid .item, .categories-style-1 .item, section[class*="categories"] .item)
    :is(h3, h4, .title, .name, .s-category-card__title) {
    font-size: 18px;
  }

  :is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
    :is(.s-price, .price, .product-price, .current-price, .sale-price, .amount),
  :is(.product-single, .product-details, .s-product-page)
    :is(.price, .current-price, .product-price, .s-price) {
    font-size: 24px;
  }

  :is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry) {
    border-radius: 26px;
  }

  :is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
    :is(.image, .thumb, .product-image, .product-card__image, .s-product-card-image, .s-product-card__image) {
    margin: 12px 12px 0;
    padding: 10px;
    border-radius: 20px;
  }

  :is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
    :is(.content, .details, .info, .product-content, .product-card__content, .s-product-card-content, .s-product-card__content) {
    gap: 8px;
    padding: 16px 16px 18px;
  }

  :is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
    :is(.s-product-card__title, .product-title, .product .title, .product-card .title, h3, h4, .name) {
    font-size: 18px;
    line-height: 1.3;
  }

  :is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
    :is(.actions, .buttons, .product-actions, .s-product-card__actions) {
    gap: 0.55rem;
    padding-block-start: 10px;
  }

  :is(.s-product-card, .product, .product-card, .product-item, .products-grid .item, .product-entry)
    :is(.actions, .buttons, .product-actions, .s-product-card__actions)
    :is(.btn-primary, .s-button-primary, .add-to-cart-btn, a.btn-primary, .s-button-element, .s-button-btn, button[type="submit"], .btn-outline, .btn--outline, .s-button-outline, a.btn-outline, .is-outline):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn) {
    min-height: 44px;
    font-size: 13.5px;
  }

  :is(
    .hero,
    .home-slider,
    .main-slider,
    .s-slider-block,
    .s-product-card,
    .product,
    .product-card,
    .product-item,
    .products-grid .item,
    .product-entry,
    .product-single,
    .product-details,
    .s-product-page,
    footer,
    .site-footer,
    .store-footer,
    .s-footer
  )
    :is(.actions, .buttons, .product-actions, .s-product-card__actions, .hero-actions, .cta-group) {
    flex-direction: column;
    align-items: stretch;
  }

  :is(
    .hero,
    .home-slider,
    .main-slider,
    .s-slider-block,
    .s-product-card,
    .product,
    .product-card,
    .product-item,
    .products-grid .item,
    .product-entry,
    .product-single,
    .product-details,
    .s-product-page,
    footer,
    .site-footer,
    .store-footer,
    .s-footer
  )
    :is(.btn-primary, .s-button-primary, .add-to-cart-btn, a.btn-primary, .s-button-element, .s-button-btn, button[type="submit"], .btn-outline, .btn--outline, .s-button-outline, a.btn-outline, .is-outline):not(.btn-icon):not(.icon-btn):not(.icon-button):not(.circle-btn):not(.wishlist-btn):not(.favorite-btn) {
    inline-size: 100%;
  }

  footer,
  .site-footer,
  .store-footer,
  .s-footer {
    margin-block-start: 40px;
  }
}

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