﻿@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ══════════════════════════════════════════════
   DESIGN TOKENS — Light Mode
══════════════════════════════════════════════ */
:root {
  --c-primary: #F82BA9;
  --c-primary-d: #d4198f;
  --c-primary-l: #fde8f4;
  --c-secondary: #8C52FF;
  --c-secondary-d: #6b3bd6;
  --c-secondary-l: #ede9ff;

  --c-bg: #ffffff;
  --c-bg2: #f8fafc;
  --c-bg3: #f1f5f9;
  --c-surface: #ffffff;
  --c-text: #1e293b;
  --c-muted: #64748b;
  --c-border: #e2e8f0;

  --c-shadow: rgba(0, 0, 0, .06);
  --c-shadow-md: rgba(0, 0, 0, .10);
  --c-shadow-lg: rgba(0, 0, 0, .14);

  --r-card: 20px;
  --r-btn: 99px;
  --r-input: 12px;

  --section-py: 80px;
  --section-py-sm: 48px;

  --nav-h: 72px;
  --transition: 0.25s ease;
}

/* ══════════════════════════════════════════════
   DESIGN TOKENS — Dark Mode
══════════════════════════════════════════════ */
html.dark {
  --c-bg: #0c0c16;
  --c-bg2: #13131f;
  --c-bg3: #1a1a2e;
  --c-surface: #1e1e30;
  --c-text: #e2e8f0;
  --c-muted: #94a3b8;
  --c-border: #2a2a42;

  --c-primary-l: rgba(248, 43, 169, .14);
  --c-secondary-l: rgba(140, 82, 255, .14);

  --c-shadow: rgba(0, 0, 0, .25);
  --c-shadow-md: rgba(0, 0, 0, .40);
  --c-shadow-lg: rgba(0, 0, 0, .55);
}

/* ══════════════════════════════════════════════
   BASE
══════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--c-bg);
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  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;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Smooth color transitions on theme switch */
*,
.dark * {
  transition: background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

/* ══════════════════════════════════════════════
   PRELOADER
══════════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
}

.preloader-ring {
  width: 52px;
  height: 52px;
  border: 4px solid var(--c-primary-l);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ══════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════ */
#back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(248, 43, 169, .35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#back-top:hover {
  background: var(--c-primary-d);
}

@media (max-width: 768px) {
  #back-top {
    bottom: 80px;
    right: 16px;
  }
}

/* ══════════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════════ */
.section-category,
.section-products,
.section-testimonial,
.section-newsletter,
.section-big-deal,
.faq-section {
  padding: var(--section-py) 0;
  background: var(--c-bg);
}


.section-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-primary);
  background: var(--c-primary-l);
  padding: 5px 14px;
  border-radius: 99px;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.2;
}

/* ══════════════════════════════════════════════
   HEADER / TOPBAR / NAV
══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-topbar {
  background: #111827;
}

#main-nav {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 12px var(--c-shadow);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#main-nav.scrolled {
  box-shadow: 0 4px 24px var(--c-shadow-md);
}

html.dark .header-topbar {
  background: #050509;
}

html.dark #main-nav {
  background: var(--c-surface);
  border-color: var(--c-border);
}

html.dark #mobile-menu {
  background: var(--c-surface);
  border-color: var(--c-border);
}

html.dark #cart-drawer {
  background: var(--c-surface);
}

html.dark #search-overlay .bg-white {
  background: var(--c-surface) !important;
  color: var(--c-text);
}

html.dark #search-overlay input {
  color: var(--c-text);
}

/* ── Desktop Nav ── */
.kavkaz-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.kavkaz-nav>.nav-item {
  position: relative;
}

.kavkaz-nav>.nav-item>.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-text);
  border-radius: 10px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.kavkaz-nav>.nav-item>.nav-link:hover,
.kavkaz-nav>.nav-item.current-menu-item>.nav-link {
  color: var(--c-primary);
  background: var(--c-primary-l);
}

.nav-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.nav-h1-inline {
  display: inline;
  font: inherit;
  margin: 0;
  padding: 0;
  color: inherit;
  letter-spacing: inherit;
}

.topbar-h1-link {
  text-decoration: none;
  color: inherit;
}
.topbar-h1-link:hover {
  color: #fff;
}
.topbar-h1 {
  display: inline;
  font: inherit;
  margin: 0;
  padding: 0;
  color: inherit;
  letter-spacing: inherit;
}

.kavkaz-nav>.nav-item.has-dropdown:hover>.nav-link .nav-chevron {
  transform: rotate(180deg);
}

/* ── Desktop Dropdown ── */
.kavkaz-nav .sub-menu {
  list-style: none;
  padding: 6px;
  margin: 0;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 12px 40px var(--c-shadow-lg), 0 0 0 1px var(--c-border);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 300;
}

/* Arrow pointer */
.kavkaz-nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 7px;
  background: var(--c-surface);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-left: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
}

.kavkaz-nav>.nav-item.has-dropdown:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Keep open when hovering the dropdown itself */
.kavkaz-nav>.nav-item.has-dropdown>.sub-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.kavkaz-nav .sub-menu .sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: .845rem;
  font-weight: 500;
  color: var(--c-text);
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}

.kavkaz-nav .sub-menu .sub-link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-border);
  flex-shrink: 0;
  transition: background var(--transition);
}

.kavkaz-nav .sub-menu .sub-link:hover {
  background: var(--c-primary-l);
  color: var(--c-primary);
}

.kavkaz-nav .sub-menu .sub-link:hover::before {
  background: var(--c-primary);
}

.kavkaz-nav .sub-menu .sub-item.current-menu-item .sub-link {
  color: var(--c-primary);
  background: var(--c-primary-l);
}

/* ── Mobile Nav ── */
.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-text);
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
  width: 100%;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-item.current-menu-item>.nav-link {
  background: var(--c-primary-l);
  color: var(--c-primary);
}

.mobile-nav .nav-chevron {
  transition: transform var(--transition);
}

.mobile-nav .has-dropdown.is-open>.nav-link {
  color: var(--c-primary);
}

.mobile-nav .has-dropdown.is-open>.nav-link .nav-chevron {
  transform: rotate(180deg);
}

/* Mobile sub-menu */
.mobile-nav .sub-menu {
  list-style: none;
  padding: 4px 0 4px 16px;
  margin: 0;
  display: none;
}

.mobile-nav .has-dropdown.is-open>.sub-menu {
  display: block;
}

.mobile-nav .sub-menu .sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: .845rem;
  color: var(--c-muted);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.mobile-nav .sub-menu .sub-link:hover {
  background: var(--c-primary-l);
  color: var(--c-primary);
}

/* Header action buttons */
.header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--c-text);
  background: transparent;
  transition: all 0.22s ease;
}

.header-action-btn:hover {
  color: #fff;
  background: var(--c-primary);
  box-shadow: 0 4px 16px rgba(248, 43, 169, .38);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-swiper {
  height: clamp(380px, 58vh, 580px);
}

.hero-swiper .swiper-slide {
  overflow: hidden;
  background: #0c0c16;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, .28);
  color: #fff;
  transition: all 0.25s ease;
  margin-top: 0;
  transform: translateY(-50%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-swiper .swiper-button-prev svg,
.hero-swiper .swiper-button-next svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: var(--c-primary);
  border-color: transparent;
  box-shadow: 0 6px 28px rgba(248, 43, 169, .45);
  transform: translateY(-50%) scale(1.06);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 900;
}

.hero-swiper .swiper-pagination {
  bottom: 24px;
}

.hero-swiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, .4);
  border: 1.5px solid rgba(255, 255, 255, .35);
  opacity: 1;
  border-radius: 99px;
  transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--c-primary);
  border-color: transparent;
  width: 34px;
  border-radius: 99px;
  box-shadow: 0 0 14px rgba(248, 43, 169, .55);
}

/* ══════════════════════════════════════════════
   SWIPER SHARED
══════════════════════════════════════════════ */
.swiper-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px var(--c-shadow-md);
  transition: all var(--transition);
  flex-shrink: 0;
}

.swiper-nav-btn:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  transform: scale(1.05);
}

/* ── Shared nav + pagination for cat & product swipers ── */
.thm-swiper-wrap {
  position: relative;
}

.thm-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 22px));
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
  cursor: pointer;
  transition: all .22s ease;
}

.thm-swiper-btn:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(248, 43, 169, .35);
  transform: translateY(calc(-50% - 22px)) scale(1.06);
}

.cat-swiper-prev {
  left: -16px;
}

.cat-swiper-next {
  right: -16px;
}

.cat-swiper-prev,
.cat-swiper-next {
  display: none !important;
}

.product-swiper-prev,
.product-swiper-next {
  display: none !important;
}

.blog-swiper-prev {
  left: -16px;
}

.blog-swiper-next {
  right: -16px;
}

/* Give swipers bottom room so dots don't overlap slides */
.cat-swiper,
.product-swiper,
.prod2-swiper,
.blog-swiper {
  padding-bottom: 36px !important;
}

/* Pagination dots — shared */
.cat-swiper-pagination,
.product-swiper-pagination,
.prod2-swiper-pagination,
.blog-swiper-dots,
.related-swiper-pagination,
.sp-products-pagination,
.testimonial-swiper .swiper-pagination {
  bottom: 4px !important;
  text-align: center;
}

.cat-swiper-pagination .swiper-pagination-bullet,
.product-swiper-pagination .swiper-pagination-bullet,
.prod2-swiper-pagination .swiper-pagination-bullet,
.blog-swiper-dots .swiper-pagination-bullet,
.related-swiper-pagination .swiper-pagination-bullet,
.sp-products-pagination .swiper-pagination-bullet,
.testimonial-swiper .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-border);
  opacity: 1;
  transition: all .28s ease;
}

.cat-swiper-pagination .swiper-pagination-bullet-active,
.product-swiper-pagination .swiper-pagination-bullet-active,
.prod2-swiper-pagination .swiper-pagination-bullet-active,
.blog-swiper-dots .swiper-pagination-bullet-active,
.related-swiper-pagination .swiper-pagination-bullet-active,
.sp-products-pagination .swiper-pagination-bullet-active,
.testimonial-swiper .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--c-primary);
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(248, 43, 169, .45);
}

/* Related swiper nav buttons */
.related-swiper-prev {
  left: -16px;
}

.related-swiper-next {
  right: -16px;
}

.related-swiper,
.testimonial-swiper {
  padding-bottom: 36px !important;
}

html.dark .thm-swiper-btn {
  background: var(--c-bg3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

@media (max-width: 768px) {
  .thm-swiper-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .cat-swiper-prev {
    left: -4px;
  }

  .cat-swiper-next {
    right: -4px;
  }

  .blog-swiper-prev {
    left: -4px;
  }

  .blog-swiper-next {
    right: -4px;
  }
}

/* ══════════════════════════════════════════════
   CATEGORY CARDS
══════════════════════════════════════════════ */
.cat-card {
  background: var(--c-surface) !important;
  box-shadow: 0 2px 16px var(--c-shadow) !important;
  border: 1px solid var(--c-border);
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--c-primary-l);
  box-shadow: 0 6px 24px rgba(248, 43, 169, .1) !important;
}

/* ══════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════ */
.product-card {
  background: var(--c-surface);
  border-radius: var(--r-card);
  box-shadow: 0 2px 16px var(--c-shadow);
  border: 1px solid var(--c-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 10px 36px var(--c-shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(248, 43, 169, .2);
}

.product-img .aspect-square {
  aspect-ratio: 1/1;
}

.product-img {
  background: var(--c-bg3);
}

/* Badges */
.badge-new,
.badge-sale,
.badge-oos {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}

.badge-new {
  background: #10b981;
  color: #fff;
}

.badge-sale {
  background: var(--c-primary);
  color: #fff;
}

.badge-oos {
  background: #6b7280;
  color: #fff;
}

/* Wishlist button */
.wishlist-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  cursor: pointer;
  box-shadow: 0 2px 8px var(--c-shadow-md);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.wishlist-btn:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
  transform: scale(1.1);
}

.wishlist-btn.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.wishlist-btn svg.heart-outline {
  display: block;
}

.wishlist-btn svg.heart-filled {
  display: none;
}

.wishlist-btn.active svg.heart-outline {
  display: none;
}

.wishlist-btn.active svg.heart-filled {
  display: block;
}

/* Cart icon button */
.cart-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--c-primary-l);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  border: none;
}

/* Cart quantity badge */
.pc-cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  border: 1.5px solid #fff;
  opacity: 0;
  transform: scale(0);
  transition: opacity .18s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
}

.pc-cart-badge.is-visible {
  opacity: 1;
  transform: scale(1);
}

@keyframes badge-bump {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.55);
  }

  100% {
    transform: scale(1);
  }
}

.pc-cart-badge.is-bump {
  animation: badge-bump .32s cubic-bezier(.34, 1.56, .64, 1);
}

.cart-icon-btn:hover {
  background: var(--c-primary);
  color: #fff;
  transform: scale(1.05);
}

/* WooCommerce injects "View cart" link after AJAX add-to-cart — hide it,
   we show a toast notification instead */
.pc-footer .added_to_cart.wc-forward {
  display: none !important;
}

/* After add-to-cart: show a brief ✓ state on the button */
.pc-footer .cart-icon-btn.added {
  background: #10b981;
  color: #fff;
  transform: scale(1.08);
  pointer-events: none;
}

/* Quick actions overlay */
.product-quick-actions {
  background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent);
  padding-top: 32px !important;
}

.quick-view-btn {
  font-size: 0.8rem;
  font-weight: 600;
}

/* Product info */
.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  flex: 1;
}

/* Price styles */
.product-price ins {
  text-decoration: none;
}

.product-price del {
  opacity: 0.5;
  font-size: 0.8em;
  margin-right: 4px;
}

.product-price .woocommerce-Price-amount,
.product-price ins .woocommerce-Price-amount {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
}

.product-price del .woocommerce-Price-amount {
  font-weight: 400;
  color: var(--c-muted);
  font-size: 0.85rem;
}

/* Price on request — shown when no price is set */
.pc-price-on-request {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-primary);
  background: linear-gradient(135deg, rgba(248,43,169,.08) 0%, rgba(196,35,138,.05) 100%);
  border: 1.5px dashed var(--c-primary);
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.pc-price-on-request--lg {
  font-size: 13px;
  padding: 7px 16px;
  gap: 7px;
}

/* WooCommerce product loop */
.woocommerce ul.products li.product {
  margin: 0 !important;
  padding: 0 !important;
}

/* ══════════════════════════════════════════════
   FEATURE SECTION
══════════════════════════════════════════════ */
.section-feature {
  padding: 48px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Desktop card — horizontal layout */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 20px;
  border-radius: 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: 0 2px 16px var(--c-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(248, 43, 169, .14);
  border-color: rgba(248, 43, 169, .3);
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(248, 43, 169, .12);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.feature-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.feature-card:hover .feature-icon-wrap {
  background: var(--c-primary);
  color: #fff;
  transform: scale(1.08);
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-card .feature-title {
  margin: 0;
  font-size: .88rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  font-size: .74rem;
  color: var(--c-muted);
  line-height: 1.5;
}

/* ── Tablet ── */
@media (max-width: 1023px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 24px 16px;
    gap: 12px;
  }
}

/* ── Mobile 2×2 ── */
@media (max-width: 640px) {
  .section-feature {
    padding: 24px 0;
  }

  .feature-grid {
    gap: 12px;
  }

  .feature-card {
    padding: 18px 12px;
    border-radius: 20px;
    gap: 10px;
  }

  .feature-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .feature-icon-wrap svg {
    width: 21px;
    height: 21px;
  }

  .feature-card .feature-title {
    font-size: .8rem;
  }

  .feature-card p {
    font-size: .68rem;
  }
}

/* ── Desktop 4 columns — horizontal layout ── */
@media (min-width: 1024px) {
  .feature-card {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 16px;
    padding: 22px 20px;
  }

  .feature-card .feature-title {
    font-size: .9rem;
  }

  .feature-icon-wrap {
    width: 52px;
    height: 52px;
  }
}

/* ══════════════════════════════════════════════
   TESTIMONIAL SECTION
══════════════════════════════════════════════ */

html.dark .section-testimonial {
  background: var(--c-bg3) !important;
}

.testimonial-card {
  background: var(--c-surface);
  border-radius: var(--r-card);
  padding: 24px;
  border: 1px solid var(--c-border);
  border-top: 3px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 4px 24px var(--c-shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--c-primary);
}

.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(0, 0, 0, .12);
  transform: translateY(-2px);
}

.testimonial-card .flex {
  margin-bottom: 14px;
}

.testimonial-card .testimonial-stars {
  margin-top: auto;
  padding-top: 14px;
}

.testi-av-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg,
      hsl(var(--av-hue), 72%, 56%),
      hsl(calc(var(--av-hue) + 45), 78%, 44%));
  box-shadow: 0 4px 14px hsla(var(--av-hue), 65%, 50%, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testi-av-text {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .18);
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.testi-av-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
}

.testimonial-stars {
  color: #f59e0b;
}

/* ══════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════ */
.faq-section {
  padding: var(--section-py) 0;
}

.faq-head {
  text-align: center;
  margin-bottom: 40px;
}

.faq-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-heading);
  margin: 8px 0 0;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  background: var(--c-surface);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.faq-item:hover {
  border-color: var(--c-primary);
  box-shadow: 0 2px 16px rgba(248, 43, 169, .08);
}

.faq-item.faq-open {
  border-color: var(--c-primary);
}

.faq-question-heading {
  margin: 0;
  padding: 0;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 600;
  color: var(--c-heading);
  text-align: left;
  transition: color .18s;
}

.faq-question:hover {
  color: var(--c-primary);
}

.faq-open .faq-question {
  color: var(--c-primary);
}

.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  transition: transform .25s;
}

.faq-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease, padding .3s;
}

.faq-answer:not([hidden]) {
  max-height: 600px;
}

.faq-answer[hidden] {
  display: block !important;
  max-height: 0;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--c-text-muted);
}

.faq-answer-inner p {
  margin: 0;
}

.faq-answer-inner p+p {
  margin-top: 10px;
}

/* dark mode */
html.dark .faq-item {
  background: var(--c-bg2);
}

/* ── FAQ show-more button ── */
.faq-item--hidden {
  display: none;
}

.faq-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.faq-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 99px;
  color: var(--c-text);
  font-family: inherit;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s, color .18s, box-shadow .18s;
}

.faq-more-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  box-shadow: 0 2px 12px rgba(248, 43, 169, .12);
}

.faq-more-icon {
  transition: transform .3s;
}

/* ══════════════════════════════════════════════
   FAQ + SEO COMBINED SECTION
══════════════════════════════════════════════ */
.faq-seo-section {
  background: var(--c-bg2);
}

.faq-seo-text-part {
  padding: 52px 0 48px;
}

.faq-seo-sep {
  height: 1.5px;
  background: var(--c-border);
  margin: 0;
}

.faq-seo-faq-part {
  padding: 52px 0 60px;
}

html.dark .faq-seo-section {
  background: var(--c-bg3);
}

/* ══════════════════════════════════════════════
   SEO TEXT BLOCK
══════════════════════════════════════════════ */
.seo-text-block {
  background: var(--c-bg2);
  border-top: 1.5px solid var(--c-border);
  padding: 52px 0 58px;
}

.seo-text-inner {
  max-width: 820px;
}

.seo-text-content {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--c-text-muted);
  overflow: hidden;
  transition: max-height .4s ease;
}

.seo-text-content.seo-text-collapsed {
  max-height: 7.5em;
  -webkit-mask-image: linear-gradient(to bottom, black 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 45%, transparent 100%);
}

.seo-text-content.seo-text-expanded {
  max-height: 4000px;
  -webkit-mask-image: none;
  mask-image: none;
}

.seo-text-content h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-heading);
  margin: 22px 0 8px;
  line-height: 1.3;
}

.seo-text-content h2:first-child {
  margin-top: 0;
}

.seo-text-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-heading);
  margin: 18px 0 6px;
}

.seo-text-content h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 14px 0 4px;
}

.seo-text-content p {
  margin: 0 0 10px;
}

.seo-text-content p:last-child {
  margin-bottom: 0;
}

.seo-text-content ul {
  margin: 0 0 12px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.seo-text-content ul li {
  padding-left: 18px;
  position: relative;
  font-size: .88rem;
}

.seo-text-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}

.seo-text-toggle-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.seo-text-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 99px;
  color: var(--c-text);
  font-family: inherit;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s, color .18s, box-shadow .18s;
}

.seo-text-toggle:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  box-shadow: 0 2px 12px rgba(248, 43, 169, .12);
}

.seo-text-toggle-icon {
  transition: transform .3s;
}

.seo-text-toggle[aria-expanded="true"] .seo-text-toggle-icon {
  transform: rotate(180deg);
}

html.dark .seo-text-block {
  background: var(--c-bg3);
}

/* ══════════════════════════════════════════════
   NEWSLETTER SECTION
══════════════════════════════════════════════ */
.newsletter-wrap {
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  background: var(--c-primary);
  position: relative;
  overflow: hidden;
}

.newsletter-wrap::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.newsletter-wrap::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, .06);
  border-radius: 50%;
}

/* Newsletter decorative icons */
.nl-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.nl-deco-icon {
  position: absolute;
  color: rgba(255, 255, 255, .10);
}

.nl-deco-icon--gift {
  width: 110px;
  height: 110px;
  top: -18px;
  right: 6%;
  transform: rotate(12deg);
}

.nl-deco-icon--heart {
  width: 80px;
  height: 80px;
  bottom: -10px;
  left: 4%;
  color: rgba(255, 255, 255, .08);
  transform: rotate(-15deg);
}

.nl-deco-icon--star {
  width: 60px;
  height: 60px;
  top: 14px;
  left: 8%;
  color: rgba(255, 255, 255, .09);
  transform: rotate(20deg);
}

.nl-deco-icon--sparkle {
  width: 50px;
  height: 50px;
  bottom: 16px;
  right: 10%;
  color: rgba(255, 255, 255, .08);
  transform: rotate(-10deg);
}

.nl-deco-icon--ribbon {
  width: 90px;
  height: 90px;
  top: 50%;
  right: 2%;
  transform: translateY(-50%) rotate(8deg);
  color: rgba(255, 255, 255, .07);
}

.newsletter-input-wrap {
  display: flex;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 99px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
}

.nl-phone-prefix {
  padding-left: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  flex-shrink: 0;
}

.nl-phone-divider {
  width: 1px;
  height: 20px;
  background: #e2e8f0;
  margin: 0 10px;
  flex-shrink: 0;
}

.newsletter-input-wrap input[type="tel"] {
  flex: 1;
  padding: 14px 8px 14px 0;
  border: none;
  outline: none;
  font-size: 0.9rem;
  background: transparent;
  color: #1e293b;
  min-width: 0;
}

.newsletter-input-wrap input.honeypot {
  display: none;
}

.newsletter-input-wrap button {
  padding: 12px 24px;
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  border-radius: 99px;
  margin: 4px;
  transition: background var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-input-wrap button:hover {
  background: var(--c-primary-d);
}

/* ══════════════════════════════════════════════
   SEO TAGS SLIDER (above footer)
══════════════════════════════════════════════ */
.seo-tags-bar {
  background: var(--c-surface);
  border-top: 1.5px solid var(--c-border);
  border-bottom: 1.5px solid var(--c-border);
  padding: 14px 0;
  overflow: hidden;
}

.seo-tags-track {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.seo-tags-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: seo-tags-scroll 40s linear infinite;
  will-change: transform;
}

.seo-tags-bar:hover .seo-tags-inner {
  animation-play-state: paused;
}

@keyframes seo-tags-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.seo-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border: 1.5px solid var(--c-border);
  border-radius: 99px;
  background: var(--c-bg2);
  color: var(--c-text);
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .18s, color .18s, background .18s, box-shadow .18s;
  flex-shrink: 0;
}

.seo-tag-chip:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(248, 43, 169, .05);
  box-shadow: 0 2px 10px rgba(248, 43, 169, .1);
}

html.dark .seo-tag-chip {
  background: var(--c-bg3);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: #0f0f1a;
  color: #cbd5e1;
}

.footer-logo img {
  max-height: 44px;
}

.footer-widget-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

/* ── Footer collapse: desktop = static heading, mobile = accordion ── */
.footer-collapse-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 16px;
  cursor: default;
  pointer-events: none;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-collapse-trigger .footer-collapse-chevron {
  display: none;
}

.footer-collapse-body {
  display: block;
}

@media (max-width: 767px) {
  .footer-main-grid {
    gap: 0 !important;
  }

  .footer-social-links {
    margin-bottom: 28px;
  }

  .footer-col-collapse {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: 0;
  }

  .footer-collapse-trigger {
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 0;
    font-size: .875rem;
    letter-spacing: .06em;
    cursor: pointer;
    pointer-events: auto;
    text-align: left;
  }

  .footer-collapse-trigger .footer-collapse-chevron {
    display: block;
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform .28s ease;
  }

  .footer-collapse-trigger[aria-expanded="true"] .footer-collapse-chevron {
    transform: rotate(180deg);
  }

  .footer-collapse-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height .32s ease, opacity .28s ease;
    opacity: 0;
  }

  .footer-collapse-body.is-open {
    max-height: 400px;
    opacity: 1;
  }

  .footer-collapse-body .footer-links {
    padding: 4px 0 16px;
  }
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--c-primary);
}

.footer-links a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-primary);
}

.footer-brand-link {
  color: var(--c-primary);
}

.footer-contact-item a {
  color: #94a3b8;
}

.footer-contact-item a:hover {
  color: var(--c-primary);
}

.footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all var(--transition);
}

.footer-social-links a:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, .06);
}

.footer-bottom {
  background: rgba(0, 0, 0, .3);
  padding: 20px 0;
}

.footer-payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-payment-icons svg {
  height: 24px;
}

/* Widget area overrides in footer */
.site-footer .widget_title,
.site-footer h2.widget-title,
.site-footer h3.widget-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 0;
  border: none;
}

