/*
Theme Name: Van Rose Blank Beaver Theme Premium Shell V4
Theme URI: https://vanrose.ie
Author: Van Rose Studios
Author URI: https://vanrose.ie
Description: A lightweight premium-style WordPress shell for Beaver Builder, with expanded typography, refined header utility icon controls, social links, search overlay, and polished WooCommerce side cart.
Version: 1.7.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vanrose-blank-beaver
Tags: custom-logo, custom-menu, featured-images, block-styles, wide-blocks
*/

:root {
  --vr-page-width: 1200px;
  --vr-text: #111111;
  --vr-muted: #666666;
  --vr-background: #ffffff;
  --vr-header-bg-rgb: 255, 255, 255;
  --vr-header-opacity: 0.88;
  --vr-header-surface: rgba(var(--vr-header-bg-rgb), var(--vr-header-opacity));
  --vr-header-text: #111111;
  --vr-border: rgba(0, 0, 0, 0.08);
  --vr-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --vr-header-height: 72px;
  --vr-logo-height: 44px;
  --vr-menu-gap: 24px;
  --vr-header-blur: 16px;
  --vr-header-inner-width: 1200px;
  --vr-focus: #245cff;
  --vr-body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --vr-heading-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --vr-menu-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --vr-body-font-size: 16px;
  --vr-body-line-height: 1.5;
  --vr-heading-letter-spacing: -0.04em;
  --vr-heading-line-height: 1.05;
  --vr-body-bg: #ffffff;
  --vr-body-text: #111111;
  --vr-announcement-bg: #111111;
  --vr-announcement-text: #ffffff;
  --vr-announcement-height: 38px;
  --vr-cart-accent: #111111;
  --vr-cart-radius: 28px;
  --vr-cart-button-radius: 999px;
  --vr-social-size: 40px;
  --vr-cart-count-bg: #111111;
  --vr-cart-count-text: #ffffff;
  --vr-cart-count-size: 18px;
  --vr-cart-count-font-size: 11px;
  --vr-cart-count-offset-x: -8px;
  --vr-cart-count-offset-y: -8px;
  --vr-cart-count-radius: 999px;
  --vr-cart-count-border: 2px solid rgba(255,255,255,0.95);
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  color: var(--vr-body-text);
  background: var(--vr-body-bg);
  font-family: var(--vr-body-font);
  font-size: var(--vr-body-font-size);
  line-height: var(--vr-body-line-height);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, video, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--vr-focus);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 99999;
  padding: 10px 14px;
  background: #ffffff;
  color: #111111;
  box-shadow: var(--vr-shadow);
  border-radius: 999px;
}

.site-main {
  min-height: 100vh;
}

.vr-container {
  width: min(100% - 32px, var(--vr-page-width));
  margin-inline: auto;
}

/* Header shell */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  min-height: var(--vr-header-height);
  color: var(--vr-header-text);
  background: var(--vr-header-surface);
  border-bottom: 1px solid var(--vr-border);
  backdrop-filter: blur(var(--vr-header-blur));
  -webkit-backdrop-filter: blur(var(--vr-header-blur));
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--vr-texture-opacity, 0);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.22) 1px, transparent 0);
  background-size: var(--vr-texture-size, 7px) var(--vr-texture-size, 7px);
  mix-blend-mode: multiply;
}

.site-header.vr-header-hidden {
  transform: translateY(-110%);
}

.site-header.vr-header-scrolled {
  box-shadow: var(--vr-shadow);
}

