/* Voltarea 2026 refresh — overrides parent gaps, fonts, mobile */

:root {
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.75rem;    /* 12 */
  --fs-sm: 0.875rem;   /* 14 */
  --fs-md: 1rem;       /* 16 */
  --fs-lg: 1.125rem;   /* 18 */
  --fs-xl: 1.375rem;   /* 22 */
  --fs-2xl: 1.75rem;   /* 28 */
  --fs-3xl: 2.25rem;   /* 36 */
  --lh: 1.55;
  --gap: 1.25rem;
  --radius: 12px;
  --ink: #12141a;
  --muted: #5c6370;
  --line: #e6e8ee;
  --brand: #0b6bcb;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body,
body.woocommerce,
body.woocommerce-page {
  font-family: var(--font) !important;
  font-size: var(--fs-md);
  line-height: var(--lh);
  color: var(--ink);
  background: #f6f7f9;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.product_title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.footer_title,
.top1h {
  font-family: var(--font) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

h1, .product_title { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3, .footer_title { font-size: var(--fs-lg); }
h4, h5, h6 { font-size: var(--fs-md); }

p, li, td, th, label, input, textarea, select, button, a {
  font-family: var(--font) !important;
}

.container {
  width: min(1180px, calc(100% - 2rem)) !important;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

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

/* Header / nav */
#head,
.head-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.head-nav .container {
  display: block;
  padding: 0.65rem 0;
}

.mob-nav {
  display: none !important;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a,
.mob-nav a {
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 0.35rem 0;
}

.main-nav a:hover,
.mob-nav a:hover {
  color: var(--brand);
}

.slicknav_menu {
  display: none;
}

/* Product grids — parent asked for 12 columns; that is the gap mess */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap) !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0.85rem !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
}

.woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fafafa;
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: var(--fs-sm) !important;
  font-weight: 500 !important;
  margin: 0.6rem 0 0.35rem !important;
  min-height: 0 !important;
}

.woocommerce ul.products li.product .price {
  font-size: var(--fs-lg) !important;
  font-weight: 700;
  color: var(--ink);
}

/* Single product card */
.woocommerce div.product.va-product,
div.product.va-product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2.25rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.06);
}

@media (min-width: 900px) {
  .woocommerce div.product.va-product,
  div.product.va-product {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    padding: 1.75rem;
  }
  .va-product__gallery { grid-column: 1; grid-row: 1; }
  .va-product__buy { grid-column: 2; grid-row: 1; }
  .va-product__after { grid-column: 1 / -1; }
}

.woocommerce div.product .va-product__gallery,
.woocommerce div.product .product-left,
.woocommerce div.product div.images,
.woocommerce div.product .summary,
.woocommerce div.product #right_column {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.images-va,
.woocommerce div.product div.images {
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
}

.images-va img,
.woocommerce div.product div.images img,
.woocommerce-main-image img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}

.woocommerce div.product div.thumbnails,
.images-va .thumbnails {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  width: 100% !important;
  float: none !important;
}

.woocommerce div.product div.thumbnails a,
.images-va .thumbnails a {
  width: 72px !important;
  height: 72px !important;
  margin: 0 !important;
  float: none !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: block;
}

.woocommerce div.product div.thumbnails img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.woocommerce div.product .product_title {
  margin: 0 0 0.5rem;
  font-size: var(--fs-2xl);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: var(--fs-2xl) !important;
  font-weight: 700;
  margin: 0.35rem 0 1rem !important;
  padding: 0 !important;
  color: var(--ink);
}

.woocommerce div.product p.stock {
  font-size: var(--fs-sm) !important;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.woocommerce div.product form.cart .button {
  float: none !important;
  margin: 0 !important;
}

.woocommerce table.shop_attributes {
  border: 0;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  padding: 0.45rem 0;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--line);
}

.product_meta {
  padding: 0.75rem 0 0 !important;
  font-size: var(--fs-xs);
  color: var(--muted);
}

#bottom_small_text,
.bottom_image_text {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 1rem 0 0 !important;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
  clear: both;
}

.va-product__after {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

/* Search bar was 1260px wide — overflows mobile */
#yith-s,
#yith-ajaxsearchform {
  width: 100% !important;
  max-width: 100% !important;
}

.yith-ajaxsearchform-container {
  padding: 0.65rem 1rem !important;
}

#yith-s {
  height: auto !important;
  padding: 0.7rem 1.1rem !important;
  border-radius: 999px !important;
  font-weight: 500 !important;
}

.woocommerce div.product .product_title {
  margin-top: 0;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: var(--fs-2xl);
  font-weight: 700;
}

.woocommerce div.product form.cart .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  font-family: var(--font) !important;
  font-size: var(--fs-md) !important;
  font-weight: 600;
  border-radius: 10px !important;
  padding: 0.7rem 1.2rem !important;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  transform: translateY(-1px);
}

.section {
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}

table.shop_attributes,
.woocommerce table.shop_attributes {
  font-size: var(--fs-sm);
  width: 100%;
}

/* Cart / checkout */
.woocommerce table.shop_table {
  font-size: var(--fs-sm);
}

