/* WooCommerce overrides for the TrivoStream Bright Signal theme. */
.woocommerce, .woocommerce-page { color: var(--ink); }
.page--shop h1, .page--shop .page-title, .entry-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.6em; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	background: var(--surface) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; border-left: 4px solid var(--accent) !important;
	border-radius: var(--r) !important; padding: 16px 20px !important; margin: 0 0 24px !important; list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { border-left-color: #D92D20 !important; }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; }

/* Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button:not(.is-link), .wp-block-button__link, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--accent) !important; color: #fff !important; border: 1.5px solid transparent !important; border-radius: var(--r) !important;
	font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; min-height: 52px; padding: 0 28px !important; display: inline-flex; align-items: center; justify-content: center;
	text-decoration: none; box-shadow: none !important; cursor: pointer; transition: background-color .15s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--accent-hover) !important; color: #fff !important; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; }
.wc-block-components-button.is-secondary { background: #fff !important; color: var(--ink) !important; border: 1.5px solid var(--ink) !important; }

/* Forms */
.woocommerce form .form-row label, .wc-block-components-text-input label { color: var(--muted) !important; font-weight: 600; }
.woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"], .woocommerce input[type="password"], .woocommerce input[type="number"],
.woocommerce select, .woocommerce textarea, .woocommerce .select2-container--default .select2-selection--single,
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-block-components-combobox .wc-block-components-combobox-control input {
	background: #fff !important; color: var(--ink) !important; border: 1.5px solid var(--line) !important; border-radius: var(--r) !important; min-height: 50px; padding: 12px 14px; font-family: var(--font-body); font-size: 1rem; box-shadow: none !important;
}
.woocommerce input:focus, .woocommerce select:focus, .woocommerce textarea:focus, .wc-block-components-text-input input:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent) !important; }
.wc-blocks-components-select .wc-blocks-components-select__container, .wc-blocks-components-select__container { background: #fff !important; border: 1.5px solid var(--line) !important; border-radius: var(--r) !important; }
.wc-blocks-components-select__select { background: transparent !important; color: var(--ink) !important; border: 0 !important; }
.wc-blocks-components-select__label { color: var(--muted) !important; }
.woocommerce form .form-row .required { color: var(--accent); }
.woocommerce-checkout #payment, .woocommerce #payment { background: var(--surface) !important; border-radius: var(--r-lg); border: 1px solid var(--line); }
.woocommerce #payment div.payment_box { background: #fff !important; color: var(--ink); }
.woocommerce #payment div.payment_box::before { border-bottom-color: #fff !important; }

/* Shop archive */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 0 0 32px; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; margin: 0; padding: 24px; background: var(--dark); color: #fff; border-radius: var(--r-lg); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); font-size: 1.3rem; color: #fff; padding: 0; }
.woocommerce ul.products li.product .price { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.woocommerce-result-count, .woocommerce-ordering select { color: var(--muted); }
.woocommerce-breadcrumb { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.woocommerce-breadcrumb a { color: var(--muted); }

/* Single product */
.woocommerce div.product { display: block; max-width: 760px; }
@media (min-width: 900px) { .woocommerce div.product { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } .woocommerce div.product::after { display: none; } .woocommerce div.product .summary { grid-column: 1; max-width: 640px; } .woocommerce div.product .product-aside { grid-column: 2; grid-row: 1; } }
.woocommerce div.product .product_title { font-size: clamp(2rem, 5vw, 3rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); margin-bottom: 24px; }
.woocommerce div.product form.cart .variations { border: 0; margin-bottom: 20px; width: 100%; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 6px; text-align: left; background: transparent; border: 0; }
.woocommerce div.product form.cart .variations label { color: var(--muted); font-weight: 600; }
.woocommerce div.product form.cart .variations select { width: 100%; max-width: 420px; margin-bottom: 14px; }
.woocommerce div.product form.cart .reset_variations { color: var(--muted); font-size: 0.9rem; }
.woocommerce div.product form.cart .woocommerce-variation-price .price { font-size: 2.2rem; color: var(--accent); }
.woocommerce .quantity .qty { width: 80px; text-align: center; }

/* Cart + checkout (classic) */
.woocommerce table.shop_table, .woocommerce-cart table.cart { border: 1px solid var(--line) !important; border-radius: var(--r-lg); border-collapse: separate; overflow: hidden; background: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line) !important; color: var(--ink); }

/* Cart + checkout (blocks) */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { color: var(--ink); }
.wc-block-components-order-summary-item__image, .woocommerce-cart-form .product-thumbnail { display: none !important; }
.wc-block-components-product-name, .wc-block-components-product-name:hover { color: var(--ink) !important; text-decoration: none; font-weight: 700; }
.wc-block-components-totals-wrapper, table.wc-block-cart-items, .wc-block-cart-items__row, .wc-block-cart-items th { border-color: var(--line) !important; }
.wc-block-components-totals-item__label, .wc-block-components-totals-item__value, .wc-block-formatted-money-amount { color: var(--ink) !important; }
.wc-block-components-product-metadata, .wc-block-components-product-details, .wc-block-components-totals-item__description, .wc-block-components-checkout-step__description, .wc-block-components-checkbox__label, .wc-block-checkout__terms, .wc-block-checkout__terms a { color: var(--muted) !important; }
.wc-block-components-title.wc-block-components-title, .wc-block-components-checkout-step__title, .wc-block-cart__totals-title { font-family: var(--font-display); color: var(--ink); }
.wc-block-cart__sidebar, .wc-block-checkout__sidebar, .wc-block-components-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 24px 24px !important; align-self: start; }
.wc-block-components-sidebar-layout { gap: 32px; }
.wc-block-components-quantity-selector { border-color: var(--line) !important; border-radius: var(--r) !important; background: #fff; }
.wc-block-components-quantity-selector input, .wc-block-components-quantity-selector__button { color: var(--ink) !important; }
.wc-block-components-panel__button { color: var(--ink) !important; }
.wc-block-components-product-badge, .wc-block-components-order-summary-item__quantity { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }
.wc-block-components-validation-error { color: #D92D20 !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--line) !important; }

/* My account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--muted); font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { border-color: var(--accent); color: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon, .woocommerce-form-login { background: #fff; border: 1.5px solid var(--line) !important; border-radius: var(--r-lg); padding: 24px; }

/* Fixes from the 2026-11-15 design review */
/* Shop grid: WooCommerce sets a % width on li.product through [class*="columns-"]; beat it */
.woocommerce ul.products[class*="columns-"] li.product { float: none; width: auto; margin: 0; }
/* Single product: WooCommerce floats the gallery and the summary on desktop; without this the footer overlaps them */
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: 100%; }
.woocommerce div.product::after { content: ""; display: table; clear: both; }
/* Cart block: keep the product thumbnail. Hiding it shifted the grid (price left of the name on phones, squeezed details on desktop) */
/* Shop button: centre the label */
.woocommerce ul.products li.product .button { display: inline-flex; align-items: center; justify-content: center; }
/* Variation lines (Duration, Connections) were 11.4px */
.wc-block-components-product-details, .wc-block-components-product-details li, .wc-block-components-product-details__name, .wc-block-components-product-details__value, .wc-block-components-product-metadata { font-size: 0.8125rem; }

/* Plan product page */
.single-product .woocommerce div.product .summary > .price { display: none; }
select.is-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.opt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 24px; }
.opt-card { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-height: 88px; padding: 16px; border: 2px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.opt-card:hover { border-color: var(--ink); }
.opt-card.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(23, 71, 255, 0.16); }
.opt-card__name { font-weight: 700; }
.opt-card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.woocommerce div.product form.cart .single_variation_wrap { margin-top: 4px; }
.woocommerce div.product form.cart .woocommerce-variation-price .price { display: block; margin-bottom: 14px; }
.woocommerce div.product form.cart .single_add_to_cart_button { min-height: 58px; padding: 0 40px; font-size: 1.1rem; }
.product-about { margin-top: 32px; color: var(--muted); }
.product-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-top: 32px; }
@media (min-width: 900px) { .product-aside { margin-top: 0; position: sticky; top: 104px; } }
.product-aside h2 { font-size: 1.15rem; margin: 0 0 16px; }
.product-aside ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.product-aside li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.product-aside .icon { width: 20px; height: 20px; color: var(--accent); stroke-width: 2.4; flex: none; }
.product-aside .btn { width: 100%; }
.product-aside__trial { display: block; margin-top: 14px; text-align: center; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 520px) {
  .opt-cards { grid-template-columns: 1fr; }
  .opt-card { flex-direction: row; justify-content: space-between; align-items: center; min-height: 64px; }
  .woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; }
}
.woocommerce div.product form.cart .reset_variations { display: none !important; }

/* Short checkout (classic): details on the left, order and payment on the right */
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; max-width: none; }
.woocommerce-checkout h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 16px; }
.woocommerce-checkout #order_review_heading { margin-top: 0; }
.woocommerce-checkout .trivo-terms { font-size: 0.92rem; color: var(--muted); margin: 0 0 16px; }
@media (min-width: 900px) {
  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; column-gap: 56px; align-items: start; }
  .woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
  .woocommerce-checkout form.checkout #order_review_heading { grid-column: 2; grid-row: 1; }
  .woocommerce-checkout form.checkout #order_review { grid-column: 2; grid-row: 2; }
}

/* Invoice payment choice (Crypto / Card or PayPal): space the two radios */
.tinv-pick { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.tinv-pick label { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; }

