/*
Theme Name: הסדריה
Theme URI: https://sadaria.co.il
Author: Sadaria
Description: עיצוב חנות מקצועי לחנות הסדריה — אביזרי יצירה, נייר יפני וכריכה קשה. תומך ב-WooCommerce ו-RTL.
Version: 1.6.4
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
WC requires at least: 7.0
WC tested up to: 8.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sadaria
Tags: rtl-language, e-commerce, woocommerce, custom-colors, custom-logo, featured-images
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
/*
 * Do not add styles above this line.
 * Google Fonts are loaded via functions.php wp_enqueue_style.
 */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --clr-brown-dark:    #2C1F14;
  --clr-brown-mid:     #4A3728;
  --clr-brown-main:    #8B6347;
  --clr-brown-light:   #C4A882;
  --clr-cream-dark:    #6B5744;
  --clr-cream-mid:     #E8DDD4;
  --clr-cream-light:   #F7F2EC;
  --clr-cream-pale:    #FDF9F5;

  --clr-black:         #1A1210;
  --clr-text:          #2C1F14;
  --clr-text-muted:    #6B5744;
  --clr-border:        #DDD5CC;
  --clr-bg:            #FFFFFF;
  --clr-bg-alt:        #F7F2EC;

  --clr-sale-bg:       #FEE8E8;
  --clr-sale-text:     #A32D2D;
  --clr-new-bg:        #E8F5E9;
  --clr-new-text:      #27500A;

  --font-serif: 'Open Sans', sans-serif;
  --font-sans: 'Open Sans', sans-serif;

  --radius-sm:         6px;
  --radius-md:         10px;
  --radius-lg:         14px;
  --radius-pill:       999px;

  --shadow-card:       0 1px 3px rgba(44,31,20,.08), 0 1px 2px rgba(44,31,20,.04);
  --shadow-hover:      0 4px 12px rgba(44,31,20,.12);

  --container-width:   1200px;
  --nav-height:        64px;
  --topbar-height:     36px;

  --transition:        0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Fix WooCommerce cart live region causing mobile overflow */
.widget_shopping_cart_live_region {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  top: -9999px !important;
  left: -9999px !important;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--clr-brown-main); }
ul { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; font-family: "Open Sans", sans-serif; }
input, select, textarea { font-family: "Open Sans", sans-serif; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-brown-dark);
  margin: 0 0 .75rem;
}
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }
h5 { font-size: 16px; font-family: "Open Sans", sans-serif; font-weight: 500; }

p { margin: 0 0 1rem; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  border: none;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--clr-brown-main);
  color: var(--clr-cream-pale);
}
.btn-primary:hover {
  background: var(--clr-brown-mid);
  color: var(--clr-cream-pale);
}

.btn-dark {
  background: var(--clr-brown-dark);
  color: var(--clr-cream-pale);
}
.btn-dark:hover {
  background: var(--clr-brown-mid);
  color: var(--clr-cream-pale);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-brown-main);
  border: 1.5px solid var(--clr-brown-main);
}
.btn-ghost:hover {
  background: var(--clr-brown-main);
  color: var(--clr-cream-pale);
}

.btn-gold {
  background: var(--clr-brown-light);
  color: var(--clr-brown-dark);
}
.btn-gold:hover {
  background: var(--clr-brown-main);
  color: var(--clr-cream-pale);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  line-height: 1.4;
}
.badge-sale   { background: var(--clr-sale-bg);  color: var(--clr-sale-text); }
.badge-new    { background: var(--clr-new-bg);   color: var(--clr-new-text); }
.badge-hot    { background: #FEF3E2;             color: #633806; }

/* ============================================================
   TOPBAR
   ============================================================ */
.site-topbar {
  background: var(--clr-cream-light);
  border-bottom: 1px solid var(--clr-border);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}
.site-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.topbar-msg {
  font-size: 12px;
  color: var(--clr-text-muted);
}
.topbar-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--clr-text-muted);
}
.topbar-links a:hover { color: var(--clr-brown-main); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
}

.site-logo {
  font-family: "Open Sans", sans-serif !important;
  font-size: 26px;
  font-weight: 700;
  color: var(--clr-brown-dark);
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo span,
.site-logo__text { font-family: "Open Sans", sans-serif !important; color: var(--clr-brown-main); }
.site-logo img { height: auto; width: auto; max-height: 100px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.primary-nav a {
  font-size: 14px;
  color: var(--clr-text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  font-weight: 400;
}
.primary-nav a:hover,
.primary-nav a.current-menu-item,
.primary-nav a.current-page-ancestor {
  background: var(--clr-cream-light);
  color: var(--clr-brown-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-search-btn {
  background: none;
  border: none;
  padding: 8px;
  color: var(--clr-text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-search-btn:hover { background: var(--clr-cream-light); color: var(--clr-brown-dark); }
.nav-search-btn svg { display: block; }

.cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-brown-dark);
  color: var(--clr-cream-pale) !important;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}
.cart-link:hover { background: var(--clr-brown-mid); }
.cart-link .cart-count {
  background: var(--clr-brown-light);
  color: var(--clr-brown-dark);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--clr-border);
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--clr-text);
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav-toggle  { display: flex; }
  .site-topbar { display: none; }
  .topbar-links { display: none; }
}

/* Mobile nav drawer */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44,31,20,.45);
  z-index: 199;
  backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--clr-bg);
  z-index: 200;
  display: none;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(44,31,20,.15);
}
.mobile-nav.open { display: flex; }

