body.ozia-commerce-screen {
  --ozia-red: #d91630;
  --ozia-red-dark: #a40f24;
  --ozia-ink: #151515;
  --ozia-muted: #6d6b68;
  --ozia-line: #dededb;
  --ozia-surface: #eef0ec;
  --ozia-paper: #faf9f6;
  --ozia-text: #f5f1e8;
  --ozia-font-body: "Space Grotesk", Arial, Helvetica, sans-serif;
  --ozia-font-heading: "Fraunces", Georgia, serif;
  --ozia-black: #050505;
  --ozia-white: #fff;
}

html:has(body.ozia-commerce-screen) {
  background: #050505;
}

body.ozia-commerce-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  background: var(--ozia-surface);
  color: var(--ozia-ink);
  font-family: var(--ozia-font-role-body, var(--ozia-font-body));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.ozia-commerce-screen:is(.woocommerce-cart, .woocommerce-checkout) {
  background: var(--ozia-black);
  color: var(--ozia-text);
}

.ozia-commerce-screen *,
.ozia-commerce-screen *::before,
.ozia-commerce-screen *::after {
  box-sizing: border-box;
}

.ozia-commerce-screen :where(button, input, select, textarea) {
  font: inherit;
}

.ozia-commerce-screen :where(h1, h2, h3, h4) {
  font-family: var(--ozia-font-role-section, var(--ozia-font-heading));
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.ozia-commerce-screen > .wp-site-blocks {
  width: 100%;
  flex: 1 0 auto;
  margin: 0;
  padding: 0;
  min-height: 0;
  background: inherit;
}

.ozia-commerce-screen .wp-site-blocks > .wp-block-template-part {
  display: none;
}

.ozia-commerce-screen a {
  text-underline-offset: 0.22em;
}

/* Commerce header: same mark, rhythm and navigation language as the Next site. */
.ozia-commerce-header {
  position: sticky;
  z-index: 120;
  top: 0;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin: 0;
  padding: 12px clamp(18px, 4vw, 54px);
  border: 0;
  border-radius: 0;
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--ozia-white);
}

.ozia-commerce-header a {
  color: inherit;
  text-decoration: none;
}

.ozia-commerce-header .ozia-commerce-brand {
  width: clamp(92px, 9vw, 132px);
  height: 32px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--ozia-red);
}

.ozia-commerce-brand svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.ozia-commerce-brand path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-miterlimit: 10;
  stroke-width: 169.67px;
}

