/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --accent: #e94560;
  --accent-hover: #d63251;
  --primary: #1a1a2e;
  --orange: #f5a623;
  --bg: #ffffff;
  --bg-light: #f8f9fc;
  --bg-dark: #0f0f1a;
  --text: #2c2c2c;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ann-bg: #1a1a2e;
  --ann-ico: #e94560;
  --hdr-bg: #ffffff;
  --hdr-txt: #2c2c2c;
  --nav-active-bg: #e94560;
  --nav-active-txt: #ffffff;
  --ftr-bg: #0f0f1a;
  --ftr-txt: #ffffff;
  --gallery-width: 48%;
}
html { scroll-behavior: smooth; }
body { font-family:'Tajawal',sans-serif; background:var(--bg); color:var(--text); line-height:1.7; overflow-x:hidden; }
a { text-decoration:none; color:inherit; transition:color var(--transition); }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* ===== ANNOUNCEMENT / TOP BAR ===== */
.announcement-bar { background:var(--ann-bg); padding:8px 0; position:relative; overflow:hidden; }
.announcement-bar::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(233,69,96,0.12) 0%,transparent 50%,rgba(245,166,35,0.08) 100%); }

/* 3-column row: contact | announcements | social */
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

/* Contact info — right side in RTL */
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.topbar-contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: embed;
}
.topbar-contact-item:hover { color: white; }
.topbar-contact-item svg { fill: var(--ann-ico); flex-shrink: 0; }

/* Announcements — center, takes remaining space */
.topbar-announcements {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}
.announcement-item { display:flex; align-items:center; gap:8px; white-space: nowrap; }
.announcement-item svg { width:16px; height:16px; fill:var(--ann-ico); flex-shrink:0; }

/* Social icons — left side in RTL */
.topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  transition: all var(--transition);
}
.topbar-social a:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.topbar-social a svg {
  width: 14px;
  height: 14px;
  fill: rgba(255,255,255,0.7);
}
.topbar-social a:hover svg { fill: white; }

/* Topbar visibility classes */
.tb-desktop-only { display: flex; }
.tb-mobile-only  { display: none; }
.tci-desktop-only { display: inline; }
.tci-mobile-only  { display: none; }
.tci { flex-shrink: 0; }

/* Visibility classes */
.ann-desktop-only { display: flex; }
.ann-mobile-only  { display: none; }
.ann-icon-desktop-only { display: inline; }
.ann-icon-mobile-only  { display: none; }
.search-desktop-only { display: flex; }
.search-mobile-only  { display: none; }

@media (max-width:900px) {
  .topbar-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .topbar-announcements { gap: 12px; }
  .tb-desktop-only { display: none !important; }
  .tb-mobile-only  { display: flex !important; }
  .tci-desktop-only { display: none !important; }
  .tci-mobile-only  { display: inline !important; }
  .ann-desktop-only { display: none !important; }
  .ann-mobile-only  { display: flex !important; }
  .ann-icon-desktop-only { display: none !important; }
  .ann-icon-mobile-only  { display: inline !important; }
  .search-desktop-only { display: none !important; }
  .search-mobile-only  { display: flex !important; max-width: 100%; flex: 0 0 100%; margin-top: 8px; order: 4; }
}

/* ===== HEADER ===== */
.site-header { background:var(--hdr-bg); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:100; will-change:box-shadow; transition:box-shadow 0.2s ease; }
.site-header.scrolled { box-shadow:var(--shadow); }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:12px 0; gap:20px; }
.site-logo { font-size: 28px; font-weight: 900; color: var(--primary); display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.site-logo span { color: var(--accent); }
.site-logo-img { height: 45px; width: auto; display: block; }
.main-nav ul { display:flex; gap:6px; list-style:none; margin:0; padding:0; }
.main-nav ul li a { padding:8px 16px; border-radius:var(--radius-sm); font-weight:500; font-size:15px; color:var(--hdr-txt); transition:color var(--transition); display:block; }
/* Reserve bold width to prevent layout shift on hover */
.main-nav ul li a::after { content:attr(data-text); display:block; font-weight:700; height:0; overflow:hidden; visibility:hidden; pointer-events:none; }
.main-nav ul li a:hover, .main-nav ul li.current-menu-item a, .main-nav ul li.current_page_item a { color:var(--accent); font-weight:700; }
.header-search { display:flex; align-items:stretch; border:2px solid var(--border); border-radius:var(--radius); overflow:hidden; flex:1; max-width:420px; transition:border-color var(--transition); }
.header-search:focus-within { border-color:var(--accent); }
.header-search select { border:none; background:var(--bg-light); padding:10px 14px; font-family:inherit; font-size:13px; color:var(--text-light); cursor:pointer; border-left:1px solid var(--border); outline:none; }
.header-search input[type="search"], .header-search input[type="text"] { border:none; flex:1; padding:10px 16px; font-family:inherit; font-size:14px; outline:none; min-width:0; background:transparent; }
.header-search button { background:var(--accent); border:none; padding:10px 18px; cursor:pointer; display:flex; align-items:center; transition:background var(--transition); }
.header-search button:hover { background:var(--accent-hover); }
.header-search button svg { width:18px; height:18px; fill:white; }
.header-cart { position:relative; border:2px solid var(--border); border-radius:var(--radius); padding:10px 14px; display:flex; align-items:center; gap:6px; font-weight:700; font-size:14px; color:var(--hdr-txt); transition:all var(--transition); background:none; cursor:pointer; font-family:inherit; }
.header-cart:hover { border-color:var(--accent); color:var(--accent); }
.header-cart svg { width:22px; height:22px; fill:currentColor; }
.cart-count { position:absolute; top:-6px; left:-6px; background:var(--accent); color:white; width:22px; height:22px; border-radius:50%; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; }

/* Mini Cart Dropdown */
.header-cart-wrapper { position: relative; }
.mini-cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 340px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
}
[dir="ltr"] .mini-cart-dropdown { left: auto; right: 0; }
.mini-cart-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mini-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mini-cart-header h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}
.mini-cart-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
  line-height: 1;
}
.mini-cart-close:hover { color: var(--accent); }
.mini-cart-content {
  max-height: 350px;
  overflow-y: auto;
  padding: 0;
}

/* WC Widget Cart inside mini cart */
.mini-cart-content .widget_shopping_cart_content {
  padding: 0;
}
.mini-cart-content .woocommerce-mini-cart {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.mini-cart-content .woocommerce-mini-cart .woocommerce-mini-cart-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid var(--border) !important;
  position: relative !important;
}
.mini-cart-content .woocommerce-mini-cart .woocommerce-mini-cart-item:last-child {
  border-bottom: none !important;
}
.mini-cart-content .woocommerce-mini-cart .woocommerce-mini-cart-item img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border) !important;
  flex-shrink: 0 !important;
}
.mini-cart-content .woocommerce-mini-cart .woocommerce-mini-cart-item a:not(.remove) {
  font-weight: 600 !important;
  color: var(--primary) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}
.mini-cart-content .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity {
  display: block !important;
  font-size: 12px !important;
  color: var(--text-light) !important;
}
.mini-cart-content .woocommerce-mini-cart .woocommerce-mini-cart-item .woocommerce-Price-amount {
  color: var(--accent) !important;
  font-weight: 700 !important;
}
.mini-cart-content .woocommerce-mini-cart .woocommerce-mini-cart-item a.remove {
  position: absolute !important;
  top: 10px !important;
  left: 14px !important;
  right: auto !important;
  font-size: 18px !important;
  color: var(--text-light) !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: var(--bg-light) !important;
}
[dir="ltr"] .mini-cart-content .woocommerce-mini-cart .woocommerce-mini-cart-item a.remove {
  left: auto !important;
  right: 14px !important;
}
.mini-cart-content .woocommerce-mini-cart .woocommerce-mini-cart-item a.remove:hover {
  background: var(--accent) !important;
  color: white !important;
}

