/*
Theme Name: OZ Vape Mall WooCommerce
Theme URI: https://ozvapemall.com/
Author: OZ Vape Mall
Description: WooCommerce-native storefront that preserves the OZ Vape Mall catalogue UI.
Version: 0.1.9
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: oz-vape-mall
License: GPL-2.0-or-later
*/

/* The legacy visual system is enqueued separately so it can be audited and replaced safely. */
.ozvm-page-shell {
  width: min(1360px, calc(100% - 64px));
  margin-inline: auto;
}

.ozvm-admin-note {
  margin: 16px auto;
  padding: 12px 16px;
  border: 1px solid #d9dcd5;
  background: #f4f5f2;
  color: #676b65;
  font-size: 12px;
}

.ozvm-admin-note strong {
  color: #0b0b0c;
}

.ozvm-wc-page {
  padding-block: 72px 120px;
}

.ozvm-wc-page > .woocommerce-notices-wrapper,
.ozvm-wc-page > .woocommerce-message,
.ozvm-wc-page > .woocommerce-info,
.ozvm-wc-page > .woocommerce-error {
  width: min(1360px, calc(100% - 64px));
  margin-inline: auto;
}

.ozvm-wc-page .page-title,
.ozvm-wc-page .woocommerce-products-header__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.ozvm-wc-page .entry-content {
  max-width: 900px;
  margin-inline: auto;
}

.ozvm-wc-page .entry-content > *:first-child {
  margin-top: 0;
}

.ozvm-wc-page .entry-content > *:last-child {
  margin-bottom: 0;
}

.ozvm-wc-page .woocommerce {
  width: min(1360px, calc(100% - 64px));
  margin-inline: auto;
}

.ozvm-wc-page .woocommerce form .form-row,
.ozvm-wc-page .woocommerce form .form-row-first,
.ozvm-wc-page .woocommerce form .form-row-last {
  width: 100%;
  margin-right: 0;
}

.ozvm-wc-page .woocommerce form .form-row label,
.ozvm-wc-page .woocommerce form label {
  color: #676b65;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ozvm-wc-page .woocommerce input.input-text,
.ozvm-wc-page .woocommerce textarea,
.ozvm-wc-page .woocommerce select,
.ozvm-wc-page .woocommerce .select2-container .select2-selection--single {
  min-height: 48px;
  border: 1px solid #d9dcd5;
  border-radius: 4px;
  background: #fff;
  color: #0b0b0c;
}

.ozvm-wc-page .woocommerce button.button,
.ozvm-wc-page .woocommerce a.button,
.ozvm-wc-page .woocommerce input.button {
  min-height: 48px;
  border: 1px solid #0b0b0c;
  border-radius: 4px;
  background: #0b0b0c;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.ozvm-wc-page .woocommerce button.button:hover,
.ozvm-wc-page .woocommerce a.button:hover,
.ozvm-wc-page .woocommerce input.button:hover {
  background: #cbff30;
  color: #0b0b0c;
}

.ozvm-archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.ozvm-archive-heading p {
  max-width: 480px;
  margin: 0;
  color: #676b65;
  font-size: 13px;
  line-height: 1.6;
}

.ozvm-wc-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 20px;
}

.ozvm-wc-toolbar label {
  display: grid;
  gap: 8px;
  color: #676b65;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.ozvm-wc-toolbar input,
.ozvm-wc-toolbar select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d9dcd5;
  border-radius: 4px;
  background: #fff;
  color: #0b0b0c;
}

.ozvm-wc-toolbar button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #0b0b0c;
  border-radius: 4px;
  background: #0b0b0c;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.ozvm-wc-toolbar button:hover {
  background: #cbff30;
  color: #0b0b0c;
}