.site-footer .widget ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer .widget ul li {
  margin-bottom: 10px;
}

.site-footer .widget ul li a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color var(--transition);
}

.site-footer .widget ul li a:hover {
  color: var(--c-primary);
}

/* ══════════════════════════════════════════════
   CART DRAWER DARK MODE
══════════════════════════════════════════════ */
html.dark #cart-drawer {
  background: var(--c-surface);
  color: var(--c-text);
}

html.dark #cart-drawer .border-gray-100 {
  border-color: var(--c-border);
}

html.dark #cart-drawer .text-gray-900 {
  color: var(--c-text);
}

html.dark #cart-drawer .text-gray-400 {
  color: var(--c-muted);
}

/* Hide WooCommerce default subtotal + buttons (we have our own) */
.woocommerce-mini-cart__total,
.woocommerce-mini-cart__buttons {
  display: none !important;
}

/* WooCommerce mini cart — legacy (overridden by cart drawer CSS below) */

/* ══════════════════════════════════════════════
   WOOCOMMERCE — General
══════════════════════════════════════════════ */
.woocommerce-notices-wrapper {
  padding: 0 16px;
}

.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--c-primary);
  background: var(--c-primary-l);
  color: var(--c-text);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.woocommerce-error {
  background: #fef2f2;
  color: #991b1b;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

/* WC Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 24px;
  border: none;
  transition: background var(--transition), transform var(--transition);
  line-height: 1.4;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--c-primary-d);
  color: #fff;
  transform: translateY(-1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--c-primary);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--c-primary-d);
}

/* WC Forms */
.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-text);
}

.woocommerce form .form-row label .required {
  color: #ef4444;
  text-decoration: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-input);
  color: var(--c-text);
  padding: 12px 16px;
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(248, 43, 169, .1);
}

/* WC Product Grid — div-based, no ul/li pseudo-element interference */
.wc-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Legacy clearfix reset — prevents ::before/::after from becoming grid items */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  float: none;
  width: auto !important;
}

/* WC Product Image */
.woocommerce div.product .woocommerce-product-gallery {
  border-radius: 16px;
  overflow: hidden;
}

/* WC Sale badge */
.woocommerce span.onsale {
  background: var(--c-primary);
  color: #fff;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  min-height: auto;
  line-height: 1.5;
  top: 12px;
  left: 12px;
  right: auto;
}

/* Ratings */
.woocommerce .star-rating {
  font-size: 0.85em;
  color: #f59e0b;
}

.woocommerce .star-rating::before {
  color: #e2e8f0;
}

.woocommerce .star-rating span::before {
  color: #f59e0b;
}

/* ══════════════════════════════════════════════
   SEARCH OVERLAY DARK
══════════════════════════════════════════════ */
html.dark #search-overlay form {
  background: var(--c-surface) !important;
}

html.dark #search-overlay input {
  color: var(--c-text);
  background: transparent;
}

html.dark #search-overlay input::placeholder {
  color: var(--c-muted);
}

/* ══════════════════════════════════════════════
   DEAL / BIG BANNER
══════════════════════════════════════════════ */
.deal-countdown-block {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.deal-timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(248, 43, 169, .08);
  border: 2px solid rgba(248, 43, 169, .22);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 62px;
}

.deal-timer-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}

.deal-timer-label {
  font-size: 0.6rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 5px;
}

.deal-colon {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  margin-top: 10px;
  animation: deal-blink 1s step-start infinite;
}

@keyframes deal-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */
.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  display: block;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 43, 169, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ══════════════════════════════════════════════
   DARK MODE — UI Overrides
══════════════════════════════════════════════ */
html.dark .bg-white {
  background-color: var(--c-surface) !important;
}

html.dark .bg-gray-50,
html.dark .bg-gray-100 {
  background-color: var(--c-bg2) !important;
}

html.dark .text-gray-900,
html.dark .text-gray-800 {
  color: var(--c-text) !important;
}

html.dark .text-gray-700,
html.dark .text-gray-600 {
  color: var(--c-muted) !important;
}

html.dark .text-gray-500 {
  color: var(--c-muted) !important;
}

html.dark .border-gray-100,
html.dark .border-gray-200 {
  border-color: var(--c-border) !important;
}

html.dark .shadow-sm {
  box-shadow: 0 1px 8px var(--c-shadow);
}

/* Dark mode navbar logo text */
html.dark .text-primary {
  color: var(--c-primary) !important;
}

/* ══════════════════════════════════════════════
   CATEGORY MEGA DROPDOWN
══════════════════════════════════════════════ */
.cat-mega-trigger {
  background: var(--c-primary);
  user-select: none;
}

.cat-mega-trigger:hover {
  background: var(--c-primary-d) !important;
}

.cat-mega-trigger.is-open {
  background: var(--c-primary-d) !important;
}

.cat-mega-trigger.is-open .cat-chevron {
  transform: rotate(180deg);
}

.cat-mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 256px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 20px 56px var(--c-shadow-lg);
  overflow: hidden;
  z-index: 160;
  /* Closed state */
  opacity: 0;
  transform: translateY(-10px) scale(.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cat-mega-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cat-mega-list {
  max-height: 400px;
}

.cat-mega-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px 9px 13px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

li:last-child .cat-mega-item {
  border-bottom: none;
}

.cat-mega-item:hover {
  border-left-color: var(--c-primary);
  background: var(--c-primary-l);
  color: var(--c-primary) !important;
}

.cat-item-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ══════════════════════════════════════════════
   STATS / COUNTER AREA
══════════════════════════════════════════════ */
.stats-area {
  background: var(--c-primary);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* Stats decorative icons */
.stats-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.stats-deco-icon {
  position: absolute;
  color: rgba(255, 255, 255, .09);
}

.stats-deco-icon--gift {
  width: 120px;
  height: 120px;
  top: -20px;
  right: 4%;
  transform: rotate(10deg);
}

.stats-deco-icon--heart {
  width: 70px;
  height: 70px;
  bottom: -10px;
  left: 2%;
  transform: rotate(-15deg);
  color: rgba(255, 255, 255, .07);
}

.stats-deco-icon--star {
  width: 52px;
  height: 52px;
  top: 10px;
  left: 10%;
  transform: rotate(22deg);
  color: rgba(255, 255, 255, .08);
}

.stats-deco-icon--star2 {
  width: 38px;
  height: 38px;
  bottom: 12px;
  right: 20%;
  transform: rotate(-8deg);
  color: rgba(255, 255, 255, .07);
}

.stats-deco-icon--sparkle {
  width: 58px;
  height: 58px;
  top: 50%;
  right: 12%;
  transform: translateY(-50%) rotate(6deg);
  color: rgba(255, 255, 255, .08);
}

.stats-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-card);
  padding: 24px 22px;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), background var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .18);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Counting animation */
@keyframes stat-pop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  60% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.stat-card.in-view .stat-icon {
  animation: stat-pop .5s cubic-bezier(.34, 1.56, .64, 1) both;
}

.stat-card.in-view:nth-child(2) .stat-icon {
  animation-delay: .1s;
}

.stat-card.in-view:nth-child(3) .stat-icon {
  animation-delay: .2s;
}

.stat-card.in-view:nth-child(4) .stat-icon {
  animation-delay: .3s;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-area {
    padding: 34px 0;
  }

  .stats-inner {
    padding: 0 10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    min-width: 0;
    min-height: 100px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 11px 4px;
    border-radius: 18px;
    text-align: center;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 13px;
  }

  .stat-icon svg {
    width: 18px;
    height: 18px;
  }

  .stat-number {
    margin-bottom: 4px;
    font-size: clamp(1rem, 5vw, 1.34rem);
    letter-spacing: 0;
  }

  .stat-label {
    font-size: .58rem;
    line-height: 1.15;
    letter-spacing: .035em;
  }
}

/* ══════════════════════════════════════════════
   PAGE BANNER HERO (inner pages)
══════════════════════════════════════════════ */
.page-banner {
  position: relative;
  background: var(--c-primary);
  padding: 16px 0;
  overflow: hidden;
}

/* Dot pattern overlay — same as stats-area */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Subtle radial glow — depth */
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(140, 82, 255, .22) 0%, transparent 65%);
  pointer-events: none;
}

html.dark .page-banner {
  background: linear-gradient(135deg, #c4238a 0%, #9b4dcb 100%);
}

.page-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.page-banner-title {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 2.5;
}

/* Decorative icons — gift, heart, star etc. */
.pb-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.pb-deco-icon {
  position: absolute;
  color: rgba(255, 255, 255, .10);
}

.pb-deco-icon--gift {
  width: 90px;
  height: 90px;
  top: -16px;
  right: 5%;
  transform: rotate(12deg);
}

.pb-deco-icon--heart {
  width: 52px;
  height: 52px;
  bottom: -8px;
  left: 3%;
  transform: rotate(-18deg);
  color: rgba(255, 255, 255, .08);
}

.pb-deco-icon--star {
  width: 38px;
  height: 38px;
  top: 8px;
  left: 12%;
  transform: rotate(22deg);
  color: rgba(255, 255, 255, .09);
}

.pb-deco-icon--star2 {
  width: 26px;
  height: 26px;
  bottom: 10px;
  right: 22%;
  transform: rotate(-10deg);
  color: rgba(255, 255, 255, .07);
}

.pb-deco-icon--sparkle {
  width: 44px;
  height: 44px;
  top: 50%;
  right: 14%;
  transform: translateY(-50%) rotate(8deg);
  color: rgba(255, 255, 255, .09);
}

.pb-deco-icon--ribbon {
  width: 36px;
  height: 36px;
  bottom: 6px;
  left: 28%;
  transform: rotate(6deg);
  color: rgba(255, 255, 255, .07);
}

@media (max-width: 640px) {
  .pb-deco-icon--gift {
    width: 60px;
    height: 60px;
    right: 2%;
  }

  .pb-deco-icon--sparkle {
    right: 8%;
  }

  .pb-deco-icon--star {
    left: 6%;
  }
}

/* Breadcrumb inside banner */
.page-crumb-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-crumb-list li {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .75);
}

.page-crumb-list li a {
  color: rgba(255, 255, 255, .75);
  font-weight: 500;
  transition: color var(--transition);
}

.page-crumb-list li a:hover {
  color: #fff;
}

.page-crumb-list li.active span {
  color: #fff;
  font-weight: 600;
}

.page-crumb-list li svg {
  color: rgba(255, 255, 255, .45);
  flex-shrink: 0;
}

/* Legacy small breadcrumb (keep for compatibility) */
.breadcrumb-area {
  background: var(--c-bg2);
  border-bottom: 1px solid var(--c-border);
  padding: 14px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  font-size: 0.85rem;
  color: var(--c-muted);
}

.breadcrumb-list li a {
  color: var(--c-muted);
}

.breadcrumb-list li a:hover {
  color: var(--c-primary);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
}

.breadcrumb-list li:last-child {
  color: var(--c-text);
  font-weight: 500;
}

/* Hide product name (last crumb) on single product pages */
body.single-product .breadcrumb-menu li.active {
  display: none;
}

/* ══════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════ */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-color: var(--c-border);
  color: var(--c-text);
  border-radius: 10px;
  font-weight: 500;
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --section-py: 64px;
  }

  .hero-swiper {
    height: clamp(340px, 50vh, 480px);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 48px;
  }

  h1,
  .page-title,
  .page-banner-title,
  .single-post-title,
  .product-single-summary .product_title {
    font-size: 1.65rem !important;
    line-height: 1.18 !important;
  }

  h2,
  .section-title,
  .cat-v2-title,
  .thm-sec-title,
  .thm-sec-title-lg,
  .thm-sec-title-xl,
  .related.products h2,
  .upsells.products h2 {
    font-size: 1.45rem !important;
    line-height: 1.2 !important;
  }

  h3,
  .blog-card-title,
  .footer-widget-title,
  .shop-widget-title,
  .acct-section-title,
  .contact-form-title {
    font-size: 1.05rem !important;
    line-height: 1.28 !important;
  }

  h4,
  h5,
  h6 {
    font-size: .95rem !important;
    line-height: 1.3 !important;
  }

  .section-tag,
  .prod2-viewall-link,
  .cat-v2-viewall,
  .btn-outline-solid {
    min-height: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: .72rem !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  .prod2-viewall-link svg,
  .cat-v2-viewall svg,
  .btn-outline-solid svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .hero-swiper {
    height: clamp(260px, 38vh, 360px);
  }

  .hero-swiper .swiper-slide {
    position: relative;
  }

  .hero-swiper .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .52) 100%),
      linear-gradient(135deg, rgba(248, 43, 169, .46) 0%, rgba(140, 82, 255, .26) 48%, rgba(0, 0, 0, .20) 100%);
  }

  .hero-slide-bg {
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center center;
  }

  .hero-slide-overlay {
    display: none;
  }

  .hero-content-layer {
    position: relative;
    z-index: 2;
    align-items: center !important;
    justify-content: center;
    text-align: center;
  }

  .hero-content-layer .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    display: none;
  }

  /* Center hero content on mobile */
  .hero-content-inner {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 92%;
  }

  .hero-content-inner>p:first-child {
    margin-bottom: 12px;
    padding: 6px 13px;
    font-size: .68rem;
    line-height: 1;
    letter-spacing: .08em;
  }

  .hero-title {
    margin-bottom: 12px;
    font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
    line-height: 1.12 !important;
  }

  .hero-content-inner .text-white\/80 {
    margin-bottom: 22px;
    max-width: 92%;
    font-size: .95rem !important;
    line-height: 1.55 !important;
  }

  .hero-content-btns {
    justify-content: center;
    width: 100%;
    gap: 10px;
  }

  .hero-content-btns a {
    min-height: 44px;
    padding: 11px 18px !important;
    font-size: .86rem !important;
  }

  /* Pagination closer to content on mobile */
  .hero-swiper .swiper-pagination {
    bottom: 14px;
  }

  .newsletter-wrap {
    padding: 40px 24px;
  }

  .wc-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-py: 40px;
  }

  .hero-swiper {
    height: clamp(240px, 30vh, 285px);
  }

  .hero-content-inner>p:first-child {
    margin-bottom: 9px;
    padding: 5px 11px;
    font-size: .6rem;
  }

  .hero-title {
    margin-bottom: 10px;
    font-size: clamp(1.1rem, 5vw, 1.35rem) !important;
    line-height: 1.08 !important;
  }

  .hero-content-inner .text-white\/80 {
    display: block;
    margin-bottom: 12px;
    max-width: 88%;
    font-size: .78rem !important;
    line-height: 1.35 !important;
  }

  .hero-content-btns {
    gap: 8px;
  }

  .hero-content-btns a {
    min-height: 40px;
    padding: 9px 14px !important;
    font-size: .78rem !important;
  }

  .hero-swiper .swiper-pagination {
    bottom: 10px;
  }

  .newsletter-wrap {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .newsletter-input-wrap {
    flex-direction: column;
    border-radius: 16px;
  }

  .newsletter-input-wrap button {
    border-radius: 12px;
    margin: 0 4px 4px;
  }

  .wc-products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* ══════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════ */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════════════
   404 PAGE
══════════════════════════════════════════════ */
.notfound-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-py) 1.5rem;
  background: var(--c-bg);
}

.notfound-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.notfound-number {
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: var(--c-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.btn-primary-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary-solid:hover {
  background: var(--c-primary-d);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
  border-radius: 99px;
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline-solid:hover {
  background: var(--c-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   BLOG / ARCHIVE LAYOUT
══════════════════════════════════════════════ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.blog-layout--full {
  grid-template-columns: 1fr;
}

.blog-main {
  min-width: 0;
}

.blog-sidebar {
  min-width: 0;
}

.search-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blog-swiper-wrap {
  margin-top: 40px;
}

.blog-swiper .swiper-slide {
  height: auto;
}

.blog-swiper .blog-card {
  height: 100%;
}

/* ── Blog card (modern, image-driven, no excerpt) ── */
.blog-card {
  --bc-grad: var(--c-primary);
  border-radius: 22px;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid rgba(226, 232, 240, .82);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
  transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
  position: relative;
}

.blog-card:hover {
  box-shadow: 0 18px 46px rgba(15, 23, 42, .10);
  border-color: rgba(248, 43, 169, .22);
  transform: translateY(-4px);
}

/* Gradient top accent bar */
.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bc-grad);
  z-index: 2;
  opacity: .85;
}

.blog-card:hover::before {
  opacity: 1;
}

/* Full-card anchor */
.blog-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Image wrapper */
.blog-card-img {
  position: relative;
  aspect-ratio: 1.7 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(248, 43, 169, .13), transparent 38%),
    var(--c-bg3);
  flex-shrink: 0;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
  display: block;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

/* Bottom gradient overlay on image */
.blog-card-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(15, 23, 42, .34) 0%, rgba(15, 23, 42, .04) 58%, transparent),
    linear-gradient(135deg, rgba(248, 43, 169, .12), rgba(140, 82, 255, .05));
  pointer-events: none;
}

/* Category badge on image */
.blog-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  background: rgba(255, 255, 255, .9);
  color: var(--c-primary);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Card body */
.blog-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

/* Date meta */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--c-muted);
}

.blog-card-meta svg {
  flex-shrink: 0;
  color: var(--c-primary);
}

/* Title */
.blog-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--c-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-inner:hover .blog-card-title {
  color: var(--c-primary);
}

/* Arrow — bottom-right, slides in on hover */
.blog-card-arrow {
  margin-top: auto;
  align-self: flex-end;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bc-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
  flex-shrink: 0;
}

.blog-card:hover .blog-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Infinite scroll: hide old pagination ── */
.js-infinite-active #blog-pagination {
  display: none;
}

.blog-sentinel {
  height: 1px;
  margin-top: 32px;
}

/* ── Skeleton cards ── */
@keyframes k-skeleton-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .38; }
}

.blog-card--skeleton {
  pointer-events: none;
  border-radius: 22px;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}

.blog-card--skeleton .sk-img {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  background: var(--c-border);
  animation: k-skeleton-pulse 1.5s ease-in-out infinite;
}

.blog-card--skeleton .sk-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sk-line {
  height: 13px;
  border-radius: 6px;
  background: var(--c-border);
  animation: k-skeleton-pulse 1.5s ease-in-out infinite;
}

.sk-line--xs  { width: 38%; }
.sk-line--md  { width: 80%; height: 18px; }
.sk-line--sm  { width: 60%; }
.sk-line--btn { width: 32px; height: 32px; border-radius: 50%; margin-top: auto; align-self: flex-end; }

.blog-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  transition: all var(--transition);
}

.blog-pagination a:hover,
.blog-pagination .current {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ══════════════════════════════════════════════
   SINGLE POST — full width, no sidebar
══════════════════════════════════════════════ */
.single-post-section {
  padding: 48px 0 72px;
}

.single-post-wrap {
  max-width: none;
  padding: 0;
}

@media (max-width: 768px) {
  .single-post-section {
    padding: 28px 0 48px;
  }

  .single-post-wrap {
    padding: 0 16px;
  }
}

article.single-post {
  background: var(--c-surface);
  border-radius: var(--r-card);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: 0 2px 16px var(--c-shadow);
}

.single-post-hero {
  aspect-ratio: 16/7;
  overflow: hidden;
  background: var(--c-bg3);
}

.single-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 28px 0;
}

.single-post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  color: var(--c-muted);
}

.single-post-meta a {
  color: var(--c-muted);
}

.single-post-meta a:hover {
  color: var(--c-primary);
}

.single-post-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-text);
  padding: 16px 28px;
  margin: 0;
}

.single-post-content {
  padding: 0 28px 28px;
  color: var(--c-text);
  line-height: 1.8;
  font-size: .95rem;
}

.single-post-content p {
  margin-bottom: 1.25em;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  font-weight: 700;
  margin: 1.5em 0 .5em;
  color: var(--c-text);
}

.single-post-content h2 {
  font-size: 1.4rem;
}

.single-post-content h3 {
  font-size: 1.2rem;
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.single-post-content li {
  margin-bottom: .4em;
}

.single-post-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: .5em 0;
}

.single-post-content a {
  color: var(--c-primary);
}

.single-post-content blockquote {
  border-left: 4px solid var(--c-primary);
  margin: 1.5em 0;
  padding: 12px 20px;
  background: var(--c-primary-l);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

.single-post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 28px 20px;
  color: var(--c-muted);
  font-size: .82rem;
}

.post-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: 99px;
  font-size: .78rem;
  color: var(--c-muted);
  transition: all var(--transition);
}

.post-tag:hover {
  background: var(--c-primary-l);
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.single-post-nav {
  display: flex;
  gap: 16px;
  padding: 20px 28px;
  border-top: 1px solid var(--c-border);
  justify-content: space-between;
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 45%;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  transition: all var(--transition);
}

.post-nav-item:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-l);
}

.post-nav-item--next {
  align-items: flex-end;
  text-align: right;
}

.post-nav-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.post-nav-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text);
}

.single-post-comments {
  padding: 24px 28px;
  border-top: 1px solid var(--c-border);
}

/* ══════════════════════════════════════════════
   PAGE TEMPLATE
══════════════════════════════════════════════ */
.page-content-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.page-hero-img {
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/6;
}

.page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 24px;
  line-height: 1.25;
}

/* ══════════════════════════════════════════════
   SHOP LAYOUT
══════════════════════════════════════════════ */
#wc-page-wrapper {
  display: block;
}

.shop-section {
  padding: 36px 0 60px !important;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

/* ─── Sidebar ─── */
.shop-sidebar {
  min-width: 0;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}

.shop-sidebar::-webkit-scrollbar {
  width: 4px;
}

.shop-sidebar::-webkit-scrollbar-thumb {
  background: var(--c-border);
  border-radius: 4px;
}

/* Sidebar accent bar (gradient top line — hidden on desktop) */
.shop-sidebar-accent {
  display: none;
  height: 4px;
  background: var(--c-primary);
  flex-shrink: 0;
}

/* Sidebar header (visible only on mobile drawer) */
.shop-sidebar-hd {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 13px;
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  background: var(--c-surface);
  z-index: 1;
  flex-shrink: 0;
}

.shop-sidebar-hd-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-sidebar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(248, 43, 169, .12);
  border: 1px solid rgba(248, 43, 169, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  flex-shrink: 0;
}

.shop-sidebar-title {
  font-size: .9rem;
  font-weight: 800;
  color: var(--c-text);
  margin: 0;
  line-height: 1.2;
}

.shop-sidebar-subtitle {
  font-size: .72rem;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.2;
}

.shop-sidebar-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: var(--c-bg2);
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all .18s;
  flex-shrink: 0;
}

.shop-sidebar-close:hover {
  background: rgba(248, 43, 169, .08);
  color: var(--c-primary);
  border-color: var(--c-primary);
}

/* Sidebar scrollable body — layout only on desktop, overflow only on mobile */
.shop-sidebar-body {
  min-width: 0;
}

/* Sidebar backdrop overlay */
.shop-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.shop-sidebar-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile filter open button */
.shop-filter-toggle {
  display: none;
}

/* ─── Main ─── */
.shop-main {
  min-width: 0;
}

/* ─── Sort bar ─── */
.shop-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
  flex-wrap: wrap;
}

.shop-result-count {
  font-size: .84rem;
  color: var(--c-muted);
  font-weight: 500;
}

.shop-result-count p {
  margin: 0;
}

.shop-ordering select {
  padding: 7px 34px 7px 12px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg2);
  color: var(--c-text);
  font-size: .84rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.shop-ordering select:focus {
  border-color: var(--c-primary);
}

.shop-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--c-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ══════════════════════════════════════════════
   ACTIVE FILTERS BAR
══════════════════════════════════════════════ */
.shop-active-filters {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(248, 43, 169, .04);
  border: 1px solid rgba(248, 43, 169, .18);
  border-radius: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.saf-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .09em;
  white-space: nowrap;
  padding-top: 4px;
  flex-shrink: 0;
}

.saf-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1;
}

.saf-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 11px;
  background: var(--c-surface);
  border: 1.5px solid var(--c-primary);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  line-height: 1.4;
  transition: background .15s ease, transform .12s ease;
}

.saf-pill:hover {
  background: rgba(248, 43, 169, .07);
  transform: translateY(-1px);
}

.saf-pill svg {
  flex-shrink: 0;
  opacity: .65;
}

.saf-clear {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 8px;
  margin-left: 2px;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}

.saf-clear:hover {
  color: var(--c-text);
  background: var(--c-bg3);
}

/* ══════════════════════════════════════════════
   SKELETON LOADING
══════════════════════════════════════════════ */
@keyframes skel-shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

.skel-card {
  pointer-events: none;
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-surface);
}