/* Mini cart totals */
.mini-cart-content .woocommerce-mini-cart__total {
  padding: 14px 20px !important;
  border-top: 2px solid var(--border) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-weight: 700 !important;
}
.mini-cart-content .woocommerce-mini-cart__total .woocommerce-Price-amount {
  color: var(--accent) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

/* Mini cart buttons */
.mini-cart-content .woocommerce-mini-cart__buttons {
  padding: 14px 20px 20px !important;
  display: flex !important;
  gap: 10px !important;
}
.mini-cart-content .woocommerce-mini-cart__buttons a {
  flex: 1 !important;
  text-align: center !important;
  padding: 12px 16px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  font-family: inherit !important;
  transition: all var(--transition) !important;
}
.mini-cart-content .woocommerce-mini-cart__buttons a.wc-forward:first-child {
  background: var(--bg-light) !important;
  color: var(--primary) !important;
  border: 1px solid var(--border) !important;
}
.mini-cart-content .woocommerce-mini-cart__buttons a.wc-forward:first-child:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
.mini-cart-content .woocommerce-mini-cart__buttons a.checkout {
  background: var(--accent) !important;
  color: white !important;
}
.mini-cart-content .woocommerce-mini-cart__buttons a.checkout:hover {
  background: var(--primary) !important;
}

/* Mini cart empty */
.mini-cart-content .woocommerce-mini-cart__empty-message {
  padding: 40px 20px !important;
  text-align: center !important;
  color: var(--text-light) !important;
  font-size: 14px !important;
}

/* Mini cart overlay */
.mini-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.mini-cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile mini cart: full width slide from side */
@media (max-width:600px) {
  .mini-cart-dropdown {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    right: auto !important;
    width: 85% !important;
    max-width: 340px !important;
    height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    transform: none !important;
    transition: left 0.3s ease !important;
    z-index: 999 !important;
  }
  [dir="ltr"] .mini-cart-dropdown {
    left: auto !important;
    right: -100% !important;
    transition: right 0.3s ease !important;
  }
  .mini-cart-dropdown.open {
    left: 0 !important;
  }
  [dir="ltr"] .mini-cart-dropdown.open {
    left: auto !important;
    right: 0 !important;
  }
  .mini-cart-content {
    max-height: calc(100vh - 60px) !important;
  }
}

.mobile-toggle { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.mobile-toggle svg { width:28px; height:28px; fill:var(--hdr-txt); }

/* ===== SECTIONS ===== */
.section { padding:50px 0; }
.section-alt { background:var(--bg-light); }
.section-header { text-align:center; margin-bottom:40px; }
.section-header h2 { font-size:30px; font-weight:800; color:var(--primary); margin-bottom:10px; }
.section-header p { font-size:16px; color:var(--text-light); }

/* ===== PRODUCTS GRID ===== */
.woocommerce ul.products, .products-grid { display:grid !important; grid-template-columns:repeat(2,1fr); gap:24px; list-style:none; padding:0; margin:0; }

/* Desktop column classes — products */
@media (min-width:601px) {
  .products-grid.tsaw9-cols-2 { grid-template-columns:repeat(2,1fr); }
  .products-grid.tsaw9-cols-3 { grid-template-columns:repeat(3,1fr); }
  .products-grid.tsaw9-cols-4 { grid-template-columns:repeat(4,1fr); }
  .products-grid.tsaw9-cols-5 { grid-template-columns:repeat(5,1fr); }
  .woocommerce ul.products { grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); }
}

/* Desktop column classes — categories */
.categories-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
@media (min-width:601px) {
  .categories-grid.tsaw9-cat-cols-2 { grid-template-columns:repeat(2,1fr); }
  .categories-grid.tsaw9-cat-cols-3 { grid-template-columns:repeat(3,1fr); }
  .categories-grid.tsaw9-cat-cols-4 { grid-template-columns:repeat(4,1fr); }
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display:none; }
.woocommerce ul.products li.product, .product-card { background:var(--bg); border-radius:var(--radius); border:1px solid var(--border); overflow:hidden; transition:all var(--transition); position:relative; margin:0 !important; padding:0 !important; width:auto !important; float:none !important; }
.woocommerce ul.products li.product:hover, .product-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.product-img-wrapper { position:relative; overflow:hidden; background:var(--bg-light); }
.product-img-wrapper img { width:100%; aspect-ratio:1; object-fit:cover; }
.product-badge { position:absolute !important; top:12px !important; right:12px !important; left:auto !important; background:var(--accent) !important; color:white !important; padding:4px 12px !important; border-radius:20px !important; font-size:12px !important; font-weight:700 !important; z-index:2; line-height:1.5 !important; min-height:auto !important; min-width:auto !important; }
.woocommerce span.onsale { display:none !important; }
.product-info { padding:16px; }
.product-category-label { font-size:12px; color:var(--accent); font-weight:600; margin-bottom:4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .product-name { font-size:15px !important; font-weight:700; color:var(--primary); margin-bottom:8px; line-height:1.4; padding:0 !important; }
.product-rating { margin-bottom:10px; }

/* Custom star rating — simple unicode stars */
.tsaw9-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  direction: ltr;
}
.ity-star {
  font-size: 15px;
  line-height: 1;
  font-style: normal;
}
.ity-star.full { color: var(--orange); }
.ity-star.half { color: var(--orange); opacity: 0.5; }
.ity-star.empty { color: #ddd; }
.ity-star-num {
  font-size: 12px;
  color: var(--text-light);
  margin-right: 6px;
  font-weight: 600;
}
[dir="ltr"] .ity-star-num { margin-right: 0; margin-left: 6px; }

/* Star rating — visual stars instead of text */
.woocommerce .star-rating {
  color: var(--orange) !important;
  overflow: hidden !important;
  position: relative !important;
  height: 1.2em !important;
  line-height: 1.2 !important;
  font-size: 14px !important;
  width: 5.4em !important;
  font-family: star !important;
  display: inline-block !important;
}
.woocommerce .star-rating::before {
  content: "\73\73\73\73\73" !important;
  color: #e0e0e0 !important;
  float: left !important;
  top: 0 !important;
  left: 0 !important;
  position: absolute !important;
  letter-spacing: 0.1em !important;
}
.woocommerce .star-rating span {
  overflow: hidden !important;
  float: left !important;
  top: 0 !important;
  left: 0 !important;
  position: absolute !important;
  padding-top: 1.5em !important;
}
.woocommerce .star-rating span::before {
  content: "\53\53\53\53\53" !important;
  color: var(--orange) !important;
  top: 0 !important;
  position: absolute !important;
  left: 0 !important;
  letter-spacing: 0.1em !important;
}
/* Hide the text "تم التقييم X من 5" */
.woocommerce .star-rating .rating,
.woocommerce .star-rating span .rating {
  display: none !important;
}
.woocommerce .star-rating span strong {
  display: none !important;
}
.product-price { display:flex; align-items:center; gap:8px; margin-bottom:14px; }
.product-price ins { text-decoration:none; }
.product-price .woocommerce-Price-amount { font-weight:800; }
.product-price del { color:var(--text-light); font-size:14px; }
.product-price ins .woocommerce-Price-amount, .product-price > .woocommerce-Price-amount { color:var(--accent); font-size:20px; }
.btn-buy { display:block !important; width:100%; background:var(--btn-buy-bg, var(--primary)) !important; color:var(--btn-buy-txt, #ffffff) !important; text-align:center; padding:10px !important; border-radius:var(--radius-sm) !important; font-family:inherit; font-weight:700; font-size:14px; border:none; cursor:pointer; transition:all var(--transition); margin-top:0 !important; }
.btn-buy:hover { background:var(--btn-buy-hover-bg, var(--accent)) !important; color:var(--btn-buy-hover-txt, #ffffff) !important; }

/* ===== CATEGORIES GRID ===== */
/* ===== CATEGORIES STYLES ===== */
.category-card { position:relative; border-radius:var(--radius); overflow:hidden; height:200px; cursor:pointer; transition:transform var(--transition); }
.category-card:hover { transform:scale(1.02); }
.category-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.category-bg { position:absolute; inset:0; }
.cat-1 { background:linear-gradient(135deg,#667eea,#764ba2); }
.cat-2 { background:linear-gradient(135deg,#f093fb,#f5576c); }
.cat-3 { background:linear-gradient(135deg,#4facfe,#00f2fe); }
.cat-4 { background:linear-gradient(135deg,#43e97b,#38f9d7); }
.cat-5 { background:linear-gradient(135deg,#fa709a,#fee140); }
.cat-6 { background:linear-gradient(135deg,#a18cd1,#fbc2eb); }
.category-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,0.7) 0%,rgba(0,0,0,0.1) 100%); display:flex; flex-direction:column; justify-content:flex-end; padding:24px; z-index:2; }
.category-overlay h3 { color:white; font-size:20px; font-weight:800; margin-bottom:6px; }
.category-overlay .cat-count { color:rgba(255,255,255,0.7); font-size:13px; margin-bottom:10px; }
.btn-shop { display:inline-block; background:var(--accent); color:white; padding:8px 24px; border-radius:50px; font-size:14px; font-weight:700; transition:all var(--transition); width:fit-content; }
.btn-shop:hover { background:white; color:var(--primary); }

/* Store button — independent section above footer */
.store-button-section {
  padding: 40px 0;
}
.store-button-wrap {
  text-align: center;
}
.store-button {
  display: inline-block;
  padding: 16px 56px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-family: inherit;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.store-button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Store button visibility */
.sb-desktop-only { display: block; }
.sb-mobile-only  { display: none; }
@media (max-width:900px) {
  .sb-desktop-only { display: none !important; }
  .sb-mobile-only  { display: block !important; }
}

/* View all categories button */
.cat-button-wrap {
  text-align: center;
  margin-top: 32px;
}
.cat-view-all-button {
  display: inline-block;
  padding: 12px 40px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: inherit;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.cat-view-all-button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.cb-desktop-only { display: block; }
.cb-mobile-only  { display: none; }
@media (max-width:900px) {
  .cb-desktop-only { display: none !important; }
  .cb-mobile-only  { display: block !important; }
}

/* =================================================================
   SINGLE PRODUCT PAGE — Style WooCommerce's default layout
   WC's woocommerce-layout.css handles the gallery/summary columns:
     div.images  → float:left  48%
     div.summary → float:right 48%  (flipped in RTL)
   We just style the elements, NOT the layout.
   ================================================================= */

/* Container */
.woocommerce-page.single-product .page-content .container,
.single-product .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 40px;
}

/* Reduce top gap on mobile single product */
@media (max-width:768px) {
  body.single-product .page-content.woocommerce-page {
    padding-top: 16px !important;
  }
  body.single-product .page-content.section {
    padding-top: 16px !important;
  }
  .woocommerce-page.single-product .page-content .container,
  .single-product .woocommerce {
    padding: 16px 14px 30px !important;
  }
  .woocommerce div.product div.images {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px;
  }
  .woocommerce div.product div.summary {
    width: 100% !important;
    float: none !important;
  }
}

/* Gallery width from customizer */
.woocommerce div.product div.images {
  width: var(--gallery-width) !important;
}

/*
 * STATIC GALLERY — No FlexSlider, no JS, no glitch.
 * First image = main, rest = thumbnails below.
 */

.woocommerce div.product div.images .woocommerce-product-gallery {
  width: 100% !important;
  opacity: 1 !important;
  transition: none !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 10px;
  transform: none !important;
  transition: none !important;
}

/* Main image (first) */
.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child {
  grid-column: 1;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child a {
  display: block;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child img {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
}

/* Thumbnail images (2nd onward) — show in a row */
.woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child) {
  display: inline-block;
  width: 70px;
  height: 70px;
  vertical-align: top;
  margin-left: 8px;
  cursor: pointer;
}
[dir="rtl"] .woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child) {
  margin-left: 0;
  margin-right: 8px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child):first-of-type {
  margin: 0;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child) a {
  display: block;
  width: 100%;
  height: 100%;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child) img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: var(--radius-sm);
  opacity: 0.6;
  transition: opacity var(--transition);
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child):hover img,
.woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child).active img {
  opacity: 1;
}

/* If only one image, no spacing needed */
.woocommerce div.product div.images .woocommerce-product-gallery__image:only-child {
  display: block;
  width: auto;
  height: auto;
}

/* Kill any leftover FlexSlider / zoom elements */
.woocommerce div.product div.images .flex-viewport,
.woocommerce div.product div.images .flex-control-thumbs,
.woocommerce div.product div.images .flex-direction-nav,
.woocommerce div.product div.images .zoomImg,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  display: none !important;
}

.woocommerce div.product div.summary {
  width: calc(96% - var(--gallery-width)) !important;
}

/* Sale badge */
.woocommerce div.product span.onsale {
  background: var(--accent) !important;
  color: white !important;
  border-radius: 20px !important;
  padding: 4px 14px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.5 !important;
}

/* Product title */
.woocommerce div.product .product_title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 26px !important;
  color: var(--accent) !important;
  font-weight: 800;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--text-light) !important;
  font-size: 18px;
}

/* Rating */
.woocommerce div.product .woocommerce-product-rating {
  margin-bottom: 16px;
}
.woocommerce div.product .woocommerce-product-rating .star-rating {
  color: var(--orange);
}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* Add to cart form */
.woocommerce div.product form.cart {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px !important;
}

/* Quantity with +/- buttons */
.woocommerce div.product form.cart .quantity,
.woocommerce table.shop_table .quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.woocommerce .quantity .qty {
  border: none !important;
  padding: 10px 4px !important;
  font-family: inherit !important;
  font-size: 16px !important;
  width: 48px !important;
  text-align: center !important;
  -moz-appearance: textfield !important;
  outline: none !important;
  background: transparent !important;
}
.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.woocommerce .quantity .ity-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 40px;
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  transition: all var(--transition);
  font-family: inherit;
  line-height: 1;
  padding: 0;
  user-select: none;
}
.woocommerce .quantity .ity-qty-btn:hover {
  background: var(--accent);
  color: white;
}
.woocommerce .quantity .ity-qty-minus {
  border-left: 1px solid var(--border);
}
.woocommerce .quantity .ity-qty-plus {
  border-right: 1px solid var(--border);
}
[dir="ltr"] .woocommerce .quantity .ity-qty-minus { border-left: none; border-right: 1px solid var(--border); }
[dir="ltr"] .woocommerce .quantity .ity-qty-plus { border-right: none; border-left: 1px solid var(--border); }

/* Add to cart button */
.woocommerce div.product form.cart .single_add_to_cart_button {
  background: var(--accent) !important;
  color: white !important;
  padding: 14px 40px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  font-family: inherit;
  border: none !important;
  cursor: pointer;
  transition: all var(--transition);
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: var(--primary) !important;
}

/* Variations */
.woocommerce div.product form.cart .variations select {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: inherit;
}

/* Meta */
.woocommerce div.product .product_meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-light);
  line-height: 2;
}
.woocommerce div.product .product_meta a {
  color: var(--accent);
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs {
  clear: both;
  padding-top: 40px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 24px !important;
  border-bottom: 2px solid var(--border);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: none !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 24px;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Related / Upsells */
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
  clear: both;
  padding-top: 40px;
}
.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

/* ===== WOOCOMMERCE GLOBAL BUTTONS ===== */
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  background-color:var(--primary) !important; color:white !important; border-radius:var(--radius-sm) !important;
  font-family:inherit; font-weight:700; padding:12px 24px !important; transition:all var(--transition); border:none !important;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
  background-color:var(--accent) !important;
}
.woocommerce table.shop_table { border-radius:var(--radius); border:1px solid var(--border); overflow:hidden; }
.woocommerce table.shop_table th { background:var(--bg-light); font-weight:700; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  border:2px solid var(--border); border-radius:var(--radius-sm); padding:10px 14px; font-family:inherit; transition:border-color var(--transition);
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color:var(--accent); outline:none; }
.woocommerce-message, .woocommerce-info { border-top-color:var(--accent) !important; }
.woocommerce-message::before, .woocommerce-info::before { color:var(--accent) !important; }


/* =================================================================
   CART PAGE — body.woocommerce-cart for max specificity
   ================================================================= */

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  margin-bottom: 30px !important;
}

/* Cart table */
body.woocommerce-cart .woocommerce table.shop_table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  overflow: hidden;
  width: 100% !important;
}
body.woocommerce-cart .woocommerce table.shop_table thead th {
  background: var(--bg-light) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--primary) !important;
  padding: 16px 20px !important;
  border-bottom: 2px solid var(--border) !important;
}
body.woocommerce-cart .woocommerce table.shop_table tbody td {
  padding: 20px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid var(--border) !important;
  border-top: none !important;
}
body.woocommerce-cart .woocommerce table.shop_table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Product thumbnail */
body.woocommerce-cart .woocommerce table.shop_table .product-thumbnail img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border) !important;
}

/* Product name */
body.woocommerce-cart .woocommerce table.shop_table .product-name a {
  font-weight: 700 !important;
  color: var(--primary) !important;
  font-size: 15px !important;
}
body.woocommerce-cart .woocommerce table.shop_table .product-name a:hover {
  color: var(--accent) !important;
}

/* Price */
body.woocommerce-cart .woocommerce table.shop_table .product-price .woocommerce-Price-amount,
body.woocommerce-cart .woocommerce table.shop_table .product-subtotal .woocommerce-Price-amount {
  font-weight: 700 !important;
  color: var(--accent) !important;
  font-size: 16px !important;
}

/* Quantity — cart page inherits from global .quantity styles */
body.woocommerce-cart .woocommerce table.shop_table .quantity .qty {
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 4px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  width: 44px !important;
  text-align: center !important;
  background: transparent !important;
}
body.woocommerce-cart .woocommerce table.shop_table .quantity .qty:focus {
  outline: none !important;
}

/* Remove button */
body.woocommerce-cart .woocommerce table.shop_table .product-remove a.remove {
  color: var(--text-light) !important;
  font-size: 22px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: var(--bg-light) !important;
  transition: all var(--transition) !important;
  line-height: 1 !important;
}
body.woocommerce-cart .woocommerce table.shop_table .product-remove a.remove:hover {
  background: var(--accent) !important;
  color: white !important;
}

/* Actions row */
body.woocommerce-cart .woocommerce table.shop_table td.actions {
  padding: 20px !important;
  background: var(--bg-light) !important;
}
body.woocommerce-cart .woocommerce .coupon {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
body.woocommerce-cart .woocommerce .coupon label {
  display: none !important;
}
body.woocommerce-cart .woocommerce .coupon #coupon_code {
  border: 2px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 16px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  min-width: 200px !important;
}
body.woocommerce-cart .woocommerce .coupon #coupon_code:focus {
  border-color: var(--accent) !important;
  outline: none !important;
}

/* Cart totals */
body.woocommerce-cart .woocommerce .cart-collaterals {
  margin-top: 30px !important;
}
body.woocommerce-cart .woocommerce .cart_totals {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
}
body.woocommerce-cart .woocommerce .cart_totals > h2 {
  background: var(--bg-light) !important;
  padding: 18px 24px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--border) !important;
}
body.woocommerce-cart .woocommerce .cart_totals table {
  border: none !important;
}
body.woocommerce-cart .woocommerce .cart_totals table th {
  background: transparent !important;
  font-weight: 600 !important;
  color: var(--text-light) !important;
  padding: 14px 24px !important;
  font-size: 14px !important;
}
body.woocommerce-cart .woocommerce .cart_totals table td {
  padding: 14px 24px !important;
  font-size: 15px !important;
}
body.woocommerce-cart .woocommerce .cart_totals .order-total th,
body.woocommerce-cart .woocommerce .cart_totals .order-total td {
  font-size: 18px !important;
  font-weight: 800 !important;
  border-top: 2px solid var(--border) !important;
}
body.woocommerce-cart .woocommerce .cart_totals .order-total .woocommerce-Price-amount {
  color: var(--accent) !important;
  font-size: 22px !important;
}

/* Proceed to checkout */
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout {
  padding: 20px 24px !important;
}
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  background: var(--accent) !important;
  color: white !important;
  padding: 16px 24px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  font-family: inherit !important;
  transition: all var(--transition) !important;
  margin-bottom: 0 !important;
}
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--primary) !important;
}

