/* =====================================================================
   VivaHunt UI — storefront design layer (loaded after theme custom.css)
   ===================================================================== */
:root {
  --vh-emerald: #0f7643;
  --vh-emerald-d: #0a5531;
  --vh-emerald-l: #e8f3ec;
  --vh-gold: #d4af37;
  --vh-gold-l: #f7efd6;
  --vh-ink: #14201a;
  --vh-muted: #5d6a63;
  --vh-line: #e7e9e4;
  --vh-bg: #f6f5f1;
  --vh-card: #ffffff;
  --vh-r: 18px;
  --vh-r-sm: 12px;
  --vh-shadow: 0 1px 2px rgba(20, 32, 26, .05), 0 8px 24px rgba(20, 32, 26, .06);
  --vh-shadow-up: 0 2px 4px rgba(20, 32, 26, .06), 0 22px 44px rgba(20, 32, 26, .14);
  --vh-ease: cubic-bezier(.22, .8, .24, 1);
}

body#index, body#category, body#product, body#search, body#new-products, body#best-sales, body#prices-drop {
  background: var(--vh-bg) !important;
}

/* ---------- Announcement bar ---------- */
.header-banner { background: var(--vh-emerald-d); }
.vh-announce { color: #fff; font-size: 13px; letter-spacing: .01em; }
.vh-announce__track { position: relative; height: 38px; max-width: 1180px; margin: 0 auto; overflow: hidden; }
.vh-announce__msg {
  position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(100%); transition: opacity .5s var(--vh-ease), transform .5s var(--vh-ease);
  padding: 0 12px; text-align: center; white-space: nowrap;
}
.vh-announce__msg.is-active { opacity: 1; transform: none; }
.vh-announce__msg.is-leaving { opacity: 0; transform: translateY(-100%); }
.vh-announce__msg strong { color: var(--vh-gold); font-weight: 600; }
.vh-announce__msg svg { width: 16px; height: 16px; flex: none; color: var(--vh-gold); }
@media (max-width: 575px) { .vh-announce { font-size: 12px; } .vh-announce__msg { white-space: normal; line-height: 1.25; } }

/* ---------- Header polish ---------- */
#header { transition: box-shadow .3s var(--vh-ease); }
#header .header-top { background: rgba(255, 255, 255, .96); }
@supports (backdrop-filter: blur(8px)) { #header .header-top { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); } }
@media (min-width: 768px) {
  #header .header-top { position: sticky; top: 0; z-index: 50; }
  body.vh-scrolled #header .header-top { box-shadow: 0 6px 20px rgba(20, 32, 26, .08); }
}
#header .top-menu a[data-depth="0"] { position: relative; font-weight: 500; letter-spacing: .01em; font-size: 13.5px; padding: 10px 9px !important; }
@media (min-width: 992px) { #header .header-top #_desktop_top_menu .top-menu { display: flex; flex-wrap: nowrap; justify-content: center; } }
#header .top-menu a[data-depth="0"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--vh-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--vh-ease);
}
#header .top-menu a[data-depth="0"]:hover::after { transform: scaleX(1); }
.blockcart .cart-products-count { transition: transform .3s var(--vh-ease); display: inline-block; }
.blockcart.vh-bump .cart-products-count, .blockcart.vh-bump { animation: vh-bump .6s var(--vh-ease); }
@keyframes vh-bump { 0% { transform: scale(1); } 30% { transform: scale(1.25); } 60% { transform: scale(.94); } 100% { transform: scale(1); } }

/* ---------- Buttons / shared ---------- */
.vh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1; border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .25s var(--vh-ease), box-shadow .25s var(--vh-ease), background .25s, color .25s, border-color .25s;
}
.vh-btn svg { width: 18px; height: 18px; transition: transform .25s var(--vh-ease); }
.vh-btn--primary { background: var(--vh-emerald); color: #fff !important; box-shadow: 0 8px 20px rgba(15, 118, 67, .28); }
.vh-btn--primary:hover { background: var(--vh-emerald-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 118, 67, .34); }
.vh-btn--primary:hover svg { transform: translateX(4px); }
.vh-btn--ghost { background: #fff; color: var(--vh-ink) !important; border-color: var(--vh-line); }
.vh-btn--ghost:hover { border-color: var(--vh-emerald); color: var(--vh-emerald) !important; transform: translateY(-2px); }
.vh-btn:focus-visible { outline: 3px solid var(--vh-gold); outline-offset: 3px; }
.vh-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--vh-emerald); background: var(--vh-emerald-l); padding: 6px 12px; border-radius: 999px;
}
.vh-section-head { text-align: center; margin: 0 auto 28px; max-width: 640px; }
.vh-section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--vh-ink); margin: 12px 0 0; letter-spacing: -.01em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
#index #wrapper { padding-top: 0; }
.vh-hero {
  position: relative; overflow: hidden; border-radius: 28px; margin: 24px 0 18px;
  background: radial-gradient(120% 140% at 0% 0%, #ffffff 0%, #f1f6f1 45%, #e6f0e8 100%);
  border: 1px solid #e3ebe4;
}
.vh-hero__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.vh-hero__glow--a { width: 420px; height: 420px; background: #bfe3cc; top: -140px; right: 10%; animation: vh-drift 14s ease-in-out infinite; }
.vh-hero__glow--b { width: 320px; height: 320px; background: #f3dfa0; bottom: -160px; left: 30%; animation: vh-drift 18s ease-in-out infinite reverse; }
@keyframes vh-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } }
.vh-hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding: 64px 56px; }
.vh-hero__title { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; color: var(--vh-ink); margin: 18px 0 16px; text-transform: none; }
.vh-shine {
  background: linear-gradient(100deg, var(--vh-emerald) 0%, var(--vh-gold) 45%, var(--vh-emerald) 90%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: vh-shine 6s linear infinite;
}
@keyframes vh-shine { to { background-position: -220% 0; } }
.vh-hero__sub { font-size: 18px; line-height: 1.6; color: var(--vh-muted); max-width: 520px; margin: 0 0 28px; }
.vh-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.vh-hero__proof { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 26px 0 0; }
.vh-hero__proof li { position: relative; padding-left: 24px; font-size: 14px; color: var(--vh-ink); font-weight: 500; cursor: help; }
.vh-hero__proof li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  background: var(--vh-emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.vh-hero__stage { position: relative; height: 460px; }
.vh-float {
  position: absolute; display: block; width: 58%; background: #fff; border-radius: 22px; padding: 10px 10px 14px;
  box-shadow: var(--vh-shadow-up); text-decoration: none !important; color: var(--vh-ink) !important;
  transition: transform .4s var(--vh-ease), box-shadow .4s var(--vh-ease);
  animation: vh-float 7s ease-in-out infinite;
}
.vh-float:hover { animation-play-state: paused; transform: translateY(-8px) scale(1.03) !important; z-index: 5; }
.vh-float__img { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #f4f4f1; }
.vh-float__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vh-float__meta { display: flex; flex-direction: column; gap: 4px; padding: 10px 6px 0; min-width: 0; }
.vh-float__name { font-size: 13px; font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vh-float__price { font-weight: 700; color: var(--vh-emerald); font-size: 15px; white-space: nowrap; }
.vh-float--1 { left: 0; top: 30px; z-index: 3; }
.vh-float--2 { right: 0; top: 0; width: 46%; z-index: 2; animation-delay: -2.4s; }
.vh-float--3 { right: 6%; bottom: 0; width: 44%; z-index: 4; animation-delay: -4.6s; }
@keyframes vh-float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-14px) rotate(.6deg); } }
.vh-chip {
  position: absolute; left: 4%; bottom: 26px; z-index: 6; display: inline-flex; align-items: center; gap: 8px;
  background: var(--vh-ink); color: #fff; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2); animation: vh-pop-in .8s .6s var(--vh-ease) both;
}
.vh-chip svg { width: 18px; height: 18px; color: var(--vh-gold); }
@keyframes vh-pop-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }

