/*
 * Ветеринарен Центар — WooCommerce layer (cart, checkout, order received, account, notices).
 * Layout comes from the shared starter (re-flows WooCommerce's table markup; selectors carry the body class so they beat
 * WooCommerce's own CSS); colours, fields and buttons follow this site's tokens (--v2-*), pill-shaped like the design.
 */

:root {
  --paper: #fdf7ef;
  --ink: #16294a;
  --ink-soft: #5a6577;
  --rule: #d9d2c7;
  --charcoal: #16294a;
  --cognac: #b3432c;
  --ivory: #f6ece0;
  --ease: ease;
  --container: 82rem;
}

/* --------------------------------------------------------- badges & meta */

.onsale {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-card__media, .product-gallery > *:first-child { position: relative; }

.stock { font-size: .875rem; color: var(--ink-soft); }
.stock.out-of-stock { color: var(--cognac); }

.star-rating { color: var(--clay); font-size: .8rem; }

/* -------------------------------------------------------------- notices */

/* WooCommerce gives notices an icon (::before) and left padding for it; the design has neither. */
body .woocommerce-message, body .woocommerce-error, body .woocommerce-info, body .woocommerce-notice {
  list-style: none;
  border: 0;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: var(--ivory);
  color: var(--ink);
  padding: 16px 20px;
  margin: 0 0 32px;
  font-size: .875rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: auto;
}
body .woocommerce-message::before, body .woocommerce-error::before, body .woocommerce-info::before, body .woocommerce-notice::before { content: none; display: none; }
body .woocommerce-error { border-top-color: var(--cognac); flex-direction: column; align-items: flex-start; gap: 6px; }
body .woocommerce-error li { margin: 0; padding: 0; list-style: none; }
body .woocommerce-message .button, body .woocommerce-error .button, body .woocommerce-info .button { flex-shrink: 0; float: none; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-notices-wrapper { margin: 0; }
/* on shop/product pages the wrapper sits directly in the page container */
main > .woocommerce-notices-wrapper, .starter-shop > .woocommerce-notices-wrapper { max-width: var(--container); margin: 24px auto 0; padding-inline: 20px; }
@media (min-width: 768px) { main > .woocommerce-notices-wrapper, .starter-shop > .woocommerce-notices-wrapper { padding-inline: 40px; } }

/* ==================================================================== */
/* CART                                                                  */
/* ==================================================================== */

/* Layout: lines (7 cols) + totals (4 cols from col 9), as in the design. WooCommerce's
   table markup is kept (plugins hook into it); it is re-flowed into list rows with grid. */

body.woocommerce-cart .page-content { padding-top: 40px; }
body.woocommerce-cart .woocommerce { display: grid; gap: 48px; }
@media (min-width: 768px) {
  .woocommerce-cart .woocommerce { grid-template-columns: repeat(12, 1fr); }
  .woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  .woocommerce-cart .woocommerce-cart-form { grid-column: 1 / span 7; }
  .woocommerce-cart .cart-collaterals { grid-column: 9 / span 4; }
}
body.woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }

body.woocommerce-cart .cart-empty-state { border-top: 1px solid var(--rule); padding-top: 40px; grid-column: 1 / -1; }
body.woocommerce-cart .cart-empty-state .eyebrow { display: inline-block; margin-top: 24px; }
body.woocommerce-cart .cart-empty { font-size: .9375rem; color: var(--ink-soft); }

body.woocommerce-cart table.woocommerce-cart-form__contents, body.woocommerce-cart table.woocommerce-cart-form__contents tbody { display: block; width: 100%; margin: 0; }
body.woocommerce-cart table.woocommerce-cart-form__contents thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.woocommerce-cart table.woocommerce-cart-form__contents { border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: transparent; }

body.woocommerce-cart table.woocommerce-cart-form__contents tr.cart_item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  grid-template-areas: "thumb name total" "thumb qty remove";
  column-gap: 20px;
  row-gap: 8px;
  padding-block: 24px;
  border-bottom: 1px solid var(--rule);
}
body.woocommerce-cart table.woocommerce-cart-form__contents td { display: block; padding: 0; border: 0; }
body.woocommerce-cart table.woocommerce-cart-form__contents td::before { content: none; }
body.woocommerce-cart td.product-thumbnail { grid-area: thumb; }
body.woocommerce-cart td.product-name { grid-area: name; font-size: .875rem; line-height: 1.25rem; }
body.woocommerce-cart td.product-subtotal { grid-area: total; font-size: .875rem; line-height: 1.25rem; text-align: right; font-variant-numeric: tabular-nums; }
body.woocommerce-cart td.product-quantity { grid-area: qty; align-self: end; }
body.woocommerce-cart td.product-remove { grid-area: remove; align-self: end; text-align: right; }
body.woocommerce-cart table.woocommerce-cart-form__contents td.product-price { display: none; }

