/* ==========================================================================
   Tailovo — styles for markup that only exists in the WordPress edition
   (live search, WooCommerce forms/notices, editor content, comments).
   Uses the design tokens of theme.css; never overrides the locked layout.
   ========================================================================== */

/* Live search */
.tv-livesearch{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:60;background:#ffffff;border:1px solid rgba(30,70,56,.16);border-radius:16px;box-shadow:0 6px 18px rgba(24,34,31,.06);overflow:hidden}
.tv-livesearch__row{display:flex;align-items:center;gap:12px;padding:10px 14px;color:var(--text-primary);text-decoration:none;border-bottom:1px solid var(--border-color);transition:background-color .15s ease}
.tv-livesearch__row:hover,.tv-livesearch__row:focus{background:var(--bg-muted);outline:none}
.tv-livesearch__row img{width:42px;height:42px;border-radius:10px;object-fit:cover;flex:none}
.tv-livesearch__type{flex:none;font-size:11px;font-weight:700;text-transform:uppercase;color:var(--brand-accent);min-width:40px}
.tv-livesearch__title{flex:1;font-size:13.5px;font-weight:500;line-height:1.35}
.tv-livesearch__price{font-size:13.5px;font-weight:700;color:var(--brand-primary)}
.tv-livesearch__all{display:block;width:100%;padding:11px 14px;border:0;background:var(--brand-primary-soft);color:var(--brand-primary);font-weight:700;font-size:13px;text-align:left;cursor:pointer}
.tv-livesearch__empty{padding:14px;font-size:13.5px;color:var(--text-muted)}

/* Custom logo */
.tv-logo__img{max-height:75px !important;width:auto;height:auto}

/* Editor content inside the design */
.tv-entry > *:first-child{margin-top:0}
.tv-entry img{max-width:100%;height:auto;border-radius:var(--radius)}
.tv-entry .wp-block-image figcaption{font-size:13px;color:var(--text-muted)}
.tv-entry table{width:100%;border-collapse:collapse}
.tv-entry th,.tv-entry td{border:1px solid var(--border-color);padding:8px 10px;text-align:left}
.aligncenter{margin-left:auto;margin-right:auto;display:block}
.screen-reader-text{position:absolute!important;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}

/* WooCommerce notices */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-error,.woocommerce-message,.woocommerce-info{list-style:none;margin:0 0 16px;padding:12px 16px;border-radius:var(--radius);border:1px solid var(--border-color);background:var(--bg-surface);font-size:14px}
.woocommerce-error{border-color:var(--danger);color:var(--danger);background:#fbeeed}
.woocommerce-message{border-color:var(--success);background:var(--success-soft)}
.woocommerce-info{border-color:var(--brand-primary);background:var(--brand-primary-soft)}
.woocommerce-error li{margin:2px 0}
.woocommerce-message .button,.woocommerce-info .button{float:right;margin-left:12px;font-weight:700;color:var(--brand-primary)}

/* WooCommerce forms inside the design's boxes (checkout, account, login) */
.tv-woo .form-row{margin:0 0 14px;padding:0}
.tv-woo .form-row label{display:block;font-size:13px;font-weight:600;color:var(--text-secondary);margin-bottom:6px}
.tv-woo .form-row .required{color:var(--danger);text-decoration:none;border:0}
.tv-woo .form-row .optional{color:var(--text-muted);font-weight:400}
.tv-woo input.input-text,.tv-woo select,.tv-woo textarea,.tv-woo .select2-selection{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg-surface);font:inherit;color:var(--text-primary)}
.tv-woo textarea{min-height:90px}
.tv-woo input.input-text:focus,.tv-woo select:focus,.tv-woo textarea:focus{outline:2px solid var(--brand-primary-soft);border-color:var(--brand-primary)}
.tv-woo .woocommerce-invalid input.input-text{border-color:var(--danger)}
.tv-woo .form-row-first,.tv-woo .form-row-last{width:calc(50% - 6px);display:inline-block;vertical-align:top}
.tv-woo .form-row-first{margin-right:8px}
.tv-woo .form-row-wide{clear:both}
.tv-woo h3{font-size:18px;margin:0 0 14px}
.tv-woo .woocommerce-billing-fields,.tv-woo .woocommerce-shipping-fields,.tv-woo .woocommerce-additional-fields{margin-bottom:10px}
.tv-woo #ship-to-different-address{font-size:15px}
.tv-woo .button,.tv-woo button[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 22px;border:0;border-radius:var(--radius-pill);background:var(--brand-primary);color:#fff;font-weight:700;font-size:15px;cursor:pointer}
.tv-woo .button:hover,.tv-woo button[type=submit]:hover{background:var(--brand-primary-hover)}
.tv-woo #place_order{width:100%;min-height:52px;font-size:16px;background:var(--brand-accent)}
.tv-woo #place_order:hover{background:var(--brand-accent-hover)}
.tv-woo table.shop_table{width:100%;border-collapse:collapse;font-size:14px}
.tv-woo table.shop_table th,.tv-woo table.shop_table td{padding:10px 0;border-bottom:1px solid var(--border-color);text-align:left;vertical-align:top}
.tv-woo table.shop_table td:last-child,.tv-woo table.shop_table th:last-child{text-align:right}
.tv-woo table.shop_table .order-total th,.tv-woo table.shop_table .order-total td{font-size:17px;font-weight:800;border-bottom:0}
.tv-woo .fee td{color:var(--success);font-weight:700}
.tv-woo ul#shipping_method{list-style:none;margin:0;padding:0}
.tv-woo ul#shipping_method li{margin:0 0 6px}
.tv-woo #payment{margin-top:16px}
.tv-woo #payment ul.payment_methods{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px}
.tv-woo #payment ul.payment_methods > li{border:1px solid var(--border-color);border-radius:var(--radius);padding:12px 14px;background:var(--bg-surface)}
.tv-woo #payment ul.payment_methods > li > label{font-weight:700;cursor:pointer}
.tv-woo #payment .payment_box{margin-top:10px;font-size:13.5px;color:var(--text-secondary)}
.tv-woo .woocommerce-terms-and-conditions-wrapper{font-size:13px;color:var(--text-secondary);margin-bottom:12px}
.tv-woo .woocommerce-form-coupon-toggle,.tv-woo .woocommerce-form-login-toggle{margin-bottom:12px}
.tv-woo .checkout_coupon{display:flex;gap:8px;margin-bottom:16px}
.tv-woo .checkout_coupon .form-row{flex:1;margin:0}
.tv-woo .woocommerce-checkout-review-order-table .product-name{font-weight:600}
.tv-woo .wc-item-meta{list-style:none;margin:4px 0 0;padding:0;font-size:12.5px;color:var(--text-muted)}
.tv-woo .blockUI.blockOverlay{background:rgba(255,255,255,.6)!important}

/* My account */
.tv-account-woo{display:grid;grid-template-columns:240px 1fr;gap:24px;align-items:start}
.tv-account-woo .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;background:var(--bg-surface);border:1px solid var(--border-color);border-radius:var(--radius)}
.tv-account-woo .woocommerce-MyAccount-navigation a{display:block;padding:10px 12px;border-radius:var(--radius-sm);color:var(--text-primary);text-decoration:none;font-weight:600;font-size:14px}
.tv-account-woo .woocommerce-MyAccount-navigation .is-active a,.tv-account-woo .woocommerce-MyAccount-navigation a:hover{background:var(--brand-primary-soft);color:var(--brand-primary)}
.tv-account-woo .woocommerce-MyAccount-content{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:22px}
.tv-account-woo .woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tv-account-woo address{font-style:normal;line-height:1.6}
@media (max-width:767px){
	.tv-account-woo{grid-template-columns:1fr}
	.tv-account-woo .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:1fr 1fr}
	.tv-account-woo .woocommerce-Addresses{grid-template-columns:1fr}
	.tv-woo .form-row-first,.tv-woo .form-row-last{width:100%;margin-right:0}
}