/* Also fix a11y panel */


.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--clr-border);
  flex-shrink: 0;
}
.mobile-nav__logo { text-decoration: none; }
.mobile-nav__close {
  background: none;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 7px;
  cursor: pointer;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-nav__close:hover { border-color: var(--clr-brown-main); color: var(--clr-brown-main); }

.mobile-nav__links {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.mobile-nav__links a,
.mobile-nav__links li a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--clr-brown-dark);
  border-bottom: 1px solid var(--clr-cream-light);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.mobile-nav__links a:hover,
.mobile-nav__links li a:hover {
  background: var(--clr-cream-light);
  color: var(--clr-brown-main);
}
.mobile-nav__links .current-menu-item > a {
  color: var(--clr-brown-main);
  border-right: 3px solid var(--clr-brown-main);
}
.mobile-nav__links ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav__links li { margin: 0; }

.mobile-nav__footer {
  border-top: 1px solid var(--clr-border);
  padding: 12px 0;
  flex-shrink: 0;
}
.mobile-nav__footer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  font-size: 14px;
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color .15s;
}
.mobile-nav__footer-link:hover { color: var(--clr-brown-main); }

/* Prevent body scroll when drawer open */
body.mobile-nav-open { overflow: hidden; }

/* Search overlay */
.search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  padding: 16px 24px;
  z-index: 200;
}
.search-overlay.open { display: block; }
.search-overlay input[type="search"] {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--clr-brown-main);
  border-radius: var(--radius-pill);
  font-size: 15px;
  outline: none;
  background: var(--clr-cream-pale);
  color: var(--clr-text);
  direction: rtl;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: var(--clr-cream-light);
  padding: 56px 0 48px;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-content { flex: 1; }

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--clr-brown-main);
  font-weight: 500;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--clr-brown-dark);
  margin-bottom: 18px;
  line-height: 1.1;
}

.hero-desc {
  font-size: 16px;
  color: var(--clr-cream-dark);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  transform: rotate(4deg);
  width: 380px;
}
.hero-visual.hero-visual--carousel {
  transform: none !important;
  width: 480px !important;
  min-height: 500px;
}

.hero-visual img {
  transform: rotate(-4deg);
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* Carousel — no rotation, full width */
.hero-visual .hero-carousel {
  transform: none;
  width: 100%;
}
.hero-visual:has(.hero-carousel) {
  transform: none;
  width: 440px;
}

.paper-swatch {
  width: 60px;
  height: 84px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .hero-visual { display: none; }
  .hero { padding: 36px 0 32px; }
  .hero-desc { max-width: 100%; }
  .hero-title { font-size: clamp(24px, 7vw, 38px); }
  .hero-inner { gap: 24px; }
  .hero-actions { flex-wrap: wrap; }
}

/* ============================================================
   FILTER PILLS BAR
   ============================================================ */
.filter-bar {
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  padding: 10px 0;
}
.filter-bar-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 4px;
}
.filter-bar-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text-muted);
  padding: 5px 14px;
  font-family: inherit;
  transition: color .15s, border-color .15s, background .15s;
}
.filter-bar-toggle:hover { color: var(--clr-brown-main); border-color: var(--clr-brown-main); }
.filter-bar-toggle[aria-expanded="false"] { background: var(--clr-brown-dark); color: var(--clr-cream-pale); border-color: var(--clr-brown-dark); }
.filter-bar-toggle__icon { flex-shrink: 0; }
.filter-bar-inner {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  overflow: hidden;
  max-height: 2000px;
  opacity: 1;
  transition: max-height .3s ease, opacity .25s ease, margin .25s ease;
  margin-top: 6px;
}
.filter-bar-inner.is-collapsed {
  max-height: 0 !important;
  opacity: 0;
  margin-top: 0;
}

/* Load more button */
.sadaria-load-more-btn {
  padding: 12px 32px;
  font-size: 14px;
  border: 1.5px solid var(--clr-brown-main);
  color: var(--clr-brown-main);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sadaria-load-more-btn:hover {
  background: var(--clr-brown-dark);
  color: var(--clr-cream-pale);
  border-color: var(--clr-brown-dark);
}
.sadaria-load-more-btn:disabled {
  opacity: .5;
  cursor: wait;
}
.sadaria-load-more-btn.is-loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: sadaria-spin .7s linear infinite;
  display: inline-block;
}
@keyframes sadaria-spin { to { transform: rotate(360deg); } }

