/* ============================================================
   Wearables Forever — "Gemstone" ninetheme style recreation
   Tokens, header, hero, cards, shop, product, footer
   ============================================================ */
:root {
  --ninetheme-font: 'Jost', sans-serif;
  --ninetheme-font-heading: 'Jost', sans-serif;
  --ninetheme-primary: #151616;
  --ninetheme-primary-bg: #F1FFE1;
  --ninetheme-primary-bg-soft: #f8f8f8;
  --ninetheme-secondary: #e30a0a;
  --ninetheme-secondary-bg: #fef2f2;
  --ninetheme-secondary-bg-soft: #fff8f0;
  --ninetheme-text: #4e4e4e;
  --ninetheme-text-soft: #949494;
  --ninetheme-dark: #161616;
  --ninetheme-dark-soft: #343131;
  --ninetheme-light: #FFFFFF;
  --ninetheme-light-soft: #bdbdbd;
  --ninetheme-gray: #E1E2E3;
  --ninetheme-gray-dark: #595959;
  --ninetheme-gray-soft: #f7f7f7;
  --ninetheme-border: #EAEBED;
  --ninetheme-dark-border: #060606;
  --ninetheme-success: #398f14;
  --ninetheme-green: #019267;
  --ninetheme-green-soft: #0ECEA6;
  --ninetheme-green-bg: #DFFFF8;
  --ninetheme-red: #DA3F3F;
  --ninetheme-red-dark: #B20808;
  --ninetheme-red-bg: #FCE8E6;
  --ninetheme-red-border: #FFBFC1;
  --ninetheme-yellow: #ffdc00;
  --ninetheme-blue-soft: #1E96FC;
  --ninetheme-blue-bg: #E0F0FF;
  --ninetheme-border-radius: 5px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ninetheme-font);
  font-weight: 400; font-size: 14px; line-height: 1.6;
  color: var(--ninetheme-text);
  background: var(--ninetheme-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--ninetheme-font-heading); font-weight: 500; color: var(--ninetheme-dark); }
h1 { font-size: 44.8px; line-height: 1.2; }
h2 { font-size: 37.3px; line-height: 1.2; }
h3 { font-size: 31.1px; line-height: 1.3; }
h4 { font-size: 25.9px; }
h5 { font-size: 21.6px; }
h6 { font-size: 18px; }
p { margin: 0; }
button, input, select { font-family: inherit; font-size: inherit; }
.container { max-width: 1580px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ninetheme-text-soft); }
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.text-uppercase { text-transform: uppercase; }
svg { display: block; }

/* ---------- buttons ---------- */
.ninetheme-btn {
  font-size: 13px; font-weight: 400; text-align: center;
  color: var(--ninetheme-light); fill: var(--ninetheme-light);
  padding: 10px 15px; letter-spacing: 0.3px; line-height: 1;
  display: inline-block; position: relative; cursor: pointer;
  border: 0; border-radius: var(--ninetheme-border-radius);
  background: none; transition: all .25s ease-out;
}
.ninetheme-btn svg { width: 1em; height: 1em; fill: currentColor; }
.ninetheme-btn-primary { color: var(--ninetheme-light); background-color: var(--ninetheme-primary); }
.ninetheme-btn-primary:hover { background-color: var(--ninetheme-secondary); }
.ninetheme-btn-secondary { color: var(--ninetheme-light); background-color: var(--ninetheme-secondary); }
.ninetheme-btn-secondary:hover { background-color: var(--ninetheme-primary); }
.ninetheme-bordered { background: transparent; border: 2px solid var(--ninetheme-primary); color: var(--ninetheme-primary); fill: var(--ninetheme-primary); }
.ninetheme-bordered:hover { background-color: var(--ninetheme-secondary); border-color: var(--ninetheme-secondary); color: var(--ninetheme-light); fill: var(--ninetheme-light); }
.ninetheme-btn-text { background: transparent; color: var(--ninetheme-dark); padding: 0; letter-spacing: 0; }
.ninetheme-btn-large { padding: 18px 30px; font-size: 16px; }
.ninetheme-btn-medium { padding: 12px 24px; }
.ninetheme-btn-small { padding: 6px 12px; letter-spacing: 0; }
.has-icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-direction: row; }
.icon-after { flex-direction: row-reverse; }

.ninetheme-product-cart.has-icon {
  position: relative; overflow: hidden; display: inline-flex;
  flex-direction: column; justify-content: center; align-items: center;
  line-height: normal; padding: 0 20px; min-height: 40px;
}
.ninetheme-product-cart.has-icon > * { transition: transform .35s cubic-bezier(.31,-.105,.43,1.4); }
.ninetheme-product-cart.has-icon svg { position: absolute; width: 20px; height: 20px; transform: translateY(200%); margin-right: 0; }
.ninetheme-product-cart.has-icon:hover > .cart-text { transform: translateY(-200%); }
.ninetheme-product-cart.has-icon:hover > svg { transform: translateY(0); }

/* ---------- labels / badges ---------- */
.ninetheme-label {
  color: var(--ninetheme-light); background-color: var(--ninetheme-blue-soft);
  height: 20px; padding: 0 7px; font-size: 10px; font-weight: 600;
  line-height: 1.4; border-radius: var(--ninetheme-border-radius);
  text-transform: uppercase; letter-spacing: 0.3px;
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
}
.ninetheme-label.badge-def { color: var(--ninetheme-secondary); background-color: var(--ninetheme-secondary-bg); }
.ninetheme-bg-primary { color: var(--ninetheme-light); border-color: var(--ninetheme-primary); background-color: var(--ninetheme-primary); }

/* ---------- star rating ---------- */
.star-rating {
  position: relative; overflow: hidden; display: inline-flex; align-items: center;
  width: max-content; font-size: 12px; line-height: 1;
}
.star-rating::before { content: "\2605\2605\2605\2605\2605"; color: var(--ninetheme-gray); letter-spacing: 2px; }
.star-rating > span {
  position: absolute; top: 0; left: 0; overflow: hidden; height: 100%; font-size: 0;
}
.star-rating > span::before {
  content: "\2605\2605\2605\2605\2605"; position: absolute; top: 0; left: 0;
  color: var(--ninetheme-yellow); letter-spacing: 2px; font-size: 12px; line-height: 1;
}
.star-rating > span { padding-right: 2px; }

/* ---------- breadcrumb ---------- */
.ninetheme-breadcrumb { display: inline-flex; flex-wrap: wrap; }
.ninetheme-breadcrumb li { display: inline-flex; align-items: center; }
.ninetheme-breadcrumb li a, .ninetheme-breadcrumb li > span {
  color: var(--ninetheme-dark); font-size: 10px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.3px; display: inline-flex;
  align-items: center; max-width: 100%;
}
.ninetheme-breadcrumb li.active > span { font-weight: 500; max-width: 247px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ninetheme-breadcrumb li + li::before {
  content: ""; display: inline-block; width: 4px; height: 4px;
  background-color: var(--ninetheme-gray); border-radius: 50%;
  margin: 2px 8px 0;
}
.ninetheme-product-breadcrumb-nav { padding: 26px 0 0; }

/* ============================================================
   PROMOTION BAR + HEADER
   ============================================================ */
.ninetheme-promotion-bar {
  display: flex; justify-content: center; align-items: center; position: relative;
  min-height: 30px; padding: 0 20px;
  background: linear-gradient(270deg, #060606 0%, #000 73%, #080808 100%);
  color: var(--ninetheme-light); font-size: 12px; text-align: center;
}
.ninetheme-promotion-bar .inner { max-width: 1380px; }
.ninetheme-promotion-bar .inner b { font-weight: 500; letter-spacing: .3px; }
.ninetheme-promotion-bar .panel-close {
  position: absolute; right: 15px; top: 6px; width: 20px; height: 20px;
  cursor: pointer; opacity: .9;
}
.ninetheme-promotion-bar .panel-close::before,
.ninetheme-promotion-bar .panel-close::after {
  content: ""; position: absolute; left: 9px; top: 4px; width: 2px; height: 12px;
  background: #fff; border-radius: 2px;
}
.ninetheme-promotion-bar .panel-close::before { transform: rotate(45deg); }
.ninetheme-promotion-bar .panel-close::after { transform: rotate(-45deg); }
.ninetheme-promotion-bar.closed { display: none; }

.ninetheme-header {
  position: sticky; top: 0; z-index: 105;
  background: var(--ninetheme-light);
  border-bottom: 1px solid var(--ninetheme-border);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.ninetheme-header-inner { max-width: 1580px; margin: 0 auto; padding: 0 20px; }

/* top utility row */
.ninetheme-header-top {
  max-height: 80px;
  font-size: 10px; text-transform: uppercase; font-weight: 500; letter-spacing: .3px;
  border-bottom: 1px solid var(--ninetheme-border); background: var(--ninetheme-light);
}
.ninetheme-header-top .ninetheme-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 20px; }
.ninetheme-header-top svg { width: 12px; height: 12px; fill: currentColor; flex: none; }
.ninetheme-header-top .ht-left span, .ninetheme-header-top .ht-right span { display: inline-flex; align-items: center; gap: 6px; }
.ninetheme-header-top .ht-left, .ninetheme-header-top .ht-right { display: flex; align-items: center; gap: 16px; }
.ninetheme-header-top a { color: var(--ninetheme-gray-dark); }
.ninetheme-header-top a:hover { color: var(--ninetheme-secondary); }
.social-icons { display: flex; gap: 12px; }
.social-icons a { color: var(--ninetheme-gray-dark); font-size: 12px; }
.social-icons a:hover { color: var(--ninetheme-secondary); }

/* middle row */
.ninetheme-header-middle { min-height: 85px; max-height: 160px; }
.ninetheme-header-middle .ninetheme-header-inner { display: flex; align-items: center; gap: 40px; min-height: 85px; }
.header-text-logo { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ninetheme-dark); line-height: 1.1; }
.header-text-logo b { color: var(--ninetheme-secondary); font-weight: 700; }
.logo-tagline { font-size: 10px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--ninetheme-text-soft); margin-top: 2px; }