/* Comments (blog & video watch) — unified UI and moderation workflow */
#comments.tv-comments{margin-top:0;padding:32px 36px;background:var(--bg-surface);border:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;gap:24px;width:100%}
.tv-watch__main #comments.tv-comments{margin-top:0;padding:32px 36px;background:var(--bg-surface);border:0!important;border-radius:0!important}
.tv-post-body #comments.tv-comments{margin-top:16px;padding:28px 0 0;background:transparent;border:0;border-top:1px solid var(--border-color)!important;border-radius:0}
#comments .tv-comments__head{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--border-color);width:100%}
#comments .tv-comments__title{font-family:var(--font-display);font-size:21px;font-weight:700;color:var(--text-primary);margin:0;display:inline-flex!important;align-items:center;justify-content:flex-start!important;gap:10px;width:auto!important}
#comments .tv-comments__title svg{color:var(--brand-primary);flex:none}
#comments .comment-reply-title{font-family:var(--font-display);font-size:20px;font-weight:700;color:var(--text-primary);margin:0;display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%}
#comments .comment-reply-title small a{font-size:13px;font-weight:600;color:var(--danger);text-decoration:none}
#comments .tv-comments__closed{margin:0;padding:12px 16px;background:var(--bg-muted);color:var(--text-muted);font-size:13.5px}
#comments .tv-bcomment-list,#comments .tv-comment-list{list-style:none;margin:0;padding:0;display:flex!important;flex-direction:column!important;gap:16px;width:100%}
#comments .tv-bcomment-item,#comments .tv-comment-item{list-style:none;margin:0;padding:0;display:block!important;grid-template-columns:none!important;border-bottom:0!important;width:100%}
#comments .tv-bcomment-item > .children,#comments .tv-comment-item > .children{list-style:none;margin:12px 0 0 28px;padding:0 0 0 18px;border-left:2px solid var(--border-color);display:flex;flex-direction:column;gap:12px}
#comments .tv-comment-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:12px;padding:18px 20px;background:var(--bg-muted);border:1px solid var(--border-color);border-radius:var(--radius-sm);width:100%}
#comments .tv-comment-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;width:100%}
#comments .tv-comment-card__author{display:flex;align-items:center;gap:12px;min-width:0}
#comments .tv-comment-card__avatar-wrap{flex:0 0 42px;width:42px;height:42px;border-radius:50%;overflow:hidden;display:block;background:var(--bg-subtle)}
#comments .tv-comment-card__avatar-wrap img,#comments .tv-comment-card__avatar-img{width:42px!important;height:42px!important;border-radius:50%;object-fit:cover;display:block}
#comments .tv-comment-card__author-info{display:flex;flex-direction:column;gap:2px;min-width:0}
#comments .tv-comment-card__name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#comments .tv-comment-card__name{font-size:14.5px;font-weight:700;color:var(--text-primary);line-height:1.25}
#comments .tv-comment-card__name a{color:inherit;text-decoration:none}
#comments .tv-comment-card__badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--brand-primary-soft);color:var(--brand-primary);line-height:1.3}
#comments .tv-comment-card__date{font-size:12.5px;color:var(--text-muted);line-height:1.3}
#comments .tv-comment-card__actions{margin-left:auto}
#comments .tv-comment-card__reply a,#comments .comment-reply-link{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-color);font-size:12px;font-weight:700;color:var(--brand-primary);text-decoration:none;transition:all .18s ease}
#comments .tv-comment-card__reply a:hover,#comments .comment-reply-link:hover{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}
#comments .tv-comment-card__awaiting{margin:0;padding:8px 12px;border-radius:6px;background:var(--brand-accent-soft);color:var(--brand-accent);font-size:12.5px;font-weight:600}
#comments .tv-comment-card__content{font-size:14.5px;line-height:1.68;color:var(--text-secondary);overflow-wrap:anywhere;padding-left:54px}
#comments .tv-comment-card__content p{margin:0 0 8px}
#comments .tv-comment-card__content p:last-child{margin-bottom:0}
#comments .tv-comment-respond{display:flex!important;flex-direction:column!important;gap:14px;padding-top:6px;width:100%}
#comments .tv-bcomment-form,#comments .tv-comment-form{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:14px;width:100%}
#comments .tv-bcomment-form p,#comments .tv-comment-form p{margin:0;width:100%}
#comments .comment-notes,#comments .logged-in-as{font-size:13.5px;color:var(--text-muted);line-height:1.55;margin-bottom:2px;display:block;width:100%}
#comments .logged-in-as a{color:var(--brand-primary);font-weight:600;text-decoration:none}
#comments .logged-in-as a:hover{text-decoration:underline}
#comments .tv-comment-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}
#comments .tv-comment-form__field{display:flex;flex-direction:column;gap:6px;width:100%}
#comments .tv-comment-form__field label,#comments .tv-bcomment-form label{display:block;font-size:13px;font-weight:700;color:var(--text-primary);margin:0}
#comments .required{color:var(--danger)}
#comments input[type=text],#comments input[type=email],#comments input[type=url],#comments textarea{width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--bg-muted);color:var(--text-primary);font:inherit;font-size:14px;transition:border-color .2s,background-color .2s,box-shadow .2s}
#comments textarea{min-height:124px;resize:vertical;line-height:1.6}
#comments input[type=text]:focus,#comments input[type=email]:focus,#comments input[type=url]:focus,#comments textarea:focus{outline:none;background:var(--bg-surface);border-color:var(--brand-primary);box-shadow:0 0 0 3px var(--brand-primary-soft)}
#comments .comment-form-cookies-consent{display:flex!important;align-items:flex-start;gap:10px;padding:2px 0;width:100%}
#comments .comment-form-cookies-consent input[type=checkbox]{width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:2px 0 0!important;flex:0 0 18px;accent-color:var(--brand-primary);cursor:pointer}
#comments .comment-form-cookies-consent label{margin:0;font-size:13px;font-weight:500;color:var(--text-secondary);line-height:1.45;cursor:pointer}
#comments .form-submit{margin-top:4px;width:100%}
#comments .form-submit .tv-btn,#comments input[type=submit]{width:auto;min-height:46px;padding:0 26px;border-radius:var(--radius-sm);background:var(--brand-primary);color:#fff;border:1px solid var(--brand-primary);font-weight:700;font-size:14.5px;cursor:pointer}
#comments .form-submit .tv-btn:hover,#comments input[type=submit]:hover{background:var(--brand-primary-hover);border-color:var(--brand-primary-hover)}
@media (max-width:767px){
	#comments.tv-comments,.tv-watch__main #comments.tv-comments{padding:20px 10px;gap:18px}
	#comments .tv-comment-card{padding:14px}
	#comments .tv-comment-card__content{padding-left:0}
	#comments .tv-bcomment-item > .children,#comments .tv-comment-item > .children{margin-left:12px;padding-left:12px}
	#comments .tv-comment-form__grid{grid-template-columns:1fr}
}

