/* TwinPegs — the store. First the product page design (from design/product.css), then how WooCommerce's markup wears it. */
/* TwinPegs — product page. Builds on styles.css; only what the product page adds. */

.pdp-band { background: var(--bone); color: var(--ink); padding: 28px max(var(--gutter), calc((100% - var(--max)) / 2)) var(--sec); }
.pdp-band :focus-visible { outline-color: var(--ink); }

/* ---------- Breadcrumb ---------- */

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 1rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: underline 1px var(--bone-line); text-underline-offset: 0.25em; }
.crumbs a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.crumbs a::after { content: "/"; margin-left: 10px; display: inline-block; text-decoration: none; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Layout ---------- */

.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.4vw, 72px); align-items: start; }

.gallery { position: sticky; top: calc(var(--header) + 20px); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; }
.gallery-main { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bone-line); }
.thumbs { order: -1; display: grid; gap: 12px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 0; background: none; cursor: pointer; transition: border-color 0.2s var(--ease); }
.thumbs button:hover { border-color: var(--bone-line); }
.thumbs button[aria-current] { border-color: var(--ink); }
.thumbs img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Buy box ---------- */

.pdp-title { font-size: clamp(2.75rem, 4.6vw, 4.25rem); line-height: 0.96; max-width: none; }
.pdp-sub { margin-top: 12px; font-size: 1.1875rem; color: var(--muted); }