.ozvm-product-card .card-action {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.ozvm-product-card .card-action.added {
  background: #cbff30;
  color: #0b0b0c;
}

.ozvm-product-card .product-info {
  min-height: 132px;
}

.ozvm-product-card .product-price del {
  color: #676b65;
  font-weight: 500;
}

.ozvm-product-card .product-price ins {
  color: #0b0b0c;
  text-decoration: none;
}

.ozvm-product-card .product-subtitle {
  min-height: 28px;
}

.ozvm-product-card .product-subtitle a {
  color: #676b65;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ozvm-product-card .product-media.has-fallback {
  background: #f3f4ef;
}

.ozvm-product-card .product-fallback,
.ozvm-single-product .product-fallback {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: #f4f5f2;
  color: var(--ink);
}

.ozvm-product-card .product-fallback-top,
.ozvm-product-card .product-fallback-stage,
.ozvm-product-card .product-fallback-copy,
.ozvm-single-product .product-fallback-top,
.ozvm-single-product .product-fallback-stage,
.ozvm-single-product .product-fallback-copy {
  position: relative;
  z-index: 1;
}

.ozvm-product-card .product-fallback-top,
.ozvm-single-product .product-fallback-top {
  display: flex;
  justify-content: space-between;
  color: #676b65;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ozvm-product-card .product-fallback-stage,
.ozvm-single-product .product-fallback-stage {
  min-height: 124px;
  display: grid;
  place-items: center;
}

.ozvm-product-card .product-fallback-device,
.ozvm-single-product .product-fallback-device {
  position: relative;
  display: block;
  width: 30%;
  height: 92px;
  border: 2px solid #0b0b0c;
  border-radius: 8px 8px 5px 5px;
  background: var(--product-accent);
  box-shadow: 8px 8px 0 #0b0b0c;
  transform: rotate(7deg);
}

.ozvm-product-card .product-fallback-device::before,
.ozvm-single-product .product-fallback-device::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 15%;
  width: 70%;
  height: 4px;
  background: #0b0b0c;
}

.ozvm-product-card .product-fallback-device::after,
.ozvm-single-product .product-fallback-device::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 12px;
  height: 18px;
  border: 1px solid rgba(11, 11, 12, 0.45);
  border-radius: 2px;
}

.ozvm-product-card .product-fallback-swatch,
.ozvm-single-product .product-fallback-swatch {
  position: absolute;
  right: 25%;
  bottom: 12px;
  width: 26px;
  height: 26px;
  border: 2px solid #0b0b0c;
  border-radius: 50%;
  background: var(--product-accent);
}

.ozvm-product-card .product-fallback-copy,
.ozvm-single-product .product-fallback-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
}