/* Legacy vet callout boxes unwrapped in PHP; keep any remaining text visible */

/* ==========================================================================
   In-Post 4-Column Product Slider (Synced with Category .tv-product-card UI)
   & Minimalist Single Video Player
   ========================================================================== */
.tv-post-embed{margin:8px 0;padding:0;background:transparent;border:0;display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:100%;max-width:100%;min-width:0;overflow:hidden}
.tv-post-embed__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tv-post-embed__title{font-family:var(--font-display);font-size:20px;font-weight:700;line-height:1.25;color:var(--text-primary);margin:0!important}

.tv-post-pslider{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px) / 4);gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 0 6px;width:100%;max-width:100%;min-width:0}
.tv-post-pslider::-webkit-scrollbar{display:none}
.tv-post-pslider.is-dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}
.tv-post-pslider > .tv-product-card{scroll-snap-align:start;min-width:0;margin:0}

/* Minimalist Single Video Player in Post */
.tv-post-embed--video{margin:8px 0;padding:0;background:#0b110f;border:0;overflow:hidden;width:100%;max-width:100%;min-width:0}
.tv-post-vcard__stage{position:relative;width:100%;max-width:100%;aspect-ratio:16/9;background:#0b110f;overflow:hidden;display:block}
.tv-post-vcard__poster{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;margin:0!important;border-radius:0!important;transition:transform .45s ease}
.tv-post-vcard__stage:hover .tv-post-vcard__poster{transform:scale(1.02)}
.tv-post-vcard__dur{position:absolute;top:12px;right:12px;z-index:2;padding:4px 10px;background:rgba(11,17,15,0.78);backdrop-filter:blur(4px);border-radius:999px;font-size:12px;font-weight:700;color:#fff}
.tv-post-vcard__overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(11,17,15,0.08) 0%,rgba(11,17,15,0.52) 100%);display:flex;align-items:center;justify-content:center;padding:20px}
.tv-post-vcard__playbtn{display:inline-flex;align-items:center;gap:12px;padding:10px 20px 10px 12px;background:rgba(255,255,255,0.95);color:#18221f;border:0;border-radius:999px;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,0.32);transition:transform .2s ease,background-color .2s ease}
.tv-post-vcard__playbtn:hover{transform:scale(1.04);background:#fff}
.tv-post-vcard__playicon{width:38px;height:27px;border-radius:0;background:transparent;display:grid;place-items:center;flex:none}
.tv-post-vcard__playicon .tv-yt-logo-img{width:38px!important;height:auto!important;display:block;border-radius:0!important}
.tv-post-vcard__playtext strong{font-size:14px;font-weight:700;color:#18221f;line-height:1.2}
.tv-post-vcard__stage iframe,.tv-post-vcard__stage video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;display:block!important;background:#000}

@media (max-width:1024px){
	.tv-post-pslider{grid-auto-columns:calc((100% - 24px) / 3)}
}
@media (max-width:767px){
	.tv-post-embed{margin:6px 0;gap:10px}
	.tv-post-embed__title{font-size:17px}
	.tv-post-pslider{grid-auto-columns:calc((100% - 10px) / 2);gap:10px}
	.tv-post-vcard__playbtn{padding:8px 16px 8px 10px;gap:8px}
	.tv-post-vcard__playicon{width:32px;height:23px}
	.tv-post-vcard__playicon .tv-yt-logo-img{width:32px!important}
	.tv-post-vcard__playtext strong{font-size:13px}
}

/* Checkout / account fields in the design's .tv-co-field grid */
.tv-co-fields .woocommerce-billing-fields h3,.tv-co-fields .woocommerce-additional-fields h3{display:none}
.tv-co-fields .woocommerce-billing-fields__field-wrapper,.tv-co-fields .woocommerce-shipping-fields__field-wrapper,.tv-woo .woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tv-co-fields.tv-co-delivery-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.tv-co-fields.tv-co-delivery-fields > .form-row.tv-co-field{grid-column:span 6}
.tv-co-fields.tv-co-delivery-fields > .form-row.tv-co-field.form-row-first{grid-column:span 3}
.tv-co-fields.tv-co-delivery-fields > .form-row.tv-co-field.form-row-last{grid-column:span 3}
.tv-co-fields.tv-co-delivery-fields > .form-row.tv-co-field.tv-co-col-3{grid-column:span 2}
.tv-co-fields.tv-co-delivery-fields > .tv-co-check{grid-column:span 6}
.tv-woo .form-row.tv-co-field{margin:0;padding:0;width:auto;float:none;display:flex;flex-direction:column;position:relative}
.tv-woo .form-row.tv-co-field.form-row-wide,.tv-woo .form-row.tv-co-field.notes{grid-column:1/-1}
.tv-woo .tv-co-fields.tv-co-delivery-fields > .form-row.tv-co-field.form-row-wide:not(.tv-co-col-3){grid-column:span 6}
.tv-woo .tv-co-field label{font-size:12px;font-weight:600;color:#555;margin:0 0 4px}
.tv-checkout-page .tv-woo .tv-co-field:not(#billing_country_field) > label{display:none!important}
.tv-checkout-page .tv-woo #billing_country_field{position:relative}
.tv-checkout-page .tv-woo #billing_country_field > label{position:absolute;top:6px;left:14px;z-index:2;margin:0;font-size:11px;font-weight:500;color:#6b7280;line-height:1.2;pointer-events:none}
.tv-checkout-page .tv-woo #billing_country_field > label .required{display:none}
.tv-checkout-page .tv-woo #billing_country_field select{height:52px!important;min-height:52px!important;padding:18px 36px 4px 14px!important;font-size:14px!important;font-weight:500!important;color:#111!important}
.tv-woo .tv-co-field .required{color:#c93b2b;text-decoration:none;border:0}
.tv-woo .tv-co-field .woocommerce-input-wrapper{display:block;width:100%;position:relative}
.tv-woo .tv-co-field input.input-text,.tv-woo .tv-co-field select{width:100%;height:48px;min-height:48px;padding:0 14px;border:1px solid #d6d6d6;border-radius:0;font-size:14px;background:#fff;color:#111}
.tv-checkout-page .tv-co-field select,.tv-woo .tv-co-field select{-webkit-appearance:none;appearance:none;padding-right:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:14px 14px!important}
.tv-woo .tv-co-field textarea{border:1px solid #d6d6d6;border-radius:0;font-size:14px}
.tv-woo .tv-co-field .description{display:none}
.tv-woo .select2-container{width:100%!important;display:block!important}
.tv-woo .select2-container .select2-selection--single{height:48px;border:1px solid #d6d6d6;border-radius:0;display:flex;align-items:center}
.tv-woo .select2-container .select2-selection--single .select2-selection__rendered{line-height:46px;padding-left:14px;color:#111;font-size:14px}
.tv-woo .select2-container .select2-selection--single .select2-selection__arrow{height:46px}
.tv-woo #ship-to-different-address label{display:flex;gap:10px;align-items:center;font-size:13.5px;font-weight:600}
.tv-co-pay-options{list-style:none;margin:0;padding:0}
.tv-co-pay-cards img{max-height:22px;width:auto;display:inline-block;margin-left:4px}
.tv-woo #place_order.tv-co-submit{width:100%}
.tv-woo .woocommerce-checkout-review-order-table{display:block}
.tv-co-item__media img{width:60px;height:60px;object-fit:cover}
.tv-co-totals__row--discount .woocommerce-remove-coupon{font-size:12px;margin-left:6px}
/* Prevent WooCommerce checkout validation errors from creating a 3rd grid column on desktop */
.tv-checkout-layout > .woocommerce-NoticeGroup,.tv-checkout-layout > .woocommerce-error,.tv-checkout-layout > .woocommerce-message,.tv-checkout-layout > .woocommerce-info{grid-column:1 / -1!important;width:100%!important;margin:0 0 16px!important}
.tv-checkout-page .woocommerce-error{list-style:none!important;margin:0!important;padding:12px 16px!important;background:#fef2f2!important;border:1px solid #fecaca!important;color:#991b1b!important;font-size:13.5px!important;line-height:1.5!important;border-radius:0!important}
.tv-checkout-page .woocommerce-error li{margin:2px 0!important}
@media (max-width:640px){
	.tv-co-fields .woocommerce-billing-fields__field-wrapper,.tv-co-fields .woocommerce-shipping-fields__field-wrapper,.tv-woo .woocommerce-address-fields__field-wrapper{grid-template-columns:1fr}
	.tv-co-fields.tv-co-delivery-fields > .form-row.tv-co-field,.tv-co-fields.tv-co-delivery-fields > .form-row.tv-co-field.form-row-first,.tv-co-fields.tv-co-delivery-fields > .form-row.tv-co-field.form-row-last,.tv-co-fields.tv-co-delivery-fields > .form-row.tv-co-field.tv-co-col-3{grid-column:span 6}
}

/* Sign in / register — Centered Panel + Social Auth Buttons */
.tv-auth{display:flex!important;justify-content:center!important;align-items:flex-start!important;gap:0!important;padding:12px 0 28px}
.tv-auth.tv-split{grid-template-columns:minmax(0,480px)!important}
.tv-auth form.tv-panel{width:100%;max-width:480px;margin:0 auto;padding:30px 28px;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid var(--border-color);border-radius:16px;box-shadow:0 12px 32px rgba(24,34,31,.05)}
.tv-auth h1{margin:0;font-size:28px;line-height:1.2}
.tv-auth__lead{margin:0 0 4px;color:var(--text-secondary);font-size:14px;line-height:1.5}
.tv-auth__label{font-size:13px;font-weight:600;color:var(--text-secondary);margin-top:4px;display:flex;justify-content:space-between;align-items:center}
.tv-auth input[type=text],.tv-auth input[type=email],.tv-auth input[type=password]{width:100%;min-height:46px;padding:0 12px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);font:inherit}
.tv-auth input:focus{outline:none;border-color:var(--brand-primary);box-shadow:0 0 0 3px rgba(30,70,56,.12)}
.tv-auth__pass{position:relative}
.tv-auth__pass input{padding-right:70px!important}
.tv-auth__eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:var(--bg-muted);border-radius:var(--radius-pill);padding:6px 12px;font-size:12px;font-weight:700;color:var(--brand-primary);cursor:pointer}
.tv-auth__row{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13.5px}
.tv-auth__row a,.tv-auth__legal a{color:var(--brand-primary);font-weight:600}
.tv-auth .tv-btn--lg{width:100%;justify-content:center;margin-top:6px;min-height:48px;border-radius:999px}
.tv-social-auth{display:flex;flex-direction:column;gap:10px;margin-top:2px}
.tv-social-auth__divider{display:flex;align-items:center;gap:12px;color:var(--text-muted);font-size:13px;margin:4px 0 2px}
.tv-social-auth__divider::before,.tv-social-auth__divider::after{content:"";flex:1;height:1px;background:var(--border-color)}
.tv-social-auth__btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:0 18px;border:1.5px solid #222;border-radius:999px;background:#fff;color:#111;font-size:15px;font-weight:700;text-decoration:none;transition:background-color .15s ease,transform .12s ease}
.tv-social-auth__btn:hover{background:#f7f7f7;color:#111}
.tv-social-auth__icon{flex:0 0 20px;width:20px;height:20px;display:block}
.tv-auth__switch{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:8px 0 0;padding-top:14px;border-top:1px solid var(--border-color);font-size:14px}
.tv-auth__legal{font-size:12.5px;color:var(--text-muted);margin:0}
.tv-auth__strength{font-weight:700;color:var(--brand-accent)}
.tv-auth__perks{display:none!important}
@media (max-width:767px){.tv-auth form.tv-panel{padding:22px 18px}}

/* Live search (v2) */
.tv-livesearch{max-height:min(70vh,520px);overflow:auto}
.tv-livesearch mark{background:none;color:var(--brand-accent);font-weight:700}
.tv-livesearch__head{padding:10px 12px 4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}
.tv-livesearch__chips{display:flex;flex-wrap:wrap;gap:6px;padding:6px 12px 10px}
.tv-livesearch__chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--border-color);border-radius:var(--radius-pill);font-size:13px;color:var(--text-primary);text-decoration:none;background:var(--bg-muted)}
.tv-livesearch__chip small{color:var(--text-muted)}
.tv-livesearch__chip--cat{background:var(--brand-primary-soft);border-color:transparent;color:var(--brand-primary);font-weight:600}
.tv-livesearch__chip:hover,.tv-livesearch__chip.is-active{border-color:var(--brand-primary)}
.tv-livesearch__suggest{display:block;padding:10px 12px;font-size:13.5px;color:var(--text-primary);text-decoration:none;border-bottom:1px solid var(--border-color)}
.tv-livesearch__suggest b{color:var(--brand-accent)}
.tv-livesearch__row.is-active,.tv-livesearch__suggest.is-active,.tv-livesearch__all.is-active{background:var(--bg-muted)}
.tv-livesearch__oos{color:var(--danger);font-weight:600}
a.tv-livesearch__all{display:block;text-decoration:none}

/* View counter (eye) */
.tv-views{display:inline-flex;align-items:center;gap:5px;color:var(--text-muted);font-size:13px;font-weight:600;white-space:nowrap}
.tv-views svg{flex:none;opacity:.85}
.tv-ae-metarow .tv-views{font-size:13px}

/* iOS Safari: the sticky header (≤767px) can end on a fractional pixel (e.g. 113.1px at 414px wide)
   and Safari snaps its layer separately, leaving a hairline of white body between it and the nav.
   Paint the nav's own colour 2px upwards to fill that seam; the header (z-index 48) covers it otherwise. */
@media (max-width: 767px) {
  .tv-nav { box-shadow: 0 -2px 0 var(--brand-primary); }
}

/* Cookie consent banner (inc/consent.php, assets/js/consent.js) */
.tv-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:2000;max-width:720px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:16px 18px;background:#fff;color:var(--text-primary);border:1px solid var(--border-color);border-radius:var(--radius);box-shadow:0 12px 40px rgba(0,0,0,.16)}
.tv-consent[hidden]{display:none}
.tv-consent__body{flex:1;min-width:0}
.tv-consent__title{display:block;font-size:15px;margin-bottom:4px}
.tv-consent__text{margin:0;font-size:13.5px;line-height:1.5;color:var(--text-muted)}
.tv-consent__text a{color:var(--brand-primary);text-decoration:underline}
.tv-consent__actions{display:flex;gap:8px;flex:none}
@media (max-width:640px){.tv-consent{flex-direction:column;align-items:stretch;bottom:max(12px,env(safe-area-inset-bottom))}.tv-consent__actions{flex-direction:column-reverse}.tv-consent__actions .tv-btn{width:100%}}