.site-header .vr-container {
  width: min(100% - 32px, var(--vr-header-inner-width));
  min-height: var(--vr-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.site-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-title a {
  text-decoration: none;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  max-height: var(--vr-logo-height);
  width: auto;
}

.site-navigation ul {
  display: flex;
  align-items: center;
  gap: var(--vr-menu-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-navigation a {
  font-family: var(--vr-menu-font);
  text-decoration: none;
  font-size: var(--vr-menu-font-size, 15px);
  font-weight: var(--vr-menu-font-weight, 400);
  letter-spacing: var(--vr-menu-letter-spacing, 0);
}

.site-navigation a:hover {
  opacity: 0.68;
}

/* Header alignment modes */
body.vr-header-align-left .site-header .vr-container {
  justify-content: flex-start;
}

body.vr-header-align-left .site-navigation {
  margin-left: 32px;
}

body.vr-header-align-centre .site-branding,
body.vr-header-align-center .site-branding {
  flex: 1;
}

body.vr-header-align-centre .site-navigation,
body.vr-header-align-center .site-navigation {
  flex: 2;
}

body.vr-header-align-centre .site-navigation ul,
body.vr-header-align-center .site-navigation ul {
  justify-content: center;
}

body.vr-header-align-right .site-branding {
  margin-right: auto;
}

/* Mobile menu */
.vr-menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--vr-border);
  background: rgba(255, 255, 255, 0.88);
  color: #111111;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .vr-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .site-navigation {
    position: fixed;
    inset: var(--vr-header-height) 16px auto 16px;
    padding: 18px;
    background: rgba(var(--vr-header-bg-rgb), 0.98);
    color: var(--vr-header-text);
    border: 1px solid var(--vr-border);
    border-radius: 18px;
    box-shadow: var(--vr-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.vr-menu-open .site-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-navigation ul {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .site-navigation a {
    display: block;
    padding: 10px 4px;
  }
}

/* Default WP content */
.entry-content {
  width: min(100% - 32px, 900px);
  margin: 48px auto;
}

.entry-content > :first-child {
  margin-top: 0;
}

/* Beaver Builder pages should be full canvas */
.fl-builder .entry-content,
.fl-builder-content {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Footer fallback */
.site-footer {
  border-top: 1px solid var(--vr-border);
  padding: 32px 0;
  color: var(--vr-muted);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  text-decoration: none;
}

/* Reading progress bar */
.vr-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.vr-progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: currentColor;
  color: var(--vr-header-text);
  transition: width 80ms linear;
}

/* Back to top */
.vr-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9980;
  width: 44px;
  height: 44px;
  border: 1px solid var(--vr-border);
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  box-shadow: var(--vr-shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.vr-back-to-top.vr-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.vr-blank-canvas .site-main {
  min-height: 100vh;
}

.vr-min-screen {
  min-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* Header utilities: language + cart */
.vr-header-utilities {
  display: flex;
  align-items: center;
  gap: var(--vr-utility-gap, 12px);
  margin-left: var(--vr-utility-margin-left, 20px);
  position: relative;
  z-index: 2;
}

.vr-language {
  position: relative;
}

.vr-language-toggle,
.vr-cart-toggle {
  appearance: none;
  border: 1px solid var(--vr-border);
  background: rgba(255,255,255,0.72);
  color: var(--vr-header-text);
  border-radius: var(--vr-utility-radius, 999px);
  min-height: var(--vr-utility-height, 40px);
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: var(--vr-utility-font-size, 14px);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.vr-language-toggle:hover,
.vr-cart-toggle:hover {
  background: rgba(255,255,255,0.92);
}

.vr-language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  padding: 8px;
  border: 1px solid var(--vr-border);
  border-radius: 16px;
  background: #ffffff;
  color: #111111;
  box-shadow: var(--vr-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.vr-language.vr-language-open .vr-language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.vr-language-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
}

.vr-language-menu a:hover {
  background: rgba(0,0,0,0.06);
}

.vr-cart-toggle {
  position: relative;
}

.vr-cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--vr-header-text);
  color: var(--vr-header-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

/* Side cart drawer */
.vr-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 99980;
  background: rgba(0,0,0,var(--vr-cart-overlay-opacity, 0.42));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.vr-side-cart {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99990;
  width: min(100%, var(--vr-cart-width, 420px));
  height: 100vh;
  background: var(--vr-cart-bg, #ffffff);
  color: var(--vr-cart-text, #111111);
  box-shadow: -20px 0 40px rgba(0,0,0,0.18);
  transform: translateX(105%);
  transition: transform 260ms ease;
  display: flex;
  flex-direction: column;
}

body.vr-cart-open {
  overflow: hidden;
}

body.vr-cart-open .vr-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.vr-cart-open .vr-side-cart {
  transform: translateX(0);
}

.vr-side-cart-header {
  min-height: 72px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vr-side-cart-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.vr-side-cart-close {
  appearance: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.vr-side-cart-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.vr-side-cart-body .widget_shopping_cart_content {
  display: block;
}

.vr-side-cart-body .woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vr-side-cart-body .woocommerce-mini-cart-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.vr-side-cart-body .woocommerce-mini-cart__total {
  margin-top: 20px;
  font-weight: 700;
}

.vr-side-cart-body .woocommerce-mini-cart__buttons {
  display: grid;
  gap: 10px;
}

.vr-side-cart-body .woocommerce-mini-cart__buttons a {
  display: block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
}

.vr-side-cart-empty {
  color: #666666;
}

@media (max-width: 768px) {
  .site-header .vr-container {
    gap: 12px;
  }

  .vr-header-utilities {
    margin-left: auto;
    gap: 8px;
  }

  .vr-language-toggle,
  .vr-cart-toggle {
    padding: 0 11px;
  }

  .vr-utility-label {
    display: none;
  }

  .site-navigation {
    inset: var(--vr-header-height) 16px auto 16px;
  }
}


/* Premium shell: global typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vr-heading-font);
  letter-spacing: var(--vr-heading-letter-spacing);
  line-height: var(--vr-heading-line-height);
}

/* Announcement bar */
.vr-announcement-bar {
  min-height: var(--vr-announcement-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vr-announcement-bg);
  color: var(--vr-announcement-text);
  font-size: var(--vr-announcement-font-size, 14px);
  letter-spacing: var(--vr-announcement-letter-spacing, 0);
  text-align: center;
  padding: 7px 16px;
  position: relative;
  z-index: 9991;
}

.vr-announcement-bar a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vr-announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* Header size modes */
body.vr-header-boxed .site-header {
  width: min(calc(100% - 32px), var(--vr-header-shell-width, 1280px));
  margin: var(--vr-header-shell-offset, 12px) auto 0;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-header-shell-radius, 20px);
  overflow: visible;
}

body.vr-header-floating .site-header {
  width: min(calc(100% - 32px), var(--vr-header-shell-width, 1280px));
  margin: var(--vr-header-shell-offset, 12px) auto 0;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-header-shell-radius, 999px);
  overflow: visible;
  box-shadow: var(--vr-shadow);
}

/* Search overlay */
.vr-search-toggle {
  appearance: none;
  border: 1px solid var(--vr-border);
  background: rgba(255,255,255,0.72);
  color: var(--vr-header-text);
  border-radius: var(--vr-utility-radius, 999px);
  min-height: var(--vr-utility-height, 40px);
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: var(--vr-utility-font-size, 14px);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.vr-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 99995;
  background: rgba(0,0,0,0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  display: grid;
  place-items: start center;
  padding: 12vh 20px 20px;
}

body.vr-search-open {
  overflow: hidden;
}

body.vr-search-open .vr-search-overlay {
  opacity: 1;
  pointer-events: auto;
}

.vr-search-panel {
  width: min(100%, 760px);
  background: #ffffff;
  color: #111111;
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.28);
  padding: 20px;
}

.vr-search-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.vr-search-panel-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.vr-search-close {
  appearance: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.vr-search-panel form {
  display: flex;
  gap: 10px;
}

.vr-search-panel input[type="search"] {
  flex: 1;
  min-height: 52px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 999px;
  padding: 0 18px;
  font-size: 18px;
}

.vr-search-panel input[type="submit"],
.vr-search-panel button[type="submit"] {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
}

/* Hide utilities by class */
body.vr-hide-language .vr-language {
  display: none;
}

body.vr-hide-cart .vr-cart-toggle {
  display: none;
}

body.vr-hide-search .vr-search-toggle {
  display: none;
}

/* Premium polish helpers */
.vr-glass {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.vr-soft-shadow {
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  body.vr-header-boxed .site-header,
  body.vr-header-floating .site-header {
    width: calc(100% - 20px);
    margin-top: 8px;
    border-radius: 18px;
  }

  .vr-search-panel form {
    flex-direction: column;
  }
}


/* V2: social links */
.vr-social-links {
  display: inline-flex;
  align-items: center;
  gap: var(--vr-social-gap, 8px);
}

.vr-social-link {
  width: var(--vr-social-size, 40px);
  height: var(--vr-social-size, 40px);
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-utility-radius, 999px);
  background: rgba(255,255,255,0.72);
  color: var(--vr-header-text);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.vr-social-link:hover {
  background: rgba(255,255,255,0.94);
  transform: translateY(-1px);
}

.vr-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* V2: better language dropdown */
.vr-language-menu {
  min-width: 190px;
  padding: 10px;
  border-radius: 20px;
}

.vr-language-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  font-weight: 500;
}

.vr-language-menu a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.vr-language-menu a:hover::after {
  opacity: 0.5;
  transform: translateX(0);
}

/* V2: polished side cart */
.vr-side-cart {
  width: min(100%, var(--vr-cart-width, 440px));
  background:
    radial-gradient(circle at 20% 0%, rgba(0,0,0,0.035), transparent 32%),
    var(--vr-cart-bg, #ffffff);
  color: var(--vr-cart-text, #111111);
  box-shadow: -30px 0 80px rgba(0,0,0,0.26);
}

.vr-side-cart-header {
  min-height: 78px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(0,0,0,0.075);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 2;
}

.vr-side-cart-title {
  font-family: var(--vr-heading-font);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.vr-side-cart-close {
  border-color: rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.82);
  transition: transform 160ms ease, background 160ms ease;
}

.vr-side-cart-close:hover {
  transform: rotate(90deg);
  background: #ffffff;
}

.vr-side-cart-body {
  padding: 18px 22px 22px;
}

.vr-side-cart-body .woocommerce-mini-cart {
  display: grid;
  gap: 12px;
}

.vr-side-cart-body .woocommerce-mini-cart-item {
  position: relative;
  padding: 14px 12px 14px 74px;
  min-height: 74px;
  border: 1px solid rgba(0,0,0,0.075);
  border-radius: var(--vr-cart-radius, 24px);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 10px 30px rgba(0,0,0,0.045);
}

.vr-side-cart-body .woocommerce-mini-cart-item img {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 14px;
  margin: 0;
}

.vr-side-cart-body .woocommerce-mini-cart-item a {
  text-decoration: none;
  font-weight: 650;
}

.vr-side-cart-body .remove_from_cart_button {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: #111111 !important;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  line-height: 1;
}

.vr-side-cart-body .quantity {
  display: block;
  margin-top: 6px;
  color: rgba(0,0,0,0.58);
  font-size: 13px;
}

.vr-side-cart-body .woocommerce-mini-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 18px 2px 8px;
  font-size: 17px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.vr-side-cart-body .woocommerce-mini-cart__buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  position: sticky;
  bottom: 0;
  padding-top: 14px;
  background: linear-gradient(to top, var(--vr-cart-bg, #ffffff) 70%, rgba(255,255,255,0));
}

.vr-side-cart-body .woocommerce-mini-cart__buttons a {
  border-radius: var(--vr-cart-button-radius, 999px);
  padding: 14px 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, opacity 160ms ease;
}

.vr-side-cart-body .woocommerce-mini-cart__buttons a:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.vr-side-cart-body .woocommerce-mini-cart__buttons .checkout {
  background: var(--vr-cart-accent, #111111);
  color: #ffffff;
}

.vr-side-cart-body .woocommerce-mini-cart__empty-message,
.vr-side-cart-empty {
  margin: 0;
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(0,0,0,0.55);
  border: 1px dashed rgba(0,0,0,0.16);
  border-radius: var(--vr-cart-radius, 24px);
  padding: 24px;
}

.vr-cart-count {
  background: var(--vr-cart-accent, #111111);
}

/* V2: icon-only mode helpers */
body.vr-hide-socials .vr-social-links {
  display: none;
}

@media (max-width: 900px) {
  .vr-social-links {
    display: none;
  }
}


/* V3: utility style system */
body.vr-utility-style-pill .vr-language-toggle,
body.vr-utility-style-pill .vr-cart-toggle,
body.vr-utility-style-pill .vr-search-toggle,
body.vr-utility-style-pill .vr-social-link {
  border-width: 1px;
  background: rgba(255,255,255,0.72);
  box-shadow: none;
}

body.vr-utility-style-clean .vr-language-toggle,
body.vr-utility-style-clean .vr-cart-toggle,
body.vr-utility-style-clean .vr-search-toggle {
  border: 0;
  background: transparent;
  padding-inline: 4px;
  min-height: 32px;
  border-radius: 0;
}

body.vr-utility-style-clean .vr-social-link {
  border: 0;
  background: transparent;
  width: auto;
  height: auto;
  padding: 2px;
  border-radius: 0;
}

body.vr-utility-style-clean .vr-social-link svg {
  width: 18px;
  height: 18px;
}

body.vr-utility-style-minimal .vr-language-toggle,
body.vr-utility-style-minimal .vr-cart-toggle,
body.vr-utility-style-minimal .vr-search-toggle {
  border: 0;
  background: transparent;
  padding-inline: 0;
  min-height: 28px;
  border-radius: 0;
}

body.vr-utility-style-minimal .vr-social-link {
  border: 0;
  background: transparent;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
}

body.vr-utility-style-minimal .vr-social-link svg {
  width: 18px;
  height: 18px;
}

body.vr-utility-style-clean .vr-language-toggle:hover,
body.vr-utility-style-clean .vr-cart-toggle:hover,
body.vr-utility-style-clean .vr-search-toggle:hover,
body.vr-utility-style-clean .vr-social-link:hover,
body.vr-utility-style-minimal .vr-language-toggle:hover,
body.vr-utility-style-minimal .vr-cart-toggle:hover,
body.vr-utility-style-minimal .vr-search-toggle:hover,
body.vr-utility-style-minimal .vr-social-link:hover {
  background: transparent;
  opacity: 0.7;
  transform: none;
}

/* Utility label visibility */
body.vr-hide-utility-labels .vr-utility-label {
  display: none !important;
}

/* Cleaner spacing between icon and text */
.vr-cart-toggle,
.vr-language-toggle,
.vr-search-toggle {
  position: relative;
}

/* Cart count modes */
.vr-cart-count {
  min-width: var(--vr-cart-count-size);
  height: var(--vr-cart-count-size);
  padding: 0 5px;
  border-radius: var(--vr-cart-count-radius);
  background: var(--vr-cart-count-bg);
  color: var(--vr-cart-count-text);
  border: var(--vr-cart-count-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--vr-cart-count-font-size);
  line-height: 1;
  font-weight: 600;
}

body.vr-cart-count-badge .vr-cart-toggle {
  padding-right: 2px;
}

body.vr-cart-count-badge .vr-cart-count {
  position: absolute;
  right: var(--vr-cart-count-offset-x);
  top: var(--vr-cart-count-offset-y);
  z-index: 2;
}

body.vr-cart-count-inline .vr-cart-count {
  position: static;
  margin-left: 6px;
}

body.vr-cart-count-hidden .vr-cart-count {
  display: none !important;
}

.vr-cart-count.vr-count-hidden {
  display: none !important;
}

/* More refined cart count on cleaner header styles */
body.vr-utility-style-clean.vr-cart-count-badge .vr-cart-count,
body.vr-utility-style-minimal.vr-cart-count-badge .vr-cart-count {
  right: var(--vr-cart-count-offset-x);
  top: calc(var(--vr-cart-count-offset-y) + 2px);
}

/* Language dropdown cleaner look in minimal mode */
body.vr-utility-style-minimal .vr-language-menu,
body.vr-utility-style-clean .vr-language-menu {
  border-radius: 16px;
}

/* Mobile */
@media (max-width: 900px) {
  body.vr-hide-utility-labels .vr-utility-label {
    display: none !important;
  }
}


/* V4: utility icon control */
.vr-utility-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.vr-utility-icon svg {
  width: var(--vr-utility-icon-size, 17px);
  height: var(--vr-utility-icon-size, 17px);
  stroke: currentColor;
  fill: none;
  stroke-width: var(--vr-utility-icon-stroke, 1.8);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vr-utility-icon svg.vr-fill-icon {
  fill: currentColor;
  stroke: none;
}

body.vr-hide-search-icon .vr-search-toggle .vr-utility-icon,
body.vr-hide-language-icon .vr-language-toggle .vr-utility-icon,
body.vr-hide-cart-icon .vr-cart-toggle .vr-utility-icon {
  display: none !important;
}

body.vr-hide-search-icon.vr-hide-utility-labels .vr-search-toggle,
body.vr-hide-language-icon.vr-hide-utility-labels .vr-language-toggle,
body.vr-hide-cart-icon.vr-hide-utility-labels .vr-cart-toggle {
  display: none !important;
}

/* Cleaner spacing when icons are hidden */
body.vr-hide-search-icon .vr-search-toggle,
body.vr-hide-language-icon .vr-language-toggle,
body.vr-hide-cart-icon .vr-cart-toggle {
  gap: 0;
}

/* Optional monochrome symbol fallback */
.vr-utility-symbol {
  font-size: var(--vr-utility-symbol-size, 16px);
  line-height: 1;
}
