/* ==========================================================================
   WooCommerce — scoped to .woocommerce only; inherits generated design
   No body/header/footer overrides; uses design tokens for WC content only
   ========================================================================== */

/* Cart state element: never visible (fragment/badge state only) */
#dingdong-cart-product-ids{display:none!important;visibility:hidden;position:absolute;left:-9999px;pointer-events:none;height:0;overflow:hidden}

/* ── WC layout: one container for all WC pages (Shop, Single Product, Cart, Checkout, My Account + sub-pages) ──────── */
.woocommerce-container,.dingdong-woo-inner,.page-container{width:100%;max-width:var(--container,1200px);margin-left:auto;margin-right:auto;padding:2rem 1.5rem;padding-bottom:2rem;box-sizing:border-box}
body.woocommerce .woocommerce-container,body.woocommerce-page .woocommerce-container,body.woocommerce-cart .woocommerce-container,body.woocommerce-checkout .woocommerce-container,body.woocommerce-account .woocommerce-container,.site-main .woocommerce-container,.site-main .page-container{width:100%;max-width:var(--container,1200px);margin-left:auto;margin-right:auto;padding:2rem 1.5rem;padding-bottom:2rem;box-sizing:border-box}
.woocommerce-container .woocommerce,.page-container .woocommerce{font-family:inherit;font-size:inherit;color:inherit;line-height:inherit}
.woocommerce-container>.woocommerce,.page-container>.woocommerce{width:100%;box-sizing:border-box}
@media(max-width:768px){.woocommerce-container,.dingdong-woo-inner,.page-container,body.woocommerce .woocommerce-container,body.woocommerce-page .woocommerce-container,body.woocommerce-cart .woocommerce-container,body.woocommerce-checkout .woocommerce-container,body.woocommerce-account .woocommerce-container,.site-main .woocommerce-container,.site-main .page-container{padding:1.5rem 1.25rem;padding-bottom:1.5rem}}

/* Shop/archive page — guaranteed spacing so generated design cannot strip it */
.woocommerce .woocommerce-products-header,.woocommerce-page .woocommerce-products-header{margin-bottom:2rem;padding:0}
.woocommerce .woocommerce-products-header .page-title,.woocommerce-page .woocommerce-products-header .page-title{margin:0 0 .5rem;font-size:1.75rem}
.woocommerce .woocommerce-ordering + ul.products,.woocommerce-page .woocommerce-ordering + ul.products{margin-top:1.5rem}

/* When shop is rendered inside page content (no .woocommerce-container wrapper) */
.entry-content > .woocommerce{width:100%;max-width:var(--container,1200px);margin:2rem auto;padding:0 1.5rem;box-sizing:border-box}
@media(max-width:768px){.entry-content > .woocommerce{padding:0 1.25rem;margin:1.5rem auto}}

/* ── Breadcrumbs ────────────────────────────────────────────── */
.woocommerce .woocommerce-breadcrumb{font-size:.8125rem;color:var(--color-text-light);margin-bottom:1.5rem;padding:.75rem 0;border-bottom:1px solid var(--color-border)}
.woocommerce .woocommerce-breadcrumb a{color:var(--color-primary)}

/* ── Notices ────────────────────────────────────────────────── */
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{padding:1rem 1.25rem;margin-bottom:1.5rem;border-radius:var(--radius,8px);font-size:.9375rem;border-left:4px solid}
.woocommerce .woocommerce-message{background:#f0fdf4;border-color:#22c55e;color:#166534}
.woocommerce .woocommerce-info{background:#eff6ff;border-color:var(--color-primary);color:#1e40af}
.woocommerce .woocommerce-error{background:#fef2f2;border-color:#ef4444;color:#991b1b}
.woocommerce .woocommerce-error li{list-style:none}

/* ── Buttons ────────────────────────────────────────────────── */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce .button{
  display:inline-flex;align-items:center;justify-content:center;padding:.65rem 1.5rem;
  background:var(--color-primary);color:#fff!important;border:none;border-radius:var(--radius,8px);
  font-family:var(--font-primary);font-weight:600;font-size:.9375rem;cursor:pointer;
  transition:all .25s ease;text-decoration:none;line-height:1.4}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{
  background:var(--color-accent);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.1)}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt{
  background:var(--color-primary)}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--color-accent)}
.woocommerce a.button:disabled,.woocommerce button.button:disabled{opacity:.5;cursor:not-allowed;transform:none}
@media(max-width:768px){
  .woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce .button{min-height:44px;min-width:44px}
}

/* ── Product Grid (Shop/Archive) ────────────────────────────── */
.woocommerce ul.products,.woocommerce-page ul.products{
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.5rem;
  list-style:none;padding:0;margin:0 0 2rem}
