/* ═══════════════════════════════════════════════════════════
   VAAZHA — Product Page & Product Card REDESIGN (v3.9)
   Earthy · Vintage · Streetwear
   Loads AFTER main.css and refines the single-product + card UI.
═══════════════════════════════════════════════════════════ */

/* ── Redesign tokens ── */
:root {
  --vzhp-radius:       14px;
  --vzhp-radius-lg:    22px;
  --vzhp-line:         #ece7dd;
  --vzhp-ink:          #14170f;
  --vzhp-ink-soft:     #55584f;
  --vzhp-paper:        #faf8f3;
  --vzhp-paper-2:      #f2eee4;
  --vzhp-forest:       #0d1a0f;
  --vzhp-lime:         #c8f55a;
  --vzhp-sale:         #c0392b;
  --vzhp-shadow:       0 10px 40px rgba(20, 22, 15, 0.08);
  --vzhp-shadow-hover: 0 18px 50px rgba(20, 22, 15, 0.14);
}

/* ═══════════════════════════════════════════════════════════
   1. SINGLE PRODUCT — PAGE SHELL
═══════════════════════════════════════════════════════════ */
.vzh-single-product {
  padding: 40px 0 90px !important;
  background:
    radial-gradient(1200px 340px at 12% -60px, rgba(200,245,90,0.10), transparent 60%),
    var(--clr-white);
}
.vzh-single-product .container { max-width: 1240px; }

.vzh-single-product .woocommerce-breadcrumb {
  font-size: 12px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: var(--vzhp-ink-soft) !important;
  margin-bottom: 28px !important;
}
.vzh-single-product .woocommerce-breadcrumb a { color: var(--vzhp-ink-soft) !important; }
.vzh-single-product .woocommerce-breadcrumb a:hover { color: var(--vzhp-forest) !important; }

/* ── Layout Grid ── */
.single-product div.product {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  gap: 56px !important;
  align-items: flex-start !important;
}

/* ═══════════════════════════════════════════════════════════
   2. GALLERY — Clean editorial frame
═══════════════════════════════════════════════════════════ */
.single-product div.product .woocommerce-product-gallery {
  position: sticky !important;
  top: calc(var(--total-top) + 20px) !important;
}
.single-product div.product .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery .flex-viewport {
  border-radius: var(--vzhp-radius-lg) !important;
  background: var(--vzhp-paper) !important;
  box-shadow: var(--vzhp-shadow) !important;
  border: 1px solid var(--vzhp-line) !important;
}
.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__wrapper img {
  border-radius: var(--vzhp-radius-lg) !important;
  transition: transform 0.6s ease !important;
}
.woocommerce-product-gallery:hover .woocommerce-product-gallery__image img {
  transform: scale(1.02);
}

/* Zoom trigger */
.woocommerce-product-gallery__trigger {
  top: 16px !important;
  right: 16px !important;
  width: 42px !important; height: 42px !important;
  background: rgba(255,255,255,0.9) !important;
  border: 1px solid var(--vzhp-line) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(8px) !important;
  font-size: 0 !important;
  display: flex !important; align-items: center; justify-content: center;
  text-indent: 0 !important;
  transition: transform 0.2s ease, background 0.2s ease !important;
}
.woocommerce-product-gallery__trigger::before {
  content: "⤢";
  font-size: 18px;
  color: var(--vzhp-ink);
}
.woocommerce-product-gallery__trigger:hover { transform: scale(1.06); background: #fff !important; }

/* Thumbnails */
.flex-control-thumbs {
  gap: 12px !important;
  margin-top: 16px !important;
}
.flex-control-thumbs li {
  width: calc(20% - 10px) !important;
  margin: 0 !important;
}
.flex-control-thumbs li img {
  border-radius: 10px !important;
  border: 2px solid transparent !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  opacity: 0.75 !important;
  transition: all 0.2s ease !important;
}
.flex-control-thumbs li img:hover { opacity: 1 !important; }
.flex-control-thumbs li img.flex-active {
  border-color: var(--vzhp-forest) !important;
  opacity: 1 !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vzhp-lime) !important;
}