body.woocommerce-cart td.product-thumbnail img { display: block; width: 96px; height: 112px; object-fit: cover; }
body.woocommerce-cart td.product-name a { font-size: .875rem; }
body.woocommerce-cart td.product-remove a.remove {
  display: inline; width: auto; height: auto; background: none;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  color: var(--ink-soft);
}
body.woocommerce-cart td.product-remove a.remove:hover { background: none; color: var(--ink); }

/* variation meta: "Black · Regular" */
body.woocommerce-cart td.product-name dl.variation { display: flex; flex-wrap: wrap; margin: 6px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; color: var(--ink-soft); }
body.woocommerce-cart td.product-name dl.variation dt { display: none; }
body.woocommerce-cart td.product-name dl.variation dd { display: inline; margin: 0; }
body.woocommerce-cart td.product-name dl.variation dd p { display: inline; margin: 0; }
body.woocommerce-cart td.product-name dl.variation dd + dd::before { content: "\00a0·\00a0"; }

/* quantity stepper (buttons are added by cart.js; the number input stays as the real field) */
body.woocommerce-cart .quantity { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--rule); padding-inline: 8px; }
body.woocommerce-cart .quantity .qty { width: 2.25em; border: 0; background: transparent; padding: 0; text-align: center; font-size: .875rem; line-height: 1.25rem; -moz-appearance: textfield; appearance: textfield; }
body.woocommerce-cart .quantity .qty::-webkit-inner-spin-button, body.woocommerce-cart .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body.woocommerce-cart .qty-step { padding: 6px 8px; font-size: 1rem; line-height: 1.5; cursor: pointer; }
body.woocommerce-cart .qty-step:hover { color: var(--ink-soft); }

