/*
 * Jithr — WooCommerce storefront styling.
 * Targets WooCommerce's REAL output classes (block + classic) and maps them to
 * the Rasin design using theme.json tokens. Loaded only when WooCommerce is
 * active. Covers: shop archive, single product, cart, checkout, my-account,
 * notices, badges, breadcrumbs, ordering, pagination.
 */

/* ---- shared button look (block + classic) ---- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .wc-block-components-button,
.wc-block-components-button:not(.is-link){
	background:var(--wp--preset--color--accent);
	color:var(--wp--preset--color--accent-contrast);
	border:none;border-radius:var(--wp--custom--radius--medium);
	font-weight:600;padding:.8rem 1.5rem;line-height:1.2;
	box-shadow:var(--wp--preset--shadow--small);
	transition:background-color .2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce .wc-block-components-button:hover,
.wc-block-components-button:not(.is-link):hover{
	background:var(--wp--preset--color--accent-strong);
}
.woocommerce a.button.wc-backward,
.woocommerce .button.wc-backward{
	background:var(--wp--preset--color--surface);color:var(--wp--preset--color--ink);
	border:1px solid var(--wp--preset--color--line);box-shadow:none;
}

/* ---- store notices ---- */
.woocommerce-message,.woocommerce-info,.woocommerce-error,
.wc-block-components-notice-banner{
	border-radius:var(--wp--custom--radius--medium);
	border:1px solid var(--wp--preset--color--line);
	border-inline-start-width:3px;
	background:var(--wp--preset--color--surface);
	color:var(--wp--preset--color--ink);
	box-shadow:var(--wp--preset--shadow--small);
}
.woocommerce-message{border-inline-start-color:var(--wp--preset--color--success);}
.woocommerce-info{border-inline-start-color:var(--wp--preset--color--accent);}
.woocommerce-error{border-inline-start-color:var(--wp--preset--color--danger);}

/* ---- breadcrumb / result count / ordering ---- */
.woocommerce .woocommerce-breadcrumb{
	font-size:var(--wp--preset--font-size--small);color:var(--wp--preset--color--muted);
	margin-bottom:var(--wp--preset--spacing--60);
}
.woocommerce .woocommerce-breadcrumb a{color:var(--wp--custom--accent-text);}
.woocommerce .woocommerce-result-count{color:var(--wp--preset--color--muted);font-size:var(--wp--preset--font-size--small);}
.woocommerce .woocommerce-ordering select,
.wc-block-product-sort-select select{
	border:1px solid var(--wp--preset--color--line);border-radius:999px;
	padding:.5rem 1rem;background:var(--wp--preset--color--surface);color:var(--wp--preset--color--ink);
}

/* ---- onsale badge → design product-badge ---- */
.woocommerce span.onsale,
.wc-block-components-product-sale-badge{
	background:var(--wp--preset--color--ink);color:var(--wp--preset--color--base);
	border-radius:var(--wp--custom--radius--small);
	font-size:.6875rem;font-weight:600;padding:4px 9px;min-height:0;min-width:0;line-height:1.4;
}

/* ============================================================
   SHOP ARCHIVE — product grid as the design card
   (classic `.products li.product` + block product template)
   ============================================================ */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin:0;padding:0;}
.woocommerce ul.products li.product{
	width:auto !important;margin:0 !important;float:none !important;
	background:var(--wp--preset--color--surface);
	border:1px solid var(--wp--preset--color--line);
	border-radius:var(--wp--custom--radius--large);overflow:hidden;
	box-shadow:var(--wp--preset--shadow--small);
	transition:box-shadow .2s ease,border-color .2s ease;position:relative;
}
.woocommerce ul.products li.product:hover{box-shadow:var(--wp--preset--shadow--medium);border-color:var(--wp--custom--accent-line);}
.woocommerce ul.products li.product a img{margin:0;border-radius:0;border-bottom:1px solid var(--wp--preset--color--line);}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
	font-size:.9375rem;font-weight:600;color:var(--wp--preset--color--ink);padding:var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) 0;
}
.woocommerce ul.products li.product .price{
	display:block;padding:0 var(--wp--preset--spacing--50);
	color:var(--wp--preset--color--ink);font-weight:700;font-size:1.125rem;
}
.woocommerce ul.products li.product .price del{color:var(--wp--preset--color--muted);font-weight:400;font-size:.8125rem;}
.woocommerce ul.products li.product .star-rating{margin:.4rem var(--wp--preset--spacing--50);color:var(--wp--preset--color--warning);font-size:.8rem;}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart{
	margin:var(--wp--preset--spacing--40) var(--wp--preset--spacing--50) var(--wp--preset--spacing--50);
}
.woocommerce ul.products li.product span.onsale{position:absolute;top:12px;inset-inline-start:12px;}

/* ============================================================
   CART (classic table + block)
   ============================================================ */
.woocommerce table.shop_table{
	border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--large);
	border-collapse:separate;border-spacing:0;overflow:hidden;background:var(--wp--preset--color--surface);
}
.woocommerce table.shop_table th{background:var(--wp--preset--color--surface-alt);color:var(--wp--preset--color--ink);font-weight:600;padding:1rem;}
.woocommerce table.shop_table td{padding:1rem;border-top:1px solid var(--wp--preset--color--line);}
.woocommerce .cart_totals,.wc-block-components-totals-wrapper{
	border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--large);
	padding:var(--wp--preset--spacing--60);background:var(--wp--preset--color--surface);box-shadow:var(--wp--preset--shadow--small);
}
.woocommerce .cart input.qty{border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--medium);padding:.5rem;}
.wc-block-cart-items__row{border-color:var(--wp--preset--color--line);}

/* ============================================================
   CHECKOUT (classic + block)
   ============================================================ */