/* On-sale badge on gallery */
.single-product .woocommerce-product-gallery .onsale {
  position: absolute !important;
  top: 16px !important; left: 16px !important; right: auto !important;
  z-index: 5 !important;
  background: var(--vzhp-sale) !important;
  color: #fff !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font-family: var(--font-display) !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}

/* ═══════════════════════════════════════════════════════════
   3. SUMMARY — Title, price, meta
═══════════════════════════════════════════════════════════ */
.single-product div.product .summary {
  padding: 4px 0 !important;
}

/* Eyebrow — category chip */
.vzh-product-eyebrow {
  background: transparent !important;
  color: var(--vzhp-forest) !important;
  border: 1px solid var(--vzhp-forest) !important;
  padding: 4px 12px !important;
  margin-bottom: 16px !important;
  font-size: 11px !important;
}

/* Title */
.single-product .product_title {
  font-family: var(--font-display) !important;
  font-size: clamp(32px, 3.5vw, 46px) !important;
  letter-spacing: 1.5px !important;
  line-height: 1.05 !important;
  color: var(--vzhp-ink) !important;
  margin: 0 0 8px !important;
  text-transform: uppercase !important;
}

/* Rating row */
.single-product .woocommerce-product-rating {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 6px 0 18px !important;
}
.single-product .star-rating {
  font-size: 15px !important;
  color: #d4a843 !important;
}

/* Price */
.single-product .summary > .price,
.single-product p.price {
  font-family: var(--font-display) !important;
  font-size: 30px !important;
  letter-spacing: 1px !important;
  color: var(--vzhp-forest) !important;
  margin: 0 0 6px !important;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.single-product .price del {
  color: var(--vzhp-ink-soft) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}
.single-product .price ins {
  background: transparent !important;
  text-decoration: none !important;
  color: var(--vzhp-sale) !important;
}
.vzh-tax-note {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.8px;
  color: var(--vzhp-ink-soft);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.single-product .summary > .price::after {
  content: "MRP incl. of all taxes";
  display: none; /* handled by native WC where available */
}

/* Short description */
.woocommerce-product-details__short-description {
  font-size: 14.5px !important;
  line-height: 1.75 !important;
  color: var(--vzhp-ink-soft) !important;
  padding: 18px 0 !important;
  margin: 4px 0 20px !important;
  border-top: 1px solid var(--vzhp-line) !important;
  border-bottom: 1px solid var(--vzhp-line) !important;
}
.woocommerce-product-details__short-description p { margin: 0 0 8px; }
.woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   4. VARIATIONS — Modern segmented UI
═══════════════════════════════════════════════════════════ */
.variations_form { margin-bottom: 8px !important; }

.variations {
  display: block !important;
  width: 100% !important;
  margin: 0 0 8px !important;
  border-collapse: collapse !important;
}
.variations tbody { display: block !important; }
.variations tr {
  display: block !important;
  margin-bottom: 18px !important;
  border: none !important;
}
.variations td, .variations th {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
.variations label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--vzhp-ink) !important;
  margin: 0 0 10px !important;
}
.variations label::after {
  content: attr(data-selected);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--vzhp-ink-soft);
  text-transform: none;
}

/* Native select fallback — visually hidden style */
.variations select {
  width: 100% !important;
  border: 1.5px solid var(--vzhp-line) !important;
  background: var(--clr-white) !important;
  border-radius: 10px !important;
  padding: 13px 44px 13px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--vzhp-ink) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230d1a0f' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.variations select:hover { border-color: var(--vzhp-forest) !important; }
.variations select:focus {
  border-color: var(--vzhp-forest) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(200,245,90,0.35) !important;
}

/* Reset variations link */
.reset_variations {
  display: inline-block;
  margin-top: 8px;
  font-size: 11.5px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: var(--vzhp-ink-soft) !important;
  border-bottom: 1px solid var(--vzhp-ink-soft) !important;
  padding-bottom: 1px;
}
.reset_variations:hover { color: var(--vzhp-forest) !important; border-color: var(--vzhp-forest) !important; }

/* Single variation availability & price update */
.single_variation_wrap { margin-top: 8px !important; }
.woocommerce-variation-price .price { font-size: 22px !important; margin-bottom: 10px !important; }
.woocommerce-variation-availability p {
  font-size: 12px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: var(--vzhp-forest) !important;
  margin: 0 0 12px !important;
}

/* Size guide link (if present) */
.vzh-size-guide-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--vzhp-forest);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.vzh-size-guide-link:hover { color: var(--vzhp-ink); }

