/*
Theme Name: VBS Audio Theme (Auto-Match Clean) v29
Theme URI: https://example.invalid/
Author: Rebuilt by ChatGPT
Description: Clean rebuild that preserves the original appearance and auto-matches page templates to installed pages (including localized slugs).
Version: 1.1.1.029-decorative-mark
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vbs-audio
*/

/* ==========================
   ANNAI FONT (LOCAL)
   Place ANNAI.woff2/woff/ttf in assets/fonts/ for best results.
   If you only have TTF, you can keep the TTF line.
   ========================== */
@font-face{
  font-family:'ANNAI';
  src: url('assets/fonts/ANNAI.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* ==========================
   VBS METAL SYSTEM (GOLD / RHODIUM)
   + DIAGONAL SWEEP + HOVER SHIMMER
   ========================== */
:root{
  --gold-1:#fff1d6;
  --gold-2:#e0b86a;
  --gold-3:#a8732f;

  --rho-1:#f2f4f7;
  --rho-2:#9aa3ad;
  --rho-3:#2b2f35;

  --sweep-opacity:.32;
  --sweep-duration:8.2s;
  --hover-shimmer-opacity:.14;
}

/* ANNAI for main title */
.annai-title{
  font-family:'ANNAI','Source Serif 4',serif;
  font-weight:400;
  letter-spacing:.18em;
  text-transform:uppercase;
  line-height:1.05;
}

/* Subtitle spacing */
.brand-text .site-subtitle{ color:#98a1a8; font-size:13px; margin-top:6px; }

/* Inline SVG logo sizing */
.site-logo{ width:110px; height:auto; position:relative; }
.site-logo svg{ width:100%; height:auto; display:block; }

/* Gold finish (default) */
.site-logo.gold svg path{
  fill:var(--gold-2);
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.35));
}

/* Black rhodium finish */
.site-logo.rhodium svg path{
  fill:var(--rho-2);
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.55));
}
.site-logo.rhodium svg{ filter:contrast(1.05) saturate(.85); }

/* Diagonal metallic sweep */
.site-logo.metal::before{
  content:"";
  position:absolute;
  inset:-35%;
  background:linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0) 38%,
    rgba(255,255,255,var(--sweep-opacity)) 50%,
    rgba(255,255,255,0) 62%,
    transparent 100%
  );
  transform:translateX(-140%) skewX(-18deg);
  mix-blend-mode:screen;
  opacity:0;
  pointer-events:none;
  animation:vbsLogoSweep var(--sweep-duration) ease-in-out infinite;
}

@keyframes vbsLogoSweep{
  0%{transform:translateX(-140%) skewX(-18deg);opacity:0}
  18%{opacity:.35}
  50%{opacity:.55}
  82%{opacity:.35}
  100%{transform:translateX(140%) skewX(-18deg);opacity:0}
}

/* Subtle hover shimmer */
.site-logo.metal::after{
  content:"";
  position:absolute;
  inset:-25%;
  background:radial-gradient(circle at 30% 35%, rgba(255,255,255,var(--hover-shimmer-opacity)), rgba(255,255,255,0) 55%);
  opacity:0;
  transform:scale(.98);
  transition:opacity .35s ease, transform .35s ease;
  pointer-events:none;
  mix-blend-mode:screen;
}
.site-logo.metal:hover::after{ opacity:1; transform:scale(1); }
.site-logo.metal:hover::before{ animation-play-state:paused; opacity:.22; }

@media (prefers-reduced-motion:reduce){
  .site-logo.metal::before{ animation:none; opacity:0; }
}


/* ==========================
   ANNAI TITLE – METALLIC SWEEP (scroll-triggered)
   Applies to .title-sweep inside .vbs-header
   ========================== */

.vbs-header .annai-title .title-sweep{
  position:relative;
  display:inline-block;
  color: var(--gold-2);
  text-shadow: 0 14px 34px rgba(0,0,0,.45);
}

.vbs-header .annai-title .title-sweep::after{
  content:"";
  position:absolute;
  inset:-25% -18%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.48) 50%,
    rgba(255,255,255,0) 60%,
    transparent 100%
  );
  transform: translateX(-140%) skewX(-18deg);
  opacity:0;
  pointer-events:none;
  mix-blend-mode: screen;
}

/* Triggered sweep only when header enters view */
.vbs-header.vbs-sweep-active .annai-title .title-sweep::after{
  animation: vbsTitleSweep 2.0s ease-in-out 1;
}

@keyframes vbsTitleSweep{
  0%{ transform: translateX(-140%) skewX(-18deg); opacity:0; }
  20%{ opacity:.25; }
  50%{ opacity:.55; }
  80%{ opacity:.25; }
  100%{ transform: translateX(140%) skewX(-18deg); opacity:0; }
}

/* Reduced motion respects user preference */
@media (prefers-reduced-motion: reduce){
  .vbs-header .annai-title .title-sweep::after{ display:none; }
}


/* ==========================
   VBS BLACK FINISH (vignette + micro-grain)
   Avoids “flat black” on OLED without raising black floor.
   ========================== */
body {
  background:#000;
  position:relative;
  min-height:100vh;
}

body::before {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(255,255,255,0.035), rgba(0,0,0,0) 55%),
    radial-gradient(900px 700px at 80% 20%, rgba(224,184,106,0.030), rgba(0,0,0,0) 60%),
    radial-gradient(1200px 900px at 50% 60%, rgba(0,0,0,0), rgba(0,0,0,0.78) 72%, rgba(0,0,0,0.92) 100%);
  mix-blend-mode:screen;
  opacity:.85;
}

body::after {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27120%27%20height%3D%27120%27%3E%0A%20%20%20%20%3Cfilter%20id%3D%27n%27%3E%0A%20%20%20%20%20%20%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.9%27%20numOctaves%3D%272%27%20stitchTiles%3D%27stitch%27/%3E%0A%20%20%20%20%20%20%3CfeColorMatrix%20type%3D%27matrix%27%20values%3D%270%200%200%200%200.5%20%200%200%200%200%200.5%20%200%200%200%200%200.5%20%200%200%200%20.65%200%27/%3E%0A%20%20%20%20%3C/filter%3E%0A%20%20%20%20%3Crect%20width%3D%27120%27%20height%3D%27120%27%20filter%3D%27url%28%23n%29%27%20opacity%3D%27.22%27/%3E%0A%20%20%20%20%3C/svg%3E");
  background-repeat:repeat;
  opacity:.06;
  mix-blend-mode:overlay;
}

.wrap, header, main, footer {
  position:relative;
  z-index:1;
}



/* ==========================
   RHODIUM SURFACE (per-section)
   Apply class .metal-surface.rhodium to a section to shift accent and card tones.
   ========================== */
.metal-surface.rhodium{
  --accent-local: var(--rho-2);
  --card-local: #0a0c10;
  --muted-local: #9aa3ad;
}
.metal-surface.rhodium h3,
.metal-surface.rhodium .p-title,
.metal-surface.rhodium strong{
  color: var(--rho-1);
}
.metal-surface.rhodium p,
.metal-surface.rhodium .p-desc{
  color: var(--muted-local);
}
.metal-surface.rhodium article{
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.006));
  border: 1px solid rgba(255,255,255,0.04);
}


/* ==========================
   VBS PRODUCT TABS
   ========================== */
.vbs-tabs{
  display:flex;
  gap:10px;
  margin: 14px 0 16px 0;
  flex-wrap:wrap;
}
.vbs-tab{
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  color: #9aa3ad;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.vbs-tab.active{
  border-color: var(--gold-2);
  color: var(--gold-1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}
.metal-surface.rhodium .vbs-tab.active{
  border-color: var(--rho-2);
  color: var(--rho-1);
}

.vbs-tabpanes{ position:relative; }
.vbs-pane{ display:none; }
.vbs-pane.show{ display:block; }

.vbs-products-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}


.vbs-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
}
.vbs-ph{
  height: 150px;
  border-radius: 8px;
  background: #101317;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa3ad;
  letter-spacing:.06em;
}
.vbs-ptitle{ font-weight:700; margin-top:10px; color:#e6eef3; }
.vbs-pdesc{ color:#9aa3ad; font-size:14px; margin-top:6px; }


/* ==========================
   VBS GALLERY + LIGHTBOX (dark-metal)
   ========================== */
.vbs-gal-item{ margin:0; }
.vbs-gal-btn{
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  border-radius:12px;
  overflow:hidden;
  position:relative;
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
}
.vbs-gal-btn img{
  transform: scale(1.01);
  transition: transform .45s ease, filter .45s ease;
  filter: contrast(1.05) saturate(.98);
}
.vbs-gal-btn::after{
  content:"";
  position:absolute;
  inset:-30%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,.18) 50%, rgba(255,255,255,0) 60%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg);
  opacity:0;
  mix-blend-mode:screen;
  pointer-events:none;
  transition: opacity .35s ease;
}
.vbs-gal-btn:hover img{ transform: scale(1.045); filter: contrast(1.08) saturate(1.02); }
.vbs-gal-btn:hover::after{ opacity:.65; animation: vbsGalSweep 1.2s ease-in-out 1; }