/* Empty cart */
body.woocommerce-cart .woocommerce .cart-empty {
  text-align: center !important;
  padding: 60px 20px !important;
  color: var(--text-light) !important;
  font-size: 18px !important;
}
body.woocommerce-cart .woocommerce .return-to-shop a {
  display: inline-block !important;
  background: var(--accent) !important;
  padding: 14px 36px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

/* =================================================================
   CHECKOUT PAGE
   ================================================================= */

/* Two columns */
body.woocommerce-checkout .woocommerce .col2-set {
  display: flex !important;
  gap: 30px !important;
}
body.woocommerce-checkout .woocommerce .col2-set .col-1,
body.woocommerce-checkout .woocommerce .col2-set .col-2 {
  flex: 1 !important;
}

/* Section headings */
body.woocommerce-checkout .woocommerce h3,
body.woocommerce-checkout .woocommerce #order_review_heading {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--border) !important;
}

/* Form fields */
body.woocommerce-checkout .woocommerce .form-row {
  margin-bottom: 16px !important;
}
body.woocommerce-checkout .woocommerce .form-row label {
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--primary) !important;
  margin-bottom: 6px !important;
  display: block !important;
}
body.woocommerce-checkout .woocommerce .form-row label .required {
  color: var(--accent) !important;
}
body.woocommerce-checkout .woocommerce .form-row input.input-text,
body.woocommerce-checkout .woocommerce .form-row textarea,
body.woocommerce-checkout .woocommerce .form-row select {
  border: 2px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  width: 100% !important;
  transition: border-color var(--transition) !important;
  background: var(--bg) !important;
}
body.woocommerce-checkout .woocommerce .form-row input.input-text:focus,
body.woocommerce-checkout .woocommerce .form-row textarea:focus {
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(233,69,96,0.1) !important;
}