@keyframes sadaria-fadein {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.product-card.sadaria-new {
  animation: sadaria-fadein .5s cubic-bezier(.22,.68,0,1.2) both;
}
.product-card.sadaria-new:nth-child(3n+2) { animation-delay: .08s; }
.product-card.sadaria-new:nth-child(3n+3) { animation-delay: .16s; }
.product-card.sadaria-new:nth-child(3n+4) { animation-delay: .24s; }
.product-card.sadaria-new:nth-child(3n+5) { animation-delay: .32s; }
.product-card.sadaria-new:nth-child(3n+6) { animation-delay: .40s; }
.product-card.sadaria-new:nth-child(3n+7) { animation-delay: .48s; }
.product-card.sadaria-new:nth-child(3n+8) { animation-delay: .56s; }
.product-card.sadaria-new:nth-child(3n+9) { animation-delay: .64s; }

.filter-pill {
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  border: 1px solid var(--clr-border);
  background: transparent;
  color: var(--clr-text-muted);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.filter-pill:hover {
  border-color: var(--clr-brown-main);
  color: var(--clr-brown-main);
  background: transparent;
}
.filter-pill.active,
.filter-pill.current-cat {
  background: var(--clr-brown-dark);
  color: var(--clr-cream-pale);
  border-color: var(--clr-brown-dark);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-top: 40px;
}
.section-title {
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--clr-brown-dark);
  margin: 0;
}
.section-link {
  font-size: 13px;
  color: var(--clr-brown-main);
  font-weight: 500;
}
.section-link:hover { color: var(--clr-brown-mid); }

/* ============================================================
   CATEGORY CARDS (homepage)
   ============================================================ */
.category-card {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-bg);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  color: inherit;
}
.category-card:hover {
  border-color: var(--clr-brown-main);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: inherit;
}

.category-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.category-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card__img.placeholder {
  background: var(--clr-cream-light);
}

.category-card__body {
  padding: 14px 16px 16px;
}
.category-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-brown-dark);
  margin-bottom: 4px;
}
.category-card__count {
  font-size: 12px;
  color: var(--clr-text-muted);
  margin-bottom: 8px;
}
.category-card__price {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-brown-mid);
}

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-banner {
  background: var(--clr-brown-dark);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0;
}
.promo-banner__eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-brown-light);
  margin-bottom: 8px;
}
.promo-banner__title {
  font-family: "Open Sans", sans-serif;
  font-size: 22px;
  color: var(--clr-cream-pale);
  margin-bottom: 8px;
}
.promo-banner__desc {
  font-size: 13px;
  color: #9D8270;
  max-width: 340px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .promo-banner { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* ============================================================
   SHOP ARCHIVE (category page)
   ============================================================ */
.shop-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 220px !important;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr !important; }
  .shop-sidebar { display: none; }
}

/* Sidebar */
.shop-sidebar {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: calc(var(--nav-height) + var(--topbar-height) + 16px);
}
.sidebar-widget { margin-bottom: 24px; }
.sidebar-widget:last-child { margin-bottom: 0; }
.sidebar-widget__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-brown-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--clr-border);
}
.sidebar-toggle-title {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  margin-bottom: 0;
  transition: margin-bottom .2s;
}
.sidebar-toggle-title:hover { color: var(--clr-brown-main); }
.sidebar-toggle-title[aria-expanded="true"] { margin-bottom: 12px; }
.sidebar-toggle-icon {
  font-size: 10px;
  color: var(--clr-text-muted);
  transition: transform .25s ease;
}
.sidebar-toggle-title[aria-expanded="false"] .sidebar-toggle-icon { transform: rotate(180deg); }
.sidebar-collapsible-body {
  overflow: hidden;
  max-height: 2000px;
  transition: max-height .3s ease, opacity .25s ease;
  opacity: 1;
}
.sidebar-collapsible-body.is-collapsed {
  max-height: 0 !important;
  opacity: 0;
}