.ajax-search { margin-left: auto; width: 100%; max-width: 500px; }
.ajax-search form { display: flex; width: 100%; height: 50px; border: 1px solid var(--ninetheme-border); border-radius: 5px; background: var(--ninetheme-light); padding: 5px; }
.ajax-search select {
  border: 0; border-right: 1px solid var(--ninetheme-border); background: transparent;
  color: var(--ninetheme-gray-dark); font-size: 12px; padding: 0 15px; cursor: pointer; outline: none; max-width: 150px;
}
.ajax-search input {
  flex: 1; border: 0; outline: none; padding: 0 14px; color: var(--ninetheme-gray-dark); min-width: 0;
}
.ajax-search input::placeholder { color: var(--ninetheme-gray-dark); }
.ajax-search button {
  min-width: 45px; border: 0; background: none; cursor: pointer; color: var(--ninetheme-text);
  display: flex; align-items: center; justify-content: center;
}
.ajax-search button svg { width: 22px; height: 22px; fill: var(--ninetheme-text); }

.header-actions-icons { display: flex; align-items: center; gap: 6px; }
.header-currency-wrap { display: inline-flex; align-items: center; margin-right: 4px; }
.rate-dot { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; margin-right: 6px; flex: none; }
.rate-dot.live { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.ninetheme-currency-select {
  appearance: none; -webkit-appearance: none; background: #fff;
  border: 1px solid var(--ninetheme-border); border-radius: 4px; padding: 7px 24px 7px 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
  color: var(--ninetheme-gray-dark); cursor: pointer; line-height: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%23666' d='M4 5 0 0h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center;
}
.ninetheme-currency-select:hover, .ninetheme-currency-select:focus { border-color: var(--ninetheme-primary); outline: none; }
.top-action-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; color: var(--ninetheme-text); font-size: 14px;
  border: 0; background: none; cursor: pointer; border-radius: var(--ninetheme-border-radius);
}
.top-action-btn svg { width: 20px; height: 20px; fill: currentColor; }
.top-action-btn:hover { color: var(--ninetheme-secondary); }
.ninetheme-wc-count {
  position: absolute; right: -4px; top: -4px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--ninetheme-secondary); color: var(--ninetheme-light);
  font-size: 9px; font-weight: 500; line-height: 16px; text-align: center;
  border-radius: 20px;
}

/* bottom row */
.ninetheme-header-bottom { border-top: 1px solid var(--ninetheme-border); border-bottom: 1px solid var(--ninetheme-border); padding: 5px 0; }
.ninetheme-header-bottom .ninetheme-header-inner { display: flex; align-items: center; min-height: 44px; gap: 40px; }

.ninetheme-category-menu { position: relative; }
.ninetheme-category-menu .menu-title {
  display: flex; align-items: center; gap: 10px; min-width: 230px;
  padding: 13px 15px; background: var(--ninetheme-primary); color: var(--ninetheme-primary-bg);
  font-size: 14px; font-weight: 500; text-transform: uppercase; border-radius: var(--ninetheme-border-radius);
  cursor: pointer;
}
.ninetheme-category-menu .menu-title svg { width: 20px; height: 20px; fill: currentColor; }
.ninetheme-category-menu .submenu {
  min-width: 230px; background: var(--ninetheme-light); border: 1px solid var(--ninetheme-border);
  border-radius: 0 0 5px 5px; position: absolute; top: 100%; left: 0; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: opacity .4s cubic-bezier(.19,1,.22,1), visibility .4s, transform .4s cubic-bezier(.19,1,.22,1);
  box-shadow: -4px -2px 30px 2px rgba(0,0,0,.17);
  max-height: 560px; overflow: auto;
}
.ninetheme-category-menu:hover .submenu { opacity: 1; visibility: visible; transform: none; }
.ninetheme-category-menu .submenu li a {
  display: flex; align-items: center; gap: 10px; padding: 9px 15px;
  font-size: 13px; color: var(--ninetheme-gray-dark); border-bottom: 1px solid var(--ninetheme-border);
}
.ninetheme-category-menu .submenu li a .count { margin-left: auto; font-size: 10px; color: var(--ninetheme-text-soft); }
.ninetheme-category-menu .submenu li a:hover { background: var(--ninetheme-dark); color: var(--ninetheme-light); }
.ninetheme-category-menu .submenu li a:hover .count { color: var(--ninetheme-primary-bg); }
.ninetheme-category-menu .submenu li:last-child a { border-bottom: 0; }

.header-mainmenu ul { display: flex; align-items: center; gap: 20px; }
.header-mainmenu a {
  font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .2px;
  color: var(--ninetheme-gray-dark); line-height: 1; padding: 10px 0; display: inline-flex; align-items: center; gap: 6px;
}
.header-mainmenu a:hover, .header-mainmenu a.active { color: var(--ninetheme-primary); }

/* sticky menu on scroll: collapse top + logo rows, keep menu bar */
.ninetheme-header-top,
.ninetheme-header-middle {
  transition: max-height .4s cubic-bezier(.4,0,.2,1), min-height .4s cubic-bezier(.4,0,.2,1), opacity .4s ease, padding .4s ease;
}
.ninetheme-header.is-scrolled .ninetheme-header-top,
.ninetheme-header.is-scrolled .ninetheme-header-middle {
  max-height: 0; min-height: 0; opacity: 0; visibility: hidden; overflow: hidden;
  padding-top: 0; padding-bottom: 0; pointer-events: none; border-width: 0;
}

/* ============================================================
   PAGE HERO (shop / category / search)
   ============================================================ */
.ninetheme-page-hero {
  position: relative; overflow: hidden; text-align: center; padding: 50px 0;
  background-color: var(--ninetheme-gray-soft); border-bottom: 1px solid var(--ninetheme-border);
  display: flex; align-items: center; margin-top: -1px;
}
.ninetheme-page-hero-content { position: relative; z-index: 2; }
.ninetheme-page-hero .page-title { margin: 0 0 10px; font-size: 26px; }
.ninetheme-page-hero-content .term-description { max-width: 767px; margin: 15px auto 0; }
.ninetheme-page-hero-content .term-description p { margin: 0; }
.ninetheme-page-hero .ninetheme-breadcrumb { margin-top: 4px; }

/* ============================================================
   HERO SLIDER (home)
   ============================================================ */
.hero-slider { position: relative; background: #0c0c0d; color: var(--ninetheme-light); overflow: hidden; }
.hero-slide {
  position: relative; display: none; align-items: center; min-height: 560px; padding: 60px 0;
}
.hero-slide.active { display: flex; animation: heroFade .7s ease; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1200px 500px at 85% 40%, rgba(227,10,10,.22), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(25,25,27,.9), transparent 55%);
}
.hero-slide.slide-red { background: linear-gradient(100deg, #1d0a0a 0%, #2c0f0f 60%, #160a0a 100%); }
.hero-slide.slide-red::before {
  background: radial-gradient(1000px 480px at 80% 30%, rgba(255,150,120,.16), transparent 60%);
}
.hero-content-wrap { max-width: 1340px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero-price-badge {
  display: inline-block; background: var(--ninetheme-red); color: var(--ninetheme-light);
  font-size: 14px; padding: 5px 20px; margin-bottom: 20px; border-radius: 5px;
}
.hero-slide-head {
  font-size: 48px; line-height: 1.15; color: var(--ninetheme-light); margin: 0; font-weight: 500;
}
.hero-slide-head .stroke { -webkit-text-stroke: 1px #DA3F3F; color: transparent; }
.hero-slide-text { font-size: 18px; line-height: 1.8; color: rgba(255,255,255,.85); margin: 26px 0 30px; }
.hero-slide-links { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-slide-links .ninetheme-btn-primary { background: var(--ninetheme-primary); }
.hero-slide-links .ninetheme-btn-primary:hover { background: var(--ninetheme-secondary); }
.hero-slide-links .ninetheme-bordered { border-color: rgba(255,255,255,.6); color: var(--ninetheme-light); }
.hero-slide-links .ninetheme-bordered:hover { border-color: var(--ninetheme-secondary); background: var(--ninetheme-secondary); }
.hero-visual {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  width: 340px; height: 340px; z-index: 1; display: flex; align-items: center; justify-content: center;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--ninetheme-secondary); opacity: .55; filter: blur(2px);
}
.hero-visual::after {
  content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.45);
}
.hero-visual img { position: relative; width: 280px; height: 280px; object-fit: cover; border-radius: 50%; z-index: 1; box-shadow: 0 25px 50px rgba(0,0,0,.45); }
.hero-dots { position: absolute; left: 20px; bottom: 34px; display: flex; gap: 9px; z-index: 3; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 100%; border: 1px solid var(--ninetheme-gray);
  background: transparent; cursor: pointer; padding: 0; position: relative;
}
.hero-dots button.active { border-color: var(--ninetheme-light); background: var(--ninetheme-light); }
.hero-arrows { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; z-index: 3; pointer-events: none; }
.hero-arrows button {
  pointer-events: auto; width: 44px; height: 44px; border-radius: 100%;
  border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.35);
  color: #fff; font-size: 18px; cursor: pointer; line-height: 1;
  position: absolute; top: 0; transition: all .25s ease-out;
}
.hero-arrows button:hover { background: var(--ninetheme-secondary); border-color: var(--ninetheme-secondary); }
.hero-arrows .prev { left: 20px; }
.hero-arrows .next { right: 20px; }

/* ============================================================
   HOME SECTIONS
   ============================================================ */
.ninetheme-section { padding: 50px 0; }
.ninetheme-section.bg-soft { background: var(--ninetheme-gray-soft); }
.ninetheme-widget-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; position: relative; }
.ninetheme-widget-header .ninetheme-tab-title { margin: 0; text-transform: capitalize; font-size: 21.6px; }
.ninetheme-widget-header .header-desc {
  font-size: 12px; color: var(--ninetheme-text-soft); margin-left: 20px;
  padding-left: 20px; border-left: 2px solid #eee;
}

/* sale banners */
.banners-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 50px 0 0; }
.ninetheme-woo-banner {
  position: relative; overflow: hidden; border-radius: var(--ninetheme-border-radius); min-height: 300px;
  display: flex; align-items: flex-end;
}
.ninetheme-woo-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s cubic-bezier(.19,1,.22,1) .15s;
}
.ninetheme-woo-banner:hover img { transform: scale(1.08); }
.ninetheme-woo-banner::before { content: ""; position: absolute; inset: 0; background: rgba(22,22,22,.35); z-index: 1; }
.ninetheme-woo-banner .banner-content {
  position: relative; z-index: 2; padding: 30px; color: var(--ninetheme-light);
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start; width: 100%;
}
.ninetheme-woo-banner .banner-title { margin: 0; color: var(--ninetheme-light); font-size: 28px; }
.ninetheme-woo-banner .banner-text { color: rgba(255,255,255,.85); font-size: 14px; max-width: 320px; }
.ninetheme-woo-banner .ninetheme-btn { margin-top: 10px; background: var(--ninetheme-dark); }
.ninetheme-woo-banner .ninetheme-btn:hover { background: var(--ninetheme-secondary); }