.ozia-commerce-header__desktop {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
  font-size: clamp(0.68rem, 0.85vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ozia-commerce-header__desktop > a:not(.ozia-commerce-language) {
  color: rgba(255, 255, 255, 0.76);
}

.ozia-commerce-header__desktop > a:hover,
.ozia-commerce-header__desktop > a:focus-visible {
  color: var(--ozia-white);
}

.ozia-commerce-language {
  min-width: 38px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.ozia-commerce-cart-link {
  min-height: 48px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 0;
  background: var(--ozia-red);
  color: var(--ozia-white);
  font-family: var(--ozia-font-role-action, var(--ozia-font-body));
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.ozia-commerce-cart-link:hover,
.ozia-commerce-cart-link:focus-visible {
  background: var(--ozia-white);
  color: var(--ozia-black);
}

.ozia-commerce-menu {
  display: none;
}

/* Shared layout and notices. */
.ozia-commerce-screen .wp-block-woocommerce-breadcrumbs,
.ozia-commerce-screen .wp-block-woocommerce-product-sku,
.ozia-commerce-screen .wp-block-post-terms,
.ozia-commerce-screen .wp-block-woocommerce-product-details,
.ozia-commerce-screen .product_meta .sku_wrapper {
  display: none;
}

.ozia-commerce-screen .wc-block-store-notices:has(.woocommerce-notices-wrapper:empty),
.ozia-commerce-screen .woocommerce-notices-wrapper:empty {
  display: none;
}

.ozia-commerce-screen .wp-site-blocks > .woocommerce.product {
  width: 100%;
  margin: 0;
  padding: clamp(24px, 3vw, 44px) 0 clamp(64px, 8vw, 112px);
  background: var(--ozia-surface);
}

.ozia-commerce-screen .ozia-commerce-preview-banner {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(18px, 2.5vw, 30px);
  border: 1px solid rgba(217, 22, 48, 0.28);
  border-top: 4px solid var(--ozia-red);
  border-radius: 0;
  padding: 16px 20px 16px 52px;
  background: #fff5f6;
  color: var(--ozia-ink);
  font-size: 0.95rem;
  line-height: 1.4;
}

.ozia-commerce-screen .ozia-commerce-preview-banner::before {
  top: 50%;
  left: 20px;
  color: var(--ozia-red);
  transform: translateY(-50%);
}

.ozia-commerce-screen .woocommerce-info,
.ozia-commerce-screen .woocommerce-message,
.ozia-commerce-screen .woocommerce-error,
.ozia-commerce-screen .wc-block-components-notice-banner {
  border-color: rgba(217, 22, 48, 0.28);
  border-radius: 0;
  background: #fff5f6;
  color: var(--ozia-ink);
}

.ozia-commerce-screen .woocommerce-info::before,
.ozia-commerce-screen .woocommerce-message::before {
  color: var(--ozia-red);
}

.ozia-commerce-screen :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--ozia-red);
  outline-offset: 3px;
}

/* Product purchase screen. */
.ozia-commerce-screen.single-product main#wp--skip-link--target {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  border: 1px solid var(--ozia-line);
  border-radius: 0;
  padding: clamp(26px, 4vw, 58px);
  background: var(--ozia-paper);
  color: var(--ozia-ink);
  box-shadow: none;
}

.ozia-commerce-screen.single-product main > .wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center !important;
  margin: 0 !important;
}

.ozia-commerce-screen.single-product main > .wp-block-columns > .wp-block-column {
  min-width: 0;
}