/* ═══════════════════════════════════════════════════════════
   5. QUANTITY + ADD TO CART — Refined
═══════════════════════════════════════════════════════════ */
.single-product form.cart {
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  margin: 20px 0 !important;
  flex-wrap: wrap !important;
}
.single-product form.cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1.5px solid var(--vzhp-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  height: 56px !important;
}
.single-product form.cart .qty {
  width: 60px !important;
  height: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  text-align: center !important;
  background: transparent !important;
  color: var(--vzhp-ink) !important;
  -moz-appearance: textfield;
}
.single-product form.cart .qty::-webkit-outer-spin-button,
.single-product form.cart .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.single_add_to_cart_button {
  flex: 1 1 220px !important;
  height: 56px !important;
  background: var(--vzhp-ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0 28px !important;
  font-family: var(--font-display) !important;
  font-size: 17px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  position: relative;
  overflow: hidden;
}
.single_add_to_cart_button::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200,245,90,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.single_add_to_cart_button:hover {
  background: var(--vzhp-forest) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(13,26,15,0.28) !important;
}
.single_add_to_cart_button:hover::before { transform: translateX(100%); }
.single_add_to_cart_button:disabled,
.single_add_to_cart_button.disabled {
  background: var(--vzhp-paper-2) !important;
  color: var(--vzhp-ink-soft) !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Buy Now / secondary CTA fallback style if theme uses it */
.vzh-buy-now {
  flex: 1 1 220px;
  height: 56px;
  background: var(--vzhp-lime);
  color: var(--vzhp-forest);
  border: 1.5px solid var(--vzhp-forest);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.vzh-buy-now:hover { background: var(--vzhp-forest); color: var(--vzhp-lime); }

/* Stock line — refined */
.vzh-stock-line {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  margin: 0 0 4px !important;
}
.vzh-stock-line.vzh-in-stock {
  color: var(--vzhp-forest) !important;
  background: rgba(200,245,90,0.28) !important;
}
.vzh-stock-line.vzh-out-of-stock {
  color: #fff !important;
  background: var(--vzhp-sale) !important;
}

/* ═══════════════════════════════════════════════════════════
   6. TRUST BAR — Refined earthy tiles
═══════════════════════════════════════════════════════════ */
.vzh-trust-bar {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  margin: 26px 0 4px !important;
  padding: 0 !important;
  border: none !important;
}
.vzh-trust-item {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  background: var(--vzhp-paper) !important;
  border: 1px solid var(--vzhp-line) !important;
  border-radius: 12px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px !important;
  color: var(--vzhp-ink) !important;
  line-height: 1.35 !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}
.vzh-trust-item:hover {
  transform: translateY(-2px);
  border-color: var(--vzhp-forest) !important;
}
.vzh-trust-item span {
  width: 30px !important; height: 30px !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
}

/* Product meta */
.product_meta {
  margin-top: 22px !important;
  padding-top: 18px !important;
  border-top: 1px solid var(--vzhp-line) !important;
  font-size: 12px !important;
  letter-spacing: 0.5px !important;
  color: var(--vzhp-ink-soft) !important;
}
.product_meta > span { display: block; margin-bottom: 4px; }
.product_meta a { color: var(--vzhp-forest) !important; border-bottom: 1px dotted currentColor; }

/* ═══════════════════════════════════════════════════════════
   7. TABS — Elevated segmented control
═══════════════════════════════════════════════════════════ */
.woocommerce-tabs {
  margin-top: 70px !important;
  padding-top: 40px !important;
  border-top: 1px solid var(--vzhp-line) !important;
  clear: both !important;
}
.woocommerce-tabs ul.tabs {
  background: var(--vzhp-paper-2) !important;
  padding: 6px !important;
  gap: 4px !important;
  margin-bottom: 36px !important;
}
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
  display: none !important;
  border: none !important;
}
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
.woocommerce-tabs ul.tabs li a {
  color: var(--vzhp-ink) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  font-size: 12px !important;
}
.woocommerce-tabs ul.tabs li:hover a {
  color: var(--vzhp-forest) !important;
  background: rgba(255,255,255,0.5) !important;
}
.woocommerce-tabs ul.tabs li.active a {
  background: var(--vzhp-ink) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(20,22,15,0.18) !important;
}

.woocommerce-tabs .panel {
  color: var(--vzhp-ink) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  max-width: 900px;
}
.woocommerce-tabs .panel h2 {
  font-family: var(--font-display) !important;
  font-size: 26px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--vzhp-ink) !important;
  margin: 0 0 18px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--vzhp-line);
}
.woocommerce-tabs .panel h3 {
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--vzhp-forest) !important;
  margin: 26px 0 10px !important;
}
.woocommerce-tabs .panel p { margin-bottom: 14px; color: var(--vzhp-ink-soft) !important; }
.woocommerce-tabs .panel p strong { color: var(--vzhp-ink) !important; }
.woocommerce-tabs .panel ol,
.woocommerce-tabs .panel ul {
  padding-left: 22px;
  margin: 8px 0 16px;
  color: var(--vzhp-ink-soft);
}
.woocommerce-tabs .panel ol li,
.woocommerce-tabs .panel ul li { margin-bottom: 6px; }