@keyframes vbsGalSweep{
  0%{ transform: translateX(-140%) skewX(-18deg); }
  100%{ transform: translateX(140%) skewX(-18deg); }
}

.vbs-gal-cap{
  margin-top:10px;
  font-size:12px;
  letter-spacing:.06em;
  color:#9aa3ad;
  text-transform: uppercase;
}

/* Lightbox overlay */
.vbs-lightbox{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.vbs-lightbox.is-open{ display:block; }

.vbs-lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
}

.vbs-lightbox-dialog{
  position:relative;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  margin: 5vh auto;
  display:flex;
  flex-direction:column;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 40px 120px rgba(0,0,0,.75);
  overflow:hidden;
}

.vbs-lightbox-dialog::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0) 42%, rgba(255,255,255,.22) 50%, rgba(255,255,255,0) 58%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg);
  opacity:0;
  mix-blend-mode:screen;
  pointer-events:none;
}
.vbs-lightbox.is-open .vbs-lightbox-dialog::before{
  opacity:.55;
  animation: vbsLbSweep 1.6s ease-in-out 1;
}
@keyframes vbsLbSweep{
  0%{ transform: translateX(-140%) skewX(-18deg); }
  100%{ transform: translateX(140%) skewX(-18deg); }
}

.vbs-lightbox-img{
  width:100%;
  height:auto;
  max-height: calc(90vh - 64px); /* leaves room for caption/close */
  object-fit: contain;
  display:block;
  background:#000;
}

.vbs-lightbox-cap{
  padding: 10px 16px 14px 16px;
  color:#c9d2da;
  font-size:12px;
  letter-spacing:.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.22);
}

.vbs-lightbox-close{
  position:absolute;
  top:10px;
  right:12px;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color:#fff;
  font-size:24px;
  line-height:40px;
  cursor:pointer;
  z-index:2;
}
.vbs-lightbox-close:hover{
  border-color: rgba(224,184,106,0.45);
}

@media (prefers-reduced-motion: reduce){
  .vbs-gal-btn::after, .vbs-lightbox-dialog::before{ animation:none !important; }
}


/* LIGHTBOX FIT TUNING */
@media (max-width: 520px){
  .vbs-lightbox-dialog{ margin: 4vh auto; max-width: 96vw; max-height: 92vh; }
  .vbs-lightbox-img{ max-height: calc(92vh - 72px); }
}


/* ==========================
   VBS GALLERY SCROLL ROW
   ========================== */
.vbs-gallery-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin: 12px 0 10px 0;
}
.vbs-gal-hint{
  color:#9aa3ad;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.85;
}
.vbs-gal-arrow{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  color:#e6eef3;
  font-size:26px;
  line-height:42px;
  cursor:pointer;
}
.vbs-gal-arrow:hover{
  border-color: rgba(224,184,106,0.35);
}

.vbs-gallery-row{
  display:flex;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  padding: 6px 2px 12px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(224,184,106,0.35) rgba(255,255,255,0.05);
}
.vbs-gallery-row::-webkit-scrollbar{ height: 10px; }
.vbs-gallery-row::-webkit-scrollbar-track{ background: rgba(255,255,255,0.05); border-radius:999px; }
.vbs-gallery-row::-webkit-scrollbar-thumb{ background: rgba(224,184,106,0.35); border-radius:999px; }

.vbs-gallery-row .vbs-gal-item{
  flex: 0 0 auto;
  width: min(320px, 78vw);
  scroll-snap-align: start;
}

.vbs-gallery-row.is-dragging{
  cursor: grabbing;
}
.vbs-gallery-row.is-dragging .vbs-gal-btn{
  pointer-events:none; /* prevents accidental lightbox open while dragging */
}

/* keep thumbnails consistent in scroll row */
.vbs-gallery-row .vbs-gal-btn img{
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}
@media (max-width: 520px){
  .vbs-gallery-row .vbs-gal-item{ width: 82vw; }
  .vbs-gallery-row .vbs-gal-btn img{ height: 190px; }
}


/* ==========================
   VBS LIGHTBOX NAV (Prev/Next)
   ========================== */
.vbs-lightbox-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:56px;
  height:56px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28);
  color:#fff;
  font-size:34px;
  line-height:54px;
  cursor:pointer;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(6px);
}
.vbs-lightbox-prev{ left:12px; }
.vbs-lightbox-next{ right:12px; }

.vbs-lightbox-nav:hover{
  border-color: rgba(224,184,106,0.45);
  background: rgba(0,0,0,0.36);
}

@media (max-width: 520px){
  .vbs-lightbox-nav{ width:46px; height:46px; font-size:28px; line-height:44px; }
}


/* ==========================
   POWER CABLE FIT TUNING
   ========================== */
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  object-fit: contain;
  background: #000;
  padding: 14px;
}

.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn{
  background: #000;
}

.vbs-lightbox.is-open .vbs-lightbox-img[src*="power-cable-black"]{
  object-fit: contain;
  max-height: calc(86vh - 72px);
}


/* ==========================
   POWER CABLE 50% SCALE
   ========================== */
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn{
  display:flex;
  align-items:center;
  justify-content:center;
}
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  width: 50%;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border-radius: 10px;
  transform: none;
}

/* Lightbox: power cable shown at 50% scale but fully visible */
.vbs-lightbox.power-small .vbs-lightbox-img{
  width: 50%;
  max-width: 50vw;
  max-height: calc(90vh - 64px);
  margin: 0 auto;
  object-fit: contain;
}
@media (max-width: 520px){
  .vbs-lightbox.power-small .vbs-lightbox-img{
    width: 70%;
    max-width: 70vw;
  }
}


/* ==========================
   FINAL OVERRIDE: POWER CABLE @ 50%
   ========================== */
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  width: 50% !important;
  max-width: 50% !important;
  height: auto !important;
  object-fit: contain !important;
}

.vbs-lightbox.power-small .vbs-lightbox-img{
  width: 50% !important;
  max-width: 50vw !important;
  height: auto !important;
  object-fit: contain !important;
}


/* ==========================
   SCALE PER PRODUCT TYPE (thumbnails + lightbox)
   Speaker 90% • USB 70% • Power 70%
   ========================== */

/* Thumbnail scaling inside gallery row */
.vbs-gallery-row .vbs-gal-btn{
  display:flex;
  align-items:center;
  justify-content:center;
}

.vbs-gallery-row .vbs-gal-item.is-speaker-cable .vbs-gal-btn img{
  width: 90% !important;
  max-width: 90% !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
}

.vbs-gallery-row .vbs-gal-item.is-usb-cable .vbs-gal-btn img{
  width: 70% !important;
  max-width: 70% !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
}

.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  width: 70% !important;
  max-width: 70% !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* Lightbox scaling by type (class toggled in JS) */
.vbs-lightbox.scale-speaker .vbs-lightbox-img{
  width: 90% !important;
  max-width: 90vw !important;
  margin: 0 auto;
  object-fit: contain !important;
}
.vbs-lightbox.scale-usb .vbs-lightbox-img{
  width: 70% !important;
  max-width: 70vw !important;
  margin: 0 auto;
  object-fit: contain !important;
}
.vbs-lightbox.scale-power .vbs-lightbox-img{
  width: 70% !important;
  max-width: 70vw !important;
  margin: 0 auto;
  object-fit: contain !important;
}

@media (max-width: 520px){
  .vbs-lightbox.scale-speaker .vbs-lightbox-img{ width: 94% !important; max-width: 94vw !important; }
  .vbs-lightbox.scale-usb .vbs-lightbox-img{ width: 86% !important; max-width: 86vw !important; }
  .vbs-lightbox.scale-power .vbs-lightbox-img{ width: 86% !important; max-width: 86vw !important; }
}


/* ==========================
   GALLERY EQUAL-SIZE APPEARANCE
   ========================== */

