@charset "UTF-8";
/* Tasmoo — WooCommerce, product personaliser and account styling */

/* ---------------------------------------------------------------------
   Shop archive
   --------------------------------------------------------------------- */
.tm-archive__hero { background: #faf7f6; padding: 26px 0 44px; text-align: center; border-bottom: 1px solid var(--tm-border); }
.tm-archive__hero h1 { font-size: clamp(30px, 3.6vw, 46px); margin: 14px 0 8px; }
.tm-archive__hero p { color: var(--tm-muted); max-width: 620px; margin: 0 auto; font-size: 15px; }
.woocommerce-breadcrumb { font-size: 12px; color: var(--tm-muted) !important; }
.woocommerce-breadcrumb a { color: var(--tm-muted); }
.woocommerce-breadcrumb a:hover { color: var(--tm-accent); }
.tm-breadcrumb__sep { margin: 0 8px; color: #ccc; }
.tm-catchips { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; padding: 26px 0 4px; }
.tm-catchip { padding: 7px 16px; border: 1px solid var(--tm-border); border-radius: 24px; font-size: 13px; font-family: var(--tm-head); font-weight: 600; }
.tm-catchip:hover, .tm-catchip.is-active { background: var(--tm-ink); color: #fff; border-color: var(--tm-ink); }
.tm-shopbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 16px; border-bottom: 1px solid var(--tm-border); margin-bottom: 26px; }
.tm-shopbar__filter { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-family: var(--tm-head); font-weight: 700; letter-spacing: .8px; }
.tm-shopbar__right { display: flex; align-items: center; gap: 16px; }
.woocommerce-result-count { margin: 0; font-size: 13px; color: var(--tm-muted); float: none; }
.woocommerce-ordering { margin: 0; float: none; }
.woocommerce-ordering select { padding: 8px 12px; border: 1px solid var(--tm-border); border-radius: 4px; background: #fff; font-size: 13px; }
.tm-shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 34px; padding-bottom: 70px; }
.tm-shop-sidebar { border-right: 1px solid var(--tm-border); padding-right: 24px; }
.tm-shop-main { min-width: 0; }
.woocommerce-pagination { display: flex; justify-content: center; margin-top: 34px; }
.woocommerce-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--tm-border); margin: 0 3px; border-radius: 4px; }
.woocommerce-pagination .current { background: var(--tm-ink); color: #fff; }
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error { border-top-color: var(--tm-accent); }
.woocommerce .woocommerce-info::before, .woocommerce .woocommerce-message::before { color: var(--tm-accent); }

/* ---------------------------------------------------------------------
   Single product
   --------------------------------------------------------------------- */
.tm-single__trustbar { background: #f7f7f7; border-bottom: 1px solid var(--tm-border); }
.tm-single__trustbar .tm-container { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; min-height: 42px; }
.tm-single__trustbar span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #444; }
.tm-single__trustbar svg { color: var(--tm-accent); }
.tm-main--product .woocommerce-breadcrumb { margin: 18px 0 !important; }
.tm-single__layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 40px; }
.tm-single__gallery { position: sticky; top: 110px; }
div.images { margin-bottom: 0; }
div.images .woocommerce-product-gallery__wrapper { display: block; }
div.images img { border-radius: 6px; width: 100%; }
div.images .flex-viewport { border-radius: 6px; }
.woocommerce-product-gallery { display: flex; flex-direction: column; gap: 12px; }
.woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 10px; margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs li { width: 76px; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 4px; border: 1px solid transparent; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { border-color: var(--tm-ink); }
span.onsale { top: 12px; left: 12px; right: auto; min-height: 0; min-width: 0; line-height: 1; margin: 0; padding: 7px 11px; border-radius: 3px; background: var(--tm-accent); color: var(--tm-on-brand); font-size: 11px; font-weight: 700; }
.tm-single__galleryperks { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.tm-single__galleryperks span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--tm-muted); }
.tm-single__galleryperks svg { color: var(--tm-accent); }
.tm-single__info { min-width: 0; }
.tm-single__head { padding-bottom: 18px; border-bottom: 1px solid var(--tm-border); }
.tm-single__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.tm-single__rating > a { font-size: 12px; color: var(--tm-muted); text-decoration: underline; }
.product_title { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.8px; margin-bottom: 10px; }
.tm-single__price .price { font-family: var(--tm-head); font-size: 24px; font-weight: 700; color: var(--tm-ink); }
.tm-single__price .price del { font-size: 16px; color: #999; font-weight: 400; }
.tm-single__price .price ins { text-decoration: none; color: #c0392b; }
.tm-single__excerpt { color: var(--tm-muted); font-size: 14px; margin-top: 8px; }
.tm-single__buybox { padding-top: 20px; }
form.cart { margin: 0; border: 0; padding: 0; }
.summary { float: none; width: auto; margin: 0; }
.tm-variations-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.single_variation { display: none !important; }
.single_variation_wrap { margin: 0; }
form.cart .variations { margin: 0; }

/* 4-step customiser --------------------------------------------------- */
.tm-cust { border: 1px solid var(--tm-border); border-radius: 8px; overflow: hidden; background: #fff; }
.tm-cust__steps { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--tm-border); background: #fafafa; }
.tm-cust__step { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 4px; font-family: var(--tm-head); font-size: 11px; font-weight: 700; letter-spacing: .7px; color: #888; border-bottom: 3px solid transparent; }
.tm-cust__step span { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #e6e6e6; color: #666; font-size: 10px; }
.tm-cust__step.is-active { color: var(--tm-ink); border-bottom-color: var(--tm-accent); background: #fff; }
.tm-cust__step.is-active span, .tm-cust__step.is-done span { background: var(--tm-accent); color: var(--tm-on-brand); }
.tm-cust__step.is-done { color: var(--tm-ink); }
.tm-cust__panel { display: none; padding: 24px; }
.tm-cust__panel.is-active { display: block; animation: tmFade .25s ease; }
.tm-cust__panelhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tm-cust__panelhead h3 { font-size: 18px; margin: 0; }
.tm-cust__panelhead--sub { margin-top: 22px; }
.tm-cust__guide { font-size: 11.5px; text-decoration: underline; color: var(--tm-muted); letter-spacing: .3px; }
.tm-cust__limited { display: inline-block; margin-bottom: 10px; padding: 3px 8px; background: var(--tm-soft); color: #0b7fa3; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.tm-cust__hint { font-size: 12.5px; color: var(--tm-muted); margin-bottom: 14px; }
.tm-cust__note { font-size: 12px; color: var(--tm-muted); margin: 16px 0 0; }
.tm-cust__note a { text-decoration: underline; font-weight: 700; }
.tm-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tm-swatch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 11px 6px 9px; border: 1.5px solid var(--tm-border); border-radius: 6px; transition: all var(--tm-tr); }
.tm-swatch:hover { border-color: var(--tm-accent); }
.tm-swatch.is-selected { border-color: var(--tm-ink); box-shadow: inset 0 0 0 1px var(--tm-ink); }
.tm-swatch.is-selected::after { content: '✓'; position: absolute; top: 4px; right: 6px; font-size: 11px; font-weight: 700; color: var(--tm-accent); }
.tm-swatch__visual { display: block; width: 100%; height: 54px; border-radius: 3px; background: #f3f3f3; border: 6px solid #fff; box-shadow: 0 0 0 1px #eee; position: relative; overflow: hidden; }
.tm-swatch__visual::after { content: ''; position: absolute; inset: 22% 28%; border-radius: 50% 50% 45% 45%; background: rgba(0,0,0,.14); }
.tm-swatch__visual--size::after { border-radius: 4px; }
.tm-swatch__visual--8-x-10 { height: 44px; }
.tm-swatch__visual--12-x-16 { height: 58px; }
.tm-swatch__visual--18-x-24 { height: 70px; }
.tm-swatch__visual--frame.tm-swatch__visual--black { border-color: #0f1a24; background: #f5f5f5; }
.tm-swatch__visual--frame.tm-swatch__visual--walnut { border-color: #7b4a2a; background: #f7f1ea; }
.tm-swatch__visual--frame.tm-swatch__visual--white { border-color: #ddd; background: #fff; }
.tm-swatch__visual--frame.tm-swatch__visual--unframed, .tm-swatch__visual--frame.tm-swatch__visual--no-frame { border-color: transparent; box-shadow: 0 0 0 1px #eee; }
.tm-swatch__visual--background { border: 0; box-shadow: 0 0 0 1px #e4e4e4; }
.tm-swatch__visual--background::after { display: none; }
.tm-swatch__visual--background.tm-swatch__visual--white { background: #fff; }
.tm-swatch__visual--background.tm-swatch__visual--charcoal { background: #3f3f3f; }
.tm-swatch__visual--background.tm-swatch__visual--rainbow { background: linear-gradient(135deg, #ff9a9e, #fecfef, #a18cd1, #fbc2eb, #8fd3f4); }
.tm-swatch__label { font-size: 11.5px; font-weight: 600; line-height: 1.25; text-align: center; }
.tm-swatch__tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 6px; border-radius: 10px; background: var(--tm-accent); color: var(--tm-on-brand); font-size: 8px; font-weight: 700; white-space: nowrap; }
.tm-sizeguide { margin-top: 16px; }
.tm-sizeguide img { border-radius: 6px; }

/* Upload */
.tm-upload { margin-bottom: 14px; }
.tm-upload__drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 22px; border: 2px dashed #d8d8d8; border-radius: 8px; background: #fafafa; cursor: pointer; text-align: center; transition: all var(--tm-tr); }
.tm-upload__drop:hover, .tm-upload__drop.is-dragover { border-color: var(--tm-accent); background: var(--tm-soft); }
.tm-upload__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.tm-upload__icon { color: var(--tm-accent); }
.tm-upload__drop strong { font-family: var(--tm-head); font-size: 14px; }
.tm-upload__drop small { color: var(--tm-muted); font-size: 11px; }
.tm-upload__preview { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--tm-border); border-radius: 8px; }
.tm-upload__preview img { width: 78px; height: 78px; object-fit: cover; border-radius: 5px; }
.tm-upload__preview span { font-size: 12px; color: var(--tm-muted); word-break: break-all; }
.tm-upload__remove { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--tm-shadow); }
.tm-upload__status { margin-top: 8px; font-size: 12px; color: var(--tm-accent); min-height: 16px; }
.tm-cust__later { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 18px; font-size: 12.5px; color: var(--tm-muted); }
.tm-cust__later input { margin-top: 3px; accent-color: var(--tm-accent); }
.tm-field { display: block; margin-bottom: 18px; }
.tm-field > span { display: block; font-family: var(--tm-head); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.tm-field > span small { font-weight: 400; color: var(--tm-muted); font-size: 11px; }
.tm-field input, .tm-giftmsg textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--tm-border); border-radius: 5px; outline: 0; background: #fff; }
.tm-field input:focus, .tm-giftmsg textarea:focus { border-color: var(--tm-accent); }

/* Add-ons */
.tm-addons { display: flex; flex-direction: column; gap: 9px; }
.tm-addon { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--tm-border); border-radius: 6px; cursor: pointer; transition: all var(--tm-tr); }
.tm-addon:hover, .tm-addon.is-checked { border-color: var(--tm-accent); background: #f7fdff; }
.tm-addon > input { position: absolute; opacity: 0; }
.tm-addon__box { flex: 0 0 auto; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid #bbb; border-radius: 3px; color: transparent; }
.tm-addon.is-checked .tm-addon__box { background: var(--tm-ink); border-color: var(--tm-ink); color: #fff; }
.tm-addon__text { flex: 1; }
.tm-addon__text strong { display: block; font-size: 12.5px; font-family: var(--tm-head); }
.tm-addon__text small { display: block; font-size: 11px; color: var(--tm-muted); line-height: 1.4; margin-top: 2px; }
.tm-addon__price { font-family: var(--tm-head); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* Gift message */
.tm-giftmsg__open { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 16px; padding: 12px; border: 1px dashed #ccc; border-radius: 6px; font-family: var(--tm-head); font-size: 12.5px; font-weight: 700; }
.tm-giftmsg__open small { margin-left: auto; color: var(--tm-green); }
.tm-giftmsg { padding: 16px; border: 1px solid var(--tm-border); border-radius: 6px; margin-top: 10px; }
.tm-giftmsg > label { display: block; font-size: 12px; color: var(--tm-muted); margin-bottom: 8px; }
.tm-giftmsg__foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--tm-muted); margin: 6px 0 10px; }
.tm-giftmsg__foot strong { color: var(--tm-ink); }
.tm-giftmsg__preview { padding: 14px; min-height: 70px; border: 1px dashed #ddd; border-radius: 4px; background: #fcfcfc; font-size: 13px; color: #888; margin-bottom: 12px; white-space: pre-wrap; }

/* Footer of customiser */
.tm-cust__foot { padding: 18px 24px 22px; border-top: 1px solid var(--tm-border); background: #fafafa; }
.tm-cust__nav { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.tm-cust__nav .tm-btn--dark { margin-left: auto; min-width: 150px; }
.tm-cust__subtotal { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--tm-head); font-size: 15px; }
.tm-cust__subtotal strong { font-size: 21px; }
.tm-cust__saving { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: #c0392b; margin: 2px 0 12px; }
.tm-freeship { margin: 12px 0; }
.tm-freeship__label { font-size: 12px; margin-bottom: 6px; }
.tm-freeship__label strong { color: var(--tm-ink); }
.tm-freeship__track { height: 8px; border-radius: 10px; background: #e9e9e9; overflow: hidden; }
.tm-freeship__track span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--tm-accent), #9fe3f8); transition: width .4s ease; }
.tm-cust__eta { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--tm-muted); margin: 12px 0 0; }
.tm-cust__eta svg { color: var(--tm-accent); }
.tm-cust__actions { padding: 4px 0 0; }
.tm-qtyrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 12px; font-weight: 700; }
.tm-qtyrow .qty { width: 68px; padding: 8px; border: 1px solid var(--tm-border); border-radius: 4px; }
.tm-cust__after { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--tm-muted); margin: 10px 0 0; }
.tm-cust__after svg { color: var(--tm-green); }
form.cart .button.single_add_to_cart_button { font-size: 14px; letter-spacing: 1px; }
form.cart .button.disabled { opacity: .6; }

/* Product tabs + guide */
.tm-single__tabs { padding: 24px 0 40px; border-top: 1px solid var(--tm-border); }
.woocommerce-tabs { background: #fff; }
.woocommerce-tabs ul.tabs { display: flex; gap: 0; flex-wrap: wrap; border-bottom: 1px solid var(--tm-border); padding: 0; margin: 0; }
.woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce-tabs ul.tabs li { border: 0; background: transparent; margin: 0; padding: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 14px 22px; font-family: var(--tm-head); font-weight: 700; font-size: 13px; color: var(--tm-muted); border-bottom: 3px solid transparent; }
.woocommerce-tabs ul.tabs li.active a { color: var(--tm-ink); border-bottom-color: var(--tm-accent); }
.woocommerce-tabs .panel { padding: 26px 4px; font-size: 14.5px; line-height: 1.8; color: #444; }
.woocommerce-tabs .panel h2 { font-size: 20px; }
.woocommerce-tabs .panel h3 { font-size: 16px; margin-top: 18px; }
.woocommerce-Reviews .commentlist li { border-bottom: 1px solid var(--tm-border); padding: 16px 0; }
.star-rating { color: var(--tm-star); }
.tm-photoguide { background: #faf9f8; }
.tm-photoguide__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.tm-photoguide__media img { width: 100%; border-radius: 8px; }
.tm-photoguide__body h2 { font-size: 30px; }
.tm-photoguide__body ul { margin: 14px 0 20px; }
.tm-photoguide__body li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 14px; }
.tm-photoguide__body li::before { content: '✓'; position: absolute; left: 0; color: var(--tm-accent); font-weight: 700; }
.tm-photoguide__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tm-related .related h2, .tm-related .upsells h2 { font-size: 28px; text-align: center; margin-bottom: 24px; }
.tm-related ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tm-related ul.products li.product { margin: 0; width: auto; float: none; }

/* Sticky buy bar */
.tm-stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 105; background: #fff; border-top: 1px solid var(--tm-border); box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(105%); transition: transform .3s ease; }
.tm-stickybuy.is-visible { transform: translateY(0); }
.tm-stickybuy__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.tm-stickybuy__info { display: flex; flex-direction: column; line-height: 1.3; }
.tm-stickybuy__info strong { font-family: var(--tm-head); font-size: 15px; }
.tm-stickybuy__price { font-size: 14px; color: var(--tm-muted); }
.tm-stickybuy__price .price { font-size: 15px; }

/* ---------------------------------------------------------------------
   Cart / checkout / account
   --------------------------------------------------------------------- */
.woocommerce-cart .tm-container, .woocommerce-checkout .tm-container, .woocommerce-account .tm-container { padding-top: 40px; padding-bottom: 70px; }
.woocommerce table.shop_table { border-radius: 6px; border-collapse: collapse; }
.woocommerce table.shop_table th { background: #fafafa; font-family: var(--tm-head); font-size: 13px; }
.woocommerce table.shop_table td { font-size: 14px; }
.woocommerce a.remove { color: #999 !important; font-size: 20px; }
.woocommerce a.remove:hover { background: var(--tm-accent) !important; color: var(--tm-on-brand) !important; }
.woocommerce .cart .button, .woocommerce .cart input.button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit { background: var(--tm-ink); color: #fff; border-radius: 4px; font-family: var(--tm-head); font-weight: 700; font-size: 13px; letter-spacing: .5px; padding: 12px 20px; }
.woocommerce .cart .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover { background: var(--tm-accent); color: var(--tm-on-brand); }
.woocommerce .cart .button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt { background: var(--tm-ink); }
.woocommerce .cart .button.alt:hover, .woocommerce a.button.alt:hover { background: var(--tm-accent); }
.woocommerce-cart table.cart img { width: 80px; height: 80px; object-fit: cover; border-radius: 5px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce .cart-collaterals .cart_totals table { border: 1px solid var(--tm-border); border-radius: 6px; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 20px; }
.tm-cart-progress { margin-bottom: 22px; padding: 16px 20px; border: 1px solid var(--tm-border); border-radius: 6px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1px solid var(--tm-border); border-radius: 4px; padding: 10px 12px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--tm-accent); outline: 0; }
.woocommerce-checkout h3 { font-size: 20px; }
.woocommerce-checkout #order_review, .woocommerce-checkout #order_review_heading { margin-top: 20px; }
.woocommerce .woocommerce-order-details, .woocommerce .woocommerce-customer-details { margin-top: 24px; }
.woocommerce-MyAccount-navigation { background: #fafafa; border-radius: 6px; padding: 16px; }
.woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--tm-border); }
.woocommerce-MyAccount-navigation ul li a { display: block; padding: 11px 8px; font-size: 14px; }
.woocommerce-MyAccount-navigation ul li.is-active a { color: var(--tm-accent); font-weight: 700; }
.woocommerce-MyAccount-content { font-size: 14.5px; }
.woocommerce-MyAccount-content h2 { font-size: 22px; }
.tm-account__lead { color: var(--tm-muted); }
.tm-prooflist { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.tm-proofcard { padding: 20px; border: 1px solid var(--tm-border); border-radius: 8px; }
.tm-proofcard__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--tm-muted); }
.tm-proofcard__head strong { color: var(--tm-ink); font-size: 15px; }
.tm-status { margin-left: auto; padding: 4px 10px; border-radius: 20px; background: var(--tm-soft); color: #0b7fa3; font-size: 11px; font-weight: 700; }
.tm-progress { display: flex; justify-content: space-between; gap: 6px; margin: 26px 0 16px; position: relative; }
.tm-progress::before { content: ''; position: absolute; left: 8%; right: 8%; top: 14px; height: 2px; background: #e8e8e8; }
.tm-progress__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; text-align: center; }
.tm-progress__step > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e8e8e8; color: #888; font-size: 12px; font-weight: 700; }
.tm-progress__step.is-done > span { background: var(--tm-accent); color: var(--tm-on-brand); }
.tm-progress__step small { font-size: 10.5px; color: var(--tm-muted); }
.tm-proofcard__upload { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--tm-border); font-size: 12px; }
.tm-proofcard__upload input[type=file] { max-width: 220px; font-size: 11px; }
.tm-proofcard__msg { color: var(--tm-green); font-size: 12px; }
.tm-ordertrack { margin-top: 34px; padding: 24px; border: 1px solid var(--tm-border); border-radius: 8px; }
.tm-ordertrack h2 { font-size: 20px; }
.tm-ordertrack p { color: var(--tm-muted); font-size: 13px; }

/* WooCommerce notices, badges, mini-cart in drawer */
.tm-drawer__body--cart .tm-freeship { padding: 16px 20px 12px; margin: 0; border-bottom: 1px solid var(--tm-border); }
.woocommerce ul.product_list_widget li { padding: 8px 0; }
.woocommerce .widget_shopping_cart .total { border-top: 1px solid var(--tm-border); }

/* Elementor Pro WooCommerce widgets ---------------------------------- */
.elementor-widget-woocommerce-products ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.elementor-widget-woocommerce-products ul.products li.product { float: none; width: auto; margin: 0; }
.elementor-widget-woocommerce-product-content .tm-card { text-align: left; }

@media (max-width: 1024px) {
  .tm-single__layout { grid-template-columns: 1fr 1fr; gap: 26px; }
  .tm-shop-layout { grid-template-columns: 190px 1fr; gap: 22px; }
  .tm-related ul.products { grid-template-columns: repeat(2, 1fr); }
  .elementor-widget-woocommerce-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .tm-single__trustbar .tm-container { gap: 12px; padding-top: 8px; padding-bottom: 8px; }
  .tm-single__trustbar span { font-size: 10px; }
  .tm-single__layout { grid-template-columns: 1fr; gap: 24px; }
  .tm-single__gallery { position: static; }
  .woocommerce-product-gallery .flex-control-thumbs li { width: 58px; }
  .tm-cust__panel { padding: 18px; }
  .tm-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-cust__step { font-size: 9px; gap: 3px; padding: 11px 2px; letter-spacing: 0; }
  .tm-cust__step span { width: 16px; height: 16px; font-size: 9px; }
  .tm-cust__foot { padding: 16px 18px 20px; }
  .tm-photoguide__grid { grid-template-columns: 1fr; gap: 22px; }
  .woocommerce-tabs ul.tabs li a { padding: 11px 12px; font-size: 11.5px; }
  .tm-shop-layout { grid-template-columns: 1fr; }
  .tm-shop-sidebar { display: none; border-right: 0; padding-right: 0; }
  .tm-shop-sidebar.is-open { display: block; border: 1px solid var(--tm-border); border-radius: 6px; padding: 18px; margin-bottom: 20px; }
  .tm-shopbar { padding: 16px 0 12px; }
  .woocommerce-result-count { font-size: 11px; }
  .woocommerce-ordering select { font-size: 11px; padding: 6px 8px; }
  .tm-related ul.products, .elementor-widget-woocommerce-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tm-stickybuy__inner { padding-top: 8px; padding-bottom: 8px; }
  .tm-stickybuy__info strong { font-size: 12px; }
  .tm-stickybuy .tm-btn { min-height: 40px; padding: 8px 16px; font-size: 11px; }
  .woocommerce table.shop_table_responsive tr td::before { font-weight: 700; }
  .woocommerce-MyAccount-navigation { margin-bottom: 22px; }
  .tm-progress__step small { font-size: 9px; }
}

/* -------------------------------------------------------------------------
   Non-standard purchase flow: free proof -> approve -> only then print
   ---------------------------------------------------------------------- */
.tm-how { padding: 64px 0; background: #f4fcff; }
.tm-how .tm-heading__title, .tm-how .tm-heading__sub { text-align: center; }
.tm-how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.tm-how__step { position: relative; padding: 28px 26px 26px; background: #fff; border: 1px solid var(--tm-border); border-radius: 10px; }
.tm-how__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tm-accent); color: var(--tm-on-brand); font: 700 18px/1 var(--tm-head); margin-bottom: 16px; }
.tm-how__step h3 { font-size: 18px; margin-bottom: 8px; color: var(--tm-title); }
.tm-how__step p { font-size: 13.5px; color: var(--tm-muted); line-height: 1.65; margin: 0; }
.tm-how__note { text-align: center; margin-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: .6px; color: var(--tm-title); }
.tm-proofnotice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; margin: 0 0 24px; border: 1px solid #c9eaf8; border-radius: 8px; background: #f3fbfe; font-size: 13px; }
.tm-proofnotice svg { flex: 0 0 auto; color: var(--tm-accent); margin-top: 2px; }
.tm-proofnotice strong { display: block; color: var(--tm-ink); }
.tm-proofnotice span { color: var(--tm-muted); }
.tm-proofdecision { margin: 8px 0 16px; padding: 18px; border: 1px solid #c9eaf8; border-radius: 8px; background: #f4fcff; }
.tm-proofdecision h4 { margin: 0 0 8px; font-size: 16px; color: var(--tm-title); }
.tm-proofdecision p { font-size: 12.5px; color: var(--tm-muted); margin: 0 0 12px; }
.tm-proofdecision__img { display: inline-block; margin-bottom: 12px; }
.tm-proofdecision__img img { max-width: 220px; max-height: 220px; object-fit: contain; border: 1px solid var(--tm-border); border-radius: 6px; background: #fff; }
.tm-proofdecision__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tm-proofdecision__form { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tm-proofdecision__form label { font-size: 12px; font-weight: 700; }
.tm-proofdecision__form textarea { width: 100%; padding: 10px; border: 1px solid var(--tm-border); border-radius: 6px; font-size: 13px; }
.tm-proofnote { padding: 12px 16px; margin: 10px 0 16px; border-radius: 6px; background: #f7f7f7; font-size: 12.5px; color: var(--tm-title); }
.tm-proofnote--ok { background: #effaf4; color: #137a4b; }
.tm-proofnote--revision { background: #fff7e8; color: #8a5b00; }
.tm-proofnote em { display: block; margin-top: 6px; font-style: italic; }
.tm-addon__price { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.tm-addon__price del { font-size: 11px; font-weight: 400; color: #aaa; }
.tm-addon__price b { font-size: 13px; }
.tm-addon__badge { display: inline-block; padding: 2px 6px; border-radius: 3px; background: var(--tm-accent); color: var(--tm-on-brand); font: 700 9px/1.4 var(--tm-head); font-style: normal; letter-spacing: .5px; }
.tm-cust__step.is-locked { opacity: .45; cursor: not-allowed; }
@media (max-width: 800px) { .tm-how__grid { grid-template-columns: 1fr; } }

/* Acceptance / preview-only comparison block */
.tm-proofdemo { background: #fff; }
.tm-flowcompare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 920px; margin: 26px auto 0; }
.tm-flowcompare__col { padding: 18px 20px; border: 1px solid var(--tm-border); border-radius: 8px; background: #fafafa; }
.tm-flowcompare__col--ours { border-color: #a9ddf1; background: #f3fbfe; }
.tm-flowcompare h4 { font-size: 14px; margin: 0 0 8px; color: var(--tm-title); }
.tm-flowcompare p { font-size: 12.5px; line-height: 1.7; color: var(--tm-muted); margin: 0; }
.tm-flowcompare strong { color: var(--tm-ink); }
@media (max-width: 800px) { .tm-flowcompare { grid-template-columns: 1fr; } }
.tm-swatch__visual.has-photo { background-size: contain; background-position: center; background-repeat: no-repeat; background-color: #fff; }
.tm-swatch__visual.has-photo::after { display: none; }

/* WooCommerce's default `.woocommerce ul.products li.product` width/float
   outranks `li.tm-card-wrap`, which squashed archive cards to ~22% of a grid
   cell. Match its specificity so the CSS grid controls the card width. */
.woocommerce ul.products.tm-grid > li.product,
.woocommerce-page ul.products.tm-grid > li.product,
ul.products.tm-grid > li.product.tm-card-wrap {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  clear: none;
}
.woocommerce ul.products.tm-grid > li.product .tm-card,
.woocommerce-page ul.products.tm-grid > li.product .tm-card { width: 100%; }
.woocommerce ul.products.tm-grid > li.product img,
.woocommerce-page ul.products.tm-grid > li.product img { width: 100%; height: auto; }

/* WooCommerce ships a table-based clearfix on ul.products (::before/::after).
   Inside a CSS grid those pseudo elements become grid items and push the first
   card into column 2, leaving a blank cell. Drop them for our grids. */
ul.products.tm-grid::before,
ul.products.tm-grid::after,
.woocommerce ul.products.tm-grid::before,
.woocommerce ul.products.tm-grid::after {
  content: none;
  display: none;
}