.skel-img {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.skel-img,
.skel-line,
.skel-price,
.skel-btn-s {
  background: linear-gradient(90deg,
      var(--c-bg3, #f1f5f9) 25%,
      var(--c-bg2, #e9eef5) 50%,
      var(--c-bg3, #f1f5f9) 75%);
  background-size: 800px 100%;
  animation: skel-shimmer 1.6s infinite linear;
  border-radius: 6px;
}

.skel-card .pc-body {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skel-line {
  height: 11px;
  display: block;
}

.skel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  gap: 8px;
}

.skel-price {
  height: 20px;
  width: 72px;
  flex-shrink: 0;
}

.skel-btn-s {
  height: 34px;
  width: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Star skeleton — product grid cards */
.skel-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.skel-star {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: var(--c-border);
  animation: shimmer 1.4s linear infinite;
}

/* Star skeleton — AJAX search dropdown */
.hs-skel-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
}

.hs-skel-star {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--c-border);
  animation: shimmer 1.4s linear infinite;
}

/* Generic shimmer utility — shared by QV skeleton + any future skeleton */
.skel-shimmer {
  background: linear-gradient(90deg,
      var(--c-bg3, #f1f5f9) 25%,
      var(--c-bg2, #e9eef5) 50%,
      var(--c-bg3, #f1f5f9) 75%);
  background-size: 800px 100%;
  animation: skel-shimmer 1.6s infinite linear;
  border-radius: 6px;
  display: block;
}

/* ── Infinite scroll sentinel + load-more button + end marker ── */
#infinite-sentinel {
  height: 1px;
}

.infinite-load-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 28px auto 8px;
  padding: 9px 22px;
  background: transparent;
  border: 1.5px solid var(--c-border);
  border-radius: 30px;
  color: var(--c-muted);
  font-size: .8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: .02em;
  transition: border-color .18s ease, color .18s ease, opacity .18s ease;
}

.infinite-load-btn:hover:not(:disabled) {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.infinite-load-btn:disabled,
.infinite-load-btn.is-loading {
  opacity: .55;
  cursor: default;
}

.infinite-load-btn svg {
  flex-shrink: 0;
  transition: transform .3s ease;
}

.infinite-load-btn.is-loading svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.infinite-end {
  text-align: center;
  padding: 24px 0;
  color: var(--c-muted);
  font-size: .78rem;
  letter-spacing: .06em;
  opacity: .7;
}

/* ── Scroll-restore overlay ────────────────────────────── */
#inf-restore-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}
#inf-restore-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Top progress bar inside overlay */
#inf-pbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--c-primary);
  box-shadow: 0 0 12px rgba(248, 43, 169, .7);
  border-radius: 0 2px 2px 0;
  z-index: 999999;
  transition: width .55s cubic-bezier(.1, .6, .4, 1);
  pointer-events: none;
}

/* Centre card */
#inf-restore-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--c-surface);
  border-radius: 20px;
  padding: 32px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
  transform: translateY(6px);
  transition: transform .22s ease;
}
#inf-restore-overlay.is-visible #inf-restore-card {
  transform: translateY(0);
}

/* Spinner SVG */
#inf-restore-spinner {
  width: 48px;
  height: 48px;
}
#inf-restore-spinner svg {
  width: 100%;
  height: 100%;
  animation: inf-spin .9s linear infinite;
}
#inf-restore-spinner svg circle {
  stroke: var(--c-primary);
  stroke-dasharray: 80;
  stroke-dashoffset: 60;
  stroke-linecap: round;
}

#inf-restore-text {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text2);
  letter-spacing: .02em;
  margin: 0;
}

@keyframes inf-spin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════
   SIDEBAR WIDGETS
══════════════════════════════════════════════ */
#wpsidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Widget card (wrapper class = shop-widget) ── */
#wpsidebar .shop-widget {
  padding: 0 0 22px;
}

#wpsidebar .shop-widget+.shop-widget {
  border-top: 1px solid var(--c-border);
  padding-top: 20px;
}

/* ── Widget title ── */
#wpsidebar .shop-widget-title {
  font-size: .68rem;
  font-weight: 800;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 12px;
  padding: 0 0 8px;
  position: relative;
}

#wpsidebar .shop-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}

/* ── Filter lists ── */
#wpsidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* li = flex row so count badge sits inline with the link */
#wpsidebar ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .83rem;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: border-color .15s ease, background .15s ease;
}

#wpsidebar ul li:hover {
  border-left-color: var(--c-primary);
  background: rgba(248, 43, 169, .055);
}

#wpsidebar ul li a {
  flex: 1;
  padding: 7px 8px;
  color: var(--c-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color .15s ease;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#wpsidebar ul li:hover>a {
  color: var(--c-primary);
}

#wpsidebar ul li.current-cat,
#wpsidebar ul li.chosen,
#wpsidebar ul li.woocommerce-widget-layered-nav-list__item--chosen {
  border-left-color: var(--c-primary);
  background: rgba(248, 43, 169, .08);
}

#wpsidebar ul li.current-cat>a,
#wpsidebar ul li.chosen>a,
#wpsidebar ul li.woocommerce-widget-layered-nav-list__item--chosen>a {
  color: var(--c-primary);
  font-weight: 700;
}

/* Count badge — sibling of <a>, outside it */
#wpsidebar .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 600;
  background: var(--c-bg3);
  color: var(--c-muted);
  padding: 1px 6px;
  border-radius: 20px;
  flex-shrink: 0;
  margin-right: 6px;
  line-height: 1.5;
}

#wpsidebar ul li.current-cat .count,
#wpsidebar ul li.chosen .count,
#wpsidebar ul li.woocommerce-widget-layered-nav-list__item--chosen .count {
  background: rgba(248, 43, 169, .14);
  color: var(--c-primary);
}

/* ── Price filter widget ── */
#wpsidebar .price_slider_wrapper {
  padding: 6px 0 0;
}

#wpsidebar .price-range-box {
  overflow: visible;
}

#wpsidebar .ui-slider {
  position: relative;
  height: 5px;
  background: var(--c-border);
  border-radius: 99px;
  border: none;
  margin: 26px 11px 28px;
  overflow: visible;
}

#wpsidebar .ui-slider-range {
  background: var(--c-primary);
  height: 100%;
  top: 0;
  border-radius: 99px;
  position: absolute;
}

#wpsidebar .ui-slider-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-primary);
  box-shadow: 0 2px 12px rgba(248, 43, 169, .4);
  top: 50%;
  transform: translateY(-50%);
  margin-left: -10px;
  cursor: grab;
  outline: none !important;
  transition: box-shadow .18s, transform .18s;
  z-index: 2;
}

#wpsidebar .ui-slider-handle:focus,
#wpsidebar .ui-slider-handle:active {
  box-shadow: 0 0 0 5px rgba(248, 43, 169, .2);
  transform: translateY(-50%) scale(1.15);
  cursor: grabbing;
}

#wpsidebar .price_slider_amount {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#wpsidebar .price_label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--c-text-muted);
  flex-wrap: wrap;
}

#wpsidebar .price_label .from,
#wpsidebar .price_label .to {
  display: inline-flex;
  align-items: center;
  background: rgba(248, 43, 169, .08);
  color: var(--c-primary);
  border: 1px solid rgba(248, 43, 169, .22);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .8rem;
  font-weight: 700;
}

/* Cover both .button (legacy) and .theme-btn (custom template) */
#wpsidebar .price_slider_amount button,
#wpsidebar .price_slider_amount .button,
#wpsidebar .price_slider_amount .theme-btn {
  width: 100%;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 0;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: opacity .18s, transform .18s;
  box-shadow: 0 3px 12px rgba(248, 43, 169, .35);
  letter-spacing: .01em;
}

#wpsidebar .price_slider_amount button:hover {
  opacity: .88;
  transform: translateY(-1px);
}

/* ── Search form ── */
#wpsidebar .search-form {
  display: flex;
  gap: 8px;
}

#wpsidebar .search-field {
  flex: 1;
  padding: 9px 13px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg2);
  color: var(--c-text);
  font-size: .84rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

#wpsidebar .search-field:focus {
  border-color: var(--c-primary);
}

#wpsidebar .search-submit {
  padding: 9px 14px;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 700;
  transition: background var(--transition);
}

#wpsidebar .search-submit:hover {
  background: var(--c-primary-d);
}

html.dark #wpsidebar .ui-slider-handle,
html.dark #wpsidebar .widget_price_filter .ui-slider-handle {
  background: var(--c-bg3);
}

/* ══════════════════════════════════════════════
   MY ACCOUNT — REDESIGNED
══════════════════════════════════════════════ */
.account-layout {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Sidebar ── */
.account-nav-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 2px 16px var(--c-shadow);
  position: sticky;
  top: 88px;
}

/* ── Profile block ── */
.acct-profile {
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(150deg, rgba(248,43,169,.07) 0%, rgba(200,24,92,.02) 100%);
  border-bottom: 1px solid var(--c-border);
  gap: 3px;
}

.acct-avatar-wrap {
  margin-bottom: 10px;
  position: relative;
}

.acct-avatar-wrap img,
.acct-avatar-wrap .acct-avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover;
  display: block;
  border: 3px solid var(--c-surface) !important;
  box-shadow: 0 0 0 2.5px var(--c-primary), 0 4px 12px rgba(248,43,169,.2);
}

.acct-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.25;
}

.acct-email {
  font-size: .73rem;
  color: var(--c-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.acct-since {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  color: var(--c-muted);
  background: var(--c-bg3);
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 6px;
}

/* ── Nav ── */
.acct-nav ul {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.acct-nav li { margin: 0; }

.acct-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  position: relative;
}

.acct-nav li a:hover {
  background: rgba(248,43,169,.06);
  color: var(--c-primary);
}

.acct-nav li.is-active a {
  background: rgba(248,43,169,.09);
  color: var(--c-primary);
  font-weight: 600;
}

.acct-nav li.is-active a::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--c-primary);
}

.acct-nav-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--c-bg3);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.acct-nav li.is-active .acct-nav-icon,
.acct-nav li a:hover .acct-nav-icon {
  background: rgba(248,43,169,.12);
  color: var(--c-primary);
}

.acct-nav-label { flex: 1; }

.acct-nav-arrow {
  color: var(--c-muted);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.acct-nav li a:hover .acct-nav-arrow,
.acct-nav li.is-active a .acct-nav-arrow {
  opacity: 1;
  color: var(--c-primary);
}

.acct-nav-logout a {
  color: #ef4444 !important;
  border-top: 1px solid var(--c-border);
  margin-top: 4px;
}

.acct-nav-logout a:hover { background: rgba(239,68,68,.06) !important; }

.acct-nav-logout .acct-nav-icon { color: #ef4444; }

.acct-nav-logout a:hover .acct-nav-icon {
  background: rgba(239,68,68,.1) !important;
  color: #ef4444 !important;
}

/* ── Content ── */
.account-content {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: 0 2px 16px var(--c-shadow);
  min-width: 0;
}

/* ── Section header ── */
.acct-section-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
}

.acct-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}

.acct-section-sub {
  font-size: .83rem;
  color: var(--c-muted);
  margin: 0;
}

/* ── Dashboard ── */
.acct-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}

.acct-welcome-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}

.acct-welcome-sub {
  font-size: .83rem;
  color: var(--c-muted);
  margin: 0;
}

.acct-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--c-muted);
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}

.acct-logout-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

/* ── Stat cards ── */
.acct-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.acct-stat {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.acct-stat:hover {
  box-shadow: 0 6px 24px var(--c-shadow);
  transform: translateY(-2px);
}

.acct-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.acct-stat--pending::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.acct-stat--done::before    { background: linear-gradient(90deg, #10b981, #34d399); }
.acct-stat--spent::before   { background: linear-gradient(90deg, var(--c-primary), #c8185c); }

.acct-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.acct-stat-icon--pending { background: rgba(245,158,11,.12); color: #f59e0b; }
.acct-stat-icon--done    { background: rgba(16,185,129,.12); color: #10b981; }
.acct-stat-icon--spent   { background: rgba(248,43,169,.12); color: var(--c-primary); }

.acct-stat-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
}

.acct-stat-val .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

.acct-stat-lbl {
  font-size: .75rem;
  color: var(--c-muted);
  font-weight: 500;
}

/* ── Quick links ── */
.acct-quick-links {
  background: linear-gradient(135deg, rgba(248,43,169,.04), rgba(200,24,92,.02));
  border: 1px solid rgba(248,43,169,.15);
  border-radius: 12px;
  padding: 18px 20px;
}

.acct-quick-desc {
  font-size: .855rem;
  color: var(--c-text);
  margin-bottom: 14px;
  line-height: 1.65;
}

.acct-quick-desc a {
  color: var(--c-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.acct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.acct-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  transition: all var(--transition);
  text-decoration: none;
}

.acct-action-btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ── Orders table ── */
.acct-table-wrap { overflow-x: auto; }

.acct-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.acct-orders-table th {
  font-size: .71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--c-muted);
  padding: 10px 14px;
  border-bottom: 2px solid var(--c-border);
  text-align: left;
  white-space: nowrap;
}

.acct-orders-table td {
  padding: 14px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: middle;
}

.acct-orders-table tbody tr:last-child td { border-bottom: none; }

.acct-orders-table tbody tr:hover td { background: var(--c-bg3); }

.acct-order-num {
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: none;
}

.acct-order-num:hover { text-decoration: underline; }

.acct-order-date { color: var(--c-muted); font-size: .83rem; }

.acct-order-total { font-weight: 600; color: var(--c-text); }

/* ── Status badges ── */
.acct-status {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.acct-status--pending    { background: rgba(245,158,11,.12); color: #d97706; }
.acct-status--processing { background: rgba(59,130,246,.12);  color: #2563eb; }
.acct-status--completed  { background: rgba(16,185,129,.12);  color: #059669; }
.acct-status--cancelled  { background: rgba(239,68,68,.12);   color: #dc2626; }
.acct-status--refunded   { background: rgba(99,102,241,.12);  color: #7c3aed; }
.acct-status--on-hold    { background: rgba(156,163,175,.15); color: #6b7280; }

/* ── View button ── */
.acct-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .77rem;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: 7px;
  color: var(--c-text);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.acct-view-btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ── Pagination ── */
.woocommerce-pagination {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.acct-pag-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 16px;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  color: var(--c-text);
  transition: all var(--transition);
  text-decoration: none;
}

.acct-pag-btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ── Address grid ── */
.acct-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.acct-address-card {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.acct-address-card-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.acct-address-body { flex: 1; }

.acct-address-text {
  font-size: .875rem;
  color: var(--c-text);
  line-height: 1.7;
  font-style: normal;
}

.acct-address-empty {
  font-size: .85rem;
  color: var(--c-muted);
  font-style: italic;
}

.acct-address-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(248,43,169,.3);
  border-radius: 7px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  align-self: flex-start;
}

.acct-address-edit:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

/* ── Edit account form ── */
.acct-form { max-width: 560px; }

.acct-form-section {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--c-border);
}

.acct-form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 18px;
}

.acct-form-section-title {
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.acct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group { margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 6px;
}

.form-group .required { color: var(--c-primary); }

.form-control {
  width: 100%;
  padding: 9px 13px;
  font-size: .875rem;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  color: var(--c-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(248,43,169,.1);
}

.acct-field-hint {
  display: block;
  font-size: .75rem;
  color: var(--c-muted);
  margin-top: 5px;
  line-height: 1.5;
}

.acct-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--c-primary);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: 10px 22px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: opacity var(--transition), box-shadow var(--transition);
  font-family: inherit;
}

.acct-save-btn:hover {
  opacity: .9;
  box-shadow: 0 4px 16px rgba(248,43,169,.3);
}

/* ── Empty state ── */
.acct-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 52px 20px;
  text-align: center;
  color: var(--c-muted);
}

.acct-empty svg { opacity: .3; }

.acct-empty p { font-size: .9rem; margin: 0; }

/* ── WooCommerce notices inside account ── */
.account-content .woocommerce-message,
.account-content .woocommerce-error,
.account-content .woocommerce-info {
  border-radius: 9px;
  margin-bottom: 20px;
  padding: 12px 16px;
  font-size: .875rem;
  border: none;
  list-style: none;
}

.account-content .woocommerce-message {
  background: rgba(16,185,129,.08);
  color: #065f46;
  border-left: 3px solid #10b981;
}

.account-content .woocommerce-info {
  background: rgba(59,130,246,.08);
  color: #1e40af;
  border-left: 3px solid #3b82f6;
}

.account-content .woocommerce-error {
  background: rgba(239,68,68,.08);
  color: #991b1b;
  border-left: 3px solid #ef4444;
}

/* ── WC notice blocks (inline HTML alerts) ── */
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wc-notice-out {
  to { opacity: 0; transform: translateY(-6px); }
}

.wc-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.5;
  animation: slideInDown .25s ease;
}

.wc-notice--hiding {
  animation: wc-notice-out .28s ease forwards;
  pointer-events: none;
}

.wc-notice__icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.wc-notice__text { flex: 1; }

.wc-notice__text a {
  text-decoration: underline;
  font-weight: 600;
}

.wc-notice-dismiss {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  background: none;
  cursor: pointer;
  opacity: .5;
  padding: 0;
  border-radius: 4px;
  transition: opacity .15s, background .15s;
  margin-top: 1px;
}

.wc-notice-dismiss:hover { opacity: 1; background: rgba(0,0,0,.06); }

.wc-notice--success {
  background: rgba(16,185,129,.1);
  color: #065f46;
  border-left: 4px solid #10b981;
}
.wc-notice--success .wc-notice__text a,
.wc-notice--success .wc-notice-dismiss { color: #065f46; }

.wc-notice--error {
  background: rgba(239,68,68,.1);
  color: #991b1b;
  border-left: 4px solid #ef4444;
}
.wc-notice--error .wc-notice__text a,
.wc-notice--error .wc-notice-dismiss { color: #991b1b; }

.wc-notice--info {
  background: rgba(59,130,246,.1);
  color: #1e40af;
  border-left: 4px solid #3b82f6;
}
.wc-notice--info .wc-notice__text a,
.wc-notice--info .wc-notice-dismiss { color: #1e40af; }

/* Global WC notices the JS has processed — hide to avoid duplicate */
.woocommerce-message[data-wc-toasted],
.woocommerce-error[data-wc-toasted],
.woocommerce-info[data-wc-toasted] {
  display: none !important;
}

/* ── WC content heading ── */
.woocommerce-MyAccount-content h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--c-text);
}

.woocommerce-MyAccount-content table {
  width: 100%;
  font-size: .875rem;
  border-collapse: collapse;
}

.woocommerce-MyAccount-content table th {
  font-weight: 600;
  padding: 10px 14px;
  border-bottom: 2px solid var(--c-border);
  text-align: left;
  color: var(--c-muted);
  font-size: .75rem;
  text-transform: uppercase;
}

.woocommerce-MyAccount-content table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: middle;
}

/* ══════════════════════════════════════════════
   SINGLE PRODUCT LAYOUT
══════════════════════════════════════════════ */
.product-single-page {
  display: block;
}

.product-single-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.product-single-gallery {
  min-width: 0;
  position: relative;
  isolation: isolate;
}

/* Sale badge — overlays top-left of main swiper image */
.sp-sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  background: var(--c-primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  pointer-events: none;
  line-height: 1;
}

/* Rating row */
.sp-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.sp-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}
.sp-review-link {
  font-size: .82rem;
  color: var(--c-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sp-review-link:hover { color: var(--c-primary); }
.sp-rating-score {
  font-size: .82rem;
  font-weight: 700;
  background: #f59e0b;
  color: #fff;
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1.4;
}

.product-single-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Title ── */
.product-single-summary .product_title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-text);
  margin-bottom: 10px;
}

/* ── Rating ── */
.product-single-summary .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.product-single-summary .woocommerce-product-rating .woocommerce-review-link {
  font-size: .8rem;
  color: var(--c-muted);
}

/* ── Divider ── */
.product-single-summary .sp-price-block,
.product-single-summary .woocommerce-product-details__short-description {
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}

/* ── Price block ── */
.sp-price-block {
  margin-bottom: 20px;
}
.sp-price-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.sp-price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}
.sp-price-current .woocommerce-Price-currencySymbol {
  font-size: .7em;
  vertical-align: super;
}
.sp-price-old {
  font-size: 1rem;
  font-weight: 400;
  color: var(--c-muted);
  text-decoration: line-through;
}
.sp-price-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: rgba(239,68,68,.1);
  color: #dc2626;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid rgba(239,68,68,.2);
}
.sp-price-on-request {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(248,43,169,.1) 0%, rgba(196,35,138,.07) 100%);
  color: var(--c-primary);
  font-size: .95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1.5px dashed var(--c-primary);
  letter-spacing: .01em;
}
.sp-price-save {
  font-size: .82rem;
  color: #059669;
  font-weight: 500;
  margin: 0 0 12px;
}
.sp-price-save strong { font-weight: 700; }

/* ── Stock ── */
.product-single-summary .stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.product-single-summary .stock.in-stock {
  background: rgba(16, 185, 129, .1);
  color: #065f46;
}
.product-single-summary .stock.out-of-stock {
  background: rgba(239, 68, 68, .1);
  color: #991b1b;
}
.product-single-summary .stock::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Short description ── */
.product-single-summary .woocommerce-product-details__short-description {
  color: var(--c-muted);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ── ATC form ── */
.sp-cart-form {
  margin-bottom: 0;
}
.sp-atc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
}

/* Qty stepper */
.sp-qty-wrap {
  display: flex;
  align-items: center;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.sp-qty-btn {
  width: 38px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--c-text);
  cursor: pointer;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.sp-qty-btn:hover {
  background: var(--c-primary);
  color: #fff;
}
.sp-qty-input {
  width: 46px;
  height: 46px;
  border: none;
  background: none;
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-text);
  -moz-appearance: textfield;
}
.sp-qty-input::-webkit-outer-spin-button,
.sp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ATC button */
.sp-atc-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
  white-space: nowrap;
}
.sp-atc-btn:hover { opacity: .88; }
.sp-atc-btn:active { transform: scale(.97); }

/* Wishlist button */
.sp-wish-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  color: var(--c-muted);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.sp-wish-btn:hover,
.sp-wish-btn.active {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, .06);
}
.sp-wish-btn .heart-filled { display: none; }
.sp-wish-btn.active .heart-outline { display: none; }
.sp-wish-btn.active .heart-filled { display: block; }

/* ── WA / Call action row ── */
.sp-action-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.sp-wa-btn,
.sp-call-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1.5px solid;
  transition: background .2s, color .2s;
}
.sp-wa-btn {
  background: rgba(37, 211, 102, .08);
  border-color: #25d366;
  color: #128c50;
}
.sp-wa-btn:hover {
  background: #25d366;
  color: #fff;
}
.sp-call-btn {
  background: rgba(99, 102, 241, .08);
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.sp-call-btn:hover {
  background: var(--c-primary);
  color: #fff;
}

/* ── Meta ── */
.sp-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.sp-meta-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: .85rem;
}
.sp-meta-key {
  color: var(--c-muted);
  flex-shrink: 0;
  min-width: 100px;
}
.sp-meta-val {
  color: var(--c-text);
  font-weight: 500;
}
.sp-meta-val a {
  color: var(--c-primary);
}

/* ── Share bar ── */
.sp-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
}
.sp-share-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--c-muted);
  font-weight: 500;
  margin-right: 2px;
}
.sp-share-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none !important;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  color: var(--c-muted);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.sp-share-link:hover { border-color: var(--c-primary); color: var(--c-primary); }
.sp-share-wa:hover   { border-color: #25d366; color: #128c50; }
.sp-share-tg:hover   { border-color: #0088cc; color: #0088cc; }
.sp-share-copy.copied span::before { content: '✓ '; }

/* ── Product Accordion ── */
.sp-accordion-wrapper {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-accordion-item {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.sp-accordion-item.is-open {
  border-color: var(--c-primary);
  box-shadow: 0 2px 16px rgba(248,43,169,.10);
}

.sp-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  font-family: inherit;
}

.sp-accordion-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  transition: color var(--transition);
}

.sp-accordion-item.is-open .sp-accordion-title {
  color: var(--c-primary);
}

.sp-accordion-chevron {
  flex-shrink: 0;
  color: var(--c-muted);
  transition: transform 0.25s ease, color var(--transition);
}

.sp-accordion-item.is-open .sp-accordion-chevron {
  transform: rotate(180deg);
  color: var(--c-primary);
}

.sp-accordion-panel {
  border-top: 1.5px solid var(--c-border);
}

.sp-accordion-panel[hidden] { display: none; }

.sp-accordion-body {
  padding: 28px 28px 32px;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--c-text);
}

/* Panel headings */
.sp-accordion-body h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
  display: none;
}

/* Additional information table */
.sp-accordion-body table.shop_attributes {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  overflow: hidden;
}
.sp-accordion-body table.shop_attributes th,
.sp-accordion-body table.shop_attributes td {
  padding: 11px 16px;
  font-size: .875rem;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  vertical-align: middle;
}
.sp-accordion-body table.shop_attributes th {
  font-weight: 600;
  color: var(--c-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  width: 150px;
  background: var(--c-bg2);
  border-right: 1px solid var(--c-border);
  white-space: nowrap;
}
.sp-accordion-body table.shop_attributes td {
  font-weight: 500;
  color: var(--c-text);
  background: var(--c-bg);
}
.sp-accordion-body table.shop_attributes tr:last-child th,
.sp-accordion-body table.shop_attributes tr:last-child td {
  border-bottom: none;
}
.sp-accordion-body table.shop_attributes tr:nth-child(even) td {
  background: var(--c-bg2);
}
.sp-accordion-body table.shop_attributes p {
  margin: 0;
}

/* Dark mode */
html.dark .sp-accordion-item { background: var(--c-surface); }
html.dark .sp-accordion-item.is-open { box-shadow: 0 2px 16px rgba(248,43,169,.14); }

/* Tab nav — pill style */
.product-single-tabs .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 6px;
  margin: 0;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  width: fit-content;
}
.product-single-tabs .woocommerce-tabs ul.tabs li {
  background: none;
  border: none;
  border-radius: 10px;
  padding: 0;
  margin: 0;
}
.product-single-tabs .woocommerce-tabs ul.tabs li::before,
.product-single-tabs .woocommerce-tabs ul.tabs li::after { display: none; }
.product-single-tabs .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 9px 20px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-muted);
  border-radius: 9px;
  transition: background .18s, color .18s;
}
.product-single-tabs .woocommerce-tabs ul.tabs li a:hover {
  color: var(--c-primary);
}
.product-single-tabs .woocommerce-tabs ul.tabs li.active {
  background: var(--c-surface);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.product-single-tabs .woocommerce-tabs ul.tabs li.active a {
  color: var(--c-primary);
}

/* Tab panel */
.product-single-tabs .woocommerce-tabs .panel {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  padding: 32px;
  margin-top: 12px;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--c-text);
}

/* Panel headings */
.product-single-tabs .woocommerce-tabs .panel h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}