/* Fixed visual frame for all gallery items */
.vbs-gallery-row .vbs-gal-btn{
  width: 100%;
  height: 220px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* Images scale INSIDE the same frame */
.vbs-gallery-row .vbs-gal-btn img{
  max-height: 85%;
  max-width: 85%;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto;
}

/* Mobile adjustment */
@media (max-width: 520px){
  .vbs-gallery-row .vbs-gal-btn{
    height: 200px;
  }
  .vbs-gallery-row .vbs-gal-btn img{
    max-height: 88%;
    max-width: 88%;
  }
}


/* ==========================
   PRODUCTS — SINGLE COLUMN LIST (DESKTOP)
   Left-aligned, no frames, editorial separators
   ========================== */
.products-list{ max-width: 920px; margin-top: 14px; }
.prod-cat{ padding: 10px 0 18px 0; }
.prod-cat-header{ display:flex; align-items:center; gap:14px; margin: 10px 0 8px 0; }
.prod-cat-header h4{
  margin:0;
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(212,165,90,0.92);
}
.prod-sep{ height:1px; flex:1; background: linear-gradient(90deg, rgba(212,165,90,0.55), rgba(212,165,90,0)); opacity:0.9; }

.prod-ul{ list-style:none; margin:0; padding:0; }

.prod-row{
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
}
.prod-row:last-child{ border-bottom:none; }

.prod-row .p-title{
  display:inline-block;
  font-weight: 650;
  font-size: 18px;
  margin: 0;
  color: #eaf3f7;
  text-align: left;
}
.prod-row .p-micro{
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(152,161,168,0.92);
}
.prod-row .p-desc{
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  text-align: left;
  max-width: 76ch;
}

/* Subtle hover underline on titles */
.prod-row:hover .p-title{
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(212,165,90,0.65);
}

/* Keyboard focus */
.prod-row:focus{
  outline: 1px solid rgba(212,165,90,0.45);
  outline-offset: 6px;
  border-radius: 8px;
}


/* ==========================
   GALLERY FEATURE FRAME (Interconnect)
   ========================== */
.gal-feature{
  margin-top: 14px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.gal-feature-head{
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.gal-feature-title{
  font-family:'Vercetti','ANNAI','Source Serif 4',serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 20px;
}
.gal-feature-sub{
  color: var(--muted);
  font-size: 13px;
}
.gal-frame{
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.65);
  cursor: zoom-in;
}
.gal-frame img{
  width: 100%;
  height: 320px;
  object-fit: contain;
  display:block;
  background: radial-gradient(closest-side, rgba(255,255,255,0.02), rgba(0,0,0,0) 72%);
  padding: 14px;
}
@media (max-width: 720px){
  .gal-frame img{ height: 240px; }
}


/* ==========================
   GALLERY SCROLLER — BASE
   ========================== */
.vbs-gallery-controls{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-bottom:10px;
}
.vbs-gal-arr{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(230,238,243,0.9);
  width: 40px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
}
.vbs-gal-arr:hover{ border-color: rgba(212,165,90,0.55); color: #fff; }

.vbs-gallery-row{
  display:flex;
  gap: 12px;
  overflow-x:auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.vbs-gallery-row::-webkit-scrollbar{ height: 8px; }
.vbs-gallery-row::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.08); border-radius: 10px; }

.vbs-gal-item{ flex: 0 0 auto; width: 240px; scroll-snap-align: start; }
.vbs-gal-btn{ padding:0; border:none; background:transparent; width:100%; cursor: zoom-in; }
.vbs-gal-btn img{
  width:100%;
  height:170px;
  object-fit: cover;
  border-radius: 12px;
  display:block;
  background: rgba(255,255,255,0.02);
}
.vbs-gal-cap{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(152,161,168,0.92);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================
   LANG BLOCKS (stable)
   ========================== */
.lang-block{display:none; max-width:680px;}
html:not([lang]) .lang-en{display:block;}
html[lang^="en"] .lang-en{display:block;}
html[lang^="it"] .lang-it{display:block;}
html[lang^="sr"] .lang-sr{display:block;}
.lang-block p{margin:0 0 16px 0; line-height:1.7; color:rgba(230,238,243,0.92);}

.philosophy-page{max-width:820px;margin:0 auto;}
.phil-lead{font-size:1.15rem;line-height:1.75;margin-bottom:2rem;color:rgba(230,238,243,0.92);}
.phil-head{margin-top:2.8rem;letter-spacing:0.08em;}
@media (max-width:768px){
  .philosophy-page{padding:0 18px;}
  .phil-head{margin-top:2.1rem;}
}


/* === Base metal-surface defaults (no-JS, no-variant safety) ===
   Ensures readable text contrast when templates use .metal-surface
   without a variant class (e.g., .rhodium). */
.metal-surface{
  color:#9aa3ad;
}
.metal-surface h1,
.metal-surface h2,
.metal-surface h3,
.metal-surface .vbs-heading,
.metal-surface strong{
  color:#f2f4f7;
}
.metal-surface p{
  color:#9aa3ad;
}

#about .vbs-heading,
.philosophy-page .vbs-heading{
  color:#f2f4f7;
  font-weight:500;
  letter-spacing:0.02em;
}

.vbs-lines-nav-wrap{ margin: 1.25rem 0 2rem; }
.vbs-lines-nav{ display:flex; flex-wrap:wrap; gap:0.75rem 1rem; }
.vbs-lines-nav a{
  border-bottom:1px solid rgba(242,244,247,0.35);
  color:#f2f4f7;
  text-decoration:none;
  letter-spacing:0.02em;
}
.vbs-lines-nav a:hover{ border-bottom-color: rgba(242,244,247,0.75); }
.vbs-line-detail{ padding:1.5rem 0; border-top:1px solid rgba(255,255,255,0.08); }
.vbs-line-detail p{ max-width:680px; }


.vbs-downloads{ margin-top:2rem; }
.vbs-download-list{ list-style:none; padding:0; margin:0.75rem 0 0; }
.vbs-download-list li{ margin:0.5rem 0; }
.vbs-download-list a{
  color:#f2f4f7;
  text-decoration:none;
  border-bottom:1px solid rgba(242,244,247,0.35);
}
.vbs-download-list a:hover,
.vbs-download-list a:focus{
  border-bottom-color:rgba(242,244,247,0.75);
}



.vbs-pdf-label{
  font-size:0.75em;
  letter-spacing:0.04em;
  opacity:0.7;
  margin-left:0.4em;
}


.vbs-footer-downloads{
  margin-top:1.5rem;
  font-size:0.9em;
}
.vbs-footer-downloads a{
  display:block;
  margin-top:0.25rem;
}


.vbs-main-nav a.nav-link:hover,
.vbs-main-nav a.nav-link:focus{
  text-decoration-thickness: 2px;
}



.vbs-main-nav a{
  text-decoration: none !important;
  border-bottom: 1px solid rgba(152,161,168,0.65);
  padding-bottom: 2px;
}
.vbs-main-nav a:hover,
.vbs-main-nav a:focus{
  border-bottom-color: rgba(242,244,247,0.85);
}

.vbs-main-nav .lang-btn{
  border: 1px solid rgba(152,161,168,0.65) !important;
  border-radius: 8px;
}
.vbs-main-nav .lang-btn:hover,
.vbs-main-nav .lang-btn:focus{
  border-color: rgba(242,244,247,0.85) !important;
}



.vbs-main-nav a{
  text-decoration: none;
  border-bottom: 1px solid rgba(152,161,168,0.65);
  padding-bottom: 2px;
}
.vbs-main-nav a:hover,
.vbs-main-nav a:focus{
  border-bottom-color: rgba(242,244,247,0.85);
}
.vbs-main-nav .lang-btn{
  border: 1px solid rgba(152,161,168,0.65);
  border-radius: 8px;
}
.vbs-main-nav .lang-btn:hover,
.vbs-main-nav .lang-btn:focus{
  border-color: rgba(242,244,247,0.85);
}



/* Gallery hover consistency */
.vbs-gal-item img {
  transition: transform 0.35s ease;
}
.vbs-gal-item:hover img {
  transform: scale(1.06);
}


/* Lightbox image size */
.vbs-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
}


.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  object-fit: cover !important;
  padding: 0 !important;
  background: transparent !important;
}


.vbs-lightbox-dialog{
  max-width: 1100px !important;
}
.vbs-lightbox-img{
  max-height: calc(95vh - 48px) !important;
}


/* Lightbox caption fade-in */
#vbsLightboxCap.vbs-lightbox-cap{opacity:0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease;}
#vbsLightboxCap.vbs-lightbox-cap.is-visible{opacity:1; transform:none;}

/* Lightbox first-open hint */
.vbs-lightbox-hint{
  position:absolute;
  left:16px; right:16px; bottom:16px;
  padding:10px 12px;
  border-radius:10px;
  background: rgba(0,0,0,.62);
  color:#fff;
  font-size:14px;
  opacity:0;
  pointer-events:none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.vbs-lightbox-hint.is-visible{opacity:1; transform:none;}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  #vbsLightboxCap.vbs-lightbox-cap,
  .vbs-lightbox-hint{
    transition:none !important;
  }
}


.vbs-gal-item.is-power-cable:hover img,
.vbs-gal-item.is-power-cable:focus-within img,
.vbs-gal-item[data-categories*="power"]:hover img,
.vbs-gal-item[data-categories*="power"]:focus-within img {
  transform: scale(var(--vbs-hover-scale, 1.05)) !important;
}





.vbs-gal-item:hover img,
.vbs-gal-item:focus-within img {
  transform: scale(1.05);
  filter: brightness(1.05) contrast(1.05);
}


/* === GALLERY IMAGE APPEARANCE (INTERCONNECT-STYLE) === */
:root{
  --vbs-gal-pad-desktop: 6%;
  --vbs-gal-pad-mobile: 9%;
  --vbs-gal-vignette-center: #202020;
  --vbs-gal-vignette-edge: #000000;
  --vbs-gal-vignette-stop: 72%;
  --vbs-gal-hover-scale: 1.05;
}

/* Base normalization */
.vbs-gal-item img{
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: radial-gradient(ellipse at center,
    var(--vbs-gal-vignette-center) 0%,
    var(--vbs-gal-vignette-edge) var(--vbs-gal-vignette-stop)
  );
  padding: var(--vbs-gal-pad-desktop);
  box-sizing: border-box;
  transition: transform .35s ease, filter .35s ease;
}

/* Hover / focus pop */
.vbs-gal-item:hover img,
.vbs-gal-item:focus-within img{
  transform: scale(var(--vbs-gal-hover-scale));
  filter: brightness(1.05) contrast(1.06);
}

/* Per-category micro-adjust: power cables slightly smaller */
.vbs-gal-item.is-power-cable img{
  padding: calc(var(--vbs-gal-pad-desktop) + 2%);
}

/* Mobile-specific padding ratios */
@media (max-width: 640px){
  .vbs-gal-item img{
    padding: var(--vbs-gal-pad-mobile);
  }
  .vbs-gal-item.is-power-cable img{
    padding: calc(var(--vbs-gal-pad-mobile) + 2%);
  }
}


/* About page: product list is informational only (no link-like affordances) */
.page-template-page-about .prod-row{
  cursor: default;
}
.page-template-page-about .prod-row:hover .p-title{
  text-decoration: none;
}


/* About page: product list should be plain text (no focus outlines, no pointer behavior) */
.page-template-page-about .prod-row,
.page-id-about .prod-row { cursor: default !important; }
.page-template-page-about .prod-row a:focus,
.page-template-page-about .prod-row a:focus-visible,
.page-template-page-about .prod-row .p-title:focus,
.page-template-page-about .prod-row .p-title:focus-visible { outline: none !important; box-shadow: none !important; }


/* About products: disable click behavior */
.page-template-page-about .about-products-wrap .prod-row,
.page-template-page-about .about-products-wrap .prod-row * {
  pointer-events: none !important;
  cursor: default !important;
}

/* ==========================
   VBS GALLERY + LIGHTBOX (dark-metal)
   ========================== */
.vbs-gal-item{ margin:0; }
.vbs-gal-btn{
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  border-radius:12px;
  overflow:hidden;
  position:relative;
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
}
.vbs-gal-btn img{
  transform: scale(1.01);
  transition: transform .45s ease, filter .45s ease;
  filter: contrast(1.05) saturate(.98);
}
.vbs-gal-btn::after{
  content:"";
  position:absolute;
  inset:-30%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,.18) 50%, rgba(255,255,255,0) 60%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg);
  opacity:0;
  mix-blend-mode:screen;
  pointer-events:none;
  transition: opacity .35s ease;
}
.vbs-gal-btn:hover img{ transform: scale(1.045); filter: contrast(1.08) saturate(1.02); }
.vbs-gal-btn:hover::after{ opacity:.65; animation: vbsGalSweep 1.2s ease-in-out 1; }