.ozia-commerce-screen .woocommerce-product-gallery,
.ozia-commerce-screen .woocommerce-product-gallery[style] {
  width: 100% !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.ozia-commerce-screen .woocommerce-product-gallery__wrapper,
.ozia-commerce-screen .woocommerce-product-gallery__image,
.ozia-commerce-screen .woocommerce-product-gallery__image > a {
  width: 100%;
  display: block;
}

.ozia-commerce-screen .woocommerce-product-gallery__image {
  overflow: hidden;
  border: 1px solid #e6e6e2;
  border-radius: 0;
  background: #f7f7f4;
}

.ozia-commerce-screen .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  min-height: 360px;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.ozia-commerce-screen .woocommerce-product-gallery__trigger {
  width: 42px;
  height: 42px;
  top: 16px !important;
  right: 16px !important;
  border-radius: 0;
  background: rgba(5, 5, 5, 0.82) !important;
}

.ozia-commerce-screen.single-product .wp-block-post-title {
  margin: 0 0 18px;
  color: var(--ozia-ink);
  font-family: var(--ozia-font-role-display, var(--ozia-font-heading));
  font-size: clamp(2.7rem, 5vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.ozia-commerce-screen.single-product .wp-block-post-title::before {
  content: "OZI CONCEPT · REMORQUE PLIANTE";
  display: block;
  margin: 0 0 18px;
  color: var(--ozia-red);
  font-family: var(--ozia-font-role-label, var(--ozia-font-body));
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ozia-commerce-screen.single-product .wp-block-woocommerce-product-price {
  margin: 0 0 22px;
}

.ozia-commerce-screen.single-product .wc-block-components-product-price {
  color: var(--ozia-ink);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.ozia-commerce-screen.single-product .single_variation .price {
  color: var(--ozia-ink);
}

.ozia-commerce-screen.single-product .wp-block-post-excerpt {
  margin: 0 0 28px;
  color: var(--ozia-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.55;
}

.ozia-commerce-screen.single-product .wp-block-post-excerpt p {
  margin: 0;
}

.ozia-commerce-screen .woocommerce form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0;
}

.ozia-commerce-screen .woocommerce .quantity .qty {
  width: 62px;
  min-height: 54px;
  border: 1px solid #bfbfbb;
  border-radius: 0;
  padding: 0 10px;
  background: var(--ozia-white);
  color: var(--ozia-ink);
  font-weight: 800;
  text-align: center;
}

.ozia-commerce-screen .ozia-preview-country-field {
  width: 100%;
  margin: 0 0 10px;
}

.ozia-commerce-screen .ozia-preview-country-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ozia-ink);
  font-family: var(--ozia-font-role-label, var(--ozia-font-body));
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ozia-commerce-screen .ozia-preview-country-field select,
.ozia-commerce-screen .woocommerce form .input-text,
.ozia-commerce-screen .woocommerce form select,
.ozia-commerce-screen .select2-container .select2-selection {
  width: 100%;
  min-height: 52px;
  border: 1px solid #bfbfbb;
  border-radius: 0;
  padding: 11px 14px;
  background: var(--ozia-white);
  color: var(--ozia-ink);
}

/* Keep the native eye icon while giving touch and keyboard users a full target. */
.ozia-commerce-screen .woocommerce form .password-input .input-text {
  padding-right: 60px;
}

.ozia-commerce-screen .woocommerce form .show-password-input {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  top: 50%;
  right: 4px;
  bottom: auto;
  padding: 0;
  transform: translateY(-50%);
}

.ozia-commerce-screen .ozia-preview-premium-note {
  width: 100%;
  margin: 0 0 20px;
  color: var(--ozia-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ozia-commerce-screen .woocommerce table.variations {
  width: 100%;
  margin: 0 0 18px;
}

.ozia-commerce-screen .woocommerce table.variations th,
.ozia-commerce-screen .woocommerce table.variations td {
  display: block;
  padding: 0 0 8px;
  text-align: left;
}

.ozia-commerce-screen .woocommerce table.variations label,
.ozia-commerce-screen .woocommerce form .form-row label {
  color: var(--ozia-ink);
  font-weight: 800;
}

/* Shared typography and square controls from the approved public site. */
.ozia-commerce-screen .woocommerce .button,
.ozia-commerce-screen .woocommerce button.button,
.ozia-commerce-screen .woocommerce a.button,
.ozia-commerce-screen .woocommerce #payment #place_order,
.ozia-commerce-screen .wc-block-components-button {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  padding: 14px 26px;
  background: var(--ozia-red);
  color: var(--ozia-white);
  font-family: var(--ozia-font-role-action, var(--ozia-font-body));
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ozia-commerce-screen .woocommerce .button:hover,
.ozia-commerce-screen .woocommerce button.button:hover,
.ozia-commerce-screen .woocommerce a.button:hover,
.ozia-commerce-screen .woocommerce #payment #place_order:hover,
.ozia-commerce-screen .wc-block-components-button:hover {
  background: var(--ozia-black);
  color: var(--ozia-white);
  transform: translateY(-1px);
}

.ozia-commerce-screen .ozia-preview-order-disabled,
.ozia-commerce-screen .ozia-preview-order-disabled:hover {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

/* Cart and checkout pages. */
body.ozia-commerce-screen .wp-site-blocks > main[data-page] {
  box-sizing: border-box;
  width: min(1280px, calc(100% - clamp(36px, 10vw, 144px)));
  min-height: 58vh;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) 0 clamp(60px, 7vw, 100px);
}

.ozia-commerce-screen main[data-page] > .wp-block-post-title {
  max-width: none !important;
  margin: 0 0 clamp(24px, 4vw, 44px) !important;
  color: var(--ozia-text);
  font-family: var(--ozia-font-role-display, var(--ozia-font-heading));
  font-size: clamp(2.6rem, 5.7vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-transform: uppercase;
}

.ozia-commerce-screen main[data-page] > .wp-block-post-title::before {
  content: "OZI CONCEPT · COMMANDE";
  display: block;
  margin: 0 0 18px;
  color: var(--ozia-red);
  font-family: var(--ozia-font-role-label, var(--ozia-font-body));
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.ozia-commerce-screen main[data-page] > .entry-content {
  max-width: none !important;
  margin: 0 !important;
  width: 100%;
}

.ozia-commerce-screen main[data-page] .entry-content > .woocommerce {
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--ozia-line);
  border-radius: 0;
  padding: clamp(22px, 3vw, 40px);
  background: var(--ozia-paper);
  color: var(--ozia-ink);
  box-shadow: none;
}

/* Native links inherit the panel colour, including Woo notice and legal links. */
.ozia-commerce-screen main .woocommerce a:not(.button):not(.remove),
.ozia-commerce-screen .wc-block-components-notice-banner a:not(.button) {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.ozia-commerce-screen main .woocommerce a:not(.button):hover {
  color: var(--ozia-red);
}

.ozia-commerce-screen main[data-page] .entry-content > .woocommerce:has(.wc-empty-cart-message) {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ozia-text);
}

.ozia-commerce-screen .wc-empty-cart-message .wc-block-components-notice-banner,
.ozia-commerce-screen.woocommerce-cart main:has(.wc-empty-cart-message) > .wc-block-store-notices .wc-block-components-notice-banner.is-info {
  margin: 0 0 24px;
  padding: clamp(22px, 3vw, 34px) !important;
  border-color: rgba(255, 255, 255, 0.16);
  border-left-color: var(--ozia-red);
  background: #111;
  color: var(--ozia-text);
  font-family: var(--ozia-font-role-body, var(--ozia-font-body));
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.5;
}

.ozia-commerce-screen .wc-empty-cart-message .wc-block-components-notice-banner > svg,
.ozia-commerce-screen.woocommerce-cart main:has(.wc-empty-cart-message) > .wc-block-store-notices .wc-block-components-notice-banner.is-info > svg {
  flex-shrink: 0;
  background: var(--ozia-red);
}

.ozia-commerce-screen .return-to-shop {
  margin: 0;
}

.ozia-commerce-screen .woocommerce .return-to-shop .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ozia-text);
  color: var(--ozia-black);
}

.ozia-commerce-screen .woocommerce .return-to-shop .button:hover {
  background: var(--ozia-red);
  color: white;
}

.ozia-commerce-screen .entry-content > .woocommerce:has(> .woocommerce-cart-form) {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(290px, 1fr);
  gap: 30px;
  align-items: start;
}

.ozia-commerce-screen .entry-content > .woocommerce:has(> .woocommerce-cart-form) > :not(.woocommerce-cart-form):not(.cart-collaterals) {
  grid-column: 1 / -1;
}

.ozia-commerce-screen .entry-content > .woocommerce > .woocommerce-cart-form,
.ozia-commerce-screen .entry-content > .woocommerce > .cart-collaterals {
  min-width: 0;
}

.ozia-commerce-screen .entry-content > .woocommerce .ozia-commerce-preview-banner {
  width: 100%;
  margin: 0 0 20px;
}

.ozia-commerce-screen .woocommerce table.shop_table {
  width: 100%;
  border: 1px solid var(--ozia-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0;
  overflow: hidden;
}

.ozia-commerce-screen .woocommerce table.shop_table th,
.ozia-commerce-screen .woocommerce table.shop_table td {
  border-color: var(--ozia-line);
  padding: 16px;
  color: var(--ozia-ink);
}

.ozia-commerce-screen .woocommerce table.shop_table th {
  background: #f5f5f2;
  font-family: var(--ozia-font-role-label, var(--ozia-font-body));
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* A trailer is sold as one unit by default, so an all-trailer cart does not
   reserve an empty quantity column. Mixed carts keep the column for accessories. */
.ozia-commerce-screen .woocommerce-cart-form table.shop_table:not(:has(.product-quantity input:not([type="hidden"]))) .product-quantity {
  display: none;
}

.ozia-commerce-screen .woocommerce-cart-form__cart-item .product-thumbnail img {
  width: 112px;
  border-radius: 0;
}

.ozia-commerce-screen .woocommerce-cart-form__cart-item .product-name a {
  color: var(--ozia-ink);
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
}

.ozia-commerce-screen .woocommerce a.remove {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(217, 22, 48, 0.22);
  border-radius: 0;
  color: var(--ozia-red) !important;
}

.ozia-commerce-screen .woocommerce a.remove:hover {
  background: var(--ozia-red);
  color: var(--ozia-white) !important;
}

.ozia-commerce-screen .woocommerce .cart-collaterals {
  margin-top: 0;
}

.ozia-commerce-screen .woocommerce .cart_totals {
  width: 100%;
  float: none;
}

.ozia-commerce-screen .woocommerce .cart_totals h2,
.ozia-commerce-screen .woocommerce-checkout h3 {
  margin: 0 0 18px;
  color: var(--ozia-ink);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  letter-spacing: -0.035em;
  font-family: var(--ozia-font-role-section, var(--ozia-font-heading));
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
}

.ozia-commerce-screen .woocommerce .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ozia-commerce-screen .woocommerce .coupon .input-text {
  width: 160px;
  min-width: 0;
  float: none;
  margin: 0;
}

.ozia-commerce-screen .woocommerce table.cart td.actions .coupon .button {
  width: auto;
  float: none;
  margin: 0;
  padding-inline: 16px;
  white-space: normal;
}

.ozia-commerce-screen .woocommerce table.cart td.actions > .button {
  float: none;
  margin-top: 12px;
  width: 100%;
}

.ozia-commerce-screen .woocommerce table.cart td.actions .coupon {
  float: none;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.ozia-commerce-screen .woocommerce .cart_totals small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
}

.ozia-commerce-screen .ozia-cart-contact {
  margin: 8px 0 0;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 0;
  background: var(--ozia-surface);
}

.ozia-commerce-screen .ozia-cart-contact__title {
  max-width: 22ch;
  font-family: var(--ozia-font-role-section, var(--ozia-font-heading));
  font-weight: 800;
  text-transform: uppercase;
}

.ozia-commerce-screen .ozia-cart-contact input,
.ozia-commerce-screen .ozia-cart-contact button {
  border-radius: 0;
}

.ozia-commerce-screen .woocommerce form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  grid-template-rows: min-content 1fr;
  column-gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.ozia-commerce-screen form.checkout > :not(#customer_details):not(#order_review_heading):not(#order_review) {
  grid-column: 1 / -1;
}

.ozia-commerce-screen .woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.ozia-commerce-screen .woocommerce-checkout #order_review {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  align-self: start;
}

.ozia-commerce-screen .woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

/* Woo's float clearfix must not become an empty grid cell before billing. */
.ozia-commerce-screen .woocommerce-checkout .col2-set::before,
.ozia-commerce-screen .woocommerce-checkout .col2-set::after {
  content: none;
}

.ozia-commerce-screen .woocommerce-checkout .col-1,
.ozia-commerce-screen .woocommerce-checkout .col-2 {
  width: 100%;
  float: none;
}

.ozia-commerce-screen .woocommerce-checkout #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  clear: both;
  padding-top: 0;
}

.ozia-commerce-screen .woocommerce-checkout #payment {
  border-radius: 0;
  background: #f2f2ef;
}

.ozia-commerce-screen .woocommerce-checkout #payment div.payment_box {
  background: var(--ozia-white);
}

.ozia-commerce-screen .woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: var(--ozia-white);
}

/* Standard SiteFooter from the approved Next frontend, scoped to commerce. */
.ozia-commerce-footer {
  flex: 0 0 auto;
  min-height: 0;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  padding: clamp(46px, 8vh, 90px) clamp(18px, 5vw, 72px);
  color: white;
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 22, 48, 0.18), transparent 34%),
    linear-gradient(180deg, #050505, #000);
  font-family: var(--ozia-font-role-body, var(--ozia-font-body));
  font-size: 16px;
  line-height: 1.5;
}

.ozia-commerce-footer a {
  color: inherit;
  text-decoration: none;
}

.ozia-commerce-footer a:focus-visible {
  outline: 2px solid var(--ozia-red);
  outline-offset: 3px;
}

.ozia-commerce-footer__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}

.ozia-commerce-footer__brand {
  display: grid;
  gap: 14px;
}

.ozia-commerce-footer__brand p,
.ozia-commerce-footer__columns span {
  margin: 0;
  color: #ed4359;
  font-family: var(--ozia-font-role-label, var(--ozia-font-body));
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ozia-commerce-footer__brand h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--ozia-font-role-display, var(--ozia-font-heading));
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
  text-transform: uppercase;
  border-left: 3px solid var(--ozia-red);
  padding-left: 16px;
  background: transparent;
}