/* coupon / update row */
body.woocommerce-cart table.woocommerce-cart-form__contents tr:not(.cart_item) td.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; }
body.woocommerce-cart .woocommerce-cart-form .coupon { display: flex; gap: 12px; align-items: center; margin: 0; }
body.woocommerce-cart .woocommerce-cart-form .coupon input { width: 12rem; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; padding: 8px 0; font: inherit; font-size: .875rem; outline: none; }
body.woocommerce-cart .woocommerce-cart-form .coupon input:focus { border-color: var(--v2-brand); }
body.woocommerce-cart .woocommerce-cart-form button.button {
  border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink);
  padding: 10px 20px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5;
}
body.woocommerce-cart .woocommerce-cart-form button.button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
body.woocommerce-cart .woocommerce-cart-form button.button:disabled { opacity: .4; cursor: default; }
body.woocommerce-cart .woocommerce-cart-form.is-auto-update button[name="update_cart"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* totals */
body.woocommerce-cart .cart-collaterals { margin: 0; }
body.woocommerce-cart .cart_totals { border-top: 2px solid var(--ink); padding-top: 24px; }
body.woocommerce-cart .cart_totals table, body.woocommerce-cart .cart_totals tbody { display: block; width: 100%; margin: 0; border: 0; }
body.woocommerce-cart .cart_totals tr { display: flex; justify-content: space-between; gap: 16px; font-size: .875rem; line-height: 1.25rem; }
body.woocommerce-cart .cart_totals th, body.woocommerce-cart .cart_totals td, body.woocommerce-cart .cart_totals td span { line-height: 1.25rem; }
body.woocommerce-cart .cart_totals tr + tr { margin-top: 8px; }
body.woocommerce-cart .cart_totals th, body.woocommerce-cart .cart_totals td { display: block; padding: 0; border: 0; font-weight: 400; text-align: left; }
body.woocommerce-cart .cart_totals th { color: var(--ink-soft); }
body.woocommerce-cart .cart_totals td { text-align: right; font-variant-numeric: tabular-nums; }
body.woocommerce-cart .cart_totals td::before { content: none; }
body.woocommerce-cart .cart_totals tr.shipping--pending td { color: var(--ink-soft); }
body.woocommerce-cart .cart_totals tr.shipping--pending + tr.order-total:last-child { display: none; } /* total equals subtotal until delivery/discounts apply */
body.woocommerce-cart .wc-proceed-to-checkout { margin-top: 32px; padding: 0; }
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button { display: flex; margin: 0; }
body.woocommerce-cart .cart-note { margin-top: 20px; font-size: 13px; line-height: 1.625; color: var(--ink-soft); }
body.woocommerce-cart .woocommerce-shipping-calculator { margin-top: 16px; font-size: .8125rem; }
body.woocommerce-cart .woocommerce-shipping-calculator a { text-decoration: underline; }

body.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; }
body.woocommerce-cart table.woocommerce-cart-form__contents td.product-thumbnail img { width: 96px; height: 112px; }
body.woocommerce-cart .cart-collaterals { width: auto; float: none; }

/* ==================================================================== */
/* CHECKOUT                                                              */
/* ==================================================================== */

/* Layout: customer details + payment (7 cols) | order list (4 cols from col 9). Selectors carry the
   body class so they win over WooCommerce's own stylesheet without !important. */

body.woocommerce-checkout:not(.woocommerce-order-received) .page-header__title--std { font-size: 3rem; }
@media (min-width: 768px) { body.woocommerce-checkout:not(.woocommerce-order-received) .page-header__title--std { font-size: 4rem; } }
body.woocommerce-checkout .page-content { padding-top: 32px; }

body.woocommerce-checkout form.checkout { display: grid; gap: 48px; margin: 0; }
@media (min-width: 768px) {
  body.woocommerce-checkout form.checkout { grid-template-columns: repeat(12, 1fr); align-items: start; }
  body.woocommerce-checkout form.checkout #customer_details { grid-column: 1 / span 7; grid-row: 1 / span 3; }
  body.woocommerce-checkout form.checkout .checkout-group--payment { grid-column: 1 / span 7; grid-row: 4; }
  body.woocommerce-checkout form.checkout #order_review_heading { grid-column: 9 / span 4; grid-row: 1; }
  body.woocommerce-checkout form.checkout #order_review { grid-column: 9 / span 4; grid-row: 2; }
}
body.woocommerce-checkout .col2-set { display: block; width: auto; float: none; }
body.woocommerce-checkout .col2-set .col-1, body.woocommerce-checkout .col2-set .col-2 { float: none; width: auto; max-width: none; }
body.woocommerce-checkout #customer_details { display: grid; gap: 40px; align-content: start; }