.woocommerce-checkout #customer_details,
.woocommerce form.checkout_coupon,
.woocommerce-checkout #order_review,
.wc-block-checkout__sidebar,
.wc-block-components-checkout-step{
	background:var(--wp--preset--color--surface);
	border:1px solid var(--wp--preset--color--line);
	border-radius:var(--wp--custom--radius--large);
	padding:var(--wp--preset--spacing--60);box-shadow:var(--wp--preset--shadow--small);
}
.woocommerce-checkout #payment{background:var(--wp--preset--color--surface-alt);border-radius:var(--wp--custom--radius--large);}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single{
	border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--medium);padding:.7rem 1rem;
}
.woocommerce form .form-row label{font-size:var(--wp--preset--font-size--small);color:var(--wp--preset--color--text);font-weight:500;}

/* ============================================================
   MY ACCOUNT
   ============================================================ */
.woocommerce-account.logged-in .page-shell .woocommerce{display:grid;grid-template-columns:240px 1fr;gap:var(--wp--preset--spacing--70);align-items:start;}
.woocommerce-MyAccount-navigation{
	background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
	border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--40);box-shadow:var(--wp--preset--shadow--small);
}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;}
.woocommerce-MyAccount-navigation ul li{margin:0;}
.woocommerce-MyAccount-navigation ul li a{
	display:block;padding:.7rem 1rem;border-radius:var(--wp--custom--radius--medium);
	color:var(--wp--preset--color--text);font-size:var(--wp--preset--font-size--small);font-weight:500;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover{background:var(--wp--custom--accent-soft);color:var(--wp--custom--accent-text);}
.woocommerce-MyAccount-content{
	background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
	border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--70);box-shadow:var(--wp--preset--shadow--small);
}
@media(max-width:780px){.woocommerce-account.logged-in .page-shell .woocommerce{grid-template-columns:1fr;}}

/* ---- pagination ---- */
.woocommerce nav.woocommerce-pagination ul{border:none;display:flex;gap:6px;justify-content:center;}
.woocommerce nav.woocommerce-pagination ul li{border:none;}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
	border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--medium);
	min-width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--wp--preset--color--ink);
}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);border-color:var(--wp--preset--color--accent);}

/* ============================================================
   SINGLE PRODUCT — brand eyebrow, savings badge, stock
   ============================================================ */
.jithr-pdp-brand{font-family:var(--wp--preset--font-family--mono);font-size:.75rem;letter-spacing:.1em;color:var(--wp--custom--accent-text);margin-bottom:6px;}
.jithr-save-badge{display:inline-block;background:color-mix(in oklab,var(--wp--preset--color--success) 14%,var(--wp--preset--color--surface));color:var(--wp--preset--color--success);font-weight:700;font-size:.75rem;padding:4px 10px;border-radius:var(--wp--custom--radius--small);}

/* ============================================================
   MY ACCOUNT — dashboard (cards + orders table) + sidebar identity
   ============================================================ */
.jithr-acc-head{margin-bottom:var(--wp--preset--spacing--60);}
.jithr-acc-title{font-size:1.5rem;font-weight:700;color:var(--wp--preset--color--ink);margin:0 0 6px;}
.jithr-acc-sub{color:var(--wp--preset--color--muted);font-size:var(--wp--preset--font-size--small);margin:0;}
.jithr-acc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--70);}
.jithr-acc-stat{border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--60);text-align:center;background:var(--wp--preset--color--surface);}
.jithr-acc-stat .n{font-size:1.875rem;font-weight:700;color:var(--wp--preset--color--ink);line-height:1;margin-bottom:6px;}
.jithr-acc-stat .l{font-size:.8125rem;color:var(--wp--preset--color--muted);}
.jithr-acc-h{font-size:var(--wp--preset--font-size--large);font-weight:700;color:var(--wp--preset--color--ink);margin:0 0 var(--wp--preset--spacing--50);}
.jithr-acc-orders{width:100%;border-collapse:collapse;font-size:var(--wp--preset--font-size--small);}
.jithr-acc-orders th{text-align:start;color:var(--wp--preset--color--muted);font-weight:500;padding:0 12px 12px;border-bottom:1px solid var(--wp--preset--color--line);}
.jithr-acc-orders td{padding:14px 12px;border-bottom:1px solid var(--wp--preset--color--line);color:var(--wp--preset--color--ink);}
.jithr-acc-orders a{color:var(--wp--custom--accent-text);font-weight:600;}
.jithr-status{display:inline-block;padding:3px 10px;border-radius:999px;font-size:.6875rem;font-weight:600;}
.jithr-status--processing,.jithr-status--on-hold{background:color-mix(in oklab,var(--wp--preset--color--accent) 14%,var(--wp--preset--color--surface));color:var(--wp--custom--accent-text);}
.jithr-status--completed{background:color-mix(in oklab,var(--wp--preset--color--success) 16%,var(--wp--preset--color--surface));color:var(--wp--preset--color--success);}
.jithr-status--pending,.jithr-status--failed,.jithr-status--cancelled,.jithr-status--refunded{background:color-mix(in oklab,var(--wp--preset--color--warning) 16%,var(--wp--preset--color--surface));color:var(--wp--preset--color--warning);}
.jithr-acc-empty{color:var(--wp--preset--color--muted);}
.jithr-acc-empty a{color:var(--wp--custom--accent-text);font-weight:600;}
.jithr-account-id{display:flex;align-items:center;gap:12px;padding:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40);border-bottom:1px solid var(--wp--preset--color--line);}
.jithr-account-avatar{width:44px;height:44px;flex-shrink:0;border-radius:999px;background:var(--wp--custom--accent-soft);color:var(--wp--custom--accent-text);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:var(--wp--preset--font-size--large);}
.jithr-account-name{font-weight:600;color:var(--wp--preset--color--ink);font-size:var(--wp--preset--font-size--small);}
.jithr-account-email{font-size:.6875rem;color:var(--wp--preset--color--muted);}

