:root {
  --ovs-color-primary: #111827;
  --ovs-color-primary-contrast: #ffffff;
  --ovs-color-accent: #f59e0b;
  --ovs-color-surface: #ffffff;
  --ovs-color-surface-alt: #f9fafb;
  --ovs-color-border: #e5e7eb;
  --ovs-color-text: #111827;
  --ovs-color-text-muted: #6b7280;
  --ovs-radius-lg: 16px;
  --ovs-space-2: 8px;
  --ovs-space-3: 12px;
  --ovs-space-4: 16px;
  --ovs-space-5: 20px;
  --ovs-color-header-background: var(--ovs-color-header-background);
  --ovs-color-bottom-nav-background: var(--ovs-color-bottom-nav-background);
  --ovs-color-footer-text: #6b7280;
  --ovs-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ovs-color-text);
  background: var(--ovs-color-surface-alt);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.ovs-container { width: min(100% - 24px, 1200px); margin-inline: auto; }
.ovs-app-shell { min-height: 100dvh; padding: 16px 0 88px; }
.ovs-header {
  position: sticky; top: 0; z-index: 20; background: var(--ovs-color-header-background); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ovs-color-border);
}
.ovs-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0;
}
.ovs-site-title { font-weight: 700; font-size: 1.05rem; }
.ovs-header__actions { display: flex; gap: 8px; }
.ovs-icon-button, .ovs-mobile-bottom-nav a, .ovs-mobile-bottom-nav button {
  min-width: 44px; min-height: 44px; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.ovs-card {
  background: #fff; border-radius: var(--ovs-radius-lg); padding: var(--ovs-space-4); box-shadow: var(--ovs-shadow); margin-bottom: 16px;
}
.ovs-title { margin-top: 0; }
.ovs-entry { color: var(--ovs-color-text-muted); }
.ovs-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--ovs-color-text-muted); }
.ovs-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--ovs-color-primary); color: var(--ovs-color-primary-contrast); border: none;
}
.ovs-button--secondary { background: #fff; color: var(--ovs-color-primary); border: 1px solid var(--ovs-color-border); }
.ovs-search-form { display: flex; gap: 8px; }
.ovs-search-form .search-field {
  width: 100%; min-height: 44px; border: 1px solid var(--ovs-color-border); border-radius: 12px; padding: 0 12px;
}
.ovs-search-sheet {
  position: fixed; inset: 0; z-index: 40; background: rgba(17,24,39,.4); padding: 24px 0;
}
.ovs-search-sheet__inner { background: white; border-radius: 20px; padding: 16px; }
.ovs-mobile-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--ovs-color-bottom-nav-background); border-top: 1px solid var(--ovs-color-border); backdrop-filter: blur(12px);
}
.ovs-mobile-bottom-nav a,
.ovs-mobile-bottom-nav button {
  display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--ovs-color-text-muted);
}
.ovs-footer { padding: 24px 0 100px; color: var(--ovs-color-footer-text); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 0; }
.woocommerce ul.products li.product {
  width: auto !important; margin: 0 !important; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--ovs-shadow);
}
.single-product div.product .summary { background: #fff; padding: 16px; border-radius: 16px; box-shadow: var(--ovs-shadow); }
@media (min-width: 768px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .ovs-app-shell { padding-bottom: 24px; }
  .ovs-mobile-bottom-nav { display: none; }
  .ovs-footer { padding-bottom: 24px; }
  .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.ovs-page-shell > .wp-block-group, .ovs-page-shell > .wp-block-columns, .ovs-page-shell > .wp-block-cover, .ovs-page-shell > .wp-block-heading, .ovs-page-shell > .wp-block-paragraph { margin-bottom: 16px; }
.ovs-empty-homepage { text-align: left; }


.ovs-homepage-stack { display: grid; gap: 16px; }
.ovs-homepage-section { display: grid; gap: 12px; }
.ovs-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ovs-chip-grid, .ovs-category-grid, .ovs-testimonial-track { display:flex; gap:12px; overflow:auto; scroll-snap-type:x proximity; padding-bottom:4px; }
.ovs-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); overflow:visible; }
.ovs-category-tile, .ovs-testimonial-card, .ovs-promo-countdown { background:#fff; border-radius:16px; padding:16px; box-shadow:0 4px 18px rgba(0,0,0,.04); }
.ovs-category-tile img { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:12px; margin-bottom:10px; }
.ovs-testimonial-card { min-width: 82%; scroll-snap-align:start; }
.ovs-countdown-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:12px; }
.ovs-countdown-item { background:rgba(255,255,255,.14); color:#fff; border-radius:14px; padding:10px 8px; text-align:center; }
.ovs-countdown-item strong { display:block; font-size:1.1rem; }
.ovs-promo-countdown.is-light .ovs-countdown-item, .ovs-promo-countdown.is-accent .ovs-countdown-item { background:rgba(17,24,39,.08); color:var(--ovs-color-text); }
.ovs-promo-countdown.is-dark { background:#111827; color:#fff; }
.ovs-promo-countdown.is-accent { background:var(--ovs-color-accent); color:var(--ovs-color-text); }
.ovs-promo-countdown.is-light { background:#fff; color:#111827; border:1px solid var(--ovs-color-border); }
.ovs-empty-note { color: var(--ovs-color-text-muted); font-size:.95rem; }
@media (min-width: 768px) { .ovs-category-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } .ovs-testimonial-card { min-width: 38%; } }


.ovs-search-sheet__inner {
  display: grid;
  gap: 12px;
}
.woocommerce div.product form.cart {
  display: grid;
  gap: 12px;
}
.woocommerce .star-rating {
  margin-bottom: 8px;
}
.ovs-sticky-add-to-cart {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 72px;
  z-index: 29;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  background: var(--ovs-color-bottom-nav-background);
  border-top: 1px solid var(--ovs-color-border);
  backdrop-filter: blur(12px);
}
.ovs-sticky-add-to-cart__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ovs-sticky-add-to-cart__meta {
  display: grid;
  gap: 2px;
}
.ovs-sticky-add-to-cart__meta span {
  color: var(--ovs-color-text-muted);
  font-size: .92rem;
}
body.admin-bar .ovs-sticky-add-to-cart { bottom: 72px; }
@media (min-width: 1024px) {
  .ovs-sticky-add-to-cart {
    bottom: 0;
  }
}


.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
}
.woocommerce-account .woocommerce-MyAccount-navigation a,
.ovs-button,
.button.ovs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ovs-color-primary);
  color: var(--ovs-color-primary-contrast);
  text-decoration: none;
  border: 0;
}
.button.ovs-button--secondary,
.ovs-button--secondary {
  background: var(--ovs-color-surface-alt);
  color: var(--ovs-color-text);
  border: 1px solid var(--ovs-color-border);
}