@keyframes vbsGalSweep{
  0%{ transform: translateX(-140%) skewX(-18deg); }
  100%{ transform: translateX(140%) skewX(-18deg); }
}

.vbs-gal-cap{
  margin-top:10px;
  font-size:12px;
  letter-spacing:.06em;
  color:#9aa3ad;
  text-transform: uppercase;
}

/* Lightbox overlay */
.vbs-lightbox{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.vbs-lightbox.is-open{ display:block; }

.vbs-lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
}

.vbs-lightbox-dialog{
  position:relative;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  margin: 5vh auto;
  display:flex;
  flex-direction:column;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 40px 120px rgba(0,0,0,.75);
  overflow:hidden;
}

.vbs-lightbox-dialog::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0) 42%, rgba(255,255,255,.22) 50%, rgba(255,255,255,0) 58%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg);
  opacity:0;
  mix-blend-mode:screen;
  pointer-events:none;
}
.vbs-lightbox.is-open .vbs-lightbox-dialog::before{
  opacity:.55;
  animation: vbsLbSweep 1.6s ease-in-out 1;
}
@keyframes vbsLbSweep{
  0%{ transform: translateX(-140%) skewX(-18deg); }
  100%{ transform: translateX(140%) skewX(-18deg); }
}

.vbs-lightbox-img{
  width:100%;
  height:auto;
  max-height: calc(90vh - 64px); /* leaves room for caption/close */
  object-fit: contain;
  display:block;
  background:#000;
}

.vbs-lightbox-cap{
  padding: 10px 16px 14px 16px;
  color:#c9d2da;
  font-size:12px;
  letter-spacing:.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.22);
}

.vbs-lightbox-close{
  position:absolute;
  top:10px;
  right:12px;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color:#fff;
  font-size:24px;
  line-height:40px;
  cursor:pointer;
  z-index:2;
}
.vbs-lightbox-close:hover{
  border-color: rgba(224,184,106,0.45);
}

@media (prefers-reduced-motion: reduce){
  .vbs-gal-btn::after, .vbs-lightbox-dialog::before{ animation:none !important; }
}


/* LIGHTBOX FIT TUNING */
@media (max-width: 520px){
  .vbs-lightbox-dialog{ margin: 4vh auto; max-width: 96vw; max-height: 92vh; }
  .vbs-lightbox-img{ max-height: calc(92vh - 72px); }
}



/* =========================================================
   GALLERY THUMBNAIL NORMALIZATION (Cascade-safe)
   Fixes conflicting duplicate rules that can hide/crop items.
   ========================================================= */
.vbs-gallery-row .vbs-gal-btn img,
.vbs-gal-btn img{
  width: 100% !important;
  height: 200px !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  background: transparent !important;
  border-radius: 12px;
}

/* Keep speaker cable slightly larger in frame (optional) */
.vbs-gallery-row .vbs-gal-item.is-speaker-cable .vbs-gal-btn img{
  width: 90% !important;
  max-width: 90% !important;
}

/* Admin bar + scroll-padding sanity (front-end when logged in) */
body.admin-bar{ --wp-admin--admin-bar--height: 32px; }
@media screen and (max-width: 782px){
  body.admin-bar{ --wp-admin--admin-bar--height: 46px; }
}
html{
  scroll-padding-top: var(--wp-admin--admin-bar--height, 0px);
}

/* -------------------------------------------------------------------------
 * Gallery – final sizing override
 * (Customizer/live preview can reorder/inject styles; keep thumbnails stable.)
 * ---------------------------------------------------------------------- */
.vbs-gallery-row .vbs-gal-btn picture,
.vbs-gallery-row .vbs-gal-btn img,
.vbs-gal-btn picture,
.vbs-gal-btn img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:200px !important;
  max-height:none !important;
  object-fit:contain !important;
  background:transparent !important;
  margin:0 auto !important;
  border-radius:12px !important;
}

@media (max-width:520px){
  .vbs-gallery-row .vbs-gal-btn picture,
  .vbs-gallery-row .vbs-gal-btn img{
    height:190px !important;
  }
}

/* Remove accidental per-item width constraints that can hide a single thumbnail */
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img,
.vbs-gallery-row .vbs-gal-item.is-power-strip .vbs-gal-btn img,
.vbs-gallery-row .vbs-gal-item.is-usb-cable .vbs-gal-btn img{
  width:100% !important;
  max-width:100% !important;
}

/* =========================================================
   GALLERY: LAST-WINS SAFETY OVERRIDES (Customizer + Frontend)
   Purpose: prevent one-off thumbnails (notably power-cable) from
   disappearing due to conflicting legacy rules.
   ========================================================= */

/* Ensure every gallery item remains visible unless explicitly filtered */
.vbs-gallery-row .vbs-gal-item{ display:block; }
.vbs-gallery-row .vbs-gal-item[data-vbs-hidden="1"]{ display:none !important; }

/* Make the button a consistent frame; this avoids 0-height/auto quirks */
.vbs-gallery-row .vbs-gal-btn{
  display:block;
  width:100% !important;
  overflow:hidden;
}

/* Ensure <picture> participates in layout consistently */
.vbs-gallery-row .vbs-gal-btn picture{
  display:block;
  width:100% !important;
}

/* Final, consistent thumbnail sizing: contain inside the frame */
.vbs-gallery-row .vbs-gal-btn img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:200px !important;
  max-height:none !important;
  object-fit:contain !important;
  background:transparent !important;
}

/* Power cable: never force a black backing that can read as “missing” */
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn{
  background:transparent !important;
}

/* WordPress Customizer (live preview) can inject extra CSS; harden it */
body.customize-preview .vbs-gallery-row{
  overflow-x:auto !important;
}
body.customize-preview .vbs-gallery-row .vbs-gal-item{
  opacity:1 !important;
  visibility:visible !important;
}

/* =========================================================
   GALLERY: LAST-WINS SAFETY OVERRIDES (Customizer + Frontend)
   Purpose: prevent thumbnails (notably power-cable) from disappearing
   due to conflicting legacy rules and mixed object-fit/height settings.
   ========================================================= */

/* Base: keep the frame stable; image always contain and centered */
.vbs-gallery-shortcode .vbs-gallery-row .vbs-gal-btn{
  height: 220px !important;
  display: block !important;
}