/* ============================================================
   SHOP / CATEGORY / BRAND / PRODUCT SEARCH (block template)
   archive-product.html → patterns/shop-archive.php
   ============================================================ */
.wp-block-woocommerce-breadcrumbs.breadcrumb{display:block;text-align:start;font-size:.8125rem;color:var(--wp--preset--color--muted);padding-block:var(--wp--preset--spacing--60);margin:0 auto;}
.wp-block-woocommerce-breadcrumbs.breadcrumb a{color:var(--wp--preset--color--muted);}
.wp-block-woocommerce-breadcrumbs.breadcrumb a:hover{color:var(--wp--custom--accent-text);}
.archive-head{padding-bottom:var(--wp--preset--spacing--50);}
.archive-head .archive-title{font-size:var(--wp--preset--font-size--huge);font-weight:700;color:var(--wp--preset--color--ink);margin:0 0 8px;}
.archive-head .archive-sub{font-size:var(--wp--preset--font-size--medium);color:var(--wp--preset--color--text);margin:0;}
.archive-head .archive-sub p{margin:0;}

.shop-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--90);align-items:start;}

/* sidebar: WooCommerce Product Filters, each filter as a design card */
.shop-sidebar.wc-block-product-filters{display:flex;flex-direction:column;gap:var(--wp--preset--spacing--60);}
.shop-sidebar .wc-block-product-filters__overlay-content{display:flex;flex-direction:column;gap:var(--wp--preset--spacing--60);}
.shop-sidebar .filter-group{
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--60);
  box-shadow:var(--wp--preset--shadow--small);margin:0;
}
.shop-sidebar .filter-group h3.filter-title{font-size:.9375rem;font-weight:700;color:var(--wp--preset--color--ink);margin:0 0 14px;line-height:1.4;}
.shop-sidebar .wc-block-product-filter-checkbox-list__list{gap:11px;}
.shop-sidebar .wc-block-product-filter-checkbox-list__label{font-size:var(--wp--preset--font-size--small);color:var(--wp--preset--color--text);gap:10px;}
.shop-sidebar .wc-block-product-filter-checkbox-list__label:hover{color:var(--wp--custom--accent-text);}
.shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper::before,
.shop-sidebar input.wc-block-product-filter-checkbox-list__input{
  width:18px;height:18px;border-radius:6px;border:1px solid var(--wp--preset--color--line);
  background:var(--wp--preset--color--surface-alt);
}
.shop-sidebar input.wc-block-product-filter-checkbox-list__input:checked{background:var(--wp--preset--color--accent);border-color:var(--wp--preset--color--accent);}
.shop-sidebar .wc-block-product-filter-checkbox-list__mark{color:var(--wp--preset--color--accent-contrast);}
.shop-sidebar .wc-block-product-filter-checkbox-list__count{margin-inline-start:auto;font-family:var(--wp--preset--font-family--mono);font-size:.6875rem;color:var(--wp--preset--color--muted);}
.shop-sidebar .wc-block-product-filter-checkbox-list__show-more{color:var(--wp--custom--accent-text);font-size:.8125rem;}
.shop-sidebar .wc-block-product-filter-price-slider__content{gap:10px;}
.shop-sidebar .wc-block-product-filter-price-slider input.min,
.shop-sidebar .wc-block-product-filter-price-slider input.max,
.shop-sidebar .wc-block-product-filter-price-slider .text input{
  font:inherit;font-size:.8125rem;border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--small);padding:9px 11px;
  background:var(--wp--preset--color--surface-alt);color:var(--wp--preset--color--ink);
}
.shop-sidebar .wc-block-product-filter-price-slider .range{--range-color:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent);}
.shop-sidebar .wc-block-product-filter-price-slider input[type="range"]::-webkit-slider-thumb{background:var(--wp--preset--color--accent);border-color:var(--wp--preset--color--accent);}
.shop-sidebar .wc-block-product-filter-price-slider input[type="range"]::-moz-range-thumb{background:var(--wp--preset--color--accent);border-color:var(--wp--preset--color--accent);}
.shop-sidebar .wc-block-product-filter-rating .wc-block-components-product-rating__stars,
.shop-sidebar .wc-block-product-filter-rating .star-rating{color:var(--wp--preset--color--warning);}
.shop-sidebar .wp-block-woocommerce-product-filter-active:empty{display:none;}
.shop-sidebar .wc-block-product-filter-removable-chips__chip{border-radius:999px;border-color:var(--wp--custom--accent-line);background:var(--wp--custom--accent-soft);color:var(--wp--custom--accent-text);font-size:.8125rem;}
.shop-sidebar .wc-block-product-filter-clear-button .wp-block-button__link{
  font-size:.8125rem;padding:6px 12px;border:1px solid var(--wp--preset--color--line);
  background:var(--wp--preset--color--surface);color:var(--wp--preset--color--ink);border-radius:var(--wp--custom--radius--medium);
}
/* the mobile "Filter products" opener (WooCommerce shows it only below its breakpoint) */
.shop-sidebar .wc-block-product-filters__open-overlay{
  align-items:center;gap:8px;font:inherit;font-weight:600;font-size:.875rem;
  border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--medium);
  background:var(--wp--preset--color--surface);color:var(--wp--preset--color--ink);padding:10px 16px;
  box-shadow:var(--wp--preset--shadow--small);
}
.shop-sidebar .wc-block-product-filters__overlay-dialog{background:var(--wp--preset--color--base);color:var(--wp--preset--color--text);}
.shop-sidebar .wc-block-product-filters__overlay-footer .wc-block-product-filters__apply{background:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);border-radius:var(--wp--custom--radius--medium);}