@media (max-width: 991px) {
  .vh-hero__inner { grid-template-columns: 1fr; padding: 40px 28px 32px; }
  .vh-hero__stage { height: 380px; }
}
@media (max-width: 575px) {
  .vh-hero { border-radius: 22px; margin-top: 14px; }
  .vh-hero__inner { padding: 30px 20px 24px; gap: 22px; }
  .vh-hero__sub { font-size: 16px; }
  .vh-hero__ctas .vh-btn { flex: 1 1 100%; }
  .vh-hero__stage { height: 300px; }
  .vh-float__meta { display: none; }
  .vh-float { padding: 6px; border-radius: 16px; }
  .vh-chip { bottom: 6px; font-size: 12px; }
}

/* ---------- Trust strip ---------- */
.vh-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 56px; }
.vh-trust__item {
  display: flex; align-items: center; gap: 14px; background: var(--vh-card); border: 1px solid var(--vh-line);
  border-radius: var(--vh-r); padding: 18px 18px; cursor: help; position: relative;
  transition: transform .3s var(--vh-ease), box-shadow .3s var(--vh-ease), border-color .3s;
}
.vh-trust__item:hover, .vh-trust__item:focus-visible { transform: translateY(-3px); box-shadow: var(--vh-shadow); border-color: #cfe3d6; outline: none; }
.vh-trust__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--vh-emerald-l); color: var(--vh-emerald); transition: transform .4s var(--vh-ease); }
.vh-trust__item:hover .vh-trust__icon { transform: rotate(-8deg) scale(1.08); }
.vh-trust__icon svg { width: 24px; height: 24px; }
.vh-trust__item strong { display: block; font-size: 15px; color: var(--vh-ink); }
.vh-trust__item small { display: block; font-size: 13px; color: var(--vh-muted); margin-top: 2px; }
@media (max-width: 991px) { .vh-trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .vh-trust__item { padding: 14px; gap: 10px; } .vh-trust__icon { width: 38px; height: 38px; } }

