/*
Theme Name: TÍON
Description: TÍON botanical bath tea — WooCommerce port of the Shopify theme. Section styles and scripts come from the original theme (assets/css, assets/js); this file holds the design tokens the Shopify theme generated from its settings, plus the header, cart drawer and WooCommerce pages.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: tion
*/

/* ---- Design tokens (Shopify: snippets/theme-styles-variables + color-palette) ---- */
:root {
  --color-background: #F2ECDC;
  --color-background-rgb: 242 236 220;
  --color-foreground: #53131E;
  --color-foreground-rgb: 83 19 30;
  --color-foreground-heading: #53131E;
  --color-border: #E8CDB5;
  --color-input-background: #E8CDB5;
  --color-input-text: #53131E;
  --color-primary-button-background: #53131E;
  --color-primary-button-text: #F2ECDC;
  --button-background-color: #53131E;
  --font-body--family: Assistant, "Segoe UI", Arial, sans-serif;
  --font-heading--family: Assistant, "Segoe UI", Arial, sans-serif;
  --font-subheading--family: Assistant, "Segoe UI", Arial, sans-serif;
  --font-accent--family: Assistant, "Segoe UI", Arial, sans-serif;
  --font-paragraph--family: var(--font-body--family);
  --font-paragraph--style: normal;
  --font-paragraph--weight: 400;
  --font-paragraph--size: .875rem;
  --font-paragraph--line-height: 1.5;
  --font-paragraph--case: none;
  --font-h1--family: var(--font-heading--family); --font-h1--weight: 300; --font-h1--size: clamp(3rem, 6.1vw, 5.5rem); --font-h1--line-height: 1.1; --font-h1--letter-spacing: 0; --font-h1--case: none; --font-h1--style: normal;
  --font-h2--family: var(--font-heading--family); --font-h2--weight: 300; --font-h2--size: clamp(2rem, 3.4vw, 3rem); --font-h2--line-height: 1.15; --font-h2--letter-spacing: 0; --font-h2--case: none; --font-h2--style: normal;
  --font-h3--family: var(--font-heading--family); --font-h3--weight: 300; --font-h3--size: 2rem; --font-h3--line-height: 1.2; --font-h3--letter-spacing: 0; --font-h3--case: none; --font-h3--style: normal;
  --font-h4--family: var(--font-subheading--family); --font-h4--weight: 400; --font-h4--size: 1.5rem; --font-h4--line-height: 1.3; --font-h4--letter-spacing: 0; --font-h4--case: none; --font-h4--style: normal;
  --font-h5--family: var(--font-subheading--family); --font-h5--weight: 400; --font-h5--size: .875rem; --font-h5--line-height: 1.4; --font-h5--letter-spacing: 0; --font-h5--case: uppercase; --font-h5--style: normal;
  --font-h6--family: var(--font-body--family); --font-h6--weight: 400; --font-h6--size: .75rem; --font-h6--line-height: 1.4; --font-h6--letter-spacing: 0; --font-h6--case: none; --font-h6--style: normal;
  --animation-speed: .125s;
  --animation-easing: cubic-bezier(.4, 0, .2, 1);
  --animation-timing-fade-out: cubic-bezier(.4, 0, .2, 1);
  --page-margin: clamp(16px, 2.8vw, 40px);
  --page-content-width: 1600px;
  --focus-outline-width: 2px;
  --focus-outline-offset: 2px;
  --style-border-radius-inputs: 0;
  --style-border-radius-buttons-primary: 0;
  --opacity-5: .05; --opacity-40: .4;
  --header-height: 68px;
  --header-group-height: 68px;
  --cart-drawer-padding: 20px;
  --theme-drawer-width: 460px;
  --layer-flat: 1;
  /* form controls (the Shopify base styles read these; without them checkboxes render 0×0) */
  --checkbox-size: 18px;
  --checkbox-border: 1px solid rgba(83, 19, 30, .45);
  --checkbox-border-radius: 5px;
  --padding-3xs: 8px;
  --opacity-40-60: .5;
  --opacity-85: .85;
}

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
.visually-hidden:not(:focus, :active) { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-to-content-link:focus { position: fixed; z-index: 1000; inset-block-start: 8px; inset-inline-start: 8px; padding: 12px 20px; background: var(--color-background); color: var(--color-foreground); border: 1px solid currentColor; }
#MainContent > .shopify-section { width: 100%; }

/* ---- Header (Shopify: sections/header — logo, centred menu, search / account / cart) ---- */
#header-group { position: sticky; top: 0; z-index: 60; transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
#header-group.is-hidden { transform: translateY(-100%); }
.th { background: var(--color-background); color: var(--color-foreground); font-family: var(--font-body--family); }
.th__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: var(--header-height); max-width: var(--page-content-width); margin-inline: auto; padding-inline: var(--page-margin); }
.th__logo { display: inline-flex; align-items: center; justify-self: start; color: inherit; text-decoration: none; }
.th__logo svg { display: block; height: 36px; width: auto; max-width: none; }
.th__nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
.th__nav a { display: inline-block; padding-block: 10px; color: inherit; font-size: 1rem; font-weight: 400; line-height: 1.2; text-decoration: none; white-space: nowrap; background: linear-gradient(currentColor, currentColor) no-repeat 100% calc(100% - 6px) / 0 1px; transition: background-size .25s ease-out; }
.th__nav a:hover, .th__nav a[aria-current="page"] { background-size: 100% 1px; }
.th__actions { display: flex; align-items: center; justify-self: end; gap: 4px; }
.th__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: none; }
.th__icon svg { width: 20px; height: 20px; max-width: none; }
.th__count { position: absolute; inset-block-start: 5px; inset-inline-end: 3px; min-width: 16px; height: 16px; padding-inline: 4px; border-radius: 999px; background: var(--color-foreground); color: var(--color-background); font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; }
.th__count[hidden] { display: none; }
.th__burger { display: none; }
@media (max-width: 989px) {
  :root { --header-height: 56px; --header-group-height: 56px; }
  .th__row { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .th__nav { display: none; }
  .th__burger { display: inline-flex; justify-self: start; margin-inline-start: -12px; }
  .th__logo { justify-self: center; }
  .th__logo svg { height: 28px; }
  .th__account { display: none; }
  .th__actions { margin-inline-end: -12px; }
}
.th-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(83, 19, 30, .28); }
.th-drawer[hidden] { display: none; }
.th-drawer__panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(86vw, 380px); padding: 12px 20px 32px; background: var(--color-background); color: var(--color-foreground); overflow-y: auto; }
.th-drawer__panel ul { margin: 16px 0 0; padding: 0; list-style: none; }
.th-drawer__panel a { display: block; padding-block: 14px; color: inherit; font-family: var(--font-body--family); font-size: 1.5rem; font-weight: 300; text-decoration: none; }
.th-drawer__close { margin-inline-start: -12px; }
.th-drawer__panel .th-drawer__account { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(83, 19, 30, .15); font-size: 1.0625rem; font-weight: 400; }
.th-drawer__account svg { flex: none; }