.woocommerce .quantity .qty {
  min-height: 2.4rem;
}

/* Footer */
#foot {
  margin-top: 2rem;
  background: #fff;
  border-top: 1px solid var(--line);
}

.main-foot .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--gap);
  padding: 2rem 0;
}

.foot-col {
  width: auto !important;
  float: none !important;
}

.bottom-foot p {
  margin: 0.4rem 0 !important;
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Hide the old 200px spacer hack */
.bottom-foot p[style] {
  margin-bottom: 1.5rem !important;
}

/* Slider / hero */
.sl-slider-wrapper,
#slider,
.smart-slider {
  max-width: 100%;
  overflow: hidden;
}

/* Related products were hidden on mobile in parent — show them */
div.related.products {
  display: block !important;
  clear: both;
  padding-top: 1.5rem;
}

/* Subtle page load */
body {
  animation: va-fade 0.45s var(--ease);
}

@keyframes va-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  :root {
    --fs-2xl: 1.5rem;
    --fs-xl: 1.2rem;
  }

  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem !important;
  }

  .woocommerce ul.products li.product {
    padding: 0.55rem !important;
  }

  .head-nav .container {
    display: block;
  }

  .main-nav,
  .mob-nav {
    display: none !important;
  }

  .slicknav_menu {
    display: block !important;
  }

  .woocommerce div.product .product-left,
  .woocommerce div.product div.images,
  .woocommerce div.product .summary,
  #right_column {
    width: 100% !important;
    float: none !important;
  }

  #bottom_small_text,
  .bottom_image_text {
    display: block !important;
  }

  .woocommerce img,
  .woocommerce-page img {
    height: auto !important;
  }
}

@media (max-width: 420px) {
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: 1fr;
  }

  .etop ul {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* One search only: hide the copy stuffed into the header menu.
   Keep the full-width bar from widget block-4. */
#menu-header .yith-ajaxsearchform-container,
#menu-mob .yith-ajaxsearchform-container,
.menu-item-type-gs_sim .yith-ajaxsearchform-container {
  display: none !important;
}

#block-4 {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}

#block-4 .yith-ajaxsearchform-container {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem !important;
  background: transparent !important;
}

#block-4 #yith-ajaxsearchform > div {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#block-4 #yith-searchsubmit {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-family: var(--font) !important;
  font-weight: 600;
  cursor: pointer;
}

/* Warranty strip was a 164px gray brick */
.etop {
  height: auto !important;
  min-height: 0 !important;
  padding: 0.7rem 0 !important;
  background: #fff !important;
  border-bottom: 1px solid var(--line);
}

.etop .container {
  width: min(1180px, calc(100% - 2rem)) !important;
}

.etop ul {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: stretch !important;
}

.etop li {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
}

.etop .spanin {
  display: inline;
  font-weight: 400;
  color: var(--muted);
  font-size: var(--fs-xs);
}

body.single-product,
body.woocommerce.single-product {
  background: #f0f0f0 !important;
}

.woocommerce div.product.va-card,
div.product.va-card {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
  float: none !important;
  width: 100% !important;
}

.va-gallery {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.va-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 0 0 64px;
  margin: 0;
}

.va-gallery__thumb {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  background: #e6e6e6;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  width: 64px;
  height: 64px;
}

.va-gallery__thumb.is-active {
  border-color: #111;
}

.va-gallery__thumb img,
.va-gallery__thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.va-gallery__stage {
  flex: 1;
  background: #e8e8e8;
  border-radius: 28px;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.va-gallery__stage img,
.va-gallery__main-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.va-card__info {
  margin-top: 1.25rem;
}

.va-card .product_title,
.woocommerce div.product.va-card .product_title {
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem !important;
  line-height: 1.2;
}

.va-card__lead,
.va-card__lead p {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.va-card__buyrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1.1rem;
}

.va-card__price .price,
.va-card .price {
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  color: #111 !important;
}

.va-card form.cart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
}

.va-card form.cart .quantity {
  display: none;
}

.va-card form.cart .button,
.va-card form.cart button.single_add_to_cart_button {
  background: #111 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.85rem 1.6rem !important;
  font-family: var(--font) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  cursor: pointer;
}

.va-card__spec {
  background: #e6e6e6;
  border-radius: 22px;
  padding: 1rem 1.15rem;
}

.va-specs {
  width: 100%;
  border: 0;
  border-collapse: collapse;
}

.va-specs th,
.va-specs td {
  border: 0;
  padding: 0.2rem 0.4rem 0.2rem 0;
  font-size: 0.88rem;
  text-align: left;
  vertical-align: top;
  background: transparent;
}

.va-specs th {
  font-weight: 600;
  white-space: nowrap;
  padding-right: 0.75rem;
  color: #111;
}

.va-card__note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: #444;
}

.va-card__disclaimer {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: #888;
}

.woocommerce div.product.va-card .images,
.woocommerce div.product.va-card .summary,
.woocommerce div.product.va-card .product-left,
.va-card .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
}

@media (max-width: 520px) {
  .va-gallery__thumbs {
    flex: 0 0 52px;
  }

  .va-gallery__thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .va-gallery__stage {
    border-radius: 22px;
  }
}