@media(max-width:480px){
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:1fr;gap:1rem}
}
.woocommerce ul.products li.product{
  border:1px solid var(--color-border);border-radius:var(--radius,8px);overflow:hidden;
  transition:box-shadow .25s ease,transform .25s ease;background:var(--color-bg);position:relative}
.woocommerce ul.products li.product:hover{box-shadow:0 8px 25px rgba(0,0,0,.08);transform:translateY(-2px)}
.woocommerce ul.products li.product a img{width:100%;height:240px;object-fit:cover;display:block}
@media(max-width:480px){
  .woocommerce ul.products li.product a img{height:200px}
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:1rem;font-weight:600;padding:.75rem 1rem .25rem;margin:0;color:var(--color-text)}
.woocommerce ul.products li.product .price{padding:0 1rem .5rem;font-weight:700;color:var(--color-primary);font-size:1.0625rem}
.woocommerce ul.products li.product .price del{color:var(--color-text-light);font-weight:400;font-size:.875rem}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .button{margin:.5rem 1rem 1rem;width:calc(100% - 2rem)}
.woocommerce ul.products li.product a.view-cart-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;margin:.5rem 1rem 1rem;width:calc(100% - 2rem);box-sizing:border-box}
.woocommerce ul.products li.product .view-cart-quantity-hidden{display:none!important}
.woocommerce ul.products li.product .star-rating{margin:.5rem 1rem 0;font-size:.75rem;color:var(--color-accent)}
.woocommerce ul.products li.product .onsale{position:absolute;top:.75rem;left:.75rem;background:var(--color-accent);color:#fff;padding:.25rem .75rem;border-radius:var(--radius,8px);font-size:.75rem;font-weight:700;z-index:1}

/* Ordering & Results */
.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{margin-bottom:1rem;font-size:.875rem;color:var(--color-text-light)}
.woocommerce ul.products{margin-top:1rem}
.woocommerce .woocommerce-ordering select{padding:.5rem .75rem;min-height:44px;border:1px solid var(--color-border);border-radius:var(--radius,8px);font-size:.875rem}
@media(max-width:480px){
  .woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{display:block;width:100%;margin-bottom:.75rem}
  .woocommerce .woocommerce-ordering select{width:100%}
}

/* ── Single Product ─────────────────────────────────────────── */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2.5rem 3rem;align-items:start;padding:2rem 0;max-width:100%;overflow:visible}
@media(max-width:768px){.woocommerce div.product{grid-template-columns:1fr;gap:1.5rem;padding:1.5rem 0}}
.woocommerce div.product div.images{position:relative;width:100%;min-height:0}
.woocommerce div.product div.images .woocommerce-product-gallery{width:100%}
.woocommerce div.product div.images .woocommerce-product-gallery__image{margin-bottom:.75rem;line-height:0}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{width:100%;height:auto;max-height:min(70vh,560px);object-fit:contain;object-position:center;border-radius:var(--radius,8px);display:block;background:var(--color-bg-alt,#f8fafc)}
.woocommerce div.product div.images .woocommerce-product-gallery__image:last-child{margin-bottom:0}
.woocommerce div.product div.images img{width:100%;height:auto;max-height:min(70vh,560px);object-fit:contain;object-position:center;border-radius:var(--radius,8px);display:block;background:var(--color-bg-alt,#f8fafc)}
.woocommerce div.product div.images .flex-control-thumbs,.woocommerce div.product div.images .woocommerce-product-gallery__thumbs{margin-top:.75rem;display:flex;flex-wrap:wrap;gap:.5rem}
.woocommerce div.product div.images .flex-control-thumbs img,.woocommerce div.product div.images .woocommerce-product-gallery__thumbs img{width:72px;height:72px;object-fit:cover;border-radius:var(--radius,6px);border:2px solid var(--color-border);cursor:pointer}
.woocommerce div.product div.images .flex-control-thumbs img:hover,.woocommerce div.product div.images .flex-control-thumbs img.flex-active,.woocommerce div.product div.images .woocommerce-product-gallery__thumbs img:hover{border-color:var(--color-primary)}
.woocommerce div.product .summary{min-width:0;padding:0;display:flex;flex-direction:column;gap:0}
.woocommerce div.product .product_title{font-size:1.75rem;font-weight:700;margin:0 0 .5rem;line-height:1.3;word-wrap:break-word}
.woocommerce div.product .price{font-size:1.5rem;font-weight:700;color:var(--color-primary);margin:0 0 1rem}
.woocommerce div.product .price del{color:var(--color-text-light);font-size:1.125rem}
.woocommerce div.product .woocommerce-product-details__short-description{margin:0 0 1.5rem;line-height:1.7;color:var(--color-text-light)}
.woocommerce div.product .star-rating{color:var(--color-accent);margin:0 0 .5rem}
.woocommerce div.product form.cart{display:flex;align-items:center;gap:1rem;margin:1.5rem 0;flex-wrap:wrap}
.woocommerce div.product form.cart .quantity input[type=number]{width:70px;padding:.5rem;text-align:center;border:1px solid var(--color-border);border-radius:var(--radius,8px)}
.woocommerce div.product form.cart .single_add_to_cart_button{flex:1;min-width:180px;padding:.875rem 2rem;font-size:1rem;min-height:44px}
.woocommerce div.product .dingdong-single-atc-wrap .view-cart-link.view-cart-state{display:inline-flex;align-items:center;justify-content:center;margin:1.5rem 0;min-width:180px;min-height:44px}
@media(max-width:480px){
  .woocommerce div.product form.cart{flex-direction:column;align-items:stretch}
  .woocommerce div.product form.cart .quantity{justify-content:flex-start}
  .woocommerce div.product form.cart .single_add_to_cart_button{min-width:100%;width:100%}
  .woocommerce div.product .dingdong-single-atc-wrap .view-cart-link.view-cart-state{min-width:100%;width:100%}
}
.woocommerce div.product .product_meta{margin-top:1.5rem;font-size:.875rem;color:var(--color-text-light);border-top:1px solid var(--color-border);padding-top:1rem}
.woocommerce div.product .product_meta>span{display:block;margin-bottom:.35rem}
.woocommerce div.product .product_meta a{color:var(--color-primary)}

/* Product Tabs — full width below image/summary, no overlap */
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;width:100%;margin-top:2.5rem;padding-top:2rem;border-top:1px solid var(--color-border);clear:both}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:0;border-bottom:2px solid var(--color-border);margin-bottom:1.5rem;list-style:none;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:.75rem 1.25rem;font-weight:600;font-size:.9375rem;color:var(--color-text-light);border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s;min-height:44px;box-sizing:border-box}
@media(max-width:480px){
  .woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:.65rem .875rem;font-size:.875rem}
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--color-primary);border-bottom-color:var(--color-primary)}
.woocommerce div.product .woocommerce-tabs .panel{padding:.5rem 0;line-height:1.7}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:1.25rem;margin-bottom:1rem}