.ozia-commerce-footer__brand > span {
  display: block;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.68);
}

.ozia-commerce-footer__email {
  width: fit-content;
  color: white;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.ozia-commerce-footer__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.ozia-commerce-footer__contact,
.ozia-commerce-footer__social {
  display: grid;
  gap: 10px;
}

.ozia-commerce-footer__contact p,
.ozia-commerce-footer__contact strong {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.ozia-commerce-footer__contact strong {
  color: white;
}

.ozia-commerce-footer__brand > span,
.ozia-commerce-footer__contact p,
.ozia-commerce-footer__contact strong {
  font-family: var(--ozia-font-role-body, var(--ozia-font-body));
  font-size: clamp(0.98rem, 1.05vw, 1.06rem);
  line-height: 1.5;
}

.ozia-commerce-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ozia-commerce-footer__legal a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ozia-commerce-footer__legal a:hover,
.ozia-commerce-footer__legal a:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: white;
  color: #050505;
}

.ozia-commerce-footer__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ozia-commerce-footer__social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 22, 48, 0.34);
  border-radius: 0;
  background: rgba(217, 22, 48, 0.12);
  color: var(--ozia-red);
}

.ozia-commerce-footer__social-links a:hover,
.ozia-commerce-footer__social-links a:focus-visible {
  background: var(--ozia-red);
  color: white;
  outline: none;
}