/* Select2 */
body.woocommerce-checkout .woocommerce .select2-container--default .select2-selection--single {
  border: 2px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important;
  height: auto !important;
  line-height: 1.4 !important;
}
body.woocommerce-checkout .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.4 !important;
  padding: 0 !important;
  color: var(--text) !important;
}
body.woocommerce-checkout .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
}
.select2-dropdown {
  border: 2px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
}
.select2-results__option--highlighted[aria-selected] {
  background: var(--accent) !important;
}

/* Order notes */
body.woocommerce-checkout .woocommerce .woocommerce-additional-fields textarea {
  min-height: 100px !important;
  resize: vertical !important;
}

/* Order review */
body.woocommerce-checkout .woocommerce #order_review {
  background: var(--bg-light) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 24px !important;
  margin-top: 10px !important;
}
body.woocommerce-checkout .woocommerce #order_review table.shop_table {
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
}
body.woocommerce-checkout .woocommerce #order_review table.shop_table thead th {
  background: transparent !important;
  border-bottom: 2px solid var(--border) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--primary) !important;
  padding: 12px 0 !important;
}
body.woocommerce-checkout .woocommerce #order_review table.shop_table td {
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--border) !important;
  border-top: none !important;
}
body.woocommerce-checkout .woocommerce #order_review table.shop_table tfoot th,
body.woocommerce-checkout .woocommerce #order_review table.shop_table tfoot td {
  background: transparent !important;
  padding: 12px 0 !important;
}
body.woocommerce-checkout .woocommerce #order_review .order-total th,
body.woocommerce-checkout .woocommerce #order_review .order-total td {
  font-size: 18px !important;
  font-weight: 800 !important;
  border-top: 2px solid var(--border) !important;
  padding-top: 16px !important;
}
body.woocommerce-checkout .woocommerce #order_review .order-total .woocommerce-Price-amount {
  color: var(--accent) !important;
  font-size: 22px !important;
}

/* Payment methods */
body.woocommerce-checkout .woocommerce #payment {
  background: transparent !important;
  border-radius: 0 !important;
}
body.woocommerce-checkout .woocommerce #payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
body.woocommerce-checkout .woocommerce #payment ul.payment_methods li {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 10px !important;
  padding: 16px 20px !important;
  transition: border-color var(--transition) !important;
  line-height: 1.6 !important;
}
body.woocommerce-checkout .woocommerce #payment ul.payment_methods li:hover {
  border-color: var(--accent) !important;
}
body.woocommerce-checkout .woocommerce #payment ul.payment_methods li label {
  font-weight: 700 !important;
  color: var(--primary) !important;
  cursor: pointer !important;
}
body.woocommerce-checkout .woocommerce #payment div.payment_box {
  background: var(--bg-light) !important;
  border-radius: var(--radius-sm) !important;
  margin-top: 12px !important;
  padding: 14px 16px !important;
  color: var(--text-light) !important;
  font-size: 13px !important;
}
body.woocommerce-checkout .woocommerce #payment div.payment_box::before {
  display: none !important;
}

/* Place order button */
body.woocommerce-checkout .woocommerce #payment .place-order {
  padding: 20px 0 0 !important;
}
body.woocommerce-checkout .woocommerce #place_order {
  display: block !important;
  width: 100% !important;
  background: var(--accent) !important;
  color: white !important;
  padding: 16px 24px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  font-family: inherit !important;
  border: none !important;
  cursor: pointer !important;
  transition: all var(--transition) !important;
}
body.woocommerce-checkout .woocommerce #place_order:hover {
  background: var(--primary) !important;
}