.vbs-gallery-shortcode .vbs-gallery-row .vbs-gal-btn picture,
.vbs-gallery-shortcode .vbs-gallery-row .vbs-gal-btn img{
  display: block !important;
}

.vbs-gallery-shortcode .vbs-gallery-row .vbs-gal-btn img{
  width: auto !important;
  height: auto !important;
  max-width: 88% !important;
  max-height: 88% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* Do NOT special-case power-cable with a black fill; keep consistent */
.vbs-gallery-shortcode .vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  background: transparent !important;
}

/* Customizer can inject additional styles; ensure nothing hides items */
body.customize-preview .vbs-gallery-shortcode .vbs-gallery-row{
  overflow-x: auto !important;
}
body.customize-preview .vbs-gallery-shortcode .vbs-gal-item{
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 520px){
  .vbs-gallery-shortcode .vbs-gallery-row .vbs-gal-btn{
    height: 190px !important;
  }
  .vbs-gallery-shortcode .vbs-gallery-row .vbs-gal-btn img{
    max-width: 92% !important;
    max-height: 92% !important;
  }
}

/* =========================================================
   GALLERY: LAST-WINS SAFETY OVERRIDES (Customizer + Frontend)
   Purpose: prevent thumbnails (notably power-cable) from disappearing
   due to conflicting legacy rules and mixed object-fit/height settings.
   ========================================================= */

/* Keep every item visible unless the JS filter sets data-vbs-hidden */
.vbs-gallery-shortcode .vbs-gal-item{ opacity:1; visibility:visible; }
.vbs-gallery-shortcode .vbs-gal-item[data-vbs-hidden="1"]{ display:none !important; }

/* Stable thumbnail frame */
.vbs-gallery-shortcode .vbs-gal-btn{
  position: relative;
  width: 100%;
  min-height: 210px;
}

/* Normalize picture + img sizing across all browsers */
.vbs-gallery-shortcode .vbs-gal-btn picture,
.vbs-gallery-shortcode .vbs-gal-btn img{
  display:block;
}

/* One definitive rule for thumbnails (last wins) */
.vbs-gallery-shortcode .vbs-gallery-row .vbs-gal-btn img{
  width: 100% !important;
  height: 210px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  background: radial-gradient(ellipse at center, var(--vbs-gal-vignette-center) 0%, var(--vbs-gal-vignette-edge) var(--vbs-gal-vignette-stop)) !important;
  padding: var(--vbs-gal-pad-desktop) !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px){
  .vbs-gallery-shortcode .vbs-gallery-row .vbs-gal-btn img{
    height: 190px !important;
    padding: var(--vbs-gal-pad-mobile) !important;
  }
}

/* Remove any special-case backgrounds that can make dark cables look "missing" */
.vbs-gallery-shortcode .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  background: radial-gradient(ellipse at center, var(--vbs-gal-vignette-center) 0%, var(--vbs-gal-vignette-edge) var(--vbs-gal-vignette-stop)) !important;
}