.sidebar-cat-list li { margin-bottom: 6px; }
.sidebar-cat-list a {
  font-size: 13px;
  color: var(--clr-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  transition: var(--transition);
}
.sidebar-cat-list a:hover { color: var(--clr-brown-main); }
.sidebar-cat-list a.active { color: var(--clr-brown-dark); font-weight: 500; }
.sidebar-cat-list .count {
  font-size: 11px;
  color: var(--clr-text-muted);
  background: var(--clr-cream-light);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}

.price-filter { display: flex; gap: 8px; align-items: center; }
.price-filter input[type="number"] {
  width: 75px;
  padding: 6px 10px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
}
.price-filter-sep { font-size: 12px; color: var(--clr-text-muted); }

/* Shop toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--clr-border);
  gap: 12px;
  flex-wrap: wrap;
}
.shop-toolbar__count {
  font-size: 13px;
  color: var(--clr-text-muted);
}
.shop-toolbar__sort select {
  padding: 7px 14px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--clr-text);
  background: var(--clr-bg);
  cursor: pointer;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-bg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  border-color: var(--clr-brown-main);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.product-card__badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}

.product-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--clr-cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.04); }

.product-card__img .woocommerce-placeholder {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.product-card__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-brown-dark);
  margin-bottom: 4px;
  line-height: 1.4;
  flex: 1;
}
.product-card__name a { color: inherit; }
.product-card__name a:hover { color: var(--clr-brown-main); }

.product-card__sku {
  display: none;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.product-card__price {
  font-size: 16px;
  font-weight: 500;
  color: var(--clr-brown-mid);
}
.product-card__price del {
  font-size: 13px;
  color: var(--clr-text-muted);
  font-weight: 400;
  margin-left: 4px;
}
.product-card__price ins {
  text-decoration: none;
  color: var(--clr-sale-text);
}

.product-card__add {
  font-size: 12px;
  background: var(--clr-brown-main);
  color: var(--clr-cream-pale);
  border: none;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}
.product-card__add:hover { background: var(--clr-brown-mid); }

/* ============================================================
   CATEGORY PAGE HERO
   ============================================================ */
.cat-hero {
  background: var(--clr-cream-light);
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--clr-border);
}
.cat-hero__breadcrumb {
  font-size: 12px;
  color: var(--clr-text-muted);
  margin-bottom: 12px;
}
.cat-hero__breadcrumb a { color: var(--clr-brown-main); }
.cat-hero__breadcrumb span { margin: 0 6px; }
.cat-hero__title {
  font-size: clamp(24px, 4vw, 38px);
  color: var(--clr-brown-dark);
  margin-bottom: 10px;
}
.cat-hero__desc {
  font-size: 14px;
  color: var(--clr-cream-dark);
  max-width: 560px;
  margin-bottom: 16px;
}
.cat-hero__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cat-hero__chip {
  font-size: 11px;
  background: var(--clr-cream-mid);
  color: var(--clr-brown-mid);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  align-items: start;
}
@media (max-width: 768px) {
  .single-product-layout { grid-template-columns: 1fr; gap: 24px; padding: 24px 0; }
}

.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}
.product-gallery__main {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--clr-cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-gallery__main:hover img { transform: scale(1.07); }
.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--clr-border);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.product-gallery__thumb:hover,
.product-gallery__thumb.active { border-color: var(--clr-brown-main); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-summary {}
.product-summary__category {
  font-size: 12px;
  color: var(--clr-brown-main);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  font-weight: 500;
}
.product-summary__title {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 12px;
}
.product-summary__sku {
  font-size: 12px;
  color: var(--clr-text-muted);
  margin-bottom: 16px;
}
.product-summary__price {
  font-size: 26px;
  font-weight: 500;
  color: var(--clr-brown-mid);
  margin-bottom: 20px;
}
.product-summary__price del {
  font-size: 18px;
  color: var(--clr-text-muted);
  font-weight: 400;
  margin-left: 8px;
  text-decoration: line-through;
  text-decoration-color: var(--clr-text-muted);
}
.product-summary__price ins { text-decoration: none; color: var(--clr-sale-text); }

.sv-price-update del {
  font-size: 16px;
  color: var(--clr-text-muted);
  font-weight: 400;
  margin-left: 8px;
  text-decoration: line-through !important;
  text-decoration-color: var(--clr-text-muted) !important;
}
.sv-price-update ins { text-decoration: none; color: var(--clr-sale-text); }
.sv-price-update del * { text-decoration: line-through !important; }

.product-summary__desc {
  font-size: 14px;
  color: var(--clr-cream-dark);
  line-height: 1.8;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--clr-border);
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 36px;
  height: 40px;
  background: var(--clr-cream-light);
  border: none;
  font-size: 18px;
  color: var(--clr-text);
  cursor: pointer;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--clr-cream-mid); }
.qty-input {
  width: 50px;
  height: 40px;
  border: none;
  border-right: 1px solid var(--clr-border);
  border-left: 1px solid var(--clr-border);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}
.qty-input:focus { outline: none; }

.add-to-cart-btn {
  flex: 1;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
}

.product-meta-list {
  margin-top: 20px;
  font-size: 13px;
}
.product-meta-list li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--clr-cream-light);
  color: var(--clr-text-muted);
}
.product-meta-list li strong { color: var(--clr-brown-dark); min-width: 80px; }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */

/* Breadcrumb */
.woocommerce-breadcrumb {
  font-size: 12px;
  color: var(--clr-text-muted);
  padding: 12px 0;
}
.woocommerce-breadcrumb a { color: var(--clr-brown-main); }

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  border-top: none !important;
}
.woocommerce-message { background: var(--clr-new-bg); color: var(--clr-new-text); border: 1px solid #C0DD97; }
.woocommerce-info    { background: #E6F1FB; color: #0C447C; border: 1px solid #85B7EB; }
.woocommerce-error   { background: var(--clr-sale-bg); color: var(--clr-sale-text); border: 1px solid #F09595; }

/* Cart & Checkout */
.woocommerce table.shop_table {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 14px;
}
.woocommerce table.shop_table th {
  background: var(--clr-cream-light);
  padding: 12px 16px;
  font-weight: 500;
  font-size: 13px;
  color: var(--clr-brown-dark);
  border-bottom: 1px solid var(--clr-border);
}
.woocommerce table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--clr-cream-light);
  vertical-align: middle;
}

/* Checkout form */
.woocommerce .form-row label { font-size: 13px; font-weight: 500; margin-bottom: 5px; display: block; }
.woocommerce .form-row input,
.woocommerce .form-row select,
.woocommerce .form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: border-color var(--transition);
  background: var(--clr-bg);
  color: var(--clr-text);
}
.woocommerce .form-row input:focus,
.woocommerce .form-row select:focus,
.woocommerce .form-row textarea:focus {
  outline: none;
  border-color: var(--clr-brown-main);
}