/* marquee */
.marquee { overflow: hidden; padding: 12px 0; position: relative; }
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; white-space: nowrap; padding: 0 30px; }
.marquee-item b {
  font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .7px;
  color: transparent; -webkit-text-stroke: 1px #DA3F3F;
}
.marquee-item svg { width: 18px; height: 18px; fill: #DA3F3F; margin-left: 30px; }

/* tab wrapper style-3 */
.tab-wrapper.style-3 { border: 2px solid var(--ninetheme-green); border-radius: 10px; }
.tab-wrapper .tab-header { border-bottom: 2px solid var(--ninetheme-green); padding: 20px 20px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tab-wrapper .tab-header h2 { margin: 0; text-transform: capitalize; font-size: 21.6px; }
.tab-wrapper .tab-header .tab-menu { display: flex; gap: 14px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .2px; }
.tab-wrapper .tab-header .tab-menu a { color: var(--ninetheme-dark-soft); }
.tab-wrapper .tab-header .tab-menu a:hover, .tab-wrapper .tab-header .tab-menu a.active { color: var(--ninetheme-primary); }
.tab-wrapper .tab-content { padding: 20px; }
.slide-nav {
  width: 35px; height: 35px; border-radius: 100%; background: var(--ninetheme-primary); color: var(--ninetheme-light);
  border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.slide-nav:disabled { opacity: .35; cursor: default; }
.slide-nav svg { width: 16px; height: 16px; fill: currentColor; }
.section-head-actions { display: flex; align-items: center; gap: 8px; }

/* slide row (horizontal snap slider) */
.slide-row {
  display: flex; gap: 25px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 4px; padding-top: 4px;
}
.slide-row > .ninetheme-loop-product { flex: 0 0 250px; scroll-snap-align: start; }

/* ============================================================
   PRODUCT CARDS (type-2)
   ============================================================ */
.ninetheme-products {
  display: grid; gap: 25px 15px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.ninetheme-loop-product.type-2 {
  background-color: var(--ninetheme-light); border: 1px solid var(--ninetheme-border);
  border-radius: 5px; position: relative;
}
.ninetheme-loop-product .product-inner { position: relative; }
.ninetheme-loop-product .thumb-wrapper {
  position: relative; overflow: hidden; min-height: 235px;
  display: flex; align-items: center; justify-content: center; background: #fafafa;
}
.ninetheme-loop-product .thumb-wrapper img { width: auto; max-width: 100%; max-height: 235px; object-fit: cover; }
.ninetheme-loop-product .thumb-wrapper .hover-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: cover; z-index: 2; background: #fafafa;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.ninetheme-loop-product.type-2:hover .hover-img { opacity: 1; visibility: visible; }
.ninetheme-loop-product.type-2 .details-wrapper { padding: 15px; border-top: 1px solid var(--ninetheme-border); }
.ninetheme-loop-product.type-2 .details-inner { display: flex; flex-direction: column; gap: 10px; }
.ninetheme-loop-product .product-name { font-size: 14px; line-height: 1.6; margin: 0; font-weight: 400; }
.ninetheme-loop-product .product-name a { color: var(--ninetheme-dark); }
.ninetheme-loop-product .product-name a:hover { color: var(--ninetheme-primary); text-decoration: underline; }
.ninetheme-loop-product .product-price { display: flex; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ninetheme-primary); text-transform: uppercase; }
.ninetheme-loop-product .product-price del { font-size: 12px; color: var(--ninetheme-red); font-weight: 500; }
.ninetheme-loop-product .product-price ins { text-decoration: none; }
.ninetheme-loop-product .product-stock { display: inline-flex; gap: 6px; font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .4px; align-items: center; }
.ninetheme-loop-product .product-stock .stock-dot { width: 6px; height: 6px; border-radius: 100%; }
.ninetheme-loop-product .product-stock.instock { color: var(--ninetheme-green); }
.ninetheme-loop-product .product-stock.instock .stock-dot { background: var(--ninetheme-green); }
.ninetheme-loop-product .product-stock.outofstock { color: var(--ninetheme-red); }
.ninetheme-loop-product .product-stock.outofstock .stock-dot { background: var(--ninetheme-red); }

/* hover action buttons */
.ninetheme-loop-product.type-2 .product-actions {
  position: absolute; top: 10px; right: 10px; z-index: 6;
  display: flex; flex-direction: column;
  background-color: var(--ninetheme-light); border: 1px solid var(--ninetheme-border);
  border-radius: 3px; opacity: 0; visibility: hidden;
  box-shadow: 0 0 11px rgba(0,0,0,.12);
  transition: opacity .25s ease, visibility .25s ease;
}
.ninetheme-loop-product.type-2:hover .product-actions { opacity: 1; visibility: visible; }
.ninetheme-product-button {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 35px; height: 35px; border: 0; background: none; cursor: pointer; color: var(--ninetheme-gray-dark);
}
.ninetheme-product-button + .ninetheme-product-button { border-top: 1px solid var(--ninetheme-border); }
.ninetheme-product-button svg { width: 18px; height: 18px; fill: currentColor; }
.ninetheme-product-button:hover { color: var(--ninetheme-primary); }
.ninetheme-hint {
  position: absolute; top: -25px; left: 50%; transform: translateX(-50%);
  background: var(--ninetheme-primary); color: var(--ninetheme-light); font-size: 11px;
  line-height: 1; padding: 7px 9px; border-radius: 3px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: .3s ease; box-shadow: 0 7px 15px rgba(0,0,0,.3); z-index: 20;
}
.ninetheme-hint::after {
  content: ""; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--ninetheme-primary); border-bottom: 0;
}
.ninetheme-product-button:hover .ninetheme-hint { opacity: 1; visibility: visible; top: -34px; transition-delay: .1s; }

/* labels on thumb */
.ninetheme-loop-product .product-labels {
  position: absolute; top: 10px; left: 15px; z-index: 5;
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
}
.ninetheme-loop-product .product-labels .ninetheme-discount { border-radius: 5px; }

/* footer add-to-cart */
.ninetheme-loop-product.type-2 .product-footer { margin-top: 10px; width: 100%; }
.ninetheme-loop-product.type-2 .product-footer .ninetheme-btn { width: 100%; border-radius: 5px; margin-top: 15px; }
.ninetheme-loop-product.type-2 .content-hidden {
  position: absolute; inset: -15px; z-index: -1; background: transparent; border: none; border-radius: 5px;
  box-shadow: 0 25px 25px -12px rgba(33,37,41,.25);
  opacity: 0; visibility: hidden; transform: scale(.98); pointer-events: none;
  transition: opacity .3s, visibility .3s;
}
@media (min-width: 992px) {
  .ninetheme-loop-product.type-2 .product-footer { position: absolute; left: 15px; right: 15px; bottom: 15px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; margin-top: 0; z-index: 5; }
  .ninetheme-loop-product.type-2 .product-footer .ninetheme-btn { margin-top: 0; }
  .ninetheme-loop-product.type-2:hover .content-hidden { opacity: 1; visibility: visible; transform: scale(1); }
  .ninetheme-loop-product.type-2:hover .product-footer { opacity: 1; visibility: visible; }
  .ninetheme-loop-product.type-2:hover .details-inner { padding-bottom: 52px; transition: padding-bottom .3s; }
}

/* categories: banner card (left) + product grid (right) — per category row */
.cats-all-sections { display: flex; flex-direction: column; gap: 36px; }
.cats-product-row { display: grid; grid-template-columns: 400px 1fr; gap: 26px; align-items: stretch; }
.cats-banner { position: relative; border-radius: 8px; overflow: hidden; min-height: 420px; background: var(--ninetheme-gray-soft); }
.cats-banner-link { position: relative; display: block; width: 100%; height: 100%; }
.cats-banner-link img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; transition: transform .5s ease; }
.cats-banner:hover .cats-banner-link img { transform: scale(1.05); }
.cats-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.12) 52%, transparent 70%);
}
.cats-banner-content { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; }
.cats-banner-title {
  margin: 0 0 14px; color: var(--ninetheme-light); font-size: 24px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .4px;
}
.cats-banner-button {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px; border: 1px solid rgba(255,255,255,.55); border-radius: 30px;
  background: rgba(255,255,255,.14); color: var(--ninetheme-light);
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .4px;
  transition: background .3s ease, color .3s ease;
}
.cats-banner-button svg { width: 14px; height: 14px; fill: currentColor; }
.cats-banner:hover .cats-banner-button { background: var(--ninetheme-light); color: var(--ninetheme-dark); }
.cats-products-grid { min-width: 0; }
.cats-products-grid .ninetheme-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.cats-products-grid .ninetheme-woocommerce-pagination { margin-top: 22px; }
@media (max-width: 1200px) {
  .cats-product-row { grid-template-columns: 320px 1fr; gap: 20px; }
  .cats-products-grid .ninetheme-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cats-product-row { grid-template-columns: 1fr; gap: 18px; }
  .cats-banner, .cats-banner-link img { min-height: 280px; }
  .cats-products-grid .ninetheme-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .cats-products-grid .ninetheme-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* category tiles (legacy) */
.category-tiles {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.category-tile { display: block; border-radius: 8px; overflow: hidden; }
.category-tile-thumb {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--ninetheme-gray-soft);
}
.category-tile-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-tile:hover .category-tile-thumb img { transform: scale(1.07); }
.category-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.18) 45%, transparent 62%);
}
.category-tile-info {
  position: absolute; left: 16px; right: 52px; bottom: 14px; z-index: 2;
  display: flex; flex-direction: column; gap: 3px;
}
.category-tile-name {
  font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px;
  color: var(--ninetheme-light); line-height: 1.3;
}
.category-tile:hover .category-tile-name { color: var(--ninetheme-secondary); }
.category-tile-count { font-size: 11px; color: rgba(255,255,255,.82); text-transform: uppercase; letter-spacing: .4px; }
.category-tile-arrow {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 100%;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center; color: var(--ninetheme-light);
  transition: background .3s ease, color .3s ease, right .3s ease;
}
.category-tile-arrow svg { width: 15px; height: 15px; fill: currentColor; }
.category-tile:hover .category-tile-arrow { right: 10px; background: var(--ninetheme-light); color: var(--ninetheme-dark); }
.category-tile-fallback {
  display: flex; width: 100%; height: 100%; align-items: center; justify-content: center;
  font-size: 42px; color: var(--ninetheme-text-soft);
}
@media (max-width: 720px) {
  .category-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-tile-info { left: 10px; right: 36px; bottom: 10px; }
  .category-tile-name { font-size: 12px; }
  .category-tile-count, .category-tile-arrow { display: none; }
}