/* Related / Upsell Products — full width, clear separation */
.woocommerce .related.products,.woocommerce .upsells.products,.woocommerce .cross-sells{grid-column:1/-1;width:100%;margin-top:3rem;padding-top:2rem;border-top:1px solid var(--color-border);clear:both}
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2,.woocommerce .cross-sells>h2{font-size:1.5rem;margin-bottom:1.5rem}

/* ── Cart ───────────────────────────────────────────────────── */
.woocommerce-cart .woocommerce{padding:1rem 0}
.woocommerce table.shop_table{width:100%;border-collapse:collapse;margin-bottom:2rem;border:1px solid var(--color-border);border-radius:var(--radius,8px);overflow:hidden}
.woocommerce table.shop_table th{background:var(--color-bg-alt,#f8fafc);padding:.875rem 1rem;text-align:left;font-weight:600;font-size:.875rem;border-bottom:2px solid var(--color-border)}
.woocommerce table.shop_table td{padding:.875rem 1rem;border-bottom:1px solid var(--color-border);vertical-align:middle}
.woocommerce table.shop_table img{width:64px;height:64px;object-fit:cover;border-radius:6px}
.woocommerce table.shop_table .product-name a{font-weight:600;color:var(--color-text)}
.woocommerce table.shop_table .product-price,.woocommerce table.shop_table .product-subtotal{font-weight:600}
.woocommerce table.shop_table .product-remove a{color:#ef4444;font-size:1.25rem}
.woocommerce table.shop_table .quantity input[type=number]{width:60px;padding:.375rem;text-align:center;border:1px solid var(--color-border);border-radius:6px}
.woocommerce .cart-collaterals{margin-top:2rem}
.woocommerce .cart_totals{max-width:100%}
.woocommerce .cart_totals h2{font-size:1.25rem;margin-bottom:1rem}
.woocommerce .cart_totals table{width:100%;border:1px solid var(--color-border);border-radius:var(--radius,8px);overflow:hidden}
.woocommerce .cart_totals th,.woocommerce .cart_totals td{padding:.75rem 1rem;border-bottom:1px solid var(--color-border)}
.woocommerce .cart_totals th{background:var(--color-bg-alt,#f8fafc);font-weight:600;width:40%}
.woocommerce .cart_totals .order-total td{font-size:1.25rem;font-weight:700;color:var(--color-primary)}
.woocommerce .cart_totals .wc-proceed-to-checkout .button{width:100%;padding:.875rem;font-size:1rem;margin-top:1rem}
.woocommerce .coupon{display:flex;gap:.5rem;flex-wrap:wrap}
.woocommerce .coupon input[type=text]{flex:1;min-width:160px;padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius,8px)}

/* ── Checkout ───────────────────────────────────────────────── */
.woocommerce-checkout .woocommerce{padding:1rem 0}
.woocommerce form.checkout{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}
@media(max-width:768px){.woocommerce form.checkout{grid-template-columns:1fr}}
.woocommerce form.checkout #customer_details{grid-column:1}
.woocommerce form.checkout #order_review_heading,.woocommerce form.checkout #order_review{grid-column:2}
@media(max-width:768px){.woocommerce form.checkout #customer_details,.woocommerce form.checkout #order_review_heading,.woocommerce form.checkout #order_review{grid-column:1}}
.woocommerce form.checkout #customer_details h3,.woocommerce form.checkout .woocommerce-billing-fields h3,.woocommerce form.checkout .woocommerce-shipping-fields h3{font-size:1.125rem;font-weight:700;margin:0 0 1rem;color:inherit;line-height:1.3}
.woocommerce form .form-row{margin-bottom:1.25rem}
.woocommerce form .form-row label:not(.screen-reader-text){display:block;font-weight:600;margin-bottom:.5rem;font-size:.9375rem;color:inherit}
.woocommerce form .form-row label.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{
  width:100%;padding:.75rem 1rem;border:1px solid var(--color-border);border-radius:var(--radius,8px);font-size:1rem;line-height:1.4;transition:border .2s,box-shadow .2s;
  background:var(--color-bg,#fff);color:inherit;box-sizing:border-box}
.woocommerce form .form-row input.input-text::placeholder,.woocommerce form .form-row textarea::placeholder{color:var(--color-text-light,currentColor);opacity:.7}
.woocommerce form .form-row input.input-text::-webkit-input-placeholder,.woocommerce form .form-row textarea::-webkit-input-placeholder{color:var(--color-text-light,currentColor);opacity:.7}
.woocommerce form .form-row input.input-text::-moz-placeholder,.woocommerce form .form-row textarea::-moz-placeholder{color:var(--color-text-light,currentColor);opacity:.7}
.woocommerce form .form-row input.input-text:-ms-input-placeholder,.woocommerce form .form-row textarea:-ms-input-placeholder{color:var(--color-text-light,currentColor);opacity:.7}
.woocommerce form .form-row textarea{min-height:100px;resize:vertical}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 3px var(--color-bg-alt,rgba(0,0,0,.06))}
.woocommerce form .form-row .required{color:#ef4444}
.woocommerce #order_review{background:var(--color-bg-alt,#f8fafc);padding:1.5rem;border-radius:var(--radius,8px);border:1px solid var(--color-border)}
.woocommerce #order_review table{width:100%;margin-bottom:1rem}
@media(max-width:768px){
  .woocommerce form.checkout #customer_details .col-1,.woocommerce form.checkout #customer_details .col-2{width:100%}
  .woocommerce #order_review{padding:1rem}
}
@media(max-width:480px){
  .woocommerce #payment .place-order .button{min-height:44px}
  .woocommerce #payment ul.payment_methods li{padding:.875rem;min-height:44px;display:flex;align-items:center}
}
.woocommerce #order_review th,.woocommerce #order_review td{padding:.625rem 0;border-bottom:1px solid var(--color-border);font-size:.9375rem}
.woocommerce #order_review .order-total td{font-size:1.25rem;font-weight:700;color:var(--color-primary)}
.woocommerce #payment{margin-top:1.5rem}
.woocommerce #payment ul.payment_methods{list-style:none;padding:0;margin-bottom:1rem}
.woocommerce #payment ul.payment_methods li{padding:1rem;border:1px solid var(--color-border);border-radius:var(--radius,8px);margin-bottom:.5rem}
.woocommerce #payment ul.payment_methods li label{font-weight:600;cursor:pointer;color:inherit}
.woocommerce form .form-row select{appearance:auto;cursor:pointer}
.woocommerce #payment .place-order .button{width:100%;padding:1rem;font-size:1.0625rem}

/* ── My Account (nav + content: orders, addresses, account, downloads, logout) ─ */
.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:100%;margin-bottom:2rem}
.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;border-bottom:2px solid var(--color-border);padding-bottom:.5rem}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a{display:block;padding:.5rem 1rem;border-radius:var(--radius,8px);font-weight:500;transition:background .2s}
@media(max-width:768px){
  .woocommerce-account .woocommerce-MyAccount-navigation ul li a{min-height:44px;display:flex;align-items:center;padding:.75rem 1rem}
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a{background:var(--color-primary);color:#fff}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover{background:var(--color-bg-alt)}
.woocommerce-account .woocommerce-MyAccount-content{clear:both}
@media(min-width:769px){
  .woocommerce-account .woocommerce{display:grid;grid-template-columns:220px 1fr;gap:2rem}
  .woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:0}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{flex-direction:column;border-bottom:none;border-right:2px solid var(--color-border);padding-right:1rem;padding-bottom:0}
}

/* My Account: Dashboard welcome & links */
.woocommerce-MyAccount-content .woocommerce-info{padding:1rem 1.25rem;margin-bottom:1.5rem;border-radius:var(--radius,8px);border-left:4px solid var(--color-primary);background:var(--color-bg-alt,#f8fafc)}
.woocommerce-MyAccount-content p:first-child{margin-bottom:1rem}

/* My Account: Order history table */
.woocommerce-MyAccount-content .woocommerce-orders-table__table,
.woocommerce-MyAccount-content table.woocommerce-orders-table,
.woocommerce-MyAccount-content .shop_table.my_account_orders{width:100%;border-collapse:collapse;border:1px solid var(--color-border);border-radius:var(--radius,8px);overflow:hidden;margin-bottom:1.5rem}
.woocommerce-MyAccount-content .woocommerce-orders-table__table th,
.woocommerce-MyAccount-content table.woocommerce-orders-table th,
.woocommerce-MyAccount-content .shop_table.my_account_orders th{background:var(--color-bg-alt,#f8fafc);padding:.75rem 1rem;text-align:left;font-weight:600;font-size:.875rem;border-bottom:2px solid var(--color-border)}
.woocommerce-MyAccount-content .woocommerce-orders-table__table td,
.woocommerce-MyAccount-content table.woocommerce-orders-table td,
.woocommerce-MyAccount-content .shop_table.my_account_orders td{padding:.75rem 1rem;border-bottom:1px solid var(--color-border)}
.woocommerce-MyAccount-content .woocommerce-orders-table__table .woocommerce-orders-table__cell-order a,
.woocommerce-MyAccount-content .shop_table.my_account_orders .order-number a{font-weight:600;color:var(--color-primary)}
.woocommerce-MyAccount-content .woocommerce-orders-table__table .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-MyAccount-content .shop_table.my_account_orders .order-actions .button{margin:.25rem .25rem .25rem 0;min-height:36px}

/* My Account: View order (single order details) */
.woocommerce-MyAccount-content .order_details{width:100%;border-collapse:collapse;border:1px solid var(--color-border);border-radius:var(--radius,8px);overflow:hidden;margin:1.5rem 0}
.woocommerce-MyAccount-content .order_details th,.woocommerce-MyAccount-content .order_details td{padding:.75rem 1rem;border-bottom:1px solid var(--color-border);text-align:left}
.woocommerce-MyAccount-content .order_details th{background:var(--color-bg-alt,#f8fafc);font-weight:600;font-size:.875rem}
.woocommerce-MyAccount-content .order_details .order-number a{font-weight:600;color:var(--color-primary)}
.woocommerce-MyAccount-content .order_details .order-status{font-weight:600}
.woocommerce-MyAccount-content .woocommerce-table--order-details{margin-bottom:1.5rem}
.woocommerce-MyAccount-content .woocommerce-table--order-details th,.woocommerce-MyAccount-content .woocommerce-table--order-details td{padding:.5rem .75rem;border-bottom:1px solid var(--color-border)}
.woocommerce-MyAccount-content .woocommerce-table--order-details .order-total td{font-weight:700;font-size:1.0625rem;color:var(--color-primary)}
.woocommerce-MyAccount-content .order-again .button{margin-top:1rem}

/* My Account: View order — billing/shipping and payment method */
.woocommerce-MyAccount-content .woocommerce-customer-details{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--color-border)}
.woocommerce-MyAccount-content .woocommerce-customer-details h2{font-size:1.125rem;margin-bottom:.75rem}
.woocommerce-MyAccount-content .woocommerce-column--billing-address,.woocommerce-MyAccount-content .woocommerce-column--shipping-address{display:block;margin-bottom:1rem;padding:1rem;border:1px solid var(--color-border);border-radius:var(--radius,8px);background:var(--color-bg-alt,#f8fafc)}
.woocommerce-MyAccount-content .woocommerce-column--billing-address address,.woocommerce-MyAccount-content .woocommerce-column--shipping-address address{font-style:normal;line-height:1.6}
.woocommerce-MyAccount-content .woocommerce-order-details .payment_method{font-weight:600;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--color-border)}

/* My Account: Addresses (billing & shipping cards) */
.woocommerce-MyAccount-content .u-columns{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-top:1rem}
.woocommerce-MyAccount-content .u-column1,.woocommerce-MyAccount-content .u-column2{border:1px solid var(--color-border);border-radius:var(--radius,8px);padding:1.25rem;background:var(--color-bg)}
.woocommerce-MyAccount-content .u-columns h3{font-size:1.125rem;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:2px solid var(--color-primary)}
.woocommerce-MyAccount-content .addresses .edit{display:inline-block;margin-top:.75rem;font-weight:600;color:var(--color-primary)}

/* My Account: Edit account form & Edit address form — alignment and visibility */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm,.woocommerce-MyAccount-content .woocommerce-address-fields{max-width:32rem;padding:1.5rem 0}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm h3,.woocommerce-MyAccount-content .woocommerce-address-fields h3{font-size:1.125rem;font-weight:700;margin:0 0 1.25rem;color:inherit;padding-bottom:.5rem;border-bottom:2px solid var(--color-border)}
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row,.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row{margin-bottom:1.25rem;clear:both}
.woocommerce-MyAccount-content .woocommerce-address-fields label:not(.screen-reader-text),.woocommerce-MyAccount-content .woocommerce-EditAccountForm label:not(.screen-reader-text){display:block;font-weight:600;margin-bottom:.5rem;font-size:.9375rem;color:inherit}
.woocommerce-MyAccount-content .woocommerce-address-fields label.screen-reader-text,.woocommerce-MyAccount-content .woocommerce-EditAccountForm label.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.woocommerce-MyAccount-content .woocommerce-address-fields input.input-text,.woocommerce-MyAccount-content .woocommerce-address-fields select,.woocommerce-MyAccount-content .woocommerce-EditAccountForm input.input-text,.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type=email],.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type=text],.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type=password]{width:100%;padding:.75rem 1rem;border:1px solid var(--color-border);border-radius:var(--radius,8px);font-size:1rem;line-height:1.4;background:var(--color-bg,#fff);color:inherit;box-sizing:border-box;transition:border .2s,box-shadow .2s}
.woocommerce-MyAccount-content .woocommerce-address-fields input.input-text::placeholder,.woocommerce-MyAccount-content .woocommerce-EditAccountForm input.input-text::placeholder,.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type=text]::placeholder,.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type=email]::placeholder{color:var(--color-text-light,currentColor);opacity:.7}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input::-webkit-input-placeholder,.woocommerce-MyAccount-content .woocommerce-address-fields input.input-text::-webkit-input-placeholder{color:var(--color-text-light,currentColor);opacity:.7}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input::-moz-placeholder,.woocommerce-MyAccount-content .woocommerce-address-fields input.input-text::-moz-placeholder{color:var(--color-text-light,currentColor);opacity:.7}
.woocommerce-MyAccount-content .woocommerce-address-fields input.input-text:focus,.woocommerce-MyAccount-content .woocommerce-address-fields select:focus,.woocommerce-MyAccount-content .woocommerce-EditAccountForm input.input-text:focus,.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type=email]:focus,.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type=text]:focus,.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type=password]:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 3px var(--color-bg-alt,rgba(0,0,0,.06))}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .button,.woocommerce-MyAccount-content .woocommerce-address-fields .button{margin-top:1rem;min-height:44px;padding:.75rem 1.5rem;font-weight:600;border-radius:var(--radius,8px);cursor:pointer}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-first,.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-last{float:none;width:100%;margin-left:0;margin-right:0}
@media(min-width:480px){
  .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-first,.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-last{float:left;width:48%}
  .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-last{margin-left:4%}
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm::after,.woocommerce-MyAccount-content .woocommerce-address-fields::after{content:"";display:table;clear:both}
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row-first,.woocommerce-MyAccount-content .woocommerce-address-fields .form-row-last{float:none;width:100%}
@media(min-width:480px){
  .woocommerce-MyAccount-content .woocommerce-address-fields .form-row-first,.woocommerce-MyAccount-content .woocommerce-address-fields .form-row-last{float:left;width:48%}
  .woocommerce-MyAccount-content .woocommerce-address-fields .form-row-last{margin-left:4%}
}

/* My Account: Downloadable products */
.woocommerce-MyAccount-content .woocommerce-MyAccount-downloads{list-style:none;padding:0;margin:0}
.woocommerce-MyAccount-content .woocommerce-MyAccount-downloads li{border:1px solid var(--color-border);border-radius:var(--radius,8px);padding:1rem;margin-bottom:1rem;background:var(--color-bg)}
.woocommerce-MyAccount-content .woocommerce-MyAccount-downloads .product-name{font-weight:600;margin-bottom:.35rem}
.woocommerce-MyAccount-content .woocommerce-MyAccount-downloads .button{margin-top:.5rem;min-height:44px}
.woocommerce-MyAccount-content .woocommerce-MyAccount-downloads-file{display:inline-block;margin-top:.5rem;color:var(--color-primary);font-weight:500}

/* My Account: Logout link (in nav) */
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a{color:inherit}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout.is-active a{color:#fff}

/* ── Star Ratings ───────────────────────────────────────────── */
.woocommerce .star-rating{overflow:hidden;position:relative;height:1.2em;line-height:1.2em;width:5.4em;font-size:.875rem;font-family:star}
.woocommerce .star-rating::before{content:"\73\73\73\73\73";color:var(--color-border);float:left;top:0;left:0;position:absolute}
.woocommerce .star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}
.woocommerce .star-rating span::before{content:"\53\53\53\53\53";top:0;position:absolute;left:0;color:var(--color-accent)}
.woocommerce p.stars a{color:var(--color-accent)}

/* ── Pagination ─────────────────────────────────────────────── */
.woocommerce nav.woocommerce-pagination{text-align:center;margin:2rem 0}
.woocommerce nav.woocommerce-pagination ul{display:inline-flex;gap:.35rem;list-style:none;padding:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{
  display:inline-flex;align-items:center;justify-content:center;min-width:2.25rem;min-height:2.25rem;height:2.25rem;padding:0 .5rem;
  border:1px solid var(--color-border);border-radius:var(--radius,8px);font-size:.875rem;transition:all .2s}
@media(max-width:480px){
  .woocommerce nav.woocommerce-pagination ul{flex-wrap:wrap;justify-content:center;gap:.35rem}
  .woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:44px;min-height:44px}
}
.woocommerce nav.woocommerce-pagination ul li a:hover,.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--color-primary);color:#fff;border-color:var(--color-primary)}

/* ── Sale Badge ─────────────────────────────────────────────── */
.woocommerce span.onsale{background:var(--color-accent);color:#fff;font-weight:700;border-radius:var(--radius,8px);padding:.375rem .875rem;font-size:.8125rem;position:absolute;top:1rem;left:1rem;z-index:5}

/* ── Homepage Products Section ──────────────────────────────── */
.home-products.dingdong-woo-section{padding:3rem 0}
.home-products .section-title,.home-products-title{font-size:clamp(1.5rem,3vw,2rem);text-align:center;margin-bottom:2rem}

/* ── Quantity Buttons ───────────────────────────────────────── */
.woocommerce .quantity{display:inline-flex;align-items:center}
.woocommerce .quantity input[type=number]{-moz-appearance:textfield}
.woocommerce .quantity input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}

/* ── Responsive Tables (cart as cards on small screens) ───────── */
@media(max-width:600px){
  .woocommerce table.shop_table{font-size:.875rem}
  .woocommerce table.shop_table img{width:48px;height:48px}
  .woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:.625rem .5rem}
}
@media(max-width:600px){
  .woocommerce table.shop_table_responsive thead{display:none}
  .woocommerce table.shop_table_responsive tbody tr{display:block;border:1px solid var(--color-border);border-radius:var(--radius,8px);margin-bottom:1rem;padding:1rem;background:var(--color-bg)}
  .woocommerce table.shop_table_responsive tbody td{display:block;text-align:left!important;padding:.5rem 0!important;border:none!important}
  .woocommerce table.shop_table_responsive tbody td::before{content:attr(data-title);font-weight:600;display:block;margin-bottom:.25rem;color:var(--color-text-light);font-size:.8125rem}
  .woocommerce table.shop_table_responsive tbody td.product-remove{border-bottom:1px solid var(--color-border)!important;padding-bottom:.75rem!important;text-align:right}
  .woocommerce table.shop_table_responsive tbody td.product-remove::before{display:none}
  .woocommerce table.shop_table_responsive tbody td.product-thumbnail::before{display:none}
  .woocommerce table.shop_table_responsive .actions{display:block;border:none;padding-top:1rem;margin-top:1rem;border-top:1px solid var(--color-border)}
  .woocommerce table.shop_table_responsive .actions .button{width:100%;min-height:44px;margin-bottom:.5rem}
  .woocommerce table.shop_table_responsive .coupon{flex-direction:column}
  .woocommerce table.shop_table_responsive .coupon input[type=text]{min-width:100%}
}
@media(max-width:480px){
  .woocommerce .cart_totals{max-width:100%;margin-left:0;margin-right:0}
  .woocommerce .woocommerce-container,.woocommerce .page-container{padding:1.5rem 1.25rem;padding-bottom:1.5rem}
}

/* ── Loading Overlay ────────────────────────────────────────── */
.woocommerce .blockUI.blockOverlay{background:rgba(0,0,0,.4)!important}
.woocommerce .loader::before{border-color:var(--color-primary)!important}

/* ── Reviews ────────────────────────────────────────────────── */
.woocommerce #reviews{margin-top:2rem;padding-top:2rem;border-top:1px solid var(--color-border)}
.woocommerce #reviews .woocommerce-Reviews-title,#reviews h2.woocommerce-Reviews-title{font-size:1.375rem;font-weight:700;margin:0 0 .5rem;color:inherit}
.woocommerce #reviews .woocommerce-noreviews,#reviews .woocommerce-noreviews{font-size:.9375rem;color:var(--color-text-light);margin:0 0 1.5rem;line-height:1.5}
.woocommerce #review_form_wrapper{margin-top:2rem}
.woocommerce #respond,#reviews #respond{max-width:36rem;padding:1.75rem;background:var(--color-bg-alt,rgba(0,0,0,.03));border:1px solid var(--color-border);border-radius:var(--radius,12px)}
.woocommerce #reviews #reply-title,#respond #reply-title{font-size:1.125rem;font-weight:600;margin:0 0 1.25rem;color:inherit}
.woocommerce #reviews .comment-form label{display:block;font-size:.875rem;font-weight:600;margin-bottom:.5rem;color:inherit}
.woocommerce #reviews .comment-form-rating{margin-bottom:1.25rem}
.woocommerce #reviews .comment-form-rating .stars,.woocommerce #reviews p.stars{display:flex;align-items:center;gap:.25rem;margin:.5rem 0 0;flex-wrap:wrap}
.woocommerce #reviews .comment-form-rating .stars a,.woocommerce #reviews p.stars a{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;font-size:0;line-height:1;text-decoration:none;color:var(--color-border);transition:color .15s,transform .15s;border:none;background:none;cursor:pointer}
.woocommerce #reviews .comment-form-rating .stars a::before,.woocommerce #reviews p.stars a::before{content:"★";font-size:1.5rem;font-family:inherit;line-height:1}
.woocommerce #reviews .comment-form-rating .stars a:hover,.woocommerce #reviews p.stars a:hover{color:var(--color-accent);transform:scale(1.12)}
.woocommerce #reviews .comment-form-rating .stars a.active,.woocommerce #reviews p.stars a.active,.woocommerce #reviews .comment-form-rating .stars:hover a,.woocommerce #reviews p.stars:hover a{color:var(--color-accent)}
.woocommerce #reviews .comment-form-rating .stars a:hover ~ a,.woocommerce #reviews p.stars a:hover ~ a{color:var(--color-border)}
.woocommerce #reviews .comment-form-rating select#rating{min-height:44px;padding:.5rem .75rem;font-size:1rem;border:1px solid var(--color-border);border-radius:var(--radius,8px);background:var(--color-bg);color:inherit;margin-top:.35rem}
.woocommerce #reviews .comment-form-rating select#rating:focus{outline:none;border-color:var(--color-primary)}
.woocommerce #reviews .comment-form-comment{margin-bottom:1.25rem}
.woocommerce #reviews .comment-form-comment textarea{width:100%;min-height:140px;padding:.875rem 1rem;font-size:1rem;line-height:1.6;border:1px solid var(--color-border);border-radius:var(--radius,8px);background:var(--color-bg);color:inherit;resize:vertical;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}
.woocommerce #reviews .comment-form-comment textarea:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-bg-alt,rgba(0,0,0,.06))}
.woocommerce #reviews .comment-form .form-submit{margin:1.5rem 0 0}
.woocommerce #reviews .comment-form .form-submit .submit{display:inline-block;padding:.75rem 1.75rem;font-size:1rem;font-weight:600;border-radius:var(--radius,8px);border:none;background:var(--color-primary);color:#fff;cursor:pointer;transition:opacity .2s,transform .05s;min-height:44px}
.woocommerce #reviews .comment-form .form-submit .submit:hover{opacity:.92}
.woocommerce #reviews .comment-form .form-submit .submit:active{transform:scale(.98)}
.woocommerce #reviews .commentlist{list-style:none;padding:0;margin:0}
.woocommerce #reviews .commentlist li{padding:1.5rem 0;border-bottom:1px solid var(--color-border)}
.woocommerce #reviews .commentlist li:last-child{border-bottom:none}
.woocommerce #reviews .commentlist .comment-text{margin-left:0;padding:0}
.woocommerce #reviews .commentlist .meta{font-size:.8125rem;color:var(--color-text-light);margin-bottom:.5rem}
.woocommerce #reviews .commentlist .star-rating{margin:.35rem 0 .5rem}
@media(max-width:480px){
  .woocommerce #respond,#reviews #respond{padding:1.25rem}
  .woocommerce #reviews .comment-form-rating .stars a,.woocommerce #reviews p.stars a{width:2.25rem;height:2.25rem}
  .woocommerce #reviews .comment-form-rating .stars a::before,.woocommerce #reviews p.stars a::before{font-size:1.75rem}
}