/* Additional information table */
.product-single-tabs .woocommerce-tabs .panel table.shop_attributes {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  overflow: hidden;
}
.product-single-tabs .woocommerce-tabs .panel table.shop_attributes th,
.product-single-tabs .woocommerce-tabs .panel table.shop_attributes td {
  padding: 11px 16px;
  font-size: .875rem;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  vertical-align: middle;
}
.product-single-tabs .woocommerce-tabs .panel table.shop_attributes th {
  font-weight: 600;
  color: var(--c-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  width: 150px;
  background: var(--c-bg2);
  border-right: 1px solid var(--c-border);
  white-space: nowrap;
}
.product-single-tabs .woocommerce-tabs .panel table.shop_attributes td {
  font-weight: 500;
  color: var(--c-text);
  background: var(--c-bg);
}
.product-single-tabs .woocommerce-tabs .panel table.shop_attributes tr:last-child th,
.product-single-tabs .woocommerce-tabs .panel table.shop_attributes tr:last-child td {
  border-bottom: none;
}
.product-single-tabs .woocommerce-tabs .panel table.shop_attributes tr:nth-child(even) td {
  background: var(--c-bg2);
}
.product-single-tabs .woocommerce-tabs .panel table.shop_attributes p {
  margin: 0;
}

/* ══ Reviews section ══ */
.sp-reviews {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sp-rv-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-rv-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  background: var(--c-primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 20px;
}

/* Review cards */
.sp-rv-cards { display: flex; flex-direction: column; gap: 16px; }

.sp-rv-card {
  padding: 20px;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
}
.sp-rv-card-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.sp-rv-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  flex-shrink: 0;
}
.sp-rv-card-info { flex: 1; }
.sp-rv-author {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 2px;
}
.sp-rv-date {
  font-size: .78rem;
  color: var(--c-muted);
}
.rv-stars { display: flex; align-items: center; gap: 2px; }
.sp-rv-text {
  font-size: .875rem;
  color: var(--c-text);
  line-height: 1.65;
  margin: 0;
}
.sp-rv-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-muted);
  font-size: .875rem;
  padding: 20px 0;
}
.sp-rv-empty svg { opacity: .4; flex-shrink: 0; }

/* Review form */
.sp-rv-form-wrap { border-top: 1.5px solid var(--c-border); padding-top: 28px; }

.sp-rv-form { display: flex; flex-direction: column; gap: 18px; }

/* Star picker */
.sp-rv-stars-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-rv-stars-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-muted);
}
.sp-rv-star-picker { display: flex; align-items: center; gap: 4px; }
.sp-rv-star-btn {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  line-height: 1;
  transition: transform .1s;
}
.sp-rv-star-btn:hover { transform: scale(1.15); }
.sp-rv-star-btn svg { display: block; transition: fill .15s, stroke .15s; }
.sp-rv-star-btn.is-active svg,
.sp-rv-star-btn.is-hover svg {
  fill: #f59e0b !important;
  stroke: #f59e0b !important;
}

/* Name + Email grid */
.sp-rv-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Form field */
.sp-rv-field { display: flex; flex-direction: column; gap: 6px; }
.sp-rv-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text);
}
.sp-rv-field label span { color: #ef4444; }
.sp-rv-field input,
.sp-rv-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  resize: none;
}
.sp-rv-field input:focus,
.sp-rv-field textarea:focus { border-color: var(--c-primary); }

/* Submit button */
.sp-rv-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
  align-self: flex-start;
}
.sp-rv-submit:hover { opacity: .87; }

.sp-rv-must-buy {
  color: var(--c-muted);
  font-size: .875rem;
  padding: 16px 0;
}

@media (max-width: 600px) {
  .sp-rv-fields { grid-template-columns: 1fr; }
  .product-single-tabs .woocommerce-tabs .panel { padding: 20px 16px; }
}

/* ── Related / upsell ── */
.related.products,
.upsells.products {
  margin-top: 48px;
}
.related.products h2,
.upsells.products h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 24px;
}

/* ── SP Gallery Skeleton ── */
.sp-gal-skel {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sp-gal-skel--single .sp-gal-skel-thumbs { display: none; }
.sp-gal-skel-thumbs {
  width: 80px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sp-gal-skel-thumb {
  width: 78px;
  height: 78px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--c-bg3,#f1f5f9) 25%, var(--c-bg2,#e9eef5) 50%, var(--c-bg3,#f1f5f9) 75%);
  background-size: 800px 100%;
  animation: skel-shimmer 1.6s infinite linear;
}
.sp-gal-skel-main {
  flex: 1;
  min-width: 0;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--c-bg3,#f1f5f9) 25%, var(--c-bg2,#e9eef5) 50%, var(--c-bg3,#f1f5f9) 75%);
  background-size: 800px 100%;
  animation: skel-shimmer 1.6s infinite linear;
}
.sp-gallery--hidden {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  .sp-gal-skel { gap: 8px; }
  .sp-gal-skel-thumbs { width: 60px; }
  .sp-gal-skel-thumb { width: 56px; height: 56px; }
}

/* ── SP Gallery (Swiper layout) ── */
.sp-gallery {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}

/* Vertical thumb Swiper (left column) */
.sp-swiper-thumbs {
  width: 80px;
  flex-shrink: 0;
  height: 500px; /* JS overrides to exact main-image height */
}
.sp-swiper-thumbs .swiper-wrapper { flex-direction: column; }
.sp-swiper-thumbs .swiper-slide.sp-thumb-slide {
  width: 78px !important;
  height: 78px !important;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--c-bg);
  transition: border-color .18s;
  flex-shrink: 0;
}
.sp-swiper-thumbs .swiper-slide.sp-thumb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-swiper-thumbs .swiper-slide.sp-thumb-slide:hover {
  border-color: var(--c-primary);
  opacity: .85;
}
.sp-swiper-thumbs .swiper-slide-thumb-active {
  border-color: var(--c-primary) !important;
}

/* Main Swiper (right column) */
.sp-swiper-main {
  flex: 1;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  position: relative;
}
.sp-gallery--single .sp-swiper-main {
  width: 100%;
}
.sp-swiper-main .swiper-slide.sp-main-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-main-link {
  display: block;
  width: 100%;
  position: relative;
}
.sp-swiper-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

/* Swiper nav arrows */
.sp-swiper-prev,
.sp-swiper-next {
  color: var(--c-primary) !important;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  width: 34px !important;
  height: 34px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.sp-swiper-prev svg,
.sp-swiper-next svg {
  width: 12px !important;
  height: 12px !important;
  flex-shrink: 0;
}
.sp-swiper-prev::after,
.sp-swiper-next::after {
  font-size: 12px !important;
  font-weight: 700;
}

/* Zoom hint */
.sp-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}
.sp-main-link:hover .sp-zoom-hint { opacity: 1; }

/* Mobile: narrow thumbs column, same side-by-side layout */
@media (max-width: 600px) {
  .sp-gallery { gap: 8px; }
  .sp-swiper-thumbs {
    width: 60px;
    height: 300px; /* JS corrects to exact value */
  }
  .sp-swiper-thumbs .swiper-slide.sp-thumb-slide {
    width: 56px !important;
    height: 56px !important;
  }
}

/* ══════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--c-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.empty-state p {
  font-size: .95rem;
  max-width: 440px;
}

.empty-state svg {
  opacity: .35;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — New templates
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr 260px;
    gap: 28px;
  }

  .shop-layout {
    grid-template-columns: 230px 1fr;
    gap: 22px;
  }

  .wc-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .account-layout {
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }

  .product-single-layout {
    gap: 36px;
  }
  .sp-atc-row { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .wc-products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Sidebar → fixed LEFT drawer on mobile */
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(300px, 85vw);
    max-height: 100vh;
    z-index: 300;
    background: var(--c-surface);
    border-radius: 0;
    border-right: 1px solid var(--c-border);
    box-shadow: 4px 0 40px rgba(0, 0, 0, .18);
    transform: translateX(-105%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
  }

  .shop-sidebar.is-open {
    transform: translateX(0);
  }

  .shop-sidebar-accent {
    display: block;
  }

  #wpsidebar .widget {
    margin: 0 16px;
  }

  .shop-sidebar-hd {
    display: flex;
  }

  .shop-sidebar-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--c-border) transparent;
  }

  .shop-sidebar-body::-webkit-scrollbar {
    width: 3px;
  }

  .shop-sidebar-body::-webkit-scrollbar-thumb {
    background: var(--c-border);
    border-radius: 3px;
  }

  .shop-sidebar-overlay {
    display: block;
  }

  /* Filter toggle: centered pill */
  .shop-filter-toggle {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    background: var(--c-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: .84rem;
    cursor: pointer;
    font-family: inherit;
    margin: 0 auto 18px;
    box-shadow: 0 4px 18px rgba(248, 43, 169, .32);
    transition: box-shadow .2s, transform .2s, opacity .18s;
  }

  .shop-filter-toggle:hover {
    box-shadow: 0 6px 24px rgba(248, 43, 169, .44);
    transform: translateY(-1px);
  }

  /* Hide the hamburger lines icon when open, show X */
  .sft-close-icon {
    display: none;
  }

  body.shop-filter-open .sft-close-icon {
    display: block;
  }

  body.shop-filter-open .shop-filter-toggle svg:not(.sft-close-icon) {
    display: none;
  }

  /* When sidebar is open: toggle becomes a tab on the RIGHT edge of the left sidebar */
  body.shop-filter-open .shop-filter-toggle {
    position: fixed;
    left: min(300px, 85vw);
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    border-radius: 0 50px 50px 0;
    padding: 10px 16px 10px 14px;
    box-shadow: 3px 0 16px rgba(0, 0, 0, .14);
    z-index: 301;
    transition: left .3s cubic-bezier(.4, 0, .2, 1);
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-nav-wrap { position: static; }

  .acct-stats { grid-template-columns: repeat(3, 1fr); }

  .acct-address-grid { grid-template-columns: 1fr; }

  .acct-welcome { flex-direction: column; gap: 10px; }

  .acct-form-row { grid-template-columns: 1fr; }

  .product-single-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-single-gallery { position: static; }
  .sp-action-row { flex-direction: column; }
  .sp-wa-btn, .sp-call-btn { flex: none; width: 100%; }

  .single-post-meta {
    padding: 16px 20px 0;
  }

  .single-post-title {
    padding: 12px 20px;
    font-size: 1.4rem;
  }

  .single-post-content {
    padding: 0 20px 20px;
  }

  .single-post-tags {
    padding: 0 20px 16px;
  }

  .single-post-nav {
    padding: 16px 20px;
    flex-direction: column;
  }

  .post-nav-item {
    max-width: 100%;
  }

  .post-nav-item--next {
    align-items: flex-start;
    text-align: left;
  }

  .single-post-comments {
    padding: 20px;
  }
}

/* ─── Mobile product card tweaks ─── */
@media (max-width: 768px) {

  /* Tighter card body on 2-column mobile grid */
  .product-card .pc-body {
    padding: 10px 11px 12px;
    gap: 3px;
  }

  .product-card .pc-cat {
    font-size: .62rem;
  }

  .product-card .pc-title {
    font-size: .78rem;
    line-height: 1.4;
    min-height: calc(.78rem * 1.4 * 2);
  }

  .product-card .pc-footer {
    align-items: flex-start;
    padding-top: 8px;
    gap: 6px;
  }

  .product-card .product-price {
    min-width: 0;
    flex: 1 1 0;
  }

  .product-card .pc-price-on-request {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    padding: 5px 9px;
  }

  /* Cart button: slightly smaller for compact card */
  .product-card .cart-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  /* Wishlist + QV buttons: tighter on mobile */
  .pc-img>.wishlist-btn {
    top: 7px;
    right: 7px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  .pc-qv-btn {
    top: 44px;
    right: 7px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  /* WooCommerce loop add-to-cart / read-more button (full-text variant) */
  .wc-products-grid .button.add_to_cart_button,
  .wc-products-grid a.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 12px;
    height: auto;
    font-size: .8rem;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 6px;
  }
}

/* No hover lift on touch devices — prevents sticky hover state after tap */
@media (hover: none) {
  .product-card:hover {
    transform: none;
    box-shadow: 0 2px 16px var(--c-shadow);
    border-color: var(--c-border);
  }

  .product-card:hover .pc-img-link img {
    transform: none;
  }

  .cart-icon-btn:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .blog-layout {
    gap: 24px;
  }

  .account-content { padding: 18px 16px; }

  .acct-stats { grid-template-columns: 1fr 1fr; }

  .acct-stat--spent { grid-column: span 2; }
}

/* ══════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-img-col {
  min-width: 0;
}

.about-text-col {
  min-width: 0;
}

.about-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--c-surface);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 8px 24px var(--c-shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 100px;
  text-align: center;
  z-index: 10;
}

/* ── About gift scene ── */
.about-gift-scene {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fdf0f8 0%, #f5e6ff 50%, #fde8f4 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blobs */
.agb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.agb-blob--1 {
  width: 260px; height: 260px;
  background: rgba(248,43,169,.18);
  top: -60px; left: -60px;
}
.agb-blob--2 {
  width: 200px; height: 200px;
  background: rgba(140,82,255,.14);
  bottom: -40px; right: -40px;
}
.agb-blob--3 {
  width: 160px; height: 160px;
  background: rgba(248,43,169,.1);
  bottom: 30px; left: 20%;
}

/* Floating dots */
.agb-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--c-primary);
  animation: agb-float 3s ease-in-out infinite alternate;
}
.agb-dot--1 { width:8px; height:8px; top:12%; left:10%; opacity:.35; animation-delay:0s; }
.agb-dot--2 { width:5px; height:5px; top:20%; right:14%; opacity:.25; animation-delay:.4s; }
.agb-dot--3 { width:10px; height:10px; top:55%; left:8%; opacity:.2; animation-delay:.8s; }
.agb-dot--4 { width:6px; height:6px; bottom:18%; right:10%; opacity:.3; animation-delay:.2s; }
.agb-dot--5 { width:4px; height:4px; bottom:30%; left:20%; opacity:.2; animation-delay:.6s; }
.agb-dot--6 { width:7px; height:7px; top:35%; right:6%; opacity:.25; animation-delay:1s; }

/* Sparkle stars */
.agb-sparkle {
  position: absolute;
  pointer-events: none;
  animation: agb-spin 6s linear infinite;
}
.agb-sparkle--1 { width:18px; height:18px; top:10%; right:20%; color:rgba(248,43,169,.5); animation-duration:5s; }
.agb-sparkle--2 { width:12px; height:12px; top:65%; left:12%; color:rgba(140,82,255,.5); animation-duration:7s; animation-direction:reverse; }
.agb-sparkle--3 { width:22px; height:22px; bottom:15%; right:22%; color:rgba(248,43,169,.4); animation-duration:9s; }
.agb-sparkle--4 { width:10px; height:10px; top:28%; left:18%; color:rgba(140,82,255,.4); animation-duration:4s; animation-direction:reverse; }

/* Hearts */
.agb-heart {
  position: absolute;
  pointer-events: none;
  animation: agb-float 4s ease-in-out infinite alternate;
}
.agb-heart--1 { width:20px; height:20px; top:8%; left:6%; color:rgba(248,43,169,.45); animation-delay:.3s; }
.agb-heart--2 { width:14px; height:14px; bottom:22%; right:8%; color:rgba(248,43,169,.3); animation-delay:.9s; }
.agb-heart--3 { width:26px; height:26px; top:14%; right:8%; color:rgba(140,82,255,.35); animation-delay:.1s; }

/* Cards (small floating info cards) */
.agb-card {
  position: absolute;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(248,43,169,.2);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(248,43,169,.15);
  animation: agb-float 4s ease-in-out infinite alternate;
}
.agb-card svg {
  width: 44px; height: 44px;
  color: var(--c-primary);
}
.agb-card span {
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: .04em;
  white-space: nowrap;
}
.agb-card--tl { top: 16px; left: 16px; animation-delay:.5s; }
.agb-card--br { bottom: 72px; right: 16px; animation-delay:1.2s; }

/* Main center gift SVG */
.agb-main {
  position: relative;
  z-index: 2;
  width: 65%;
  max-width: 260px;
  filter: drop-shadow(0 16px 40px rgba(248,43,169,.22));
  animation: agb-float 5s ease-in-out infinite alternate;
}
.agb-main svg {
  width: 100%;
  height: auto;
}

/* Ribbon decorations */
.agb-ribbon {
  position: absolute;
  background: linear-gradient(135deg, rgba(248,43,169,.15), rgba(140,82,255,.1));
  border-radius: 2px;
}
.agb-ribbon--top {
  top: 0; left: 50%; transform: translateX(-50%);
  width: 40%; height: 3px;
}
.agb-ribbon--right {
  right: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 40%;
}

/* Animations */
@keyframes agb-float {
  from { transform: translateY(0px); }
  to   { transform: translateY(-10px); }
}
@keyframes agb-spin {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(360deg) scale(1.1); }
}

/* Dark mode */
html.dark .about-gift-scene {
  background: linear-gradient(135deg, #1a0d1e 0%, #150d2a 50%, #1e0d1a 100%);
}
html.dark .agb-card {
  background: rgba(30,30,48,.92);
  border-color: rgba(248,43,169,.25);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
html.dark .agb-card span {
  color: #f472b6;
}
html.dark .about-badge {
  background: var(--c-surface);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

/* ══════════════════════════════════════════════
   PRODUCT AREA TWO — Category Tabs
══════════════════════════════════════════════ */
/* ── Unified section header utility ── */
.sec-head {
  margin-bottom: 28px;
}

.sec-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

/* ── Product Area Two — section header ── */
.prod2-head {
  margin-bottom: 24px;
}

.prod2-head-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prod2-viewall-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-primary);
  white-space: nowrap;
  padding: 7px 14px;
  border: 1.5px solid var(--c-primary);
  border-radius: 99px;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.prod2-viewall-link:hover {
  background: var(--c-primary);
  color: #fff;
}

/* ── Scrollable tabs wrapper ── */
.prod2-tabs-wrap {
  position: relative;
  margin-bottom: 28px;
}

/* Edge fades for scroll hint */
.prod2-tabs-wrap::before,
.prod2-tabs-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 32px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.prod2-tabs-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--c-surface), transparent);
}

.prod2-tabs-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--c-surface), transparent);
}

.prod2-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.prod2-tabs::-webkit-scrollbar {
  display: none;
}

.prod2-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 99px;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-muted);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.prod2-tab svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.prod2-tab-count {
  font-size: .68rem;
  font-weight: 700;
  background: var(--c-bg3);
  color: var(--c-muted);
  padding: 1px 6px;
  border-radius: 99px;
  transition: background var(--transition), color var(--transition);
}

.prod2-tab:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-primary-l);
}

.prod2-tab:hover .prod2-tab-count {
  background: rgba(248, 43, 169, .15);
  color: var(--c-primary);
}

.prod2-tab.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(248, 43, 169, .32);
}

.prod2-tab.is-active .prod2-tab-count {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}

/* ── Product grid wrapper (relative for loading overlay) ── */
.prod2-grid-wrap {
  position: relative;
  min-height: 200px;
}

#prod2-grid {
  transition: opacity .22s ease;
}

/* ── Loading overlay with skeleton ── */
.prod2-loading {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--c-surface);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.prod2-loading.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.prod2-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

@media (max-width: 1280px) {
  .prod2-skeleton-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .prod2-skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .prod2-skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Shimmer animation */
@keyframes prod2-shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

.prod2-skeleton {
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-bg3);
  padding: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prod2-sk-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%);
  background-size: 800px 100%;
  animation: prod2-shimmer 1.4s infinite linear;
}

.prod2-sk-line {
  height: 10px;
  border-radius: 8px;
  margin: 0 14px;
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%);
  background-size: 800px 100%;
  animation: prod2-shimmer 1.4s infinite linear;
}

.prod2-sk-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 14px;
}

.prod2-sk-star {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%);
  background-size: 800px 100%;
  animation: prod2-shimmer 1.4s infinite linear;
  flex-shrink: 0;
}

.prod2-sk-line--lg {
  width: 85%;
}

.prod2-sk-line--md {
  width: 40%;
}

/* Empty state */
.prod2-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 20px;
  color: var(--c-muted);
  text-align: center;
}

.prod2-empty svg {
  color: var(--c-border);
}

/* Keep old .prod2-pane hidden — safety */
.prod2-pane {
  display: none;
}

.prod2-pane.is-active {
  display: block;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Additional sections
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-layout {
    gap: 36px;
  }

  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-img-wrap {
    aspect-ratio: 16/9;
  }

  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .prod2-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .about-badge {
    display: none;
  }
}

/* ══════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-col {
  min-width: 0;
}

.contact-form-col {
  min-width: 0;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 18px 20px;
  box-shadow: 0 2px 12px var(--c-shadow);
  transition: box-shadow var(--transition);
}

.contact-card:hover {
  box-shadow: 0 6px 24px var(--c-shadow-md);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-primary-l);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.4;
}

.contact-card-value a {
  color: var(--c-text);
}

.contact-card-value a:hover {
  color: var(--c-primary);
}

.contact-form-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: 0 2px 12px var(--c-shadow);
}

.cf-field {
  position: relative;
  margin-bottom: 16px;
}

.cf-field--mb20 {
  margin-bottom: 20px;
}

.cf-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-input);
  background: var(--c-bg2);
  color: var(--c-text);
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}

.cf-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(248, 43, 169, .1);
  background: var(--c-surface);
}

.cf-input::placeholder {
  color: var(--c-muted);
  font-size: .875rem;
}

textarea.cf-input {
  min-height: 130px;
  resize: vertical;
}

.cf-field .error-text,
.cf-field .cf-error {
  display: block;
  color: #ef4444;
  font-size: .78rem;
  margin-top: 4px;
  min-height: 16px;
}

.cf-input--error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .1) !important;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .contact-form-wrap {
    padding: 20px;
  }

  .contact-layout div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════════════
   UNIFIED PRODUCT CARD — pc-* classes
══════════════════════════════════════════════ */
.pc-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-bg3);
  flex-shrink: 0;
  border-radius: var(--r-card) var(--r-card) 0 0;
}

.pc-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.pc-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.product-card:hover .pc-img-link img {
  transform: scale(1.07);
}

/* Badges (top-left) */
.pc-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

/* Wishlist button — positioned absolute inside pc-img */
.pc-img>.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
}

/* Quick View icon button — below wishlist btn */
.pc-qv-btn {
  position: absolute;
  top: 52px;
  right: 10px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  cursor: pointer;
  box-shadow: 0 2px 8px var(--c-shadow-md);
  transition: all 0.2s ease;
  padding: 0;
}

.pc-qv-btn:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
  transform: scale(1.1);
}

/* Body */
.pc-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}

/* Category link */
.pc-cat {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-primary);
  transition: color var(--transition);
  line-height: 1;
}

.pc-cat:hover {
  color: var(--c-primary-d);
}

/* Title */
.pc-title {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  flex: 1;
  min-height: calc(0.875rem * 1.45 * 2);
}

.pc-title a {
  color: var(--c-text);
  transition: color var(--transition);
}

.pc-title a:hover {
  color: var(--c-primary);
}

/* Rating row */
.pc-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 6px;
}

.pc-rating-count {
  font-size: .72rem;
  color: var(--c-muted);
  margin-left: 4px;
}

/* Footer: price + cart */
.pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--c-border);
}

/* Dark mode adjustments */
html.dark .pc-qv-btn {
  background: var(--c-surface);
  border-color: var(--c-border);
  color: var(--c-muted);
}

html.dark .pc-qv-btn:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
}

/* ══════════════════════════════════════════════
   QUICK VIEW MODAL
══════════════════════════════════════════════ */

/* Fancybox must float above QV modal (9999) */
.fancybox__container {
  z-index: 99999 !important;
}

/* Custom modal overlay */
#qv-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
#qv-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop */
#qv-modal-bd {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

/* Content box */
#qv-modal-box {
  position: relative;
  z-index: 1;
  width: min(94vw, 900px);
  max-height: 90vh;
  background: var(--c-surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
  transform: scale(.96) translateY(10px);
  transition: transform .22s ease;
}
#qv-modal.is-open #qv-modal-box {
  transform: scale(1) translateY(0);
}

/* Main grid */
.kavkaz-qv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--c-surface);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: min(88vh, 520px);
}

/* Custom close button — top-right of the modal card */
.kavkaz-qv-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 60;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
  transition: background .15s ease, color .15s ease, transform .15s ease;
  padding: 0;
}

.kavkaz-qv-close:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  transform: scale(1.08);
}

/* ── QV Skeleton ── */
.kavkaz-qv-skel .kavkaz-qv-gallery {
  background: var(--c-bg3);
}

.qv-skel-main-img {
  width: 100%;
  height: 100%;
  display: block;
}

.kavkaz-qv-skel .kavkaz-qv-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  overflow: hidden;
}

.qv-skel-cat {
  height: 14px;
  width: 72px;
  border-radius: 10px;
}

.qv-skel-title {
  height: 22px;
  width: 90%;
}

.qv-skel-title--sm {
  width: 62%;
}

.qv-skel-stars {
  height: 14px;
  width: 110px;
}

.qv-skel-price {
  height: 30px;
  width: 130px;
  margin-top: 4px;
  border-radius: 8px;
}

.qv-skel-desc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.qv-skel-line {
  height: 11px;
  width: 100%;
}

.qv-skel-line--sm {
  width: 62%;
}

.qv-skel-line--md {
  width: 80%;
}

.qv-skel-attr-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}

.qv-skel-attr {
  height: 14px;
  width: 72%;
}

.qv-skel-buy {
  height: 44px;
  width: 100%;
  margin-top: auto;
  border-radius: 10px;
}

/* Error state if AJAX fails inside open modal */
.qv-load-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 60px 32px;
  color: var(--c-muted);
  text-align: center;
  font-size: .85rem;
  grid-column: 1 / -1;
}

.qv-load-error svg {
  opacity: .4;
}

/* ── Gallery (left panel) ── */
.kavkaz-qv-gallery {
  display: flex;
  flex-direction: row;
  background: var(--c-bg2);
  overflow: hidden;
}

/* Vertical thumbnail strip */
.qvg-thumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 6px 10px 10px;
  overflow-y: auto;
  width: 78px;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}

.qvg-thumbs::-webkit-scrollbar {
  width: 3px;
}