/* Customizer (Live Preview) sometimes injects additional CSS; enforce horizontal scrolling */
body.customize-preview .vbs-gallery-row{
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

/* =========================================================
   GALLERY: LAST-WINS SAFETY OVERRIDES (Customizer + Frontend)
   Purpose: prevent thumbnails (notably power-cable) from disappearing
   due to conflicting legacy rules and mixed object-fit/height settings.
   ========================================================= */

/* Keep every item visible unless the JS filter explicitly hides it */
.vbs-gallery-row .vbs-gal-item{ display:block; }
.vbs-gallery-row .vbs-gal-item[data-vbs-hidden="1"]{ display:none; }

/* Stable thumbnail frame */
.vbs-gallery-row .vbs-gal-btn{
  height: 220px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* Always contain + center the image; do not allow cover overrides */
.vbs-gallery-row .vbs-gal-btn picture,
.vbs-gallery-row .vbs-gal-btn img{
  display:block !important;
}

.vbs-gallery-row .vbs-gal-btn img{
  width:auto !important;
  height:auto !important;
  max-width: 88% !important;
  max-height: 88% !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  background: transparent !important;
}

/* Power-cable thumbnails: remove any black/padding overrides that can
   visually "erase" the cable in Customizer live preview. */
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn,
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  background: transparent !important;
  padding: 0 !important;
}

/* Customizer live preview sometimes injects additional styles; ensure
   horizontal scrolling remains available. */
body.customize-preview .vbs-gallery-row{
  overflow-x: auto !important;
}

/* =========================================================
   GALLERY: LAST-WINS SAFETY OVERRIDES (Customizer + Frontend)
   Purpose: prevent thumbnails (notably power-cable) from disappearing
   due to conflicting legacy rules and mixed object-fit/height settings.
   ========================================================= */

/* Keep every item visible unless the JS filter explicitly hides it */
.vbs-gallery-row .vbs-gal-item{
  display: block;
}

/* Stable thumbnail frame */
.vbs-gallery-row .vbs-gal-btn{
  height: 220px !important;
  display: block;
}

/* Always render the image; never collapse to 0 due to conflicting rules */
.vbs-gallery-row .vbs-gal-btn picture,
.vbs-gallery-row .vbs-gal-btn img{
  display: block !important;
}

/* Canonical thumbnail sizing: contain, centered */
.vbs-gallery-row .vbs-gal-btn img{
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  background: transparent !important;
}

/* Remove any special-case dark backgrounds that can make black cables "vanish" */
.vbs-gal-item.is-power-cable .vbs-gal-btn,
.vbs-gal-item.is-power-cable .vbs-gal-btn img{
  background: transparent !important;
}

/* Customizer/live preview: some admin styles can interfere with overflow */
body.customize-preview .vbs-gallery-row{
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

/* =========================================================
   GALLERY: LAST-WINS SAFETY OVERRIDES (Customizer + Frontend)
   Purpose: prevent thumbnails (notably power-cable) from disappearing
   due to conflicting legacy rules and mixed object-fit/height settings.
   ========================================================= */

/* Keep every item visible unless the JS filter explicitly hides it */
.vbs-gallery-row .vbs-gal-item{
  opacity: 1 !important;
  visibility: visible !important;
}

/* Stable thumbnail frame */
.vbs-gallery-row .vbs-gal-btn{
  height: 220px !important;
  display: block !important;
}

/* Single source of truth for thumbnail sizing */
.vbs-gallery-row .vbs-gal-btn picture,
.vbs-gallery-row .vbs-gal-btn img{
  width: 100% !important;
  height: 220px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* Some earlier blocks force object-fit: cover; override that here */
.vbs-gallery-row .vbs-gal-btn img{
  padding: var(--vbs-gal-pad-desktop, 6%) !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
}

/* Power cable: remove special-case black fill/padding that can make it look “missing” */
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn,
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  background: transparent !important;
}

@media (max-width: 640px){
  .vbs-gallery-row .vbs-gal-btn picture,
  .vbs-gallery-row .vbs-gal-btn img{
    height: 190px !important;
  }
  .vbs-gallery-row .vbs-gal-btn img{
    padding: var(--vbs-gal-pad-mobile, 9%) !important;
  }
}

/* In Customizer, horizontal wheel/trackpad scroll can be blocked; keep it explicit */
body.customize-preview .vbs-gallery-row{
  overflow-x: auto !important;
}

/* =========================================================
   GALLERY: LAST-WINS SAFETY OVERRIDES (Customizer + Frontend)
   Purpose: prevent thumbnails (notably power-cable) from disappearing
   due to conflicting legacy rules and mixed object-fit/height settings.
   ========================================================= */

/* Keep every item visible unless the JS filter explicitly hides it */
.vbs-gallery-row .vbs-gal-item{
  opacity: 1 !important;
  visibility: visible !important;
}

/* Stable thumbnail frame */
.vbs-gallery-row .vbs-gal-btn{
  height: 220px !important;
  display: block !important;
}

/* Single source of truth for thumbnail image sizing */
.vbs-gallery-row .vbs-gal-btn picture,
.vbs-gallery-row .vbs-gal-btn img{
  width: 100% !important;
  height: 220px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* Some earlier blocks forced object-fit:cover; override that here */
.vbs-gallery-row .vbs-gal-btn img{
  padding: var(--vbs-gal-pad-desktop, 6%) !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
}

/* Power cable: remove any special-case black fill/padding that can make it look “missing” */
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn,
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  background: transparent !important;
}

@media (max-width: 640px){
  .vbs-gallery-row .vbs-gal-btn picture,
  .vbs-gallery-row .vbs-gal-btn img{
    height: 190px !important;
  }
  .vbs-gallery-row .vbs-gal-btn img{
    padding: var(--vbs-gal-pad-mobile, 9%) !important;
  }
}

/* In Customizer, horizontal wheel/trackpad scroll can be blocked; keep overflow enabled */
body.customize-preview .vbs-gallery-row{
  overflow-x: auto !important;
}

/* =========================================================
   GALLERY: LAST-WINS SAFETY OVERRIDES (Customizer + Frontend)
   Purpose: prevent thumbnails (notably power-cable) from disappearing
   due to conflicting legacy rules and mixed object-fit/height settings.
   ========================================================= */

/* Keep every item visible unless the JS filter explicitly hides it */
.vbs-gallery-row .vbs-gal-item{
  opacity: 1 !important;
  visibility: visible !important;
}

/* Stable thumbnail frame */
.vbs-gallery-row .vbs-gal-btn{
  height: 220px !important;
  display: block !important;
}

/* Single source of truth for the thumbnail image sizing */
.vbs-gallery-row .vbs-gal-btn picture,
.vbs-gallery-row .vbs-gal-btn img{
  width: 100% !important;
  height: 220px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* Some earlier blocks force object-fit:cover; override that here */
.vbs-gallery-row .vbs-gal-btn img{
  padding: var(--vbs-gal-pad-desktop, 6%) !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
}

/* Power cable: remove any special-case black fill/padding that can make it look “missing” */
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn,
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  background: transparent !important;
}

@media (max-width: 640px){
  .vbs-gallery-row .vbs-gal-btn picture,
  .vbs-gallery-row .vbs-gal-btn img{
    height: 190px !important;
  }
  .vbs-gallery-row .vbs-gal-btn img{
    padding: var(--vbs-gal-pad-mobile, 9%) !important;
  }
}

/* In Customizer, horizontal wheel/trackpad scroll can be blocked; keep arrows usable */
body.customize-preview .vbs-gallery-row{
  overflow-x: auto !important;
}


/* =========================================================
   GALLERY: FINAL OVERRIDE (LAST-WINS)
   ========================================================= */
.vbs-gallery-row .vbs-gal-item{opacity:1!important;visibility:visible!important;}
.vbs-gallery-row .vbs-gal-btn{height:220px!important;display:block!important;}
.vbs-gallery-row .vbs-gal-btn picture,
.vbs-gallery-row .vbs-gal-btn img{width:100%!important;height:220px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;background:transparent!important;}
.vbs-gallery-row .vbs-gal-btn img{padding:var(--vbs-gal-pad-desktop,6%)!important;box-sizing:border-box!important;border-radius:12px!important;}
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn,
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{background:transparent!important;}
@media (max-width:640px){
  .vbs-gallery-row .vbs-gal-btn picture,
  .vbs-gallery-row .vbs-gal-btn img{height:190px!important;}
  .vbs-gallery-row .vbs-gal-btn img{padding:var(--vbs-gal-pad-mobile,9%)!important;}
}
body.customize-preview .vbs-gallery-row{overflow-x:auto!important;}

/* =========================================================
   GALLERY: FINAL OVERRIDE (LAST-WINS)
   ========================================================= */

.vbs-gallery-row .vbs-gal-item{opacity:1!important;visibility:visible!important;}

.vbs-gallery-row .vbs-gal-btn{
  height:220px!important;
  display:block!important;
}

.vbs-gallery-row .vbs-gal-btn picture,
.vbs-gallery-row .vbs-gal-btn img{
  width:100%!important;
  height:220px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  background:transparent!important;
}

.vbs-gallery-row .vbs-gal-btn img{
  padding:var(--vbs-gal-pad-desktop,6%)!important;
  box-sizing:border-box!important;
  border-radius:12px!important;
}

.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn,
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  background:transparent!important;
}

@media (max-width:640px){
  .vbs-gallery-row .vbs-gal-btn picture,
  .vbs-gallery-row .vbs-gal-btn img{height:190px!important;}
  .vbs-gallery-row .vbs-gal-btn img{padding:var(--vbs-gal-pad-mobile,9%)!important;}
}

body.customize-preview .vbs-gallery-row{overflow-x:auto!important;}

/* =========================================================
   GALLERY: FINAL OVERRIDE (LAST-WINS)
   ========================================================= */

.vbs-gallery-row .vbs-gal-item{opacity:1!important;visibility:visible!important;}

.vbs-gallery-row .vbs-gal-btn{
  height:220px!important;
  display:block!important;
}

.vbs-gallery-row .vbs-gal-btn picture,
.vbs-gallery-row .vbs-gal-btn img{
  width:100%!important;
  height:220px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  background:transparent!important;
}

.vbs-gallery-row .vbs-gal-btn img{
  padding:var(--vbs-gal-pad-desktop,6%)!important;
  box-sizing:border-box!important;
  border-radius:12px!important;
}

.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn,
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{
  background:transparent!important;
}

@media (max-width:640px){
  .vbs-gallery-row .vbs-gal-btn picture,
  .vbs-gallery-row .vbs-gal-btn img{height:190px!important;}
  .vbs-gallery-row .vbs-gal-btn img{padding:var(--vbs-gal-pad-mobile,9%)!important;}
}

body.customize-preview .vbs-gallery-row{overflow-x:auto!important;}


/* GALLERY: FINAL OVERRIDE (LAST-WINS)
   Ensures thumbnails render consistently in WP Customizer live preview.
*/

.vbs-gallery-row .vbs-gal-item{opacity:1!important;visibility:visible!important;}
.vbs-gallery-row .vbs-gal-btn{height:220px!important;display:block!important;}
.vbs-gallery-row .vbs-gal-btn img{
  width:100%!important;
  height:220px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  background:transparent!important;
  border-radius:12px!important;
  padding:var(--vbs-gal-pad-desktop,6%)!important;
  box-sizing:border-box!important;
}

/* Power Cable thumbnails: remove any special-case dark fills */
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn,
.vbs-gallery-row .vbs-gal-item.is-power-cable .vbs-gal-btn img{background:transparent!important;}

@media (max-width:640px){
  .vbs-gallery-row .vbs-gal-btn{height:190px!important;}
  .vbs-gallery-row .vbs-gal-btn img{height:190px!important;padding:var(--vbs-gal-pad-mobile,9%)!important;}
}

body.customize-preview .vbs-gallery-row{overflow-x:auto!important;}


/* Header subtitle: allow line breaks and reduce horizontal squeeze on nav buttons */
.vbs-header .brand-text [data-i18n="subtitle"]{
  display:block;
  white-space: pre-line;
  max-width: 520px;
}


/* About page spacing refinement */
.page-about .vbs-section:first-of-type {
  padding-top: 4.5rem;
}

.page-about .vbs-section {
  margin-bottom: 3.5rem;
}


/* About: remove redundant title */
.page-about .vbs-page-title{display:none !important;}


/* About page: spacing after hero */
.page-about main > .vbs-section:first-of-type {
  margin-top: 6rem;
}

@media (max-width: 768px){
  .page-about main > .vbs-section:first-of-type {
    margin-top: 4rem;
  }
}


/* About hero spacing (robust) */
.page-about header + main {
  padding-top: 6rem;
}

@media (max-width: 768px){
  .page-about header + main {
    padding-top: 4rem;
  }
}


/* About page: subtle divider/fade UNDER the hero, BEFORE the About intro text.
   Important: render the divider at the TOP of the #about section (not at the bottom),
   so it does not appear "under" the About text content.
*/
body[class*="page-template-page-about"] .vbs-page > #about{
  position: relative;
  /* breathing room so text doesn't start immediately under the hero */
  padding-top: clamp(2.75rem, 5.5vw, 5.25rem);
}

body[class*="page-template-page-about"] .vbs-page > #about::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  pointer-events: none;
  opacity: 0.95;
  /* 1) thin metallic divider line at the seam, 2) soft fade into the content */
  background:
    linear-gradient(to right, transparent, rgba(212,165,90,0.22), transparent),
    linear-gradient(to bottom, rgba(255,255,255,0.035), rgba(255,255,255,0) 72%);
  background-repeat: no-repeat;
  background-size: 100% 1px, 100% 64px;
  background-position: 0 0, 0 0;
}


/* Gallery page – hard remove top title (robust fallback) */
body.page-template-page-gallery .vbs-page-title,
body[class*="gallery"] .vbs-page-title,
body.page-template-page-gallery .vbs-hero h1,
body[class*="gallery"] .vbs-hero h1 {
  display: none !important;
}


/* Global – subtle divider/fade under hero (applies wherever .vbs-hero is used) */
.vbs-hero {
  position: relative;
  overflow: visible;
}

/* Thin metallic line + soft fade into content */
.vbs-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 40px;
  pointer-events: none;
  /* line at top of gradient */
  background:
    linear-gradient(to bottom,
      rgba(255,255,255,0.22) 0px,
      rgba(255,255,255,0.10) 1px,
      rgba(0,0,0,0.10) 2px,
      rgba(0,0,0,0.00) 40px);
}

/* Ensure next section doesn't visually collide with the hero seam */
.vbs-hero + * {
  margin-top: 0;
}


/* Global – About-style top seam divider/fade for the first content section on each page
   Works across languages because it does not rely on a page slug/body class. */
.vbs-page > section:first-child,
.vbs-main > section:first-child,
.legal-page .vbs-section:first-child {
  position: relative;
  /* breathing room so content doesn't start immediately under the top seam */
  padding-top: clamp(2.75rem, 5.5vw, 5.25rem);
}