/* Terms */
body.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions-wrapper {
  margin: 16px 0 !important;
  font-size: 13px !important;
  color: var(--text-light) !important;
}
body.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions-wrapper a {
  color: var(--accent) !important;
}

/* Coupon on checkout */
body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce .woocommerce-form-login-toggle .woocommerce-info {
  background: var(--bg-light) !important;
  border: 1px solid var(--border) !important;
  border-top: 3px solid var(--accent) !important;
  border-radius: var(--radius-sm) !important;
  padding: 14px 20px !important;
  margin-bottom: 20px !important;
}
body.woocommerce-checkout .woocommerce form.checkout_coupon {
  background: var(--bg-light) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 20px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  gap: 10px !important;
  align-items: flex-end !important;
  flex-wrap: wrap !important;
}
body.woocommerce-checkout .woocommerce form.checkout_coupon p:first-child {
  width: 100% !important;
  margin-bottom: 8px !important;
}

/* =================================================================
   ORDER RECEIVED / THANK YOU
   ================================================================= */
body.woocommerce-order-received .woocommerce .woocommerce-thankyou-order-received {
  background: var(--bg-light) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 24px !important;
  text-align: center !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  margin-bottom: 30px !important;
}
body.woocommerce-order-received .woocommerce .woocommerce-order-overview {
  list-style: none !important;
  padding: 20px 24px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  background: var(--bg-light) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 30px !important;
}
body.woocommerce-order-received .woocommerce .woocommerce-order-overview li {
  flex: 1 !important;
  min-width: 120px !important;
  font-size: 14px !important;
  color: var(--text-light) !important;
}
body.woocommerce-order-received .woocommerce .woocommerce-order-overview li strong {
  display: block !important;
  font-size: 16px !important;
  color: var(--primary) !important;
  margin-top: 4px !important;
}

/* =================================================================
   MY ACCOUNT
   ================================================================= */
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
  background: var(--bg-light) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 14px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--border) !important;
  transition: all var(--transition) !important;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li:last-child a {
  border-bottom: none !important;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li.is-active a,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--accent) !important;
  color: white !important;
}

/* Login/Register */
body.woocommerce-account .woocommerce .woocommerce-form-login,
body.woocommerce-account .woocommerce .woocommerce-form-register {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 30px !important;
  background: var(--bg) !important;
}

/* =================================================================
   CART & CHECKOUT RESPONSIVE
   ================================================================= */
@media (max-width:768px) {
  body.woocommerce-cart .woocommerce table.shop_table thead {
    display: none !important;
  }
  body.woocommerce-cart .woocommerce table.shop_table tbody tr {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 16px !important;
    border-bottom: 1px solid var(--border) !important;
    position: relative !important;
  }
  body.woocommerce-cart .woocommerce table.shop_table tbody td {
    padding: 4px 0 !important;
    border: none !important;
  }
  body.woocommerce-cart .woocommerce table.shop_table .product-thumbnail {
    flex: 0 0 70px !important;
  }
  body.woocommerce-cart .woocommerce table.shop_table .product-thumbnail img {
    width: 70px !important;
    height: 70px !important;
  }
  body.woocommerce-cart .woocommerce table.shop_table .product-name {
    flex: 1 !important;
    min-width: 0 !important;
  }
  body.woocommerce-cart .woocommerce table.shop_table .product-remove {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
  }
  body.woocommerce-cart .woocommerce .coupon #coupon_code {
    min-width: 0 !important;
    flex: 1 !important;
  }

  body.woocommerce-checkout .woocommerce .col2-set {
    flex-direction: column !important;
    gap: 20px !important;
  }
  body.woocommerce-checkout .woocommerce #order_review {
    padding: 16px !important;
  }
}

/* =================================================================
   WOOCOMMERCE BLOCKS — Cart & Checkout (WC 8.3+)
   Modern WC uses Gutenberg blocks with .wc-block-* classes.
   ================================================================= */

/* Block cart container */
.wc-block-cart,
.wp-block-woocommerce-cart {
  font-family: inherit !important;
}

/* Block cart table */
.wc-block-cart .wc-block-cart-items {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
}
.wc-block-cart .wc-block-cart-items .wc-block-cart-items__row {
  border-bottom: 1px solid var(--border) !important;
  padding: 20px !important;
}
.wc-block-cart .wc-block-cart-items .wc-block-cart-items__row:last-child {
  border-bottom: none !important;
}

/* Block cart product image */
.wc-block-cart .wc-block-cart-item__image img {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border) !important;
}

/* Block cart product name */
.wc-block-cart .wc-block-cart-item__product .wc-block-components-product-name {
  font-weight: 700 !important;
  color: var(--primary) !important;
  font-size: 15px !important;
}
.wc-block-cart .wc-block-cart-item__product .wc-block-components-product-name:hover {
  color: var(--accent) !important;
}

/* Block cart price */
.wc-block-cart .wc-block-cart-item__total .wc-block-formatted-money-amount,
.wc-block-cart .wc-block-components-product-price .wc-block-formatted-money-amount {
  font-weight: 700 !important;
  color: var(--accent) !important;
}

/* Block cart quantity */
.wc-block-cart .wc-block-components-quantity-selector {
  border: 2px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden !important;
}
.wc-block-cart .wc-block-components-quantity-selector input {
  font-family: inherit !important;
  font-size: 15px !important;
}
.wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
  color: var(--text) !important;
  background: var(--bg-light) !important;
}
.wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
  background: var(--accent) !important;
  color: white !important;
}

/* Block cart remove link */
.wc-block-cart .wc-block-cart-item__remove-link {
  color: var(--text-light) !important;
  font-size: 13px !important;
}
.wc-block-cart .wc-block-cart-item__remove-link:hover {
  color: var(--accent) !important;
}

/* Block cart totals sidebar */
.wc-block-cart .wc-block-cart__totals-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
}
.wc-block-cart .wc-block-components-totals-wrapper {
  border-color: var(--border) !important;
}
.wc-block-cart .wc-block-components-totals-item .wc-block-components-totals-item__value {
  font-weight: 700 !important;
}
.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
}

/* Block cart coupon */
.wc-block-cart .wc-block-components-totals-coupon .wc-block-components-totals-coupon__input .wc-block-components-text-input input {
  border: 2px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  font-family: inherit !important;
}
.wc-block-cart .wc-block-components-totals-coupon .wc-block-components-totals-coupon__input .wc-block-components-text-input input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(233,69,96,0.1) !important;
}

/* Block proceed to checkout button */
.wc-block-cart .wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-cart .wc-block-components-checkout-return-to-cart-button + .wc-block-cart__submit-button,
.wc-block-cart .wp-block-woocommerce-proceed-to-checkout-block a,
.wc-block-cart .wc-block-cart__submit-button {
  background: var(--accent) !important;
  color: white !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  padding: 16px 24px !important;
  transition: all var(--transition) !important;
  width: 100% !important;
  text-align: center !important;
}
.wc-block-cart .wc-block-cart__submit-button:hover {
  background: var(--primary) !important;
}

/* =================================================================
   BLOCK CHECKOUT
   ================================================================= */

.wc-block-checkout,
.wp-block-woocommerce-checkout {
  font-family: inherit !important;
}

/* Block checkout headings */
.wc-block-checkout .wc-block-components-checkout-step__title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
}

/* Block checkout form inputs */
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-text-input textarea,
.wc-block-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-checkout .wc-block-components-country-input input,
.wc-block-checkout .wc-block-components-state-input input,
.wc-block-checkout select {
  border: 2px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
}
.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-block-components-text-input textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(233,69,96,0.1) !important;
  outline: none !important;
}

/* Block checkout labels */
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-block-components-combobox label {
  color: var(--text-light) !important;
  font-size: 13px !important;
}

/* Block checkout step indicators */
.wc-block-checkout .wc-block-components-checkout-step__heading-content .wc-block-components-checkout-step__description {
  color: var(--text-light) !important;
}

/* Block checkout order summary */
.wc-block-checkout .wc-block-components-order-summary {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
}
.wc-block-checkout .wc-block-components-order-summary .wc-block-components-order-summary__button-text {
  font-weight: 700 !important;
  color: var(--primary) !important;
}
.wc-block-checkout .wc-block-components-order-summary-item__image img {
  border-radius: var(--radius-sm) !important;
}
.wc-block-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
  font-weight: 600 !important;
  color: var(--primary) !important;
}