/* category circles (legacy) */
.cat-slide-row { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.cat-slide-row .category-item { flex: 0 0 210px; scroll-snap-align: start; text-align: center; }
.category-thumb {
  position: relative; width: 170px; height: 170px; margin: 0 auto; border-radius: 100%;
  border: 2px solid var(--ninetheme-gray); overflow: hidden; background: var(--ninetheme-gray-soft);
}
.category-thumb img { width: 100%; height: 100%; object-fit: cover; }
.category-thumb .count-badge {
  position: absolute; top: 10px; right: 10px; min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--ninetheme-dark); color: var(--ninetheme-light); font-size: 10px; line-height: 22px;
  border-radius: 30px; font-weight: 500; z-index: 2; box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.category-title-overlay {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2;
  background: rgba(255,255,255,.92); color: var(--ninetheme-dark); border-radius: 30px;
  padding: 4px 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
  max-width: 92%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(0,0,0,.14); backdrop-filter: blur(2px);
}
.category-item:hover .category-title-overlay { background: var(--ninetheme-dark); color: var(--ninetheme-light); }
.category-item .category-title { margin: 14px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--ninetheme-dark); font-weight: 500; }
.category-item .category-title span { color: var(--ninetheme-text-soft); letter-spacing: 0; text-transform: none; margin-left: 4px; }
.category-item:hover .category-title { color: var(--ninetheme-secondary); }

/* ============================================================
   SHOP / CATEGORY LAYOUT (with sidebar)
   ============================================================ */
