/*
Theme Name: Tailuvo
Theme URI: https://tailuvo.com/
Author: Tailuvo
Description: A lightweight, product-first WooCommerce storefront for practical pet essentials.
Version: 2.5.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: tailuvo
*/

/* One stylesheet, one type scale. Source Inter fonts are hosted with the theme. */
@font-face { font-family: "Tailuvo Inter"; src: url("assets/fonts/inter-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tailuvo Inter"; src: url("assets/fonts/inter-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --tlv-navy: #173e86;
  --tlv-navy-deep: #102e66;
  --tlv-ink: #24282d;
  --tlv-muted: #626870;
  --tlv-paper: #fff;
  --tlv-cream: #faf9f6;
  --tlv-sky: #f1f5f9;
  --tlv-line: #d8dce1;
  --tlv-shell: 1160px;
  --tlv-radius: 8px;
  --tlv-font: "Tailuvo Inter", Arial, sans-serif;
  --tlv-space-1: 4px;
  --tlv-space-2: 8px;
  --tlv-space-3: 12px;
  --tlv-space-4: 16px;
  --tlv-space-5: 24px;
  --tlv-space-6: 32px;
  --tlv-space-7: 48px;
  --tlv-space-8: 64px;
  --tlv-space-9: 96px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tlv-paper); color: var(--tlv-ink); font-family: var(--tlv-font); font-size: 16px; font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--tlv-navy); outline-offset: 4px; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2, h3, [id] { scroll-margin-top: 32px; }
strong, b { font-weight: 700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed !important; z-index: 200; top: 12px; left: 12px; width: auto; height: auto; padding: 16px; clip: auto; clip-path: none; background: #fff; color: var(--tlv-ink); }
.tlv-shell, .tlv-woo-shell { width: min(calc(100% - 96px), var(--tlv-shell)); margin-inline: auto; }
.tlv-main, .tlv-woo-shell { min-height: 55vh; }
.tlv-section { padding-block: var(--tlv-space-9); }
.tlv-kicker { margin: 0 0 20px; color: var(--tlv-muted); font-size: 13px; letter-spacing: .015em; }
.tlv-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 12px;
  padding: 12px 24px; border: 1px solid var(--tlv-navy); border-radius: 6px;
  background: var(--tlv-navy); color: #fff; font-size: 14px; font-weight: 400; line-height: 1.4; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.tlv-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--tlv-navy-deep); border-color: var(--tlv-navy-deep); color: #fff; }
.tlv-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--tlv-ink); font-size: 14px; text-decoration: none; }
.tlv-text-link:hover { text-decoration: underline; }