.qvg-thumbs::-webkit-scrollbar-thumb {
  background: var(--c-border);
  border-radius: 3px;
}

.qvg-thumb {
  width: 58px;
  height: 58px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: none;
  padding: 0;
  opacity: .58;
  transition: opacity .18s ease, border-color .18s ease, transform .15s ease;
}

.qvg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qvg-thumb:hover {
  opacity: .85;
  transform: scale(1.04);
}

.qvg-thumb.is-active {
  border-color: var(--c-primary);
  opacity: 1;
  transform: none;
}

/* Main image area */
.qvg-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.qvg-zoom-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.qvg-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, opacity .22s ease;
}

.qvg-zoom-link:hover .qvg-main-img {
  transform: scale(1.05);
}

/* Zoom icon overlay */
.qvg-zoom-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

.qvg-zoom-link:hover .qvg-zoom-icon {
  opacity: 1;
}

/* Hidden Fancybox anchors for remaining gallery images */
.qvg-hidden-link {
  display: none;
}

/* ── Info (right) ── */
.kavkaz-qv-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 28px 26px 24px;
  min-width: 0;
  overflow-y: auto;
}

.kavkaz-qv-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.32;
  margin: 0;
}

/* Badges row (stars + stock) */
.kavkaz-qv-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.qv-stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
}

.qv-stock.in-stock {
  background: rgba(16, 185, 129, .1);
  color: #059669;
}

.qv-stock.out-stock {
  background: rgba(107, 114, 128, .1);
  color: #6b7280;
}

/* Price */
.kavkaz-qv-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

/* Short description */
.kavkaz-qv-desc {
  font-size: .845rem;
  color: var(--c-muted);
  line-height: 1.72;
  max-height: 90px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.kavkaz-qv-desc p {
  margin-bottom: .35em;
}

.kavkaz-qv-desc p:last-child {
  margin-bottom: 0;
}

/* Attributes list */
.kavkaz-qv-attrs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kavkaz-qv-attrs li {
  display: flex;
  gap: 8px;
  font-size: .78rem;
}

.qva-label {
  color: var(--c-muted);
  font-weight: 600;
  min-width: 68px;
  flex-shrink: 0;
}

.qva-val {
  color: var(--c-text);
  font-weight: 500;
}

/* ── Buy row ── */
.kavkaz-qv-buy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: auto;
  padding-top: 6px;
}

/* Quantity stepper */
.qv-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.qv-qty-btn {
  width: 34px;
  height: 40px;
  background: var(--c-bg2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  transition: background .15s ease, color .15s ease;
  flex-shrink: 0;
}

.qv-qty-btn:hover:not(:disabled) {
  background: var(--c-primary);
  color: #fff;
}

.qv-qty-btn:disabled {
  opacity: .35;
  cursor: default;
}

.qv-qty-input {
  width: 38px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  font-family: inherit;
  -moz-appearance: textfield;
}

.qv-qty-input::-webkit-inner-spin-button,
.qv-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.qv-qty-input:focus {
  outline: none;
}

/* Add to cart button */
.qv-atc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  height: 42px;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .18s ease, transform .15s ease, background .2s ease;
  white-space: nowrap;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.qv-atc-btn:hover:not(:disabled) {
  opacity: .9;
  transform: translateY(-1px);
}

.qv-atc-btn.is-loading {
  opacity: .7;
  cursor: default;
}

.qv-atc-btn.is-added,
.qv-atc-btn.is-in-cart {
  background: #10b981;
}

.qv-atc-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: #fff;
  color: var(--c-primary);
  font-size: .6rem;
  font-weight: 800;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

.qv-atc-icon {
  flex-shrink: 0;
}

/* Wishlist button in QV */
.qv-wish-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.qv-wish-btn .heart-filled {
  display: none;
}

.qv-wish-btn.is-wishlisted,
.qv-wish-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(248, 43, 169, .06);
}

.qv-wish-btn.is-wishlisted .heart-filled {
  display: block;
}

.qv-wish-btn.is-wishlisted .heart-outline {
  display: none;
}

/* OOS badge */
.qv-oos {
  font-size: .8rem;
  font-weight: 600;
  color: #6b7280;
  background: rgba(107, 114, 128, .1);
  padding: 8px 14px;
  border-radius: 8px;
}

/* ── Bottom footer row (detail + WhatsApp) ── */
.kavkaz-qv-footer {
  display: flex;
  gap: 8px;
  padding-top: 4px;
}

.qv-footer-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity .18s ease, transform .15s ease;
}

.qv-footer-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

/* "Ətraflı məlumat" — outline style */
.qv-footer-detail {
  background: transparent;
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
}

.qv-footer-detail:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* "WhatsApp sifariş" — solid green */
.qv-footer-wa {
  background: #25d366;
  color: #fff;
  border: none;
  box-shadow: 0 3px 12px rgba(37, 211, 102, .35);
}

.qv-footer-wa:hover {
  background: #1dbe5a;
  color: #fff;
  box-shadow: 0 5px 18px rgba(37, 211, 102, .45);
}

/* ── Quick view sale badge ── */
.badge-sale--qv {
  margin-left: 6px;
  font-size: .72rem;
}

/* ── Responsive: mobile QV — image top, info below ── */
@media (max-width: 700px) {

  /* Full-width modal with tall layout */
  #qv-modal-box {
    width: 96vw;
    border-radius: 20px;
    max-height: 90vh;
  }

  /* Switch from grid to flex column: image on top, info below */
  .kavkaz-qv {
    display: flex;
    flex-direction: column;
    height: min(88vh, 600px);
    grid-template-columns: unset;
  }

  /* ── Gallery section (top, fixed height) ── */
  .kavkaz-qv-gallery {
    flex: 0 0 auto;
    flex-direction: column-reverse;
    /* main image on top, thumbs below */
    max-height: none;
    height: auto;
  }

  /* Main image: full width, tall enough to feel premium */
  .qvg-main {
    height: 230px;
    flex: none;
    width: 100%;
  }

  .qvg-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Horizontal thumbnail strip below image */
  .qvg-thumbs {
    flex-direction: row;
    width: 100%;
    height: 62px;
    padding: 6px 12px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    background: var(--c-bg2);
    border-bottom: 1px solid var(--c-border);
  }

  .qvg-thumb {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 8px;
  }

  /* ── Info section (bottom, scrollable) ── */
  .kavkaz-qv-info {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 18px 18px;
    gap: 9px;
    max-height: none;
  }

  .kavkaz-qv-title {
    font-size: .98rem;
    line-height: 1.35;
  }

  .kavkaz-qv-price {
    padding: 8px 0;
  }

  .kavkaz-qv-desc {
    font-size: .82rem;
    max-height: 64px;
    line-height: 1.6;
  }

  .kavkaz-qv-attrs {
    gap: 4px;
  }

  .kavkaz-qv-attrs li {
    font-size: .78rem;
  }

  /* Buy row: always single line */
  .kavkaz-qv-buy {
    flex-wrap: nowrap;
    gap: 7px;
    padding-top: 10px;
  }

  .qv-qty-btn {
    width: 32px;
    height: 40px;
  }

  .qv-qty-input {
    width: 36px;
    height: 40px;
  }

  .qv-atc-btn {
    flex: 1;
    min-width: 0;
    height: 42px;
    font-size: .84rem;
    order: 0;
    padding: 0 12px;
  }

  .qv-wish-btn {
    width: 42px;
    height: 42px;
    order: 0;
    border-radius: 10px;
  }

  /* Footer: side-by-side */
  .kavkaz-qv-footer {
    flex-direction: row;
    gap: 7px;
    padding-top: 6px;
  }

  .qv-footer-btn {
    height: 40px;
    font-size: .8rem;
    padding: 0 10px;
  }
}

/* ══════════════════════════════════════════════
   AUTH FORMS (Login / Register / Password)
══════════════════════════════════════════════ */
.auth-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-py) 1.5rem;
  background: var(--c-bg2);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 12px 48px var(--c-shadow-lg);
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.auth-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text);
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-input);
  background: var(--c-bg2);
  color: var(--c-text);
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}

.auth-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(248, 43, 169, .1);
  background: var(--c-surface);
}

.auth-input::placeholder {
  color: var(--c-muted);
}

.auth-input.has-eye {
  padding-right: 44px;
}

.auth-eye-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
  flex-shrink: 0;
}

.auth-eye-btn:hover {
  color: var(--c-primary);
}

@media (max-width: 480px) {
  .auth-card {
    padding: 28px 20px;
    border-radius: 18px;
  }
}

/* ══════════════════════════════════════════════
   CATEGORY ARCHIVE DESCRIPTION
══════════════════════════════════════════════ */
.cat-desc-section {
  background: var(--c-bg2);
  border-bottom: 1px solid var(--c-border);
  padding: 10px 0;
}

.cat-desc-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cat-desc-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px var(--c-shadow);
}

.cat-desc-img {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px var(--c-shadow-md);
}

.cat-desc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-desc-img-placeholder {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--c-primary-l);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}

.cat-desc-body {
  flex: 1;
  min-width: 0;
}

.cat-desc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.cat-desc-name {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
  color: var(--c-text);
  margin: 0;
  line-height: 1.2;
}

.cat-desc-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--c-primary);
  background: var(--c-primary-l);
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}

.cat-desc-text {
  font-size: .82rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 6px;
}

.cat-desc-text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-desc-text p {
  margin-bottom: .3em;
}

.cat-desc-text p:last-child {
  margin-bottom: 0;
}

.cat-desc-expand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--c-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  margin-bottom: 8px;
  transition: gap var(--transition);
}

.cat-desc-expand:hover {
  gap: 8px;
  color: var(--c-primary-d);
}

.cat-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.cat-subcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  transition: all var(--transition);
}

.cat-subcat-pill:hover {
  background: var(--c-primary-l);
  border-color: var(--c-primary);
  color: var(--c-primary);
}

@media (max-width: 640px) {
  .cat-desc-img,
  .cat-desc-img-placeholder {
    width: 72px;
    height: 72px;
  }

  .cat-desc-card {
    gap: 12px;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .cat-desc-section {
    padding: 8px 0;
  }

  .cat-desc-card {
    border-radius: 10px;
  }
}

/* ═══════════════════════════════════════════════════════
   Category Section V2 — portrait full-bleed cards
   ═══════════════════════════════════════════════════════ */
.section-feature {
  padding: var(--section-py) 0;
  background: var(--c-bg2);
  position: relative;
  overflow: hidden;
}

/* ── Category section ── */
.cat-v2-section {
  background: var(--c-bg2);
  padding: calc(var(--section-py) * 1.15) 0;
  position: relative;
}

.cat-v2-header {
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cat-v2-title {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  color: var(--c-text);
  margin: 8px 0 0;
  line-height: 1.2;
}

.cat-v2-viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-primary);
  padding: 9px 20px;
  border: 2px solid var(--c-primary);
  border-radius: var(--r-btn);
  transition: background .2s ease, color .2s ease, transform .2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-v2-viewall:hover {
  background: var(--c-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Category Swiper Skeleton ── */
.cat-swiper--hidden {
  opacity: 0;
  pointer-events: none;
}

.cat-skel-loading {
  min-height: 340px;
}

@media (min-width: 768px) {
  .cat-skel-loading {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .cat-skel-loading {
    min-height: 280px;
  }
}

.cat-skel-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 12px;
  overflow: hidden;
  z-index: 4;
  padding: 0 44px;
}

.cat-skel-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

/* Skeleton column count matches swiper slidesPerView at each breakpoint */
@media (max-width: 479px) {
  .cat-skel-wrap {
    padding: 0 28px;
    gap: 8px;
  }

  .cat-skel-col:nth-child(n+3) {
    display: none;
  }
}

@media (min-width: 480px) and (max-width: 639px) {
  .cat-skel-wrap {
    padding: 0 30px;
    gap: 10px;
  }

  .cat-skel-col:nth-child(n+4) {
    display: none;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .cat-skel-wrap {
    padding: 0 34px;
  }

  .cat-skel-col:nth-child(n+4) {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cat-skel-wrap {
    padding: 0 38px;
  }

  .cat-skel-col:nth-child(n+5) {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .cat-skel-col:nth-child(n+5) {
    display: none;
  }
}

@media (min-width: 1280px) {
  .cat-skel-col:nth-child(n+6) {
    display: none;
  }
}

.cat-skel-card {
  border-radius: 16px;
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%);
  background-size: 800px 100%;
  animation: cat-skel-shimmer 1.4s infinite linear;
  position: relative;
  overflow: hidden;
}

/* Aşağıda qara gradient overlay — əsl kartdakı kimi */
.cat-skel-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, transparent 100%);
  border-radius: 0 0 16px 16px;
}

/* Kateqoriya adı placeholder — sol-aşağıda */
.cat-skel-card::before {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 58%;
  height: 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .28);
  z-index: 1;
}

.cat-skel-card--tall {
  flex: 1.35;
}

.cat-skel-card--short {
  flex: 0.80;
}

@keyframes cat-skel-shimmer {
  0% {
    background-position: -800px 0;
  }

  100% {
    background-position: 800px 0;
  }
}

/* ── Product Swiper Skeleton ── */
.product-swiper--hidden {
  opacity: 0;
  pointer-events: none;
}

.prod-skel-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  /* prevent full-height vertical stretch */
  gap: 22px;
  padding: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.prod-skel-wrap .skel-card {
  flex: 1;
  min-width: 0;
}

@media (max-width: 1279px) {
  .prod-skel-wrap {
    gap: 22px;
  }

  .prod-skel-wrap .skel-card:nth-child(n+5) {
    display: none;
  }
}

@media (max-width: 1023px) {
  .prod-skel-wrap {
    gap: 20px;
  }

  .prod-skel-wrap .skel-card:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 767px) {
  .prod-skel-wrap {
    gap: 14px;
  }

  .prod-skel-wrap .skel-card:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 479px) {
  .prod-skel-wrap {
    gap: 10px;
  }
}

/* ── Blog Swiper Skeleton ── */
.blog-swiper--hidden {
  opacity: 0;
  pointer-events: none;
}

.blog-skel-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  /* prevent full-height vertical stretch */
  gap: 24px;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.blog-skel-card {
  flex: 1;
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
}

.blog-skel-img {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%);
  background-size: 800px 100%;
  animation: cat-skel-shimmer 1.4s linear infinite;
  flex-shrink: 0;
}

.blog-skel-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-skel-meta {
  height: 12px;
  width: 90px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%);
  background-size: 800px 100%;
  animation: cat-skel-shimmer 1.4s linear infinite;
}

.blog-skel-title {
  height: 18px;
  width: 92%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%);
  background-size: 800px 100%;
  animation: cat-skel-shimmer 1.4s linear infinite;
}

.blog-skel-title--sm {
  width: 68%;
}

@media (max-width: 1023px) {
  .blog-skel-wrap .blog-skel-card:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 559px) {
  .blog-skel-wrap .blog-skel-card:nth-child(n+2) {
    display: none;
  }
}

/* Masonry column — two cards stacked vertically per slide */
.cat-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 340px;
}

/* Card — rectangular masonry */
.cat-v2-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-bg3);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .10);
  transition: transform .30s cubic-bezier(.34, 1.56, .64, 1), box-shadow .30s ease;
  position: relative;
  text-decoration: none;
  flex-shrink: 0;
}

.cat-card-tall {
  flex: 1.35;
}

.cat-card-short {
  flex: 0.80;
}

.cat-v2-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

/* Media fills the card */
.cat-v2-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: var(--c-bg3);
}

.cat-v2-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .50s ease;
}

.cat-v2-card:hover .cat-v2-img {
  transform: scale(1.08);
}

.cat-v2-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-primary-l) 0%, #f0e8ff 100%);
  color: var(--c-primary);
}

/* Gradient overlay — bottom-heavy for text readability */
.cat-v2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, .80) 0%,
      rgba(0, 0, 0, .30) 52%,
      transparent 100%);
  z-index: 1;
  transition: background .28s ease;
}

.cat-v2-card:hover .cat-v2-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, .88) 0%,
      rgba(0, 0, 0, .44) 60%,
      rgba(0, 0, 0, .06) 100%);
}

/* Name pinned to bottom-left */
.cat-v2-body-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 12px 14px;
}

.cat-v2-name {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cat-col {
    height: 420px;
    gap: 14px;
  }

  .cat-v2-name {
    font-size: .88rem;
  }

  .cat-v2-body-overlay {
    padding: 14px 16px;
  }
}

@media (max-width: 640px) {
  .cat-v2-title {
    font-size: 1.4rem;
  }

  .cat-v2-header {
    margin-bottom: 24px;
  }

  .cat-v2-viewall {
    padding: 7px 14px;
    font-size: .8rem;
  }

  .cat-col {
    height: 280px;
    gap: 10px;
  }

  .cat-v2-name {
    font-size: .9rem !important;
    line-height: 1.22 !important;
    font-weight: 800 !important;
    letter-spacing: 0;
  }

  .cat-v2-body-overlay {
    padding: 9px 11px;
  }
}

@media (max-width: 390px) {
  .cat-v2-name {
    font-size: .84rem !important;
    line-height: 1.2 !important;
  }

  .cat-v2-body-overlay {
    padding: 8px 10px;
  }
}

/* ═══════════════════════════════════════════════════════
   Theme Layout Utilities  (thm-*)
   ═══════════════════════════════════════════════════════ */

/* Section wrappers */
.thm-section {
  padding: var(--section-py) 0;
  background: var(--c-bg);
}

.thm-section-alt {
  padding: var(--section-py) 0;
  background: var(--c-bg2);
}

.thm-section-bot {
  padding: 0 0 var(--section-py);
  background: var(--c-bg);
}

/* Containers */
.thm-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.thm-wrap-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.thm-wrap-xs {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.thm-wrap-pad {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--section-py) 1.5rem;
}

/* Section header rows */
.thm-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.thm-sec-head-lg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.thm-sec-head-center {
  text-align: center;
  margin-bottom: 40px;
}

/* Section typography */
.thm-sec-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(248, 43, 169, .10);
  color: var(--c-primary);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.thm-sec-title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--c-text);
  margin: 0;
}

.thm-sec-title-lg {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.25;
  margin-bottom: 16px;
}

.thm-sec-title-xl {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: 20px;
}

.thm-sec-title-contact {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 8px;
}

.thm-sec-desc {
  color: var(--c-muted);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Grid layouts */
.thm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.thm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.thm-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.thm-grid-4g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* View-all row */
.thm-viewall {
  text-align: center;
  margin-top: 32px;
}

.thm-viewall-lg {
  text-align: center;
  margin-top: 36px;
}

/* ═══════════════════════════════════════════════════════
   About Section Components
   ═══════════════════════════════════════════════════════ */
.about-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  overflow: hidden;
}

.abph-main-icon {
  position: relative;
  z-index: 1;
  width: 110px;
  height: 110px;
  color: rgba(255, 255, 255, .70);
}

.abph-deco {
  position: absolute;
  pointer-events: none;
  color: rgba(255, 255, 255, .10);
}

.abph-deco--star1 {
  width: 70px;
  height: 70px;
  top: 12px;
  left: 14px;
  transform: rotate(18deg);
}

.abph-deco--star2 {
  width: 44px;
  height: 44px;
  bottom: 20px;
  right: 16px;
  transform: rotate(-12deg);
  color: rgba(255, 255, 255, .08);
}

.abph-deco--heart {
  width: 90px;
  height: 90px;
  top: -20px;
  right: -10px;
  transform: rotate(15deg);
  color: rgba(255, 255, 255, .09);
}

.abph-deco--sparkle {
  width: 55px;
  height: 55px;
  bottom: -8px;
  left: 10%;
  transform: rotate(-8deg);
  color: rgba(255, 255, 255, .08);
}

.about-badge-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--c-primary);
  line-height: 1;
}

.about-badge-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.3;
}

.about-feat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--c-text);
}

.about-feat-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-primary-l);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   Stats Section
   ═══════════════════════════════════════════════════════ */
.thm-stats-section {
  padding: 60px 0;
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.thm-stats-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 12px var(--c-shadow);
}

.thm-stats-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-primary-l);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.thm-stats-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.thm-stats-label {
  font-size: .82rem;
  color: var(--c-muted);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   Blog / Related Posts
   ═══════════════════════════════════════════════════════ */
.blog-no-img {
  background: var(--c-primary-l);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}

.blog-no-img svg {
  opacity: .4;
}

.related-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

/* ═══════════════════════════════════════════════════════
   Testimonial color tokens (replaces inline color styles)
   ═══════════════════════════════════════════════════════ */
.testimonial-card .testi-name {
  color: var(--c-text);
}

.testimonial-card .testi-sub {
  color: var(--c-muted);
}

.testimonial-card .testi-text {
  color: var(--c-muted);
}

/* .testi-avatar-init replaced by .testi-av-wrap (line ~810) */

.testi-quote {
  color: var(--c-primary);
  opacity: 0.15;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   Feature cards (replaces inline color styles)
   ═══════════════════════════════════════════════════════ */
.feature-card .feature-title {
  color: var(--c-text);
  font-weight: 700;
  font-size: .875rem;
  margin-bottom: .25rem;
}

.feature-card p {
  color: var(--c-muted);
}

/* ═══════════════════════════════════════════════════════
   Deal section
   ═══════════════════════════════════════════════════════ */
.deal-swiper-outer {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════
   404 Page
   ═══════════════════════════════════════════════════════ */
.notfound-svg {
  margin-bottom: 24px;
  opacity: .25;
}

.notfound-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: .75rem;
}

.notfound-desc {
  color: var(--c-muted);
  font-size: .95rem;
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.notfound-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   Auth Pages (Login / Register / Password)
   ═══════════════════════════════════════════════════════ */
.auth-card-head {
  text-align: center;
  margin-bottom: 28px;
}

.auth-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 6px;
}

.auth-subtitle {
  color: var(--c-muted);
  font-size: .875rem;
  margin: 0;
}

.auth-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
}

.auth-footer-row {
  text-align: center;
  font-size: .875rem;
  color: var(--c-muted);
}

.auth-footer-link {
  color: var(--c-primary);
  font-weight: 600;
  margin-left: 4px;
}

.auth-forgot-link {
  display: block;
  text-align: center;
  font-size: .82rem;
  color: var(--c-muted);
}

/* ═══════════════════════════════════════════════════════
   Contact Page
   ═══════════════════════════════════════════════════════ */
.contact-lead {
  color: var(--c-muted);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 20px;
}

.form-success {
  margin-top: 12px;
  color: #10b981;
  font-size: .875rem;
}

/* ═══════════════════════════════════════════════════════
   Profile Page (author.php)
   ═══════════════════════════════════════════════════════ */
.profile-header {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: 0 2px 12px var(--c-shadow);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar-letter {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.profile-meta {
  flex: 1;
  min-width: 0;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 4px;
}

.profile-email {
  color: var(--c-muted);
  font-size: .875rem;
  margin: 0;
}

.profile-roles {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.profile-role-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--c-primary-l);
  color: var(--c-primary);
  border-radius: var(--r-btn);
  font-size: .75rem;
  font-weight: 600;
}

.profile-details {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: 0 2px 12px var(--c-shadow);
}

.profile-details-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.profile-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
}

.profile-row-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding-top: 2px;
}

.profile-row-value {
  font-size: .9rem;
  color: var(--c-text);
  font-weight: 500;
}

.profile-type-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.profile-type-badge {
  padding: 3px 10px;
  background: var(--c-secondary-l, #f0e8ff);
  color: var(--c-secondary);
  border-radius: var(--r-btn);
  font-size: .75rem;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   WooCommerce / Product single
   ═══════════════════════════════════════════════════════ */
.product-single-tabs {
  margin-top: 56px;
}

/* ═══════════════════════════════════════════════════════
   Misc utilities
   ═══════════════════════════════════════════════════════ */
.cat-sub-count {
  opacity: .5;
  font-size: .7rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.shop-empty-icon {
  color: var(--c-muted);
}

.profile-link {
  color: var(--c-primary);
}

.form-error-global {
  color: #ef4444;
  font-size: .875rem;
  min-height: 1em;
}

.form-messege {
  color: #10b981;
  font-size: .875rem;
  margin-top: 12px;
}

/* ── Responsive adjustments for new layout classes ── */
@media (max-width: 1280px) {
  .thm-grid-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {

  .thm-grid-4,
  .thm-grid-4g,
  .thm-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .thm-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .thm-grid-4,
  .thm-grid-5 {
    gap: 16px;
  }

  .thm-stats-section {
    padding: 40px 0;
  }

  .profile-header {
    gap: 16px;
  }

  .profile-row {
    grid-template-columns: 140px 1fr;
  }
}

@media (max-width: 640px) {

  .thm-grid-4,
  .thm-grid-4g,
  .thm-grid-5 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .profile-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ═══════════════════════════════════════════════════════
   woocommerce
═══════════════════════════════════════════════════════ */

/* Pagination: neutralise WC's default border on the <ul> */
.woocommerce nav.woocommerce-pagination ul {
  border: none;
  margin: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 20px 0 0;
}

/* ═══════════════════════════════════════════════════════
   Inline-to-class migrations
═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.hero-slide-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-title {
  text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

.hero-slide-fallback {
  background: linear-gradient(135deg, #1a0a2e 0%, #16213e 50%, #0f0f1a 100%);
}

/* Slide overlay — replaces inline Tailwind gradient */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .52) 45%, transparent 100%);
  z-index: 1;
}

/* Content layer above overlay */
.hero-content-layer {
  position: relative;
  z-index: 2;
}

/* ── Swiper slide heights ── */
.cat-swiper .swiper-slide,
.deal-swiper .swiper-slide,
.product-swiper .swiper-slide {
  height: auto;
}

/* ── Search overlay ── */
.search-form-wrap {
  background: var(--c-surface);
}

.search-form-input {
  background: transparent;
  color: var(--c-text);
}

.search-form-submit {
  background: var(--c-primary);
  color: #fff;
}

/* ══ Cart Drawer ══ */
#cart-drawer {
  background: var(--c-surface);
  box-shadow: -6px 0 40px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
}

/* Gradient accent — mirrors wishlist drawer */
.cart-drawer-accent {
  height: 3px;
  background: var(--c-primary);
  flex-shrink: 0;
}

/* Head */
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}