.vbs-page > section:first-child::before,
.vbs-main > section:first-child::before,
.legal-page .vbs-section:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  pointer-events: none;
  opacity: 0.95;
  /* 1) thin metallic divider line at the seam, 2) soft fade into the content */
  background:
    linear-gradient(to right, transparent, rgba(212,165,90,0.22), transparent),
    linear-gradient(to bottom, rgba(255,255,255,0.035), rgba(255,255,255,0) 72%);
  background-repeat: no-repeat;
  background-size:
    100% 1px,
    100% 64px;
  background-position:
    0 0,
    0 0;
}


/* Global divider correction:
   Apply seam divider to the first SECTION directly under MAIN (covers most templates),
   and disable the earlier inner-section rule to avoid double dividers (notably Gallery). */
main > section:first-child,
main.wrap > section:first-child,
main.metal-surface > section:first-child,
main.vbs-main > section:first-child{
  position: relative;
  padding-top: clamp(2.75rem, 5.5vw, 5.25rem);
}

main > section:first-child::before,
main.wrap > section:first-child::before,
main.metal-surface > section:first-child::before,
main.vbs-main > section:first-child::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  pointer-events: none;
  opacity: 0.95;
  background:
    linear-gradient(to right, transparent, rgba(212,165,90,0.22), transparent),
    linear-gradient(to bottom, rgba(255,255,255,0.035), rgba(255,255,255,0) 72%);
  background-repeat: no-repeat;
  background-size: 100% 1px, 100% 64px;
  background-position: 0 0, 0 0;
}

/* Disable earlier inner-first-section divider to prevent double seams */
.vbs-page > section:first-child,
.vbs-main > section:first-child,
.legal-page .vbs-section:first-child{
  padding-top: 0 !important;
}

.vbs-page > section:first-child::before,
.vbs-main > section:first-child::before,
.legal-page .vbs-section:first-child::before{
  content: none !important;
  background: none !important;
}


/* Seam divider (About-style): subtle metallic line + soft fade */
.vbs-seam-divider{
  height: 64px;
  margin: 0;
  pointer-events: none;
  opacity: 0.95;
  background:
    linear-gradient(to right, transparent, rgba(212,165,90,0.22), transparent),
    linear-gradient(to bottom, rgba(255,255,255,0.035), rgba(255,255,255,0) 72%);
  background-repeat: no-repeat;
  background-size: 100% 1px, 100% 64px;
  background-position: 0 0, 0 0;
}

/* Ensure content starts after the divider */
.vbs-seam-divider + *{
  margin-top: 0;
}

/* Contact form */
.vbs-contact-form { max-width: 720px; }
.vbs-cf-row { margin: 0 0 16px; display: grid; gap: 8px; }
.vbs-cf-row input, .vbs-cf-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
  color: inherit;
}

/* =========================================================
   CTA PILL (shared button style)
   Used by: Contact submit, Price List downloads, Footer Price List
   ========================================================= */
.vbs-cf-submit,
.vbs-download-btn,
.vbs-footer-price-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212,165,90,0.35);
  background: rgba(212,165,90,0.12);
  color: #f2f4f7;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, opacity .22s ease;
}

/* Micro-interaction: lift + shimmer sweep */
.vbs-cf-submit::after,
.vbs-download-btn::after,
.vbs-footer-price-btn::after{
  content: "";
  position: absolute;
  inset: -70% -50%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0) 60%,
    transparent 100%
  );
  transform: translateX(-140%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.vbs-cf-submit:hover,
.vbs-download-btn:hover,
.vbs-footer-price-btn:hover,
.vbs-cf-submit:focus-visible,
.vbs-download-btn:focus-visible,
.vbs-footer-price-btn:focus-visible{
  border-color: rgba(212,165,90,0.55);
  background: rgba(212,165,90,0.16);
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
  opacity: 1;
}

.vbs-cf-submit:hover::after,
.vbs-download-btn:hover::after,
.vbs-footer-price-btn:hover::after,
.vbs-cf-submit:focus-visible::after,
.vbs-download-btn:focus-visible::after,
.vbs-footer-price-btn:focus-visible::after{
  opacity: .9;
  animation: vbsPillSweep .85s ease-in-out 1;
}

.vbs-cf-submit:active,
.vbs-download-btn:active,
.vbs-footer-price-btn:active{
  transform: translateY(0);
  box-shadow: none;
}

@keyframes vbsPillSweep{
  0%{ transform: translateX(-140%) skewX(-18deg); opacity:0; }
  25%{ opacity:.25; }
  55%{ opacity:.55; }
  85%{ opacity:.25; }
  100%{ transform: translateX(140%) skewX(-18deg); opacity:0; }
}

@media (prefers-reduced-motion: reduce){
  .vbs-cf-submit,
  .vbs-download-btn,
  .vbs-footer-price-btn{
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease, opacity .22s ease;
  }
  .vbs-cf-submit:hover,
  .vbs-download-btn:hover,
  .vbs-footer-price-btn:hover,
  .vbs-cf-submit:focus-visible,
  .vbs-download-btn:focus-visible,
  .vbs-footer-price-btn:focus-visible{
    transform: none;
  }
  .vbs-cf-submit::after,
  .vbs-download-btn::after,
  .vbs-footer-price-btn::after{
    display: none;
  }
}
.vbs-cf-alert { padding: 12px 14px; border-radius: 12px; margin: 0 0 16px; }
.vbs-cf-success { border: 1px solid rgba(80,200,120,0.35); background: rgba(80,200,120,0.12); }
.vbs-cf-error { border: 1px solid rgba(220,80,80,0.35); background: rgba(220,80,80,0.12); }
.vbs-cf-error ul { margin: 0; padding-left: 18px; }


/* Contact page – spacing above form */
.page-template-page-contact .vbs-contact-form,
body[class*="page-contact"] .vbs-contact-form{
  margin-top: clamp(3rem, 6vw, 6rem);
}

/* Price list / downloads */
.vbs-download-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
  max-width:960px;
}

.vbs-download-card{
  padding:22px;
  border-radius:18px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
}

.vbs-download-icon{
  font-size:12px;
  letter-spacing:0.12em;
  opacity:0.6;
  margin-bottom:8px;
}

.vbs-download-card h4{
  margin:0 0 6px 0;
}

.vbs-download-card p{
  font-size:14px;
  opacity:0.75;
  margin:0 0 16px 0;
}

/* (CTA pill covers vbs-download-btn styles.) */