/* Header: compact, open, and free of ornamental rules. */
.tlv-site-header { position: relative; z-index: 80; background: #fff; }
.tlv-header-top { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 96px; align-items: center; gap: 24px; }
.tlv-header-left, .tlv-header-actions { display: flex; align-items: center; gap: 4px; }
.tlv-header-actions { justify-content: flex-end; }
.tlv-logo { display: block; }
.tlv-logo img { width: 148px; max-height: 64px; object-fit: contain; }
.tlv-icon-button { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: var(--tlv-ink); text-decoration: none; }
.tlv-icon-button:hover { color: var(--tlv-navy); }
.tlv-icon-button svg { width: 21px; height: 21px; stroke-width: 1.5; }
.tlv-search-label, .tlv-menu-toggle { display: none; }
.tlv-cart-link { position: relative; }
.tlv-cart-count { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 50%; background: var(--tlv-sky); color: var(--tlv-navy); font-size: 10px; line-height: 16px; text-align: center; }
.tlv-primary-nav ul { display: flex; min-height: 48px; justify-content: center; align-items: center; gap: 32px; margin-block: 0; padding: 0 0 12px; list-style: none; }
.tlv-primary-nav a { display: block; padding-block: 8px; color: #4c5158; font-size: 13px; text-decoration: none; }
.tlv-primary-nav a:hover, .tlv-primary-nav a[aria-current="page"] { color: var(--tlv-navy); }
.tlv-search-panel { position: absolute; inset: 0; z-index: 90; display: none; align-items: center; background: #fff; }
.tlv-search-panel.is-open { display: flex; }
.tlv-search-form { display: flex; width: min(calc(100% - 48px), 760px); margin: auto; gap: 12px; }
.tlv-search-form input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--tlv-line); border-radius: 6px; background: #fff; }

/* Home: retain the Tailuvo imagery and category structure. */
.tlv-hero { background: var(--tlv-cream); }
.tlv-hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: var(--tlv-space-8); padding-block: var(--tlv-space-8); }
.tlv-hero-copy { max-width: 440px; }
.tlv-hero h1 { margin: 0; color: var(--tlv-navy); font-size: clamp(40px, 4.25vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
.tlv-hero-lede { max-width: 400px; margin: 24px 0 32px; color: var(--tlv-muted); font-size: 16px; line-height: 1.75; }
.tlv-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.tlv-hero-art { overflow: hidden; border-radius: var(--tlv-radius); }
.tlv-hero-art img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.tlv-section-head { margin-bottom: var(--tlv-space-7); }
.tlv-section-head h2 { margin: 0; font-size: 36px; }
.tlv-section-head > p { max-width: 560px; margin: 16px 0 0; color: var(--tlv-muted); }
/* Source Shopify category composition: three cards, then two centered. */
.tlv-routines.tlv-section { padding: 84px 0 88px; background: #f8f3ef; }
.tlv-routines .tlv-section-head { max-width: 700px; margin-bottom: 36px; }
.tlv-routines .tlv-section-head .tlv-kicker { margin: 0 0 14px; color: #123b93; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.tlv-routines .tlv-section-head h2 { color: #123b93; font-size: clamp(36px,4vw,54px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.tlv-routine-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 34px 22px; }
.tlv-routine-card { position: relative; display: block; min-width: 0; grid-column: span 2; padding-bottom: 24px; color: #123b93; text-decoration: none; }
.tlv-routine-card:nth-child(4) { grid-column: 2 / span 2; }
.tlv-routine-card:nth-child(5) { grid-column: 4 / span 2; }
.tlv-routine-image { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 18px; background: #f8f3ef; }
.tlv-routine-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tlv-routine-title { position: absolute; z-index: 2; left: 14px; bottom: 0; display: inline-flex; max-width: calc(100% - 28px); min-height: 46px; align-items: center; padding: 9px 0 10px; font-size: 22px; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .tlv-routine-card:hover img { transform: scale(1.025); } }
.tlv-manifesto { padding: 48px 0; background: var(--tlv-cream); }
.tlv-manifesto .tlv-shell { display: grid; grid-template-columns: .65fr 2fr; align-items: start; gap: 64px; }
.tlv-manifesto .tlv-section-head { margin: 0; }
.tlv-manifesto h2 { font-size: 28px; }
.tlv-value-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.tlv-value-list h3 { margin: 0 0 12px; font-size: 16px; letter-spacing: -.01em; }
.tlv-value-list p { margin: 0; color: var(--tlv-muted); font-size: 14px; line-height: 1.7; }
.tlv-product-routine + .tlv-product-routine { margin-top: 80px; }
.tlv-routine-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.tlv-routine-heading h3 { margin: 0; font-size: 24px; }
.tlv-product-grid, .woocommerce ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 48px 24px; margin: 0; padding: 0; list-style: none; }
.tlv-product-card, .woocommerce ul.products li.product { min-width: 0; }
.tlv-product-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: var(--tlv-cream); border-radius: var(--tlv-radius); }
.tlv-product-image { width: 100%; height: 100% !important; margin: 0 !important; object-fit: cover; transition: opacity .2s ease; }
.tlv-product-image--secondary { position: absolute; inset: 0; opacity: 0; }
@media (hover:hover) and (pointer:fine) {
  .tlv-product-media:hover .tlv-product-image--primary:has(+ .tlv-product-image--secondary) { opacity: 0; }
  .tlv-product-media:hover .tlv-product-image--secondary { opacity: 1; }
}
.tlv-product-badge { position: absolute; z-index: 4; top: 12px; left: 12px; padding: 4px 8px; border-radius: 4px; background: #fff; color: var(--tlv-ink); font-size: 12px; }
.tlv-product-card-body { padding-top: 16px; }
.tlv-product-name { margin: 0 0 8px; font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-wrap: pretty; }
.tlv-product-name a { text-decoration: none; }
.tlv-product-name a:hover { text-decoration: underline; }
.tlv-product-price { color: var(--tlv-muted); font-size: 14px; font-weight: 400; font-variant-numeric: tabular-nums; }
.price ins, .tlv-product-price ins { text-decoration: none; }
.price del, .tlv-product-price del { color: var(--tlv-muted); margin-right: 4px; }

/* Newsletter and footer. */
.tlv-newsletter { padding-block: 64px; background: var(--tlv-sky); }
.tlv-newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 96px; }
.tlv-newsletter h2 { margin: 0; font-size: 32px; }
.tlv-newsletter-copy p { max-width: 400px; margin: 16px 0 0; color: var(--tlv-muted); font-size: 14px; }
.tlv-newsletter-form label { display: block; margin-bottom: 12px; font-size: 13px; }
.tlv-newsletter-row { display: flex; gap: 8px; }
.tlv-newsletter-form input[type="email"] { flex: 1; width: 100%; min-width: 0; min-height: 48px; padding: 12px 16px; border: 1px solid var(--tlv-line); border-radius: 6px; background: #fff; }
.tlv-newsletter-form button { padding: 12px 20px; border: 1px solid var(--tlv-navy); border-radius: 6px; background: var(--tlv-navy); color: #fff; font-size: 14px; }
.tlv-form-note { margin: 12px 0 0; color: var(--tlv-muted); font-size: 12px; }
.tlv-form-status { padding: 12px 16px; background: var(--tlv-sky); color: var(--tlv-ink); }
.tlv-site-footer { background: #fff; }
.tlv-footer-main { display: grid; grid-template-columns: 1.5fr 1fr .65fr; gap: 64px; padding-block: 80px 56px; }
.tlv-footer-logo { display: inline-block; margin-bottom: 24px; text-decoration: none; }
.tlv-footer-logo img { width: 128px; height: auto; }
.tlv-footer-brand p { max-width: 300px; margin: 0; color: var(--tlv-muted); font-size: 14px; }
.tlv-footer-col h3 { margin: 0 0 20px; font-size: 14px; letter-spacing: 0; }
.tlv-footer-col ul { margin: 0; padding: 0; list-style: none; }
.tlv-footer-col li + li { margin-top: 12px; }
.tlv-footer-col a { color: var(--tlv-muted); font-size: 13px; text-decoration: none; }
.tlv-footer-col a:hover, .tlv-policy-links a:hover { text-decoration: underline; }
.tlv-footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding-block: 0 40px; color: var(--tlv-muted); font-size: 11px; }
.tlv-policy-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
.tlv-policy-links a { text-decoration: none; }
.tlv-payment-badge { display: inline-block; margin-left: 12px; color: var(--tlv-navy); }

/* Collections and pagination, including native WooCommerce cards. */
.tlv-woo-shell { padding-block: 48px 96px; }
.woocommerce .woocommerce-breadcrumb { display: none; }
.woocommerce-products-header__title.page-title { margin: 0 0 32px; font-size: 40px; font-weight: 400; }
.woocommerce .term-description { max-width: 640px; margin: -8px 0 32px; color: var(--tlv-muted); }
.tlv-shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 0 0 40px; color: var(--tlv-muted); font-size: 13px; }
.tlv-shop-toolbar select { min-height: 44px; max-width: 100%; padding: 8px 28px 8px 0; border: 0; background: transparent; color: inherit; }
.tlv-shop-toolbar strong { margin-left: auto; font-weight: 400; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 0; list-style: none; }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { display: block; text-decoration: none; }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link img { width: 100%; margin: 0 0 16px; aspect-ratio: 1; object-fit: cover; border-radius: var(--tlv-radius); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-wrap: pretty; }
.woocommerce ul.products li.product .price { display: block; margin: 0; color: var(--tlv-muted); font-size: 14px; font-weight: 400; }
.woocommerce ul.products li.product > a.button, .woocommerce span.onsale { display: none; }
.woocommerce nav.woocommerce-pagination { margin-top: 64px; }
.woocommerce nav.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; border: 0; list-style: none; }
.woocommerce nav.woocommerce-pagination ul li { margin: 0; padding: 0; border: 0; list-style: none; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { display: block; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 4px; font-size: 14px; line-height: 44px; text-align: center; text-decoration: none; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--tlv-sky); color: var(--tlv-navy); }
.woocommerce nav.woocommerce-pagination a:hover { background: var(--tlv-cream); }

/* Product: restore the source Shopify buying panel and description container. */
.single-product { --tlv-pdp-blue: #123b93; --tlv-pdp-ink: #17181c; --tlv-pdp-font: ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.single-product .tlv-woo-shell { padding-block: 24px 96px; }
.single-product .woocommerce-breadcrumb { display: block; margin: 0 0 20px; color: #747985; font-family: var(--tlv-pdp-font); font-size: 12px; font-weight: 600; line-height: 1.5; }
.single-product .woocommerce-breadcrumb a { color: var(--tlv-pdp-blue); text-decoration: none; }
.single-product .woocommerce-breadcrumb a:hover { text-decoration: underline; }
.single-product div.product { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); column-gap: 80px; row-gap: 0; align-items: start; }
.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { float: none !important; width: 100% !important; min-width: 0; margin: 0; position: static; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; overflow: hidden; border-radius: 18px; background: var(--tlv-cream); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.single-product div.product .flex-control-thumbs li { width: auto !important; margin: 0; padding: 0; list-style: none; }
.single-product div.product .flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid #dfe3ea; border-radius: 12px; opacity: .8; cursor: pointer; }
.single-product div.product .flex-control-thumbs img.flex-active { border: 2px solid var(--tlv-pdp-blue); opacity: 1; }
.single-product div.product .summary { padding: clamp(28px,2.5vw,32px); border: 1px solid rgba(23,24,28,.1); border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(18,34,63,.05); font-family: var(--tlv-pdp-font); color: var(--tlv-pdp-ink); }
.single-product .product_title { margin: 0 0 12px; color: var(--tlv-pdp-ink); font-family: var(--tlv-pdp-font); font-size: clamp(32px,2.55vw,40px); font-weight: 650; line-height: 1.08; letter-spacing: -.032em; }
.single-product div.product p.price { margin: 0 0 8px; color: var(--tlv-pdp-blue); font-size: clamp(28px,2.15vw,32px); font-weight: 650; line-height: 1.15; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tlv-price-fraction { font-size: .55em; font-weight: 550; letter-spacing: -.01em; }
.tlv-price-currency { display: inline-block; margin-left: 8px; color: #6f7682; font-size: 10px; font-weight: 650; letter-spacing: .08em; }
.single-product .summary > .price del { opacity: .7; font-size: 16px; }
.single-product .summary > .price ins { text-decoration: none; }
.tlv-product-tax-note { margin: 0 0 18px; color: #6a6e78; font-size: 12px; line-height: 1.45; }
.tlv-product-tax-note a { color: inherit; }
.single-product .woocommerce-product-details__short-description, .single-product .product_meta, .single-product .woocommerce-product-gallery__trigger, .single-product .flex-direction-nav { display: none !important; }
.woocommerce div.product form.cart { margin: 0; }
.woocommerce div.product form.cart .variations { width: 100%; margin: 0 0 20px; border: 0; border-collapse: collapse; }
.woocommerce div.product form.cart .variations tr, .woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; }
.woocommerce div.product form.cart .variations tr + tr { margin-top: 20px; }
.woocommerce div.product form.cart .variations th { margin-bottom: 8px; }
.woocommerce div.product form.cart .variations label { color: var(--tlv-pdp-ink); font-size: 14px; font-weight: 650; line-height: 1.3; }
.woocommerce div.product form.cart .variations select { max-width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--tlv-line); border-radius: 9px; background: #fff; }
.tlv-select-enhanced { display: none !important; }
.tlv-visual-options { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.tlv-visual-option { min-width: 64px; max-width: 100%; min-height: 44px; padding: 11px 16px; border: 1px solid rgba(23,24,28,.16); border-radius: 9px; background: #fff; color: var(--tlv-pdp-ink); font-size: 13px; font-weight: 500; line-height: 1.35; }
.tlv-visual-option.is-selected { border-color: var(--tlv-pdp-blue); background: var(--tlv-pdp-blue); color: #fff; }
.tlv-visual-option:disabled { opacity: .35; text-decoration: line-through; }
.tlv-visual-options--images .tlv-visual-option { display: flex; width: 96px; min-width: 96px; height: 96px; flex-direction: column; align-items: center; justify-content: space-between; gap: 4px; padding: 5px; border-color: #dfe3ea; border-radius: 12px; background: #fff; color: #363942; font-size: 10.5px; font-weight: 600; line-height: 1.08; text-align: center; }
.tlv-visual-options--images .tlv-visual-option.is-selected { border-color: var(--tlv-pdp-blue); background: #fff; color: #363942; box-shadow: 0 0 0 2px rgba(18,59,147,.14); }
.tlv-visual-option img { width: 62px; height: 62px; object-fit: contain; border-radius: 8px; }
.woocommerce div.product form.cart .reset_variations { display: none !important; }
.woocommerce div.product form.cart .woocommerce-variation-price { display: none; }
.woocommerce-variation-description, .woocommerce-variation-availability { color: var(--tlv-muted); font-size: 13px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { display: grid; grid-template-columns: 150px minmax(0,1fr); align-items: end; gap: 12px; }
.woocommerce div.product form.cart .quantity { display: grid; position: relative; width: 100%; min-width: 0; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto 54px; padding-top: 28px; }
.woocommerce div.product form.cart .quantity label.screen-reader-text { position: static !important; grid-column: 1 / -1; width: auto; height: auto; margin: -28px 0 9px; overflow: visible; clip: auto; clip-path: none; white-space: normal; font-size: 14px; font-weight: 650; line-height: 19px; }
.woocommerce div.product form.cart input.qty { grid-column: 2; grid-row: 2; width: 100%; height: 54px; min-width: 0; margin: 0; padding: 0; border: 1px solid var(--tlv-line); border-right: 0; border-left: 0; border-radius: 0; appearance: textfield; background: #fff; color: var(--tlv-pdp-ink); text-align: center; font-size: 14px; font-weight: 750; }
.woocommerce div.product form.cart input.qty::-webkit-inner-spin-button, .woocommerce div.product form.cart input.qty::-webkit-outer-spin-button { appearance: none; margin: 0; }
.tlv-qty-button { grid-row: 2; padding: 0; border: 1px solid var(--tlv-line); border-radius: 10px 0 0 10px; border-right: 0; background: #fff; color: var(--tlv-muted); font-size: 18px; }
.tlv-qty-button:last-child { grid-column: 3; border: 1px solid var(--tlv-line); border-left: 0; border-radius: 0 10px 10px 0; }
.woocommerce div.product form.cart .single_add_to_cart_button { min-width: 0; min-height: 54px; margin: 0; padding: 12px; border: 0; border-radius: 10px; background: var(--tlv-pdp-blue); font-family: var(--tlv-pdp-font); font-size: 16px; font-weight: 700; line-height: 1.2; }
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: #174fae; }
.woocommerce div.product form.cart .single_add_to_cart_button.disabled { opacity: .5; }
/* Split a combined Shape & Color selector in the interface, not in product data. */
.woocommerce div.product form.cart .variations tr.tlv-combined-row > th { display: none; }
.tlv-split-options { display: grid; gap: 20px; }
.tlv-split-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.tlv-split-group legend { display: flex; justify-content: space-between; align-items: baseline; width: 100%; margin-bottom: 10px; padding: 0; font-size: 13px; font-weight: 700; }
.tlv-split-current { color: #68707c; font-size: 12px; font-weight: 500; }
.tlv-split-grid { display: grid; gap: 8px; }
.tlv-split-grid--shape { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.tlv-split-grid--color { grid-template-columns: repeat(6,minmax(0,1fr)); }
.tlv-split-option { display: flex; min-width: 0; min-height: 88px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 7px 4px 6px; border: 1px solid #dfe3ea; border-radius: 12px; background: #fff; color: #2d3139; font-size: 10px; font-weight: 650; line-height: 1.1; }
.tlv-split-option img { width: 100%; max-width: 54px; height: 54px; border-radius: 8px; object-fit: contain; }
.tlv-split-grid--shape .tlv-split-option { min-height: 92px; flex-direction: row; gap: 8px; padding: 9px; font-size: 13px; font-weight: 700; text-align: left; }
.tlv-split-grid--shape img { width: 64px; max-width: 46%; height: 64px; }
.tlv-split-option.is-selected { border-color: var(--tlv-pdp-blue); box-shadow: 0 0 0 2px rgba(18,59,147,.14); }
.tlv-split-option:disabled { opacity: .4; }
.tlv-pairs { margin-top: 22px; }
.tlv-pairs h2 { margin: 0 0 18px; font-size: 20px; font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.tlv-pair { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; align-items: center; margin-top: 16px; color: var(--tlv-pdp-ink); text-decoration: none; }
.tlv-pair > img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.tlv-pair strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.25; }
.tlv-pair-price { display: block; color: var(--tlv-pdp-blue); font-size: 25px; font-weight: 650; line-height: 1.2; letter-spacing: -.02em; }
.tlv-pair-price del { font-size: 15px; opacity: .7; }
.tlv-pair-price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin: clamp(56px,6vw,80px) 0 0; padding: clamp(30px,4vw,52px); border: 1px solid rgba(18,59,147,.12); border-radius: 24px; background: #fff; box-shadow: 0 18px 48px rgba(21,35,62,.07); font-family: var(--tlv-pdp-font); }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: none; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 0; }
.tlv-details-heading { margin-bottom: clamp(32px,4vw,52px); }
.tlv-details-heading p { margin: 0 0 12px; color: var(--tlv-pdp-blue); font-size: 11px; font-weight: 750; line-height: 1.2; letter-spacing: .11em; text-transform: uppercase; }
.tlv-details-heading h2 { margin: 0; color: var(--tlv-pdp-ink); font-size: clamp(28px,3vw,38px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.tlv-product-details-layout { display: grid; gap: clamp(48px,6vw,80px); }
.tlv-detail-block { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(34px,5vw,68px); }
.tlv-detail-block:nth-child(even) .tlv-detail-copy { grid-column: 1; grid-row: 1; }
.tlv-detail-block:nth-child(even) figure { grid-column: 2; }
.tlv-detail-block figure { margin: 0; overflow: hidden; border-radius: 20px; }
.tlv-detail-block figure img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tlv-detail-block--text { display: block; max-width: 720px; }
.tlv-detail-copy { color: #555a64; font-size: 16px; line-height: 1.72; }
.tlv-detail-copy h2, .tlv-detail-copy h3, .tlv-detail-copy h4 { margin: 0 0 16px; color: var(--tlv-pdp-ink); font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.tlv-detail-copy p { margin: 0 0 16px; }
.tlv-detail-copy ul, .tlv-detail-copy ol { margin: 16px 0; padding-left: 20px; }
.tlv-detail-copy li + li { margin-top: 8px; }
.tlv-detail-copy strong { color: var(--tlv-pdp-ink); font-weight: 700; }
.single-product .related, .single-product .upsells { grid-column: 1 / -1; margin-top: 96px; padding: 0; }
.single-product .related > h2, .single-product .upsells > h2 { margin: 0 0 40px; font-size: 28px; }

/* Ordinary pages and native WooCommerce checkout/account surfaces. */
.tlv-page, .tlv-search-page { padding-block: 64px 96px; }
.tlv-page article { max-width: 760px; }
.woocommerce-cart .tlv-page article, .woocommerce-checkout .tlv-page article { max-width: none; }
.tlv-page h1, .tlv-search-page h1 { margin: 0 0 40px; font-size: 40px; }
.tlv-entry-content { line-height: 1.8; }
.tlv-entry-content h2 { margin: 40px 0 16px; font-size: 26px; }
.tlv-entry-content h3 { margin: 32px 0 12px; font-size: 21px; }
.tlv-entry-content p, .tlv-entry-content li { color: var(--tlv-muted); }
.tlv-entry-content a { color: var(--tlv-navy); }
.tlv-entry-content .wc-block-components-button.wp-element-button:not(.is-link) { min-height: 48px; border: 1px solid var(--tlv-navy); border-radius: 4px; background: var(--tlv-navy); color: #fff; font-size: 14px; font-weight: 400; text-decoration: none; }
.tlv-entry-content .wc-block-components-button.wp-element-button:not(.is-link):hover { border-color: var(--tlv-navy-deep); background: var(--tlv-navy-deep); color: #fff; }
.tlv-contact-form { display: grid; gap: 24px; max-width: 680px; margin-top: 32px; }
.tlv-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tlv-contact-form label { display: grid; gap: 8px; font-size: 13px; }
.tlv-contact-form input, .tlv-contact-form textarea, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--tlv-line); border-radius: 4px; background: #fff; }
.tlv-contact-form textarea { min-height: 160px; resize: vertical; }
.woocommerce table.shop_table { width: 100%; border: 1px solid var(--tlv-line); border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 16px; text-align: left; }
.woocommerce .cart_totals, .woocommerce-checkout-review-order { margin-top: 32px; padding: 24px; background: var(--tlv-cream); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 20px 24px; border: 0; background: var(--tlv-sky); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--tlv-navy); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 32px; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { list-style: none; }
.tlv-search-results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.tlv-search-result { padding: 24px; background: var(--tlv-cream); }
.tlv-search-result h2 { margin: 0 0 16px; font-size: 21px; }
.tlv-search-result a { text-decoration: none; }

@media (max-width: 749px) {
  .single-product div.product .summary { padding: 20px 18px; }
  .woocommerce div.product .woocommerce-tabs { padding: 28px 20px; border-radius: 18px; }
  .woocommerce div.product form.cart .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { grid-template-columns: 110px minmax(0,1fr); }
  .woocommerce div.product form.cart .single_add_to_cart_button { font-size: 14px; }
  .tlv-split-grid--color { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .tlv-split-grid--shape .tlv-split-option { flex-direction: column; font-size: 12px; text-align: center; }
  .tlv-split-grid--shape img { max-width: 100%; }
}
/* Breakpoints follow the component rules, so desktop cannot override mobile. */
@media (max-width: 1100px) {
  .tlv-shell, .tlv-woo-shell { width: min(calc(100% - 64px), var(--tlv-shell)); }
  .tlv-primary-nav ul { gap: 24px; }
  .tlv-hero-grid { gap: 40px; }
  .single-product div.product { column-gap: 48px; }
  .tlv-product-details-layout { gap: 64px; }
  .tlv-detail-block { gap: 48px; }
  .tlv-newsletter-grid { gap: 48px; }
  .tlv-manifesto .tlv-shell { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 989px) {
  .tlv-routine-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 14px; }
  .tlv-routine-card, .tlv-routine-card:nth-child(4) { grid-column: auto; }
  .tlv-routine-card:nth-child(5) { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
}
@media (max-width: 900px) {
  .tlv-header-top { min-height: 80px; }
  .tlv-logo img { width: 132px; }
  .tlv-menu-toggle { display: inline-flex; }
  .tlv-primary-nav { position: fixed; inset: 80px 0 0; display: none; padding: 24px; overflow: auto; background: #fff; }
  .tlv-primary-nav.is-open { display: block; }
  .admin-bar .tlv-primary-nav { top: 112px; }
  .tlv-primary-nav ul { display: block; width: 100%; padding: 0; }
  .tlv-primary-nav a { padding-block: 16px; font-size: 18px; }
  .tlv-hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 48px; }
  .tlv-hero-copy { max-width: 600px; }
  .tlv-hero h1 { max-width: 560px; }
  .tlv-hero-lede { max-width: 520px; }
  .tlv-hero-art img { aspect-ratio: 1.778; }
  .tlv-section { padding-block: 64px; }
  .tlv-product-grid, .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 24px; }
  .single-product div.product { grid-template-columns: minmax(0,1fr); gap: 0; }
  .single-product div.product .summary { margin-top: 28px; }
  .single-product .product_title { max-width: 620px; }
  .tlv-detail-block { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; }
  .tlv-newsletter-grid { grid-template-columns: 1fr; gap: 32px; }
  .tlv-newsletter-form { max-width: 560px; }
  .tlv-footer-main { grid-template-columns: 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
  .tlv-footer-brand { grid-column: 1 / -1; }
  .tlv-footer-bottom { flex-direction: column; gap: 24px; }
  .tlv-policy-links { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .tlv-shell, .tlv-woo-shell { width: calc(100% - 40px); }
  .tlv-header-top { min-height: 76px; gap: 8px; }
  .tlv-logo img { width: 116px; }
  .tlv-header-left { gap: 0; }
  .tlv-account-link { display: none; }
  .tlv-primary-nav { top: 76px; }
  .admin-bar .tlv-primary-nav { top: 122px; }
  .tlv-hero h1 { font-size: 40px; }
  .tlv-hero-lede { font-size: 15px; }
  .tlv-section { padding-block: 56px; }
  .tlv-section-head { margin-bottom: 32px; }
  .tlv-section-head h2 { font-size: 28px; }
  .tlv-routine-grid { gap: 32px 12px; }
  .tlv-routines.tlv-section { padding-block: 58px; }
  .tlv-routines .tlv-section-head h2 { font-size: clamp(34px,10vw,44px); }
  .tlv-routine-card, .tlv-routine-card:nth-child(4) { padding-bottom: 20px; }
  .tlv-routine-card:nth-child(5) { width: calc(50% - 6px); }
  .tlv-routine-title { left: 9px; max-width: calc(100% - 18px); min-height: 40px; padding: 7px 0 8px; font-size: 17px; line-height: 1.1; }
  .tlv-value-list { grid-template-columns: 1fr; gap: 28px; }
  .tlv-routine-heading { gap: 16px; margin-bottom: 20px; }
  .tlv-routine-heading h3 { font-size: 21px; }
  .tlv-product-routine + .tlv-product-routine { margin-top: 56px; }
  .tlv-product-grid, .woocommerce ul.products { gap: 32px 16px; }
  .tlv-product-name, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
  .tlv-product-price, .woocommerce ul.products li.product .price { font-size: 13px; }
  .tlv-woo-shell { padding-block: 32px 64px; }
  .woocommerce-products-header__title.page-title { font-size: 32px; }
  .tlv-shop-toolbar { gap: 8px 20px; font-size: 12px; margin-bottom: 28px; }
  .tlv-shop-toolbar > span { display: none; }
  .tlv-shop-toolbar strong { width: 100%; margin: 8px 0 0; }
  .single-product .tlv-woo-shell { padding-block: 16px 64px; }
  .single-product .woocommerce-breadcrumb { margin-bottom: 24px; font-size: 11px; }
  .single-product .product_title { font-size: 28px; }
  .single-product div.product .flex-control-thumbs { gap: 8px; }
  .woocommerce div.product .woocommerce-tabs { margin-top: 64px; }
  .tlv-detail-block { grid-template-columns: 1fr; gap: 28px; }
  .tlv-detail-block:nth-child(even) .tlv-detail-copy, .tlv-detail-block:nth-child(even) figure { grid-column: auto; grid-row: auto; }
  .tlv-product-details-layout { gap: 48px; }
  .tlv-detail-copy h2, .tlv-detail-copy h3, .tlv-detail-copy h4 { font-size: 22px; }
  .single-product .related { margin-top: 64px; }
  .tlv-newsletter { padding-block: 48px; }
  .tlv-newsletter h2 { font-size: 28px; }
  .tlv-newsletter-row { flex-direction: column; gap: 12px; }
  .tlv-newsletter-form button { min-height: 48px; }
  .tlv-footer-main { gap: 32px; }
  .tlv-page, .tlv-search-page { padding-block: 40px 64px; }
  .tlv-page h1, .tlv-search-page h1 { font-size: 32px; }
  .tlv-field-row, .tlv-search-results { grid-template-columns: 1fr; }
  .tlv-search-form { gap: 8px; width: calc(100% - 24px); }
  .tlv-search-form .tlv-button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