.shop-container { display: grid; gap: 30px; grid-template-columns: 320px 1fr; align-items: start; padding: 30px 0 50px; }
.shop-container.no-sidebar { grid-template-columns: 1fr; }
.nt-sidebar { position: sticky; top: 140px; }
.nt-sidebar-inner-widget {
  background: var(--ninetheme-light); border: 1px solid var(--ninetheme-border);
  border-radius: var(--ninetheme-border-radius); padding: 20px; margin-bottom: 20px;
}
.nt-sidebar-inner-widget-title {
  font-size: 16px; font-weight: 500; color: var(--ninetheme-dark); margin: 0 0 16px;
  text-transform: capitalize; padding-bottom: 12px; border-bottom: 1px solid var(--ninetheme-border);
}
.widget-body ul { display: flex; flex-direction: column; gap: 10px; }
.widget-body ul a { color: var(--ninetheme-gray-dark); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.widget-body ul a:hover, .widget-body ul li.current-cat a { color: var(--ninetheme-primary); }
.widget-body ul a .count { margin-left: auto; font-size: 11px; color: var(--ninetheme-text-soft); }
.widget-product-search form { display: flex; height: 45px; border: 2px solid var(--ninetheme-border); border-radius: 0; }
.widget-product-search input { flex: 1; border: 0; outline: none; padding: 0 12px; min-width: 0; color: var(--ninetheme-gray-dark); }
.widget-product-search button { border: 0; background: var(--ninetheme-primary); color: var(--ninetheme-light); padding: 0 16px; cursor: pointer; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; }
.widget-product-search button:hover { background: var(--ninetheme-secondary); }
.widget-product-list .ninetheme-widget-product-list-inner { display: flex; gap: 12px; align-items: center; }
.widget-product-list img { width: 50px; height: 50px; object-fit: cover; border-radius: 3px; }
.widget-product-list .product-title { display: block; font-size: 13px; color: var(--ninetheme-dark); font-weight: 500; line-height: 1.3; }
.widget-product-list .product-title:hover { color: var(--ninetheme-primary); }
.widget-product-list .ninetheme-price { font-size: 13px; font-weight: 500; color: var(--ninetheme-primary); text-transform: uppercase; }
.widget-product-list .ninetheme-price del { font-size: 11px; color: var(--ninetheme-red); margin-right: 6px; }
.widget-body .status-filters li a { display: inline-flex; }
.widget-body .status-filters li a::before {
  content: ""; width: 14px; height: 14px; border: 1px solid var(--ninetheme-gray); border-radius: 3px; flex: none;
}

/* toolbar */
.ninetheme-before-loop { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.ninetheme-inline-two-block { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; flex-wrap: wrap; }
.ninetheme-block-left, .ninetheme-block-right { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.ninetheme-block-left > div + div, .ninetheme-block-right > div + div { margin-left: 2px; padding-left: 20px; position: relative; }
.ninetheme-block-left > div:not(:last-child)::before, .ninetheme-block-right > div:not(:last-child)::before {
  content: ""; width: 1px; height: 91%; border-radius: 3px; position: absolute; right: 0; top: 5%; background: var(--ninetheme-border);
}
.woocommerce-result-count { margin: 0; font-size: 13px; color: var(--ninetheme-text); }
.ninetheme-woo-result-count .woocommerce-result-count b { color: var(--ninetheme-dark); font-weight: 500; }
.ninetheme-open-fixed-sidebar {
  display: none; border: 1px solid var(--ninetheme-dark); background-color: var(--ninetheme-gray-soft);
  padding: 5px 10px; text-transform: uppercase; border-radius: 5px; color: var(--ninetheme-dark);
  font-weight: 500; font-size: 12px; cursor: pointer; align-items: center; gap: 6px;
}
.ninetheme-open-fixed-sidebar svg { width: 16px; height: 16px; fill: currentColor; }
.ninetheme-filter-action { display: flex; align-items: center; }
.ninetheme-filter-action li:not(:first-child) { margin-left: 10px; }
.ninetheme-filter-action li a, .ninetheme-filter-action li span {
  color: var(--ninetheme-gray-dark); font-size: 12px; font-weight: 400; cursor: pointer;
}
.ninetheme-filter-action li.active span, .ninetheme-filter-action li.active a { color: var(--ninetheme-dark); font-weight: 500; text-decoration: underline; }
.ninetheme-shop-filter-ordering select.orderby { border: 0; background: none; height: auto; padding-left: 0; line-height: 30px; font-size: 13px; color: var(--ninetheme-text); outline: none; cursor: pointer; }

/* ============================================================
   PAGINATION
   ============================================================ */
.ninetheme-woocommerce-pagination { display: flex; justify-content: center; margin-top: 30px; }
.ninetheme-woocommerce-pagination ul { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; }
.ninetheme-woocommerce-pagination a, .ninetheme-woocommerce-pagination span.current {
  display: flex; justify-content: center; align-items: center;
  width: 40px; height: 40px; border-radius: 4px;
  color: var(--ninetheme-dark); background-color: var(--ninetheme-gray-soft);
  font-size: 14px; font-weight: 500;
}
.ninetheme-woocommerce-pagination a:hover { color: var(--ninetheme-secondary); background-color: var(--ninetheme-secondary-bg); }
.ninetheme-woocommerce-pagination span.current { color: var(--ninetheme-secondary); background-color: var(--ninetheme-secondary-bg); cursor: default; }
.ninetheme-woocommerce-pagination a.next, .ninetheme-woocommerce-pagination a.prev { font-size: 16px; }

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-section { padding: 40px 0 60px; }
.search-section .search-form.big { max-width: 620px; margin-bottom: 28px; display: flex; height: 55px; border: 2px solid var(--ninetheme-border); border-radius: 5px; }
.search-section .search-form.big input { flex: 1; border: 0; outline: none; padding: 0 18px; font-size: 15px; min-width: 0; color: var(--ninetheme-gray-dark); }
.search-section .search-form.big button { border: 0; background: var(--ninetheme-primary); color: var(--ninetheme-light); padding: 0 24px; cursor: pointer; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.search-section .search-form.big button:hover { background: var(--ninetheme-secondary); }
.not-found-wrapper { text-align: center; margin-top: 60px; }
.not-found-wrapper h3 { font-size: 26px; margin-bottom: 8px; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.nt-woo-single { padding-bottom: 60px; }
.ninetheme-row-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; padding-top: 30px; }

/* gallery thumbs-left */
.ninetheme-swiper-slider-wrapper { position: relative; overflow: hidden; }
.ninetheme-product-gallery-main-slider {
  position: relative; border: 1px solid var(--ninetheme-border); border-radius: 5px;
  background: #fff; overflow: hidden; min-height: 380px; display: flex; align-items: center; justify-content: center;
}
.ninetheme-product-gallery-main-slider img { width: 100%; height: auto; }
.ninetheme-gallery {
  margin-left: 100px; display: flex; align-items: center; justify-content: center; min-height: 380px;
}
.ninetheme-gallery .gal-main-img { width: 100%; }
.ninetheme-product-thumbnails {
  width: 90px; position: absolute; top: 0; left: 0; display: flex; flex-direction: column; gap: 10px;
  max-height: 100%; overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
}
.ninetheme-product-thumbnails::-webkit-scrollbar { display: none; }
.wf-lightbox {
  position: fixed; inset: 0; z-index: 99999; visibility: hidden; opacity: 0;
  background: rgba(10, 10, 12, .94); display: none; align-items: center; justify-content: center;
  transition: opacity .28s ease;
}
.wf-lightbox.open { display: flex; visibility: visible; opacity: 1; }
.wf-lightbox img {
  max-width: 94vw; max-height: 93vh; width: auto; height: auto; object-fit: contain;
  border-radius: 6px; box-shadow: 0 24px 80px rgba(0, 0, 0, .55); background: #fff;
}
.wf-lightbox-close {
  position: absolute; top: 18px; right: 20px; z-index: 1; width: 46px; height: 46px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 30px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.wf-lightbox-close:hover { background: rgba(255, 255, 255, .3); }
@media (max-width: 600px) {
  .wf-lightbox img { max-width: 98vw; max-height: 90vh; }
  .wf-lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 26px; }
}
.ninetheme-product-thumbnails img {
  width: 90px; height: 90px; object-fit: cover; border: 1px solid var(--ninetheme-border);
  background: #fff; cursor: pointer; padding: 2px; transition: border-color .2s;
}
.ninetheme-product-thumbnails img:hover { border-color: var(--ninetheme-primary); }
.ninetheme-product-thumbnails img.active { border-color: var(--ninetheme-secondary); }

.gallery-labels { position: absolute; top: 15px; left: 15px; z-index: 6; display: flex; gap: 5px; }
.gallery-expand {
  position: absolute; top: 15px; right: 15px; z-index: 6; width: 35px; height: 35px;
  background: var(--ninetheme-gray); border: 0; border-radius: 100%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ninetheme-dark);
  opacity: 0; visibility: hidden; transition: all .2s;
}
.gallery-expand svg { width: 15px; height: 15px; fill: currentColor; }
.ninetheme-product-gallery-main-slider:hover .gallery-expand { opacity: 1; visibility: visible; }

/* summary */
.ninetheme-product-summary .ninetheme-product-title { font-size: 24px; line-height: 1.3; margin: 0 0 8px; }
.ninetheme-sku-line { font-size: 12px; color: var(--ninetheme-text-soft); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 12px; }
.ninetheme-sku-line b { color: var(--ninetheme-gray-dark); }
.summary-price { display: flex; align-items: baseline; gap: 14px; margin: 14px 0; flex-wrap: wrap; }
.summary-price .price-wrap { font-size: 22px; font-weight: 500; color: var(--ninetheme-primary); text-transform: uppercase; }
.summary-price del { font-size: 16px; color: var(--ninetheme-red); }
.summary-price .save-tag { background: var(--ninetheme-secondary-bg); color: var(--ninetheme-secondary); font-size: 12px; padding: 4px 10px; border-radius: 5px; font-weight: 600; }
.summary-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; text-transform: uppercase; font-weight: 600; letter-spacing: .5px; margin-bottom: 10px; }
.summary-stock .stock-dot { width: 9px; height: 9px; border-radius: 100%; }
.summary-stock.instock { color: var(--ninetheme-green); }
.summary-stock.instock .stock-dot { background: var(--ninetheme-green); }
.summary-stock.outofstock { color: var(--ninetheme-red); }
.summary-stock.outofstock .stock-dot { background: var(--ninetheme-red); }
.short-desc { margin: 12px 0; font-size: 14px; line-height: 1.7; }

.ninetheme-product-info { border: 1px solid var(--ninetheme-border); border-radius: var(--ninetheme-border-radius); margin-top: 18px; }
.ninetheme-product-info-top { padding: 15px; }
.form-cart { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.quantity { position: relative; display: inline-flex; padding-left: 32px; padding-right: 32px; border: 1px solid var(--ninetheme-border); border-radius: 4px; min-width: 100px; max-width: 110px; }
.quantity .qty { border: 0; text-align: center; height: 37px; width: 100%; font-size: 14px; background: none; color: var(--ninetheme-dark); outline: none; }
.quantity .quantity-button { position: absolute; top: 0; width: 32px; height: 100%; cursor: pointer; color: var(--ninetheme-gray); user-select: none; }
.quantity .quantity-button.minus { left: 0; }
.quantity .quantity-button.plus { right: 0; }
.quantity .minus:after, .quantity .plus:after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 10px; height: 2px; background: currentColor; }
.quantity .plus::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 2px; height: 10px; background: currentColor; }
.quantity .quantity-button:hover { color: var(--ninetheme-primary); }

.form-cart .single_add_to_cart_button { flex: 1 0 auto; min-width: 160px; }
.product-after-cart-wrapper { display: flex; gap: 8px; }
.product-after-cart-wrapper .ninetheme-product-button { width: 46px; height: 46px; border: 1px solid var(--ninetheme-border); border-radius: 5px; background: var(--ninetheme-gray-soft); }
.product-after-cart-wrapper .ninetheme-product-button svg { fill: var(--ninetheme-primary); }
.product-after-cart-wrapper .ninetheme-product-button:hover { background: var(--ninetheme-secondary); color: var(--ninetheme-light); }
.product-after-cart-wrapper .ninetheme-product-button:hover svg { fill: var(--ninetheme-light); }
.ninetheme-btn-buynow { flex: 1 0 auto; min-width: 160px; text-transform: uppercase; }

.product-extra { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0; font-size: 12px; color: var(--ninetheme-gray-dark); }
.product-extra b { color: var(--ninetheme-dark); text-transform: uppercase; font-size: 11px; letter-spacing: .4px; }
.delivery-line { display: inline-flex; align-items: center; gap: 8px; }
.delivery-line svg { width: 18px; height: 18px; fill: var(--ninetheme-primary); }

.ninetheme-product-meta { margin-top: 12px; font-size: 12px; color: var(--ninetheme-gray-dark); display: flex; flex-direction: column; gap: 4px; }
.ninetheme-product-meta b { font-weight: 600; color: var(--ninetheme-dark-soft); text-transform: uppercase; font-size: 11px; }
.ninetheme-product-meta a { color: var(--ninetheme-gray-dark); text-decoration: underline; }
.ninetheme-product-meta a:hover { color: var(--ninetheme-primary); }

.ninetheme-product-share { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.ninetheme-product-share .share-title { font-weight: 500; color: var(--ninetheme-dark); text-transform: uppercase; font-size: 12px; }
.ninetheme-product-share a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 100%; color: #fff; font-size: 13px; }
.ninetheme-product-share a svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.share-fb { background: #3b5998; } .share-tw { background: #1da1f2; }
.share-pi { background: #e60023; } .share-wa { background: #25d366; }

.trust-line { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; background: var(--ninetheme-gray-soft); border: 1px solid var(--ninetheme-border); border-radius: 5px; font-size: 12px; color: var(--ninetheme-dark); }
.trust-line svg { width: 18px; height: 18px; fill: var(--ninetheme-green); }

/* accordion */
.ninetheme-product-accordion-wrapper { margin-top: 50px; }
.ninetheme-accordion-item { background: var(--ninetheme-light); border: 1px solid var(--ninetheme-border); }
.ninetheme-accordion-item:not(:first-of-type) { border-top: 0; }
.ninetheme-accordion-item:first-of-type { border-radius: 5px 5px 0 0; }
.ninetheme-accordion-item:last-of-type { border-radius: 0 0 5px 5px; }
.ninetheme-accordion-header {
  position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 12px 20px; font-weight: 500; color: var(--ninetheme-dark); text-align: left;
  text-transform: uppercase; font-size: 14px; border: 0; background: none; cursor: pointer;
  font-family: var(--ninetheme-font-heading);
}
.ninetheme-accordion-header svg { width: 14px; height: 14px; fill: currentColor; transition: transform .3s; }
.ninetheme-accordion-item.open .ninetheme-accordion-header svg { transform: rotate(180deg); }
.ninetheme-accordion-body { display: none; padding: 1rem 1.25rem 1.4rem; }
.ninetheme-accordion-item.open .ninetheme-accordion-body { display: block; animation: accordionIn .3s ease-out; }

.size-guide-title { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: var(--ninetheme-dark); text-transform: uppercase; letter-spacing: .5px; }
.size-guide-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 13px; }
.size-guide-table th, .size-guide-table td { border: 1px solid var(--ninetheme-border); padding: 8px 10px; text-align: center; }
.size-guide-table th { background: var(--ninetheme-gray-soft); font-weight: 600; color: var(--ninetheme-dark); text-transform: uppercase; font-size: 11px; letter-spacing: .4px; }
.size-guide-table tr:nth-child(even) td { background: var(--ninetheme-gray-soft); }
.size-guide-table td:first-child { font-weight: 600; }
.size-guide-help { font-size: 13px; margin: 0; }
.size-guide-help a { color: var(--ninetheme-secondary); font-weight: 600; }
@media (max-width: 576px) {
  .size-guide-table { font-size: 12px; }
  .size-guide-table th, .size-guide-table td { padding: 6px 4px; }
}
@keyframes accordionIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.desc-content { white-space: pre-wrap; max-width: 980px; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th { width: 15%; text-align: left; padding: 10px 14px; font-weight: 600; color: var(--ninetheme-dark); }
.woocommerce-product-attributes td { padding: 10px 14px; }
.woocommerce-product-attributes tr:nth-child(2n) { background: var(--ninetheme-gray-soft); }

/* related */
.ninetheme-related-product-wrapper { margin-top: 55px; }
.related-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.related-head h2 { margin: 0; text-transform: capitalize; font-size: 21.6px; }
.related-head .section-head-actions { display: flex; gap: 8px; }
.related-row { margin-top: 20px; }

/* mobile sticky bottom cart */
.ninetheme-product-bottom-popup-cart {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 101; padding: 10px 20px;
  background: var(--ninetheme-light); transform: translateY(100%); opacity: 0; visibility: hidden;
  box-shadow: -2px 2px 45px -20px rgba(0,0,0,.4); transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.ninetheme-product-bottom-popup-cart.active { transform: translateY(0); opacity: 1; visibility: visible; }
.ninetheme-product-bottom-popup-cart-container { display: flex; align-items: center; justify-content: space-between; max-width: 1380px; gap: 15px; margin: auto; }
.ninetheme-product-bottom-popup-cart .details { display: flex; align-items: center; gap: 12px; }
.ninetheme-product-bottom-popup-cart .details img { width: 46px; height: 46px; object-fit: cover; border-radius: 3px; }
.ninetheme-product-bottom-popup-cart .name { font-size: 12px; color: var(--ninetheme-dark); font-weight: 500; }
.ninetheme-product-bottom-popup-cart .name span { display: block; color: var(--ninetheme-primary); font-weight: 500; }
.ninetheme-product-bottom-popup-cart .ninetheme-btn { min-width: 130px; }
@media (min-width: 769px) { .ninetheme-product-bottom-popup-cart { display: none; } }

/* ============================================================
   PRE-FOOTER + FOOTER
   ============================================================ */
.service-bars { background: var(--ninetheme-light); border-top: 1px solid var(--ninetheme-border); }
.service-bars .inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 20px; }
.service-bar { display: flex; align-items: center; gap: 14px; }
.service-bar .icon {
  width: 52px; height: 52px; border: 1px solid var(--ninetheme-border); border-radius: 100%;
  display: flex; align-items: center; justify-content: center; color: var(--ninetheme-primary); flex: none;
}
.service-bar .icon svg { width: 22px; height: 22px; fill: currentColor; }
.service-bar h5 { font-size: 16px; margin: 0 0 2px; }
.service-bar p { font-size: 12px; color: var(--ninetheme-text-soft); }

.site-footer { background: #060606; color: rgba(255,255,255,.75); margin-top: 0; }
.site-footer .footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 50px 20px 40px; max-width: 1580px; margin: 0 auto; }
.footer-col h5, .footer-col h6 { color: var(--ninetheme-light); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 18px; }
.footer-col p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.6); }
.footer-col p svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; margin-right: 4px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: 13px; }
.footer-col ul a:hover { color: var(--ninetheme-light); padding-left: 5px; transition: padding-left .25s; }
.footer-brand-name { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ninetheme-light); margin-bottom: 8px; }
.footer-brand-name b { color: var(--ninetheme-secondary); }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 100%; background: #2b2b2b; display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-social a:hover { background: var(--ninetheme-secondary); }
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
.newsletter-form { display: flex; margin-top: 6px; position: relative; }
.newsletter-form input {
  flex: 1; height: 50px; padding: 0 110px 0 18px; border: 0; border-radius: 5px;
  background: #1d1d1d; color: var(--ninetheme-light); outline: none; font-size: 13px; min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form button {
  position: absolute; right: 0; top: 0; height: 100%; width: 100px; border: 0;
  background: var(--ninetheme-secondary); color: var(--ninetheme-light); border-radius: 0 5px 5px 0;
  font-size: 12px; text-transform: uppercase; letter-spacing: .4px; cursor: pointer;
}
.newsletter-form button:hover { background: var(--ninetheme-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 20px; max-width: 1580px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.5); }
.footer-bottom .pay-txt { letter-spacing: 2px; font-size: 11px; }
.footer-bottom svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; margin-right: 4px; }