.ozia-commerce-footer__social-links svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.ozia-commerce-footer__social-links svg rect,
.ozia-commerce-footer__social-links svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ozia-commerce-footer__social-links svg path {
  fill: currentColor;
}

@media (max-width: 920px) {
  .ozia-commerce-footer__inner,
  .ozia-commerce-footer__columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ozia-commerce-footer {
    padding: 56px 18px;
  }

  .ozia-commerce-footer__brand h2 {
    font-size: clamp(1.95rem, 9vw, 2.65rem);
  }
}

@media (max-width: 1180px) {
  .ozia-commerce-screen .entry-content > .woocommerce:has(> .woocommerce-cart-form) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .ozia-commerce-screen .woocommerce form.checkout {
    display: block;
  }

  .ozia-commerce-screen .woocommerce-checkout #order_review_heading {
    margin-top: 32px;
  }

  .ozia-commerce-header__desktop {
    gap: 14px;
  }

  .ozia-commerce-header__desktop > a:nth-child(3),
  .ozia-commerce-header__desktop > a:nth-child(4) {
    display: none;
  }
}

@media (max-width: 760px) {
  .ozia-commerce-header {
    min-height: 70px;
    gap: 12px;
    padding: 0 14px;
  }

  .ozia-commerce-brand {
    width: 72px;
    height: 25px;
  }

  .ozia-commerce-header__desktop {
    display: none;
  }

  .ozia-commerce-cart-link {
    min-height: 42px;
    margin-left: auto;
    padding: 0 15px;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .ozia-commerce-menu {
    position: relative;
    display: block;
    flex: 0 0 auto;
  }

  .ozia-commerce-menu summary {
    position: relative;
    width: 44px;
    height: 44px;
    display: block;
    list-style: none;
    cursor: pointer;
  }

  .ozia-commerce-menu summary::-webkit-details-marker {
    display: none;
  }

  .ozia-commerce-menu summary span {
    position: absolute;
    top: 21px;
    left: 9px;
    width: 25px;
    height: 2px;
    display: block;
    border-radius: 0;
    background: var(--ozia-white);
    transform: none;
    transform-origin: center;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .ozia-commerce-menu summary span:first-child {
    top: 14px;
  }

  .ozia-commerce-menu summary span:last-child {
    top: 28px;
  }

  .ozia-commerce-menu[open] summary span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }

  .ozia-commerce-menu[open] summary span:nth-child(2) {
    opacity: 0;
  }

  .ozia-commerce-menu[open] summary span:last-child {
    top: 21px;
    transform: rotate(-45deg);
  }

  .ozia-commerce-menu > nav {
    position: fixed;
    z-index: 121;
    top: 70px;
    right: 0;
    left: 0;
    display: grid;
    padding: 28px 22px 38px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background:
      radial-gradient(circle at 80% 12%, rgba(217, 22, 48, 0.24), transparent 34%),
      rgba(5, 5, 5, 0.99);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.24);
  }

  .ozia-commerce-menu > nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    color: var(--ozia-white);
    font-size: clamp(1.35rem, 7vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
  }

  .ozia-commerce-screen .wp-site-blocks > .woocommerce.product {
    padding: 18px 0 58px;
  }

  .ozia-commerce-screen .ozia-commerce-preview-banner {
    width: calc(100% - 20px);
    margin-bottom: 14px;
    padding: 14px 14px 14px 46px;
    font-size: 0.88rem;
  }

  .ozia-commerce-screen.single-product main#wp--skip-link--target {
    width: calc(100% - 20px);
    border-radius: 0;
    padding: 14px 14px 28px;
  }

  .ozia-commerce-screen.single-product main > .wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .ozia-commerce-screen .woocommerce-product-gallery__image {
    border-radius: 0;
  }

  .ozia-commerce-screen .woocommerce-product-gallery__image img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .ozia-commerce-screen.single-product .wp-block-post-title {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  .ozia-commerce-screen.single-product .wp-block-post-title::before {
    margin-bottom: 14px;
    font-size: 0.66rem;
  }

  .ozia-commerce-screen .woocommerce form.cart {
    align-items: stretch;
  }

  .ozia-commerce-screen .woocommerce .button,
  .ozia-commerce-screen .woocommerce button.button,
  .ozia-commerce-screen .woocommerce a.button,
  .ozia-commerce-screen .woocommerce #payment #place_order,
  .ozia-commerce-screen .wc-block-components-button {
    min-width: 0;
    text-align: center;
  }

  body.ozia-commerce-screen .wp-site-blocks > main[data-page] {
    width: calc(100% - 36px);
    padding: 42px 0 58px;
    min-height: 52vh;
  }

  .ozia-commerce-screen main[data-page] > .wp-block-post-title {
    margin-bottom: 24px !important;
    font-size: clamp(2.5rem, 10.5vw, 4.2rem);
  }

  .ozia-commerce-screen main[data-page] .entry-content > .woocommerce {
    min-height: 0;
    border-radius: 0;
    padding: 18px 14px 28px;
  }

  .ozia-commerce-screen .woocommerce table.cart td.actions .coupon > :is(.input-text, .button) {
    width: 100%;
  }

  .ozia-commerce-screen .woocommerce .cart_totals h2,
  .ozia-commerce-screen .woocommerce-checkout h3 {
    font-size: 1.7rem;
  }

  .ozia-commerce-screen .ozia-cart-contact {
    padding: 22px 16px;
  }

  .ozia-commerce-screen .woocommerce table.shop_table_responsive tr td,
  .ozia-commerce-screen.woocommerce-page table.shop_table_responsive tr td {
    padding: 12px;
  }

  .ozia-commerce-screen .woocommerce .cart_totals {
    width: 100%;
  }

  .ozia-commerce-screen .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }


}