.ovs-shop-shell { display: grid; gap: 16px; }
.ovs-shop-toolbar {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 70px;
  z-index: 15;
}
.ovs-shop-toolbar__actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}
.ovs-shop-sorting form,
.woocommerce .ovs-shop-sorting form.woocommerce-ordering {
  width: 100%;
  margin: 0;
}
.ovs-shop-sorting select,
.woocommerce .ovs-shop-sorting select.orderby {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid var(--ovs-color-border);
  background: #fff;
  padding: 0 14px;
}
.ovs-filter-trigger { white-space: nowrap; }
.ovs-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ovs-color-primary);
  color: #fff;
  font-size: .75rem;
}
.ovs-shop-layout { display: grid; gap: 16px; }
.ovs-shop-sidebar { display: none; }
.ovs-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(17,24,39,.45);
  padding-top: env(safe-area-inset-top);
}
.ovs-filter-drawer__panel {
  margin-top: auto;
  width: 100%;
  max-height: 90dvh;
  overflow: auto;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 16px;
}
.ovs-filter-drawer__header,
.ovs-active-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ovs-filter-drawer__body,
.ovs-active-filters__list {
  display: grid;
  gap: 12px;
}
.ovs-active-filters__list {
  display: flex;
  flex-wrap: wrap;
}
.ovs-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ovs-color-surface-alt);
  border: 1px solid var(--ovs-color-border);
  color: var(--ovs-color-text-muted);
  font-size: .9rem;
}
.ovs-filter-widget {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ovs-color-border);
}
.ovs-filter-widget:last-child { border-bottom: 0; padding-bottom: 0; }
.ovs-filter-widget__title,
.ovs-filter-widget .widgettitle,
.ovs-filter-widget .wc-block-product-categories__title {
  margin: 0 0 12px;
  font-size: 1rem;
}
.ovs-filter-widget ul,
.ovs-filter-widget ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ovs-filter-widget a { color: var(--ovs-color-text); }
.ovs-filter-widget .wc-block-components-price-slider__range-input-progress,
.ovs-filter-widget .price_slider_amount .button { min-height: 44px; }
.woocommerce .woocommerce-result-count { margin: 0; color: var(--ovs-color-text-muted); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ovs-shadow);
}
body.ovs-filter-drawer-open { overflow: hidden; }
@media (min-width: 1024px) {
  .ovs-shop-toolbar {
    top: 16px;
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .ovs-shop-toolbar__actions { min-width: 320px; }
  .ovs-shop-layout.has-sidebar { grid-template-columns: 280px minmax(0, 1fr); align-items: start; }
  .ovs-shop-sidebar {
    display: block;
    position: sticky;
    top: 150px;
  }
  .ovs-filter-trigger { display: none; }
}


.ovs-trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px;
}
.ovs-trust-badge,
.ovs-trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ovs-color-border);
  background: #fff;
  padding: 0 14px;
  box-shadow: var(--ovs-shadow);
}
.ovs-trust-badge__icon,
.ovs-trust-strip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(17,24,39,.08);
  font-size: .8rem;
}
.ovs-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.ovs-free-shipping-progress__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ovs-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: var(--ovs-color-border);
  overflow: hidden;
}
.ovs-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ovs-color-primary);
}
.woocommerce-cart .cross-sells > h2,
.related.products > h2,
.up-sells > h2 {
  font-size: 1.1rem;
  margin-top: 0;
}
.woocommerce-cart .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce form.checkout_coupon,
.woocommerce-cart table.shop_table {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--ovs-shadow);
  border: 0;
}
.woocommerce-cart table.shop_table,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  padding: 16px;
}
@media (min-width: 768px) {
  .ovs-trust-badges__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.ovs-install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(82px + env(safe-area-inset-bottom));
  z-index: 60;
}
.ovs-install-banner__content {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(17,24,39,.97);
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}
.ovs-install-banner__title {
  display: block;
  margin-bottom: 4px;
}
.ovs-install-banner__text {
  margin: 0;
  color: rgba(255,255,255,.82);
}
.ovs-install-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.ovs-standalone .ovs-install-banner { display:none !important; }
@media (min-width: 1024px) {
  .ovs-install-banner {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 360px;
  }
}