/* Additional information table */
.woocommerce-tabs .panel .shop_attributes,
.woocommerce-product-attributes {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-top: 8px !important;
  border: 1px solid var(--vzhp-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.woocommerce-tabs .panel .shop_attributes th,
.woocommerce-product-attributes th {
  background: var(--vzhp-paper) !important;
  color: var(--vzhp-ink) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  text-align: left !important;
  padding: 14px 18px !important;
  width: 30% !important;
  border-bottom: 1px solid var(--vzhp-line) !important;
}
.woocommerce-tabs .panel .shop_attributes td,
.woocommerce-product-attributes td {
  padding: 14px 18px !important;
  color: var(--vzhp-ink-soft) !important;
  font-size: 14px !important;
  border-bottom: 1px solid var(--vzhp-line) !important;
  background: #fff !important;
  font-style: normal !important;
}
.woocommerce-tabs .panel .shop_attributes tr:last-child th,
.woocommerce-tabs .panel .shop_attributes tr:last-child td { border-bottom: none !important; }

/* Reviews */
#reviews .comment-reply-title {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--vzhp-ink) !important;
  display: block;
  margin-bottom: 12px;
}
#reviews textarea,
#reviews input[type="text"],
#reviews input[type="email"] {
  width: 100% !important;
  border: 1.5px solid var(--vzhp-line) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  background: #fff !important;
  color: var(--vzhp-ink) !important;
  margin-top: 6px;
}
#reviews textarea:focus,
#reviews input:focus {
  border-color: var(--vzhp-forest) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(200,245,90,0.28) !important;
}
#reviews .submit,
#reviews #submit {
  background: var(--vzhp-ink) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 26px !important;
  font-family: var(--font-display) !important;
  font-size: 14px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  border: none !important;
}
#reviews .submit:hover, #reviews #submit:hover { background: var(--vzhp-forest) !important; }

/* ═══════════════════════════════════════════════════════════
   8. RELATED PRODUCTS
═══════════════════════════════════════════════════════════ */
.related.products {
  margin-top: 80px !important;
  padding-top: 50px !important;
  border-top: 1px solid var(--vzhp-line);
}
.related.products > h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--vzhp-ink) !important;
  margin-bottom: 30px !important;
  text-align: left !important;
}

/* ═══════════════════════════════════════════════════════════
   9. PRODUCT CARD — Refined (shop, related, front page)
═══════════════════════════════════════════════════════════ */
.vzh-products-grid,
ul.products {
  gap: 28px 22px !important;
}

.vzh-product-card,
ul.products li.product {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transition: transform 0.25s ease !important;
}
.vzh-product-card:hover,
ul.products li.product:hover {
  box-shadow: none !important;
  transform: none !important;
}

.vzh-product-img,
ul.products li.product > a:first-child {
  position: relative;
  border-radius: var(--vzhp-radius) !important;
  overflow: hidden !important;
  background: var(--vzhp-paper) !important;
  aspect-ratio: 3/4 !important;
  display: block !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.vzh-product-img img,
ul.products li.product a img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 3/4 !important;
  object-fit: cover !important;
  transition: transform 0.7s ease, opacity 0.35s ease !important;
  border-radius: 0 !important;
}

/* Hover reveal — swap to second image */
.vzh-product-card:hover .vzh-product-img img:first-child {
  opacity: 0;
}
.vzh-product-card:hover .vzh-hover-img { opacity: 1 !important; }
.vzh-product-card:hover .vzh-product-img img { transform: scale(1.04); }