.ozvm-product-card .product-fallback-copy span,
.ozvm-product-card .product-fallback-copy small,
.ozvm-single-product .product-fallback-copy span,
.ozvm-single-product .product-fallback-copy small {
  color: #676b65;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.ozvm-product-card .product-fallback-copy strong,
.ozvm-single-product .product-fallback-copy strong {
  max-width: 100%;
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.ozvm-woocommerce-result-count {
  min-height: 48px;
  display: flex;
  align-items: center;
  margin: 0;
  color: #676b65;
  font-size: 11px;
}

.ozvm-pagination {
  margin-top: 48px;
}

.ozvm-pagination .page-numbers {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ozvm-pagination .page-numbers a,
.ozvm-pagination .page-numbers span {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #d9dcd5;
  border-radius: 4px;
  color: #0b0b0c;
  font-size: 12px;
}

.ozvm-pagination .page-numbers .current,
.ozvm-pagination .page-numbers a:hover {
  border-color: #0b0b0c;
  background: #cbff30;
}

.ozvm-single-product {
  padding-block: 56px 120px;
}

.ozvm-single-product .product {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.ozvm-single-product div.product div.images,
.ozvm-single-product div.product div.summary {
  width: 48%;
}

.ozvm-single-product div.product div.images img {
  border-radius: 6px;
  background: #f4f5f2;
}

.ozvm-single-product .woocommerce-product-gallery__image.ozvm-product-gallery-fallback {
  display: grid;
  aspect-ratio: 1 / 1;
  background: #f4f5f2;
}

.ozvm-single-product .woocommerce-product-gallery__image.ozvm-product-gallery-fallback .product-fallback {
  min-height: 480px;
  padding: 28px;
}

.ozvm-single-product .woocommerce-product-gallery__image.ozvm-product-gallery-fallback .product-fallback-stage {
  min-height: 220px;
}

.ozvm-single-product div.product .product_title {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
}

.ozvm-single-product div.product p.price,
.ozvm-single-product div.product span.price {
  color: #0b0b0c;
  font-size: 20px;
  font-weight: 800;
}

.ozvm-single-product div.product .woocommerce-product-details__short-description,
.ozvm-single-product div.product .product_meta {
  color: #676b65;
  line-height: 1.65;
}

.ozvm-single-product div.product form.cart .quantity .qty {
  min-height: 48px;
  border: 1px solid #d9dcd5;
}

.ozvm-single-product .woocommerce-tabs {
  clear: both;
  padding-top: 72px;
}

.ozvm-age-locked {
  overflow: hidden;
}

@media (max-width: 840px) {
  .ozvm-archive-heading {
    display: grid;
    align-items: start;
  }

  .ozvm-wc-toolbar {
    grid-template-columns: 1fr;
  }

  .ozvm-single-product div.product div.images,
  .ozvm-single-product div.product div.summary {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ozvm-page-shell,
  .ozvm-wc-page .woocommerce,
  .ozvm-wc-page > .woocommerce-notices-wrapper,
  .ozvm-wc-page > .woocommerce-message,
  .ozvm-wc-page > .woocommerce-info,
  .ozvm-wc-page > .woocommerce-error,
  .ozvm-single-product .product {
    width: min(100% - 32px, 560px);
  }

  .ozvm-wc-page {
    padding-block: 48px 80px;
  }

  .ozvm-single-product {
    padding-block: 32px 80px;
  }

  .ozvm-single-product .woocommerce-product-gallery__image.ozvm-product-gallery-fallback .product-fallback {
    min-height: 340px;
    padding: 20px;
  }

  .ozvm-single-product .woocommerce-product-gallery__image.ozvm-product-gallery-fallback .product-fallback-stage {
    min-height: 140px;
  }
}

/* WooCommerce blocks: keep the legacy OZ visual language on native store pages. */
.ozvm-theme .ozvm-wc-page > .entry-content {
  width: min(1360px, calc(100% - 64px));
  margin-inline: auto;
}

.ozvm-theme .ozvm-wc-page > .entry-content > .wp-block-woocommerce-cart,
.ozvm-theme .ozvm-wc-page > .entry-content > .wp-block-woocommerce-checkout {
  width: 100%;
  max-width: none;
  margin: 0;
}

.ozvm-theme .wc-block-cart,
.ozvm-theme .wc-block-checkout {
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.ozvm-theme .wc-block-cart__main,
.ozvm-theme .wc-block-checkout__main {
  min-width: 0;
}

.ozvm-theme .wc-block-cart__main,
.ozvm-theme .wc-block-cart__sidebar,
.ozvm-theme .wc-block-checkout__main,
.ozvm-theme .wc-block-checkout__sidebar {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.ozvm-theme .wc-block-cart__main,
.ozvm-theme .wc-block-checkout__main {
  padding: clamp(20px, 3vw, 40px);
}

.ozvm-theme .wc-block-cart__sidebar,
.ozvm-theme .wc-block-checkout__sidebar {
  padding: clamp(20px, 3vw, 32px);
}

.ozvm-theme .wc-block-cart__main,
.ozvm-theme .wc-block-checkout__main {
  background: var(--paper);
}

.ozvm-theme .wc-block-cart__sidebar,
.ozvm-theme .wc-block-checkout__sidebar,
.ozvm-theme .wc-block-components-order-summary {
  background: var(--soft);
}

.ozvm-theme .wc-block-cart__main h2,
.ozvm-theme .wc-block-cart__sidebar h2,
.ozvm-theme .wc-block-checkout__main h2,
.ozvm-theme .wc-block-checkout__sidebar h2,
.ozvm-theme .wc-block-components-order-summary__title {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0;
}

/* Cart line items and totals. */
.ozvm-theme .wc-block-cart-items {
  border-collapse: collapse;
  width: 100%;
}

.ozvm-theme .wc-block-cart-items__row {
  border-top: 1px solid var(--line);
}

.ozvm-theme .wc-block-cart-items__row:first-child {
  border-top: 0;
}

.ozvm-theme .wc-block-cart-items__row .wc-block-cart-item__image {
  width: 92px;
  padding: 18px 18px 18px 0;
}

.ozvm-theme .wc-block-cart-items__row .wc-block-cart-item__image img,
.ozvm-theme .wc-block-components-product-image img {
  width: 76px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
}

.ozvm-theme .wc-block-cart-item__product,
.ozvm-theme .wc-block-cart-item__total {
  padding: 18px 0;
  vertical-align: top;
}

.ozvm-theme .wc-block-cart-item__product {
  min-width: 0;
}

.ozvm-theme .wc-block-components-product-name,
.ozvm-theme .wc-block-cart-item__product a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.ozvm-theme .wc-block-components-product-name:hover,
.ozvm-theme .wc-block-cart-item__product a:hover {
  color: var(--focus);
}

.ozvm-theme .wc-block-components-product-metadata,
.ozvm-theme .wc-block-components-product-metadata__description,
.ozvm-theme .wc-block-cart-item__product .wc-block-components-product-metadata {
  color: var(--muted);
  font-size: 12px;
}

.ozvm-theme .wc-block-components-product-metadata p {
  margin: 4px 0 0;
}

.ozvm-theme .wc-block-components-quantity-selector {
  display: inline-flex;
  min-height: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.ozvm-theme .wc-block-components-quantity-selector input,
.ozvm-theme .wc-block-components-quantity-selector button {
  min-width: 38px;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
}

.ozvm-theme .wc-block-components-quantity-selector button:hover {
  background: var(--acid);
}

.ozvm-theme .wc-block-cart-item__remove-link,
.ozvm-theme .wc-block-components-product-details__value,
.ozvm-theme .wc-block-components-product-details__name {
  color: var(--muted);
  font-size: 11px;
}

.ozvm-theme .wc-block-cart-item__remove-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ozvm-theme .wc-block-cart-item__remove-link:hover {
  color: var(--coral);
}

.ozvm-theme .wc-block-components-totals-wrapper {
  border-color: var(--line);
}

.ozvm-theme .wc-block-components-totals-item {
  min-height: 34px;
  color: var(--muted);
  font-size: 13px;
}

.ozvm-theme .wc-block-components-totals-item__value,
.ozvm-theme .wc-block-components-totals-item__label {
  color: inherit;
}

.ozvm-theme .wc-block-components-totals-footer-item {
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.ozvm-theme .wc-block-components-totals-coupon {
  margin-block: 18px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}

.ozvm-theme .wc-block-components-totals-coupon-link,
.ozvm-theme .wc-block-components-totals-coupon__button {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ozvm-theme .wc-block-components-totals-coupon-link:hover,
.ozvm-theme .wc-block-components-totals-coupon__button:hover {
  color: var(--focus);
}

/* Shared native fields, buttons and notices. */
.ozvm-theme .wc-block-components-text-input,
.ozvm-theme .wc-block-components-combobox,
.ozvm-theme .wc-block-components-address-form__country,
.ozvm-theme .wc-block-components-radio-control,
.ozvm-theme .wc-block-components-checkbox {
  margin-block: 12px;
}

.ozvm-theme .wc-block-components-text-input input,
.ozvm-theme .wc-block-components-text-input textarea,
.ozvm-theme .wc-block-components-combobox input,
.ozvm-theme .wc-block-components-combobox select,
.ozvm-theme .wc-block-components-address-form select,
.ozvm-theme .wc-block-components-address-form input,
.ozvm-theme .wc-block-components-text-input select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
}

.ozvm-theme .wc-block-components-text-input textarea {
  min-height: 112px;
  padding: 14px;
  resize: vertical;
}

.ozvm-theme .wc-block-components-text-input input,
.ozvm-theme .wc-block-components-combobox input,
.ozvm-theme .wc-block-components-address-form input,
.ozvm-theme .wc-block-components-address-form select {
  padding-inline: 14px;
}

.ozvm-theme .wc-block-components-text-input label,
.ozvm-theme .wc-block-components-combobox label,
.ozvm-theme .wc-block-components-address-form label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ozvm-theme .wc-block-components-text-input input:focus,
.ozvm-theme .wc-block-components-text-input textarea:focus,
.ozvm-theme .wc-block-components-combobox input:focus,
.ozvm-theme .wc-block-components-address-form input:focus,
.ozvm-theme .wc-block-components-address-form select:focus {
  border-color: var(--focus);
  outline: 3px solid rgba(8, 127, 140, 0.18);
  outline-offset: 0;
}

.ozvm-theme .wc-block-components-checkbox label,
.ozvm-theme .wc-block-components-radio-control__option {
  color: var(--ink);
  font-size: 13px;
}

.ozvm-theme .wc-block-components-checkbox input,
.ozvm-theme .wc-block-components-radio-control__input {
  accent-color: var(--focus);
}

.ozvm-theme .wc-block-components-button,
.ozvm-theme .wc-block-cart__submit-button,
.ozvm-theme .wc-block-components-checkout-place-order-button,
.ozvm-theme .wc-block-components-button.wp-element-button {
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
}

.ozvm-theme .wc-block-components-button:hover,
.ozvm-theme .wc-block-cart__submit-button:hover,
.ozvm-theme .wc-block-components-checkout-place-order-button:hover,
.ozvm-theme .wc-block-components-button.wp-element-button:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.ozvm-theme .wc-block-components-notice-banner {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
  color: var(--ink);
  box-shadow: none;
}

.ozvm-theme .wc-block-components-notice-banner.is-error {
  border-color: var(--coral);
  background: #fff3f0;
}

.ozvm-theme .wc-block-components-notice-banner.is-success {
  border-color: var(--focus);
  background: #effcfd;
}

/* Checkout layout and order summary. */
.ozvm-theme .wc-block-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}

.ozvm-theme .wc-block-checkout__main,
.ozvm-theme .wc-block-checkout__sidebar {
  width: auto;
  max-width: none;
  margin: 0;
}

.ozvm-theme .wc-block-components-checkout-step {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.ozvm-theme .wc-block-components-checkout-step:first-child {
  padding-top: 0;
}

.ozvm-theme .wc-block-components-checkout-step:last-child {
  border-bottom: 0;
}

.ozvm-theme .wc-block-components-checkout-step__heading {
  margin-bottom: 16px;
}

.ozvm-theme .wc-block-components-checkout-step__title {
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.ozvm-theme .wc-block-components-checkout-step__description {
  color: var(--muted);
  font-size: 12px;
}

.ozvm-theme .wc-block-components-address-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.ozvm-theme .wc-block-components-address-form > * {
  min-width: 0;
}

.ozvm-theme .wc-block-components-address-form__address_1,
.ozvm-theme .wc-block-components-address-form__address_2,
.ozvm-theme .wc-block-components-address-form__city,
.ozvm-theme .wc-block-components-address-form__state,
.ozvm-theme .wc-block-components-address-form__postcode,
.ozvm-theme .wc-block-components-address-form__country {
  grid-column: span 2;
}

.ozvm-theme .wc-block-components-order-summary {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.ozvm-theme .wc-block-components-order-summary__button {
  color: var(--ink);
}

.ozvm-theme .wc-block-components-order-summary-item {
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.ozvm-theme .wc-block-components-order-summary-item:first-child {
  border-top: 0;
}

.ozvm-theme .wc-block-components-order-summary-item__image {
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.ozvm-theme .wc-block-components-order-summary-item__description,
.ozvm-theme .wc-block-components-order-summary-item__quantity {
  color: var(--muted);
  font-size: 12px;
}

.ozvm-theme .wc-block-components-order-summary-item__total-price {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.ozvm-theme .wc-block-checkout__terms {
  color: var(--muted);
  font-size: 12px;
}

/* Classic WooCommerce account screens continue to use the same visual tokens. */
.ozvm-theme .woocommerce-account .woocommerce,
.ozvm-theme .woocommerce-account .entry-content > .woocommerce,
.ozvm-theme .woocommerce-account .woocommerce form.login,
.ozvm-theme .woocommerce-account .woocommerce form.register {
  width: 100%;
  max-width: none;
}

.ozvm-theme .woocommerce-MyAccount-navigation {
  width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.ozvm-theme .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ozvm-theme .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--line);
}

.ozvm-theme .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: 0;
}

.ozvm-theme .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ozvm-theme .woocommerce-MyAccount-navigation .is-active a,
.ozvm-theme .woocommerce-MyAccount-navigation a:hover {
  background: var(--acid);
  color: var(--ink);
}

.ozvm-theme .woocommerce-MyAccount-content {
  width: calc(100% - 252px);
  color: var(--ink);
}

.ozvm-theme .woocommerce-MyAccount-content a {
  color: var(--focus);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ozvm-theme .woocommerce table.shop_table,
.ozvm-theme .woocommerce table.my_account_orders,
.ozvm-theme .woocommerce table.woocommerce-table {
  border: 1px solid var(--line);
  border-radius: 4px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.ozvm-theme .woocommerce table.shop_table th,
.ozvm-theme .woocommerce table.shop_table td,
.ozvm-theme .woocommerce table.my_account_orders th,
.ozvm-theme .woocommerce table.my_account_orders td,
.ozvm-theme .woocommerce table.woocommerce-table th,
.ozvm-theme .woocommerce table.woocommerce-table td {
  padding: 14px;
  border-color: var(--line);
  color: var(--ink);
  font-size: 13px;
}

.ozvm-theme .woocommerce table.shop_table th,
.ozvm-theme .woocommerce table.my_account_orders th,
.ozvm-theme .woocommerce table.woocommerce-table th {
  background: var(--soft);
  font-size: 11px;
  text-transform: uppercase;
}

/* Product detail: retain WooCommerce gallery, summary, tabs and related products. */
.ozvm-theme .ozvm-single-product div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.ozvm-theme .ozvm-single-product div.product div.images .flex-control-thumbs li {
  width: auto;
}

.ozvm-theme .ozvm-single-product div.product div.images .flex-control-thumbs img {
  border: 1px solid var(--line);
  border-radius: 4px;
}

.ozvm-theme .ozvm-single-product div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}

.ozvm-theme .ozvm-single-product div.product form.cart .quantity {
  margin: 0;
}

.ozvm-theme .ozvm-single-product div.product form.cart .single_add_to_cart_button {
  min-height: 48px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.ozvm-theme .ozvm-single-product div.product form.cart .single_add_to_cart_button:hover {
  background: var(--acid);
  color: var(--ink);
}

.ozvm-theme .ozvm-single-product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.ozvm-theme .ozvm-single-product .woocommerce-tabs ul.tabs::before,
.ozvm-theme .ozvm-single-product .woocommerce-tabs ul.tabs::after {
  display: none;
}

.ozvm-theme .ozvm-single-product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.ozvm-theme .ozvm-single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ozvm-theme .ozvm-single-product .woocommerce-tabs ul.tabs li.active a,
.ozvm-theme .ozvm-single-product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--acid);
}

@media (max-width: 960px) {
  .ozvm-theme .wc-block-checkout {
    grid-template-columns: 1fr;
  }

  .ozvm-theme .wc-block-checkout__sidebar {
    order: -1;
  }
}

@media (max-width: 782px) {
  .ozvm-theme .woocommerce-MyAccount-navigation,
  .ozvm-theme .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
  }

  .ozvm-theme .woocommerce-MyAccount-navigation {
    margin-bottom: 24px;
  }

  .ozvm-theme .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ozvm-theme .woocommerce-MyAccount-navigation li:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .ozvm-theme .woocommerce-MyAccount-navigation li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .ozvm-product-card .product-fallback {
    gap: 7px;
    padding: 12px;
  }

  .ozvm-product-card .product-fallback-top {
    font-size: 8px;
  }

  .ozvm-product-card .product-fallback-stage {
    min-height: 86px;
  }

  .ozvm-product-card .product-fallback-device {
    width: 28%;
    height: 68px;
    box-shadow: 5px 5px 0 #0b0b0c;
  }

  .ozvm-product-card .product-fallback-device::before {
    top: 9px;
  }

  .ozvm-product-card .product-fallback-device::after {
    bottom: 8px;
    height: 13px;
  }

  .ozvm-product-card .product-fallback-swatch {
    right: 22%;
    bottom: 8px;
    width: 20px;
    height: 20px;
  }

  .ozvm-product-card .product-fallback-copy {
    gap: 3px;
  }

  .ozvm-product-card .product-fallback-copy span,
  .ozvm-product-card .product-fallback-copy small {
    font-size: 8px;
  }

  .ozvm-product-card .product-fallback-copy strong {
    font-size: 14px;
  }

  .ozvm-theme .ozvm-wc-page > .entry-content {
    width: min(100% - 32px, 560px);
  }

  .ozvm-theme .wc-block-cart__main,
  .ozvm-theme .wc-block-checkout__main,
  .ozvm-theme .wc-block-cart__sidebar,
  .ozvm-theme .wc-block-checkout__sidebar {
    padding: 18px;
  }

  .ozvm-theme .wc-block-cart-items__row .wc-block-cart-item__image {
    width: 72px;
    padding-right: 10px;
  }

  .ozvm-theme .wc-block-cart-items__row .wc-block-cart-item__image img,
  .ozvm-theme .wc-block-components-product-image img {
    width: 58px;
  }

  .ozvm-theme .wc-block-cart-item__total {
    padding-left: 8px;
  }

  .ozvm-theme .wc-block-components-address-form {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ozvm-theme .wc-block-components-address-form__address_1,
  .ozvm-theme .wc-block-components-address-form__address_2,
  .ozvm-theme .wc-block-components-address-form__city,
  .ozvm-theme .wc-block-components-address-form__state,
  .ozvm-theme .wc-block-components-address-form__postcode,
  .ozvm-theme .wc-block-components-address-form__country {
    grid-column: auto;
  }

  .ozvm-theme .woocommerce table.shop_table,
  .ozvm-theme .woocommerce table.my_account_orders,
  .ozvm-theme .woocommerce table.woocommerce-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