.ovs-store-notice {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #111827;
  color: #fff;
}
.ovs-store-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
}
.ovs-store-notice__inner p {
  margin: 0;
  color: rgba(255,255,255,.92);
}
.ovs-product-badges {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
li.product,
.single-product div.product .woocommerce-product-gallery {
  position: relative;
}
.ovs-product-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  background: #111827;
  color: #fff;
}
.ovs-product-badge--sale { background: #b91c1c; }
.ovs-product-badge--new { background: #065f46; }
.ovs-product-badge--low-stock { background: #92400e; }
.ovs-order-timeline-wrap,
.ovs-order-track-card {
  margin-top: 18px;
}
.ovs-order-track-card__head,
.ovs-order-timeline__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.ovs-order-status-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ovs-color-surface-alt);
  font-weight: 700;
}
.ol, .ovs-order-timeline {
  margin: 0;
  padding: 0;
}
.ovs-order-timeline {
  list-style: none;
  display: grid;
  gap: 14px;
}
.ovs-order-timeline li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}
.ovs-order-timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 2px;
  background: var(--ovs-color-border);
  box-shadow: 0 0 0 4px rgba(17,24,39,.06);
}
.ovs-order-timeline li.is-complete .ovs-order-timeline__dot,
.ovs-order-timeline li.is-current .ovs-order-timeline__dot {
  background: var(--ovs-color-primary);
}
.ovs-order-timeline li p {
  margin: 4px 0 0;
  color: var(--ovs-color-text-muted);
}
@media (max-width: 767px) {
  .ovs-store-notice__inner,
  .ovs-order-track-card__head,
  .ovs-order-timeline__meta {
    align-items: flex-start;
    flex-direction: column;
  }
}