/* groups: eyebrow title + fields */
body.woocommerce-checkout .checkout-group__title { margin: 0 0 32px; color: var(--ink-soft); }
body.woocommerce-checkout .checkout-group + .checkout-group, body.woocommerce-checkout .woocommerce-account-fields { margin-top: 40px; }
body.woocommerce-checkout .checkout-group--payment { margin-top: 0; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; margin: 0; align-content: start; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > p.form-row { grid-column: 1 / -1; }
@media (min-width: 640px) {
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > p.form-row-half { grid-column: span 3; }
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > p.form-row-third { grid-column: span 2; }
}

/* fields: eyebrow label over an underlined input */
body.woocommerce-checkout form .form-row { float: none; width: auto; margin: 0; padding: 0; }
body.woocommerce-checkout form .form-row label { display: block; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; color: var(--ink-soft); }
body.woocommerce-checkout form .form-row .woocommerce-input-wrapper { display: block; margin-top: 4px; }
body.woocommerce-checkout form .form-row abbr.required { display: none; }
body.woocommerce-checkout form .form-row .optional { letter-spacing: 0; text-transform: none; }
body.woocommerce-checkout form .form-row label.checkbox { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: .875rem; color: var(--ink); }
body.woocommerce-checkout form .form-row input.input-text, body.woocommerce-checkout form .form-row select, body.woocommerce-checkout form .form-row textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--rule); border-radius: 999px; background: transparent; min-height: 2.75rem; padding: 0 1.25rem; font: inherit; font-size: 15px; line-height: 1.5; color: var(--ink); outline: none;
  transition: border-color .2s var(--ease);
}
body.woocommerce-checkout form .form-row input.input-text:focus, body.woocommerce-checkout form .form-row select:focus, body.woocommerce-checkout form .form-row textarea:focus { border-color: var(--v2-brand); }
body.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text, body.woocommerce-checkout form .form-row.woocommerce-invalid select { border-color: var(--cognac); }
body.woocommerce-checkout form .form-row.woocommerce-invalid label { color: var(--cognac); }
/* country / state (selectWoo) */
body.woocommerce-checkout .select2-container .select2-selection--single { height: auto; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 12px 0; font-size: .9375rem; line-height: 1.5; color: var(--ink); }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }
body.woocommerce-checkout .select2-container--open .select2-selection--single, body.woocommerce-checkout .select2-container--focus .select2-selection--single { border-color: var(--v2-brand); }

/* order list (right column) */
body.woocommerce-checkout form.checkout #order_review_heading { margin: 0; padding: 24px 0 0; border-top: 2px solid var(--ink); font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; color: var(--ink-soft); }
body.woocommerce-checkout form.checkout #order_review { margin-top: -28px; border: 0; padding: 20px 0 0; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table, body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody { display: block; width: 100%; margin: 0; border: 0; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody tr { display: block; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody tr + tr { margin-top: 16px; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td { display: block; padding: 0; border: 0; font-size: .875rem; line-height: 1.25rem; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody tr { display: flex; justify-content: space-between; gap: 16px; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name { display: flex; flex: 1; gap: 16px; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total { text-align: right; font-variant-numeric: tabular-nums; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .review-thumb { flex: none; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .review-thumb img { display: block; width: 64px; height: 80px; object-fit: cover; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation { display: flex; flex-wrap: wrap; margin: 4px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.45; color: var(--ink-soft); }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation dt { display: none; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation dd { display: inline; margin: 0; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation dd p { display: inline; margin: 0; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation dd + dd::before { content: "\00a0·\00a0"; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation + .product-quantity::before { content: "\00b7\00a0"; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-quantity { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--ink-soft); }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot { display: block; margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 16px; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr { display: flex; justify-content: space-between; gap: 16px; font-size: .875rem; line-height: 1.25rem; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr + tr { margin-top: 8px; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th, body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td { display: block; padding: 0; border: 0; font-weight: 400; text-align: left; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th { color: var(--ink-soft); }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td { text-align: right; font-variant-numeric: tabular-nums; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal:first-child:nth-last-child(2) + tr.order-total,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total:only-child { display: none; } /* total equals subtotal until delivery/discounts apply */