/* WC Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--clr-brown-main);
  color: var(--clr-cream-pale);
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--clr-brown-mid);
  color: var(--clr-cream-pale);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--clr-brown-dark);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--clr-brown-mid);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 32px 0;
  flex-wrap: wrap;
}
.woocommerce nav.woocommerce-pagination ul li {
  display: flex;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--clr-text-muted);
  transition: var(--transition);
}
.woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--clr-brown-main); color: var(--clr-brown-main); }
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--clr-brown-dark);
  color: var(--clr-cream-pale);
  border-color: var(--clr-brown-dark);
}

/* Star ratings */
.star-rating { color: var(--clr-brown-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-footer-bg, #3D2D1E);
  color: var(--clr-footer-text, #C4A882);
  margin-top: 64px;
}
.footer-top { padding: 52px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo-footer {
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-footer-text, #C4A882);
  filter: brightness(1.4);
  margin-bottom: 12px;
}
.footer-brand .logo-footer span { opacity: .7; }
.footer-desc {
  font-size: 13px;
  line-height: 1.75;
  opacity: .7;
  margin-bottom: 12px;
  max-width: 240px;
}
.footer-hours {
  font-size: 12px;
  opacity: .6;
  line-height: 1.8;
}

.footer-col__title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-footer-text, #C4A882);
  opacity: .5;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: var(--clr-footer-text, #C4A882);
  opacity: .75;
  text-decoration: none;
  transition: opacity .15s;
}
.footer-links a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  background: var(--clr-footer-bg, #3D2D1E);
  filter: brightness(.85);
}
.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--clr-footer-text, #C4A882);
  opacity: .6;
}
.footer-bottom__inner a {
  color: var(--clr-footer-text, #C4A882);
  text-decoration: none;
}
.footer-bottom__inner a:hover { opacity: 1; }
.footer-bottom__links { display: flex; gap: 20px; }

/* ============================================================
   MISC
   ============================================================ */
.page-section { padding: 48px 0; }
.text-muted { color: var(--clr-text-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* Loading spinner */
.loading-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid var(--clr-cream-mid);
  border-top-color: var(--clr-brown-main);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* WC loading overlay */
.blockUI.blockOverlay { background: rgba(255,255,255,.7) !important; }

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 2px solid var(--clr-brown-main);
  outline-offset: 2px;
  border-radius: 2px;
}


/* ============================================================
   GLOBAL FONT ENFORCEMENT — comprehensive override
   ============================================================ */

/* 1. Body is the single source of truth */
html, body {
  font-family: "Open Sans", sans-serif;
}

/* 2. Everything inherits naturally from body — do NOT set font-family:inherit here
      as it would override more-specific serif rules set earlier in the file */

/* 3. Force sans on ALL elements that browsers reset */
input, input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="search"], input[type="password"],
input[type="url"], input[type="date"], select, textarea,
button, .button, [type="submit"], [type="reset"], [type="button"],
.btn, a, p, li, td, th, label, code, pre {
  font-family: "Open Sans", sans-serif;
}

/* 4. Serif for headings and branded elements — !important beats WC overrides */
h1, h2, h3, h4,
h1 *, h2 *, h3 *, h4 *,
.site-logo,
.hero-title, .hero-title *,
.section-title,
.shop-sec-title,
.cat-hero__title,
.about-hero__title,
.about-story__text h2,
.about-founder__name,
.about-history__title,
.about-products__title,
.ws-block__title,
.promo-banner__title,
.single-product-layout .product-summary__title,
.woocommerce-loop-product__title,
.entry-title,
.logo-footer,
blockquote {
  font-family: "Open Sans", sans-serif !important;
}

/* 5. WooCommerce — nuke every possible selector */
.woocommerce *, .woocommerce-page *, .wc-block-grid *,
.wc-block-components-product-name,
.woocommerce-cart-form *, .woocommerce-checkout *,
.woocommerce-account *, .cart_totals *, .order-total,
.woocommerce-table *, .woocommerce-notices-wrapper *,
.woocommerce-message, .woocommerce-error, .woocommerce-info,
.woocommerce-product-rating *, .woocommerce-variation-price,
.woocommerce-variation-availability, .single_variation_wrap *,
.variations *, .woocommerce-product-attributes *,
.woocommerce-Tabs-panel *, .wc-tab *,
.added_to_cart, .wc-proceed-to-checkout *,
.shop_table *, .cart-collaterals *,
.woocommerce-breadcrumb, .woocommerce-result-count,
.woocommerce-ordering *, .woocommerce-pagination *,
form.woocommerce-checkout *, #order_review *,
.payment_methods *, .place-order *,
.woocommerce-additional-fields *,
.woocommerce-shipping-fields *,
.woocommerce-billing-fields * {
  font-family: "Open Sans", sans-serif !important;
}

/* 6. WooCommerce headings back to serif */
.woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce h4,
.woocommerce-page h1, .woocommerce-page h2,
.woocommerce-page h3, .woocommerce-page h4 {
  font-family: "Open Sans", sans-serif !important;
}

/* 7. Navigation & UI chrome */
.primary-nav a, .mobile-nav a, .filter-pill, .filter-bar-inner a,
.sidebar-cat-list a, .shop-toolbar__sort select, .cart-link,
.nav-search-btn, .site-topbar *, .topbar-links a,
.cat-hero__breadcrumb *, .sidebar-toggle-btn,
.sidebar-search input, .sidebar-widget * {
  font-family: "Open Sans", sans-serif;
}

/* 8. Footer */
.site-footer, .site-footer * {
  font-family: "Open Sans", sans-serif;
}
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .logo-footer {
  font-family: "Open Sans", sans-serif;
}

/* ============================================================
   HEADER — STACKED LAYOUT (logo above nav)
   ============================================================ */
.header-stacked .header-logo-bar {
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  padding: 16px 0 12px;
  text-align: center;
}
.header-stacked .header-logo-bar .site-logo {
  display: inline-flex;
  justify-content: center;
}
.header-stacked .header-nav-bar {
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}
.header-stacked .nav-inner--stacked {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.header-stacked .nav-inner--stacked .primary-nav {
  flex: unset;
  justify-content: center;
}
.header-stacked .nav-inner--stacked .nav-actions {
  position: absolute;
  left: 24px;
}
@media(max-width: 768px) {
  .header-stacked .nav-inner--stacked .nav-actions {
    position: static;
  }
}

/* ── Live Search Dropdown ── */
.sadaria-search-wrap { position: relative; }
.sadaria-live-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-brown-main);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  z-index: 9999;
  overflow: hidden;
  direction: rtl;
}
.sadaria-live-results.hidden { display: none; }
.sadaria-live-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--clr-brown-dark);
  border-bottom: 1px solid var(--clr-border);
  transition: background .15s;
}
.sadaria-live-item:last-child { border-bottom: none; }
.sadaria-live-item:hover { background: var(--clr-cream-light); }
.sadaria-live-item__img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid var(--clr-border);
}
.sadaria-live-item__info { flex: 1; min-width: 0; }
.sadaria-live-item__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-brown-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sadaria-live-item__price {
  font-size: 12px;
  color: var(--clr-brown-main);
  margin-top: 2px;
}
.sadaria-live-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  flex-wrap: wrap;
}
.sadaria-live-price-reg {
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-brown-dark);
}
.sadaria-live-price-sale {
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-sale-text);
}
.sadaria-live-price-orig {
  font-size: 11px;
  color: var(--clr-text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--clr-text-muted);
}
.sadaria-live-badge {
  font-size: 10px;
  font-weight: 500;
  background: var(--clr-sale-bg);
  color: var(--clr-sale-text);
  border-radius: 20px;
  padding: 1px 7px;
}
.sadaria-live-footer {
  display: block;
  text-align: center;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-brown-main);
  background: var(--clr-cream-light);
  text-decoration: none;
  transition: background .15s;
}
.sadaria-live-footer:hover { background: var(--clr-border); }
.sadaria-live-empty {
  padding: 14px;
  font-size: 13px;
  color: var(--clr-text-muted);
  text-align: center;
}
.sadaria-live-spinner {
  padding: 14px;
  text-align: center;
  color: var(--clr-text-muted);
  font-size: 12px;
}