.ovs-campaign-timer { margin: 14px 0; }
.ovs-entry--tight { margin-bottom: 8px; }
.ovs-countdown-grid--compact { margin-top: 8px; }
.ovs-urgency-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  display: grid;
  gap: 8px;
}
.ovs-urgency-box--cart { margin-bottom: 16px; }
.ovs-urgency-message { margin: 0; color: var(--ovs-color-text); font-weight: 600; }
.ovs-inline-countdown {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.ovs-inline-countdown strong {
  display: inline-block;
  min-width: 2ch;
}


.ovs-social-proof-card,
.ovs-review-snapshot,
.ovs-review-highlights__grid > div,
.ovs-post-purchase-nudge,
.ovs-social-proof-strip--card .ovs-social-proof-strip__inner {
  background: #fff;
  border: 1px solid var(--ovs-color-border, #e5e7eb);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.ovs-review-snapshot,
.ovs-post-purchase-nudge { margin: 16px 0; }
.ovs-review-snapshot__top,
.ovs-social-proof-strip__inner,
.ovs-social-proof-inline { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.ovs-review-snapshot__top { justify-content:space-between; }
.ovs-review-snapshot__quote { margin: 10px 0 4px; font-size: .98rem; }
.ovs-review-snapshot__meta,
.ovs-review-snapshot__score,
.ovs-social-proof-inline__item,
.ovs-social-proof-strip__item { color: var(--ovs-color-text-muted, #6b7280); }
.ovs-social-proof-inline { margin: 12px 0 0; }
.ovs-social-proof-inline__item,
.ovs-social-proof-strip__item {
  display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border-radius:999px; background: var(--ovs-color-surface-alt, #f9fafb);
}
.ovs-review-highlights__grid { display:grid; gap:12px; }
.ovs-social-proof-strip--inline .ovs-social-proof-strip__inner {
  display:flex; flex-wrap:wrap; gap:10px; padding:0; border:0; box-shadow:none; background:transparent;
}
@media (min-width: 768px) {
  .ovs-review-highlights__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.ovs-stock-alert-card .button{min-height:44px;}


.ovs-express-checkout-cta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.ovs-express-checkout-cta__content { display:grid; gap:6px; }
.ovs-checkout-hero { display:grid; gap:10px; }
.ovs-checkout-steps { display:flex; flex-wrap:wrap; gap:8px; }
.ovs-checkout-steps span {
  display:inline-flex; align-items:center; min-height:36px; padding:0 12px; border-radius:999px;
  background:var(--ovs-color-surface-alt); border:1px solid var(--ovs-color-border); color:var(--ovs-color-text-muted);
}
.ovs-checkout-steps .is-active { background:var(--ovs-color-primary); color:#fff; border-color:var(--ovs-color-primary); }
.ovs-checkout-shell .woocommerce-checkout { display:grid; gap:16px; }
.ovs-checkout-shell .col2-set, .ovs-checkout-shell #order_review_heading, .ovs-checkout-shell #order_review {
  background:#fff; border-radius:16px; padding:16px; box-shadow:var(--ovs-shadow);
}
.ovs-checkout-shell .form-row input.input-text,
.ovs-checkout-shell .form-row textarea,
.ovs-checkout-shell .form-row select {
  min-height:48px; border-radius:14px; border:1px solid var(--ovs-color-border); padding:10px 14px; background:#fff;
}
.ovs-checkout-reassurance { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 4px; }
.ovs-checkout-reassurance span {
  display:inline-flex; align-items:center; min-height:36px; padding:0 12px; border-radius:999px;
  background:var(--ovs-color-surface-alt); border:1px solid var(--ovs-color-border); font-size:.92rem;
}
.ovs-mobile-checkout-bar {
  position:fixed; left:0; right:0; bottom:72px; z-index:28;
  background:rgba(255,255,255,.96); border-top:1px solid var(--ovs-color-border); backdrop-filter:blur(12px);
  padding:10px 0 calc(10px + env(safe-area-inset-bottom));
}
.ovs-mobile-checkout-bar__inner { display:flex; align-items:center; justify-content:space-between; gap:12px; }
@media (min-width: 1024px) {
  .ovs-mobile-checkout-bar { display:none; }
  .ovs-checkout-shell .woocommerce-checkout { grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr); align-items:start; }
  .ovs-checkout-shell .col2-set { margin:0; }
}




/* PDP redesign v2.0.26 */
.ovs-product-detail {
  display: grid;
  gap: 24px;
}
.ovs-product-detail__hero {
  display: grid;
  gap: 20px;
  align-items: start;
}
.ovs-product-gallery-shell {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--ovs-shadow);
  padding: 14px;
  display: grid;
  gap: 14px;
}
.ovs-product-gallery__chrome { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ovs-product-gallery__meta { display:grid; gap:2px; }
.ovs-product-gallery__layout { display:grid; gap:12px; }
.ovs-product-gallery__stage-wrap { position:relative; }
.ovs-product-gallery__stage {
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  border-radius:22px;
  background:var(--ovs-color-surface-alt);
  min-height: clamp(280px, 58vw, 640px);
}
.ovs-product-gallery__stage::-webkit-scrollbar { display:none; }
.ovs-product-gallery__slide {
  position:relative;
  min-width:100%;
  min-height: clamp(280px, 58vw, 640px);
  scroll-snap-align:start;
  overflow:hidden;
  border-radius:22px;
  background:var(--ovs-color-surface-alt);
}
.ovs-product-gallery__image { width:100%; height:100%; object-fit:cover; display:block; }
.ovs-product-gallery__zoom {
  position:absolute; right:16px; bottom:16px; z-index:2;
  display:inline-flex; align-items:center; min-height:40px; padding:0 14px;
  border-radius:999px; background:rgba(17,24,39,.72); color:#fff; text-decoration:none;
  backdrop-filter:blur(8px);
}
.ovs-gallery-nav {
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:46px; height:46px; border-radius:999px; border:1px solid rgba(255,255,255,.5);
  background:rgba(255,255,255,.88); color:var(--ovs-color-primary); box-shadow:0 10px 24px rgba(0,0,0,.12);
  display:inline-flex; align-items:center; justify-content:center; font-size:28px; line-height:1; cursor:pointer;
}
.ovs-gallery-nav--prev { left:14px; }
.ovs-gallery-nav--next { right:14px; }
.ovs-gallery-nav:disabled { opacity:.45; cursor:not-allowed; }
.ovs-product-gallery__thumbs {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(76px, 92px);
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:4px 2px 2px;
  scrollbar-width:none;
}
.ovs-product-gallery__thumbs::-webkit-scrollbar { display:none; }
.ovs-product-gallery__thumb {
  border:1px solid var(--ovs-color-border); background:#fff; padding:0; border-radius:16px; overflow:hidden;
  aspect-ratio:1/1; cursor:pointer;
}
.ovs-product-gallery__thumb-image { width:100%; height:100%; object-fit:cover; display:block; }
.ovs-product-gallery__thumb.is-active { border-color: var(--ovs-color-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ovs-color-primary) 18%, transparent); }
.ovs-product-gallery__dots { display:flex; align-items:center; justify-content:center; gap:8px; }
.ovs-product-gallery__dot { width:8px; height:8px; border-radius:50%; background: var(--ovs-color-border); }
.ovs-product-gallery__dot.is-active { width:22px; border-radius:999px; background: var(--ovs-color-primary); }
.ovs-product-gallery-empty { min-height: 360px; display:grid; place-items:center; border-radius:20px; background:var(--ovs-color-surface-alt); color:var(--ovs-color-text-muted); }
.ovs-product-summary-card {
  background:#fff;
  border-radius:24px;
  padding:18px;
  box-shadow:var(--ovs-shadow);
  display:grid;
  gap:16px;
}
.ovs-product-summary-card__topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.ovs-product-rating-anchor {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--ovs-color-text-muted);
  text-decoration:none;
}
.single-product div.product .summary.entry-summary.ovs-product-summary-card {
  margin:0;
  padding:18px;
  border-radius:24px;
  box-shadow:var(--ovs-shadow);
}
.single-product div.product .woocommerce-product-details__short-description,
.single-product div.product form.cart,
.single-product div.product .product_meta,
.single-product div.product .price {
  margin-bottom:14px;
}
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products {
  background:#fff;
  border-radius:24px;
  padding:18px;
  box-shadow:var(--ovs-shadow);
}
@media (min-width: 1024px) {
  .ovs-product-detail__hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 28px;
  }
  .ovs-product-gallery__stage,
  .ovs-product-gallery__slide {
    min-height: min(70vh, 720px);
  }
  .ovs-product-gallery__thumbs {
    grid-auto-columns:minmax(92px, 108px);
  }
}
@media (max-width: 767px) {
  .ovs-gallery-nav {
    width:42px;
    height:42px;
    font-size:24px;
  }
  .ovs-gallery-nav--prev { left:10px; }
  .ovs-gallery-nav--next { right:10px; }
  .ovs-product-gallery__zoom {
    left:50%;
    right:auto;
    transform:translateX(-50%);
    bottom:12px;
  }
  .ovs-product-gallery__thumbs {
    grid-auto-columns:minmax(68px, 82px);
  }
}

/* PDP media enhancements v2.0.26 */
.ovs-product-gallery__slide--video {
  background: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.08));
}
.ovs-product-gallery__video-wrap,
.ovs-product-gallery__embed,
.ovs-product-gallery__embed iframe,
.ovs-product-gallery__video {
  width: 100%;
  height: 100%;
}
.ovs-product-gallery__video-wrap {
  position: relative;
  min-height: inherit;
}
.ovs-product-gallery__embed {
  display: grid;
}
.ovs-product-gallery__embed iframe {
  border: 0;
}
.ovs-product-gallery__video {
  object-fit: cover;
  display: block;
  background: #000;
}
.ovs-product-gallery__video-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17,24,39,.72);
  color: #fff;
  backdrop-filter: blur(8px);
}
.ovs-product-gallery__video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: inherit;
  color: var(--ovs-color-primary);
  text-decoration: none;
  font-weight: 700;
}
.ovs-product-gallery__thumb-video {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 8px;
  text-align: center;
  background: linear-gradient(180deg, rgba(17,24,39,.04), rgba(17,24,39,.12));
  color: var(--ovs-color-primary);
  font-weight: 700;
}
.ovs-product-gallery__thumb-video span[aria-hidden="true"] {
  font-size: 20px;
  line-height: 1;
}


.ovs-home-hero {
  position: relative;
  padding: 16px 0 8px;
}
.ovs-home-hero__inner {
  min-height: min(68vw, 520px);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17,24,39,.78), rgba(17,24,39,.38)),
    var(--ovs-hero-image, linear-gradient(135deg, #111827, #374151));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: clamp(20px, 4vw, 40px);
}
.ovs-home-hero__content {
  max-width: 560px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.ovs-block-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17,24,39,.75), rgba(17,24,39,.28)),
    var(--ovs-hero-image, linear-gradient(135deg, var(--ovs-color-primary), #374151));
  background-size: cover;
  background-position: center;
  color: #fff;
}
.ovs-block-hero .ovs-eyebrow,
.ovs-block-hero .ovs-title,
.ovs-block-hero .ovs-entry { color: inherit; }
.ovs-block-hero__overlay {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.08));
}
@media (min-width: 768px) {
  .ovs-home-hero { padding-top: 20px; }
  .ovs-home-hero__inner { min-height: 460px; }
}