/* results column */
.shop-results{min-width:0;}
.shop-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);padding:14px 18px;
  margin-bottom:var(--wp--preset--spacing--60) !important;box-shadow:var(--wp--preset--shadow--small);
}
.shop-toolbar .result-count,.shop-toolbar .woocommerce-result-count{font-size:.8125rem;color:var(--wp--preset--color--muted);margin:0;}
.shop-toolbar .woocommerce-ordering{margin:0;}
.shop-toolbar .woocommerce-ordering select,.shop-toolbar select.orderby{
  font:inherit;font-size:.8125rem;border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--medium);padding:9px 14px;
  background-color:var(--wp--preset--color--surface-alt);color:var(--wp--preset--color--ink);cursor:pointer;
}
.wp-block-woocommerce-product-collection .wc-block-product-template.product-grid.archive-grid{grid-template-columns:repeat(3,1fr);}
.shop-results .no-results{padding:var(--wp--preset--spacing--80);text-align:center;color:var(--wp--preset--color--muted);background:var(--wp--preset--color--surface);border:1px dashed var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--large);}

/* pagination (core query pagination) */
.wp-block-query-pagination.pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:var(--wp--preset--spacing--70);}
.wp-block-query-pagination.pagination .wp-block-query-pagination-numbers{display:flex;gap:8px;}
.wp-block-query-pagination.pagination .page-numbers,
.wp-block-query-pagination.pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination.pagination .wp-block-query-pagination-next{
  min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--medium);
  font-size:.875rem;font-weight:600;color:var(--wp--preset--color--text);
  background:var(--wp--preset--color--surface);padding:0 10px;margin:0;text-decoration:none;
}
.wp-block-query-pagination.pagination a:hover{border-color:var(--wp--custom--accent-line);}
.wp-block-query-pagination.pagination .page-numbers.current{background:var(--wp--preset--color--accent);border-color:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);}
.wp-block-query-pagination.pagination .page-numbers.dots{border:0;background:none;}

@media (max-width:1024px){
  .shop-layout{grid-template-columns:1fr;}
  .wp-block-woocommerce-product-collection .wc-block-product-template.product-grid.archive-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .archive-head .archive-title{font-size:var(--wp--preset--font-size--xx-large);}
  .product-name{min-height:0;}
}
.wp-block-woocommerce-breadcrumbs.breadcrumb .woocommerce-breadcrumb{margin:0;font-size:inherit;color:inherit;}
.product-card h3.product-name{margin:0 0 10px;}
.product-card p.product-rating{margin:0 0 14px;}
.product-card p.product-brand{margin:0 0 8px;}

/* ============================================================
   SINGLE PRODUCT (block template → patterns/single-product-body.php)
   ============================================================ */
.product-single{display:grid;grid-template-columns:1fr 1fr;gap:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);align-items:start;}
.product-single .product-gallery,.product-single .product-summary{min-width:0;}

/* gallery: WooCommerce gallery (main image + thumbnail strip) */
.product-gallery .woocommerce-product-gallery{margin:0;width:100%;float:none;position:relative;}
.product-gallery .woocommerce-product-gallery__wrapper{margin:0;}
.product-gallery .woocommerce-product-gallery .flex-viewport,
.product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child{
  border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--large);overflow:hidden;background:var(--wp--preset--color--surface-alt);
}
.product-gallery .woocommerce-product-gallery__image img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:0;border:0;}
.product-gallery .flex-control-thumbs{display:grid !important;grid-template-columns:repeat(4,1fr);gap:var(--wp--preset--spacing--40);margin:var(--wp--preset--spacing--40) 0 0;padding:0;list-style:none;}
.product-gallery .flex-control-thumbs li{width:auto !important;float:none !important;margin:0 !important;}
.product-gallery .flex-control-thumbs img{
  aspect-ratio:1;object-fit:cover;width:100%;cursor:pointer;opacity:1 !important;
  border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--medium);
}
.product-gallery .flex-control-thumbs img.flex-active{border-color:var(--wp--preset--color--accent);box-shadow:0 0 0 3px var(--wp--custom--ring);}
.product-gallery .woocommerce-product-gallery__trigger{inset-inline-end:12px;inset-inline-start:auto;top:12px;background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);border-radius:999px;z-index:2;}

/* summary */
.product-summary .summary-brand{font-size:.8125rem;color:var(--wp--preset--color--muted);margin:0 0 10px;}
.product-summary h1.summary-title{font-size:var(--wp--preset--font-size--huge);line-height:1.25;font-weight:700;color:var(--wp--preset--color--ink);margin:0 0 16px;}
.product-summary .summary-rating{display:flex;align-items:center;gap:10px;margin:0 0 22px;font-size:.875rem;}
.product-summary .summary-rating .stars{color:var(--wp--preset--color--warning);letter-spacing:1px;}
.product-summary .summary-rating .score{font-weight:600;color:var(--wp--preset--color--ink);}
.product-summary .summary-rating .link{color:var(--wp--custom--accent-text);}
.product-summary .summary-price{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 22px;}
.summary-price .wc-block-components-product-price{display:flex;align-items:baseline;gap:12px;font-size:var(--wp--preset--font-size--huge);font-weight:700;color:var(--wp--preset--color--ink);margin:0;}
.summary-price .wc-block-components-product-price del{order:2;font-size:var(--wp--preset--font-size--large);font-weight:400;color:var(--wp--preset--color--muted);}
.summary-price .wc-block-components-product-price ins{text-decoration:none;}
.summary-price p.save{margin:0;font-size:.8125rem;font-weight:600;color:var(--wp--preset--color--accent-contrast);background:var(--wp--preset--color--success);padding:3px 10px;border-radius:999px;}
.product-summary .summary-desc{font-size:var(--wp--preset--font-size--medium);line-height:1.85;color:var(--wp--preset--color--text);margin:0 0 24px;}
.product-summary .summary-desc p{margin:0;}
.product-summary .stock-badge,.product-summary .stock-badge .stock{display:inline-flex;align-items:center;gap:8px;font-size:.8125rem;font-weight:600;color:var(--wp--preset--color--success);margin:0 0 22px;}
.product-summary .stock-badge .wc-block-components-product-stock-indicator::before,
.product-summary .stock-badge.wc-block-components-product-stock-indicator::before{content:"";width:8px;height:8px;border-radius:999px;background:currentColor;display:inline-block;}
.product-summary .stock-badge .out-of-stock,.product-summary .stock-badge.wc-block-components-product-stock-indicator--out-of-stock{color:var(--wp--preset--color--danger);}