@media (max-width: 420px) {
  .ozia-commerce-cart-link {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.6rem;
  }
}

/* Editorial title rules, scoped to native commerce screens. */
.ozia-commerce-screen :where(
  .wp-block-post-title,
  .woocommerce h2,
  .woocommerce h3,
  .wc-block-components-title
) {
  border-left: 3px solid var(--ozia-red);
  padding-left: 14px;
  background: transparent;
}

.ozia-commerce-screen .ozia-commerce-preview-banner,
.ozia-commerce-screen .woocommerce-info,
.ozia-commerce-screen .woocommerce-message,
.ozia-commerce-screen .woocommerce-error,
.ozia-commerce-screen .wc-block-components-notice-banner {
  border-top-width: 1px;
  border-left: 3px solid var(--ozia-red);
}

@media (prefers-reduced-motion: reduce) {
  .ozia-commerce-screen *,
  .ozia-commerce-screen *::before,
  .ozia-commerce-screen *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Visual font groups change families only; baseline-only sites keep their original cascade. */
body.ozia-commerce-screen.ozia-has-typography-roles :where(button, [role="button"]),
body.ozia-commerce-screen.ozia-has-typography-roles .ozia-commerce-header__desktop,
body.ozia-commerce-screen.ozia-has-typography-roles .ozia-commerce-menu > summary,
body.ozia-commerce-screen.ozia-has-typography-roles .ozia-commerce-menu > nav,
body.ozia-commerce-screen.ozia-has-typography-roles .ozia-commerce-language,
body.ozia-commerce-screen.ozia-has-typography-roles .ozia-commerce-footer__email,
body.ozia-commerce-screen.ozia-has-typography-roles .ozia-commerce-footer__legal,
body.ozia-commerce-screen.ozia-has-typography-roles .ozia-commerce-footer__social-links,
body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce a.remove,
body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce .lost_password a,
body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce .woocommerce-Address-title .edit,
body.ozia-commerce-screen.ozia-has-typography-roles .wc-link-clear-any-filters,
body.ozia-commerce-screen.ozia-has-typography-roles .wc-link-stores-home,
body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce-MyAccount-navigation,
body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce-pagination {
  font-family: var(--ozia-font-role-action, var(--ozia-font-body));
}

body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce table.variations label,
body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce form .form-row label,
body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce form :where(p, div, li) > label,
body.ozia-commerce-screen.ozia-has-typography-roles .ozia-cart-contact label,
body.ozia-commerce-screen.ozia-has-typography-roles .wc-block-components-text-input label,
body.ozia-commerce-screen.ozia-has-typography-roles .wc-block-components-combobox label,
body.ozia-commerce-screen.ozia-has-typography-roles .wc-block-components-radio-control__label,
body.ozia-commerce-screen.ozia-has-typography-roles .wc-block-components-checkbox__label,
body.ozia-commerce-screen.ozia-has-typography-roles .wc-block-components-product-metadata,
body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce table.shop_table caption {
  font-family: var(--ozia-font-role-label, var(--ozia-font-body));
}

body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce-cart-form__cart-item .product-name a,
body.ozia-commerce-screen.ozia-has-typography-roles .wc-block-components-product-name,
body.ozia-commerce-screen.ozia-has-typography-roles .wc-block-grid__product-title {
  font-family: var(--ozia-font-role-card, var(--ozia-font-body));
}

body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce-loop-product__title,
body.ozia-commerce-screen.ozia-has-typography-roles .wc-block-product .wp-block-post-title {
  font-family: var(--ozia-font-role-card, var(--ozia-font-heading));
}

body.ozia-commerce-screen.ozia-has-typography-roles .wp-block-query-title,
body.ozia-commerce-screen.ozia-has-typography-roles .woocommerce-products-header__title,
body.ozia-commerce-screen.ozia-has-typography-roles.single-product .product_title {
  font-family: var(--ozia-font-role-display, var(--ozia-font-heading));
}