/* Fallback subtle zoom for products without secondary image */
ul.products li.product:hover a img { transform: scale(1.04) !important; }

/* Card info */
.vzh-product-info,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price {
  padding: 0 !important;
  margin: 0 !important;
}
.vzh-product-info { padding: 14px 2px 0 !important; }
.vzh-product-name,
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  color: var(--vzhp-ink) !important;
  padding: 12px 2px 4px !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vzh-product-price,
ul.products li.product .price {
  font-family: var(--font-display) !important;
  font-size: 16px !important;
  letter-spacing: 0.8px !important;
  color: var(--vzhp-forest) !important;
  padding: 0 2px 4px !important;
  margin: 0 !important;
  font-weight: 500 !important;
}
ul.products li.product .price del { font-size: 13px !important; margin-right: 6px; }
ul.products li.product .price ins { color: var(--vzhp-sale) !important; }

/* Card CTA area */
.vzh-card-cta { padding: 8px 2px 0 !important; }
.vzh-add-btn {
  width: 100%;
  padding: 11px 14px !important;
  background: transparent !important;
  color: var(--vzhp-ink) !important;
  border: 1.5px solid var(--vzhp-ink) !important;
  border-radius: 10px !important;
  font-family: var(--font-display) !important;
  font-size: 12.5px !important;
  letter-spacing: 2px !important;
  transition: all 0.2s ease !important;
}
.vzh-add-btn:hover:not(:disabled) {
  background: var(--vzhp-ink) !important;
  color: #fff !important;
}
.vzh-add-btn.is-added {
  background: var(--vzhp-lime) !important;
  border-color: var(--vzhp-forest) !important;
  color: var(--vzhp-forest) !important;
}
.vzh-add-btn.is-loading { opacity: 0.7; }

/* Loop add-to-cart (WooCommerce native fallback) */
ul.products li.product a.add_to_cart_button,
ul.products li.product a.button {
  margin: 10px 0 0 !important;
  padding: 11px 14px !important;
  background: transparent !important;
  color: var(--vzhp-ink) !important;
  border: 1.5px solid var(--vzhp-ink) !important;
  border-radius: 10px !important;
  font-family: var(--font-display) !important;
  font-size: 12.5px !important;
  letter-spacing: 2px !important;
}
ul.products li.product a.add_to_cart_button:hover,
ul.products li.product a.button:hover {
  background: var(--vzhp-ink) !important;
  color: #fff !important;
}
ul.products li.product a.added_to_cart {
  display: block;
  margin-top: 6px !important;
  font-size: 11.5px !important;
  color: var(--vzhp-forest) !important;
  letter-spacing: 0.5px;
}

/* Badges — repositioned + refined */
.vaazha-badge,
ul.products li.product .onsale {
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  padding: 5px 10px !important;
  font-family: var(--font-display) !important;
  font-size: 10.5px !important;
  letter-spacing: 2px !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
}
.vaazha-badge.sale, ul.products li.product .onsale {
  background: var(--vzhp-sale) !important;
  color: #fff !important;
}
.vaazha-badge.new-drop {
  background: var(--vzhp-ink) !important;
  color: var(--vzhp-lime) !important;
}
.vaazha-badge.best-seller {
  background: var(--vzhp-lime) !important;
  color: var(--vzhp-forest) !important;
}

/* ═══════════════════════════════════════════════════════════
   10. SHOP HEADER + TOOLBAR — light polish
═══════════════════════════════════════════════════════════ */
.vzh-shop-header {
  background:
    radial-gradient(600px 200px at 15% 0%, rgba(200,245,90,0.15), transparent 70%),
    var(--vzhp-paper);
  padding: 46px 0 30px !important;
  border-bottom: 1px solid var(--vzhp-line);
  margin-bottom: 30px !important;
}
.vzh-shop-header h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(30px, 4vw, 46px) !important;
  letter-spacing: 3px !important;
  color: var(--vzhp-ink) !important;
}
.vzh-shop-header p {
  color: var(--vzhp-ink-soft) !important;
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin-top: 8px !important;
}
.vzh-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin: 8px 0 24px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--vzhp-line);
  font-size: 13px;
  color: var(--vzhp-ink-soft);
}
.vzh-shop-toolbar .orderby,
.woocommerce-ordering select {
  border: 1.5px solid var(--vzhp-line) !important;
  border-radius: 10px !important;
  padding: 9px 34px 9px 14px !important;
  font-size: 13px !important;
  background: #fff !important;
  color: var(--vzhp-ink) !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230d1a0f' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
}