/* add to cart row: quantity stepper + primary button */
.buy-row form.cart{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap;margin:0 0 22px;}
.buy-row .quantity{display:flex;align-items:stretch;border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--medium);overflow:hidden;background:var(--wp--preset--color--surface);margin:0 !important;}
.buy-row .quantity .qty{width:64px;border:0;border-radius:0;text-align:center;font-size:var(--wp--preset--font-size--medium);font-weight:600;color:var(--wp--preset--color--ink);background:var(--wp--preset--color--surface);box-shadow:none;padding:0;-moz-appearance:textfield;}
.buy-row .quantity .qty::-webkit-inner-spin-button,.buy-row .quantity .qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}
.buy-row .quantity .wc-block-components-quantity-selector__button,
.buy-row .quantity button{width:46px;border:0;background:var(--wp--preset--color--surface-alt);color:var(--wp--preset--color--ink);font-size:var(--wp--preset--font-size--large);cursor:pointer;}
.buy-row .single_add_to_cart_button,.buy-row button.single_add_to_cart_button.button{
  flex:1;min-width:200px;font-size:.9375rem;font-weight:600;padding:14px 28px;
  background:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);
  border:0;border-radius:var(--wp--custom--radius--medium);box-shadow:var(--wp--preset--shadow--small);
}
.buy-row .single_add_to_cart_button:hover{background:var(--wp--preset--color--accent-strong);}

/* meta */
.product-summary .wp-block-woocommerce-product-meta{margin:0;}
.product-summary .product-meta{border-top:1px solid var(--wp--preset--color--line);padding-top:18px;display:flex;flex-direction:column;gap:9px;font-size:.8125rem;color:var(--wp--preset--color--text);}
.product-meta .wc-block-components-product-sku,.product-meta .wp-block-post-terms{margin:0;font-size:.8125rem;color:var(--wp--preset--color--text);}
.product-meta .wc-block-components-product-sku strong{font-weight:400;}
.product-meta .wp-block-post-terms__prefix,.product-meta .wc-block-components-product-sku > :first-child{color:var(--wp--preset--color--muted);display:inline-block;min-width:72px;}
.product-meta a{color:var(--wp--preset--color--text);}
.product-meta a:hover{color:var(--wp--custom--accent-text);}

/* tabs: WooCommerce product tabs as the design tab row */
.container.tabs{border-top:1px solid var(--wp--preset--color--line);padding-block:var(--wp--preset--spacing--70);}
.tabs .woocommerce-tabs{margin:0;}
.tabs .woocommerce-tabs ul.tabs{display:flex;gap:28px;list-style:none;margin:0 0 var(--wp--preset--spacing--60);padding:0;border-bottom:1px solid var(--wp--preset--color--line);overflow-x:auto;}
.tabs .woocommerce-tabs ul.tabs::before,.tabs .woocommerce-tabs ul.tabs li::before,.tabs .woocommerce-tabs ul.tabs li::after{display:none;}
.tabs .woocommerce-tabs ul.tabs li{margin:0;padding:0;background:none;border:0;border-radius:0;}
.tabs .woocommerce-tabs ul.tabs li a{display:block;padding:0 0 14px;font-size:.9375rem;font-weight:600;color:var(--wp--preset--color--muted);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;text-decoration:none;}
.tabs .woocommerce-tabs ul.tabs li.active a{color:var(--wp--preset--color--ink);border-bottom-color:var(--wp--preset--color--accent);}
.tabs .woocommerce-Tabs-panel{font-size:var(--wp--preset--font-size--medium);line-height:1.9;color:var(--wp--preset--color--text);max-width:760px;margin:0;}
.tabs .woocommerce-Tabs-panel p{margin:0 0 16px;}
.tabs .woocommerce-Tabs-panel table.shop_attributes{width:100%;border-collapse:collapse;font-size:.875rem;border:0;}
.tabs .woocommerce-Tabs-panel table.shop_attributes th{text-align:start;padding:13px 0;color:var(--wp--preset--color--muted);font-weight:500;width:240px;background:none;border-bottom:1px solid var(--wp--preset--color--line);}
.tabs .woocommerce-Tabs-panel table.shop_attributes td{padding:13px 0;color:var(--wp--preset--color--ink);font-weight:600;border-bottom:1px solid var(--wp--preset--color--line);font-style:normal;}
.tabs #reviews .comment-form input,.tabs #reviews .comment-form textarea{width:100%;}
.tabs #reviews .star-rating,.tabs .stars a{color:var(--wp--preset--color--warning);}

/* related products */
.container.related{border-top:1px solid var(--wp--preset--color--line);padding-block:var(--wp--preset--spacing--80);}