/* ---------- Category tiles ---------- */
.vh-cats { margin: 0 0 64px; }
.vh-cats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vh-cat {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #e9ece6;
  text-decoration: none !important; isolation: isolate; box-shadow: var(--vh-shadow);
}
.vh-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--vh-ease); }
.vh-cat:hover img { transform: scale(1.08); }
.vh-cat__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 20, 0) 35%, rgba(10, 30, 20, .78) 100%); }
.vh-cat__label { position: absolute; left: 20px; bottom: 18px; right: 70px; color: #fff; z-index: 2; }
.vh-cat__label strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.vh-cat__label small { display: block; font-size: 13px; opacity: .85; margin-top: 2px; }
.vh-cat__go {
  position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--vh-emerald);
  transform: translateX(-6px); opacity: 0; transition: transform .35s var(--vh-ease), opacity .35s;
}
.vh-cat__go svg { width: 20px; height: 20px; }
.vh-cat:hover .vh-cat__go, .vh-cat:focus-visible .vh-cat__go { transform: none; opacity: 1; }
@media (max-width: 767px) { .vh-cats__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .vh-cat { border-radius: 16px; } .vh-cat__label { left: 12px; bottom: 12px; right: 12px; } .vh-cat__label strong { font-size: 15px; } .vh-cat__go { display: none; } }

/* ---------- Section titles from core modules ---------- */
#index .featured-products, #index .product-accessories { margin-bottom: 56px; }
.products-section-title, #index .featured-products .products-section-title {
  text-align: center; font-size: clamp(24px, 3vw, 34px) !important; font-weight: 700 !important; text-transform: none !important;
  letter-spacing: -.01em; color: var(--vh-ink) !important; margin: 0 0 28px !important; position: relative; padding-bottom: 14px;
}
.products-section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 48px; height: 3px; margin-left: -24px; border-radius: 3px; background: var(--vh-gold); }
.all-product-link { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 600; color: var(--vh-emerald) !important; }