/* payment (left column) */
body.woocommerce-checkout #payment { margin: 0; border: 0; border-radius: 0; background: transparent; padding: 0; }
body.woocommerce-checkout #payment ul.wc_payment_methods { margin: 0; padding: 0; border: 0; list-style: none; }
body.woocommerce-checkout #payment ul.wc_payment_methods li.wc_payment_method { margin: 0; padding: 0 0 16px; border: 0; }
body.woocommerce-checkout #payment ul.wc_payment_methods li label { display: inline; font-size: .9375rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
body.woocommerce-checkout #payment div.payment_box { margin: 8px 0 0; padding: 0; border-radius: 0; background: transparent; font-size: .9375rem; line-height: 1.75; color: var(--ink-soft); }
body.woocommerce-checkout #payment div.payment_box::before { content: none; }
body.woocommerce-checkout #payment div.payment_box p { margin: 0; }
body.woocommerce-checkout #payment div.form-row { margin: 0; padding: 24px 0 0; }
body.woocommerce-checkout .woocommerce-privacy-policy-text, body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 0 0 24px; font-size: .8125rem; line-height: 1.6; color: var(--ink-soft); }
body.woocommerce-checkout #payment #place_order { float: none; width: auto; margin: 0; }

body.woocommerce-checkout .woocommerce-form-login-toggle, body.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-bottom: 24px; font-size: .875rem; }
body.woocommerce-checkout .woocommerce-form-login-toggle a, body.woocommerce-checkout .woocommerce-form-coupon-toggle a { text-decoration: underline; }

/* ==================================================================== */
/* MY ACCOUNT                                                            */
/* ==================================================================== */

.woocommerce-account .page-content { display: grid; gap: 40px; }
@media (min-width: 768px) { .woocommerce-account .page-content { grid-template-columns: repeat(12, 1fr); } }

.woocommerce-MyAccount-navigation { }
@media (min-width: 768px) { .woocommerce-MyAccount-navigation { grid-column: span 3; } }
.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--rule); padding-top: 20px; }
.woocommerce-MyAccount-navigation a { font-size: .875rem; color: var(--ink-soft); }
.woocommerce-MyAccount-navigation .is-active a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.woocommerce-MyAccount-content { }
@media (min-width: 768px) { .woocommerce-MyAccount-content { grid-column: 5 / span 8; } }

.woocommerce-form-login, .woocommerce-form-register { display: flex; flex-direction: column; gap: 24px; max-width: 420px; }
.woocommerce-form-login .form-row, .woocommerce-form-register .form-row { margin: 0; }
.woocommerce-form-login .button, .woocommerce-form-register .button { align-self: flex-start; }
.woocommerce-LostPassword { font-size: .8125rem; }

.woocommerce-orders-table { width: 100%; border-collapse: collapse; font-size: .875rem; margin-top: 24px; }
.woocommerce-orders-table th { text-align: left; padding-bottom: 12px; border-bottom: 1px solid var(--rule); color: var(--ink-soft); font-weight: 400; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.woocommerce-orders-table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); }
.woocommerce-orders-table .button { padding: 8px 16px; font-size: 12px; }

.woocommerce-Addresses { display: grid; gap: 32px; margin-top: 24px; }
@media (min-width: 640px) { .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; }
.woocommerce-Address-title .edit { font-size: .75rem; text-decoration: underline; }
address { font-style: normal; margin-top: 12px; font-size: .875rem; line-height: 1.6; color: var(--ink-soft); }

/* generic buttons WC renders (pay/cancel order, download, edit account, …) */
.button, a.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 12px 24px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .75rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.button:hover, a.button:hover, button.button:hover { background: var(--ink); color: var(--paper); }