@media (max-width:1024px){ .product-single{grid-template-columns:1fr;gap:var(--wp--preset--spacing--60);} }
@media (max-width:640px){
  .product-summary h1.summary-title{font-size:var(--wp--preset--font-size--xx-large);}
  .summary-price .wc-block-components-product-price{font-size:var(--wp--preset--font-size--xx-large);}
  .tabs .woocommerce-tabs ul.tabs{gap:18px;}
}
.product-gallery .onsale,.product-gallery .wc-block-components-product-sale-badge{display:none;}
/* WooCommerce's classic tab styles are scoped to `.woocommerce div.product`; match that scope */
.woocommerce div.product .tabs .woocommerce-tabs ul.tabs{padding:0;margin:0 0 var(--wp--preset--spacing--60);overflow:visible;}
.woocommerce div.product .tabs .woocommerce-tabs ul.tabs::before{display:none;}
.woocommerce div.product .tabs .woocommerce-tabs ul.tabs li{background:none;border:0;border-radius:0;margin:0;padding:0;}
.woocommerce div.product .tabs .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .tabs .woocommerce-tabs ul.tabs li::after{display:none;}
.woocommerce div.product .tabs .woocommerce-tabs ul.tabs li a{padding:0 0 14px;font-weight:600;color:var(--wp--preset--color--muted);}
.woocommerce div.product .tabs .woocommerce-tabs ul.tabs li.active a{color:var(--wp--preset--color--ink);}
.woocommerce div.product .tabs .woocommerce-tabs .panel{margin:0;}
.product-meta > *{font-size:.8125rem;margin:0;color:var(--wp--preset--color--text);}

/* ============================================================
   PAGE SHELL (cart / checkout / my account / order received)
   ============================================================ */
.page-shell{padding-block:var(--wp--preset--spacing--60) var(--wp--preset--spacing--90);}
.page-shell .page-head{padding-bottom:var(--wp--preset--spacing--60);}
.page-shell .page-head h1{font-size:var(--wp--preset--font-size--huge);font-weight:700;color:var(--wp--preset--color--ink);margin:0;}
.page-shell > .wp-block-post-content{max-width:none;}
.page-shell > .wp-block-post-content > *{max-width:none;}

/* ============================================================
   CART BLOCK — design .cart-table + .totals
   ============================================================ */
.wp-block-woocommerce-cart.alignwide,.wp-block-woocommerce-checkout.alignwide{max-width:none;margin-inline:0;}
.wc-block-components-sidebar-layout{gap:var(--wp--preset--spacing--70);flex-wrap:nowrap;margin:0;}
.wc-block-components-sidebar-layout .wc-block-components-main{padding:0;width:auto;flex:1;min-width:0;}
.wc-block-components-sidebar-layout .wc-block-components-sidebar{padding:0;width:360px;flex-shrink:0;margin:0;}
.wc-block-checkout .wc-block-components-sidebar{width:400px;}

table.wc-block-cart-items{
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);box-shadow:var(--wp--preset--shadow--small);
  border-collapse:separate;border-spacing:0;overflow:hidden;margin:0;
}
table.wc-block-cart-items .wc-block-cart-items__header{background:none;}
table.wc-block-cart-items .wc-block-cart-items__header th{
  padding:16px var(--wp--preset--spacing--60);border-bottom:1px solid var(--wp--preset--color--line);
  font-size:.75rem;font-weight:600;color:var(--wp--preset--color--muted);letter-spacing:.02em;text-transform:none;
}
table.wc-block-cart-items .wc-block-cart-items__row{border-top:0;}
table.wc-block-cart-items .wc-block-cart-items__row td{padding:18px var(--wp--preset--spacing--60);border-bottom:1px solid var(--wp--preset--color--line);vertical-align:middle;}
table.wc-block-cart-items .wc-block-cart-items__row:last-child td{border-bottom:0;}
.wc-block-cart-item__image img{width:72px;height:72px;object-fit:cover;border-radius:var(--wp--custom--radius--medium);border:1px solid var(--wp--preset--color--line);}
.wc-block-components-product-name{font-size:.9375rem;font-weight:600;color:var(--wp--preset--color--ink);line-height:1.4;text-decoration:none;}
.wc-block-components-product-name:hover{color:var(--wp--custom--accent-text);}
.wc-block-cart-item__prices,.wc-block-components-product-metadata{font-size:.8125rem;color:var(--wp--preset--color--text);}
.wc-block-cart-item__total .wc-block-components-product-price__value,.wc-block-cart-item__total .price{font-size:.9375rem;font-weight:700;color:var(--wp--preset--color--ink);}
.wc-block-components-quantity-selector{border:1px solid var(--wp--preset--color--line) !important;border-radius:var(--wp--custom--radius--medium);overflow:hidden;background:var(--wp--preset--color--surface);width:auto;}
.wc-block-components-quantity-selector::after{display:none;}
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{width:34px;min-width:34px;background:var(--wp--preset--color--surface-alt);color:var(--wp--preset--color--ink);opacity:1;}
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input{width:38px;min-width:38px;border:0;font-size:.875rem;font-weight:600;color:var(--wp--preset--color--ink);background:var(--wp--preset--color--surface);box-shadow:none;padding:0;}
.wc-block-cart-item__remove-link{color:var(--wp--preset--color--muted) !important;font-size:.8125rem;}
.wc-block-cart-item__remove-link:hover{color:var(--wp--preset--color--danger) !important;}
.wc-block-components-product-badge{border-radius:999px;border-color:var(--wp--preset--color--success);color:var(--wp--preset--color--success);background:color-mix(in oklab,var(--wp--preset--color--success) 10%,var(--wp--preset--color--surface));font-size:.6875rem;}

/* totals: the design's .totals card */
.wp-block-woocommerce-cart-totals-block,
.wc-block-checkout__sidebar{
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--60);
  box-shadow:var(--wp--preset--shadow--small);position:sticky;top:96px;
}
.wc-block-cart__totals-title,.wc-block-components-checkout-order-summary__title-text{font-size:var(--wp--preset--font-size--large) !important;font-weight:700;color:var(--wp--preset--color--ink);margin:0 0 18px;text-transform:none;letter-spacing:0;text-align:start;padding:0;}
.wc-block-components-totals-wrapper{border:0;border-top:1px solid var(--wp--preset--color--line);border-radius:0;padding:12px 0;box-shadow:none;background:none;}
.wc-block-components-totals-wrapper:first-of-type{border-top:0;}
.wc-block-components-totals-item{font-size:.875rem;color:var(--wp--preset--color--text);padding-block:4px;}
.wc-block-components-totals-item__value{font-weight:600;color:var(--wp--preset--color--ink);}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-size:var(--wp--preset--font-size--medium);font-weight:700;color:var(--wp--preset--color--ink);}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:var(--wp--preset--font-size--x-large);font-weight:700;color:var(--wp--preset--color--ink);}
.wc-block-components-totals-coupon__button,.wc-block-components-totals-coupon .wc-block-components-button{border-radius:var(--wp--custom--radius--medium);}
.wc-block-components-panel__button{font-size:.875rem;color:var(--wp--preset--color--ink);}