.cart-drawer-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-drawer-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(248, 43, 169, .08);
  border: 1.5px solid rgba(248, 43, 169, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
  line-height: 1.3;
}

.cart-drawer-subtitle {
  font-size: .75rem;
  color: var(--c-muted);
  margin: 2px 0 0;
  line-height: 1.3;
}

.cart-drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--c-border);
  background: var(--c-bg2);
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}

.cart-drawer-close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
}

html.dark .cart-drawer-close-btn:hover {
  background: rgba(239, 68, 68, .15);
  border-color: rgba(239, 68, 68, .3);
}

/* Body / items area */
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}

.cart-drawer-body::-webkit-scrollbar {
  width: 4px;
}

.cart-drawer-body::-webkit-scrollbar-track {
  background: transparent;
}

.cart-drawer-body::-webkit-scrollbar-thumb {
  background: var(--c-border);
  border-radius: 4px;
}

/* Quantity badge inside cart item */
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-primary);
  background: rgba(248, 43, 169, .1);
  border: 1px solid rgba(248, 43, 169, .2);
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1;
}

/* Footer */
.cart-drawer-foot {
  padding: 16px 22px 22px;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
  flex-shrink: 0;
}

.cart-drawer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  margin-bottom: 14px;
}

.cart-drawer-total-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text);
}

.cart-total-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-primary);
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-cart-view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .22s ease;
  text-align: center;
}

.btn-cart-view:hover {
  background: rgba(248, 43, 169, .07);
  transform: translateY(-1px);
}

.btn-cart-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--c-primary);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .22s ease;
  box-shadow: 0 4px 18px rgba(248, 43, 169, .38);
  text-align: center;
}

.btn-cart-checkout:hover {
  transform: translateY(-1px);
  opacity: .92;
  box-shadow: 0 6px 24px rgba(248, 43, 169, .5);
}

html.dark #cart-drawer {
  background: var(--c-surface);
}

html.dark .cart-drawer-close-btn {
  background: var(--c-bg3);
}

/* ── Topbar ── */
.topbar-inner {
  color: #9ca3af;
}

.topbar-promo {
  color: #9ca3af;
}

.topbar-promo-icon {
  color: var(--c-primary);
}

.topbar-phone {
  color: #9ca3af;
}

.topbar-social-label {
  color: #6b7280;
}

.topbar-social-link {
  color: #6b7280;
}

.topbar-account {
  color: #9ca3af;
}

.topbar-divider {
  color: #374151;
  font-size: .65rem;
  opacity: .6;
}

/* ── Logo text fallback ── */
.logo-brand-text {
  color: var(--c-primary);
}

/* ── Category mega dropdown ── */
.cat-mega-bar {
  background: var(--c-primary);
}

.cat-mega-item {
  color: var(--c-text);
}


.cat-mega-footer {
  border-top: 1px solid var(--c-border);
}

.cat-mega-viewall {
  background: var(--c-primary);
  color: #ffffff;
}

.cat-mega-viewall:hover {
  background: var(--c-primary-d);
  color: #ffffff;
}


/* ── Hamburger lines ── */
.hamburger-line {
  background: var(--c-text);
}

/* ── Mobile menu ── */
#mobile-menu {
  border-top: 1px solid var(--c-border);
}

.mobile-actions {
  border-top: 1px solid var(--c-border);
}

.mobile-action-btn {
  background: var(--c-bg3);
  color: var(--c-text);
}

.mobile-cart-btn {
  background: var(--c-primary);
}

.mobile-cart-badge {
  background: rgba(255, 255, 255, .25);
}

/* ── Footer ── */
.footer-widget-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-description {
  color: #94a3b8;
}

.footer-copyright {
  color: #64748b;
}

.footer-copyright-link {
  color: #94a3b8;
}

.footer-payment-label {
  color: #475569;
}

.footer-payment-badge {
  background: rgba(255, 255, 255, .08);
  color: #94a3b8;
}

/* ══ Wishlist Drawer ══ */
#wl-drawer {
  background: var(--c-surface);
  box-shadow: -6px 0 40px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
}

.wl-drawer-accent {
  height: 3px;
  background: var(--c-primary);
  flex-shrink: 0;
}

.wl-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}

.wl-drawer-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wl-drawer-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(248, 43, 169, .12);
  border: 1.5px solid rgba(248, 43, 169, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  flex-shrink: 0;
}

html.dark .wl-drawer-icon {
  background: rgba(248, 43, 169, .12);
  border-color: rgba(248, 43, 169, .25);
}

.wl-drawer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
  line-height: 1.3;
}

.wl-drawer-subtitle {
  font-size: .75rem;
  color: var(--c-muted);
  margin: 2px 0 0;
  line-height: 1.3;
}

.wl-drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--c-border);
  background: var(--c-bg2);
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}

.wl-drawer-close-btn:hover {
  background: rgba(248, 43, 169, .08);
  border-color: rgba(248, 43, 169, .3);
  color: var(--c-primary);
}

.wl-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}

.wl-drawer-body::-webkit-scrollbar {
  width: 4px;
}

.wl-drawer-body::-webkit-scrollbar-track {
  background: transparent;
}

.wl-drawer-body::-webkit-scrollbar-thumb {
  background: var(--c-border);
  border-radius: 4px;
}

/* Wishlist item */
.wl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  margin-bottom: 10px;
  position: relative;
  transition: border-color .2s, box-shadow .2s, opacity .26s, transform .26s;
}

.wl-item:hover {
  border-color: rgba(248, 43, 169, .25);
  box-shadow: 0 4px 20px rgba(248, 43, 169, .08);
}

.wl-item--removing {
  opacity: 0;
  transform: translateX(24px);
}

html.dark .wl-item {
  background: var(--c-bg3);
}

.wl-item-img-wrap {
  flex-shrink: 0;
  position: relative;
  display: inline-block;
}

/* Cart-quantity bubble on wishlist item thumbnail */
.wl-item-cart-qty {
  position: absolute;
  bottom: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--c-primary);
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--c-surface);
  box-shadow: 0 2px 8px rgba(248, 43, 169, .45);
  pointer-events: none;
  z-index: 2;
  transform: scale(1);
  opacity: 1;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), opacity .18s;
}

.wl-item-cart-qty.hidden {
  opacity: 0;
  transform: scale(0);
}

@keyframes wl-qty-pop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}

.wl-qty-pop {
  animation: wl-qty-pop .35s cubic-bezier(.34, 1.56, .64, 1);
}

.wl-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid var(--c-border);
  display: block;
}

.wl-item-body {
  flex: 1;
  min-width: 0;
  padding-right: 28px;
}

.wl-item-name {
  display: -webkit-box;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 4px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .18s;
}

.wl-item-name:hover {
  color: var(--c-primary);
}

.wl-item-price {
  font-size: .88rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.wl-item-price del {
  text-decoration: line-through;
  opacity: 0.5;
  font-weight: 500;
  font-size: .82rem;
  color: var(--c-muted);
}
.wl-item-price ins {
  text-decoration: none;
  font-weight: 700;
  color: var(--c-primary);
}

.wl-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wl-item-atc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 700;
  color: #fff;
  background: var(--c-primary);
  padding: 6px 13px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  line-height: 1;
}

.wl-item-atc:hover {
  background: var(--c-primary-dark, #d4198f);
  transform: translateY(-1px);
}

.wl-item-atc--disabled {
  background: var(--c-bg3);
  color: var(--c-muted);
  cursor: not-allowed;
}

.wl-item-atc--in-cart {
  background: rgba(34, 197, 94, .1);
  color: #16a34a;
  border: 1.5px solid rgba(34, 197, 94, .3);
}

.wl-item-atc--in-cart:hover {
  background: rgba(34, 197, 94, .18);
  transform: none;
}

/* Remove button — top-right corner */
.wl-item-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(239, 68, 68, .08);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}

.wl-item-remove:hover {
  background: #ef4444;
  color: #fff;
  transform: rotate(90deg) scale(1.1);
}

/* Empty state */
.wl-drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  color: var(--c-muted);
  gap: 12px;
}

.wl-drawer-empty-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
}

.wl-drawer-empty-sub {
  font-size: .8rem;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.5;
}

/* Skeleton loader */
.wl-item-skeleton {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1.5px solid var(--c-border);
  margin-bottom: 10px;
}

.wl-sk-img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: var(--c-bg3);
  flex-shrink: 0;
  animation: wl-pulse 1.4s ease-in-out infinite;
}

.wl-sk-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.wl-sk-line {
  height: 12px;
  border-radius: 6px;
  background: var(--c-bg3);
  animation: wl-pulse 1.4s ease-in-out infinite;
}

.wl-sk-line--lg {
  width: 85%;
}

.wl-sk-line--sm {
  width: 45%;
}

.wl-sk-line--md {
  width: 60%;
}

@keyframes wl-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

/* ── Product card disabled state ── */
.cart-icon-btn--disabled {
  opacity: .3;
  cursor: not-allowed;
}

/* ── Full-width button ── */
.btn-w-full {
  width: 100%;
  justify-content: center;
}

/* ── Form error spacing ── */
.form-error-global--mb {
  margin-bottom: 12px;
}

.form-error-global--mt {
  margin-top: 12px;
}

/* ── Contact form 2-col grid ── */
.cf-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Single product wrapper + tabs ── */
.product-single-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--section-py) 1.5rem;
}

.product-single-tabs {
  margin-top: 56px;
}

/* ── Archive sub-category count ── */
.cat-subcat-count {
  opacity: .5;
  font-size: .7rem;
}

/* ── Admin image upload preview ── */
.image-preview {
  margin-top: 10px;
}

.image-preview img {
  max-width: 150px;
}

/* ══════════════════════════════════════════════
   HEADER REDESIGN — Birmarket-style
══════════════════════════════════════════════ */

/* Main row background (keeps sticky behaviour) */
.header-main-row {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 12px var(--c-shadow);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

html.dark .header-main-row {
  background: var(--c-surface);
  border-color: var(--c-border);
}

#main-nav.scrolled .header-main-row {
  box-shadow: 0 4px 24px var(--c-shadow-md);
}

/* Override old #main-nav border/shadow since it's now on .header-main-row */
#main-nav {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

/* ── Inline Search Bar ── */
.header-search-bar {
  min-width: 0;
}

.header-search-inner {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 99px;
  height: 48px;
  padding: 0 5px 0 18px;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.header-search-inner:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(248, 43, 169, 0.10);
}

html.dark .header-search-inner {
  background: var(--c-bg3);
  border-color: var(--c-border);
}

html.dark .header-search-inner:focus-within {
  border-color: var(--c-primary);
  background: var(--c-surface);
}

.header-search-icon {
  color: var(--c-muted);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.header-search-inner:focus-within .header-search-icon {
  color: var(--c-primary);
}

.header-search-input {
  color: var(--c-text);
  font-size: .9rem;
  padding: 0 12px;
  min-width: 0;
}

.header-search-input::placeholder {
  color: var(--c-muted);
  font-size: .875rem;
}

.header-search-submit {
  background: var(--c-primary);
  color: #fff;
  height: 38px;
  border-radius: 99px;
  font-size: .875rem;
  font-weight: 700;
  padding: 0 22px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 14px rgba(248, 43, 169, 0.38);
  letter-spacing: .01em;
}

.header-search-submit:hover {
  opacity: .92;
  transform: scale(1.03);
  box-shadow: 0 5px 20px rgba(248, 43, 169, 0.48);
}

.header-search-submit:active {
  transform: scale(.98);
}

/* ══════════════════════════════════════════════
   HEADER ACTION BUTTONS — uniform 46 × 46 px
══════════════════════════════════════════════ */

/* Shared base — applies to all 3 desktop action buttons */
.header-action-labeled,
#theme-toggle.header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: all 0.22s ease;
  color: var(--c-muted);
}

/* Hide label text — icon-only layout */
.header-action-label {
  display: none;
}

/* ── Action icons — unified ── */
.header-action-wl svg,
.header-action-cart svg,
#theme-toggle.header-action-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: color 0.22s ease;
}

.header-action-wl svg,
.header-action-cart svg {
  color: var(--c-primary);
}

#theme-toggle.header-action-btn svg {
  color: var(--c-muted);
}

.header-action-wl,
.header-action-cart {
  background: rgba(248, 43, 169, .07);
  border: 1.5px solid rgba(248, 43, 169, .16);
}

html.dark .header-action-wl,
html.dark .header-action-cart {
  background: rgba(248, 43, 169, .10);
  border-color: rgba(248, 43, 169, .22);
}

/* ── Hover — gradient fill, white icon ── */
.header-action-labeled:hover,
#theme-toggle.header-action-btn:hover {
  background: var(--c-primary);
  box-shadow: 0 4px 20px rgba(248, 43, 169, .40);
  transform: translateY(-2px);
}

.header-action-labeled:hover svg,
#theme-toggle.header-action-btn:hover svg {
  color: #fff;
}

.header-action-labeled:active,
#theme-toggle.header-action-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(248, 43, 169, .28);
}

/* ── Dark mode ── */
html.dark .header-action-wl svg,
html.dark .header-action-cart svg,
html.dark #theme-toggle.header-action-btn svg {
  color: var(--c-muted);
}

/* ── Badges — gradient pill ── */
.header-action-labeled #header-cart-count,
.header-action-labeled #wishlist-count {
  width: 20px;
  height: 20px;
  min-width: 20px;
  font-size: .6rem;
  font-weight: 800;
  color: #fff !important;
  background: var(--c-primary);
}

/* ── Badge pop animation ── */
@keyframes hbadge-pop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.55);
  }

  100% {
    transform: scale(1);
  }
}

.hbadge-popping {
  animation: hbadge-pop .38s cubic-bezier(.34, 1.56, .64, 1);
}

/* ── Desktop action button group ── */
.header-action-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(248, 43, 169, .04);
  border: 1px solid rgba(248, 43, 169, .12);
  border-radius: 50px;
  padding: 4px 6px;
}

html.dark .header-action-group {
  background: rgba(248, 43, 169, .08);
  border-color: rgba(248, 43, 169, .20);
}

/* ── Sub Nav Bar ── */
.header-subnav-bar {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

html.dark .header-subnav-bar {
  background: var(--c-surface);
  border-color: var(--c-border);
}

.kavkaz-subnav {
  gap: 0 !important;
  padding: 0;
}

.kavkaz-subnav>.nav-item>.nav-link {
  font-size: .825rem;
  padding: 10px 13px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}

.kavkaz-subnav>.nav-item>.nav-link:hover,
.kavkaz-subnav>.nav-item.current-menu-item>.nav-link {
  color: var(--c-primary);
  background: transparent;
  border-bottom-color: var(--c-primary);
}

/* ── Search icon submit button ── */
.header-search-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-muted);
  border-radius: 99px;
  transition: color 0.2s ease, background 0.2s ease;
  margin-left: 4px;
}

.header-search-icon-btn:hover {
  color: var(--c-primary);
  background: var(--c-primary-l);
}

.header-search-inner:focus-within .header-search-icon-btn {
  color: var(--c-primary);
}

/* ── Search clear (×) button ── */
.header-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--c-bg3);
  border: none;
  cursor: pointer;
  color: var(--c-muted);
  border-radius: 99px;
  transition: background 0.15s ease, color 0.15s ease;
  margin-right: 8px;
}

.header-search-clear:hover {
  background: var(--c-border);
  color: var(--c-text);
}

/* ── Spinner animation ── */
@keyframes hs-spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: hs-spin .8s linear infinite;
}

/* ── Search Dropdown ── */
.hs-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 20px;
  box-shadow: 0 16px 56px rgba(0, 0, 0, .13), 0 4px 16px rgba(0, 0, 0, .06);
  overflow: hidden;
  display: none;
  max-height: 440px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.hs-dropdown--open {
  display: block;
  animation: hs-drop-in .18s ease;
}

@keyframes hs-drop-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

html.dark .hs-dropdown {
  background: var(--c-surface);
  border-color: var(--c-border);
  box-shadow: 0 16px 56px rgba(0, 0, 0, .32);
}

/* List */
.hs-list {
  list-style: none;
  padding: 8px 8px 4px;
  margin: 0;
}

.hs-list li {
  margin: 0;
}

/* Item */
.hs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--c-text);
  transition: background 0.15s ease;
  outline: none;
}

.hs-item:hover,
.hs-item--active {
  background: var(--c-primary-l);
}

.hs-item:hover .hs-item-name,
.hs-item--active .hs-item-name {
  color: var(--c-primary);
}

/* Thumbnail */
.hs-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--c-bg3);
}

.hs-item-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
}

.hs-item-thumb--empty svg {
  width: 22px;
  height: 22px;
}

/* Body */
.hs-item-body {
  flex: 1;
  min-width: 0;
}

.hs-item-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hs-item-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 3px;
}

.hs-item-rc {
  font-size: .67rem;
  color: var(--c-muted);
  margin-left: 3px;
}

.hs-item-sale {
  font-size: .62rem;
  font-weight: 700;
  background: var(--c-primary);
  color: #fff;
  padding: 2px 7px;
  border-radius: 99px;
  flex-shrink: 0;
  letter-spacing: .02em;
}

/* Price */
.hs-item-price {
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.hs-item-price del,
.hs-item-price .woocommerce-Price-amount:first-child:not(:only-child) {
  color: var(--c-muted);
  font-weight: 400;
  font-size: .75rem;
}

/* Footer link */
.hs-footer {
  border-top: 1px solid var(--c-border);
  padding: 10px 10px 10px;
  margin-top: 4px;
}

.hs-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-primary);
  padding: 8px;
  border-radius: 10px;
  transition: background 0.15s ease;
  text-decoration: none;
}

.hs-footer-link:hover {
  background: var(--c-primary-l);
}

/* Empty state */
.hs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 20px;
  color: var(--c-muted);
  font-size: .875rem;
  text-align: center;
}

.hs-empty-icon {
  width: 40px;
  height: 40px;
  color: var(--c-border);
}

/* ── Search Skeleton ── */
.hs-skel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
}

.hs-skel-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%);
  background-size: 400px 100%;
  animation: hs-shimmer 1.3s ease-in-out infinite;
}

.hs-skel-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hs-skel-line {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%);
  background-size: 400px 100%;
  animation: hs-shimmer 1.3s ease-in-out infinite;
}

.hs-skel-line--lg {
  width: 68%;
}

.hs-skel-line--sm {
  width: 38%;
  animation-delay: .1s;
}

.hs-skel-price {
  width: 54px;
  height: 13px;
  border-radius: 6px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%);
  background-size: 400px 100%;
  animation: hs-shimmer 1.3s ease-in-out infinite;
  animation-delay: .05s;
}

@keyframes hs-shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

.mobile-header-contact,
.mob-contact-pill {
  display: none;
}

/* Mobile search */
@media (max-width: 1023px) {
  .header-topbar {
    display: none;
  }

  .site-header {
    position: relative;
    top: auto;
    z-index: 400;
  }

  #main-nav {
    position: relative !important;
    top: auto !important;
  }

  .header-main-row {
    position: relative;
    overflow: visible;
    background: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 2px 12px rgba(15, 23, 42, .06);
  }

  .header-main-row::after {
    content: none;
  }

  html.dark .header-main-row {
    background:
      radial-gradient(circle at 10% 0, rgba(248, 43, 169, .16), transparent 36%),
      radial-gradient(circle at 100% 0, rgba(140, 82, 255, .14), transparent 34%),
      linear-gradient(180deg, var(--c-surface) 0%, var(--c-surface) 100%);
  }

  .header-main-row .container>.flex {
    position: relative;
    height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .header-main-row a.flex-shrink-0 {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-width: 0;
    min-height: 0;
    max-width: calc(100vw - 148px);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .header-main-row a.flex-shrink-0::before {
    content: none;
  }

  .header-main-row a.flex-shrink-0::after {
    content: none;
  }

  html.dark .header-main-row a.flex-shrink-0 {
    background: transparent;
    box-shadow: none;
  }

  .header-main-row a.flex-shrink-0 img {
    position: relative;
    z-index: 1;
    height: 38px;
    width: auto;
    max-width: 184px;
    object-fit: contain;
  }

  .header-main-row .container>.flex>div:last-child {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .mob-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .mob-cpill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 34px;
    padding: 0 11px;
    border-radius: 99px;
    border: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform .16s ease, box-shadow .16s ease;
  }

  .mob-cpill-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  .mob-cpill-label {
    line-height: 1;
  }

  /* WhatsApp — green filled */
  .mob-cpill-btn--wa {
    background: #25D366;
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 211, 102, .40);
  }

  .mob-cpill-btn--wa svg {
    fill: #fff;
  }

  .mob-cpill-btn--wa:active {
    transform: scale(.94);
    box-shadow: 0 1px 4px rgba(37, 211, 102, .25);
  }

  /* Call — primary pink filled */
  .mob-cpill-btn--call {
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(248, 43, 169, .38);
  }

  .mob-cpill-btn--call svg {
    stroke: #fff;
    fill: none;
  }

  .mob-cpill-btn--call:active {
    transform: scale(.94);
    box-shadow: 0 1px 4px rgba(248, 43, 169, .22);
  }

  #search-open,
  #cart-drawer-open-sm,
  #mobile-menu-toggle {
    display: none !important;
  }

  .header-search-inner {
    height: 44px;
  }

  .header-search-submit {
    height: 34px;
    padding: 0 14px;
    font-size: .8rem;
  }
}

/* ══════════════════════════════════════════════
   KAVKAZ TOAST NOTIFICATIONS
══════════════════════════════════════════════ */
.toastify {
  font-family: 'Inter', sans-serif !important;
  cursor: default !important;
}

/* 2.5px random-gradient border wrap */
.kv-toast-border {
  border-radius: 18px;
  padding: 2.5px;
  display: block;
  line-height: 0;
}

/* Inner content: type-specific gradient bg */
.kv-toast-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  border-radius: 15px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

/* Icon bubble */
.kv-toast-ic {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(255, 255, 255, .18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kv-toast-ic svg {
  display: block;
}

/* Message text */
.kv-toast-msg {
  flex: 1;
  line-height: 1.45;
}

/* Close button */
.kv-toast-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .85);
  margin-left: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}

.kv-toast-close:hover {
  background: rgba(0, 0, 0, .35);
  color: #fff;
}

.kv-toast-close svg {
  display: block;
}

/* ══════════════════════════════════════════════
   MOBILE MENU DRAWER
══════════════════════════════════════════════ */

/* Overlay */
.mob-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 340;
  background: rgba(0, 0, 0, .52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.mob-menu-overlay.is-open {
  display: block;
}

/* Drawer */
.mob-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(340px, 88vw);
  z-index: 350;
  background: var(--c-surface);
  border-radius: 0 24px 24px 0;
  box-shadow: 8px 0 48px rgba(0, 0, 0, .18);
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

.mob-menu-drawer.is-open {
  transform: translateX(0);
}

/* Head */
.mob-menu-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 16px;
  flex-shrink: 0;
}

.mob-menu-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mob-menu-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.mob-menu-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--c-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mob-menu-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-bg3);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  transition: background .18s, color .18s;
  flex-shrink: 0;
}

.mob-menu-close-btn:hover {
  background: rgba(248, 43, 169, .1);
  color: var(--c-primary);
}

/* Separator */
.mob-menu-sep {
  height: 1px;
  background: var(--c-border);
  margin: 0 18px;
  flex-shrink: 0;
}

/* Scrollable body */
.mob-menu-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}

/* Nav list */
.mob-nav-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mob-nav-list .nav-item {
  border-radius: 14px;
}

.mob-nav-list .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: var(--c-surface);
  transition: background .18s, color .18s, border-color .18s;
  gap: 10px;
}

/* chevron arrow */
.mob-nav-list .nav-link::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--c-muted);
  border-top: 2px solid var(--c-muted);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform .22s, border-color .18s;
}

/* non-dropdown items have no arrow */
.mob-nav-list .nav-item:not(.has-dropdown)>.nav-link::after {
  display: none;
}

.mob-nav-list .nav-item:hover>.nav-link,
.mob-nav-list .nav-item.current-menu-item>.nav-link {
  background: var(--c-bg3);
  color: var(--c-text);
  border-color: var(--c-border);
}

.mob-nav-list .nav-item:hover>.nav-link::after,
.mob-nav-list .nav-item.current-menu-item>.nav-link::after {
  border-color: var(--c-muted);
}

/* dropdown trigger — chevron points down */
.mob-nav-list .has-dropdown>.nav-link::after {
  transform: rotate(135deg);
}

/* open state — parent gets bg3, chevron flips up */
.mob-nav-list .has-dropdown.is-open>.nav-link {
  background: var(--c-bg3);
  color: var(--c-text);
  border-color: var(--c-border);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.mob-nav-list .has-dropdown.is-open>.nav-link::after {
  transform: rotate(-45deg);
  border-color: var(--c-muted);
}

/* hide the SVG chevron inside mob drawer — CSS ::after handles it */
.mob-nav-list .nav-chevron {
  display: none;
}

/* Sub-menu in drawer */
.mob-nav-list .sub-menu {
  list-style: none;
  padding: 4px 8px 8px;
  margin: 0;
  display: none;
  background: var(--c-bg3);
  border: 1.5px solid var(--c-border);
  border-top: none;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  flex-direction: column;
  gap: 1px;
}

.mob-nav-list .has-dropdown.is-open>.sub-menu {
  display: flex;
}

.mob-nav-list .sub-menu .sub-link,
.mob-nav-list .sub-menu .nav-link {
  display: flex;
  align-items: center;
  font-size: .84rem;
  font-weight: 500;
  padding: 10px 12px 10px 32px;
  border: none;
  background: transparent;
  border-radius: 9px;
  color: var(--c-text-2);
  text-decoration: none;
  position: relative;
  transition: background .15s, color .15s;
  gap: 0;
}

/* pink dot before each sub item */
.mob-nav-list .sub-menu .sub-link::before,
.mob-nav-list .sub-menu .nav-link::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(248, 43, 169, .4);
  flex-shrink: 0;
}