/* scroll to top */
.scroll-to-top {
  position: fixed; bottom: 60px; right: 30px; width: 40px; height: 40px; border-radius: 4px;
  background: var(--ninetheme-dark); color: var(--ninetheme-light); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 90;
  opacity: 0; visibility: hidden; transition: all .4s ease;
}
.scroll-to-top.show { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: var(--ninetheme-primary); color: var(--ninetheme-dark); }
.scroll-to-top svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
}
@media (max-width: 992px) {
  h1 { font-size: 32px; } h2 { font-size: 28px; } h3 { font-size: 23px; }
  .shop-container { grid-template-columns: 1fr; }
  .nt-sidebar {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 130;
    width: 320px; max-width: 92vw; background: var(--ninetheme-light);
    padding: 24px; overflow-y: auto; transform: translateX(105%);
    transition: transform .4s cubic-bezier(.19,1,.22,1); box-shadow: -4px -2px 30px 2px rgba(0,0,0,.17);
  }
  .nt-sidebar.open { transform: none; }
  .ninetheme-open-fixed-sidebar { display: inline-flex; }
  .ninetheme-row-summary { grid-template-columns: 1fr; gap: 30px; }
  .service-bars .inner { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-cols { grid-template-columns: 1fr 1fr; }
  .ninetheme-header-middle .ninetheme-header-inner { flex-wrap: wrap; gap: 16px; padding: 10px 20px; }
  .ajax-search { order: 3; max-width: none; }
  .ninetheme-header-top { display: none; }
  .ninetheme-header-bottom .header-mainmenu { display: none; }
}
@media (max-width: 768px) {
  .banners-row { grid-template-columns: 1fr; }
  .hero-slide { min-height: 440px; }
  .hero-slide-head { font-size: 32px; }
  .hero-slide-text { font-size: 14px; }
  .banners-row .ninetheme-woo-banner { min-height: 240px; }
  .ninetheme-gallery { margin-left: 0; }
  .ninetheme-product-thumbnails { position: static; flex-direction: row; flex-wrap: wrap; width: 100%; margin-top: 10px; }
  .ninetheme-gallery { min-height: auto; }
  .service-bars .inner { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .site-footer .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .ninetheme-products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 12px; }
  .slide-row > .ninetheme-loop-product { flex-basis: 180px; }
  .ninetheme-page-hero { padding: 32px 0; }
  .ninetheme-page-hero .page-title { font-size: 19px; }
  .form-cart .single_add_to_cart_button, .ninetheme-btn-buynow { min-width: 0; }
  .product-after-cart-wrapper { width: 100%; }
  .quantity { max-width: 90px; }
}
/* product SEO content sections */
.wf-seo-section {
  display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start;
  margin-top: 8px; padding: 30px; background: #fafafa; border: 1px solid var(--ninetheme-border); border-radius: 10px;
}
.wf-seo-section h2 { font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
.wf-seo-intro { font-size: 14.5px; line-height: 1.75; color: #4b5563; margin-bottom: 14px; }
.wf-seo-intro b { color: #111827; }
.wf-seo-highlights { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 8px; }
.wf-seo-highlights li { font-size: 13.5px; line-height: 1.55; color: #374151; padding-left: 22px; position: relative; }
.wf-seo-highlights li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ninetheme-primary);
}
.wf-seo-side h3 { font-size: 15px; margin-bottom: 12px; }
.wf-keyword-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-keyword-chips a {
  display: inline-block; padding: 7px 12px; font-size: 12px; font-weight: 500; color: var(--ninetheme-gray-dark);
  background: #fff; border: 1px solid var(--ninetheme-border); border-radius: 100px; text-decoration: none; transition: all .2s;
}
.wf-keyword-chips a:hover { color: #fff; background: var(--ninetheme-primary); border-color: var(--ninetheme-primary); }
.wf-seo-faq { margin-top: 26px; }
.wf-seo-faq h2 { font-size: 22px; margin-bottom: 16px; }
.wf-faq-list { display: grid; gap: 12px; }
.wf-faq-list h3 { font-size: 14.5px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.wf-faq-list > div { padding: 18px 20px; background: #fff; border: 1px solid var(--ninetheme-border); border-radius: 8px; }
.wf-faq-list [itemprop="text"] { font-size: 14px; line-height: 1.7; color: #4b5563; }
@media (max-width: 900px) { .wf-seo-section { grid-template-columns: 1fr; gap: 24px; padding: 20px; } }

/* static info pages + contact + floating WA + cart toast */
.nt-info-page { max-width: 860px; margin: 0 auto; padding: 8px 0 60px; }
.info-block { margin: 28px 0 34px; }
.info-block h2 { font-size: 22px; margin-bottom: 12px; }
.info-block p { font-size: 14.5px; line-height: 1.8; color: #4b5563; margin-bottom: 12px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.info-list li { font-size: 14px; line-height: 1.6; color: #374151; padding-left: 22px; position: relative; }
.info-list li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ninetheme-primary);
}
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; text-decoration: none;
  background: #fafafa; border: 1px solid var(--ninetheme-border); border-radius: 10px; transition: all .2s;
}
.contact-card b { font-size: 15px; color: #111827; }
.contact-card span { font-size: 13px; color: #6b7280; line-height: 1.5; }
.contact-card:hover { border-color: var(--ninetheme-primary); background: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.contact-form { margin-top: 4px; }
.cf-row { margin-bottom: 14px; }
.cf-row label { display: block; font-size: 13px; font-weight: 600; color: #111827; margin-bottom: 6px; }
.cf-row input, .cf-row textarea {
  width: 100%; padding: 11px 14px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--ninetheme-border); border-radius: 8px; background: #fff; color: #111827; outline: none; transition: border-color .2s;
}
.cf-row input:focus, .cf-row textarea:focus { border-color: var(--ninetheme-primary); }
@media (max-width: 640px) { .contact-methods { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 95; width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float .wa-pulse {
  position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .5; z-index: -1; animation: waPulse 2s infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .5; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.cart-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); z-index: 160;
  background: #111827; color: #fff; padding: 11px 20px; border-radius: 100px; font-size: 13.5px; font-weight: 500;
  display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transition: all .35s ease;
}
.cart-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cart-toast .ct-check { color: #25d366; font-weight: 700; }

/* cart + checkout */
.cart-layout, .checkout-layout {
  display: grid; grid-template-columns: 2fr 1fr; gap: 34px; align-items: start; margin: 10px 0 70px;
}
.cart-items-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-items-head h2 { margin: 0; }
.cart-items { display: grid; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center;
  padding: 14px; border: 1px solid var(--ninetheme-border); border-radius: 10px; background: #fff;
}
.cart-item-thumb { width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: #f4f4f4; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-name a { font-size: 14px; font-weight: 600; color: #111827; text-decoration: none; line-height: 1.4; }
.cart-item-name a:hover { color: var(--ninetheme-primary); }
.cart-item-price { font-size: 13px; color: #6b7280; margin-top: 5px; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--ninetheme-border); border-radius: 100px; overflow: hidden; }
.qty-stepper button {
  width: 30px; height: 30px; border: 0; background: #f7f7f7; cursor: pointer; font-size: 16px;
  line-height: 1; color: #111827; transition: background .2s;
}
.qty-stepper button:hover { background: var(--ninetheme-primary); color: var(--ninetheme-dark); }
.qty-stepper span { min-width: 36px; text-align: center; font-size: 13.5px; font-weight: 600; }
.cart-line-total { font-weight: 600; font-size: 14px; color: #111827; }
.cart-remove { border: 0; background: none; color: #9ca3af; cursor: pointer; font-size: 12px; text-decoration: underline; padding: 0; }
.cart-remove:hover { color: #dc2626; }
.cart-summary, .order-summary {
  position: sticky; top: 90px; padding: 24px; border: 1px solid var(--ninetheme-border); border-radius: 12px; background: #fafafa;
}
.cart-summary h3, .order-summary h3 { font-size: 17px; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 9px 0; color: #374151; border-bottom: 1px dashed var(--ninetheme-border); }
.sum-row.sum-total { border-bottom: 0; border-top: 2px solid #111827; margin-top: 6px; padding-top: 12px; font-size: 16px; font-weight: 700; color: #111827; }
.cart-checkout-btn, .co-place-btn { display: flex; justify-content: center; width: 100%; margin-top: 16px; text-align: center; }
.co-place-btn { border: 0; cursor: pointer; }
.sum-note { font-size: 12px; color: #6b7280; line-height: 1.6; margin-top: 12px; }
.cart-empty { text-align: center; padding: 64px 20px; }
.cart-empty h3 { margin-bottom: 8px; }
.cart-empty p { color: #6b7280; margin-bottom: 18px; }
.cart-actions { margin-top: 18px; }
.co-items { display: grid; gap: 10px; margin-bottom: 14px; }
.co-item { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #374151; }
.co-item-name { color: #111827; font-weight: 500; }
.co-item small { color: #9ca3af; }
.checkout-form { padding: 26px; border: 1px solid var(--ninetheme-border); border-radius: 12px; background: #fff; }
.checkout-form h2 { font-size: 20px; margin-bottom: 18px; }
.checkout-form .ninetheme-btn { margin-top: 4px; }
.co-error { color: #dc2626; font-size: 13px; margin-top: 10px; font-weight: 500; }
.order-success { padding: 50px 20px 20px; }
.os-card { max-width: 540px; margin: 0 auto; padding: 40px 34px; border: 1px solid var(--ninetheme-border); border-radius: 14px; background: #fff; text-align: center; }
.os-check {
  width: 64px; height: 64px; border-radius: 50%; background: #25d366; color: #fff; font-size: 32px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.os-card h2 { margin-bottom: 10px; }
.os-card p { color: #4b5563; line-height: 1.7; margin-bottom: 20px; }
@media (max-width: 900px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 26px; }
  .cart-summary, .order-summary { position: static; }
}
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 64px 1fr; align-items: start; }
  .cart-item-thumb { width: 64px; height: 64px; }
  .cart-item-actions { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

/* order success + order history */
.order-success { padding: 40px 20px 20px; }
.os-card { max-width: 620px; margin: 0 auto; padding: 40px 34px; border: 1px solid var(--ninetheme-border); border-radius: 14px; background: #fff; text-align: center; }
.os-card h2 { margin-bottom: 10px; }
.os-lead { color: #4b5563; line-height: 1.7; margin-bottom: 20px; }
.os-order-no { display: flex; flex-direction: column; gap: 4px; align-items: center; padding: 16px; margin-bottom: 22px; background: #fafafa; border: 1px dashed var(--ninetheme-border); border-radius: 10px; }
.os-order-no span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; }
.os-order-no b { font-size: 20px; letter-spacing: .04em; color: #111827; }
.os-details { text-align: left; margin-bottom: 24px; }
.os-block { padding: 18px 0; border-top: 1px solid var(--ninetheme-border); }
.os-block h4 { font-size: 15px; margin-bottom: 12px; color: #111827; }
.os-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; padding: 6px 0; color: #4b5563; }
.os-row b { color: #111827; font-weight: 600; text-align: right; }
.os-status { color: #d97706 !important; }
.os-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.orders-list { display: grid; gap: 18px; max-width: 760px; margin: 0 auto 60px; }
.order-card { border: 1px solid var(--ninetheme-border); border-radius: 12px; padding: 20px; background: #fff; }
.order-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ninetheme-border); margin-bottom: 14px; }
.order-id { display: block; font-size: 15px; color: #111827; }
.order-date { font-size: 12.5px; color: #9ca3af; }
.order-status { font-size: 12px; font-weight: 600; color: #b45309; background: #fef3c7; padding: 5px 12px; border-radius: 100px; white-space: nowrap; }
.order-card-items { display: grid; gap: 8px; margin-bottom: 14px; }
.order-card-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--ninetheme-border); font-size: 12.5px; color: #6b7280; }
@media (max-width: 560px) {
  .os-card { padding: 30px 20px; }
  .os-actions { flex-direction: column; }
  .os-actions .ninetheme-btn { width: 100%; }
}

/* product variants (colour families + attribute options) */
.wf-variant-wrap { margin: 16px 0 18px; padding: 16px; border: 1px solid var(--ninetheme-border); border-radius: 10px; background: #fafafa; }
.wf-variant-group { margin-bottom: 14px; }
.wf-variant-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; margin-bottom: 8px; }
.wf-variant-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.wf-variant-swatch { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 68px; text-decoration: none; color: #4b5563; font-size: 11.5px; text-align: center; }
.wf-variant-swatch img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; border: 2px solid var(--ninetheme-border); background: #fff; transition: border-color .2s; }
.wf-variant-swatch:hover img, .wf-variant-swatch.active img { border-color: var(--ninetheme-primary); }
.wf-variant-swatch.active { color: #111827; font-weight: 600; }
.wf-variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-option {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; font-size: 13px; font-family: inherit;
  color: #374151; background: #fff; border: 1px solid var(--ninetheme-border); border-radius: 100px; cursor: pointer; transition: all .2s;
}
.wf-option:hover { border-color: var(--ninetheme-primary); }
.wf-option.active { background: #111827; color: #fff; border-color: #111827; }
.wf-swatch-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); display: inline-block; }
.wf-variant-selected { font-size: 13px; color: #4b5563; border-top: 1px dashed var(--ninetheme-border); padding-top: 10px; }
.wf-variant-selected b { color: #111827; }

/* ---------- outline button (used by cart / quick view) ---------- */
.ninetheme-btn-outline { background: transparent; border: 2px solid var(--ninetheme-dark); color: var(--ninetheme-dark); fill: var(--ninetheme-dark); }
.ninetheme-btn-outline:hover { background: var(--ninetheme-primary); border-color: var(--ninetheme-primary); color: #fff; fill: #fff; }

/* ---------- wishlist / compare active action buttons ---------- */
.ninetheme-product-button.wf-wish-btn.active,
.ninetheme-product-button.wf-compare-btn.active { color: var(--ninetheme-primary); }
.ninetheme-product-button.wf-wish-btn.active svg,
.ninetheme-product-button.wf-compare-btn.active svg { fill: var(--ninetheme-primary); }

/* ---------- status filters ---------- */
.status-filters { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.status-filters a { display: block; padding: 7px 0; font-size: 13.5px; color: #4b5563; text-decoration: none; transition: color .2s; }
.status-filters a:hover, .status-filters a.active { color: var(--ninetheme-primary); }
.status-filters a.active { font-weight: 600; }
.ninetheme-filter-action li[data-per] { cursor: pointer; }
.ninetheme-filter-action li[data-per].active { font-weight: 700; }

/* ---------- compare table ---------- */
.compare-wrap { margin-top: 10px; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wf-compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.wf-compare-table th, .wf-compare-table td { border: 1px solid var(--ninetheme-border); padding: 14px; vertical-align: top; text-align: left; font-size: 13.5px; }
.wf-compare-table th { width: 130px; background: #fafafa; color: #6b7280; font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.wf-compare-table td { min-width: 180px; }
.cmp-prod { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: #111827; font-weight: 600; }
.cmp-prod img { width: 100%; max-width: 150px; height: 150px; object-fit: cover; border-radius: 8px; background: #f4f4f4; }
.wf-compare-table .ninetheme-btn { width: 100%; margin-bottom: 8px; }
.wf-compare-table .cart-remove { display: inline-block; }

/* ---------- quick view modal ---------- */
.wf-modal { position: fixed; inset: 0; z-index: 9998; display: none; }
.wf-modal.open { display: block; }
.wf-modal-backdrop { position: absolute; inset: 0; background: rgba(17,24,39,.62); }
.wf-modal-box {
  position: relative; z-index: 1; max-width: 860px; width: calc(100% - 32px); margin: 6vh auto;
  background: #fff; border-radius: 14px; padding: 26px; max-height: 88vh; overflow: auto;
  box-shadow: 0 30px 70px rgba(0,0,0,.3); animation: wfModalIn .25s ease-out;
}
@keyframes wfModalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wf-modal-close {
  position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: #f3f4f6; color: #111827; font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s;
}
.wf-modal-close:hover { background: var(--ninetheme-primary); color: #fff; }
.wf-qv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; margin-top: 6px; }
.wf-qv-media { background: #fafafa; border-radius: 10px; overflow: hidden; }
.wf-qv-media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.wf-qv-name { font-size: 20px; margin-bottom: 10px; line-height: 1.35; }
.wf-qv-price { font-size: 18px; font-weight: 700; color: var(--ninetheme-primary); margin-bottom: 12px; }
.wf-qv-desc { font-size: 13.5px; color: #4b5563; line-height: 1.7; margin-bottom: 18px; }
.wf-qv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) {
  .wf-qv { grid-template-columns: 1fr; gap: 18px; }
  .wf-modal-box { padding: 20px; margin: 4vh auto; }
  .wf-qv-actions .ninetheme-btn { flex: 1; }
}
/* ---------- admin panel ---------- */
.admin-body { background: #f5f6f8; }
.admin-shell { min-height: 100vh; }
.admin-loading { padding: 60px; text-align: center; color: #6b7280; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #111827; color: #fff; padding: 14px 24px; }
.admin-brand { font-size: 18px; font-weight: 700; letter-spacing: .3px; }
.admin-brand span { font-weight: 300; color: #9ca3af; }
.admin-user { display: flex; align-items: center; gap: 12px; }
.admin-link { color: #d1d5db; text-decoration: none; font-size: 13px; }
.admin-link:hover { color: #fff; }
.admin-tabs { display: flex; gap: 4px; background: #fff; padding: 0 24px; border-bottom: 1px solid #e5e7eb; }
.admin-tabs button { border: 0; background: none; padding: 16px 18px; font-size: 14px; font-weight: 600; color: #6b7280; cursor: pointer; border-bottom: 3px solid transparent; }
.admin-tabs button.active { color: #111827; border-bottom-color: var(--ninetheme-primary); }
.admin-main { max-width: 1200px; margin: 0 auto; padding: 26px 24px 60px; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-toolbar h2 { margin: 0; font-size: 18px; }
.admin-count { display: inline-block; background: #e5e7eb; color: #374151; font-size: 12px; border-radius: 100px; padding: 2px 9px; vertical-align: middle; }
.admin-toolbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-toolbar-actions input, .admin-toolbar-actions select { height: 38px; border: 1px solid #d1d5db; border-radius: 8px; padding: 0 12px; font: inherit; font-size: 13px; background: #fff; color: #111827; }
.admin-btn { height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid #d1d5db; background: #fff; color: #111827; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.admin-btn:hover { border-color: #9ca3af; }
.admin-btn.primary { background: var(--ninetheme-primary); border-color: var(--ninetheme-primary); color: #fff; }
.admin-btn.primary:hover { background: var(--ninetheme-secondary); border-color: var(--ninetheme-secondary); }
.admin-btn.ghost { background: transparent; }
.admin-btn.danger { color: #dc2626; border-color: #fca5a5; }
.admin-btn.danger:hover { background: #dc2626; color: #fff; border-color: #dc2626; }
.admin-btn:disabled { opacity: .55; cursor: default; }
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; font-size: 13.5px; border-bottom: 1px solid #f0f1f3; vertical-align: middle; }
.admin-table th { background: #fafafa; color: #6b7280; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-muted { color: #9ca3af; font-size: 12px; }
.admin-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; background: #f4f4f4; }
.admin-pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.admin-pill.on { background: #dcfce7; color: #166534; }
.admin-pill.off { background: #f3f4f6; color: #6b7280; }
.admin-status { height: 34px; border: 1px solid #d1d5db; border-radius: 8px; padding: 0 8px; font: inherit; font-size: 12.5px; background: #fff; }
.admin-empty { padding: 50px; text-align: center; color: #9ca3af; background: #fff; border: 1px dashed #d1d5db; border-radius: 12px; }
.admin-error { color: #dc2626; font-size: 13px; margin: 8px 0; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 32px; width: 100%; max-width: 400px; box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.admin-card h1 { font-size: 20px; margin-bottom: 6px; }
.admin-card label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin: 14px 0 6px; }
.admin-card input { width: 100%; height: 42px; border: 1px solid #d1d5db; border-radius: 8px; padding: 0 12px; font: inherit; font-size: 14px; }
.admin-card .admin-btn { width: 100%; margin-top: 18px; height: 44px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-form-grid label { display: block; font-size: 12.5px; font-weight: 600; color: #374151; }
.admin-form-grid label input, .admin-form-grid label textarea { width: 100%; margin-top: 5px; border: 1px solid #d1d5db; border-radius: 8px; padding: 9px 11px; font: inherit; font-size: 13.5px; }
.admin-form-grid label.wide { grid-column: 1 / -1; }
.admin-form-grid label.check { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.admin-form-grid label.check input { width: auto; margin: 0; }
.admin-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.admin-detail-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #9ca3af; margin-bottom: 4px; }
.admin-detail-grid p { font-size: 13.5px; color: #374151; line-height: 1.6; }
.admin-totals { margin-top: 14px; max-width: 280px; margin-left: auto; }
.admin-totals > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13.5px; color: #374151; }
.admin-totals > div.total { border-top: 2px solid #111827; margin-top: 6px; padding-top: 10px; font-weight: 700; color: #111827; }
.admin-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow: auto; }
.admin-modal[hidden] { display: none; }
.admin-modal-backdrop { position: fixed; inset: 0; background: rgba(17,24,39,.6); }
.admin-modal-box { position: relative; z-index: 1; background: #fff; border-radius: 14px; padding: 26px; width: 100%; max-width: 700px; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.admin-modal-box h3 { margin-bottom: 6px; }
.admin-uploader { grid-column: 1 / -1; border: 1px dashed #d1d5db; border-radius: 10px; padding: 12px 14px; background: #fafafa; }
.admin-upload-label { display: block; font-size: 12.5px; font-weight: 600; color: #374151; }
.admin-upload-label input[type="file"] { display: block; margin: 8px 0 4px; font-weight: 400; }
.admin-upload-list { display: grid; gap: 6px; margin-top: 8px; }
.admin-upload-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #6b7280; }
.admin-upload-row.ok { color: #166534; }
.admin-upload-row.err { color: #dc2626; }
.admin-upload-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-upload-row .admin-btn { height: 30px; padding: 0 10px; font-size: 12px; }
@media (max-width: 640px) {
  .admin-form-grid, .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-form-grid label.check { margin-top: 0; }
}