/* ── Hero Carousel ── */
.hero-carousel {
  width: 100%;
  max-width: 100%;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-carousel__track {
  position: relative;
  width: 100%;
  height: 440px;
}
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-carousel__slide.active { opacity: 1; z-index: 1; }

/* Slide animation */
.hero-carousel[data-animation="slide"] .hero-carousel__slide {
  transform: translateX(100%);
  opacity: 1;
  transition: transform .6s ease;
}
.hero-carousel[data-animation="slide"] .hero-carousel__slide.active {
  transform: translateX(0);
  z-index: 1;
}
.hero-carousel[data-animation="slide"] .hero-carousel__slide.prev {
  transform: translateX(-100%);
  z-index: 0;
}

/* Zoom animation */
.hero-carousel[data-animation="zoom"] .hero-carousel__slide {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .7s ease, transform .7s ease;
}
.hero-carousel[data-animation="zoom"] .hero-carousel__slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 10px 0 4px;
}
.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s;
}
.hero-carousel__dot.active {
  background: var(--clr-brown-main);
  transform: scale(1.25);
}

/* ── Wishlist ── */
.product-card { position: relative; }

.wishlist-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: var(--clr-text-muted);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
  opacity: 1;
  transform: scale(1);
}
.wishlist-btn:hover { color: #A32D2D; border-color: #A32D2D; }
.wishlist-btn--active {
  color: #A32D2D !important;
  border-color: #A32D2D !important;
  background: #FFF0F0 !important;
}
.wishlist-btn--active svg { fill: #A32D2D; }

/* Wishlist icon btn on single product — sits inline next to add to cart */
.wishlist-btn--single {
  position: static;
  opacity: 1;
  transform: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

/* Wishlist count badge */
.wishlist-count { background: #A32D2D; }

/* Wishlist page */
#wishlist-grid .product-card .wishlist-btn { opacity: 1; transform: scale(1); }

/* ── Footer social icons ── */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-footer-text, #C4A882);
  opacity: .7;
  transition: opacity .2s;
  text-decoration: none;
}
.footer-social__icon:hover { opacity: 1; }

/* ── Footer newsletter ── */
.footer-nl__form {
  display: flex;
  gap: 0;
  margin-top: 4px;
}
.footer-nl__input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  background: rgba(255,255,255,.08);
  color: var(--clr-footer-text, #C4A882);
  font-size: 12px;
  font-family: inherit;
  direction: rtl;
  outline: none;
  min-width: 0;
}
.footer-nl__input::placeholder { opacity: .5; }
.footer-nl__input:focus { border-color: rgba(255,255,255,.4); }
.footer-nl__btn {
  padding: 8px 14px;
  background: var(--clr-brown-main, #8B6347);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.footer-nl__btn:hover { background: var(--clr-brown-dark, #2C1F14); }

/* ══════════════════════════════════════════
   ACCESSIBILITY TOOLBAR
══════════════════════════════════════════ */
#a11y-toggle {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99999;
  width: 44px;
  height: 44px;
  background: #1a6fbd;
  color: #fff;
  border: none;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -2px 0 8px rgba(0,0,0,.15);
  transition: background .2s;
}
#a11y-toggle:hover { background: #155a9e; }
#a11y-toggle svg { flex-shrink: 0; }

#a11y-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 280px;
  background: #fff;
  z-index: 99998;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  display: none;
  flex-direction: column;
  direction: rtl;
  overflow-y: auto;
}
#a11y-panel.open { display: flex; }

.a11y-panel__head {
  background: var(--clr-brown-dark);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.a11y-panel__head h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}
.a11y-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  transition: color .15s;
}
.a11y-close:hover { color: #fff; }

.a11y-section {
  padding: 14px 18px;
  border-bottom: 1px solid #F0EAE3;
}
.a11y-section__title {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8B6347;
  font-weight: 600;
  margin-bottom: 10px;
}

.a11y-btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.a11y-btn {
  flex: 1;
  min-width: 70px;
  padding: 8px 10px;
  border: 1.5px solid #E8DDD4;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  color: #4A3728;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: border-color .15s, background .15s;
  text-align: center;
}
.a11y-btn:hover { border-color: #8B6347; background: #FAF5F0; }
.a11y-btn.active { border-color: #2C1F14; background: #2C1F14; color: #fff; }
.a11y-btn svg { flex-shrink: 0; }

.a11y-font-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.a11y-font-row button {
  width: 36px;
  height: 36px;
  border: 1.5px solid #E8DDD4;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  color: #4A3728;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s;
  flex-shrink: 0;
}
.a11y-font-row button:hover { border-color: #8B6347; }
.a11y-font-size-display {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #2C1F14;
}

.a11y-reset {
  margin: 14px 18px;
  width: calc(100% - 36px);
  padding: 10px;
  background: none;
  border: 1.5px solid #E8DDD4;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  color: #8B6347;
  font-weight: 500;
  transition: border-color .15s, color .15s;
}
.a11y-reset:hover { border-color: #A32D2D; color: #A32D2D; }

/* ── Applied accessibility styles ── */
body.a11y-high-contrast #page {
  filter: contrast(150%);
}
body.a11y-invert #page {
  filter: invert(90%) hue-rotate(180deg);
}
body.a11y-grayscale #page {
  filter: grayscale(100%);
}
body.a11y-highlight-links a {
  background: #FFD700 !important;
  color: #000 !important;
  text-decoration: underline !important;
  padding: 0 2px;
}
body.a11y-readable-font,
body.a11y-readable-font * {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: .01em;
}
body.a11y-letter-spacing,
body.a11y-letter-spacing * {
  letter-spacing: .12em !important;
  word-spacing: .16em !important;
}
body.a11y-line-height,
body.a11y-line-height p,
body.a11y-line-height li,
body.a11y-line-height span {
  line-height: 2 !important;
}
body.a11y-focus-visible *:focus {
  outline: 3px solid #FF6600 !important;
  outline-offset: 3px !important;
}

/* ── Category Wishlist ── */
.shop-cat-card-wrap { position: relative; }
.cat-wishlist-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: var(--clr-text-muted);
  transition: color .2s, border-color .2s, background .2s;
}
.cat-wishlist-btn:hover { color: #A32D2D; border-color: #A32D2D; }
.cat-wishlist-btn--active { color: #A32D2D !important; border-color: #A32D2D !important; background: #FFF0F0 !important; }
.cat-wishlist-btn--active svg { fill: #A32D2D; }

/* Pill heart */
.cat-wishlist-btn--pill {
  position: static;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--clr-border);
  margin-right: 2px;
  flex-shrink: 0;
}

/* Wishlist page section titles */
.wishlist-section-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--clr-brown-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.wishlist-section-title::before {
  content: '❤';
  font-size: 14px;
  color: #A32D2D;
}

/* Always show cat wishlist btn */
#wishlist-cats-grid .cat-wishlist-btn { opacity: 1; }

/* ── My Account Addresses — hide default, show custom ── */
body.woocommerce-account .woocommerce-Addresses { display: none !important; }

/* ── Mobile fixes ── */
@media (max-width: 480px) {
  .btn { white-space: normal; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── Mobile header — logo top centered, icons row below ── */
.mobile-logo-bar,
.mobile-icons-bar { display: none; }

@media (max-width: 768px) {
  #page { max-width: 100vw; overflow-x: hidden; }

  .site-header {
    padding: 0;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
  }

  /* Hide desktop nav */
  .nav-inner { display: none; }
  .nav-toggle { display: none; }

  /* Show mobile bars */
  .mobile-logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--clr-border);
  }
  .mobile-icons-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
  }
  .mobile-icons-bar__left { display: flex; align-items: center; }
  .mobile-icons-bar__right { display: flex; align-items: center; gap: 8px; }
  .mobile-icons-bar .nav-toggle { display: flex; }
}

/* ── Video Section ── */
.sadaria-video-section {
  padding: 64px 0;
  background: var(--clr-cream-light);
}
.sadaria-video-section__title {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--clr-brown-dark);
  margin-bottom: 12px;
  text-align: center;
}
.sadaria-video-section__desc {
  font-size: 16px;
  color: var(--clr-cream-dark);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 28px;
}
.sadaria-video-section__wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sadaria-video-section__wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}

/* ── Accessibility toggle — mobile top-left ── */
@media (max-width: 768px) {
  #a11y-toggle {
    right: unset !important;
    left: 0 !important;
    top: 140px !important;
    transform: none !important;
    border-radius: 0 8px 8px 0 !important;
    box-shadow: 2px 0 8px rgba(0,0,0,.15) !important;
    width: 36px !important;
    height: 36px !important;
  }
}

/* ── Product attribute pills ── */
.sv-simple-attrs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.sv-attr-pill { display:inline-flex; align-items:center; border-radius:99px; overflow:hidden; font-size:13px; background:#F0E9DF; }
.sv-attr-pill__label { padding:5px 14px; color:#5C4A32; font-weight:500; }

/* ── my css ── */
.category-card__count{display:none;}

/* ============================================================
   MY ACCOUNT — Login form RTL fixes
   ============================================================ */

/* Remember me checkbox row */
.woocommerce-form-login__rememberme {
  display: inline-flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
}
.woocommerce-form-login__rememberme input[type="checkbox"] {
  position: static !important;
  margin: 0 !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}
.woocommerce-form-login__rememberme span {
  font-size: 14px !important;
}

/* Password show/hide toggle — fix for RTL */
.woocommerce form .password-input {
  position: relative !important;
  display: block !important;
}
.woocommerce form .password-input input[type="password"],
.woocommerce form .password-input input[type="text"] {
  padding-left: 44px !important;
  padding-right: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.woocommerce form .show-password-input {
  position: absolute !important;
  top: 50% !important;
  left: 12px !important;
  right: auto !important;
  transform: translateY(-50%) !important;
  font-size: 1.2em !important;
  cursor: pointer !important;
  color: var(--clr-text-muted, #9D8270) !important;
  line-height: 1 !important;
}