/* ---- Cart drawer (Shopify: snippets/cart-drawer + cart-summary; type styles in assets/css/tion2-v33.css) ---- */
theme-drawer.tcd { position: fixed; inset: 0; z-index: 100; display: block; visibility: hidden; pointer-events: none; }
theme-drawer.tcd[open] { visibility: visible; pointer-events: auto; }
.tcd__scrim { position: absolute; inset: 0; background: rgba(40, 10, 14, .36); opacity: 0; transition: opacity .3s ease; }
.tcd[open] .tcd__scrim { opacity: 1; }
.tcd__panel { position: absolute; inset-block: 0; inset-inline-end: 0; display: flex; flex-direction: column; width: min(100vw, 480px); background: var(--color-background); color: var(--color-foreground); font-family: var(--font-body--family); font-size: 16px; line-height: 1.5; box-shadow: 0 0 60px rgba(40, 10, 14, .18); transform: translateX(-102%); transition: transform .4s cubic-bezier(.22, .61, .36, 1); outline: 0; }
.tcd[open] .tcd__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .tcd__panel, .tcd__scrim { transition: none; } }
.tcd__body, .tcd__inner { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.tcd__body.is-busy { opacity: .55; pointer-events: none; transition: opacity .15s; }
.tcd__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 14px; }
#cart-drawer .theme-drawer__title { display: flex; align-items: center; gap: 10px; margin: 0; color: inherit; }
#cart-drawer .theme-drawer__badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding-inline: 7px; border-radius: 999px; background: var(--color-foreground); color: var(--color-background); font-size: 13px; line-height: 1; letter-spacing: 0; }
.tcd__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-inline-end: -12px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; transition: background .2s; }
@media (hover: hover) { .tcd__close:hover { background: rgba(83, 19, 30, .08); } }
.tcd__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
#cart-drawer .t2-fs { margin: 4px 24px 6px; }
.tcd__items { margin: 0; padding: 0 24px; list-style: none; }
#cart-drawer .tcd__item { display: grid !important; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: none; gap: 16px; align-items: start; padding-block: 20px; border-bottom: 1px solid rgba(83, 19, 30, .15); }
#cart-drawer .tcd__item:last-child { border-bottom: 0; }
#cart-drawer .tcd__item > * { grid-area: auto !important; margin: 0; }
#cart-drawer .tcd__item .cart-items__media { display: block; width: 96px; aspect-ratio: 3 / 4; overflow: hidden; background: #E1E3D6; }
#cart-drawer .tcd__item .cart-items__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tcd__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; min-height: 128px; }
.tcd__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#cart-drawer .cart-items__title { display: block; color: inherit; overflow-wrap: normal; word-break: normal; }
#cart-drawer .cart-items__price { white-space: nowrap; font-size: 16px; }
.tcd__sub { font-size: 14px; line-height: 1.4; color: #6B3A41; text-wrap: pretty; }
#cart-drawer .cart-items__unit-price-wrapper { font-size: 13px; }
.tcd__prop { font-size: 13px; color: #6B3A41; overflow-wrap: anywhere; }
.tcd__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.tcd__fixed { font-size: 14px; color: #6B3A41; }
#cart-drawer .quantity-selector { display: inline-grid; grid-template-columns: 44px 36px 44px; align-items: center; }
#cart-drawer .quantity-selector button { display: grid; place-items: center; padding: 0; border: 0; background: none; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
#cart-drawer .quantity-selector input { width: 100%; padding: 0; border: 0; color: inherit; font: inherit; font-size: 15px; text-align: center; }
#cart-drawer .cart-items__remove { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: none; color: #6B3A41; cursor: pointer; transition: background .2s, color .2s; }
@media (hover: hover) { #cart-drawer .cart-items__remove:hover { background: rgba(83, 19, 30, .08); color: var(--color-foreground); } }
.tcd__foot { padding: 16px 24px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(83, 19, 30, .2); background: var(--color-background); }
#cart-drawer .cart-totals { display: flex; flex-direction: column; gap: 10px; }
.tcd__line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.tcd__line--sub { font-size: 15px; color: #6B3A41; }
#cart-drawer .cart-discounts { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
#cart-drawer .cart-discounts__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
#cart-drawer .cart-discounts__label { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 10px; border-radius: 999px; background: rgba(163, 172, 150, .28); }
#cart-drawer .cart-discounts__label svg { flex: none; width: 16px; height: 16px; max-width: none; }
#cart-drawer .cart-discounts__value { white-space: nowrap; font-weight: 600; }
.tcd__pill-x { display: inline-grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.tcd__pill-x svg { width: 12px !important; height: 12px !important; }
.tcd__code { border-block: 1px solid rgba(83, 19, 30, .15); }
.tcd__code summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; list-style: none; }
.tcd__code summary::-webkit-details-marker { display: none; }
.tcd__code summary svg { width: 16px; height: 16px; max-width: none; transition: transform .25s; }
.tcd__code[open] summary svg { transform: rotate(45deg); }
.tcd__code form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-bottom: 14px; }
.tcd__code input { min-height: 46px; padding: 0 14px; border: 1px solid rgba(83, 19, 30, .3); border-radius: var(--t2-r-sm, 10px); background: #FBF8F0; color: inherit; font: inherit; }
.tcd__code .button { min-height: 46px; padding: 0 18px; border: 1px solid var(--color-foreground); border-radius: var(--t2-r-sm, 10px); background: transparent; color: var(--color-foreground); font: inherit; font-weight: 600; cursor: pointer; }
.tcd__code .cart-discount__error { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #8C1D2B; }
.tcd__line--total { align-items: baseline; padding-top: 2px; }
#cart-drawer .cart-totals__total-label { font-size: 17px; }
#cart-drawer .cart-totals__total-value { white-space: nowrap; line-height: 1; }
.tcd__note { margin: -4px 0 0; font-size: 13px; color: #6B3A41; }
#cart-drawer .cart__ctas { margin-top: 14px; }
#cart-drawer .cart__checkout-button, .tcd__empty .button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding-inline: 20px; border: 0; border-radius: var(--t2-r-sm, 10px); background: var(--color-foreground); color: var(--color-background); font-family: Assistant, sans-serif; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s; }
@media (hover: hover) { #cart-drawer .cart__checkout-button:hover, .tcd__empty .button:hover { background: #6E1F2B; } }
.tcd__empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px 32px 80px; text-align: center; }
.tcd__empty .button { max-width: 280px; }
@media (max-width: 749px) {
  .tcd__head { padding: 16px 16px 10px; }
  #cart-drawer .t2-fs { margin-inline: 16px; }
  .tcd__items { padding-inline: 16px; }
  .tcd__foot { padding-inline: 16px; }
  #cart-drawer .tcd__item { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  #cart-drawer .tcd__item .cart-items__media { width: 80px; }
  .tcd__info { min-height: 106px; }
}

/* ---- Checkout, cart and account pages (WooCommerce), laid out like the Shopify checkout ---- */
.twc { max-width: 1120px; margin-inline: auto; padding: clamp(32px, 5vw, 72px) var(--page-margin) clamp(56px, 8vw, 112px); color: var(--color-foreground); font-family: var(--font-body--family); font-size: 16px; line-height: 1.6; }
.twc h1 { margin: 0 0 28px; font-family: "Bellefair", Georgia, serif; font-weight: 400; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.1; }
.twc h2, .twc h3 { margin: 28px 0 12px; font-family: var(--font-body--family); font-weight: 600; font-size: 1.3125rem; line-height: 1.3; }
.twc a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: currentColor; }
.twc img { width: auto; }
.twc table { width: 100%; border-collapse: collapse; }
.twc th, .twc td { padding: 12px 8px; border-bottom: 1px solid rgba(83, 19, 30, .15); text-align: start; }
.twc input[type="text"], .twc input[type="email"], .twc input[type="tel"], .twc input[type="password"], .twc input[type="number"], .twc select, .twc textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid rgba(83, 19, 30, .3); border-radius: 10px; background: #FFFDF8; color: inherit; font: inherit; }
.twc .button, .twc button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border: 1px solid var(--color-foreground); border-radius: 10px; background: var(--color-foreground); color: var(--color-background); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.twc .button:hover, .twc button[type="submit"]:hover { background: #6E1F2B; color: var(--color-background); }
.twc .woocommerce-message, .twc .woocommerce-info, .twc .woocommerce-error { margin: 0 0 20px; padding: 14px 18px; border: 1px solid rgba(83, 19, 30, .25); border-radius: 10px; background: #F7F2E6; color: inherit; list-style: none; }
.twc .woocommerce-message::before, .twc .woocommerce-info::before, .twc .woocommerce-error::before { display: none; }

/* the checkout: its own quiet header, form on one side, order summary on a tinted panel on the other */
body.tion-checkout .th__nav, body.tion-checkout .th__search, body.tion-checkout .th__account, body.tion-checkout .th__burger { display: none; }
body.tion-checkout .th__row { grid-template-columns: 1fr auto; max-width: 1180px; }
body.tion-checkout .th { border-bottom: 1px solid rgba(83, 19, 30, .15); }
body.tion-checkout #header-group { position: static; }
body.tion-checkout footer { display: none; }
body.tion-checkout .twc { max-width: 1180px; padding-block: 0; }
body.tion-checkout .twc > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.twc .wc-block-components-sidebar-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 0; align-items: start; margin: 0; }
.twc .wc-block-components-sidebar-layout .wc-block-components-main { width: auto; padding: clamp(28px, 4vw, 48px) 0; padding-inline-end: clamp(24px, 4vw, 56px); }
.twc .wc-block-components-sidebar-layout .wc-block-components-sidebar { position: sticky; top: 0; width: auto; min-height: calc(100vh - var(--header-height)); margin: 0; padding: clamp(28px, 4vw, 48px) 0; padding-inline-start: clamp(24px, 4vw, 56px); border-inline-start: 1px solid rgba(83, 19, 30, .15); background: #EBE3D0; box-shadow: 50vw 0 0 #EBE3D0; clip-path: inset(0 -50vw 0 0); }
[dir="rtl"] .twc .wc-block-components-sidebar-layout .wc-block-components-sidebar { box-shadow: -50vw 0 0 #EBE3D0; clip-path: inset(0 0 0 -50vw); }
.twc .wc-block-components-checkout-step { margin-bottom: 28px; }
.twc .wc-block-components-checkout-step__title, .twc .wc-block-components-title { font-family: var(--font-body--family); font-weight: 600; font-size: 1.3125rem; line-height: 1.3; color: var(--color-foreground); }
.twc .wc-block-components-checkout-step__description { font-size: 14px; color: #6B3A41; }
.twc .wc-block-components-text-input input, .twc .wc-block-components-text-input textarea, .twc .wc-blocks-components-select .wc-blocks-components-select__container, .twc .wc-block-components-textarea, .twc .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input { min-height: 52px; border: 1px solid rgba(83, 19, 30, .3) !important; border-radius: 10px !important; background: #FFFDF8 !important; color: var(--color-foreground) !important; font-family: var(--font-body--family); font-size: 16px; box-shadow: none; }
.twc .wc-blocks-components-select .wc-blocks-components-select__select { border: 0 !important; background: transparent !important; color: inherit; font-family: var(--font-body--family); font-size: 16px; }
.twc .wc-block-components-text-input input:focus, .twc .wc-block-components-text-input textarea:focus, .twc .wc-blocks-components-select .wc-blocks-components-select__container:focus-within { border-color: var(--color-foreground) !important; box-shadow: 0 0 0 1px var(--color-foreground) !important; outline: 0; }
.twc .wc-block-components-text-input label, .twc .wc-blocks-components-select label { color: #6B3A41; font-family: var(--font-body--family); }
.twc .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border: 1px solid rgba(83, 19, 30, .45); border-radius: 5px; background: #FFFDF8; }
.twc .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { border-color: var(--color-foreground); background: var(--color-foreground); }
.twc .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--color-background); }
.twc .wc-block-components-radio-control--highlight-checked, .twc .wc-block-components-radio-control { border-radius: 10px; }
.twc .wc-block-components-radio-control__option, .twc .wc-block-components-radio-control-accordion-option { border-radius: 10px; }
.twc .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted, .twc .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted, .twc .wc-block-components-radio-control-accordion-option--checked-option-highlighted { background: rgba(163, 172, 150, .18); box-shadow: inset 0 0 0 1.5px var(--color-foreground); }
.twc .wc-block-components-radio-control .wc-block-components-radio-control__input { border-color: rgba(83, 19, 30, .5); background: #FFFDF8; }
.twc .wc-block-components-radio-control .wc-block-components-radio-control__input:checked { border-color: var(--color-foreground); }
.twc .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background: var(--color-foreground); }
.twc .wc-block-components-button:not(.is-link), .twc .wc-block-components-checkout-place-order-button { width: 100%; min-height: 58px; padding: 12px 28px; border: 0; border-radius: 10px; background: var(--color-foreground); color: var(--color-background); font-family: var(--font-body--family); font-size: 18px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s; }
.twc .wc-block-components-button:not(.is-link):hover { background: #6E1F2B; color: var(--color-background); }
.twc .wc-block-components-button:not(.is-link):focus { box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-foreground); }
.twc .wc-block-checkout__actions_row { display: flex; flex-direction: column-reverse; gap: 14px; align-items: stretch; }
.twc .wc-block-components-checkout-return-to-cart-button { justify-content: center; color: var(--color-foreground); text-decoration: none; }
.twc .wc-block-checkout__terms, .twc .wc-block-components-checkout-step__container { font-size: 14px; }
.twc .wc-block-components-notice-banner { border-radius: 10px; border-color: rgba(83, 19, 30, .25); background: #F7F2E6; color: var(--color-foreground); font-size: 15px; }
.twc .wc-block-components-notice-banner > svg { background: var(--color-foreground); fill: var(--color-background); }
.twc .wc-block-components-notice-banner.is-error { border-color: #B4505C; background: #F9E9E6; }
/* order summary */
.twc .wc-block-components-sidebar .wc-block-components-panel, .twc .wc-block-components-sidebar .wc-block-components-totals-wrapper, .twc .wc-block-components-sidebar .wc-block-components-totals-item, .twc .wc-block-checkout__sidebar .wc-block-components-product-name { font-family: var(--font-body--family); color: var(--color-foreground); }
.twc .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block { border: 0; border-radius: 0; background: transparent; }
.twc .wc-block-components-sidebar .wc-block-components-totals-wrapper { padding-inline: 0; border-color: rgba(83, 19, 30, .18); }
.twc .wc-block-components-order-summary .wc-block-components-order-summary-item { align-items: center; padding-block: 10px; }
.twc .wc-block-components-order-summary .wc-block-components-order-summary-item__image { width: 64px; padding-bottom: 0; }
.twc .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img { width: 64px; max-width: 64px; height: 64px; object-fit: cover; border: 1px solid rgba(83, 19, 30, .18); border-radius: 10px; background: #FFFDF8; }
.twc .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity { min-width: 22px; height: 22px; border: 0; background: #6B3A41; color: #FFFDF8; box-shadow: none; font-size: 12px; line-height: 22px; }
.twc .wc-block-components-order-summary .wc-block-components-product-name { font-family: "Bellefair", Georgia, serif; font-size: 18px; letter-spacing: .06em; }
.twc .wc-block-components-order-summary .wc-block-components-product-metadata__description { display: none; }
.twc .wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices { font-size: 13px; color: #6B3A41; }
.twc .wc-block-components-totals-item__label { font-size: 15px; }
.twc .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 19px; font-weight: 600; }
.twc .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: "Bellefair", Georgia, serif; font-size: 30px; font-weight: 400; line-height: 1; }
.twc .wc-block-components-totals-coupon .wc-block-components-panel__button, .twc .wc-block-components-panel__button { font-family: var(--font-body--family); font-size: 15px; color: var(--color-foreground); }
.twc .wc-block-checkout__sidebar .wc-block-components-title, .twc .wc-block-components-checkout-order-summary__title-text { font-family: var(--font-body--family); font-size: 1.3125rem; font-weight: 600; }
.twc .wc-block-components-formatted-money-amount { font-variant-numeric: tabular-nums; }
/* order received (account pages: assets/css/tion-account.css) */
.twc .woocommerce-order, .twc .woocommerce-MyAccount-content, .twc .woocommerce-form-login, .twc .woocommerce-form-register { font-family: var(--font-body--family); }
.twc .woocommerce-thankyou-order-received { margin: 0 0 24px; font-family: "Bellefair", Georgia, serif; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; }
.twc ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.twc ul.woocommerce-order-overview li { float: none; margin: 0; padding: 14px 16px; border: 1px solid rgba(83, 19, 30, .15); border-radius: 10px; background: #FFFDF8; font-size: 13px; letter-spacing: .04em; text-transform: none; color: #6B3A41; }
.twc ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 17px; letter-spacing: 0; color: var(--color-foreground); }
.twc .woocommerce-table, .twc .shop_table { border: 1px solid rgba(83, 19, 30, .15); border-radius: 10px; border-collapse: separate; border-spacing: 0; background: #FFFDF8; overflow: hidden; }
.twc .woocommerce-table th, .twc .woocommerce-table td, .twc .shop_table th, .twc .shop_table td { padding: 14px 16px; }
.twc .woocommerce-table tfoot tr:last-child th, .twc .woocommerce-table tfoot tr:last-child td { border-bottom: 0; font-size: 18px; }
.twc .woocommerce-customer-details address { padding: 16px; border: 1px solid rgba(83, 19, 30, .15); border-radius: 10px; background: #FFFDF8; font-style: normal; }
.twc .woocommerce-form-row, .twc .form-row { display: block; margin: 0 0 16px; }
.twc .form-row label { display: block; margin-bottom: 6px; font-size: 14px; }
/* cart page */
.twc .wc-block-cart-items { border-color: rgba(83, 19, 30, .18); }
.twc .wc-block-cart-items th { font-family: var(--font-body--family); font-size: 13px; letter-spacing: .06em; color: #6B3A41; }
.twc .wc-block-cart-items td { border-color: rgba(83, 19, 30, .18); }
.twc .wc-block-cart-item__image img { width: 96px; border-radius: 10px; }
.twc .wc-block-cart-items .wc-block-components-product-name { font-family: "Bellefair", Georgia, serif; font-size: 22px; letter-spacing: .08em; color: var(--color-foreground); text-decoration: none; }
.twc .wc-block-components-quantity-selector { border: 1px solid rgba(83, 19, 30, .3); border-radius: 999px; }
.twc .wc-block-components-quantity-selector::after { display: none; }
.twc .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input, .twc .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { background: transparent; color: var(--color-foreground); box-shadow: none; }
.twc .wc-block-cart-item__remove-link { color: #6B3A41 !important; }
.twc .wc-block-cart__submit-container { margin-top: 12px; }
@media (max-width: 899px) {
  .twc .wc-block-components-sidebar-layout { display: flex; flex-direction: column-reverse; }
  .twc .wc-block-components-sidebar-layout .wc-block-components-main { padding-inline: 0; }
  .twc .wc-block-components-sidebar-layout .wc-block-components-sidebar { position: static; min-height: 0; margin-inline: calc(var(--page-margin) * -1); padding: 20px var(--page-margin); border-inline-start: 0; border-bottom: 1px solid rgba(83, 19, 30, .15); box-shadow: none; clip-path: none; }
}

/* ---------- Testimonials carousel (sections/tion-reviews.php) ---------- */
.trv { padding-block: clamp(56px, 7vw, 104px); overflow: hidden; }
.trv__head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.trv__sub { margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: color-mix(in srgb, var(--t-ink, #53131E) 72%, transparent); }
.trv__frame { position: relative; }
.trv .trv__track { list-style: none; margin: 0; padding: 4px 2px 24px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); column-gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.trv__track::-webkit-scrollbar { display: none; }
.trv__card { scroll-snap-align: start; display: flex; flex-direction: column; background: #FBF7EE; border-radius: 20px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(83, 19, 30, .05), 0 12px 32px -18px rgba(83, 19, 30, .28); }
.trv__media { position: relative; aspect-ratio: 4 / 5; background: #E8CDB5; overflow: hidden; }
.trv__media img, .trv__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.trv__play { z-index: 2; position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: 64px; height: 64px; border: 0; border-radius: 50%; background: rgba(251, 247, 238, .94);
  color: var(--t-ink, #53131E); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); transition: transform .2s ease, opacity .2s ease; }
.trv__play svg { width: 26px; height: 26px; fill: currentColor; margin-inline-start: 4px; }
[dir="rtl"] .trv__play svg { margin-inline-start: 0; margin-inline-end: -4px; transform: none; }
.trv__play:hover { transform: scale(1.06); }
.trv__media--video.is-playing .trv__play { opacity: 0; pointer-events: none; }
.trv__mute { z-index: 2; position: absolute; bottom: 14px; left: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(40, 20, 24, .55); color: #FBF7EE; display: grid; place-items: center; cursor: pointer; }
.trv__mute[hidden] { display: none; }
.trv__mute svg { width: 20px; height: 20px; fill: currentColor; }
.trv__mute .trv__wave { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.trv__mute .trv__snd-off, .trv__media--video.is-muted .trv__snd-on { display: none; }
.trv__media--video.is-muted .trv__snd-off { display: block; }
.trv__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.trv__stars { display: flex; gap: 3px; margin: 0; }
.trv__stars svg { width: 18px; height: 18px; }
.trv__stars .is-on { fill: var(--t-ink, #53131E); }
.trv__stars .is-off { fill: color-mix(in srgb, var(--t-ink, #53131E) 16%, transparent); }
:not(#v) .t2.trv .trv__title { margin: 2px 0 0; letter-spacing: 0 !important; text-transform: none; font-family: var(--t2-body, 'Assistant', sans-serif) !important; font-weight: 600 !important; font-size: 19px !important; line-height: 1.35 !important; color: var(--t-ink, #53131E); }
.trv__text { margin: 0; font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--t-ink, #53131E) 82%, transparent); }
.trv__who { margin: auto 0 0; padding-top: 6px; font-size: 14px; color: color-mix(in srgb, var(--t-ink, #53131E) 60%, transparent); }
.trv__arrow { position: absolute; top: calc(50% - 12px); translate: 0 -50%; z-index: 2; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #FBF7EE; color: var(--t-ink, #53131E);
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 22px rgba(83, 19, 30, .18); transition: opacity .2s ease, transform .2s ease; }
.trv__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trv__arrow--prev { right: -22px; }
.trv__arrow--next { left: -22px; }
.trv__arrow:hover { transform: scale(1.05); }
.trv__arrow:disabled { opacity: 0; pointer-events: none; }
.trv--static .trv__arrow { display: none; }
.trv__play:focus-visible, .trv__arrow:focus-visible, .trv__mute:focus-visible { outline: 2px solid var(--t-ink, #53131E); outline-offset: 3px; }
@media (max-width: 989px) { .trv .trv__track { grid-auto-columns: calc((100% - 2 * 20px) / 2.4); column-gap: 20px; } }
@media (max-width: 749px) {
  .trv .trv__track { grid-auto-columns: 78%; column-gap: 14px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .trv__arrow { display: none; }
  .trv__body { padding: 18px 18px 22px; }
}
