/**
 * V OUTLET Storefront — Nordic Knots inspired WooCommerce skin
 */

@font-face {
  font-family: "Nordic Sans 10";
  src: url("../fonts/NordicSans10-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nordic Sans 10";
  src: url("../fonts/NordicSans10-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nordic Sans 10";
  src: url("../fonts/NordicSans10-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nordic Sans 10";
  src: url("../fonts/NordicSans10-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --voutlet-bg: #ffffff;
  --voutlet-fg: #000000;
  --voutlet-muted: #f5f5f5;
  --voutlet-border: #d4d4d4;
  --voutlet-border-subtle: #e5e5e5;
  --voutlet-inverse: #000000;
  --voutlet-inverse-fg: #ffffff;
  --voutlet-frame-x: 10px;
  --voutlet-max: 1720px;
  --voutlet-nav-tracking: -0.01em;
  --voutlet-body-tracking: -0.03em;
  --voutlet-luxury-tracking: 0.14em;
}

@media (min-width: 768px) {
  :root {
    --voutlet-frame-x: 15px;
  }
}

/* ── Base reset ── */

body.voutlet-storefront {
  margin: 0;
  background: var(--voutlet-bg);
  color: var(--voutlet-fg);
  font-family: "Nordic Sans 10", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: var(--voutlet-body-tracking);
  -webkit-font-smoothing: antialiased;
}

body.voutlet-storefront #wpadminbar {
  display: none !important;
}

body.voutlet-storefront a {
  color: inherit;
  text-decoration: none;
}

body.voutlet-storefront a:hover,
body.voutlet-storefront a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.voutlet-storefront * {
  box-sizing: border-box;
}

/* ── Layout shell ── */

.voutlet-frame {
  width: 100%;
  max-width: var(--voutlet-max);
  margin-inline: auto;
  padding-inline: var(--voutlet-frame-x);
}

.voutlet-main {
  padding-block: 2.5rem 4rem;
  min-height: calc(100svh - 8rem);
}

.voutlet-main__inner {
  min-width: 0;
}

.voutlet-page-title {
  margin: 0 0 2.5rem;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .voutlet-page-title {
    font-size: 34px;
    margin-bottom: 3rem;
  }
}

/* ── Header ── */

.voutlet-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--voutlet-bg);
}

.voutlet-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 47px;
  padding-block: 0.75rem;
}

.voutlet-logo img {
  display: block;
  height: 20px;
  width: auto;
  filter: brightness(0);
}

.voutlet-header__help {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--voutlet-nav-tracking);
  text-align: right;
}

.voutlet-header__help a {
  font-weight: 500;
}

/* ── Footer ── */

.voutlet-footer {
  padding-block: 2.5rem 3rem;
}

.voutlet-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .voutlet-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.voutlet-footer__copy,
.voutlet-footer__links {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.voutlet-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

/* ── WooCommerce — global ── */

body.voutlet-storefront .woocommerce,
body.voutlet-storefront .woocommerce-page {
  color: inherit;
  font-family: inherit;
}

body.voutlet-storefront .woocommerce-message,
body.voutlet-storefront .woocommerce-info,
body.voutlet-storefront .woocommerce-error,
body.voutlet-storefront .woocommerce-noreviews,
body.voutlet-storefront .woocommerce-thankyou-order-received {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--voutlet-muted);
  color: var(--voutlet-fg);
  font-size: 16px;
  font-weight: 500;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

body.voutlet-storefront .woocommerce-error {
  background: #fef2f2;
}

body.voutlet-storefront .woocommerce-error::before,
body.voutlet-storefront .woocommerce-info::before,
body.voutlet-storefront .woocommerce-message::before {
  color: var(--voutlet-fg);
}

/* ── Forms & inputs ── */

body.voutlet-storefront .form-row label,
body.voutlet-storefront .voutlet-label,
body.voutlet-storefront .wc-block-components-text-input label,
body.voutlet-storefront .wc-block-components-combobox label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 16px;
  font-weight: 500;
  color: var(--voutlet-fg);
}

body.voutlet-storefront input[type="text"],
body.voutlet-storefront input[type="email"],
body.voutlet-storefront input[type="tel"],
body.voutlet-storefront input[type="password"],
body.voutlet-storefront input[type="number"],
body.voutlet-storefront select,
body.voutlet-storefront textarea,
body.voutlet-storefront .voutlet-input,
body.voutlet-storefront .input-text,
body.voutlet-storefront .wc-block-components-text-input input,
body.voutlet-storefront .wc-block-components-combobox input {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--voutlet-border);
  border-radius: 0;
  background: var(--voutlet-bg);
  color: var(--voutlet-fg);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  box-shadow: none;
  outline: none;
  transition: border-color 0.15s ease;
}

body.voutlet-storefront textarea {
  min-height: 120px;
  resize: vertical;
}

body.voutlet-storefront input:focus,
body.voutlet-storefront select:focus,
body.voutlet-storefront textarea:focus {
  border-color: var(--voutlet-fg);
}