/* Block checkout totals */
.wc-block-checkout .wc-block-components-totals-wrapper {
  border-color: var(--border) !important;
}
.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
}
.wc-block-checkout .wc-block-components-totals-item__label {
  font-weight: 600 !important;
}

/* Block checkout payment methods */
.wc-block-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 16px !important;
  margin-bottom: 8px !important;
  transition: border-color var(--transition) !important;
}
.wc-block-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option:hover {
  border-color: var(--accent) !important;
}
.wc-block-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option--checked {
  border-color: var(--accent) !important;
  background: rgba(233,69,96,0.03) !important;
}
.wc-block-checkout .wc-block-components-radio-control__input {
  accent-color: var(--accent) !important;
}
.wc-block-checkout .wc-block-components-radio-control__label {
  font-weight: 700 !important;
  color: var(--primary) !important;
}

/* Block place order button */
.wc-block-checkout .wc-block-components-checkout-place-order-button,
.wc-block-checkout .wc-block-checkout__actions_row .wc-block-components-button {
  background: var(--accent) !important;
  color: white !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  padding: 16px 24px !important;
  transition: all var(--transition) !important;
  width: 100% !important;
}
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout .wc-block-checkout__actions_row .wc-block-components-button:hover {
  background: var(--primary) !important;
}

/* Block checkout return to cart link */
.wc-block-checkout .wc-block-components-checkout-return-to-cart-button {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

/* Block checkout shipping options */
.wc-block-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
}

/* Block checkout notices */
.wc-block-components-notice-banner {
  border-radius: var(--radius-sm) !important;
}
.wc-block-components-notice-banner.is-success {
  border-color: var(--accent) !important;
}

/* Block checkout terms */
.wc-block-checkout .wc-block-checkout__terms {
  font-size: 13px !important;
  color: var(--text-light) !important;
}
.wc-block-checkout .wc-block-checkout__terms a {
  color: var(--accent) !important;
}

/* Block checkout checkbox */
.wc-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
  accent-color: var(--accent) !important;
}

/* Block responsive */
@media (max-width:768px) {
  .wc-block-cart .wc-block-cart-items .wc-block-cart-items__row {
    padding: 14px !important;
  }
  .wc-block-checkout .wc-block-components-checkout-step {
    padding: 16px 0 !important;
  }
}

/* ===== FOOTER — Light & Clean ===== */
.site-footer {
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--border);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
[dir="ltr"] .footer-col h4::after { right: auto; left: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--text-light);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-col ul li a:hover {
  color: var(--accent);
  padding-right: 4px;
}
/* Force LTR for phone numbers everywhere in RTL */
a[href^="tel:"] { direction: ltr; unicode-bidi: embed; display: inline-block; }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-social a svg { width: 16px; height: 16px; fill: var(--text-light); }
.footer-social a:hover svg { fill: white; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}
.footer-bottom a { color: var(--accent); font-weight: 600; }

/* ===== FLOATING ===== */
.whatsapp-float { position:fixed; bottom:30px; right:30px; width:56px; height:56px; background:#25d366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(37,211,102,0.4); z-index:99; transition:all var(--transition); }
.whatsapp-float:hover { transform:scale(1.1); }
.whatsapp-float svg { width:30px; height:30px; fill:white; }
.back-to-top { position:fixed; bottom:30px; left:30px; width:48px; height:48px; background:var(--accent); color:white; border:none; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg); transition:all var(--transition); opacity:0; pointer-events:none; z-index:99; }
.back-to-top.visible { opacity:1; pointer-events:all; }
.back-to-top:hover { background:var(--primary); transform:translateY(-3px); }
.back-to-top svg { width:22px; height:22px; fill:white; }

/* ===== MOBILE NAV ===== */
.mobile-nav-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:200; opacity:0; pointer-events:none; transition:opacity var(--transition); }
.mobile-nav-overlay.open { opacity:1; pointer-events:all; }
.mobile-nav { position:fixed; top:0; right:-300px; width:280px; height:100%; background:var(--bg); z-index:201; transition:right var(--transition); padding:24px; box-shadow:var(--shadow-lg); overflow-y:auto; }
.mobile-nav.open { right:0; }
.mobile-nav .close-btn { background:none; border:none; font-size:28px; cursor:pointer; margin-bottom:20px; color:var(--text); }
.mobile-nav ul { list-style:none; padding:0; margin:0; }
.mobile-nav ul li a { display:block; padding:14px 0; font-size:16px; font-weight:600; border-bottom:1px solid var(--border); color:var(--text); }
.mobile-nav ul li a:hover { color:var(--accent); }
.mobile-nav-search { display:flex; align-items:stretch; border:2px solid var(--border); border-radius:var(--radius); overflow:hidden; margin-bottom:20px; transition:border-color var(--transition); }
.mobile-nav-search:focus-within { border-color:var(--accent); }
.mobile-nav-search input[type="search"] { border:none; flex:1; padding:11px 14px; font-family:inherit; font-size:15px; outline:none; min-width:0; background:transparent; color:var(--text); }
.mobile-nav-search button { background:var(--accent); border:none; padding:0 16px; cursor:pointer; display:flex; align-items:center; transition:background var(--transition); }
.mobile-nav-search button:hover { background:var(--accent-hover); }
.mobile-nav-search button svg { width:18px; height:18px; fill:#fff; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.animate-in { opacity:0; animation:fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay:0.1s; } .delay-2 { animation-delay:0.2s; } .delay-3 { animation-delay:0.3s; }
.delay-4 { animation-delay:0.4s; } .delay-5 { animation-delay:0.5s; }

/* ===== BREADCRUMBS ===== */
.tsaw9-breadcrumbs { background:var(--bg-light); border-bottom:1px solid var(--border); padding:12px 0; font-size:13px; }
.tsaw9-breadcrumbs ol { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.tsaw9-breadcrumbs li { display:flex; align-items:center; gap:6px; color:var(--text-light); }
.tsaw9-breadcrumbs li:not(:last-child)::after { content:"‹"; opacity:.55; }
.tsaw9-breadcrumbs a { color:var(--text-light); text-decoration:none; transition:color var(--transition); }
.tsaw9-breadcrumbs a:hover { color:var(--accent); }
.tsaw9-breadcrumbs li[aria-current="page"] { color:var(--primary); font-weight:600; }
.woocommerce .woocommerce-breadcrumb { font-size:13px; color:var(--text-light); margin-bottom:20px; }
.woocommerce .woocommerce-breadcrumb a { color:var(--text-light); text-decoration:none; }
.woocommerce .woocommerce-breadcrumb a:hover { color:var(--accent); }

/* ===== PAGES ===== */
.page-content { padding:40px 0; }
.page-content .entry-title { font-size:32px; font-weight:800; color:var(--primary); margin-bottom:20px; }
.page-content .entry-content { font-size:16px; line-height:1.8; }
.page-content .entry-content p { margin-bottom:16px; }
.widget { margin-bottom:30px; }
.widget-title { font-size:18px; font-weight:800; color:var(--primary); margin-bottom:15px; padding-bottom:10px; border-bottom:2px solid var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width:900px) {
  .topbar-announcements { gap:10px; }
  .main-nav { display:none !important; }
  .mobile-toggle { display:block !important; }
  .header-search select { display:none; }
  .section-header h2 { font-size:24px; }
  .woocommerce ul.products, .products-grid { grid-template-columns:repeat(2,1fr) !important; gap:14px; }
  .categories-grid { grid-template-columns:repeat(2,1fr) !important; gap:14px; }
  /* Single product stacks on tablet */
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100% !important;
    float: none !important;
  }
  /* Fix gap between header and product gallery on mobile */
  body.single-product .section.page-content {
    padding-top: 16px !important;
  }
  body.single-product .page-content {
    padding-top: 16px !important;
  }

  /* ===== MOBILE HEADER: hamburger | logo center | cart ===== */
  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }

  /* Hamburger — far right in RTL (order:1 = first = right) */
  .mobile-toggle {
    order: 1;
  }

  /* Logo — center */
  .site-logo {
    order: 2;
    flex: 1;
    justify-content: center;
    font-size: 24px;
  }

  /* Cart wrapper — far left in RTL (order:3 = last = left) */
  .header-cart-wrapper {
    order: 3;
  }
  .header-cart {
    padding: 8px 10px;
  }

  /* Search mobile layout */
  .header-search {
    max-width: 100%;
    flex: 0 0 100%;
    margin-top: 8px;
    order: 4;
  }
}
@media (max-width:600px) {
  .topbar-announcements { flex-direction:column; gap:4px; }
  .header-inner { gap:10px; }
  .site-logo { font-size: 20px; }
  .woocommerce ul.products, .products-grid { grid-template-columns:repeat(2,1fr) !important; gap:8px; }
  .product-info { padding:10px; }
  .product-name { font-size:13px !important; }
  .price-current { font-size:16px; }
  .product-price .woocommerce-Price-amount { font-size:15px !important; }
  .btn-buy { padding:8px !important; font-size:12px; }
  .categories-grid { grid-template-columns:repeat(2,1fr) !important; gap:10px; }
  .category-card { height:150px; }
  .category-overlay { padding:16px; }
  .category-overlay h3 { font-size:16px; }
  .btn-shop { padding:6px 16px; font-size:12px; }
  .footer-grid { grid-template-columns:repeat(2,1fr); gap:24px; }
}