/* ═══════════════════════════════════════════════════════════
   11. RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .single-product div.product { gap: 40px !important; }
  .related.products ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 900px) {
  .single-product div.product {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .single-product div.product .woocommerce-product-gallery {
    position: static !important;
    grid-column: 1 !important;
  }
  .single-product div.product .summary { grid-column: 1 !important; }
  .woocommerce-tabs { margin-top: 50px !important; padding-top: 30px !important; }
}
@media (max-width: 640px) {
  .vzh-single-product { padding: 20px 0 70px !important; }
  .single-product .product_title { font-size: 28px !important; }
  .single-product .summary > .price,
  .single-product p.price { font-size: 24px !important; }
  .vzh-trust-bar { grid-template-columns: 1fr !important; }
  .single-product form.cart { flex-direction: column !important; }
  .single-product form.cart .quantity { width: 100% !important; height: 52px !important; }
  .single-product form.cart .qty { width: 100% !important; }
  .single_add_to_cart_button { height: 54px !important; width: 100% !important; }
  .woocommerce-tabs ul.tabs {
    display: flex !important;
    overflow-x: auto !important;
    scrollbar-width: none;
  }
  .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
  .flex-control-thumbs li { width: calc(25% - 9px) !important; }
  .vzh-products-grid, ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 18px 12px !important; }
  .vzh-product-name { font-size: 13px !important; }
  .vzh-product-price, ul.products li.product .price { font-size: 14.5px !important; }
}


/* ═══════════════════════════════════════════════════════════
   12. HIDE THIRD-PARTY FLOATING "SEARCH" SIDE-TAB WIDGETS
   (aggressive selectors for common plugins that inject a
    vertical dark side-tab labelled SEARCH on the page edge)
═══════════════════════════════════════════════════════════ */
.asp-side-search-tab,
.asp_sidebar_toggle,
.asp-ss-cont,
#asp_sidebar_container,
.aws-search-btn,
.aws-sidebar,
.dgwt-wcas-sf-wrapp.dgwt-wcas-sf-wrapp--side,
.ivory-search-side-btn,
.ivory-search-side-toggle,
.wcbdp-side-search,
.side-search-tab,
.floating-search,
.floating-search-btn,
.search-side-tab,
.search-tab-right,
.searchwp-live-search-side,
[class*="side-search-tab"],
[class*="floating-search"],
[id*="floating-search"],
[class*="search-side-toggle"],
[class*="asp_"][class*="sidebar"],
[class*="ss-tab"][class*="search"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  right: -9999px !important;
  left: -9999px !important;
}

/* Also nuke any fixed element on the far right with obvious search text */
body > [style*="writing-mode"][style*="position: fixed"],
body > div[style*="right: 0"][style*="position: fixed"]:has(> *:only-child) {
  /* handled by explicit selectors above; keep permissive */
}

/* ═══════════════════════════════════════════════════════════
   13. SEARCH OVERLAY (header magnifier → full-width panel)
═══════════════════════════════════════════════════════════ */
.vzh-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 8, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.vzh-search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.vzh-search-overlay-inner {
  width: 100%;
  max-width: 780px;
  margin: 8vh 20px 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  transform: translateY(-14px);
  transition: transform 0.28s ease;
  overflow: hidden;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
}
.vzh-search-overlay.open .vzh-search-overlay-inner { transform: translateY(0); }

.vzh-search-form {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--vzhp-line);
}
.vzh-search-form .vzh-search-icon {
  color: var(--vzhp-ink-soft);
  display: inline-flex;
  align-items: center;
}
.vzh-search-form input[type="search"] {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 6px 0 !important;
  font-size: 18px !important;
  font-family: var(--font-body) !important;
  color: var(--vzhp-ink) !important;
  outline: none !important;
  box-shadow: none !important;
}
.vzh-search-form input[type="search"]::placeholder {
  color: var(--vzhp-ink-soft);
  font-weight: 400;
}
.vzh-search-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.vzh-search-close {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--vzhp-line);
  background: #fff;
  color: var(--vzhp-ink);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.vzh-search-close:hover { background: var(--vzhp-paper); transform: rotate(90deg); }