/* ---------- Product cards ---------- */
/* neutralise the older outer "card" from theme custom.css — the card is .thumbnail-container now */
.products .product-miniature, .featured-products .product-miniature, .product-accessories .product-miniature {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important;
  box-shadow: none !important; overflow: visible !important; transform: none;
  transition: opacity .8s var(--vh-ease), transform .8s var(--vh-ease) !important;
}
.products .product-miniature:hover, .featured-products .product-miniature:hover { box-shadow: none !important; transform: none; }
.vh-js .products [data-vh-reveal]:not(.is-in) { transform: translateY(26px); }
.products .js-product { margin-bottom: 22px; }
.product-miniature .thumbnail-container .product-thumbnail img.vh-alt {
  position: absolute !important; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; top: 0; transform: none !important;
}
.product-miniature .thumbnail-container .product-thumbnail picture img { position: relative; z-index: 0; }
.product-miniature:hover .thumbnail-container .product-thumbnail img.vh-alt { opacity: 1; }
.product-miniature .product-title, .product-miniature .product-title a, .product-miniature .product-description { text-align: left !important; }
.product-miniature .thumbnail-container {
  background: var(--vh-card) !important; border-radius: var(--vh-r) !important; overflow: hidden; border: 1px solid var(--vh-line);
  box-shadow: none !important; transition: transform .35s var(--vh-ease), box-shadow .35s var(--vh-ease), border-color .35s; height: 100%;
}
.product-miniature:hover .thumbnail-container { transform: translateY(-6px); box-shadow: var(--vh-shadow-up) !important; border-color: transparent; }
.product-miniature .thumbnail-top { position: relative; overflow: hidden; background: #f4f4f1; }
.product-miniature .product-thumbnail { display: block; position: relative; aspect-ratio: 1; }
.product-miniature .product-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--vh-ease), opacity .45s var(--vh-ease); }
.product-miniature:hover .product-thumbnail img { transform: scale(1.05); }
.product-miniature .product-description { background: transparent !important; padding: 14px 16px 16px !important; position: static !important; height: auto !important; }
.product-miniature .product-title { margin: 0 0 8px !important; text-align: left; }
.product-miniature .product-title a {
  font-size: 14.5px !important; font-weight: 500 !important; line-height: 1.38; color: var(--vh-ink) !important; text-transform: none !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em;
}
.product-miniature .product-price-and-shipping { text-align: left !important; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-miniature .price { font-size: 18px !important; font-weight: 700 !important; color: var(--vh-emerald) !important; }
.product-miniature .regular-price { color: var(--vh-muted) !important; }
.vh-ship-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--vh-muted); }
.vh-ship-tag svg { width: 15px; height: 15px; color: var(--vh-emerald); }
.product-miniature .product-flags { left: 12px; top: 12px; gap: 6px; }
.product-miniature .product-flag { border-radius: 999px !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .04em; padding: 5px 10px !important; box-shadow: 0 4px 10px rgba(0, 0, 0, .08); }
.product-miniature .product-flag.new { background: var(--vh-ink) !important; }
.vh-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; transform: translateY(calc(100% + 16px)); opacity: 0;
  transition: transform .35s var(--vh-ease), opacity .35s;
}
.product-miniature:hover .vh-quick, .product-miniature:focus-within .vh-quick { transform: none; opacity: 1; }
.vh-quick .vh-btn { width: 100%; padding: 12px 16px; font-size: 14px; }
.vh-quick form { margin: 0; }
.product-miniature .highlighted-informations { display: none !important; }
@media (hover: none) { .vh-quick { display: none; } }
/* phones: two products per row, like every modern shop */
@media (max-width: 575px) {
  .products.row { margin-left: -5px; margin-right: -5px; }
  .products.row > .js-product { flex: 0 0 50%; max-width: 50%; width: 50%; padding-left: 5px; padding-right: 5px; margin-bottom: 10px; }
  .product-miniature .vh-ship-tag { font-size: 11px; margin-top: 6px; }
  .product-miniature .product-flags .product-flag { font-size: 10px; padding: 3px 7px; }
  #left-column .block-categories { display: none; }
}
/* the theme's reassurance block repeats (and contradicted) our own delivery/returns badges */
#product .blockreassurance_product { display: none !important; }
@media (max-width: 575px) { .product-miniature .product-description { padding: 10px 10px 12px !important; } .product-miniature .price { font-size: 16px !important; } .product-miniature .product-title a { font-size: 13.5px !important; } }