/* no arrow pseudo on sub items */
.mob-nav-list .sub-menu .sub-link::after,
.mob-nav-list .sub-menu .nav-link::after {
  display: none;
}

.mob-nav-list .sub-menu .sub-link:hover,
.mob-nav-list .sub-menu .nav-link:hover {
  background: rgba(248, 43, 169, .09);
  color: var(--c-primary);
}

.mob-nav-list .sub-menu .sub-link:hover::before,
.mob-nav-list .sub-menu .nav-link:hover::before {
  background: var(--c-primary);
}

/* Theme toggle card */
.mob-theme-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: var(--c-bg2);
  border-radius: 16px;
  border: 1px solid var(--c-border);
  margin-top: 4px;
  flex-shrink: 0;
}

.mob-theme-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(248, 43, 169, .15);
  border: 1px solid rgba(248, 43, 169, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  flex-shrink: 0;
}

.mob-theme-labels {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.mob-theme-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.2;
}

.mob-theme-sub {
  font-size: .73rem;
  color: var(--c-muted);
  line-height: 1.2;
}

/* Toggle switch */
.mob-theme-toggle-sw {
  width: 46px;
  height: 26px;
  border-radius: 99px;
  background: var(--c-bg3);
  border: 1.5px solid var(--c-border);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: background .25s, border-color .25s;
  flex-shrink: 0;
}

.mob-theme-toggle-sw.is-on {
  background: var(--c-primary);
  border-color: transparent;
}

.mob-theme-sw-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  transition: transform .25s cubic-bezier(.4, 0, .2, 1);
  display: block;
}

.mob-theme-toggle-sw.is-on .mob-theme-sw-knob {
  transform: translateX(20px);
}

/* AJAX Search in mobile drawer */
.mob-search-wrap {
  padding: 8px 18px 14px;
  flex-shrink: 0;
  position: relative;
}

.mob-search-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(248, 43, 169, .08);
  border: 1.5px solid rgba(248, 43, 169, .3);
  border-radius: 99px;
  min-height: 48px;
  transition: border-color .18s, background .18s;
}

.mob-search-wrap:focus-within .mob-search-inner {
  border-color: rgba(248, 43, 169, .55);
}

.mob-search-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  color: var(--c-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.mob-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: .9rem;
  color: var(--c-text);
  font-family: inherit;
  min-width: 0;
}

.mob-search-input::placeholder {
  color: rgba(248, 43, 169, .50);
}

.mob-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  color: var(--c-muted);
  cursor: pointer;
  flex-shrink: 0;
}

.mob-search-clear:hover {
  color: var(--c-primary);
}

/* Mobile dropdown — full width, below input */
.hs-dropdown--mob {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 900;
  border-radius: 16px;
  max-height: 320px;
  overflow-y: auto;
}

html.dark .mob-search-inner {
  background: rgba(248, 43, 169, .08);
  border-color: rgba(248, 43, 169, .2);
}

/* Footer */
.mob-menu-foot {
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--c-border);
  flex-shrink: 0;
}

.mob-menu-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--c-primary);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(248, 43, 169, .35);
  transition: opacity .2s, transform .2s;
}

.mob-menu-login-btn:hover {
  opacity: .92;
  transform: translateY(-1px);
}

/* Dark mode */
html.dark .mob-menu-drawer {
  background: var(--c-surface);
}

html.dark .mob-menu-close-btn {
  background: var(--c-bg3);
}

html.dark .mob-theme-card {
  background: var(--c-bg2);
}

html.dark .mob-search-inner {
  background: rgba(248, 43, 169, .08);
  border-color: rgba(248, 43, 169, .2);
}

/* ══════════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION BAR
══════════════════════════════════════════════ */

/* Hidden on desktop */
.mob-cat-sheet-overlay,
.mob-cat-sheet {
  display: none;
}

.mob-tabbar {
  display: none;
}

@media (max-width: 768px) {

  .mob-cat-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 940;
    display: block;
    background: rgba(15, 23, 42, .48);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity .28s ease;
  }

  .mob-cat-sheet-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mob-cat-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    display: flex;
    flex-direction: column;
    max-height: min(84vh, 720px);
    padding: 10px 18px calc(86px + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(circle at 18% 0, rgba(248, 43, 169, .13), transparent 34%),
      radial-gradient(circle at 100% 0, rgba(140, 82, 255, .12), transparent 32%),
      var(--c-surface);
    border: 1px solid rgba(226, 232, 240, .9);
    border-bottom: 0;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -18px 48px rgba(15, 23, 42, .22);
    transform: translateY(105%);
    transition: transform .34s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
  }

  .mob-cat-sheet.is-open {
    transform: translateY(0);
  }

  .mob-cat-sheet-handle {
    width: 48px;
    height: 5px;
    margin: 2px auto 14px;
    border-radius: 999px;
    background: var(--c-primary);
    opacity: .85;
  }

  /* ── Sheet header ── */
  .mob-cat-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 16px;
    border-bottom: 1px solid rgba(226, 232, 240, .7);
    margin-bottom: 16px;
  }

  .mob-cat-head-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-text);
  }

  .mob-cat-head-info svg {
    color: var(--c-primary);
    flex-shrink: 0;
  }

  .mob-cat-head-title {
    font-size: .95rem;
    font-weight: 800;
    color: var(--c-text);
    letter-spacing: -.01em;
  }

  .mob-cat-head-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(248, 43, 169, .12);
    color: var(--c-primary);
    font-size: .68rem;
    font-weight: 800;
  }

  .mob-cat-close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 999px;
    color: var(--c-muted);
    background: rgba(226, 232, 240, .5);
    border: 1px solid rgba(226, 232, 240, .8);
    transition: all .18s ease;
  }

  .mob-cat-close:active {
    background: rgba(248, 43, 169, .1);
    color: var(--c-primary);
  }

  /* ── Sheet body ── */
  .mob-cat-sheet-body {
    min-height: 0;
    overflow-y: auto;
    padding: 0 0 8px;
    -webkit-overflow-scrolling: touch;
  }

  .mob-cat-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .mob-cat-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 9px 12px;
    border-radius: 16px;
    color: var(--c-text);
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .8);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
    text-decoration: none;
  }

  .mob-cat-card:active {
    transform: scale(.982);
    border-color: rgba(248, 43, 169, .3);
    box-shadow: 0 4px 16px rgba(248, 43, 169, .12);
  }

  .mob-cat-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--c-primary);
    background: rgba(248, 43, 169, .10);
    flex-shrink: 0;
  }

  .mob-cat-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mob-cat-name {
    overflow: hidden;
    color: var(--c-text);
    font-size: .875rem;
    line-height: 1.25;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mob-cat-count {
    color: var(--c-muted);
    font-size: .7rem;
    font-weight: 600;
  }

  .mob-cat-arrow {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    border-radius: 999px;
    color: var(--c-primary);
    background: rgba(248, 43, 169, .08);
    flex-shrink: 0;
  }

  /* ── "Bütün məhsullara bax" footer link ── */
  .mob-cat-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    padding: 13px 20px;
    border-radius: 14px;
    border: 1.5px dashed rgba(248, 43, 169, .35);
    color: var(--c-primary);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
  }

  .mob-cat-all-link:active {
    background: rgba(248, 43, 169, .07);
    border-color: var(--c-primary);
  }

  /* ── Dark mode ── */
  html.dark .mob-cat-sheet {
    border-color: var(--c-border);
  }

  html.dark .mob-cat-sheet-head {
    border-bottom-color: var(--c-border);
  }

  html.dark .mob-cat-close {
    background: var(--c-bg3);
    border-color: var(--c-border);
    color: var(--c-muted);
  }

  html.dark .mob-cat-card {
    background: rgba(30, 41, 59, .85);
    border-color: rgba(148, 163, 184, .2);
  }

  html.dark .mob-cat-all-link {
    border-color: rgba(248, 43, 169, .3);
  }

  /* Push body content above the bar */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  /* The bar itself */
  .mob-tabbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 250;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .08);
    padding-top: 0;
  }

  /* Each tab */
  .mob-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    padding: 10px 0 8px;
    height: 64px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    color: var(--c-muted);
    transition: color 0.2s ease;
    position: relative;
  }

  .mob-tab:hover,
  .mob-tab.is-active {
    color: var(--c-primary);
  }

  /* Icon wrapper */
  .mob-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  /* Icon wrapper with relative positioning for badge */
  .mob-tab-icon--rel {
    position: relative;
  }

  /* Label */
  .mob-tab-label {
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1;
    white-space: nowrap;
  }

  /* Badge */
  .mob-tab-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 99px;
    background: var(--c-primary);
    color: #fff;
    font-size: .58rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--c-surface);
  }

  .mob-tab-badge:empty,
  .mob-tab-badge[data-count="0"] {
    display: none;
  }

  /* Center FAB — Mağaza */
  .mob-tab--center {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
    height: 64px;
    color: var(--c-muted);
    gap: 3px;
  }

  .mob-tab--center:hover {
    color: var(--c-primary);
  }

  .mob-tab-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 -4px 20px rgba(248, 43, 169, .45), 0 4px 16px rgba(140, 82, 255, .30);
    margin-top: -20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
  }

  .mob-tab--center:hover .mob-tab-fab,
  .mob-tab--center:active .mob-tab-fab {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 -6px 28px rgba(248, 43, 169, .55), 0 6px 20px rgba(140, 82, 255, .40);
  }

  .mob-tab--center .mob-tab-label {
    margin-top: 4px;
  }

  /* Dark mode */
  html.dark .mob-tabbar {
    background: var(--c-surface);
    border-top-color: var(--c-border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .28);
  }

  html.dark .mob-tab-badge {
    border-color: var(--c-surface);
  }

}

/* ══════════════════════════════════════════════
   RELATED / UPSELLS — SWIPER SLIDER
══════════════════════════════════════════════ */
.sp-products-section {
  padding: 48px 0 0;
}

.sp-products-swiper {
  padding-bottom: 36px !important;
}

.sp-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 4px;
}

.sp-products-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
}

.sp-products-nav {
  display: flex;
  gap: 8px;
}

.sp-prod-prev,
.sp-prod-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  flex-shrink: 0;
}

.sp-prod-prev:hover,
.sp-prod-next:hover {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: #fff;
}

.sp-prod-prev.swiper-button-disabled,
.sp-prod-next.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}

/* Skeleton row inside related/upsell sections */
.sp-prod-skel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1279px) { .sp-prod-skel { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1023px) { .sp-prod-skel { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .sp-prod-skel { grid-template-columns: repeat(2, 1fr); } }

/* Slider container */
.sp-products-swiper {
  overflow: hidden;
}

.sp-products-swiper .swiper-wrapper {
  align-items: stretch;
}

.sp-products-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* ── Product card (sp-pc) ── */
.sp-pc {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .22s, transform .22s;
}

.sp-pc:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.sp-pc-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--c-bg2);
}

.sp-pc-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sp-pc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.sp-pc:hover .sp-pc-img {
  transform: scale(1.05);
}

.sp-pc-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ef4444;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: .03em;
}

.sp-pc-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .2s, transform .2s;
}

.sp-pc:hover .sp-pc-actions {
  opacity: 1;
  transform: translateX(0);
}

.sp-pc-act-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-surface);
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, color .18s;
}

.sp-pc-act-btn:hover,
.sp-pc-act-btn.active {
  background: var(--c-primary);
  color: #fff;
}

.sp-pc-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.sp-pc-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}

.sp-pc-name {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  flex: 1;
}

.sp-pc-name:hover { color: var(--c-primary); }

.sp-pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
}

.sp-pc-price {
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-primary);
}

.sp-pc-price .woocommerce-Price-amount { color: inherit; }
.sp-pc-price del { color: var(--c-muted); font-weight: 400; font-size: .75rem; margin-right: 3px; }

.sp-pc-atc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(248,43,169,.1);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  transition: background .18s, color .18s;
}

.sp-pc-atc:hover {
  background: var(--c-primary);
  color: #fff;
}

/* Dark mode */
html.dark .sp-pc {
  box-shadow: none;
}

html.dark .sp-pc:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.3);
}

/* ══════════════════════════════════════════════
   MY ACCOUNT — LOGIN PAGE
══════════════════════════════════════════════ */
.ma-login-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(248,43,169,.08) 0%, transparent 70%);
}

.ma-login-card {
  width: 100%;
  max-width: 480px;
  background: var(--c-surface);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
  overflow: hidden;
}

.ma-login-card-hd {
  background: linear-gradient(135deg, var(--c-primary) 0%, #c8185c 100%);
  padding: 36px 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ma-login-card-hd a {
  display: inline-flex;
  justify-content: center;
}

.ma-login-card-hd img {
  max-width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
  margin: 0 auto;
}

.ma-login-card-hd .ma-login-tagline {
  color: rgba(255,255,255,.82);
  font-size: .875rem;
  margin-top: 10px;
  letter-spacing: .02em;
}

.ma-login-card-bd {
  padding: 36px 40px;
}

.ma-login-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
}

.ma-login-sub {
  font-size: .875rem;
  color: var(--c-muted);
  margin-bottom: 28px;
}

/* Form group */
.ma-form-group {
  margin-bottom: 18px;
}

.ma-form-label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 7px;
}

.ma-form-label .required { color: var(--c-primary); }

.ma-form-input-wrap {
  position: relative;
}

.ma-form-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-muted);
  pointer-events: none;
  display: flex;
}

.ma-form-group input[type="text"],
.ma-form-group input[type="email"],
.ma-form-group input[type="password"] {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 42px;
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-bg2);
  color: var(--c-text);
  font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
}

.ma-form-group input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(248,43,169,.12);
  background: var(--c-surface);
}

/* Remember + submit row */
.ma-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ma-remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--c-muted);
  cursor: pointer;
}

.ma-remember-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--c-primary);
}

.ma-forgot-link {
  font-size: .85rem;
  color: var(--c-primary);
  text-decoration: none;
  font-weight: 500;
}

.ma-forgot-link:hover { text-decoration: underline; }

.ma-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .02em;
  transition: opacity .2s, transform .15s;
}

.ma-submit-btn:hover { opacity: .92; transform: translateY(-1px); }
.ma-submit-btn:active { transform: translateY(0); }

/* Divider */
.ma-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--c-muted);
  font-size: .8125rem;
}

.ma-divider::before,
.ma-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

/* Register link */
.ma-login-card-ft {
  padding: 20px 40px 28px;
  text-align: center;
  border-top: 1px solid var(--c-border);
}

.ma-login-card-ft p {
  font-size: .875rem;
  color: var(--c-muted);
}

.ma-login-card-ft a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: none;
}

.ma-login-card-ft a:hover { text-decoration: underline; }

/* Registration panel (when woocommerce enables it) */
.ma-register-wrap {
  margin-top: 24px;
}

.ma-register-wrap h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 20px;
}

/* WooCommerce notice override inside login */
.ma-login-card-bd .woocommerce-error,
.ma-login-card-bd .woocommerce-message,
.ma-login-card-bd .woocommerce-info {
  margin-bottom: 20px;
  border-radius: 10px;
}

/* Icon above form title (lost password / reset) */
.ma-lost-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(248,43,169,.1);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* Tab switcher */
.ma-tabs {
  display: flex;
  border-bottom: 1.5px solid var(--c-border);
}

.ma-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 16px;
  background: none;
  border: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-muted);
  cursor: pointer;
  position: relative;
  transition: color .2s;
}

.ma-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--c-primary);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform .2s;
}

.ma-tab-btn.is-active {
  color: var(--c-primary);
}

.ma-tab-btn.is-active::after {
  transform: scaleX(1);
}

.ma-tab-btn:hover:not(.is-active) {
  color: var(--c-text);
}

/* Tab panels */
.ma-tab-panel {
  display: none;
}

.ma-tab-panel.is-active {
  display: block;
}

/* Dark mode */
html.dark .ma-login-card {
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
}

/* Responsive */
@media (max-width: 520px) {
  .ma-login-card-hd { padding: 28px 24px 24px; }
  .ma-login-card-bd { padding: 28px 24px; }
  .ma-login-card-ft { padding: 16px 24px 24px; }
}

/* ══════════════════════════════════════════════
   CART PAGE  (.kc-cart-*)
══════════════════════════════════════════════ */
.kc-cart-page {
  padding: 40px 0 80px;
  min-height: 60vh;
}

/* Layout grid */
.kc-cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.kc-cart-left  { min-width: 0; }
.kc-cart-right { position: sticky; top: calc(var(--nav-h) + 20px); }

/* Items card — mirrors right summary card */
.kc-items-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.09);
}
.kc-items-card::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--c-primary);
}

/* Header */
.kc-cart-header {
  padding: 16px 22px 14px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg2);
  margin: 0;
}

.kc-cart-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text);
}

.kc-cart-title svg {
  color: var(--c-primary);
  flex-shrink: 0;
}

.kc-cart-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: rgba(248,43,169,.10);
  color: var(--c-primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid rgba(248,43,169,.20);
  margin-left: auto;
}

/* Cart form — strip WC table defaults */
.woocommerce-cart-form { display: block; }
.woocommerce-cart-form table { display: none; }

/* Cart row */
.kc-cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--transition);
}

.kc-cart-row:last-of-type { border-bottom: none; }

/* Thumbnail */
.kc-cart-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--c-bg3);
  display: block;
}

.kc-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info column */
.kc-cart-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kc-cart-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  transition: color var(--transition);
}

.kc-cart-name:hover { color: var(--c-primary); }

.kc-cart-unit-price {
  font-size: 0.82rem;
  color: var(--c-muted);
}

/* Actions column: qty + sub + remove */
.kc-cart-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Quantity stepper */
.kc-cart-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-input);
  overflow: hidden;
  background: var(--c-bg);
}

.kc-cart-qty .quantity {
  display: contents; /* let input sit inline without extra wrapper box */
}

.kc-cart-qty .quantity input[type=number] {
  width: 46px;
  height: 40px;
  border: none;
  border-left: 1.5px solid var(--c-border);
  border-right: 1.5px solid var(--c-border);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-text);
  background: transparent;
  -moz-appearance: textfield;
  font-family: inherit;
  outline: none;
}

.kc-cart-qty .quantity input[type=number]::-webkit-outer-spin-button,
.kc-cart-qty .quantity input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.kc-qty-btn {
  width: 36px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color var(--transition), background var(--transition);
  padding: 0;
}

.kc-qty-btn:hover {
  color: var(--c-primary);
  background: var(--c-primary-l);
}

.kc-qty-btn:active { transform: scale(0.92); }

/* Subtotal */
.kc-cart-sub {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
  min-width: 72px;
  text-align: right;
}

/* Remove button */
.kc-cart-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-bg3);
  color: var(--c-muted);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.kc-cart-remove:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* ── Checkout coupon — collapsible ── */
form.kc-co-coupon-form {
  display: block !important;
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  background: var(--c-bg2);
  overflow: hidden;
  margin-bottom: 20px;
}

.kc-coupon-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-muted);
  font-family: inherit;
  text-align: left;
}

.kc-coupon-toggle svg:first-child { flex-shrink: 0; }

.kc-coupon-chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

form.kc-co-coupon-form.is-open .kc-coupon-chevron { transform: rotate(180deg); }

.kc-coupon-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

form.kc-co-coupon-form.is-open .kc-coupon-body { max-height: 80px; }

.kc-coupon-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 14px;
  border-top: 1px solid var(--c-border);
  padding-top: 12px;
}

/* Cart page coupon row (standalone, not collapsible) */
.kc-coupon-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1.5px dashed var(--c-border);
  border-radius: 14px;
  background: var(--c-bg2);
}

.kc-coupon-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--c-muted);
}

.kc-coupon-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  color: var(--c-text);
  outline: none;
  font-family: inherit;
}

.kc-coupon-input::placeholder { color: var(--c-muted); }

.kc-coupon-btn {
  flex-shrink: 0;
  padding: 7px 16px;
  border: 1.5px solid var(--c-primary);
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--c-primary);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: inherit;
}

.kc-coupon-btn:hover {
  background: var(--c-primary);
  color: #fff;
}

/* Footer row: continue + update */
.kc-cart-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.kc-cart-update-wrap { display: flex; }

.kc-update-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--c-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.kc-update-cart-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-primary-l);
}

.kc-update-cart-btn[disabled] {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* Backorder notice */
.kc-backorder {
  font-size: 0.78rem;
  color: #f59e0b;
  margin-top: 2px;
}

/* Continue shopping */
.kc-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  border: 1.5px solid rgba(248,43,169,.35);
  border-radius: 50px;
  background: rgba(248,43,169,.04);
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.kc-continue-btn:hover {
  color: #fff;
  background: var(--c-primary);
  border-color: var(--c-primary);
  box-shadow: 0 4px 16px rgba(248,43,169,.35);
  transform: translateY(-1px);
}
.kc-continue-btn svg { transition: transform var(--transition); }
.kc-continue-btn:hover svg { transform: translateX(-3px); }

/* ── Cart Summary card ── */
.kc-summary-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px 24px;
  box-shadow: 0 4px 24px var(--c-shadow);
}

.kc-summary-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.kc-summary-title svg { color: var(--c-primary); flex-shrink: 0; }

.kc-summary-rows { display: flex; flex-direction: column; gap: 12px; }

.kc-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--c-muted);
  gap: 12px;
}

.kc-summary-row > span:last-child {
  font-weight: 500;
  color: var(--c-text);
  text-align: right;
}

.kc-summary-discount > span:last-child { color: #22c55e; }

/* WC shipping table inside summary */
.kc-summary-card .woocommerce-shipping-destination,
.kc-summary-card .shipping-calculator-button { font-size: 0.82rem; }

.kc-summary-card .shipping { display: flex; flex-direction: column; gap: 8px; }

.kc-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  padding-top: 14px;
  margin-top: 4px;
  border-top: 2px solid var(--c-border);
  gap: 12px;
}

.kc-total-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-primary);
}

/* Checkout button */
.kc-checkout-btn-wrap { margin-top: 20px; }

.kc-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 15px 24px;
  border-radius: var(--r-btn);
  background: var(--c-primary);
  color: #fff;
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 18px rgba(248,43,169,.35);
  border: none;
  cursor: pointer;
}

.kc-checkout-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(248,43,169,.45);
  color: #fff;
}

.kc-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--c-muted);
}

.kc-trust-note svg { color: #22c55e; }

/* WC notices inside cart */
.kc-cart-page .woocommerce-message,
.kc-cart-page .woocommerce-error,
.kc-cart-page .woocommerce-info {
  margin-bottom: 20px;
}

/* AJAX loading states */
#kc-cart-items.kc-ajax-loading,
.kc-summary-card.kc-ajax-loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity .2s ease;
}

#kc-cart-items {
  position: relative;
}

/* Semi-transparent overlay behind spinner */
#kc-cart-items.kc-ajax-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.55);
  border-radius: 16px;
  z-index: 19;
}

/* Spinning ring centered over items */
#kc-cart-items.kc-ajax-loading::after {
  content: '';
  position: absolute;
  top: calc(50% - 22px);
  left: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border: 3.5px solid rgba(248,43,169,.18);
  border-top-color: #f82ba9;
  border-radius: 50%;
  animation: kc-spin .7s linear infinite;
  z-index: 20;
}

@keyframes kc-spin {
  to { transform: rotate(360deg); }
}

.kc-cart-row {
  transition: opacity .2s ease, transform .2s ease;
}

.kc-cart-row.kc-row-removing {
  opacity: 0.25;
  transform: translateX(12px);
  pointer-events: none;
}

/* Empty cart full-page center */
.kc-cart-page.is-empty .thm-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kc-cart-page.is-empty .kc-cart-header {
  width: 100%;
  max-width: 860px;
}

/* Empty cart state block */
.kc-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 80px;
  text-align: center;
  gap: 16px;
  color: var(--c-muted);
  width: 100%;
  max-width: 480px;
}

.kc-cart-empty svg {
  opacity: 0.35;
  color: var(--c-primary);
}

.kc-cart-empty p {
  font-size: 1.05rem;
  font-weight: 500;
}

/* Cart dark mode */
/* Cart page coupon needs top spacing (checkout coupon uses flex gap) */
.kc-cart-page .kc-coupon-row { margin-top: 20px; }

html.dark .kc-items-card { box-shadow: 0 8px 40px var(--c-shadow-md); }
html.dark .kc-cart-header { background: var(--c-bg3); }
html.dark .kc-coupon-row { background: var(--c-bg3); }
html.dark .kc-cart-remove { background: var(--c-bg3); }
html.dark .kc-summary-card { box-shadow: 0 4px 24px var(--c-shadow-md); }
html.dark #kc-cart-items.kc-ajax-loading::before { background: rgba(30,30,30,.6); }

/* Cart responsive */
@media (max-width: 900px) {
  .kc-cart-layout {
    grid-template-columns: 1fr;
  }

  .kc-cart-right {
    position: static;
  }
}

@media (max-width: 600px) {
  .kc-cart-page { padding: 24px 0 60px; }

  .kc-cart-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .kc-cart-thumb { width: 72px; height: 72px; }

  .kc-cart-actions {
    width: 100%;
    justify-content: flex-end;
    padding-top: 4px;
  }

  .kc-cart-sub { min-width: 60px; }
}


/* ══════════════════════════════════════════════
   CHECKOUT PAGE  (.kc-co-*)
══════════════════════════════════════════════ */
.kc-co-page {
  padding: 40px 0 80px;
  min-height: 60vh;
}

/* Layout grid */
.kc-co-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.kc-co-left  { min-width: 0; display: flex; flex-direction: column; }
.kc-co-right { position: sticky; top: calc(var(--nav-h) + 20px); }

/* ── Billing / Shipping section cards ── */
.kc-co-section {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.09);
  margin-bottom: 20px;
}
.kc-co-section:last-of-type { margin-bottom: 0; }