.vzh-search-suggestions,
.vzh-search-results {
  padding: 18px 22px 22px;
  overflow-y: auto;
}
.vzh-search-results { display: none; }
.vzh-search-results.has-results { display: block; }

.vzh-search-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--vzhp-ink-soft);
  margin: 0 0 12px;
}
.vzh-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vzh-search-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--vzhp-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--vzhp-ink);
  background: var(--vzhp-paper);
  transition: all 0.18s ease;
}
.vzh-search-chip:hover {
  background: var(--vzhp-ink);
  color: #fff;
  border-color: var(--vzhp-ink);
}

.vzh-search-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.vzh-search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.15s ease;
}
.vzh-search-item:hover { background: var(--vzhp-paper); }
.vzh-search-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--vzhp-paper-2);
  flex-shrink: 0;
  display: block;
}
.vzh-search-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vzh-search-meta {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}
.vzh-search-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--vzhp-ink);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vzh-search-price {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--vzhp-forest);
  letter-spacing: 0.5px;
}
.vzh-search-price del { color: var(--vzhp-ink-soft); margin-right: 6px; font-size: 12px; }
.vzh-search-price ins { text-decoration: none; color: var(--vzhp-sale); }

.vzh-search-view-all {
  display: block;
  text-align: center;
  padding: 12px;
  margin-top: 6px;
  background: var(--vzhp-ink);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}
.vzh-search-view-all:hover { background: var(--vzhp-forest); color: var(--vzhp-lime); }

.vzh-search-loading,
.vzh-search-empty {
  padding: 22px 6px;
  text-align: center;
  color: var(--vzhp-ink-soft);
  font-size: 14px;
}

/* Hide the old .vzh-search-bar leftover styles if present */
.vzh-search-bar { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   14. SEARCH RESULTS PAGE
═══════════════════════════════════════════════════════════ */
.vzh-search-results-page {
  padding: 50px 0 100px;
  background:
    radial-gradient(900px 260px at 15% -40px, rgba(200,245,90,0.12), transparent 60%),
    #fff;
}
.vzh-search-results-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--vzhp-line);
}
.vzh-search-eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--vzhp-forest);
  font-weight: 700;
  margin-bottom: 8px;
}
.vzh-search-results-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: 1.5px;
  color: var(--vzhp-ink);
  margin: 0 0 8px;
  text-transform: uppercase;
  line-height: 1.05;
}
.vzh-search-count {
  color: var(--vzhp-ink-soft);
  font-size: 13px;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
}
.vzh-search-inline-form {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  padding: 12px 18px;
  border: 1.5px solid var(--vzhp-line);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.vzh-search-inline-form:focus-within {
  border-color: var(--vzhp-forest);
  box-shadow: 0 0 0 4px rgba(200,245,90,0.28);
}
.vzh-search-inline-form .vzh-search-icon { color: var(--vzhp-ink-soft); }
.vzh-search-inline-form input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 15px !important;
  color: var(--vzhp-ink) !important;
  outline: none !important;
}

.vzh-search-empty-state {
  text-align: center;
  padding: 60px 20px;
  max-width: 560px;
  margin: 0 auto;
}
.vzh-search-empty-icon {
  color: var(--vzhp-ink-soft);
  margin-bottom: 20px;
  opacity: 0.6;
}
.vzh-search-empty-state h2 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--vzhp-ink);
  margin-bottom: 10px;
}
.vzh-search-empty-state p {
  color: var(--vzhp-ink-soft);
  margin-bottom: 24px;
}
.vzh-search-empty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}
.vzh-search-empty-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--vzhp-ink);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.vzh-search-empty-cta:hover { background: var(--vzhp-forest); color: var(--vzhp-lime); transform: translateY(-2px); }

@media (max-width: 640px) {
  .vzh-search-overlay-inner { margin: 4vh 12px 0; max-height: 90vh; border-radius: 16px; }
  .vzh-search-form { padding: 14px 14px; gap: 10px; }
  .vzh-search-form input[type="search"] { font-size: 16px !important; }
  .vzh-search-thumb { width: 48px; height: 48px; }
}