/* ---------- Tooltips ---------- */
.vh-tip {
  position: fixed; z-index: 9999; max-width: 260px; padding: 10px 12px; border-radius: 12px; pointer-events: none;
  background: var(--vh-ink); color: #fff; font-size: 13px; line-height: 1.45; box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  opacity: 0; transform: translateY(6px) scale(.97); transition: opacity .2s, transform .2s var(--vh-ease);
}
.vh-tip.is-on { opacity: 1; transform: none; }
.vh-tip::after { content: ""; position: absolute; left: var(--vh-tip-x, 50%); bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: var(--vh-ink); transform: rotate(45deg); }
.vh-tip.is-below::after { bottom: auto; top: -5px; }

/* ---------- Toasts ---------- */
.vh-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 9998; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.vh-toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: 360px; padding: 12px 14px 12px 12px;
  background: #fff; border-radius: 16px; box-shadow: var(--vh-shadow-up); border: 1px solid var(--vh-line); color: var(--vh-ink); font-size: 14px;
  animation: vh-toast-in .45s var(--vh-ease) both;
}
.vh-toast.is-out { animation: vh-toast-out .35s var(--vh-ease) both; }
.vh-toast__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--vh-emerald-l); color: var(--vh-emerald); }
.vh-toast__icon svg { width: 18px; height: 18px; }
.vh-toast a { color: var(--vh-emerald); font-weight: 600; margin-left: auto; white-space: nowrap; }
@keyframes vh-toast-in { from { opacity: 0; transform: translateX(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes vh-toast-out { to { opacity: 0; transform: translateX(30px); } }
@media (max-width: 575px) { .vh-toasts { left: 12px; right: 12px; bottom: 84px; align-items: stretch; } .vh-toast { max-width: none; } }

/* ---------- Product page ---------- */
#product .product-container, #product #main .row.product-container { background: var(--vh-card); border-radius: 24px; padding: 28px 20px; border: 1px solid var(--vh-line); margin: 18px 0 28px; }
#product h1.h1 { font-size: clamp(24px, 2.6vw, 32px) !important; font-weight: 700 !important; line-height: 1.2; text-transform: none !important; letter-spacing: -.015em; color: var(--vh-ink); }
#product .current-price-value, #product .current-price span:first-child { font-size: 30px !important; font-weight: 700 !important; color: var(--vh-emerald) !important; }
#product .product-images > li.thumb-container > .thumb { border-radius: 12px; }
#product .product-cover img, #product .images-container .product-cover { border-radius: 18px; overflow: hidden; }
#product .product-add-to-cart .add-to-cart {
  border-radius: 999px !important; padding: 14px 28px !important; font-weight: 600 !important; font-size: 16px !important;
  background: var(--vh-emerald) !important; box-shadow: 0 10px 24px rgba(15, 118, 67, .3); transition: transform .25s var(--vh-ease), box-shadow .25s;
}
#product .product-add-to-cart .add-to-cart:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(15, 118, 67, .36); }
#product .product-description img { max-width: 100%; height: auto; border-radius: 12px; margin: 10px 0; }
#product .tabs { background: var(--vh-card); border-radius: 22px; border: 1px solid var(--vh-line); box-shadow: none; padding: 22px 26px 26px; }
#product .tabs .nav-tabs { border-bottom: 1px solid var(--vh-line); gap: 6px; }
#product .tabs .nav-tabs .nav-link { border: 0 !important; border-bottom: 3px solid transparent !important; color: var(--vh-muted) !important; font-weight: 600; font-size: 15px; padding: 10px 6px 12px; margin-right: 18px; background: none !important; transition: color .2s, border-color .2s; }
#product .tabs .nav-tabs .nav-link.active, #product .tabs .nav-tabs .nav-link:hover { color: var(--vh-ink) !important; border-bottom-color: var(--vh-emerald) !important; }
#product .tabs .tab-content { padding-top: 22px; }

/* structured description (vh_format_desc) */
.vh-desc { color: var(--vh-ink); font-size: 15px; line-height: 1.6; }
.vh-desc h3 { font-size: 17px; font-weight: 700; margin: 26px 0 12px; text-transform: none; color: var(--vh-ink); }
.vh-desc h3:first-child { margin-top: 0; }
.vh-desc__features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.vh-tabs-wide { margin: 0 0 32px; }
.vh-tabs-wide .tabs { margin: 0; }
.vh-desc { max-width: 920px; }
@media (min-width: 768px) { .vh-desc .vh-desc__gallery { grid-template-columns: repeat(3, 1fr); } }
#product .product-description ul li, .vh-desc__features li { list-style: none !important; }
.vh-desc__features li { position: relative; padding: 12px 14px 12px 44px; background: #f7f9f7; border: 1px solid var(--vh-line); border-radius: 14px; color: #34423a; }
.vh-desc__features li::before {
  content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--vh-emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.vh-desc__features strong { color: var(--vh-ink); }
.vh-specs { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--vh-line); border-radius: 14px; overflow: hidden; font-size: 14px; }
.vh-specs th, .vh-specs td { padding: 11px 14px; border-bottom: 1px solid var(--vh-line); vertical-align: top; text-align: left; }
.vh-specs tr:last-child th, .vh-specs tr:last-child td { border-bottom: 0; }
.vh-specs th { width: 38%; background: #f7f9f7; font-weight: 600; color: var(--vh-muted); }
.vh-specs td { color: var(--vh-ink); word-break: break-word; }
.vh-desc__box { padding: 12px 14px; background: var(--vh-gold-l); border-radius: 14px; color: #5a4a14; margin: 0; }
.vh-desc__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.vh-desc__gallery img { width: 100%; height: auto; border-radius: 14px !important; margin: 0 !important; background: #f3f3f0; }
@media (max-width: 575px) {
  #product .tabs { padding: 16px 14px 18px; border-radius: 18px; }
  .vh-desc { font-size: 14px; }
  .vh-desc__gallery { grid-template-columns: 1fr; }
  .vh-specs th { width: 42%; }
}
/* short description next to the price */
#product .product-description-short ul, #product #product-description-short ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; }
#product [id^="product-description-short"] li { position: relative; padding-left: 22px; color: #3c4a42; font-size: 14px; line-height: 1.45; }
#product [id^="product-description-short"] li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--vh-gold); }

.vh-pinfo { margin: 18px 0 6px; display: grid; gap: 14px; }
.vh-delivery {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(90deg, var(--vh-emerald-l), #f3f8f4); border: 1px solid #d3e7da;
}
.vh-delivery__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--vh-emerald); color: #fff; animation: vh-truck 3.2s ease-in-out infinite; }
.vh-delivery__icon svg { width: 24px; height: 24px; }
@keyframes vh-truck { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.vh-delivery__text { display: flex; flex-direction: column; font-size: 14px; color: var(--vh-ink); line-height: 1.4; }
.vh-delivery__text strong { font-size: 15px; }
.vh-delivery__text b { color: var(--vh-emerald); }
.vh-qmark { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #b9d6c4; background: #fff; color: var(--vh-emerald); font-weight: 700; cursor: help; }
.vh-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0; }
.vh-badges li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--vh-ink); background: #fafaf8; border: 1px solid var(--vh-line); border-radius: 12px; padding: 10px; cursor: help; transition: border-color .25s, background .25s; }
.vh-badges li:hover, .vh-badges li:focus-visible { border-color: #cfe3d6; background: #fff; outline: none; }
.vh-badges svg { width: 18px; height: 18px; color: var(--vh-emerald); flex: none; }
@media (max-width: 480px) { .vh-badges { grid-template-columns: 1fr; } }
.vh-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vh-pay__card { height: 26px; min-width: 42px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--vh-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.vh-pay__card--visa { color: #1a1f71; font-style: italic; }
.vh-pay__card--amex { color: #fff; background: #1f72cd; border-color: #1f72cd; }
.vh-pay__card--mc i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; background: #eb001b; }
.vh-pay__card--mc i + i { background: #f79e1b; margin-left: -6px; mix-blend-mode: multiply; }
.vh-pay__note { font-size: 12px; color: var(--vh-muted); margin-left: 4px; }

/* ---------- Sticky add-to-cart ---------- */
.vh-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; transform: translateY(110%); transition: transform .4s var(--vh-ease);
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--vh-line); box-shadow: 0 -10px 30px rgba(20, 32, 26, .08);
}
@supports (backdrop-filter: blur(8px)) { .vh-sticky { background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); } }
.vh-sticky.is-on { transform: none; }
.vh-sticky__inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px 16px; }
.vh-sticky__img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #f2f2ee; }
.vh-sticky__meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vh-sticky__name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-sticky__price { font-size: 15px; font-weight: 700; color: var(--vh-emerald); }
.vh-sticky__btn { padding: 12px 22px; }
@media (max-width: 575px) { .vh-sticky__img { display: none; } .vh-sticky__btn { padding: 12px 16px; font-size: 14px; } }

/* ---------- Welcome popup ---------- */
.vh-pop { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px; }
.vh-pop[hidden] { display: none; }
.vh-pop__backdrop { position: absolute; inset: 0; background: rgba(12, 22, 17, .55); animation: vh-fade .3s both; }
@supports (backdrop-filter: blur(4px)) { .vh-pop__backdrop { backdrop-filter: blur(4px); } }
.vh-pop__card {
  position: relative; width: min(760px, 100%); display: grid; grid-template-columns: 0.85fr 1.15fr; background: #fff; border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: vh-pop-card .5s var(--vh-ease) both;
}
@keyframes vh-fade { from { opacity: 0; } }
@keyframes vh-pop-card { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.vh-pop__art {
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; padding: 30px;
  background: radial-gradient(120% 120% at 20% 10%, #1d9a5c 0%, var(--vh-emerald) 40%, #08452a 100%);
}
.vh-pop__pct { font-size: clamp(64px, 9vw, 96px); font-weight: 800; line-height: .9; color: var(--vh-gold); letter-spacing: -.04em; animation: vh-pulse 2.6s ease-in-out infinite; }
.vh-pop__off { font-size: 22px; font-weight: 700; letter-spacing: .4em; margin-left: .4em; }
@keyframes vh-pulse { 50% { transform: scale(1.06); } }
.vh-pop__body { padding: 38px 34px 30px; }
.vh-pop__body h2 { font-size: 26px; font-weight: 700; line-height: 1.2; margin: 12px 0 8px; color: var(--vh-ink); text-transform: none; }
.vh-pop__body p { color: var(--vh-muted); font-size: 15px; line-height: 1.55; margin: 0 0 18px; }
.vh-pop__form { display: grid; gap: 10px; }
.vh-pop__form input { height: 50px; border-radius: 14px; border: 1.5px solid var(--vh-line); padding: 0 16px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.vh-pop__form input:focus { outline: none; border-color: var(--vh-emerald); box-shadow: 0 0 0 4px rgba(15, 118, 67, .12); }
.vh-pop__err { color: #b42318; font-size: 13px; margin: 0 !important; }
.vh-pop__fine { display: block; color: var(--vh-muted); font-size: 12px; margin-top: 12px; }
.vh-pop__x { position: absolute; top: 12px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 24px; line-height: 1; cursor: pointer; color: var(--vh-ink); transition: transform .25s var(--vh-ease), background .2s; }
.vh-pop__x:hover { transform: rotate(90deg); background: #fff; }
.vh-code {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 6px 0 14px; padding: 14px 18px;
  border: 2px dashed var(--vh-gold); background: var(--vh-gold-l); border-radius: 14px; font-size: 22px; font-weight: 800; letter-spacing: .12em; color: var(--vh-ink); cursor: pointer;
}
.vh-code svg { width: 22px; height: 22px; color: var(--vh-emerald); }
@media (max-width: 640px) {
  .vh-pop__card { grid-template-columns: 1fr; }
  .vh-pop__art { flex-direction: row; gap: 10px; padding: 18px; }
  .vh-pop__pct { font-size: 52px; }
  .vh-pop__body { padding: 22px 20px 22px; }
  .vh-pop__body h2 { font-size: 22px; }
}

/* ---------- Cart modal (ps_shoppingcart) ---------- */
#blockcart-modal .modal-content { border-radius: 22px; overflow: hidden; border: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
#blockcart-modal .modal-header { background: var(--vh-emerald); border: 0; }
#blockcart-modal .modal-title { color: #fff !important; font-weight: 600; }
#blockcart-modal .btn-primary { border-radius: 999px; background: var(--vh-emerald); border-color: var(--vh-emerald); padding: 12px 22px; font-weight: 600; }
#blockcart-modal .btn-secondary { border-radius: 999px; padding: 12px 22px; }
#blockcart-modal.in .modal-dialog, #blockcart-modal.show .modal-dialog { animation: vh-pop-card .45s var(--vh-ease) both; }

/* ---------- Category page header ---------- */
#category #js-product-list-header .block-category, #category .block-category {
  border-radius: 24px; border: 1px solid #e0ebe3; box-shadow: none; padding: 28px 30px; min-height: 0;
  background: radial-gradient(120% 140% at 0% 0%, #fff 0%, #eef5ef 60%, #e3eee6 100%);
}
#category .block-category h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; text-transform: none; color: var(--vh-ink); letter-spacing: -.015em; }
#category .block-category #category-description { color: var(--vh-muted); font-size: 16px; }

/* ---------- Footer ---------- */
#footer { background: #0b1f15; color: #c9d6cd; padding-top: 0; margin-top: 40px; }
#footer .footer-container { background: transparent; padding-top: 44px; box-shadow: none; }
#footer a, #footer .h3, #footer .h4, #footer p, #footer li { color: #c9d6cd !important; }
#footer a:hover { color: var(--vh-gold) !important; }
#footer .h3, #footer .h4, #footer .title .h3 { color: #fff !important; font-weight: 600; text-transform: none; letter-spacing: .01em; }
.block_newsletter { background: linear-gradient(90deg, var(--vh-emerald-d), var(--vh-emerald)); border-radius: 22px; color: #fff; padding: 22px 26px; margin: 26px 0 0; }
.block_newsletter p, .block_newsletter #block-newsletter-label { color: #fff !important; font-weight: 600; }
.block_newsletter input[type="email"] { border-radius: 999px !important; border: 0 !important; height: 48px; padding: 0 18px !important; }
.block_newsletter .btn { border-radius: 999px !important; background: var(--vh-gold) !important; color: var(--vh-ink) !important; font-weight: 700; height: 48px; padding: 0 24px; border: 0 !important; }

/* ---------- Reveal on scroll ---------- */
.vh-js [data-vh-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--vh-ease), transform .8s var(--vh-ease); transition-delay: var(--vh-d, 0ms); }
.vh-js [data-vh-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .vh-js [data-vh-reveal] { opacity: 1; transform: none; }
}

/* supplier reference (CJ SKU) is not for customers */
#product .product-reference, #product-details .product-reference { display: none !important; }
#product-details .product-quantities { margin-top: 0; }