/* ORDER RECEIVED — narrow confirmation block, then WooCommerce's own order details */
body.woocommerce-order-received .page-content { max-width: 820px; padding-top: 80px; padding-bottom: 128px; }
@media (min-width: 768px) { body.woocommerce-order-received .page-content { padding-top: 112px; } }
body.woocommerce-order-received .thankyou__title { margin-top: 24px; font-size: 3rem; line-height: .95; }
@media (min-width: 768px) { body.woocommerce-order-received .thankyou__title { font-size: 4.5rem; } }
body.woocommerce-order-received .thankyou__text { margin-top: 32px; }
body.woocommerce-order-received .thankyou__links { margin-top: 40px; display: flex; gap: 24px; }
body.woocommerce-order-received .woocommerce-order-overview { margin: 64px 0 0; padding: 24px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 16px 40px; list-style: none; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
body.woocommerce-order-received .woocommerce-order-overview strong { display: block; margin-top: 4px; font-size: .875rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
body.woocommerce-order-received .woocommerce-order-details, body.woocommerce-order-received .woocommerce-customer-details { margin-top: 48px; }
body.woocommerce-order-received .woocommerce-order-details__title, body.woocommerce-order-received .woocommerce-column__title { font-size: 1.5rem; line-height: 1.1; margin-bottom: 16px; }
body.woocommerce-order-received table.woocommerce-table--order-details { width: 100%; border-collapse: collapse; font-size: .875rem; }
body.woocommerce-order-received table.woocommerce-table--order-details th, body.woocommerce-order-received table.woocommerce-table--order-details td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
body.woocommerce-order-received table.woocommerce-table--order-details thead th { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
body.woocommerce-order-received table.woocommerce-table--order-details td:last-child, body.woocommerce-order-received table.woocommerce-table--order-details thead th:last-child { text-align: right; }
body.woocommerce-order-received .woocommerce-customer-details address { margin: 0; padding: 0; border: 0; }

/* MY ACCOUNT (logged out): intro left (5 cols), tabs + form right (5 cols from col 8) */
body.woocommerce-account .account-login { max-width: var(--container); margin-inline: auto; padding: 48px 20px 128px; display: grid; gap: 48px; }
@media (min-width: 768px) {
  body.woocommerce-account .account-login { padding: 64px 40px 128px; grid-template-columns: repeat(12, 1fr); }
  body.woocommerce-account .account-login__intro { grid-column: 1 / span 5; }
  body.woocommerce-account .account-login__forms { grid-column: 8 / span 5; }
}
body.woocommerce-account .account-login__title { font-size: 3rem; line-height: .95; }
@media (min-width: 768px) { body.woocommerce-account .account-login__title { font-size: 4.5rem; } }
body.woocommerce-account .account-login__intro .body-copy { margin-top: 24px; max-width: 24rem; }
body.woocommerce-account .account-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 40px; }
body.woocommerce-account .account-tabs button { color: var(--ink-soft); }
body.woocommerce-account .account-tabs button.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
body.woocommerce-account #customer_login.has-tabs h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.woocommerce-account #customer_login { display: block; }
body.woocommerce-account #customer_login .u-column1, body.woocommerce-account #customer_login .u-column2 { float: none; width: auto; }
body.woocommerce-account #customer_login:not(.has-tabs) .u-column2 { margin-top: 64px; }
body.woocommerce-account .account-login h2 { font-size: 1.5rem; line-height: 1.1; margin-bottom: 24px; }
body.woocommerce-account form.woocommerce-form { display: flex; flex-direction: column; gap: 32px; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; }
body.woocommerce-account form.woocommerce-form .form-row { float: none; width: auto; margin: 0; padding: 0; }
body.woocommerce-account form.woocommerce-form .form-row label:not(.checkbox) { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; color: var(--ink-soft); }
body.woocommerce-account form.woocommerce-form .form-row .required { display: none; }
body.woocommerce-account form.woocommerce-form input.input-text { width: 100%; box-sizing: border-box; margin-top: 4px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; min-height: 2.75rem; padding: 0 1.25rem; font: inherit; font-size: 15px; line-height: 1.5; color: var(--ink); outline: none; }
body.woocommerce-account form.woocommerce-form input.input-text:focus { border-color: var(--v2-brand); }
body.woocommerce-account form.woocommerce-form .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: .875rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
body.woocommerce-account form.woocommerce-form button.button { align-self: flex-start; background: var(--ink); border: 0; border-radius: 0; color: var(--paper); padding: 16px 32px; font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
body.woocommerce-account form.woocommerce-form button.button:hover { background: var(--charcoal); }
body.woocommerce-account .woocommerce-LostPassword { margin: 0; font-size: .8125rem; color: var(--ink-soft); }
body.woocommerce-account .woocommerce-LostPassword a { text-decoration: underline; }
body.woocommerce-account .account-login__forms .woocommerce-notices-wrapper { margin-bottom: 24px; }
body.woocommerce-account .woocommerce-notices-wrapper:empty, body.woocommerce-checkout .woocommerce-notices-wrapper:empty { display: none; }


/* Buttons WooCommerce prints (checkout, place order, apply coupon, update, account): the design's .v2-btn look. */
body.woocommerce a.checkout-button.button.alt,
body.woocommerce-page a.checkout-button.button.alt,
body.woocommerce #payment #place_order.button.alt,
body.woocommerce-page #payment #place_order.button.alt,
body.woocommerce button.single_add_to_cart_button.button.alt,
body.woocommerce-account form.woocommerce-form button.button {
  display: inline-flex; align-items: center; justify-content: center; float: none; width: auto;
  min-height: 3rem; padding: 0 1.8rem; border: 1px solid var(--v2-brand); border-radius: 999px;
  background: var(--v2-brand); color: var(--v2-cream); font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2;
  letter-spacing: 0; text-transform: none; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s;
}
body.woocommerce a.checkout-button.button.alt:hover,
body.woocommerce #payment #place_order.button.alt:hover,
body.woocommerce button.single_add_to_cart_button.button.alt:hover,
body.woocommerce-account form.woocommerce-form button.button:hover { background: var(--v2-ink); border-color: var(--v2-ink); color: var(--v2-cream); }
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; }
body.woocommerce-cart .woocommerce-cart-form button.button {
  border: 1px solid var(--v2-ink); border-radius: 999px; background: transparent; color: var(--v2-ink);
  min-height: 2.5rem; padding: 0 1.2rem; font-size: .875rem; letter-spacing: 0; text-transform: none; line-height: 1.2;
}
body.woocommerce-cart .woocommerce-cart-form button.button:hover:not(:disabled) { background: var(--v2-ink); color: var(--v2-cream); }
body.woocommerce-cart .woocommerce-cart-form .coupon input { border: 1px solid var(--rule); border-radius: 999px; padding: 0 1.1rem; min-height: 2.5rem; }
body.woocommerce-cart .quantity { border-radius: 999px; }
body.woocommerce-cart .quantity .qty { font-size: 15px; font-weight: 600; }
body.woocommerce table.woocommerce-cart-form__contents td.product-name a { font-size: 15px; font-weight: 500; }
body.woocommerce-cart table.woocommerce-cart-form__contents td.product-thumbnail img { border-radius: .75rem; background: var(--v2-sand); }

/* Delivery choice (shipping methods) inside cart totals and checkout order list. */
.woocommerce ul#shipping_method { list-style: none; margin: 0; padding: 0; text-align: left; font-size: 14px; }
.woocommerce ul#shipping_method li { margin: 0 0 8px; }
.woocommerce ul#shipping_method li label { display: inline; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); }


.vc-product-quantity .vc-quantity-input {
	width: 90px;
	height: 46px;
	padding: 8px 12px;
	border: 1px solid var(--v2-line, #ddd);
	border-radius: 10px;
	background: #fff;
	color: var(--v2-ink, #222);
	font-size: 16px;
	text-align: center;
}