body.voutlet-storefront .select2-container--default .select2-selection--single {
  height: 44px;
  border: 1px solid var(--voutlet-border);
  border-radius: 0;
}

body.voutlet-storefront .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  padding-left: 0.75rem;
  font-weight: 500;
}

body.voutlet-storefront .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
}

/* ── Buttons ── */

body.voutlet-storefront .button,
body.voutlet-storefront button.button,
body.voutlet-storefront a.button,
body.voutlet-storefront input.button,
body.voutlet-storefront #place_order,
body.voutlet-storefront .wc-block-components-button:not(.is-link),
body.voutlet-storefront .woocommerce-Button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 1.5rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--voutlet-inverse) !important;
  color: var(--voutlet-inverse-fg) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: var(--voutlet-luxury-tracking) !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

body.voutlet-storefront .button:hover,
body.voutlet-storefront button.button:hover,
body.voutlet-storefront a.button:hover,
body.voutlet-storefront input.button:hover,
body.voutlet-storefront #place_order:hover,
body.voutlet-storefront .wc-block-components-button:not(.is-link):hover {
  opacity: 0.8;
  color: var(--voutlet-inverse-fg) !important;
  text-decoration: none !important;
}

body.voutlet-storefront a.button.alt,
body.voutlet-storefront .checkout-button {
  width: 100%;
}

body.voutlet-storefront .button.wc-backward,
body.voutlet-storefront a.wc-backward {
  background: transparent !important;
  color: var(--voutlet-fg) !important;
  min-height: auto;
  padding: 0;
  text-transform: none !important;
  letter-spacing: var(--voutlet-body-tracking) !important;
  font-weight: 500 !important;
}

/* ── Checkout layout (classic) ── */

body.voutlet-checkout .woocommerce-checkout .col2-set {
  display: grid;
  gap: 3rem;
  width: 100%;
  float: none;
}

@media (min-width: 960px) {
  body.voutlet-checkout form.checkout.woocommerce-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 420px);
    column-gap: 3rem;
    row-gap: 2rem;
    align-items: start;
    width: 100%;
  }

  body.voutlet-checkout form.checkout .woocommerce-form-coupon-toggle,
  body.voutlet-checkout form.checkout .woocommerce-form-login-toggle,
  body.voutlet-checkout form.checkout .woocommerce-form-coupon,
  body.voutlet-checkout form.checkout .woocommerce-form-login,
  body.voutlet-checkout form.checkout .col2-set,
  body.voutlet-checkout form.checkout #customer_details {
    grid-column: 1;
    width: 100%;
    float: none !important;
  }

  body.voutlet-checkout form.checkout .col2-set,
  body.voutlet-checkout form.checkout #customer_details {
    grid-template-columns: 1fr;
  }

  body.voutlet-checkout form.checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    float: none !important;
  }

  body.voutlet-checkout form.checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    float: none !important;
    position: sticky;
    top: 5.5rem;
    align-self: start;
  }
}

body.voutlet-storefront .woocommerce-billing-fields > h3,
body.voutlet-storefront .woocommerce-additional-fields > h3,
body.voutlet-storefront #order_review_heading {
  margin: 0 0 1.5rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: var(--voutlet-nav-tracking);
  text-transform: uppercase;
}

body.voutlet-storefront .form-row {
  margin-bottom: 1.25rem;
  padding: 0;
  width: 100%;
  float: none;
}

body.voutlet-storefront .woocommerce-billing-fields__field-wrapper,
body.voutlet-storefront .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  gap: 0;
}

@media (min-width: 640px) {
  body.voutlet-storefront .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  body.voutlet-storefront #billing_address_1_field,
  body.voutlet-storefront #billing_address_2_field,
  body.voutlet-storefront #order_comments_field {
    grid-column: 1 / -1;
  }
}

/* ── Order review table ── */

body.voutlet-storefront .woocommerce-checkout-review-order-table,
body.voutlet-storefront .shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  margin: 0 0 1.5rem;
}

body.voutlet-storefront .woocommerce-checkout-review-order-table th,
body.voutlet-storefront .woocommerce-checkout-review-order-table td,
body.voutlet-storefront .shop_table th,
body.voutlet-storefront .shop_table td {
  border: 0;
  border-bottom: 1px solid var(--voutlet-border-subtle);
  padding: 1rem 0;
  font-size: 16px;
  font-weight: 500;
  vertical-align: top;
}

body.voutlet-storefront .woocommerce-checkout-review-order-table thead th,
body.voutlet-storefront .shop_table thead th {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: var(--voutlet-nav-tracking);
  text-transform: uppercase;
}

body.voutlet-storefront .woocommerce-checkout-review-order-table .product-name,
body.voutlet-storefront .shop_table .product-name {
  font-weight: 600;
}

body.voutlet-storefront .woocommerce-checkout-review-order-table .product-total,
body.voutlet-storefront .shop_table .product-subtotal,
body.voutlet-storefront .order-total td,
body.voutlet-storefront .order-total th {
  text-align: right;
  font-weight: 600;
}

