/*
 * TruYou Health: WooCommerce screens.
 * Replaces WooCommerce's own stylesheets (see inc/woocommerce.php). Colours and type follow the site:
 * midnight #020B1E, navy panels, gold #E6C069 / #D7A74A, mist #A8B4C8, paper #F5F7FA.
 * Loaded only on shop, product, cart, checkout and account screens.
 */

.truyou-shop-screen .wp-page > .container-site { max-width: 1180px; }
.truyou-shop-screen .wp-prose { font-size: 15.5px; max-width: none; }
.truyou-shop-screen main { color: rgba(245, 247, 250, 0.9); }
/* Page links only. The site header and footer keep their own link colours (the header button is gold with dark text). */
.truyou-shop-screen main a { color: #e6c069; }
.truyou-shop-screen main a:hover { color: #f0d089; }
.truyou-shop-screen main h2,
.truyou-shop-screen main h3 { color: #f5f7fa; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.8em; }
.truyou-shop-screen main h2 { font-size: clamp(22px, 2.4vw, 30px); }
.truyou-shop-screen main h3 { font-size: clamp(19px, 2vw, 23px); }
/* Checkout headings are h2 in the template (so the outline goes h1, h2) but keep the smaller look. */
.truyou-shop-screen form.woocommerce-checkout h2 { font-size: clamp(19px, 2vw, 23px); }
/* Checkboxes and radios: at least 24 x 24 px so they are easy to hit (WCAG 2.2 target size). */
.truyou-shop-screen input[type="checkbox"],
.truyou-shop-screen input[type="radio"] { width: 24px; height: 24px; flex: none; accent-color: #e6c069; margin: 0; }
.truyou-shop-screen .woocommerce-breadcrumb { font-size: 13px; color: #a8b4c8; margin: 0 0 1.5rem; }
.truyou-shop-screen .woocommerce-breadcrumb a { color: #a8b4c8; }

/* ---------------------------------------------------------------- buttons */
.truyou-shop-screen a.button,
.truyou-shop-screen button.button,
.truyou-shop-screen input.button,
.truyou-shop-screen #respond input#submit,
.truyou-shop-screen #place_order {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 26px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1; text-decoration: none;
  color: #04101f; background: linear-gradient(135deg, #e6c069, #d7a74a);
  box-shadow: 0 12px 30px -16px rgba(215, 167, 74, 0.9);
  transition: background 0.25s, transform 0.2s;
}
.truyou-shop-screen a.button:hover,
.truyou-shop-screen button.button:hover,
.truyou-shop-screen input.button:hover,
.truyou-shop-screen #place_order:hover { color: #04101f; background: linear-gradient(135deg, #f0d089, #e0b45c); }
.truyou-shop-screen a.button:active,
.truyou-shop-screen button.button:active { transform: scale(0.985); }
.truyou-shop-screen .button.disabled,
.truyou-shop-screen .button:disabled { opacity: 0.45; cursor: not-allowed; }
.truyou-shop-screen a.button.wc-forward,
.truyou-shop-screen .woocommerce-message a.button { background: transparent; color: #f5f7fa; border: 1px solid rgba(168, 180, 200, 0.4); box-shadow: none; }
.truyou-shop-screen #place_order { width: 100%; }
.truyou-shop-screen a.remove { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid rgba(168, 180, 200, 0.3); color: #a8b4c8; text-decoration: none; font-size: 18px; line-height: 1; }
.truyou-shop-screen a.remove:hover { border-color: #e6c069; color: #04101f; background: #e6c069; }

/* ---------------------------------------------------------------- notices */
.truyou-shop-screen .woocommerce-message,
.truyou-shop-screen .woocommerce-info,
.truyou-shop-screen .woocommerce-error {
  list-style: none; margin: 0 0 1.5rem; padding: 16px 20px; border-radius: 16px;
  background: rgba(3, 24, 56, 0.72); border: 1px solid rgba(168, 180, 200, 0.2); border-left: 3px solid #e6c069;
  color: #f5f7fa; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.truyou-shop-screen .woocommerce-error { border-left-color: #ff7a7a; display: block; }
.truyou-shop-screen .woocommerce-error li + li { margin-top: 6px; }
.truyou-shop-screen .woocommerce-message::before,
.truyou-shop-screen .woocommerce-info::before,
.truyou-shop-screen .woocommerce-error::before { display: none; }
.truyou-shop-screen .woocommerce-notices-wrapper:empty { display: none; }

/* ---------------------------------------------------------------- forms */
.truyou-shop-screen form .form-row { margin: 0 0 1rem; padding: 0; }
.truyou-shop-screen form .form-row label { display: block; margin: 0 0 6px; font-size: 13px; color: #a8b4c8; }
.truyou-shop-screen form .form-row .required { color: #e6c069; text-decoration: none; }
.truyou-shop-screen input.input-text,
.truyou-shop-screen textarea,
.truyou-shop-screen select,
.truyou-shop-screen .select2-container--default .select2-selection--single {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 14px; box-sizing: border-box;
  background: rgba(2, 11, 30, 0.7); border: 1px solid rgba(168, 180, 200, 0.32); color: #f5f7fa; font: inherit;
}
.truyou-shop-screen textarea { min-height: 110px; }
.truyou-shop-screen input.input-text:focus,
.truyou-shop-screen textarea:focus,
.truyou-shop-screen select:focus { outline: 2px solid #e6c069; outline-offset: 2px; border-color: transparent; }
.truyou-shop-screen .select2-container--default .select2-selection--single .select2-selection__rendered { color: #f5f7fa; line-height: 24px; padding: 0; }
.truyou-shop-screen .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 10px; }
.select2-dropdown { background: #031838; border: 1px solid rgba(168, 180, 200, 0.3); color: #f5f7fa; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: #06285a; color: #fff; }
.select2-container--default .select2-search--dropdown .select2-search__field { background: #020b1e; color: #f5f7fa; border: 1px solid rgba(168, 180, 200, 0.3); }
.select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[data-selected=true] { background: #0a3a7a; }
.truyou-shop-screen .woocommerce-invalid input.input-text { border-color: #ff7a7a; }
.truyou-shop-screen form .form-row.woocommerce-invalid label { color: #ff9a9a; }
.truyou-shop-screen .woocommerce-input-wrapper .description,
.truyou-shop-screen form .form-row .description { font-size: 12.5px; color: #a8b4c8; }
.truyou-shop-screen form.login,
.truyou-shop-screen form.register,
.truyou-shop-screen form.checkout_coupon,
.truyou-shop-screen form.lost_reset_password {
  padding: 24px; border-radius: 22px; border: 1px solid rgba(168, 180, 200, 0.16);
  background: linear-gradient(180deg, rgba(6, 40, 90, 0.42), rgba(3, 24, 56, 0.72));
}
.truyou-shop-screen form label.woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 12px; color: #f5f7fa; font-size: 14.5px; line-height: 1.5; }
.truyou-shop-screen form label.woocommerce-form__label-for-checkbox > span { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- shop grid and product cards */
.truyou-shop-screen .woocommerce-result-count { color: #a8b4c8; font-size: 14px; margin: 0 0 1rem; }
.truyou-shop-screen .woocommerce-ordering { margin: 0 0 1.5rem; }
.truyou-shop-screen .woocommerce-ordering select { width: auto; min-width: 220px; }
.truyou-shop-screen ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.truyou-shop-screen ul.products li.product {
  display: flex; flex-direction: column; margin: 0; padding: 18px; border-radius: 22px; position: relative;
  border: 1px solid rgba(168, 180, 200, 0.16);
  background: linear-gradient(180deg, rgba(6, 40, 90, 0.42), rgba(3, 24, 56, 0.72));
}
.truyou-shop-screen ul.products li.product a.woocommerce-LoopProduct-link { display: block; color: inherit; text-decoration: none; }
.truyou-shop-screen ul.products li.product img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; margin: 0 0 14px; background: rgba(2, 11, 30, 0.6); }
.truyou-shop-screen ul.products li.product .woocommerce-loop-product__title { font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; color: #f5f7fa; margin: 0 0 8px; padding: 0; }
.truyou-shop-screen ul.products li.product .price { display: block; color: #e6c069; font-size: 17px; font-weight: 500; margin: 0 0 14px; }
.truyou-shop-screen ul.products li.product .button { margin-top: auto; align-self: flex-start; }
.truyou-shop-screen ul.products li.product .added_to_cart { margin-top: 10px; font-size: 14px; }
.truyou-badge { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #e6c069; border: 1px solid rgba(230, 192, 105, 0.45); align-self: flex-start; }
.truyou-shop-screen span.onsale { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: #e6c069; color: #04101f; font-size: 12px; font-weight: 600; }
.truyou-shop-screen .woocommerce-pagination ul { display: flex; gap: 8px; list-style: none; padding: 0; margin: 2rem 0 0; flex-wrap: wrap; }
.truyou-shop-screen .woocommerce-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(168, 180, 200, 0.24); color: #f5f7fa; text-decoration: none; }
.truyou-shop-screen .woocommerce-pagination .page-numbers.current { border-color: #e6c069; color: #e6c069; }

/* ---------------------------------------------------------------- single product */
.truyou-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; font-size: 13px; color: #a8b4c8; }
.truyou-crumbs a { color: #a8b4c8; text-decoration: none; }
.truyou-crumbs a:hover { color: #e6c069; }
.truyou-crumbs [aria-current] { color: #f5f7fa; }
.truyou-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #e6c069; }

.truyou-shop-screen div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 900px) { .truyou-shop-screen div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 64px; row-gap: 56px; align-items: start; } }

/* Gallery: the photo sits in a framed panel and is never cropped or stretched. */
.truyou-shop-screen div.product .woocommerce-product-gallery { position: relative; margin: 0; padding: 20px; border-radius: 28px; border: 1px solid rgba(168, 180, 200, 0.16); background: radial-gradient(120% 90% at 50% 0%, rgba(10, 58, 122, 0.55), rgba(2, 11, 30, 0.9)); }
@media (min-width: 900px) { .truyou-shop-screen div.product .woocommerce-product-gallery { position: sticky; top: calc(var(--header-h, 80px) + 24px); } }
.truyou-shop-screen div.product .woocommerce-product-gallery__image { display: grid; place-items: center; }
.truyou-shop-screen div.product .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; background: none; border-radius: 0; margin: 0 auto; }
.truyou-shop-screen div.product .woocommerce-product-gallery__image a { display: block; pointer-events: none; }
.truyou-shop-screen div.product .flex-viewport { border-radius: 18px; }
.truyou-shop-screen div.product .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
.truyou-shop-screen div.product .flex-control-thumbs li { width: 72px; margin: 0; }
.truyou-shop-screen div.product .flex-control-thumbs img { display: block; width: 72px; height: 72px; object-fit: contain; padding: 6px; box-sizing: border-box; border-radius: 14px; border: 1px solid rgba(168, 180, 200, 0.22); background: rgba(2, 11, 30, 0.7); cursor: pointer; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; }
.truyou-shop-screen div.product .flex-control-thumbs img:hover { opacity: 0.9; }
.truyou-shop-screen div.product .flex-control-thumbs img.flex-active { opacity: 1; border-color: #e6c069; }
.truyou-shop-screen div.product .woocommerce-product-gallery__trigger { display: none; }

/* Summary column */
.truyou-shop-screen div.product .summary { min-width: 0; }
.truyou-shop-screen div.product .product_title { font-family: inherit; font-weight: 500; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.03em; color: #f5f7fa; margin: 0 0 18px; text-wrap: balance; }
.truyou-shop-screen div.product p.price { display: flex; align-items: baseline; gap: 10px; color: #e6c069; font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 20px; }
.truyou-shop-screen div.product .woocommerce-product-details__short-description { color: rgba(245, 247, 250, 0.92); font-size: 18px; line-height: 1.55; margin: 0 0 22px; }
.truyou-shop-screen div.product .woocommerce-product-details__short-description p { margin: 0; }
.truyou-glance { list-style: none; margin: 0 0 28px; padding: 20px 22px; display: grid; gap: 12px; border-radius: 20px; border: 1px solid rgba(168, 180, 200, 0.16); background: linear-gradient(180deg, rgba(6, 40, 90, 0.42), rgba(3, 24, 56, 0.72)); }
.truyou-glance li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; color: rgba(245, 247, 250, 0.92); }
.truyou-glance li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 999px; background: rgba(230, 192, 105, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6c069' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.truyou-shop-screen div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 18px; }
.truyou-shop-screen div.product form.cart .single_add_to_cart_button { flex: 1 1 240px; min-height: 56px; margin: 0; font-size: 16px; }
.truyou-shop-screen .quantity input.qty { width: 84px; min-height: 48px; text-align: center; border-radius: 14px; background: rgba(2, 11, 30, 0.7); border: 1px solid rgba(168, 180, 200, 0.32); color: #f5f7fa; font: inherit; }
.truyou-price-note { margin: 0; padding: 0; border: 0; font-size: 12.5px; line-height: 1.55; color: #a8b4c8; }
.truyou-price-note::before { content: 'Note: '; color: #e6c069; }

/* Sections under the product */
.truyou-shop-screen div.product .truyou-section, .truyou-shop-screen div.product .related, .truyou-shop-screen div.product .upsells { grid-column: 1 / -1; }
.truyou-section { padding-top: 8px; }
.truyou-section > h2 { margin: 0 0 20px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; color: #f5f7fa; }
.truyou-details .truyou-prose { max-width: 840px; padding: 28px 30px; border-radius: 22px; border: 1px solid rgba(168, 180, 200, 0.16); background: linear-gradient(180deg, rgba(6, 40, 90, 0.34), rgba(3, 24, 56, 0.6)); }
.truyou-prose p { margin: 0 0 1.1em; font-size: 16.5px; line-height: 1.75; color: rgba(245, 247, 250, 0.9); }
.truyou-prose p:last-child { margin-bottom: 0; }
.truyou-prose p:first-child { font-size: 19px; line-height: 1.6; color: #f5f7fa; }

/* Subscription: payment options and the yearly cycle */
.truyou-pay-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .truyou-pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.truyou-shop-screen main a.truyou-pay-option, .truyou-pay-option { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 26px 24px; border-radius: 22px; border: 1px solid rgba(168, 180, 200, 0.22); background: linear-gradient(180deg, rgba(6, 40, 90, 0.34), rgba(3, 24, 56, 0.6)); color: #f5f7fa; text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
a.truyou-pay-option:hover { border-color: rgba(230, 192, 105, 0.6); transform: translateY(-2px); }
.truyou-pay-option.is-current { border-color: #e6c069; box-shadow: 0 0 0 1px #e6c069 inset; }
.truyou-pay-badge { align-self: flex-start; margin-bottom: 6px; padding: 4px 12px; border-radius: 999px; background: #e6c069; color: #04101f; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.truyou-pay-label { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #a8b4c8; }
.truyou-pay-price { font-size: 34px; font-weight: 500; letter-spacing: -0.02em; color: #e6c069; line-height: 1.1; }
.truyou-pay-note { font-size: 14.5px; color: rgba(245, 247, 250, 0.8); }
.truyou-pay-state { margin-top: 12px; font-size: 14px; font-weight: 500; color: #e6c069; }
.truyou-cycle { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .truyou-cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .truyou-cycle { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.truyou-cycle li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; border: 1px solid rgba(168, 180, 200, 0.16); background: rgba(3, 24, 56, 0.6); font-size: 14.5px; line-height: 1.5; color: rgba(245, 247, 250, 0.82); }
.truyou-cycle li strong { font-size: 19px; font-weight: 500; color: #f5f7fa; }
.truyou-cycle-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgba(230, 192, 105, 0.16); color: #e6c069; font-weight: 600; }

/* "More from TruYou" row reuses the shop cards */
.truyou-section ul.products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ---------------------------------------------------------------- tables (cart, order review, orders) */
.truyou-shop-screen table.shop_table,
.truyou-shop-screen table.woocommerce-orders-table,
.truyou-shop-screen table.order_details {
  width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 22px; margin: 0 0 1.5rem;
  border: 1px solid rgba(168, 180, 200, 0.16);
  background: linear-gradient(180deg, rgba(6, 40, 90, 0.42), rgba(3, 24, 56, 0.72));
}
.truyou-shop-screen table.shop_table th,
.truyou-shop-screen table.shop_table td { padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(168, 180, 200, 0.12); color: #f5f7fa; }
.truyou-shop-screen table.shop_table thead th { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #a8b4c8; font-weight: 500; }
.truyou-shop-screen table.shop_table tr:last-child > * { border-bottom: 0; }
.truyou-shop-screen table.shop_table td.product-thumbnail img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.truyou-shop-screen table.shop_table .amount { color: #e6c069; }
.truyou-shop-screen table.shop_table td.actions { text-align: right; }
.truyou-shop-screen table.shop_table td.actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; float: left; }
.truyou-shop-screen table.shop_table td.actions .coupon input.input-text { width: 180px; }
.truyou-shop-screen table.shop_table td.actions::after { content: ''; display: block; clear: both; }
.truyou-shop-screen .cart-collaterals { display: flex; justify-content: flex-end; }
.truyou-shop-screen .cart_totals { width: 100%; max-width: 460px; }
.truyou-shop-screen .wc-proceed-to-checkout { margin-top: 1rem; }
.truyou-shop-screen .wc-proceed-to-checkout a.checkout-button { width: 100%; box-sizing: border-box; }
/* The main action stays gold even though WooCommerce also tags it wc-forward (outlined above). */
.truyou-shop-screen .wc-proceed-to-checkout a.checkout-button.wc-forward { background: linear-gradient(135deg, #e6c069, #d7a74a); color: #04101f; border: 0; box-shadow: 0 12px 30px -16px rgba(215, 167, 74, 0.9); }
.truyou-shop-screen .wc-proceed-to-checkout a.checkout-button.wc-forward:hover { background: linear-gradient(135deg, #f0d089, #e0b45c); color: #04101f; }
.truyou-shop-screen .return-to-shop { margin-top: 1.25rem; }

/* Narrow screens: a table row becomes a stacked card with its column title beside each value. */
@media (max-width: 719px) {
  .truyou-shop-screen table.shop_table_responsive thead { display: none; }
  .truyou-shop-screen table.shop_table_responsive tr { display: block; border-bottom: 1px solid rgba(168, 180, 200, 0.16); padding: 6px 0; }
  .truyou-shop-screen table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 14px; text-align: right; border-bottom: 0; padding: 8px 16px; }
  .truyou-shop-screen table.shop_table_responsive td::before { content: attr(data-title); color: #a8b4c8; text-align: left; font-size: 13px; }
  .truyou-shop-screen table.shop_table_responsive td.product-thumbnail,
  .truyou-shop-screen table.shop_table_responsive td.actions::before { display: none; }
  .truyou-shop-screen table.shop_table td.actions .coupon { float: none; width: 100%; }
  .truyou-shop-screen table.shop_table td.actions .coupon input.input-text { flex: 1 1 140px; width: auto; }
  .truyou-shop-screen table.shop_table td.actions { display: block; text-align: left; }
  .truyou-shop-screen table.shop_table td.actions::before { display: none; }
  .truyou-shop-screen table.shop_table td.actions .coupon { display: grid; grid-template-columns: minmax(0, 1fr); }
  .truyou-shop-screen table.shop_table td.actions .coupon input.input-text { width: 100%; box-sizing: border-box; }
  .truyou-shop-screen table.shop_table td.actions button.button { width: 100%; margin: 10px 0 0; border-radius: 999px; box-sizing: border-box; }
  .truyou-shop-screen table.shop_table td.product-quantity:has(input[type="hidden"].qty) { display: none; }
  /* Cart totals: the row's own heading is the label, so the generated one is not repeated. */
  .truyou-shop-screen .cart_totals table.shop_table_responsive tr { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; }
  .truyou-shop-screen .cart_totals table.shop_table_responsive th { display: block; border: 0; padding: 8px 16px; }
  .truyou-shop-screen .cart_totals table.shop_table_responsive td { padding: 8px 16px; }
  .truyou-shop-screen .cart_totals table.shop_table_responsive td::before { display: none; }
}

/* ---------------------------------------------------------------- checkout */
.truyou-shop-screen form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.truyou-shop-screen form.woocommerce-checkout .woocommerce-NoticeGroup { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .truyou-shop-screen form.woocommerce-checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; column-gap: 48px; row-gap: 0; grid-template-rows: auto auto 1fr; }
  .truyou-shop-screen form.woocommerce-checkout .woocommerce-NoticeGroup { margin-bottom: 20px; }
  .truyou-shop-screen form.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 2 / span 2; }
  .truyou-shop-screen form.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 2; margin: 0 0 16px; }
  .truyou-shop-screen form.woocommerce-checkout #order_review { grid-column: 2; grid-row: 3; }
}
.truyou-shop-screen form.woocommerce-checkout #customer_details { display: grid; gap: 24px; }
.truyou-shop-screen form.woocommerce-checkout #customer_details .col-1,
.truyou-shop-screen form.woocommerce-checkout #customer_details .col-2 { float: none; width: auto; }
.truyou-shop-screen form.woocommerce-checkout .form-row-first,
.truyou-shop-screen form.woocommerce-checkout .form-row-last { width: 100%; float: none; }
@media (min-width: 560px) {
  .truyou-shop-screen form.woocommerce-checkout .form-row-first, .truyou-shop-screen form.woocommerce-checkout .form-row-last { width: calc(50% - 8px); display: inline-block; vertical-align: top; }
  .truyou-shop-screen form.woocommerce-checkout .form-row-first { margin-right: 12px; }
}
.truyou-shop-screen #order_review_heading { margin-top: 0; }
.truyou-shop-screen #order_review { padding: 22px; border-radius: 22px; border: 1px solid rgba(168, 180, 200, 0.16); background: linear-gradient(180deg, rgba(6, 40, 90, 0.42), rgba(3, 24, 56, 0.72)); }
.truyou-shop-screen #order_review table.shop_table { border: 0; background: none; border-radius: 0; margin-bottom: 1rem; }
.truyou-shop-screen #payment { background: transparent; }
.truyou-shop-screen #payment ul.payment_methods { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 10px; }
.truyou-shop-screen #payment ul.payment_methods li { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(168, 180, 200, 0.22); background: rgba(2, 11, 30, 0.45); }
.truyou-shop-screen #payment .payment_box { margin-top: 10px; font-size: 14px; color: #a8b4c8; }
.truyou-shop-screen #payment .payment_box p { margin: 0; }
.truyou-shop-screen .woocommerce-privacy-policy-text { font-size: 12.5px; color: #a8b4c8; margin: 0 0 1rem; }
.truyou-shop-screen .woocommerce-terms-and-conditions-wrapper { margin-bottom: 1rem; }
.truyou-shop-screen .blockUI.blockOverlay { background: rgba(2, 11, 30, 0.6) !important; }

/* ---------------------------------------------------------------- order received */
.truyou-shop-screen ul.woocommerce-order-overview { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.truyou-shop-screen ul.woocommerce-order-overview li { padding: 16px; border-radius: 16px; border: 1px solid rgba(168, 180, 200, 0.16); background: rgba(3, 24, 56, 0.6); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #a8b4c8; }
.truyou-shop-screen ul.woocommerce-order-overview li strong { display: block; margin-top: 6px; font-size: 16px; letter-spacing: 0; text-transform: none; color: #f5f7fa; }
.truyou-shop-screen .woocommerce-thankyou-order-received { font-size: 19px; color: #f5f7fa; }
.truyou-shop-screen address { font-style: normal; line-height: 1.6; padding: 16px; border-radius: 16px; border: 1px solid rgba(168, 180, 200, 0.16); background: rgba(3, 24, 56, 0.6); }

/* ---------------------------------------------------------------- my account */
.truyou-shop-screen .woocommerce-account .woocommerce,
.truyou-shop-screen.woocommerce-account .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 860px) { .truyou-shop-screen.woocommerce-account .woocommerce { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } }
.truyou-shop-screen.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.truyou-shop-screen .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 860px) { .truyou-shop-screen .woocommerce-MyAccount-navigation ul { flex-direction: column; flex-wrap: nowrap; } }
.truyou-shop-screen .woocommerce-MyAccount-navigation a { display: block; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(168, 180, 200, 0.24); color: #f5f7fa; text-decoration: none; min-height: 24px; }
.truyou-shop-screen .woocommerce-MyAccount-navigation .is-active a { border-color: #e6c069; color: #e6c069; }
.truyou-shop-screen .woocommerce-MyAccount-content { min-width: 0; }
.truyou-shop-screen .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.truyou-shop-screen .woocommerce-Addresses { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.truyou-shop-screen .u-columns { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.truyou-shop-screen .u-columns .col-1, .truyou-shop-screen .u-columns .col-2 { float: none; width: auto; }
.truyou-portal-list { list-style: disc; padding-left: 1.4em; }
.truyou-portal-list li::marker { color: #d7a74a; }

/* ---------------------------------------------------------------- sort control and password toggle */
.truyou-shop-screen .woocommerce-ordering { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.truyou-shop-screen .woocommerce-ordering button.button.truyou-sort-apply { min-height: 44px; padding: 10px 20px; background: transparent; color: #f5f7fa; border: 1px solid rgba(168, 180, 200, 0.4); box-shadow: none; }
.truyou-shop-screen .woocommerce-ordering button.button.truyou-sort-apply:hover { background: rgba(245, 247, 250, 0.08); color: #f5f7fa; }
.truyou-shop-screen .password-input { position: relative; display: block; }
.truyou-shop-screen .password-input input { padding-right: 52px; }
.truyou-shop-screen .show-password-input { position: absolute; top: 0; right: 0; width: 48px; height: 100%; padding: 0; border: 0; border-radius: 0 12px 12px 0; background: transparent; cursor: pointer; }
.truyou-shop-screen .show-password-input::after { content: ''; display: block; width: 22px; height: 22px; margin: auto; background-color: #a8b4c8; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.truyou-shop-screen .show-password-input.display-password::after { background-color: #e6c069; }
.truyou-shop-screen .show-password-input:focus-visible { outline: 2px solid #e6c069; outline-offset: -4px; }

/* Consultations and subscriptions are paid in the portal: the handoff replaces Add to cart. */
.truyou-get-started { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; }
.truyou-handoff-note { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: #a8b4c8; }
.truyou-handoff-note a { color: #e6c069; text-decoration: underline; text-underline-offset: 3px; }