/* primary actions: proceed to checkout / place order */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.contained{
  width:100%;min-height:52px;background:var(--wp--preset--color--accent) !important;color:var(--wp--preset--color--accent-contrast) !important;
  border:0;border-radius:var(--wp--custom--radius--medium);font-weight:600;font-size:.9375rem;
  box-shadow:var(--wp--preset--shadow--small);text-decoration:none;
}
.wc-block-cart__submit-button:hover,.wc-block-components-checkout-place-order-button:hover{background:var(--wp--preset--color--accent-strong) !important;}
.wc-block-cart__submit-container{padding:0;}

/* ============================================================
   CHECKOUT BLOCK — design .form-card steps, fields, pay methods
   ============================================================ */
.wc-block-components-checkout-step{
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--70);
  box-shadow:var(--wp--preset--shadow--small);margin:0 0 var(--wp--preset--spacing--60) !important;
}
.wc-block-components-checkout-step::after{display:none !important;}
.wc-block-components-checkout-step__container{padding:0 !important;}
.wc-block-components-checkout-step__heading{margin:0 0 18px;}
.wc-block-components-checkout-step__title{font-size:var(--wp--preset--font-size--large) !important;font-weight:700;color:var(--wp--preset--color--ink);}
.wc-block-components-checkout-step__description{font-size:.8125rem;color:var(--wp--preset--color--muted);}
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea{
  border:1px solid var(--wp--preset--color--line) !important;border-radius:var(--wp--custom--radius--medium) !important;
  background:var(--wp--preset--color--surface-alt) !important;color:var(--wp--preset--color--ink) !important;font-size:.875rem !important;box-shadow:none;
}
.wc-block-components-text-input input:focus,.wc-blocks-components-select .wc-blocks-components-select__select:focus,.wc-block-components-textarea:focus{
  border-color:var(--wp--preset--color--accent) !important;background:var(--wp--preset--color--surface) !important;box-shadow:0 0 0 4px var(--wp--custom--ring) !important;
}
.wc-block-components-text-input label,.wc-blocks-components-select__label{color:var(--wp--preset--color--muted);}
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option{
  border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--medium);margin-bottom:12px;
  box-shadow:none;
}
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted{
  border-color:var(--wp--preset--color--accent);background:var(--wp--custom--accent-soft);box-shadow:none;
}
.wc-block-components-radio-control--highlight-checked::after{display:none;}
.wc-block-components-radio-control__input:checked{border-color:var(--wp--preset--color--accent) !important;}
.wc-block-components-radio-control__input:checked::before{background:var(--wp--preset--color--accent) !important;}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--wp--preset--color--accent);border-color:var(--wp--preset--color--accent);}
.wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:var(--wp--preset--color--accent-contrast);}
.wc-block-components-order-summary-item__image img{border-radius:var(--wp--custom--radius--small);border:1px solid var(--wp--preset--color--line);}
.wc-block-components-order-summary-item__quantity{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--base);border:0;box-shadow:none;}
.wc-block-components-order-summary-item__description .wc-block-components-product-name{font-size:.8125rem;}
.wc-block-checkout__actions{padding:0;}
.wc-block-checkout__terms{font-size:.8125rem;color:var(--wp--preset--color--muted);}
.wc-block-components-checkout-return-to-cart-button{color:var(--wp--custom--accent-text);}
.wc-block-components-notice-banner{border-radius:var(--wp--custom--radius--medium);}

/* ============================================================
   ORDER RECEIVED (order-confirmation template)
   ============================================================ */
.order-received .wc-block-order-confirmation-status{
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--70);
  box-shadow:var(--wp--preset--shadow--small);margin:0 0 var(--wp--preset--spacing--60);
}
.order-received .wc-block-order-confirmation-status h1{font-size:var(--wp--preset--font-size--xx-large);color:var(--wp--preset--color--ink);margin:0 0 8px;}
.order-received .wc-block-order-confirmation-status p{color:var(--wp--preset--color--text);margin:0;}
.order-received .wc-block-order-confirmation-summary{margin:0 0 var(--wp--preset--spacing--60);}
.order-received .wc-block-order-confirmation-summary-list{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--wp--preset--spacing--50);
  list-style:none;margin:0;padding:0;
}
.order-received .wc-block-order-confirmation-summary-list-item{
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--50);margin:0;
}
.order-received .wc-block-order-confirmation-summary-list-item__key{font-size:.75rem;color:var(--wp--preset--color--muted);}
.order-received .wc-block-order-confirmation-summary-list-item__value{font-weight:700;color:var(--wp--preset--color--ink);}
.order-received .wc-block-order-confirmation-totals-wrapper,
.order-received .wc-block-order-confirmation-address-wrapper .wp-block-column > *{
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--60);
  box-shadow:var(--wp--preset--shadow--small);margin:0 0 var(--wp--preset--spacing--60);
}
.order-received .wc-block-order-confirmation-totals table{width:100%;border-collapse:collapse;border:0;}
.order-received .wc-block-order-confirmation-totals th,.order-received .wc-block-order-confirmation-totals td{padding:12px 0;border-bottom:1px solid var(--wp--preset--color--line);text-align:start;}
.order-received .wc-block-order-confirmation-totals tfoot tr:last-child td,.order-received .wc-block-order-confirmation-totals tfoot tr:last-child th{font-weight:700;color:var(--wp--preset--color--ink);font-size:var(--wp--preset--font-size--large);border-bottom:0;}
.order-received h2,.order-received h3{font-size:var(--wp--preset--font-size--large);font-weight:700;color:var(--wp--preset--color--ink);}
.order-received .wc-block-order-confirmation-address-wrapper{gap:var(--wp--preset--spacing--60);display:flex;}
.order-received address{font-style:normal;line-height:1.8;color:var(--wp--preset--color--text);border:0;padding:0;}