.price-note { margin-top: 8px; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.pdp-band .link { text-decoration-color: var(--ink); }
.pdp-band .link:hover { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 4px; }

.opt { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.opt legend { padding: 0; margin-bottom: 9px; font: 600 0.9375rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 58px; padding: 8px 12px;
  background: var(--white); border: 2px solid var(--bone-line); border-radius: 2px;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.seg label:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.opt[data-missing] .seg span { border-color: var(--red); }
.opt[data-missing] legend::after { content: " — choose one"; color: var(--red); letter-spacing: 0.04em; }
.opt-help { margin-top: 10px; font-size: 1rem; line-height: 1.45; color: var(--muted); }

/* ---------- Fitment caution ---------- */

.fit { margin-top: 28px; padding: 18px 20px 20px; background: var(--white); border: 2px solid var(--ink); }
.fit h2 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; line-height: 1.1; margin-bottom: 12px; }
.fit h2::before { content: ""; flex: none; width: 18px; height: 16px; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.fit ul { display: grid; gap: 10px; font-size: 1.0625rem; line-height: 1.45; }
.fit li { padding-left: 28px; position: relative; }
.fit li::before { content: ""; position: absolute; left: 6px; top: 0.6em; width: 8px; height: 8px; background: var(--ink); }

/* ---------- Quantity and add ---------- */

.add { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.qty { display: grid; grid-template-columns: 48px 56px 48px; height: 58px; border: 2px solid var(--ink); border-radius: 2px; background: var(--white); }
.qty button { display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background-color 0.2s var(--ease); }
.qty svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.qty button:hover { background: var(--bone); }
.qty input { width: 100%; border: 0; border-inline: 1px solid var(--bone-line); background: none; text-align: center; font: 600 1.1875rem/1 var(--text); color: var(--ink); appearance: textfield; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.add .btn { height: 58px; padding-block: 0; background: var(--gold); border-color: var(--ink); }
.add .btn:hover { background: var(--ink); color: var(--gold); }

.buy-msg:empty, .buy-done:empty { display: none; }
.buy-msg, .buy-done { margin-top: 12px; font-weight: 600; font-size: 1rem; line-height: 1.4; }
.buy-msg { color: var(--red); display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.buy-msg::before { content: ""; width: 14px; height: 13px; margin-top: 0.3em; background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.buy-done { padding: 12px 14px; background: var(--ink); color: var(--white); }
.buy-done a { color: var(--gold); font-weight: 600; text-underline-offset: 0.25em; }
@media (prefers-reduced-motion: no-preference) { .buy-done { animation: rise 0.5s var(--ease) backwards; } }

.trust { margin-top: 28px; border-top: 1px solid var(--bone-line); }
.trust li { padding: 12px 0; border-bottom: 1px solid var(--bone-line); font-size: 1.0625rem; }
.trust b { font-weight: 600; }

/* ---------- Standard or lowered ---------- */

.choose { display: grid; }
.choose > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 8px 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.choose > div:last-child { border-bottom: 1px solid var(--line); }
.choose dt { font: 700 1.75rem/1.05 var(--display); text-transform: uppercase; color: var(--gold); }
.choose dd { margin: 0; color: var(--soft); max-width: 52ch; }

/* ---------- Fitting ---------- */

.install { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.install video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--black); }
.install figcaption { margin-top: 10px; font-size: 1rem; color: var(--muted); }
.install h3 { margin-bottom: 18px; }
.ticks--ink li::before { background: var(--ink); }
.install-note { margin-top: 20px; font-weight: 600; }

/* ---------- Warranty ---------- */

.warranty { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.warranty p + p { margin-top: 1em; }
.warranty p { max-width: 56ch; }
.warranty .small { font-size: 1rem; color: var(--soft); }

/* ---------- Narrow ---------- */

@media (max-width: 900px) {
  .pdp, .install, .warranty { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .thumbs { order: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pdp-band { padding-top: 18px; }
  .crumbs { margin-bottom: 18px; }
}

@media (max-width: 620px) {
  .choose > div { grid-template-columns: minmax(0, 1fr); }
  .qty { grid-template-columns: 44px 44px 44px; }
  .thumbs { gap: 8px; }
}

/* =====================================================================
   WooCommerce markup
   ===================================================================== */

.woocommerce-breadcrumb { font-size: 1rem; color: var(--muted); margin: 0 0 28px; }
.woocommerce-breadcrumb a { text-decoration: underline 1px var(--bone-line); text-underline-offset: 0.25em; }
.woocommerce-breadcrumb a:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* Gallery */
.pdp .wp-block-woocommerce-product-image-gallery { position: sticky; top: calc(var(--header) + 20px); min-width: 0; width: 100%; max-width: none; overflow: hidden; }
.pdp .woocommerce-product-gallery { width: 100% !important; max-width: none !important; overflow: hidden; float: none !important; margin: 0 !important; opacity: 1 !important; position: relative; }
.pdp .woocommerce-product-gallery__wrapper { margin: 0; }
.pdp .woocommerce-product-gallery__image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pdp .woocommerce-product-gallery__trigger { display: none; }
.pdp .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.pdp .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.pdp .flex-control-thumbs img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; opacity: 1 !important; cursor: pointer; border: 2px solid transparent; }
.pdp .flex-control-thumbs img.flex-active, .pdp .flex-control-thumbs img:hover { border-color: var(--ink); }
.pdp .onsale { display: none; }

/* Title, short description, price */
.buy .pdp-title { margin: 0; }
.buy .pdp-sub p, .buy .pdp-sub { margin-top: 12px; font-size: 1.1875rem; color: var(--muted); }
.buy .wp-block-woocommerce-product-price { margin-top: 24px; }
.buy .wc-block-components-product-price, .buy .price { font: 700 2.5rem/1 var(--display); letter-spacing: 0.01em; color: var(--ink); }
.buy .price del { font-size: 1.5rem; color: var(--muted); margin-right: 10px; }
.buy .price ins { text-decoration: none; }
.buy .price-note a { font-weight: 600; text-decoration: underline 2px var(--ink); text-underline-offset: 0.25em; }
.buy .price-note a:hover { text-decoration-color: var(--gold); text-decoration-thickness: 4px; }

/* Options */
/* WooCommerce's buy form has the class "cart", which is also the header link's class: undo that link's look here. */
.buy form.cart { margin: 20px 0 0; padding: 0; border: 0; color: inherit; font: inherit; letter-spacing: normal; text-transform: none; }
.buy form.cart:hover { background: none; color: inherit; }
.buy table.variations { width: 100%; border: 0; border-collapse: collapse; margin: 0; }
.buy table.variations tbody, .buy table.variations tr, .buy table.variations th, .buy table.variations td { display: block; padding: 0; border: 0; text-align: left; background: none; }
.buy table.variations tr { margin-top: 26px; }
.buy table.variations tr:first-child { margin-top: 6px; }
.buy table.variations th.label label { display: block; margin-bottom: 9px; font: 600 0.9375rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.buy table.variations select { max-width: none; }
.seg-source { position: absolute !important; width: 1px !important; min-width: 0 !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); }
.buy .seg button {
  min-height: 58px; padding: 8px 12px; cursor: pointer;
  background: var(--white); color: var(--ink); border: 2px solid var(--bone-line); border-radius: 2px;
  font: 600 1.0625rem/1.2 var(--text);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.buy .seg button:hover:not(:disabled) { border-color: var(--ink); }
.buy .seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.buy .seg button:disabled { color: var(--muted); background: #e9e7df; cursor: not-allowed; }
.buy .reset_variations { display: inline-block; margin-top: 10px; font-size: 1rem; color: var(--muted); text-decoration: underline 1px var(--bone-line); text-underline-offset: 0.25em; }
.buy .reset_variations[style*="hidden"] { display: none; }

.buy .woocommerce-variation-price { display: none; }           /* the price above already shows it */
.buy .woocommerce-variation-description p { margin-top: 12px; font-size: 1rem; color: var(--muted); }
.buy .stock { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; color: var(--ink); }
.buy .stock::before { content: ""; width: 10px; height: 10px; background: var(--ink); }
.buy .stock.out-of-stock::before { background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); width: 12px; height: 11px; }

/* Quantity and Add to cart */
.buy .woocommerce-variation-add-to-cart, .buy form.cart:not(.variations_form) { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.buy form.cart:not(.variations_form) > .fit, .buy form.cart:not(.variations_form) > .stock { grid-column: 1 / -1; margin-top: 0; }
.buy .quantity { margin: 0; }
.buy .quantity.has-steps { display: grid; grid-template-columns: 48px 56px 48px; height: 58px; border: 2px solid var(--ink); border-radius: 2px; background: var(--white); }
.buy .quantity .qty { width: 100%; height: 100%; border: 0; border-inline: 1px solid var(--bone-line); background: none; text-align: center; font: 600 1.1875rem/1 var(--text); color: var(--ink); appearance: textfield; -moz-appearance: textfield; padding: 0; }
.buy .quantity .qty::-webkit-outer-spin-button, .buy .quantity .qty::-webkit-inner-spin-button { appearance: none; margin: 0; }
.buy .qty-step { display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background-color 0.2s var(--ease); }
.buy .qty-step:hover { background: var(--bone); }
.buy .qty-step svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.buy .single_add_to_cart_button {
  height: 58px; width: 100%; padding: 0 28px; cursor: pointer;
  font: 700 1.375rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--gold); color: var(--ink); border: 2px solid var(--ink); border-radius: 2px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.buy .single_add_to_cart_button:hover { background: var(--ink); color: var(--gold); }
.buy .single_add_to_cart_button.disabled, .buy .single_add_to_cart_button:disabled { background: #e9e7df; color: var(--muted); border-color: #8c877c; cursor: not-allowed; }
.buy .fit { margin-top: 28px; }
.buy ul.trust { padding: 0; list-style: none; }
.buy ul.trust strong { font-weight: 600; }

/* Notices */
.woocommerce-notices-wrapper:empty, .wc-block-store-notices:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  list-style: none; margin: 0 0 24px; padding: 14px 18px; border: 2px solid var(--ink); border-radius: 0;
  background: var(--white); color: var(--ink); font-weight: 600; font-size: 1rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
}
.woocommerce-error { border-color: var(--red); }
.woocommerce-message .button, .woocommerce-info .button, .wc-block-components-notice-banner .button, .wc-block-components-notice-banner a.wc-forward {
  order: 2; padding: 10px 18px 8px; background: var(--ink); color: var(--gold); border-radius: 2px; text-decoration: none;
  font: 700 1.125rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase;
}
.wc-block-components-notice-banner > svg { display: none; }

/* Long description: the band disappears when the product has none */
.pdp-desc:not(:has(.tp-content > *)) { display: none; }

/* ---------- Shop and make pages ---------- */

.tp-shop > * { max-width: var(--max); }
.makes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.makes a {
  padding: 10px 16px 8px; border: 2px solid var(--bone-line); border-radius: 2px; background: var(--white); text-decoration: none;
  font: 600 1.125rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase;
  transition: border-color 0.2s var(--ease);
}
.makes a:hover { border-color: var(--ink); }
.makes a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.card-price { font-weight: 600; font-size: 1.0625rem; }
.card-price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
.card-price ins { text-decoration: none; }

@media (max-width: 900px) {
  .pdp .wp-block-woocommerce-product-image-gallery { position: static; }
}
@media (max-width: 620px) {
  .buy .quantity.has-steps { grid-template-columns: 44px 44px 44px; }
}

/* ---------- Cart, checkout, account: WooCommerce's own blocks on the bone ground ---------- */

.tp-woo { color: var(--ink); }
.tp-woo > .wp-block-post-title { max-width: var(--max); }
.tp-woo .wp-block-post-content > * { max-width: none; }
.tp-woo .alignwide, .tp-woo .alignfull { max-width: none; margin-inline: 0; }
.tp-woo a { color: var(--ink); }
.tp-woo h2, .tp-woo h3, .tp-woo .wc-block-components-title, .tp-woo .wc-block-components-checkout-step__title, .tp-woo .wc-block-cart__totals-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink);
}
.tp-woo .wc-block-components-product-name { font: 700 1.375rem/1.1 var(--display); text-transform: uppercase; text-decoration: none; }
.tp-woo .wc-block-components-product-name:hover { text-decoration: underline 3px var(--gold); text-underline-offset: 0.18em; }
.tp-woo .wc-block-components-product-metadata { font-size: 0.9375rem; color: var(--muted); }
.tp-woo .wc-block-cart-items, .tp-woo .wc-block-cart-items td, .tp-woo .wc-block-cart-items th, .tp-woo .wc-block-components-totals-item, .tp-woo .wc-block-components-totals-wrapper, .tp-woo .wc-block-components-panel { border-color: var(--bone-line) !important; }
.tp-woo .wc-block-cart-items th { font: 600 0.9375rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.tp-woo .wc-block-components-sidebar, .tp-woo .wc-block-components-order-summary, .tp-woo .wp-block-woocommerce-checkout-order-summary-block { background: var(--white); border: 1px solid var(--bone-line); border-radius: 0; }
.tp-woo .wc-block-components-sidebar { padding: 20px 22px; }
.tp-woo .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .tp-woo .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 700 1.625rem/1.1 var(--display); text-transform: uppercase; }

.tp-woo .wc-block-components-button:not(.is-link), .tp-woo .wc-block-cart__submit-button, .tp-woo .button, .tp-woo button[type="submit"] {
  min-height: 58px; padding: 4px 28px 0; cursor: pointer;
  font: 700 1.375rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  background: var(--gold); color: var(--ink); border: 2px solid var(--ink); border-radius: 2px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tp-woo .wc-block-components-button:not(.is-link):hover, .tp-woo .button:hover, .tp-woo button[type="submit"]:hover { background: var(--ink); color: var(--gold); }

.tp-woo input[type="text"], .tp-woo input[type="email"], .tp-woo input[type="tel"], .tp-woo input[type="password"], .tp-woo input[type="number"], .tp-woo textarea,
.tp-woo .wc-block-components-text-input input, .tp-woo .wc-blocks-components-select__select, .tp-woo .wc-block-components-combobox-control input {
  background: var(--white) !important; color: var(--ink) !important; border: 2px solid var(--ink) !important; border-radius: 2px !important; box-shadow: none !important;
}
.tp-woo .wc-block-components-text-input label, .tp-woo .wc-blocks-components-select__label, .tp-woo .wc-block-components-combobox-control label { color: var(--muted) !important; }
.tp-woo .wc-block-components-quantity-selector { border: 2px solid var(--ink); border-radius: 2px; background: var(--white); }
.tp-woo .wc-block-components-quantity-selector::after { display: none; }
.tp-woo .wc-block-components-quantity-selector input, .tp-woo .wc-block-components-quantity-selector button { color: var(--ink) !important; border: 0 !important; background: none !important; }
.tp-woo .wc-block-components-checkbox__input { border: 2px solid var(--ink) !important; border-radius: 2px !important; background: var(--white) !important; }
.tp-woo .wc-block-components-notice-banner { color: var(--ink); }
.tp-woo select { height: 58px; }
/* ---------- Fitting the kit: without a film, and with extra documents ---------- */
.install--text { grid-template-columns: minmax(0, 1fr); }
.install--text > div { max-width: 760px; }
.install-embed iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.install-links { display: grid; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.install h3 + .install-links { margin-top: 0; }
/* ================= After the design review ================= */

/* Add to cart: the button stays live when a choice is missing; a click marks what is still open. */
.buy .single_add_to_cart_button.disabled.wc-variation-selection-needed { background: var(--gold); color: var(--ink); border-color: var(--ink); cursor: pointer; opacity: 1; }
.buy .single_add_to_cart_button.disabled.wc-variation-selection-needed:hover { background: var(--ink); color: var(--gold); }
.buy .woocommerce-variation-add-to-cart, .buy form.cart:not(.variations_form) { grid-template-columns: 156px minmax(0, 1fr); }
.buy .single_add_to_cart_button { white-space: nowrap; padding-inline: 16px; }
.buy .buy-msg { grid-column: 1 / -1; margin: 0; font-weight: 600; color: var(--red); }
.buy .buy-msg:empty { display: none; }
.buy .variations tr[data-missing] .label label::after, .buy .variations tr[data-missing] th label::after { content: " — choose one"; color: var(--red); letter-spacing: 0.04em; }
.buy .variations tr[data-missing] .seg button { border-color: var(--red); }
.buy .single_variation:empty, .buy .woocommerce-variation:empty, .buy .woocommerce-variation-description:empty, .buy .woocommerce-variation-price:empty { display: none; }
@media (max-width: 480px) { .buy .woocommerce-variation-add-to-cart, .buy form.cart:not(.variations_form) { grid-template-columns: 136px minmax(0, 1fr); } .buy .single_add_to_cart_button { font-size: 1.1875rem; } }

/* Small pictures under the main one: five across. */
.pdp .flex-control-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }

/* "About this kit": the product text has a heading and starts at the page edge. */
.pdp-desc .tp-content { max-width: none; }
.pdp-desc .tp-content > * { margin-inline: 0; max-width: 62ch; }

/* Fitting the kit without a film: documents and "The kit" side by side. */
.install--text.install--docs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.install--text.install--docs > div { max-width: none; }
@media (max-width: 760px) { .install--text.install--docs { grid-template-columns: minmax(0, 1fr); } }

/* Shop: the kit finder above the list, and makes as a single row on a phone. */
.shop-finder { background: var(--black); color: var(--white); padding: clamp(20px, 3vw, 32px); margin-bottom: clamp(24px, 3vw, 40px); }
.shop-finder .finder { margin: 0; border: 0; padding: 0; background: none; }
.makes a { min-height: 44px; display: inline-flex; align-items: center; padding: 4px 16px 2px; }
@media (max-width: 620px) {
  .makes { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; }
  .makes a { flex: none; scroll-snap-align: start; }
}

/* Cart and checkout: product names in text type, no description excerpt, larger controls. */
.tp-woo .wc-block-components-product-metadata__description { display: none; }
.tp-woo .wc-block-components-product-name { font: 600 1.0625rem/1.3 var(--text) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink); text-decoration: none; }
.tp-woo .wc-block-cart-items .wc-block-components-product-name { font-size: 1.25rem !important; }
.tp-woo .wc-block-cart-item__image img { width: 96px; max-width: none; aspect-ratio: 4 / 3; object-fit: cover; }
.tp-woo .wc-block-cart-items .wc-block-cart-item__image { width: 112px; }
.tp-woo .wc-block-components-quantity-selector { min-height: 48px; width: 132px; }
.tp-woo .wc-block-components-quantity-selector input, .tp-woo .wc-block-components-quantity-selector button { min-height: 44px; font-size: 1.125rem !important; opacity: 1 !important; }
.tp-woo .wc-block-cart-item__remove-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink) !important; text-decoration: underline 1px; text-underline-offset: 0.2em; }
.tp-woo .wc-block-formatted-money-amount, .tp-woo .wc-block-components-totals-item__value { text-transform: none; }
.tp-woo .wc-block-components-checkout-order-summary__title-text, .tp-woo .wc-block-cart__totals-title { font: 700 1.5rem/1.1 var(--display) !important; letter-spacing: 0.02em; text-transform: uppercase; }
.tp-woo .wc-block-components-text-input input, .tp-woo .wc-blocks-components-select__select, .tp-woo .wc-block-components-combobox input { min-height: 58px; }
.tp-woo .wc-block-components-address-form__address_2-toggle, .tp-woo .wc-block-checkout__terms a { text-decoration: underline 2px var(--ink); text-underline-offset: 0.25em; color: var(--ink); }
.shop-finder .field { align-content: center; }
.shop-finder .finder { align-items: center; }

/* The chosen combination's price is shown at the top, so WooCommerce's own copy under the options is not needed. */
.buy .woocommerce-variation-price { display: none; }

/* ================= After the second design review ================= */

/* The option groups and the buy row fill the column, like the price and the trust lines. */
.buy form.cart, .buy table.variations, .buy table.variations tbody, .buy table.variations tr, .buy table.variations td, .buy table.variations th { display: block; width: 100%; }
.buy .seg { width: 100%; }
.buy .single_variation_wrap { margin-top: 20px; }
.buy .woocommerce-variation-add-to-cart, .buy form.cart:not(.variations_form) { margin-top: 20px; }
.buy .single_variation { margin: 0; }

/* Small pictures: an even gap to the main picture, the frame drawn inside, four across on a phone. */
.pdp .flex-control-thumbs { margin-top: 12px; }
.pdp .flex-control-thumbs img { border: 0; outline: 2px solid transparent; outline-offset: -2px; }
.pdp .flex-control-thumbs img.flex-active, .pdp .flex-control-thumbs img:hover { outline-color: var(--ink); }
@media (max-width: 900px) { .pdp .flex-control-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Two light sections in a row share one gap instead of stacking two. */
.band--light + .band--light { padding-top: 0; }

/* Fitting the kit without a film: links in the heading row, "The kit" below in two columns. */
.install-head-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.install--text .ticks { columns: 2; column-gap: clamp(24px, 5vw, 72px); }
.install--text .ticks li { break-inside: avoid; }
.install--text > div { max-width: none; }
@media (max-width: 760px) { .install--text .ticks { columns: 1; } }

/* The product's own text: spacing between its parts, square markers. */
.pdp-desc .tp-content p { margin: 0 0 1em; }
.pdp-desc .tp-content div > div:not(:empty), .pdp-desc .tp-content div > p { margin-bottom: 1em; }
.pdp-desc .tp-content div:empty { display: none; }
.pdp-desc .tp-content ul { list-style: square; padding-left: 1.2em; }
.pdp-desc .tp-content li + li { margin-top: 0.6em; }
.pdp-desc .tp-content h3 { margin: 1.4em 0 0.5em; }

/* Makes on a phone: the row starts at the page edge and scrolls. */
@media (max-width: 620px) {
  .makes { margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
  .makes::after { content: ""; flex: 0 0 1px; }
}

/* Cart */
.tp-woo .wc-block-cart__totals-title { display: block !important; }
@media (max-width: 700px) {
  .tp-woo .wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 80px minmax(0, 1fr) !important; column-gap: 14px; }
  .tp-woo .wc-block-cart-items .wc-block-cart-item__image { width: 80px; padding-right: 0; }
  .tp-woo .wc-block-cart-item__image img { width: 80px; }
  .tp-woo .wc-block-cart-items .wc-block-cart-item__total { grid-column: 2; grid-row: auto; text-align: left; padding: 0 0 16px; }
  .tp-woo .wc-block-cart-item__total-price-and-sale-badge-wrapper { align-items: flex-start; }
  .tp-woo .wc-block-cart-item__prices { display: none; }
}

/* Checkout: one frame round the order summary, square corners, even field heights. */
.tp-woo .wp-block-woocommerce-checkout-order-summary-block { border: 1px solid var(--bone-line) !important; border-radius: 0 !important; background: var(--white); }
.tp-woo .wc-block-components-checkout-order-summary__title { border: 0 !important; padding: 18px 16px !important; margin: 0; }
.tp-woo .wc-block-components-checkout-order-summary__content, .tp-woo .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper { border-radius: 0 !important; }
.tp-woo .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary, .tp-woo .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel { border: 0 !important; border-radius: 0 !important; }
.tp-woo .wc-block-components-order-summary-item { border-radius: 0 !important; }
.tp-woo .wc-block-components-order-summary-item__description { min-width: 0; }
.tp-woo .wc-block-components-text-input input, .tp-woo .wc-block-components-text-input input[type], .tp-woo .wc-blocks-components-select__select, .tp-woo .wc-block-components-combobox input { height: 58px !important; min-height: 58px; border-radius: 2px !important; }
.tp-woo .wc-block-checkout__actions { margin-top: 24px; }
.tp-woo .wc-block-checkout__terms a, .tp-woo .wc-block-components-checkbox a { text-decoration: underline 2px var(--ink); text-underline-offset: 0.25em; color: var(--ink); }

/* Cart on a phone: the line total sits under the name, not on top of it. Checkout: one frame, not two. */
@media (max-width: 700px) {
  .tp-woo table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 2 !important; grid-row: 2 !important; text-align: left; padding: 0 0 16px; }
  .tp-woo table.wc-block-cart-items .wc-block-cart-item__prices { display: none !important; }
}
.tp-woo .wc-block-checkout__sidebar { border: 0 !important; padding: 0 !important; background: transparent !important; }

/* ================= After the third design review ================= */
.install-head-links br, .band-head br { display: none; }
#reviews .reviews > .review:first-of-type { margin-top: 0; }
.pdp-desc .tp-content ul { margin-bottom: 1em; }
.card-text b, .tp-woo .wc-block-components-product-name, .result-kit b { text-wrap: balance; }
/* Checkout on a phone: the summary above the button is one square frame. */
.tp-woo .checkout-order-summary-block-fill-wrapper { border: 0 !important; background: transparent !important; padding-bottom: 24px !important; }
.tp-woo .checkout-order-summary-block-fill { border: 1px solid var(--bone-line) !important; border-radius: 0 !important; background: var(--white); }
.tp-woo .wc-block-cart__totals-title { padding-bottom: 12px; }
.tp-woo .wc-block-components-order-summary-item__description { flex: 1 1 auto; }
/* The product's own text and the reviews keep to the same column as the headings above them. */
.pdp-desc .tp-content, .band#reviews > .reviews { max-width: var(--max); margin-inline: auto; }

/* Air between the main product picture and the small ones (WooCommerce resets the margin with its own, more specific rule). */
.pdp .woocommerce-product-gallery .flex-control-thumbs { margin-top: 8px !important; }

/* The explanation of a rear peg height, right under the choice. */
.buy .opt-hint { margin-top: 10px; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.buy .opt-hint:empty { display: none; }
.buy .opt-hint a { color: var(--ink); font-weight: 600; text-decoration: underline 2px var(--ink); text-underline-offset: 0.25em; }
.buy .opt-hint a:hover { text-decoration-color: var(--gold); text-decoration-thickness: 4px; }
.buy ul.trust a { font-weight: 600; text-decoration: underline 2px var(--ink); text-underline-offset: 0.25em; white-space: nowrap; }
.buy ul.trust a:hover { text-decoration-color: var(--gold); text-decoration-thickness: 4px; }

/* Less air between the sections of a product page: they are read one after the other. */
main:has(> .pdp-band) { --sec: clamp(48px, 6vw, 88px); }
/* The buying part and a light section after it share a background: one gap between them, not two. */
.pdp-band + .band--light { padding-top: 0; }

/* The large product picture opens full screen on a click. */
.pdp .woocommerce-product-gallery__image a { cursor: zoom-in; display: block; }

/* ================= Classic cart and checkout =================
   The shop uses the classic cart and checkout of WooCommerce: the currency switcher and the extra
   checkout fields need them. These rules give them the look of the rest of the site. */
.tp-woo .woocommerce { color: var(--ink); }
.tp-woo .woocommerce a { color: var(--ink); }
.tp-woo .woocommerce h2, .tp-woo .woocommerce h3 { font: 700 1.5rem/1.1 var(--display); text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }
.tp-woo .woocommerce table.shop_table { width: 100%; margin: 0; border: 0; border-radius: 0; border-collapse: collapse; background: none; }
.tp-woo .woocommerce table.shop_table th, .tp-woo .woocommerce table.shop_table td { border: 0; border-bottom: 1px solid var(--bone-line); padding: 16px 12px 16px 0; color: var(--ink); text-align: left; vertical-align: middle; font-size: 1.0625rem; line-height: 1.4; }
.tp-woo .woocommerce table.shop_table thead th { font: 600 0.9375rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.tp-woo .woocommerce table.shop_table th:last-child, .tp-woo .woocommerce table.shop_table td:last-child { padding-right: 0; }
.tp-woo .woocommerce .amount { white-space: nowrap; }

/* Cart: the items to the left, the totals to the right. */
.tp-woo .woocommerce:has(> .woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.tp-woo .woocommerce:has(> .woocommerce-cart-form) > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.tp-woo .woocommerce-cart-form .product-name a { font: 600 1.25rem/1.3 var(--text); text-decoration: none; }
.tp-woo .woocommerce-cart-form .product-name a:hover { text-decoration: underline 3px var(--gold); text-underline-offset: 0.18em; }
.tp-woo .woocommerce dl.variation { margin: 6px 0 0; font-size: 0.9375rem; color: var(--muted); }
.tp-woo .woocommerce dl.variation dt, .tp-woo .woocommerce dl.variation dd { display: inline; margin: 0; font-weight: 400; float: none; }
.tp-woo .woocommerce dl.variation dd p { display: inline; margin: 0; }
.tp-woo .woocommerce dl.variation dd::after { content: ""; display: block; }
.tp-woo .woocommerce-cart-form td.product-thumbnail { width: 112px; }
.tp-woo .woocommerce-cart-form td.product-thumbnail img { display: block; width: 96px; max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tp-woo .woocommerce-cart-form td.product-remove { width: 44px; padding-right: 4px; }
.tp-woo .woocommerce-cart-form a.remove { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 0; font-size: 1.75rem; font-weight: 400; color: var(--ink) !important; text-decoration: none; background: none; }
.tp-woo .woocommerce-cart-form a.remove:hover { background: var(--ink); color: var(--white) !important; }
.tp-woo .woocommerce .quantity .qty { width: 84px; height: 48px; padding: 0 8px; text-align: center; }
.tp-woo .woocommerce-cart-form td.actions { padding: 20px 0 0; border-bottom: 0; }
.tp-woo .woocommerce-cart-form td.actions .coupon { display: flex; gap: 10px; float: left; }
.tp-woo .woocommerce-cart-form td.actions .coupon .input-text { width: 180px !important; height: 52px; margin: 0 !important; padding: 0 14px !important; }
.tp-woo .woocommerce-cart-form td.actions .button { min-height: 52px; padding: 0 22px; font-size: 1.0625rem; background: none; color: var(--ink); border: 2px solid var(--ink); }
.tp-woo .woocommerce-cart-form td.actions .button:hover { background: var(--ink); color: var(--white); }
.tp-woo .woocommerce-cart-form td.actions .button:disabled, .tp-woo .woocommerce-cart-form td.actions .button[disabled] { opacity: 0.45; padding: 0 22px; }
.tp-woo .woocommerce .cart-collaterals, .tp-woo .woocommerce .cart-collaterals .cart_totals { width: 100%; float: none; }
.tp-woo .woocommerce .cart_totals, .tp-woo .woocommerce #order_review { background: var(--white); border: 1px solid var(--bone-line); padding: 22px 24px 24px; }
.tp-woo .woocommerce .cart_totals table.shop_table th { width: 40%; font-weight: 600; }
.tp-woo .woocommerce .cart_totals table.shop_table td { text-align: right; padding-right: 0; }
.tp-woo .woocommerce .order-total th, .tp-woo .woocommerce .order-total td { font-size: 1.25rem !important; font-weight: 700; border-bottom: 0 !important; }
.tp-woo .woocommerce .wc-proceed-to-checkout { padding: 16px 0 0; }
.tp-woo .woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; align-items: center; justify-content: center; margin: 0; width: 100%; min-height: 58px; color: var(--ink); }
.tp-woo .woocommerce ul#shipping_method { margin: 0; padding: 0; list-style: none; text-align: left; }
.tp-woo .woocommerce ul#shipping_method li { margin: 0 0 8px; display: flex; gap: 8px; align-items: baseline; }
.tp-woo .woocommerce ul#shipping_method li label { font-weight: 400; }
.tp-woo .woocommerce .woocommerce-shipping-destination, .tp-woo .woocommerce .woocommerce-shipping-calculator { font-size: 0.9375rem; color: var(--muted); text-align: left; }
.tp-woo .woocommerce .cart-empty { margin-bottom: 20px; }

/* Checkout: the customer details to the left, the order and payment to the right. */
.tp-woo form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: 8px clamp(32px, 5vw, 72px); align-items: start; }
.tp-woo form.checkout > * { grid-column: 1 / -1; }
.tp-woo form.checkout > #customer_details { grid-column: 1; grid-row: span 3; }
.tp-woo form.checkout > #order_review_heading { grid-column: 2; margin: 0; padding: 22px 24px 0; background: var(--white); border: 1px solid var(--bone-line); border-bottom: 0; }
.tp-woo form.checkout > #order_review { grid-column: 2; border-top: 0; padding-top: 12px; position: sticky; top: calc(var(--header) + 16px); }
.tp-woo .woocommerce #customer_details .col-1, .tp-woo .woocommerce #customer_details .col-2 { float: none; width: 100%; }
.tp-woo .woocommerce #customer_details .col-2 { margin-top: 28px; }
.tp-woo .woocommerce .woocommerce-additional-fields h3 { margin-top: 28px; }
.tp-woo .woocommerce #ship-to-different-address { font-size: 1.125rem; margin: 0; }
.tp-woo .woocommerce #ship-to-different-address label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.tp-woo .woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.tp-woo .woocommerce form .form-row-first, .tp-woo .woocommerce form .form-row-last { width: calc(50% - 8px); }
.tp-woo .woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 1rem; line-height: 1.3; color: var(--ink); }
.tp-woo .woocommerce form .form-row .required { color: var(--red); text-decoration: none; }
.tp-woo .woocommerce form .form-row input.input-text, .tp-woo .woocommerce form .form-row textarea, .tp-woo .woocommerce form .form-row select { width: 100%; min-height: 52px; margin: 0; }
.tp-woo .woocommerce form .form-row textarea { min-height: 96px; padding-top: 12px; }
.tp-woo .woocommerce .select2-container .select2-selection--single { height: 52px; border: 2px solid var(--ink); border-radius: 2px; background: var(--white); }
.tp-woo .woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 48px; padding-left: 14px; color: var(--ink); font-size: 1.0625rem; }
.tp-woo .woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }
.select2-dropdown { border: 2px solid var(--ink); border-radius: 0; color: var(--ink); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ink); color: var(--white); }
.tp-woo .woocommerce input[type="checkbox"], .tp-woo .woocommerce input[type="radio"] { width: 20px; height: 20px; margin: 0 8px 0 0; accent-color: var(--ink); flex: none; vertical-align: -3px; }
.tp-woo .woocommerce-checkout-review-order-table .product-name { font-weight: 400; }
.tp-woo .woocommerce-checkout-review-order-table td.product-total, .tp-woo .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.tp-woo .woocommerce-checkout-review-order-table tfoot th { font-weight: 600; }
.tp-woo .woocommerce #payment { background: none; border-radius: 0; margin-top: 8px; }
.tp-woo .woocommerce #payment ul.payment_methods { padding: 12px 0; margin: 0; border-bottom: 1px solid var(--bone-line); list-style: none; }
.tp-woo .woocommerce #payment ul.payment_methods li { margin: 0; padding: 10px 0; line-height: 1.4; }
.tp-woo .woocommerce #payment ul.payment_methods li label { display: inline; font-weight: 600; font-size: 1.0625rem; cursor: pointer; }
.tp-woo .woocommerce #payment ul.payment_methods li img { max-height: 26px; width: auto; margin: 0 0 0 8px; vertical-align: middle; float: none; }
.tp-woo .woocommerce #payment div.payment_box { margin: 10px 0 0; padding: 12px 14px; background: var(--bone); color: var(--ink); font-size: 0.9375rem; border-radius: 0; }
.tp-woo .woocommerce #payment div.payment_box::before { display: none; }
.tp-woo .woocommerce #payment .place-order { padding: 16px 0 0; margin: 0; }
.tp-woo .woocommerce #payment .place-order label, .tp-woo .woocommerce #payment .place-order p { font-size: 0.9375rem; line-height: 1.5; }
.tp-woo .woocommerce #payment #place_order { float: none; display: block; width: 100%; min-height: 58px; margin-top: 16px; }
.tp-woo .woocommerce .woocommerce-privacy-policy-text p, .tp-woo .woocommerce .woocommerce-terms-and-conditions-wrapper { font-size: 0.9375rem; color: var(--muted); }
.tp-woo .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 20px; }
.tp-woo .woocommerce form.checkout_coupon { border: 1px solid var(--bone-line); border-radius: 0; background: var(--white); padding: 18px 20px; margin: 0 0 24px; }
.tp-woo .woocommerce .woocommerce-invalid input.input-text, .tp-woo .woocommerce .woocommerce-invalid .select2-selection { border-color: var(--red) !important; }

@media (max-width: 900px) {
  .tp-woo .woocommerce:has(> .woocommerce-cart-form), .tp-woo form.checkout { grid-template-columns: minmax(0, 1fr); }
  .tp-woo form.checkout > #customer_details, .tp-woo form.checkout > #order_review_heading, .tp-woo form.checkout > #order_review { grid-column: 1; grid-row: auto; }
  .tp-woo form.checkout > #order_review { position: static; }
  .tp-woo form.checkout > #order_review_heading { margin-top: 24px; }
}
@media (max-width: 768px) {
  /* WooCommerce turns the cart table into stacked rows here; keep them tidy. */
  .tp-woo .woocommerce table.shop_table_responsive tr td { padding: 10px 0; text-align: right !important; }
  .tp-woo .woocommerce table.shop_table_responsive tr td::before { font: 600 0.875rem/1.6 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
  .tp-woo .woocommerce-cart-form table.cart tr.cart_item { display: block; padding: 12px 0; border-bottom: 2px solid var(--ink); }
  .tp-woo .woocommerce-cart-form table.cart td.product-thumbnail { display: block; width: auto; text-align: left !important; }
  .tp-woo .woocommerce-cart-form table.cart td.product-thumbnail::before { display: none; }
  .tp-woo .woocommerce-cart-form td.product-remove { width: auto; text-align: right !important; }
  .tp-woo .woocommerce-cart-form td.actions .coupon { float: none; margin-bottom: 12px; }
  .tp-woo .woocommerce-cart-form td.actions .coupon .input-text { flex: 1; width: auto !important; }
  .tp-woo .woocommerce-cart-form td.actions > .button { width: 100%; }
  .tp-woo .woocommerce form .form-row-first, .tp-woo .woocommerce form .form-row-last { width: 100%; float: none; }
}

/* Classic cart and checkout: adjustments after the first look. */
.tp-woo .woocommerce, .woocommerce-cart .tp-woo .woocommerce, .woocommerce-checkout .tp-woo .woocommerce { max-width: none; width: 100%; }
.tp-woo .woocommerce table.shop_table th, .tp-woo .woocommerce table.shop_table td { font-family: var(--text); letter-spacing: 0; text-transform: none; }
.tp-woo .woocommerce table.shop_table thead th { font-family: var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.tp-woo .woocommerce-cart-form .product-name a { font-family: var(--text); letter-spacing: 0; text-transform: none; }
.tp-woo .woocommerce-message, .tp-woo .woocommerce-info, .tp-woo .woocommerce-error { outline: 0; box-shadow: none; border: 1px solid var(--bone-line); border-left: 4px solid var(--gold); background: var(--white); color: var(--ink); border-radius: 0; }
.tp-woo .woocommerce-error { border-left-color: var(--red); }
.tp-woo .woocommerce-message::before, .tp-woo .woocommerce-info::before, .tp-woo .woocommerce-error::before { display: none; }
.tp-woo form.checkout { row-gap: 0; }
.tp-woo form.checkout > .woocommerce-NoticeGroup, .tp-woo form.checkout > .woocommerce-error { margin-bottom: 20px; }
.tp-woo .woocommerce .select2-container .select2-selection--single .select2-selection__rendered { display: block; height: 48px; padding: 0 36px 0 14px; line-height: 48px; }
.tp-woo .woocommerce .select2-container { width: 100% !important; }
.tp-woo .wc-block-components-notice-banner, .tp-woo .wc-block-components-notice-banner:focus, .tp-woo .wc-block-components-notice-banner:focus-visible { outline: 0; box-shadow: none; border: 1px solid var(--bone-line); border-left: 4px solid var(--gold); background: var(--white); color: var(--ink); border-radius: 0; }
.tp-woo .wc-block-components-notice-banner.is-error { border-left-color: var(--red); }
.tp-woo .wc-block-components-notice-banner > svg { display: none; }

/* The currency chooser in the header, before the cart. */
.header .currency { flex: none; margin: 0; display: flex; align-items: center; }
.header .currency select { height: 44px; padding: 0 30px 0 12px; border: 2px solid var(--line); border-radius: 2px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 10px center / 10px; color: var(--white); font: 600 1.0625rem/1 var(--display); letter-spacing: 0.06em; appearance: none; -webkit-appearance: none; cursor: pointer; }
.header .currency select:hover, .header .currency select:focus-visible { border-color: var(--gold); }
.header .currency select option { color: var(--ink); background: var(--white); }
@media (max-width: 900px) {
  .header .currency { margin-left: auto; }
  .header .currency select { height: 40px; padding: 0 26px 0 10px; font-size: 1rem; }
  .header > p:has(.cart) { margin-left: 0; }
  .header .cart { margin-left: 0; }
}
/* Narrow desktop windows: the menu, the currency chooser and the cart share one line. */
@media (min-width: 901px) and (max-width: 1120px) {
  .header { gap: 12px; }
  .header .nav { gap: 13px; }
  .header .nav a, .header .cart, .header .currency select { font-size: 0.9375rem; letter-spacing: 0.03em; }
  .header .logo img { height: 60px; }
  .header .cart { padding-inline: 12px; }
  .header .currency select { padding: 0 24px 0 8px; background-position: right 8px center; }
}
.tp-woo .woocommerce form .form-row select { height: 52px; padding: 0 36px 0 14px; line-height: normal; }