/* Contact: subtle Price List link */
.vbs-price-list-link{
  font-size: 13px;
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vbs-price-list-link:hover{
  opacity: 1;
}


/* =========================================================
   FOOTER LAYOUT (perfect alignment across breakpoints)
   Left: Copyright • Center: Price List CTA • Right: Legal links
   ========================================================= */
.site-footer{
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.vbs-footer-meta{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: #98a1a8;
  font-size: 14px;
  line-height: 1.4;
}

.vbs-footer-left{
  justify-self: start;
  white-space: nowrap;
}

.vbs-footer-center{
  justify-self: center;
}

.vbs-footer-right{
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.vbs-footer-right a{
  color: #98a1a8;
  text-decoration: none;
  border-bottom: 1px solid rgba(152,161,168,0.45);
  padding-bottom: 2px;
}

.vbs-footer-right a:hover,
.vbs-footer-right a:focus-visible{
  border-bottom-color: rgba(242,244,247,0.75);
  color: #f2f4f7;
}

@media (max-width: 760px){
  .vbs-footer-meta{
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    row-gap: 12px;
  }
  .vbs-footer-left,
  .vbs-footer-center,
  .vbs-footer-right{
    justify-self: center;
    white-space: normal;
  }
  .vbs-footer-right{
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* Ultra-minimal footer Price List CTA: text → pill reveal */
.footer-price-btn {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    text-decoration: none;
    transition: background-color 200ms ease,
                border-color 200ms ease,
                transform 180ms ease;
}

.footer-price-btn:hover,
.footer-price-btn:focus-visible {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.05);
    transform: translateY(-1px);
}

.footer-price-btn:focus-visible {
    outline: 2px solid rgba(255,255,255,0.3);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .footer-price-btn {
        transition: none;
    }
    .footer-price-btn:hover,
    .footer-price-btn:focus-visible {
        transform: none;
    }
}



/* Footer Price List: ultra-minimal pill reveal (text at rest), compact sizing */
.vbs-footer-price-btn{
    display:inline-flex;
    align-items:center;

    /* Match footer legal links */
    font-size:14px !important;
    line-height:1.4 !important;

    /* Compact and baseline-safe */
    padding:0 8px !important;
    border-radius:999px;
    border:1px solid transparent !important;
    background:transparent !important;

    color:inherit !important;
    text-decoration:none !important;

    transition:background-color 200ms ease, border-color 200ms ease, transform 180ms ease;
}

.vbs-footer-price-btn:hover,
.vbs-footer-price-btn:focus-visible{
    border-color:rgba(255,255,255,0.35) !important;
    background:rgba(255,255,255,0.05) !important;
    transform:translateY(-1px);
}

.vbs-footer-price-btn:focus-visible{
    outline:2px solid rgba(255,255,255,0.3);
    outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
    .vbs-footer-price-btn{ transition:none; }
    .vbs-footer-price-btn:hover,
    .vbs-footer-price-btn:focus-visible{ transform:none; }
}

/* Ensure footer link typography matches */
.vbs-footer-right a,
.vbs-footer-left{
    font-size:14px;
    line-height:1.4;
}



/* Price List page: make PDF download buttons text-first with subtle pill reveal (no shadow, compact) */
body.page-template-page-price-list .vbs-download-btn,
body.page-template-page-price-list .vbs-pricelist-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Match surrounding text metrics */
    font-size: 14px !important;
    line-height: 1.4 !important;

    /* Compact, baseline-safe */
    min-height: 0 !important;
    padding: 0 10px !important;

    /* Disappear into text at rest */
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;

    color: inherit !important;
    text-decoration: none !important;

    transition: background-color 200ms ease,
                border-color 200ms ease,
                transform 180ms ease;
}

/* Disable shimmer sweep on Price List buttons */
body.page-template-page-price-list .vbs-download-btn::after,
body.page-template-page-price-list .vbs-pricelist-btn::after{
    content: none !important;
}

/* Reveal only border + subtle background on hover/focus */
body.page-template-page-price-list .vbs-download-btn:hover,
body.page-template-page-price-list .vbs-download-btn:focus-visible,
body.page-template-page-price-list .vbs-pricelist-btn:hover,
body.page-template-page-price-list .vbs-pricelist-btn:focus-visible{
    border-color: rgba(212,165,90,0.45) !important;
    background: rgba(212,165,90,0.08) !important;
    transform: translateY(-1px);
}

body.page-template-page-price-list .vbs-download-btn:focus-visible,
body.page-template-page-price-list .vbs-pricelist-btn:focus-visible{
    outline: 2px solid rgba(212,165,90,0.35);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
    body.page-template-page-price-list .vbs-download-btn,
    body.page-template-page-price-list .vbs-pricelist-btn{
        transition: none !important;
    }
    body.page-template-page-price-list .vbs-download-btn:hover,
    body.page-template-page-price-list .vbs-download-btn:focus-visible,
    body.page-template-page-price-list .vbs-pricelist-btn:hover,
    body.page-template-page-price-list .vbs-pricelist-btn:focus-visible{
        transform: none !important;
    }
}



/* Price List page: PDF download buttons — text-first, compact, pill-reveal on hover (no shadow) */
.vbs-download-grid .vbs-download-btn,
.vbs-download-grid .vbs-pricelist-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Match surrounding text */
    font-size: 14px !important;
    line-height: 1.4 !important;

    /* Compact height */
    min-height: 0 !important;
    padding: 0 10px !important;

    /* Disappear at rest */
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;

    color: inherit !important;
    text-decoration: none !important;

    transition: background-color 200ms ease,
                border-color 200ms ease,
                transform 180ms ease;
}

/* Remove shimmer sweep for these buttons */
.vbs-download-grid .vbs-download-btn::after,
.vbs-download-grid .vbs-pricelist-btn::after{
    content: none !important;
}

.vbs-download-grid .vbs-download-btn:hover,
.vbs-download-grid .vbs-download-btn:focus-visible,
.vbs-download-grid .vbs-pricelist-btn:hover,
.vbs-download-grid .vbs-pricelist-btn:focus-visible{
    border-color: rgba(212,165,90,0.45) !important;
    background: rgba(212,165,90,0.08) !important;
    transform: translateY(-1px);
}

.vbs-download-grid .vbs-download-btn:focus-visible,
.vbs-download-grid .vbs-pricelist-btn:focus-visible{
    outline: 2px solid rgba(212,165,90,0.35);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
    .vbs-download-grid .vbs-download-btn,
    .vbs-download-grid .vbs-pricelist-btn{
        transition: none !important;
    }
    .vbs-download-grid .vbs-download-btn:hover,
    .vbs-download-grid .vbs-download-btn:focus-visible,
    .vbs-download-grid .vbs-pricelist-btn:hover,
    .vbs-download-grid .vbs-pricelist-btn:focus-visible{
        transform: none !important;
    }
}



/* Contact form text visibility fix */
.vbs-contact-form,
.vbs-contact-form input,
.vbs-contact-form textarea,
.vbs-contact-form label,
.vbs-contact-form p,
.vbs-contact-form span {
    color: var(--text);
}

.vbs-contact-form input::placeholder,
.vbs-contact-form textarea::placeholder {
    color: var(--muted);
}



/* Strong contact form text visibility override (prevents inherited black) */
.vbs-contact-form{
  color: var(--text) !important;
}

.vbs-contact-form label,
.vbs-contact-form .vbs-cf-alert,
.vbs-contact-form .vbs-cf-alert *{
  color: var(--text) !important;
}

.vbs-contact-form input,
.vbs-contact-form textarea{
  color: var(--text) !important;
}

.vbs-contact-form input::placeholder,
.vbs-contact-form textarea::placeholder{
  color: var(--muted) !important;
}



/* =========================================================
   HOTFIX: Contact form text colors (restore visibility)
   Uses theme variables --rho-1 / --rho-2 (theme does not define --text/--muted)
   ========================================================= */
.vbs-contact-form{
  color: var(--rho-1, #f2f4f7) !important;
}

.vbs-contact-form label,
.vbs-contact-form p,
.vbs-contact-form span,
.vbs-contact-form .vbs-cf-alert,
.vbs-contact-form .vbs-cf-alert *{
  color: var(--rho-1, #f2f4f7) !important;
}

.vbs-contact-form input,
.vbs-contact-form textarea{
  color: var(--rho-1, #f2f4f7) !important;
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.18);
}

.vbs-contact-form input::placeholder,
.vbs-contact-form textarea::placeholder{
  color: var(--rho-2, rgba(242,244,247,0.72)) !important;
}

/* Ensure links inside the form remain readable */
.vbs-contact-form a{
  color: var(--rho-1, #f2f4f7) !important;
}



/* =========================================================
   CONTACT FORM: Force visible text (explicit value + high specificity)
   ========================================================= */
body .vbs-contact-form,
body .vbs-contact-form *{
  color: #f2f4f7 !important;
}

body .vbs-contact-form input,
body .vbs-contact-form textarea{
  color: #f2f4f7 !important;
  -webkit-text-fill-color: #f2f4f7 !important; /* Safari/Chromium autofill edge cases */
}

body .vbs-contact-form input::placeholder,
body .vbs-contact-form textarea::placeholder{
  color: rgba(242,244,247,0.72) !important;
  -webkit-text-fill-color: rgba(242,244,247,0.72) !important;
}

/* If browser autofill forces dark text, neutralize it */
body .vbs-contact-form input:-webkit-autofill,
body .vbs-contact-form textarea:-webkit-autofill{
  -webkit-text-fill-color: #f2f4f7 !important;
  transition: background-color 9999s ease-out 0s;
}



/* =========================================================
   CONTACT FORM RESET — restore original theme behavior
   ========================================================= */
.vbs-contact-form,
.vbs-contact-form *{
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

.vbs-contact-form input,
.vbs-contact-form textarea{
  color: inherit !important;
  background: rgba(0,0,0,0.25);
}

.vbs-contact-form input::placeholder,
.vbs-contact-form textarea::placeholder{
  color: inherit !important;
  opacity: 0.65;
}



/* Contact page spacing refinement */
.vbs-contact-phone{
  margin-bottom: 6px;
}

[data-i18n="contact_page_intro"]{
  margin: 0 0 12px 0;
}

[data-i18n="contact_page_note"]{
  margin-top: 6px;
}

/* === Contact page: spacing fixes (View Price List + first field) === */
.vbs-price-list-hint{
  margin-bottom: 26px !important;
}

.vbs-price-list-link{
  display: inline-block;
  margin-bottom: 26px !important;
}

.vbs-contact-form{
  margin-top: 10px;
}

.page-contact a.view-price-list,
.page-contact .view-price-list,
.page-contact a[href*="price"] {
  display: inline-block;
  margin: 12px 0 26px;
}

.page-contact form label {
  display: block;
  margin: 0 0 10px;
}

.page-contact form input,
.page-contact form textarea,
.page-contact form select {
  margin: 0 0 22px;
}


/* HERO LOGO SIZE FIX */
.hero .logo img,
.hero img.logo {
    max-height: 70px;
    width: auto;
}

/* VBS LOGO BASE STYLES (no inline styles) */
.vbs-header .site-logo svg,
.vbs-header .site-logo img,
.vbs-site-logo-img{
  width: 100%;
  height: auto;
  display: block;
}

/* VBS DECORATIVE HERO MARK — subtle refinement (v29)
   Keeps original look; slightly softer edges + calmer gold. */
.vbs-header .site-logo.gold svg path,
.vbs-header .site-logo.metal svg path{
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.22)) !important;
  opacity: 0.85;
}

.vbs-header .site-logo.metal::before{
  opacity: 0.38;
}