/* my account shell */
.page-shell--account .woocommerce{margin:0;}

@media (max-width:1024px){
  .wc-block-components-sidebar-layout{flex-wrap:wrap;}
  .wc-block-components-sidebar-layout .wc-block-components-sidebar,.wc-block-checkout .wc-block-components-sidebar{width:100%;}
  .wp-block-woocommerce-cart-totals-block,.wc-block-checkout__sidebar{position:static;}
}
@media (max-width:640px){
  .page-shell .page-head h1{font-size:var(--wp--preset--font-size--xx-large);}
  .wc-block-components-checkout-step{padding:var(--wp--preset--spacing--60);}
  table.wc-block-cart-items .wc-block-cart-items__row td{padding:var(--wp--preset--spacing--50);}
  .order-received .wc-block-order-confirmation-address-wrapper{flex-direction:column;}
}
.wc-block-components-sidebar-layout .wc-block-components-sidebar.wp-block-woocommerce-cart-totals-block,
.wc-block-components-sidebar-layout .wc-block-components-sidebar.wc-block-checkout__sidebar{padding:var(--wp--preset--spacing--60);}
.wc-block-checkout .wc-block-checkout__form .wc-block-components-checkout-step{
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--70);box-shadow:var(--wp--preset--shadow--small);
}
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block{border:0;border-radius:0;padding:0;margin:0;}
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title{padding:0;margin:0 0 12px;border:0;}
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper{padding-inline:0;}
@media (max-width:640px){.wc-block-checkout .wc-block-checkout__form .wc-block-components-checkout-step{padding:var(--wp--preset--spacing--60);}}
/* my account, logged out: login and register side by side as design cards */
.woocommerce-account:not(.logged-in) .page-shell .u-columns.col2-set{display:grid;grid-template-columns:1fr 1fr;gap:var(--wp--preset--spacing--70);width:auto;float:none;}
.woocommerce-account:not(.logged-in) .page-shell .u-columns.col2-set::before,.woocommerce-account:not(.logged-in) .page-shell .u-columns.col2-set::after{display:none;}
.woocommerce-account .page-shell .u-columns .u-column1,.woocommerce-account .page-shell .u-columns .u-column2{width:auto;float:none;max-width:none;}
.woocommerce-account .page-shell form.login,.woocommerce-account .page-shell form.register,.woocommerce-account .page-shell form.lost_reset_password{
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);padding:var(--wp--preset--spacing--70);margin:0;box-shadow:var(--wp--preset--shadow--small);
}
.woocommerce-account .page-shell .u-columns h2{font-size:var(--wp--preset--font-size--large);font-weight:700;color:var(--wp--preset--color--ink);margin:0 0 16px;}
.woocommerce-account .page-shell form .form-row{padding:0;margin:0 0 16px;}
.woocommerce-account .page-shell form .form-row input.input-text{width:100%;background:var(--wp--preset--color--surface-alt);}
.woocommerce-account .page-shell form .button{background:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);border-radius:var(--wp--custom--radius--medium);padding:12px 26px;font-weight:600;}
@media(max-width:780px){.woocommerce-account:not(.logged-in) .page-shell .u-columns.col2-set{grid-template-columns:1fr;}}
/* notices follow the skin (WooCommerce ships fixed light colours) */
.wc-block-components-notice-banner,.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--wp--preset--color--surface);color:var(--wp--preset--color--ink);border:1px solid var(--wp--preset--color--line);}
.wc-block-components-notice-banner.is-success{background:color-mix(in oklab,var(--wp--preset--color--success) 10%,var(--wp--preset--color--surface));border-color:var(--wp--preset--color--success);}
.wc-block-components-notice-banner.is-error{background:color-mix(in oklab,var(--wp--preset--color--danger) 10%,var(--wp--preset--color--surface));border-color:var(--wp--preset--color--danger);}
.wc-block-components-notice-banner.is-info{background:var(--wp--custom--accent-soft);border-color:var(--wp--custom--accent-line);}
.wc-block-components-notice-banner .wc-block-components-button,.wc-block-components-notice-banner a{color:var(--wp--custom--accent-text);}
/* my account (logged in): menu and content in fixed grid columns; notices span both */
.woocommerce-account.logged-in .page-shell .woocommerce > .woocommerce-notices-wrapper{grid-column:1 / -1;}
.woocommerce-account.logged-in .page-shell .woocommerce > .woocommerce-notices-wrapper:empty{display:none;}
.woocommerce-account.logged-in .page-shell .woocommerce-MyAccount-navigation{grid-column:1;grid-row:span 2;width:auto;float:none;margin:0;}
.woocommerce-account.logged-in .page-shell .woocommerce-MyAccount-content{grid-column:2;width:auto;float:none;min-width:0;margin:0;}
@media(max-width:780px){
  .woocommerce-account.logged-in .page-shell .woocommerce-MyAccount-navigation,
  .woocommerce-account.logged-in .page-shell .woocommerce-MyAccount-content{grid-column:1;grid-row:auto;}
}
/* hide the related-products section when WooCommerce finds none */
.container.related:not(:has(.wc-block-product)){display:none;}