/* Pink accent bar — mirrors the summary card */
.kc-co-section::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--c-primary);
}

.kc-co-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg2);
  margin: 0;
}

.kc-co-section-title svg { color: var(--c-primary); flex-shrink: 0; }

/* Section body padding */
.kc-co-section-body {
  padding: 22px 24px 26px;
}

/* ── WooCommerce form fields grid ── */
.kc-co-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.kc-co-fields .form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.kc-co-fields .form-row-first { grid-column: 1; }
.kc-co-fields .form-row-last  { grid-column: 2; }
.kc-co-fields .form-row-wide  { grid-column: 1 / -1; }

.kc-co-fields label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kc-co-fields label .required {
  color: var(--c-primary);
  margin-left: 2px;
}

.kc-co-fields input[type=text],
.kc-co-fields input[type=email],
.kc-co-fields input[type=tel],
.kc-co-fields input[type=number],
.kc-co-fields input[type=password],
.kc-co-fields select,
.kc-co-fields textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-input);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.kc-co-fields input:focus,
.kc-co-fields select:focus,
.kc-co-fields textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(248,43,169,.12);
}

.kc-co-fields select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.kc-co-fields textarea {
  resize: vertical;
  min-height: 90px;
}

.kc-co-fields .woocommerce-input-wrapper { width: 100%; }

/* ── Order notes (full-width standalone section) ── */
.kc-co-notes-wrap {
  display: flex;
  flex-direction: column;
}

.kc-co-notes-wrap .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.kc-co-notes-wrap label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kc-co-notes-wrap label .required { color: var(--c-primary); }

.kc-co-notes-wrap textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--c-text);
  background: var(--c-bg);
  resize: vertical;
  min-height: 110px;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}

.kc-co-notes-wrap textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(248,43,169,.12);
}

.kc-co-notes-wrap .woocommerce-input-wrapper { width: 100%; }

/* Validation states */
.kc-co-fields .woocommerce-invalid input,
.kc-co-fields .woocommerce-invalid select {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.kc-co-fields .woocommerce-validated input,
.kc-co-fields .woocommerce-validated select {
  border-color: #22c55e;
}

/* WC validation icons */
.kc-co-fields .woocommerce-validated .woocommerce-input-wrapper::after,
.kc-co-fields .woocommerce-invalid .woocommerce-input-wrapper::after {
  display: none;
}

/* ── Shipping toggle ── */
.kc-ship-toggle {
  margin: 0;
  cursor: pointer;
}

.kc-ship-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
}

.kc-ship-check { position: absolute; opacity: 0; width: 0; height: 0; }

.kc-ship-box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--c-border);
  border-radius: 5px;
  background: var(--c-bg);
  transition: background var(--transition), border-color var(--transition);
  position: relative;
}

.kc-ship-check:checked + .kc-ship-box {
  background: var(--c-primary);
  border-color: var(--c-primary);
}

.kc-ship-check:checked + .kc-ship-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.woocommerce-shipping-fields__field-wrapper { margin-top: 18px; }

/* ══ Summary card (right column) ══════════════════════ */
.kc-co-summary-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.09);
  position: sticky;
  top: 24px;
}

/* Pink accent bar at top */
.kc-co-summary-card::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--c-primary);
}

.kc-co-summary-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg2);
  margin: 0;
}

.kc-co-summary-title svg { color: var(--c-primary); flex-shrink: 0; }

/* item count badge in header */
.kc-co-summary-count {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-primary);
  background: rgba(248,43,169,.10);
  border: 1px solid rgba(248,43,169,.20);
  border-radius: 20px;
  padding: 2px 10px;
}

/* ── Order items list ── */
.kc-co-items {
  display: flex;
  flex-direction: column;
  max-height: 340px;
  overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}

.kc-co-items::-webkit-scrollbar { width: 4px; }
.kc-co-items::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 4px; }

.kc-co-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  border-bottom: 1px dashed var(--c-border);
  transition: background var(--transition);
}

.kc-co-item:last-child { border-bottom: none; }
.kc-co-item:hover { background: rgba(248,43,169,.03); }

.kc-co-item-thumb-wrap {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.kc-co-item-thumb {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-bg3);
  border: 1.5px solid var(--c-border);
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

.kc-co-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kc-co-item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  background: var(--c-primary);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(248,43,169,.4);
  border: 1.5px solid var(--c-surface);
}

.kc-co-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kc-co-item-info .kc-co-item-name,
.kc-co-item-info span.kc-co-item-name {
  display: -webkit-box;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kc-co-item-meta {
  font-size: 0.76rem;
  color: var(--c-muted);
}

.kc-co-item-total {
  flex-shrink: 0;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--c-primary);
  text-align: right;
  white-space: nowrap;
}

/* ── Totals rows ── */
.kc-co-totals {
  padding: 16px 22px 14px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: var(--c-bg2);
}

.kc-co-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--c-muted);
  gap: 12px;
}

.kc-co-total-row > span:last-child {
  font-weight: 600;
  color: var(--c-text);
  text-align: right;
}

.kc-co-discount > span:first-child { color: #16a34a; }
.kc-co-discount > span:last-child { color: #16a34a; font-weight: 700; }

/* Grand total — highlighted block */
.kc-co-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  padding: 14px 22px;
  margin: 0 -22px -14px;
  background: rgba(248,43,169,.06);
  border-top: 1.5px solid rgba(248,43,169,.18);
}

.kc-co-grand-total .kc-co-grand-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.01em;
}

/* ── Payment section ── */
#payment {
  padding: 22px 22px 20px;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
}

#payment .wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#payment .wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-input);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text);
  transition: border-color var(--transition), background var(--transition);
}

#payment .wc_payment_method > label:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-l);
}

#payment .wc_payment_method input[type=radio] { accent-color: var(--c-primary); }

#payment .wc_payment_method input[type=radio]:checked + label,
#payment .wc_payment_method label:has(input:checked) {
  border-color: var(--c-primary);
  background: var(--c-primary-l);
}

#payment .payment_box {
  padding: 12px 14px;
  margin: 4px 0 0;
  background: var(--c-bg2);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--c-muted);
}

/* Place order button */
#payment #place_order,
.wc-proceed-to-checkout .button,
button#place_order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 24px;
  border-radius: var(--r-btn);
  background: var(--c-primary);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 18px rgba(248,43,169,.35);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  font-family: inherit;
}

#payment #place_order:hover,
button#place_order:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(248,43,169,.45);
}

/* WC privacy policy text */
#payment .terms { font-size: 0.8rem; color: var(--c-muted); margin-bottom: 12px; }
#payment .terms a { color: var(--c-primary); }

/* ── Terms & conditions custom checkbox ── */
.woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 14px;
}
.woocommerce-terms-and-conditions-wrapper .form-row {
  margin: 0;
}
.woocommerce-form__label-for-checkbox.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  padding: 13px 15px;
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  background: rgba(248,43,169,.03);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  user-select: none;
}
.woocommerce-form__label-for-checkbox.checkbox:hover {
  border-color: rgba(248,43,169,.45);
  background: rgba(248,43,169,.06);
  box-shadow: 0 0 0 3px rgba(248,43,169,.07);
}
/* Custom checkbox input */
.woocommerce-form__input-checkbox {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--c-border);
  border-radius: 6px;
  background: var(--c-surface);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
  margin-top: 1px;
  position: relative;
}
.woocommerce-form__input-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(248,43,169,.18);
  border-color: var(--c-primary);
}
.woocommerce-form__input-checkbox:checked {
  background: var(--c-primary);
  border-color: var(--c-primary);
  box-shadow: 0 2px 8px rgba(248,43,169,.35);
}
.woocommerce-form__input-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: 2.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  display: block;
}
/* Label text */
.woocommerce-terms-and-conditions-checkbox-text {
  font-size: 0.85rem;
  color: var(--c-text);
  line-height: 1.55;
  flex: 1;
}
.woocommerce-terms-and-conditions-checkbox-text a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.woocommerce-form__label-for-checkbox.checkbox abbr.required {
  color: var(--c-primary);
  text-decoration: none;
  margin-left: 2px;
  font-weight: 700;
}
/* Highlight border when checked */
.woocommerce-form__label-for-checkbox.checkbox:has(.woocommerce-form__input-checkbox:checked) {
  border-color: rgba(248,43,169,.4);
  background: rgba(248,43,169,.05);
}

/* WC notices inside checkout */
.kc-co-page .woocommerce-NoticeGroup { margin-bottom: 20px; }
.kc-co-page .woocommerce-error,
.kc-co-page .woocommerce-message { margin-bottom: 16px; }

/* Account creation checkbox row */
.woocommerce-account-fields { margin-top: 16px; }
.woocommerce-account-fields .form-row { margin: 0; }

/* Checkout dark mode */
html.dark .kc-co-section   { box-shadow: 0 8px 40px var(--c-shadow-md); }
html.dark .kc-co-section-title { background: var(--c-bg3); }
html.dark .kc-co-summary-card { box-shadow: 0 8px 40px var(--c-shadow-md); }
html.dark .kc-co-summary-title { background: var(--c-bg3); }
html.dark .kc-co-totals { background: var(--c-bg3); }
html.dark .kc-co-grand-total { background: rgba(248,43,169,.08); border-top-color: rgba(248,43,169,.22); }
html.dark .kc-co-fields input,
html.dark .kc-co-fields select,
html.dark .kc-co-fields textarea { background: var(--c-bg3); }
html.dark .kc-ship-box { background: var(--c-bg3); }
html.dark #payment { background: var(--c-bg2); }
html.dark #payment .payment_box { background: var(--c-bg3); }
html.dark #payment .wc_payment_method > label:hover { background: rgba(248,43,169,.08); }
html.dark .woocommerce-form__label-for-checkbox.checkbox { border-color: rgba(255,255,255,.12); background: rgba(248,43,169,.04); }
html.dark .woocommerce-form__input-checkbox { border-color: rgba(255,255,255,.2); background: var(--c-bg3); }

/* Checkout responsive */
@media (max-width: 960px) {
  .kc-co-layout {
    grid-template-columns: 1fr;
  }

  .kc-co-right {
    position: static;
    order: -1;
  }
}

@media (max-width: 600px) {
  .kc-co-page { padding: 24px 0 60px; }

  .kc-co-section { border-radius: 16px; }
  .kc-co-section-body { padding: 16px 16px 20px; }
  .kc-co-section-title { padding: 14px 16px 12px; }
  .kc-co-summary-card { border-radius: 16px; }

  .kc-co-fields {
    grid-template-columns: 1fr;
  }

  .kc-co-fields .form-row-first,
  .kc-co-fields .form-row-last { grid-column: 1 / -1; }

  .kc-co-item { padding: 12px 16px; }
  .kc-co-totals { padding: 12px 16px 6px; }
  #payment { padding: 16px; }
  .kc-co-summary-title { padding: 16px 16px 14px; }
}

/* (exit animation handled inline via onclick — no class needed) */

/* ══════════════════════════════════════════════
   DARK MODE — Comprehensive Component Overrides
══════════════════════════════════════════════ */

/* ── Blog Cards ── */
html.dark .blog-card {
  background: var(--c-surface);
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}
html.dark .blog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
html.dark .blog-card-body {
  background: var(--c-surface);
}
html.dark .blog-card-meta {
  color: var(--c-muted);
}
html.dark .blog-card-title {
  color: var(--c-text);
}
html.dark .blog-cat-badge {
  background: rgba(248,43,169,.18);
  color: #f472b6;
}

/* ── Product Cards ── */
html.dark .product-card {
  background: var(--c-surface);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
html.dark .product-card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,.45);
}
html.dark .pc-title {
  color: var(--c-text);
}
html.dark .pc-price {
  color: var(--c-text);
}
html.dark .pc-badge-new {
  background: rgba(140,82,255,.18);
  color: #c4b5fd;
}
html.dark .pc-body {
  background: var(--c-surface);
}

/* ── Category Cards ── */
html.dark .cat-card {
  background: var(--c-surface) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.3) !important;
}
html.dark .cat-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.45) !important;
}
html.dark .cat-card-name {
  color: #fff;
}

/* ── Newsletter ── */
html.dark .newsletter-area {
  background: var(--c-bg3);
}
html.dark .newsletter-wrap {
  background: linear-gradient(135deg, rgba(248,43,169,.15) 0%, rgba(140,82,255,.12) 100%);
  border: 1px solid rgba(248,43,169,.2);
}
html.dark .newsletter-input {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: var(--c-text);
}
html.dark .newsletter-input::placeholder {
  color: var(--c-muted);
}
html.dark .newsletter-title,
html.dark .newsletter-lead {
  color: #fff;
}

/* ── Contact Page ── */
html.dark .contact-layout {
  background: transparent;
}
html.dark .contact-card {
  background: var(--c-surface);
  border-color: var(--c-border);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
html.dark .contact-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.38);
}
html.dark .contact-card-icon {
  background: rgba(248,43,169,.12);
  color: var(--c-primary);
}
html.dark .contact-card-label {
  color: var(--c-muted);
}
html.dark .contact-card-value,
html.dark .contact-card-value a {
  color: var(--c-text);
}
html.dark .contact-form-wrap {
  background: var(--c-surface);
  border-color: var(--c-border);
  box-shadow: 0 4px 32px rgba(0,0,0,.35);
}
html.dark .contact-form-title,
html.dark .thm-sec-title-contact,
html.dark .contact-lead {
  color: var(--c-text);
}
html.dark .cf-input {
  background: var(--c-bg2);
  border-color: var(--c-border);
  color: var(--c-text);
}
html.dark .cf-input::placeholder {
  color: var(--c-muted);
}
html.dark .cf-input:focus {
  background: var(--c-surface);
  border-color: var(--c-primary);
}
html.dark .cf-error {
  color: #f87171;
}
html.dark .cf-input--error {
  border-color: #ef4444 !important;
  background: rgba(239,68,68,.06) !important;
}

/* ── Single Product — Price, Qty, Meta ── */
html.dark .sp-price-on-request {
  background: linear-gradient(135deg, rgba(248,43,169,.12) 0%, rgba(196,35,138,.08) 100%);
  border-color: rgba(248,43,169,.35);
  color: #f472b6;
}
html.dark .sp-qty-wrap {
  background: var(--c-bg3);
  border-color: var(--c-border);
}
html.dark .sp-qty-input {
  background: transparent;
  color: var(--c-text);
}
html.dark .sp-qty-btn {
  color: var(--c-muted);
}
html.dark .sp-qty-btn:hover {
  background: rgba(248,43,169,.12);
  color: var(--c-primary);
}
html.dark .sp-wish-btn {
  background: var(--c-bg3);
  border-color: var(--c-border);
  color: var(--c-muted);
}
html.dark .sp-wish-btn:hover {
  background: rgba(248,43,169,.12);
  border-color: var(--c-primary);
  color: var(--c-primary);
}
html.dark .sp-meta-row {
  border-bottom-color: var(--c-border);
  color: var(--c-text);
}
html.dark .sp-meta-key {
  color: var(--c-muted);
}
html.dark .sp-meta-val,
html.dark .sp-meta-val a {
  color: var(--c-text);
}

/* ── Single Product — Shop Attributes Table ── */
html.dark .shop_attributes th,
html.dark .shop_attributes td {
  border-bottom-color: var(--c-border) !important;
  color: var(--c-text);
}
html.dark .shop_attributes th {
  background: var(--c-bg3) !important;
  color: var(--c-muted);
}
html.dark .shop_attributes tr:nth-child(even) {
  background: var(--c-bg2) !important;
}
html.dark .shop_attributes tr:nth-child(odd) {
  background: transparent !important;
}

/* ── Single Product — Tabs ── */
html.dark .product-single-tabs .woocommerce-tabs ul.tabs {
  background: var(--c-bg3);
  border-color: var(--c-border);
}
html.dark .product-single-tabs .woocommerce-tabs ul.tabs li a {
  color: var(--c-muted);
}
html.dark .product-single-tabs .woocommerce-tabs ul.tabs li.active a {
  color: var(--c-primary);
  background: var(--c-surface);
}
html.dark .product-single-tabs .woocommerce-tabs .panel {
  background: var(--c-surface);
  border-color: var(--c-border);
}

/* ── Single Product — WA / Call Buttons ── */
html.dark .sp-wa-btn {
  background: rgba(37,211,102,.08);
  border-color: rgba(37,211,102,.3);
  color: #4ade80;
}
html.dark .sp-wa-btn:hover {
  background: #25d366;
  color: #fff;
}
html.dark .sp-call-btn {
  background: rgba(248,43,169,.08);
  border-color: rgba(248,43,169,.3);
  color: #f472b6;
}
html.dark .sp-call-btn:hover {
  background: var(--c-primary);
  color: #fff;
}

/* ── Quick View Modal ── */
html.dark .kavkaz-qv {
  background: var(--c-surface);
}
html.dark .kavkaz-qv-close {
  background: var(--c-bg3);
  border-color: var(--c-border);
  color: var(--c-muted);
}
html.dark .kavkaz-qv-close:hover {
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.3);
  color: #f87171;
}
html.dark .qv-product-title {
  color: var(--c-text);
}
html.dark .qv-price-current {
  color: var(--c-primary);
}
html.dark .qv-price-old {
  color: var(--c-muted);
}
html.dark .qv-stock-badge {
  background: rgba(16,185,129,.12);
  color: #34d399;
}
html.dark .qv-qty-wrap {
  background: var(--c-bg3);
  border-color: var(--c-border);
}
html.dark .qv-qty-btn {
  color: var(--c-muted);
}
html.dark .qv-qty-btn:hover {
  color: var(--c-primary);
  background: rgba(248,43,169,.1);
}
html.dark .qv-qty-input {
  background: transparent;
  color: var(--c-text);
}
html.dark .qv-detail-btn {
  background: var(--c-bg3);
  border-color: var(--c-border);
  color: var(--c-muted);
}
html.dark .qv-detail-btn:hover {
  background: var(--c-surface);
  color: var(--c-primary);
  border-color: var(--c-primary);
}
html.dark .qv-wish-btn {
  background: var(--c-bg3);
  border-color: var(--c-border);
  color: var(--c-muted);
}
html.dark .qv-wish-btn:hover,
html.dark .qv-wish-btn.is-wishlisted {
  background: rgba(248,43,169,.12);
  border-color: rgba(248,43,169,.35);
  color: var(--c-primary);
}
html.dark .qv-footer-wa {
  background: rgba(37,211,102,.1);
  border-color: rgba(37,211,102,.25);
  color: #4ade80;
}
html.dark .qv-footer-wa:hover {
  background: #25d366;
  color: #fff;
}
html.dark #qv-modal-bd {
  background: rgba(0,0,0,.7);
}

/* ── Page Banner ── */
html.dark .page-banner {
  background: linear-gradient(135deg, #c4238a 0%, #7c3aed 100%);
}
html.dark .banner-breadcrumb a {
  color: rgba(255,255,255,.75);
}
html.dark .banner-breadcrumb .breadcrumb-sep {
  color: rgba(255,255,255,.4);
}

/* ── Wishlist Drawer ── */
html.dark .wl-drawer {
  background: var(--c-surface);
}
html.dark .wl-drawer-header {
  border-bottom-color: var(--c-border);
}
html.dark .wl-drawer-title {
  color: var(--c-text);
}
html.dark .wl-item {
  background: var(--c-bg2);
  border-color: var(--c-border);
}
html.dark .wl-item:hover {
  background: var(--c-bg3);
}
html.dark .wl-item-title {
  color: var(--c-text);
}
html.dark .wl-item-price {
  color: var(--c-primary);
}
html.dark .wl-item-remove {
  color: var(--c-muted);
}
html.dark .wl-item-remove:hover {
  color: #f87171;
}
html.dark .wl-item-atc {
  background: var(--c-bg3);
  border-color: var(--c-border);
  color: var(--c-muted);
}
html.dark .wl-item-atc:hover,
html.dark .wl-item-atc--in-cart {
  background: rgba(248,43,169,.12);
  border-color: var(--c-primary);
  color: var(--c-primary);
}
html.dark .wl-empty-msg {
  color: var(--c-muted);
}

/* ── Account / Login / Register Pages ── */
html.dark .ma-tab-btn {
  color: var(--c-muted);
  border-color: var(--c-border);
}
html.dark .ma-tab-btn.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
html.dark .ma-form-group input,
html.dark .ma-form-group select {
  background: var(--c-bg3);
  border-color: var(--c-border);
  color: var(--c-text);
}
html.dark .ma-form-group input::placeholder {
  color: var(--c-muted);
}
html.dark .ma-form-label {
  color: var(--c-muted);
}

/* ── Single Blog Post ── */
html.dark .single-post-wrap {
  background: var(--c-surface);
  box-shadow: 0 4px 32px rgba(0,0,0,.3);
}
html.dark .single-post-meta {
  background: var(--c-bg3);
  border-color: var(--c-border);
}
html.dark .single-post-meta span,
html.dark .single-post-meta a {
  color: var(--c-muted);
}
html.dark .post-content h1,
html.dark .post-content h2,
html.dark .post-content h3,
html.dark .post-content h4 {
  color: var(--c-text);
}
html.dark .post-content p,
html.dark .post-content li {
  color: var(--c-text);
}
html.dark .post-content blockquote {
  background: rgba(248,43,169,.07);
  border-left-color: var(--c-primary);
  color: var(--c-muted);
}
html.dark .post-content code {
  background: var(--c-bg3);
  color: #f472b6;
}
html.dark .post-tags-wrap .post-tag {
  background: var(--c-bg3);
  border-color: var(--c-border);
  color: var(--c-muted);
}
html.dark .post-tags-wrap .post-tag:hover {
  background: rgba(248,43,169,.12);
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* ── Sidebar Widgets ── */
html.dark .widget-card {
  background: var(--c-surface);
  border-color: var(--c-border);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
html.dark .shop-widget-title,
html.dark .widget-title {
  color: var(--c-text);
  border-bottom-color: var(--c-border);
}
html.dark .widget ul li a {
  color: var(--c-muted);
}
html.dark .widget ul li a:hover {
  color: var(--c-primary);
}
html.dark #wpsidebar input[type="text"],
html.dark #wpsidebar input[type="search"] {
  background: var(--c-bg3);
  border-color: var(--c-border);
  color: var(--c-text);
}

/* ── Footer ── */
html.dark .site-footer {
  background: #080810;
}
html.dark .footer-widget-title {
  color: #fff;
}
html.dark .footer-bottom {
  border-top-color: rgba(255,255,255,.06);
}
html.dark .footer-bottom p {
  color: rgba(255,255,255,.4);
}
html.dark .footer-link {
  color: rgba(255,255,255,.5);
}
html.dark .footer-link:hover {
  color: var(--c-primary);
}
html.dark .footer-social-link {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
}
html.dark .footer-social-link:hover {
  background: rgba(248,43,169,.15);
  border-color: rgba(248,43,169,.35);
  color: var(--c-primary);
}

/* ── Toastify Notifications ── */
html.dark .toastify.toast-success {
  background: linear-gradient(135deg, #065f46, #047857) !important;
}
html.dark .toastify.toast-error {
  background: linear-gradient(135deg, #7f1d1d, #991b1b) !important;
}
html.dark .toastify.toast-info {
  background: linear-gradient(135deg, #1e1b4b, #312e81) !important;
}

/* ── Skeleton loaders in dark ── */
html.dark .skel-shimmer,
html.dark .blog-skel-img,
html.dark .blog-skel-meta,
html.dark .blog-skel-title,
html.dark .qv-skel-main-img,
html.dark .qv-skel-title,
html.dark .qv-skel-price,
html.dark .qv-skel-stars,
html.dark .qv-skel-cat {
  background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-border) 50%, var(--c-bg3) 75%) !important;
  background-size: 200% 100% !important;
}

/* ── Honeypot field ── */
html.dark .honeypot {
  display: none !important;
}

/* ── Primary light token in dark ── */
html.dark .section-tag {
  background: rgba(248,43,169,.15);
  color: #f472b6;
}

/* ── Haqqımızda page ── */
html.dark .about-box,
html.dark .about-card {
  background: var(--c-surface);
  border-color: var(--c-border);
}

/* ── Gallery ── */
html.dark .gallery-item {
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
html.dark .gallery-item:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}

/* ══════════════════════════════════════════════
   BROKEN IMAGE PLACEHOLDER — 3-D gift
══════════════════════════════════════════════ */
.broken-img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 80px;
  background: linear-gradient(135deg, #fde8f4 0%, #f0e7ff 60%, #fde8f4 100%);
  background-size: 300% 300%;
  border-radius: inherit;
  position: relative;
  overflow: hidden;
  animation: bph-bg-move 6s ease-in-out infinite;
}

@keyframes bph-bg-move {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.broken-img-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 30%,
    rgba(255, 255, 255, .6) 50%,
    transparent 70%
  );
  animation: bph-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bph-shimmer {
  0%   { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

.bph-gift {
  animation: bph-float 3.4s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(248, 43, 169, .24));
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

@keyframes bph-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.bph-s1 { animation: bph-twinkle 1.9s ease-in-out infinite; }
.bph-s2 { animation: bph-twinkle 2.4s ease-in-out infinite .5s; }
.bph-s3 { animation: bph-twinkle 1.6s ease-in-out infinite .3s; }
.bph-s4 { animation: bph-twinkle 2.1s ease-in-out infinite .7s; }
.bph-s5 { animation: bph-twinkle 1.8s ease-in-out infinite 1s; }

@keyframes bph-twinkle {
  0%, 100% { opacity: .15; transform: scale(.6) rotate(-15deg); }
  50%       { opacity: 1;   transform: scale(1.2) rotate(15deg); }
}

html.dark .broken-img-ph {
  background: linear-gradient(135deg, #3d0b24 0%, #24103d 60%, #3d0b24 100%);
}

html.dark .broken-img-ph::before {
  background: linear-gradient(
    108deg,
    transparent 30%,
    rgba(255, 255, 255, .06) 50%,
    transparent 70%
  );
}