/* ===================================================================
   PRODUCT LANDING PAGE (mode conversion) — v2 premium
   =================================================================== */
.tsaw9-landing { max-width:1080px; margin:0 auto; }
.tsaw9-landing * { box-sizing:border-box; }

/* ---------- HERO ---------- */
.landing-hero { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:start; margin-bottom:40px; }
.landing-gallery .woocommerce-product-gallery { width:100% !important; float:none !important; margin:0 !important; }
.landing-gallery img { border-radius:calc(var(--radius) + 4px); max-width:100%; height:auto; box-shadow:var(--shadow-lg); }
.landing-intro { display:flex; flex-direction:column; gap:18px; }
.landing-sale-flag { align-self:flex-start; background:var(--accent); color:#fff; font-weight:800; font-size:12px; letter-spacing:1px; padding:6px 16px; border-radius:999px; text-transform:uppercase; }
.landing-title { font-size:32px; font-weight:800; color:var(--primary); line-height:1.25; margin:0; }
.landing-price { font-size:32px; font-weight:900; color:var(--accent); display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.landing-price del { color:var(--text-light); font-size:20px; font-weight:500; opacity:.75; }
.landing-price ins { text-decoration:none; }
.landing-short { color:var(--text-light); font-size:15.5px; line-height:1.75; }

/* Trust badges as soft cards */
.landing-badges { list-style:none; margin:4px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.landing-badges li { display:flex; align-items:center; gap:8px; background:var(--bg-light); border:1px solid var(--border); border-radius:12px; padding:11px 14px; font-size:14px; font-weight:600; color:var(--text); }

.landing-cta-scroll { display:block; text-align:center; background:var(--accent); color:#fff; font-weight:800; font-size:17px; padding:17px 28px; border-radius:14px; text-decoration:none; box-shadow:0 10px 24px rgba(0,0,0,.14); transition:background var(--transition), transform var(--transition), box-shadow var(--transition); }
.landing-cta-scroll:hover { background:var(--accent-hover); color:#fff; transform:translateY(-2px); box-shadow:0 14px 30px rgba(0,0,0,.18); }

/* ---------- URGENCY ---------- */
.landing-urgency { display:flex; align-items:center; justify-content:center; gap:10px; background:linear-gradient(135deg,#fff7ed,#ffedd5); border:1px solid #fed7aa; color:#c2410c; font-weight:700; font-size:15px; text-align:center; padding:14px 18px; border-radius:14px; margin-bottom:34px; }
.landing-urgency::before { content:""; width:10px; height:10px; border-radius:50%; background:#f97316; box-shadow:0 0 0 0 rgba(249,115,22,.5); animation:tsaw9pulse 1.6s infinite; }
@keyframes tsaw9pulse { 0%{box-shadow:0 0 0 0 rgba(249,115,22,.5);} 70%{box-shadow:0 0 0 12px rgba(249,115,22,0);} 100%{box-shadow:0 0 0 0 rgba(249,115,22,0);} }

/* ---------- BENEFITS ---------- */
.landing-benefits { margin-bottom:36px; }
.landing-benefits ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.landing-benefits li { position:relative; padding-inline-start:38px; font-size:15.5px; color:var(--text); line-height:1.5; font-weight:500; }
.landing-benefits li::before { content:"✓"; position:absolute; inset-inline-start:0; top:-1px; width:26px; height:26px; background:var(--accent); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800; }

/* ---------- ORDER BLOCK ---------- */
.landing-order { background:#fff; border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:var(--shadow-lg); margin-bottom:40px; scroll-margin-top:90px; }
.landing-order-head { background:var(--accent); color:#fff; text-align:center; padding:24px 22px; }
.landing-order-head h2 { font-size:24px; font-weight:800; margin:0 0 6px; color:#fff; }
.landing-order-head p { font-size:14px; margin:0; color:#fff; opacity:.92; }
.landing-order-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:0; align-items:stretch; }

/* Form */
.landing-cod-form { position:relative; padding:26px; display:flex; flex-direction:column; gap:16px; }
.landing-cod-form .tsaw9-hp { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; }
.landing-field { display:flex; flex-direction:column; gap:7px; }
.landing-field label { font-size:14px; font-weight:700; color:var(--primary); }
.landing-field .req { color:var(--accent); }
.landing-field input { width:100%; border:1.5px solid var(--border); border-radius:12px; padding:14px 15px; font-family:inherit; font-size:16px; background:#fff; color:var(--text); outline:none; transition:border-color var(--transition), box-shadow var(--transition); }
.landing-field input:focus { border-color:var(--accent); box-shadow:0 0 0 4px rgba(0,0,0,.05); }
.landing-qty-field input { max-width:130px; }
.landing-cod-submit { width:100%; background:var(--accent); color:#fff; border:none; font-weight:800; font-size:17px; padding:17px; border-radius:14px; cursor:pointer; box-shadow:0 10px 24px rgba(0,0,0,.14); transition:background var(--transition), transform var(--transition), box-shadow var(--transition); margin-top:2px; }
.landing-cod-submit:hover { background:var(--accent-hover); transform:translateY(-2px); box-shadow:0 14px 30px rgba(0,0,0,.18); }
.landing-cod-submit:disabled { opacity:.6; cursor:default; transform:none; box-shadow:none; }
.landing-secure { margin:0; text-align:center; font-size:12.5px; color:var(--text-light); }
.landing-cod-message { font-size:14px; font-weight:600; }
.landing-cod-message.success { color:#15803d; background:#dcfce7; border:1px solid #bbf7d0; padding:14px; border-radius:12px; }
.landing-cod-message.error { color:#b91c1c; background:#fee2e2; border:1px solid #fecaca; padding:14px; border-radius:12px; }

/* Cart side */
.landing-cart-side { background:var(--bg-light); border-inline-start:1px solid var(--border); padding:26px; display:flex; flex-direction:column; gap:16px; }
.landing-cart-title { position:relative; text-align:center; font-weight:700; color:var(--text-light); font-size:14px; }
.landing-cart-title::before, .landing-cart-title::after { content:""; position:absolute; top:50%; width:22%; height:1px; background:var(--border); }
.landing-cart-title::before { inset-inline-start:0; }
.landing-cart-title::after { inset-inline-end:0; }
.landing-cart-side .quantity { margin-bottom:4px; }
.landing-cart-side .single_add_to_cart_button { width:100%; text-align:center; }
.landing-guarantees { list-style:none; margin:6px 0 0; padding:16px 0 0; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:12px; }
.landing-guarantees li { display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--text); font-weight:600; }

/* ---------- DESCRIPTION ---------- */
.landing-description { margin-bottom:40px; line-height:1.85; font-size:16px; color:var(--text); }
.landing-description h2 { font-size:24px; font-weight:800; color:var(--primary); margin:0 0 16px; position:relative; padding-bottom:12px; }
.landing-description h2::after { content:""; position:absolute; bottom:0; inset-inline-start:0; width:56px; height:3px; background:var(--accent); border-radius:3px; }
.landing-description img { max-width:100%; height:auto; border-radius:var(--radius); }

/* ---------- STICKY MOBILE BAR ---------- */
.landing-sticky-bar { position:fixed; left:0; right:0; bottom:0; z-index:150; display:flex; align-items:center; justify-content:space-between; gap:14px; background:#fff; border-top:1px solid var(--border); box-shadow:0 -8px 24px rgba(0,0,0,.1); padding:12px 16px; transform:translateY(130%); transition:transform var(--transition); }
.landing-sticky-bar.show { transform:translateY(0); }
.landing-sticky-price { font-weight:900; color:var(--accent); font-size:19px; white-space:nowrap; }
.landing-sticky-btn { flex:1; text-align:center; background:var(--accent); color:#fff; font-weight:800; font-size:15px; padding:14px; border-radius:12px; text-decoration:none; }
.landing-sticky-btn:hover { color:#fff; background:var(--accent-hover); }

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px) {
  .landing-hero { grid-template-columns:1fr; gap:24px; margin-bottom:30px; }
  .landing-title { font-size:25px; }
  .landing-price { font-size:27px; }
  .landing-order-grid { grid-template-columns:1fr; }
  .landing-cart-side { border-inline-start:none; border-top:1px solid var(--border); }
}
@media (max-width:600px) {
  .landing-badges { grid-template-columns:1fr; }
  .landing-benefits ul { grid-template-columns:1fr; }
  .landing-cod-form, .landing-cart-side { padding:20px; }
  .landing-order-head { padding:20px 18px; }
  .landing-title { font-size:23px; }
}
@media (min-width:901px) { .landing-sticky-bar { display:none !important; } }

/* ---- One Page Checkout embarqué dans la landing ---- */
.landing-checkout { padding:26px; }
.landing-checkout .form-row { margin-bottom:12px; }
.landing-checkout input:not([type="radio"]):not([type="checkbox"]),
.landing-checkout select,
.landing-checkout textarea { max-width:100%; }
.landing-guarantees--wide { flex-direction:row; flex-wrap:wrap; justify-content:center; gap:16px 22px; margin-top:22px; padding-top:20px; }
.landing-guarantees--wide li { font-size:13.5px; }
@media (max-width:600px){ .landing-checkout { padding:20px; } }

/* ---- Formulaire COD Algérie : select, livraison, récapitulatif ---- */
.landing-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.landing-field select { width:100%; border:1.5px solid var(--border); border-radius:12px; padding:14px 15px; font-family:inherit; font-size:16px; background:#fff; color:var(--text); outline:none; cursor:pointer; transition:border-color var(--transition), box-shadow var(--transition); appearance:none; background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e"); background-repeat:no-repeat; background-position:left 12px center; background-size:20px; padding-inline-start:40px; }
html[dir="ltr"] .landing-field select { background-position:right 12px center; padding-inline-start:15px; padding-inline-end:40px; }
.landing-field select:focus { border-color:var(--accent); box-shadow:0 0 0 4px rgba(0,0,0,.05); }
.landing-field select:disabled { background-color:var(--bg-light); color:var(--text-light); cursor:not-allowed; }

.landing-delivery-opts { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.landing-radio { position:relative; display:block; cursor:pointer; margin:0; }
.landing-radio input { position:absolute; opacity:0; width:0; height:0; }
.landing-radio-box { display:flex; flex-direction:column; gap:4px; border:1.5px solid var(--border); border-radius:12px; padding:14px; background:#fff; transition:border-color var(--transition), background var(--transition); height:100%; }
.landing-radio-box strong { font-size:14px; font-weight:700; color:var(--primary); }
.landing-radio-box em { font-style:normal; font-size:13px; font-weight:700; color:var(--accent); }
.landing-radio input:checked + .landing-radio-box { border-color:var(--accent); background:rgba(233,69,96,.05); box-shadow:0 0 0 3px rgba(233,69,96,.1); }
.landing-radio input:focus-visible + .landing-radio-box { outline:2px solid var(--accent); outline-offset:2px; }

.landing-summary { background:var(--bg-light); border:1px solid var(--border); border-radius:12px; padding:16px; display:flex; flex-direction:column; gap:10px; }
.landing-summary .ls-row { display:flex; align-items:center; justify-content:space-between; font-size:14.5px; color:var(--text); }
.landing-summary .ls-row b { font-weight:700; }
.landing-summary .ls-total { border-top:1px dashed var(--border); padding-top:10px; margin-top:2px; font-size:17px; }
.landing-summary .ls-total span { font-weight:800; color:var(--primary); }
.landing-summary .ls-total b { color:var(--accent); font-weight:900; font-size:19px; }

@media (max-width:600px) {
  .landing-row { grid-template-columns:1fr; }
  .landing-delivery-opts { grid-template-columns:1fr; }
}

/* ---- Slider sous le formulaire ---- */
.landing-slider-wrap { margin-bottom:40px; }
.landing-slider-title { font-size:24px; font-weight:800; color:var(--primary); margin:0 0 18px; text-align:center; }
.landing-slider { position:relative; }
.landing-slider:focus-visible { outline:2px solid var(--accent); outline-offset:4px; border-radius:var(--radius); }
.ls-track { display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:2px; }
.ls-track::-webkit-scrollbar { display:none; }
.ls-slide { flex:0 0 calc(50% - 7px); scroll-snap-align:center; }
.ls-slide img { width:100%; height:340px; object-fit:cover; border-radius:var(--radius); display:block; box-shadow:var(--shadow); transition:transform var(--transition); }
.ls-slide img:hover { transform:scale(1.02); }
.ls-nav { position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:44px; height:44px; border:none; border-radius:50%; background:#fff; color:var(--primary); font-size:26px; line-height:1; cursor:pointer; box-shadow:var(--shadow-lg); display:flex; align-items:center; justify-content:center; transition:background var(--transition), color var(--transition); }
.ls-nav:hover { background:var(--accent); color:#fff; }
.ls-prev { inset-inline-start:-10px; }
.ls-next { inset-inline-end:-10px; }
.ls-dots { display:flex; justify-content:center; gap:8px; margin-top:16px; }
.ls-dot { width:9px; height:9px; padding:0; border:none; border-radius:50%; background:var(--border); cursor:pointer; transition:background var(--transition), width var(--transition); }
.ls-dot.active { background:var(--accent); width:26px; border-radius:5px; }
.landing-slider-cta { display:block; max-width:420px; margin:26px auto 0; text-align:center; background:var(--accent); color:#fff; font-weight:800; font-size:16px; padding:16px 26px; border-radius:14px; text-decoration:none; box-shadow:0 10px 24px rgba(0,0,0,.14); transition:background var(--transition), transform var(--transition); }
.landing-slider-cta:hover { background:var(--accent-hover); color:#fff; transform:translateY(-2px); }

@media (max-width:768px) {
  .ls-slide { flex:0 0 88%; }
  .ls-slide img { height:280px; }
  .ls-prev { inset-inline-start:4px; }
  .ls-next { inset-inline-end:4px; }
  .landing-slider-title { font-size:20px; }
}

/* ---- Footer minimal (landing) ---- */
.footer-minimal { padding:32px 0 24px; }
.footer-minimal .footer-min-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:14px 26px; margin-bottom:20px; }
.footer-min-phone { font-weight:800; font-size:17px; color:inherit; text-decoration:none; }
.footer-min-phone:hover { color:var(--accent); }
.footer-min-links { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; justify-content:center; gap:8px 20px; }
.footer-min-links a { font-size:14px; text-decoration:none; color:inherit; opacity:.85; }
.footer-min-links a:hover { color:var(--accent); opacity:1; }
.footer-minimal .footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding-top:18px; margin-top:0; text-align:center; font-size:13px; }
@media (max-width:600px) {
  .footer-minimal .footer-min-inner { flex-direction:column; gap:14px; }
}

/* ---- Header minimal (landing) ---- */
.header-minimal .header-min-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 0; }
.header-minimal .logo a { font-size:24px; font-weight:900; color:var(--hdr-txt); text-decoration:none; display:flex; align-items:center; }
.header-minimal .logo img { max-height:44px; width:auto; display:block; }
.header-min-phone { display:flex; align-items:center; gap:7px; font-weight:800; font-size:16px; color:var(--accent); text-decoration:none; white-space:nowrap; }
.header-min-phone:hover { color:var(--accent-hover); }
@media (max-width:600px) {
  .header-minimal .logo a { font-size:20px; }
  .header-minimal .logo img { max-height:36px; }
  .header-min-phone { font-size:14px; }
  .header-min-phone span { display:none; }
}
/* Marge de sécurité quand le header est masqué sur une landing */
main#main-content.is-landing { padding-top:0; }