body.voutlet-storefront .cart-subtotal td,
body.voutlet-storefront .cart-subtotal th,
body.voutlet-storefront .woocommerce-shipping-totals td,
body.voutlet-storefront .woocommerce-shipping-totals th {
  font-weight: 500;
}

body.voutlet-storefront .order-total td,
body.voutlet-storefront .order-total th {
  border-bottom: 0;
  padding-top: 1.25rem;
  font-size: 16px;
}

/* ── Payment / Netopia ── */

body.voutlet-storefront #payment {
  background: transparent;
  border-radius: 0;
}

body.voutlet-storefront #payment .payment_methods,
body.voutlet-storefront #payment div.payment_box {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

body.voutlet-storefront #payment ul.payment_methods {
  border-bottom: 1px solid var(--voutlet-border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

body.voutlet-storefront #payment ul.payment_methods li {
  margin-bottom: 0.75rem;
}

body.voutlet-storefront #payment ul.payment_methods li label {
  font-weight: 500;
  cursor: pointer;
}

body.voutlet-storefront #payment div.payment_box {
  margin-top: 0.75rem;
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
}

body.voutlet-storefront #payment div.form-row.place-order {
  padding: 0;
  margin: 1.5rem 0 0;
}

body.voutlet-storefront #payment #place_order {
  width: 100%;
  float: none;
  margin-top: 0;
}

body.voutlet-storefront .woocommerce-privacy-policy-text,
body.voutlet-storefront .woocommerce-terms-and-conditions-wrapper {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ── Cart page ── */

body.voutlet-storefront .woocommerce-cart-form .shop_table img {
  width: 64px;
  height: auto;
}

body.voutlet-storefront .woocommerce-cart-form .product-remove a {
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
}

body.voutlet-storefront .woocommerce-cart-form .quantity .qty {
  max-width: 4rem;
  text-align: center;
}

body.voutlet-storefront .cart-collaterals {
  margin-top: 3rem;
}

body.voutlet-storefront .cart_totals {
  max-width: 28rem;
  margin-left: auto;
}

body.voutlet-storefront .cart_totals > h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: var(--voutlet-nav-tracking);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ── Thank you / order received ── */

body.voutlet-storefront .woocommerce-order-overview {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  border: 0;
}

@media (min-width: 640px) {
  body.voutlet-storefront .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.voutlet-storefront .woocommerce-order-overview li {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 16px;
  font-weight: 500;
}

body.voutlet-storefront .woocommerce-order-overview li strong {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
}

body.voutlet-storefront .woocommerce-table--order-details {
  margin-top: 2rem;
}

/* ── Block checkout (WooCommerce Blocks) ── */

body.voutlet-storefront .wc-block-checkout {
  padding: 0;
}

body.voutlet-storefront .wc-block-components-sidebar-layout {
  gap: 2rem;
  width: 100%;
}

@media (min-width: 960px) {
  body.voutlet-checkout .wc-block-components-sidebar-layout,
  body.voutlet-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 420px) !important;
    column-gap: 3rem !important;
    row-gap: 0 !important;
    align-items: start;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.voutlet-checkout .wc-block-checkout__main {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.voutlet-checkout .wc-block-checkout__sidebar {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: sticky;
    top: 5.5rem;
    align-self: start;
  }

  body.voutlet-checkout .wc-block-components-sidebar,
  body.voutlet-checkout .wc-block-components-order-summary,
  body.voutlet-checkout .wp-block-woocommerce-checkout-order-summary-block {
    width: 100% !important;
    max-width: 100% !important;
  }
}

body.voutlet-storefront .wc-block-components-panel,
body.voutlet-storefront .wc-block-components-checkout-step {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin-bottom: 2rem;
}

body.voutlet-storefront .wc-block-components-title,
body.voutlet-storefront .wc-block-components-checkout-step__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: var(--voutlet-nav-tracking);
  text-transform: uppercase;
}

body.voutlet-storefront .wc-block-components-order-summary-item__quantity {
  border-radius: 0;
  background: var(--voutlet-inverse);
  color: var(--voutlet-inverse-fg);
  border: 0;
  box-shadow: none;
}

body.voutlet-storefront .wc-block-components-totals-wrapper,
body.voutlet-storefront .wc-block-components-order-summary {
  border: 0;
  border-radius: 0;
}

/* ── Misc cleanup ── */

body.voutlet-storefront .woocommerce-form-coupon-toggle,
body.voutlet-storefront .woocommerce-form-login-toggle {
  margin-bottom: 1.5rem;
}

body.voutlet-storefront .woocommerce-form-coupon,
body.voutlet-storefront .woocommerce-form-login {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 2rem;
}

body.voutlet-storefront .required {
  color: inherit;
  text-decoration: none;
}

body.voutlet-storefront .woocommerce-terms-and-conditions-link {
  font-weight: 500;
}

body.voutlet-storefront .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
