/* Commerce layouts are independent of editorial tables and reading widths. */
.commerce-page { padding-block:48px 88px; }
.commerce-page>h1 { font-size:clamp(34px,4vw,52px); margin-bottom:16px; }
.commerce-page .page-content { max-width:none; min-width:0; }
.commerce-intro { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 32px; margin-bottom:32px; color:var(--muted); font-size:14px; }
.commerce-intro p { margin:0; max-width:640px; }
.commerce-intro a { color:var(--ink); text-decoration:underline; text-underline-offset:4px; white-space:nowrap; }
.commerce-page .woocommerce table.shop_table { display:table; width:100%; border-collapse:collapse; overflow:visible; margin:0; font-size:14px; }
.commerce-page .woocommerce table.shop_table td,.commerce-page .woocommerce table.shop_table th { min-width:0; padding:18px 14px; vertical-align:middle; text-align:left; border-color:var(--line); }
.commerce-page .woocommerce table.shop_table th { font-size:12px; font-weight:650; }
.commerce-page .woocommerce table.shop_table td:first-child { min-width:0; overflow-wrap:normal; }
.commerce-page .woocommerce table.shop_table a:not(.button) { text-decoration:none; }
.commerce-page .woocommerce table.shop_table a:not(.button):hover { text-decoration:underline; }
.commerce-page .woocommerce .button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; line-height:1.35; padding:14px 20px; border-radius:0; font-weight:600; text-align:center; white-space:normal; }
.commerce-page .woocommerce .button:disabled { color:#536158; background:#e7ebe5; opacity:1; cursor:not-allowed; }
.commerce-page .woocommerce-notices-wrapper { min-width:0; }
.commerce-page .woocommerce-error,.commerce-page .woocommerce-info,.commerce-page .woocommerce-message { margin:0 0 24px; border:1px solid var(--line); border-left:3px solid var(--ink); padding:18px 20px 18px 48px; background:#f3f5ef; font-size:13px; line-height:1.65; }
.commerce-page .woocommerce-error { border-left-color:#9e4337; background:#fbf3ef; }
.commerce-page .woocommerce-error::before,.commerce-page .woocommerce-info::before,.commerce-page .woocommerce-message::before { top:19px; left:18px; }
.commerce-page .woocommerce-error li { font-size:13px; line-height:1.65; }
/* Native cart form, totals and notices remain intact for AJAX updates. */
.woocommerce-cart .page-content>.woocommerce { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,360px); gap:0 32px; align-items:start; }
.woocommerce-cart .page-content>.woocommerce>div:not(.cart-collaterals),.woocommerce-cart .page-content>.woocommerce>ul,.woocommerce-cart .page-content>.woocommerce>p { grid-column:1/-1; }
.woocommerce-cart .woocommerce-cart-form { grid-column:1; min-width:0; margin:0; }
.woocommerce-cart .cart-collaterals { grid-column:2; min-width:0; width:100%; }
.woocommerce-cart .cart-collaterals::before,.woocommerce-cart .cart-collaterals::after { display:none; }
.woocommerce-cart .cart-collaterals .cart_totals { float:none; width:100%; padding:28px; border:1px solid var(--line); background:#f4f6f0; }
.woocommerce-cart .cart-collaterals .cart_totals h2 { margin:0 0 22px; font-size:24px; }
.woocommerce-cart .cart_totals table.shop_table { border:0; background:transparent; }
.woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td { padding:16px 0; background:transparent; font-size:14px; }
.woocommerce-cart .cart_totals table.shop_table td { text-align:right; }
.woocommerce-cart .cart_totals .order-total th,.woocommerce-cart .cart_totals .order-total td { border-top:1px solid #b9c8b5; padding-top:22px; color:var(--ink); font-size:20px; }
.woocommerce-cart .woocommerce-cart-form table.shop_table { border:1px solid var(--line); }
.woocommerce-cart .woocommerce-cart-form table.shop_table th { background:#f4f6f0; padding-block:14px; }
.woocommerce-cart .woocommerce-cart-form .product-remove { width:44px; padding-inline:8px; }
.woocommerce-cart .woocommerce-cart-form .product-thumbnail { width:94px; padding-inline:8px; }
.woocommerce-cart .woocommerce-cart-form .product-thumbnail img { width:78px; height:78px; max-width:none; object-fit:contain; background:#f4f5f1; }
.woocommerce-cart .woocommerce-cart-form .product-name { font-weight:600; line-height:1.55; overflow-wrap:anywhere; }
.woocommerce-cart .woocommerce-cart-form .product-price,.woocommerce-cart .woocommerce-cart-form .product-subtotal { white-space:nowrap; font-variant-numeric:tabular-nums; }
.woocommerce-cart .woocommerce-cart-form .product-subtotal { text-align:right; }
.woocommerce-cart .woocommerce-cart-form a.remove { display:flex; justify-content:center; align-items:center; width:32px; height:32px; margin:auto; border:1px solid var(--line); color:var(--ink)!important; font-size:21px; text-decoration:none!important; background:#fff; }
.woocommerce-cart .woocommerce-cart-form a.remove:hover { background:#f9ebe7; color:#963d31!important; border-color:#dab1a9; }
.commerce-page .woocommerce .quantity .qty { width:64px; min-height:46px; padding:10px 4px; border:1px solid #bfc9be; border-radius:0; background:#fff; }
.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions { padding:18px; background:#fafbf8; }
.woocommerce-cart .commerce-page .woocommerce table.cart td.actions .coupon { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.woocommerce-cart .commerce-page .woocommerce table.cart td.actions .coupon::before,.woocommerce-cart .commerce-page .woocommerce table.cart td.actions .coupon::after { display:none; }
.woocommerce-cart .commerce-page .woocommerce table.cart td.actions .coupon .input-text { width:170px; min-width:0; min-height:48px; margin:0; padding:12px; border:1px solid #bfc9be; font-size:13px; background:#fff; }
.woocommerce-cart .commerce-page .woocommerce table.cart td.actions .coupon .button { margin:0; }
.woocommerce-cart .wc-proceed-to-checkout { padding:24px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display:flex; width:100%; margin:0; font-size:15px; padding:17px 20px; }
.woocommerce-cart .cart-collaterals .cross-sells { float:none; width:100%; margin-bottom:24px; }
.woocommerce-cart .cart-collaterals .cross-sells h2 { margin-top:0; }
.woocommerce-cart .page-content>.woocommerce:has(.cart-empty) { display:block; max-width:760px; margin-inline:auto; padding:clamp(24px,5vw,64px); border:1px solid var(--line); background:#f4f6f0; text-align:center; }
.woocommerce-cart .cart-empty.woocommerce-info { border:0; background:none; padding:0; margin:0 0 24px; font-size:22px; color:var(--ink); }
.woocommerce-cart .cart-empty::before { display:none; }
.woocommerce-cart .return-to-shop { margin:0; }
/* Account, password recovery, withdrawal and checkout forms. */
.woocommerce-account .woocommerce-MyAccount-navigation { float:left; width:240px; border:1px solid var(--line); padding:12px; background:#f4f6f0; }
.woocommerce-account .woocommerce-MyAccount-navigation li { border:0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { padding:13px 16px; text-decoration:none; font-size:14px; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background:var(--ink); color:#fff; }
.woocommerce-account .woocommerce-MyAccount-content { float:right; width:calc(100% - 272px); padding:28px; border:1px solid var(--line); min-height:240px; overflow-wrap:anywhere; }
.commerce-page .woocommerce-MyAccount-content>:first-child { margin-top:0; }
.commerce-page .woocommerce h2 { line-height:1.25; }
.commerce-page .woocommerce form.login,.commerce-page .woocommerce form.register { max-width:600px; margin:20px 0 0; padding:32px; background:#f7f8f4; border:1px solid var(--line); }
.commerce-page .woocommerce form.lost_reset_password { max-width:600px; border:1px solid var(--line); padding:32px; background:#f7f8f4; }
.commerce-page .woocommerce form .form-row { padding:0; margin-bottom:20px; }
.commerce-page .woocommerce form .form-row label { display:block; font-size:13px; line-height:1.6; margin-bottom:7px; }
.commerce-page .woocommerce form .form-row input.input-text,.commerce-page .woocommerce form .form-row textarea,.commerce-page .woocommerce form .form-row select { border-radius:0; min-height:48px; font-size:16px; padding:12px; }
.commerce-page .woocommerce form .form-row .woocommerce-form-login__rememberme { margin:0 0 16px; }
.commerce-page .woocommerce form .form-row input[type=checkbox] { width:18px; height:18px; vertical-align:middle; margin-right:6px; }
.commerce-page .woocommerce form .show-password-input { top:12px; right:10px; }
.commerce-page .woocommerce form.login .lost_password { margin:20px 0 0; font-size:13px; }
.commerce-page .woocommerce .col2-set { display:flex; flex-wrap:wrap; gap:32px; }
.commerce-page .woocommerce .col2-set::before,.commerce-page .woocommerce .col2-set::after { display:none; }
.commerce-page .woocommerce .col2-set>.col-1,.commerce-page .woocommerce .col2-set>.col-2 { float:none; width:auto; flex:1 1 300px; min-width:0; }
.commerce-page .woocommerce>#customer_login h2,.commerce-page .woocommerce>h2 { margin-top:0; }
.commerce-page .woocommerce .woocommerce-address-fields,.commerce-page .woocommerce form.edit-account { max-width:780px; }
.woocommerce-checkout .woocommerce form.checkout { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,420px); gap:24px 40px; align-items:start; }
.woocommerce-checkout .woocommerce form.checkout #customer_details { grid-column:1; grid-row:1/4; display:block; }
.woocommerce-checkout .woocommerce form.checkout #customer_details>.col-1,.woocommerce-checkout .woocommerce form.checkout #customer_details>.col-2 { width:100%; margin-bottom:28px; }
.woocommerce-checkout .woocommerce form.checkout #order_review_heading { grid-column:2; margin:0; font-size:24px; }
.woocommerce-checkout .woocommerce form.checkout #order_review { grid-column:2; min-width:0; padding:24px; border:1px solid var(--line); background:#f4f6f0; }
.commerce-page .woocommerce #payment { background:transparent; }
.commerce-page .woocommerce #payment .place-order { padding:20px 0 0; }
.commerce-page .woocommerce #place_order { width:100%; }
.commerce-page .woocommerce .woocommerce-order-withdrawal-content { max-width:820px; }
.commerce-page .woocommerce-OrderWithdrawalForm { border:1px solid var(--line); padding:28px; background:#f7f8f4; }
.commerce-page .woocommerce-order-withdrawal-content__steps { gap:20px; margin-bottom:24px; }
@media (min-width:1101px) {
  .woocommerce-cart .cart-collaterals { position:sticky; top:24px; }
}
@media (max-width:1100px) {
  .woocommerce-cart .page-content>.woocommerce { grid-template-columns:minmax(0,1fr); }
  .woocommerce-cart .cart-collaterals { grid-column:1; margin-top:28px; }
  .woocommerce-cart .cart-collaterals .cart_totals { max-width:540px; margin-left:auto; }
}
@media (max-width:768px) {
  .commerce-page { padding-block:30px 56px; }
  .commerce-intro { margin-bottom:24px; font-size:13px; }
  .woocommerce-cart .woocommerce-cart-form table.shop_table { border:0; }
  .woocommerce-cart .woocommerce-cart-form table thead { display:none; }
  .woocommerce-cart .woocommerce-cart-form table tbody { display:block; }
  .woocommerce-cart .woocommerce-cart-form table tr.cart_item { display:grid; grid-template-columns:72px minmax(0,1fr) auto; gap:12px; border:1px solid var(--line); padding:16px; margin-bottom:14px; background:#fff; }
  .woocommerce-cart .woocommerce-cart-form table tr.cart_item td { display:block; padding:0; border:0; width:auto; text-align:left!important; background:none!important; }
  .woocommerce-cart .woocommerce-cart-form table tr.cart_item td::before { display:none; }
  .woocommerce-cart .woocommerce-cart-form table tr.cart_item .product-remove { grid-column:3; grid-row:1; justify-self:end; }
  .woocommerce-cart .woocommerce-cart-form table tr.cart_item .product-thumbnail { display:block; grid-column:1; grid-row:1/3; }
  .woocommerce-cart .woocommerce-cart-form .product-thumbnail img { width:72px; height:72px; }
  .woocommerce-cart .woocommerce-cart-form table tr.cart_item .product-name { grid-column:2; grid-row:1; font-size:14px; }
  .woocommerce-cart .woocommerce-cart-form table tr.cart_item .product-price { display:none; }
  .woocommerce-cart .woocommerce-cart-form table tr.cart_item .product-quantity { grid-column:2; grid-row:2; align-self:end; }
  .woocommerce-cart .woocommerce-cart-form table tr.cart_item .product-subtotal { grid-column:3; grid-row:2; align-self:center; font-size:14px; }
  .woocommerce-cart .woocommerce-cart-form table tbody>tr:last-child { display:block; }
  .woocommerce-cart .woocommerce-cart-form table td.actions { display:block; border:1px solid var(--line); padding:16px; }
  .woocommerce-cart .woocommerce-cart-form table td.actions::before { display:none; }
  .woocommerce-cart .commerce-page .woocommerce table.cart td.actions .coupon { float:none; display:grid; grid-template-columns:minmax(0,1fr) auto; margin:0 0 14px; padding:0; }
  .woocommerce-cart .commerce-page .woocommerce table.cart td.actions .coupon .input-text,.woocommerce-cart .commerce-page .woocommerce table.cart td.actions .coupon .button { width:100%; }
  .woocommerce-cart .woocommerce-cart-form td.actions>button { width:100%; }
  .woocommerce-cart .cart-collaterals .cart_totals { max-width:none; padding:22px; }
  .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content { float:none; width:100%; }
  .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom:20px; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { display:flex; flex-wrap:wrap; gap:4px; }
  .woocommerce-account .woocommerce-MyAccount-navigation a { padding:10px 12px; font-size:12px; }
  .woocommerce-account .woocommerce-MyAccount-content { padding:20px; }
  .commerce-page .woocommerce form.login,.commerce-page .woocommerce form.register,.commerce-page .woocommerce form.lost_reset_password,.commerce-page .woocommerce-OrderWithdrawalForm { padding:22px; }
  .woocommerce-checkout .woocommerce form.checkout { display:block; }
  .woocommerce-checkout .woocommerce form.checkout #order_review_heading { margin:28px 0 20px; }
  .commerce-page .woocommerce-order-withdrawal-content__steps { flex-wrap:wrap; padding:16px; gap:12px 24px; }
}
@media (max-width:380px) {
  .woocommerce-cart .woocommerce-cart-form table tr.cart_item { grid-template-columns:56px minmax(0,1fr) auto; padding:12px; gap:10px; }
  .woocommerce-cart .woocommerce-cart-form .product-thumbnail img { width:56px; height:56px; }
  .woocommerce-cart .commerce-page .woocommerce table.cart td.actions .coupon { grid-template-columns:1fr; }
}

.cyc-shipping-note { display:block; color:var(--muted); font-size:11px; line-height:1.6; margin:6px 0 10px; }
.commerce-page [id*="shipmondo"] select,.commerce-page .shipmondo-service-point-selector { max-width:100%; font-size:16px; min-height:44px; }
.commerce-page .woocommerce .woocommerce-shipping-totals td { text-align:left; }
.cyc-shipping-title { margin:0 0 14px; font-size:14px; font-weight:650; color:var(--ink); }
.commerce-page .woocommerce ul#shipping_method { margin:0; width:100%; }
.commerce-page .woocommerce ul#shipping_method li { padding:14px; margin:0 0 12px; border:1px solid var(--line); border-radius:3px; background:#fff; text-align:left; }
.commerce-page .woocommerce ul#shipping_method label { display:inline; font-size:14px; line-height:1.5; font-weight:600; cursor:pointer; }
.commerce-page .woocommerce ul#shipping_method input.shipping_method { accent-color:#173e34; margin-right:7px; }
.commerce-page .shipmondo_service_point_selection { margin-top:12px; max-width:100%; }
.commerce-page .shipmondo_service_point_selection .selected_service_point { font-size:13px; text-align:left; }
.commerce-page .shipmondo_service_point_selection .service_points_dropdown { max-width:100%; }
@media(max-width:600px) { .commerce-page .woocommerce form.checkout #order_review { padding:16px; } }
.commerce-page .woocommerce #payment div.payment_box { background:#fff; border:1px solid var(--line); border-radius:3px; color:var(--ink); padding:16px; }
.commerce-page .woocommerce #payment div.payment_box::before { border-bottom-color:#fff; }
.commerce-page .woocommerce #payment .wc-payment-form fieldset { border:0; padding:0; background:transparent; }
.commerce-page .woocommerce #payment .woocommerce-privacy-policy-text { font-size:12px; line-height:1.7; color:var(--muted); }

/* The header drawer sits outside .woocommerce on the homepage and content pages.
   Scope its complete layout to its ID so catalog cards cannot style cart rows. */
#cart-panel { box-sizing:border-box; width:min(440px,100vw); max-width:100vw; max-height:100dvh; padding:24px; overflow:hidden; }
#cart-panel[open] { display:flex; flex-direction:column; }
#cart-panel .drawer-heading { flex:0 0 auto; margin:0; padding-bottom:20px; border-bottom:1px solid var(--line); }
#cart-panel .drawer-heading button { align-items:center; justify-content:center; width:44px; height:44px; padding:10px; border-radius:3px; cursor:pointer; }
#cart-panel .widget_shopping_cart_content { display:flex; flex-direction:column; flex:1 1 auto; min-width:0; min-height:0; overflow:hidden; }
#cart-panel ul.woocommerce-mini-cart { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; list-style:none; margin:0; padding:0; }
#cart-panel ul.woocommerce-mini-cart li.mini_cart_item { position:relative; display:block; float:none; width:auto; min-height:112px; box-sizing:border-box; padding:20px 38px 20px 86px; margin:0; border-bottom:1px solid var(--line); font-size:13px; line-height:1.55; }
#cart-panel .mini_cart_item>a:not(.remove) { display:block; margin:0; padding:0; color:var(--ink); font-size:13px; font-weight:600; line-height:1.55; text-decoration:none; overflow-wrap:anywhere; }
#cart-panel .mini_cart_item>a:not(.remove):hover { text-decoration:underline; text-underline-offset:3px; }
#cart-panel .mini_cart_item>a:not(.remove) img { position:absolute; top:20px; left:0; float:none; width:72px; height:72px; max-width:72px; aspect-ratio:1; margin:0; object-fit:contain; border:1px solid #edf0e8; border-radius:3px; background:#fff; }
#cart-panel .mini_cart_item .quantity { display:block; width:auto; margin:8px 0 0; padding:0; color:var(--muted); font-size:13px; line-height:1.6; font-weight:400; }
#cart-panel .mini_cart_item .quantity .amount { display:inline; color:var(--ink); font-size:14px; font-weight:650; white-space:nowrap; font-variant-numeric:tabular-nums; }
#cart-panel .mini_cart_item a.remove { position:absolute; top:15px; right:0; display:flex; align-items:center; justify-content:center; width:32px; height:36px; margin:0; border:0; border-radius:3px; background:transparent; color:var(--ink)!important; font:24px/1 Arial,sans-serif; text-decoration:none; cursor:pointer; }
#cart-panel .mini_cart_item a.remove:hover { background:var(--soft); color:var(--ink)!important; }
#cart-panel .mini_cart_item dl.variation { margin:8px 0; padding:0; border:0; font-size:12px; overflow-wrap:anywhere; }
#cart-panel .mini_cart_item dl.variation dt,#cart-panel .mini_cart_item dl.variation dd { float:none; display:inline; margin:0 4px 0 0; }
#cart-panel .mini_cart_item dl.variation p { display:inline; margin:0; }
#cart-panel .woocommerce-mini-cart__total { display:flex; flex:0 0 auto; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin:0; padding:20px 0; border:0; color:var(--ink); font-size:14px; }
#cart-panel .woocommerce-mini-cart__total>.amount { font-size:20px; font-weight:700; white-space:nowrap; font-variant-numeric:tabular-nums; }
#cart-panel .woocommerce-mini-cart__buttons { display:grid; flex:0 0 auto; grid-template-columns:1fr 1fr; gap:10px; margin:0; padding:0 0 env(safe-area-inset-bottom,0px); }
#cart-panel .woocommerce-mini-cart__buttons a.button { display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:100%; min-width:0; min-height:48px; margin:0; padding:12px; border:1px solid var(--ink); border-radius:3px; background:#fff; color:var(--ink); font-size:13px; font-weight:650; line-height:1.4; text-align:center; text-decoration:none; }
#cart-panel .woocommerce-mini-cart__buttons a.checkout { background:var(--ink); color:#fff; }
#cart-panel .woocommerce-mini-cart__buttons a.button:hover { background:var(--soft); color:var(--ink); }
#cart-panel .woocommerce-mini-cart__buttons a.checkout:hover { background:#285c4d; color:#fff; }
#cart-panel a:focus-visible,#cart-panel button:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
#cart-panel .woocommerce-mini-cart__empty-message { padding:28px 0; margin:0; font-size:14px; line-height:1.7; color:var(--muted); }
@media(max-width:480px) {
  #cart-panel { padding:18px; }
  #cart-panel .drawer-heading { padding-bottom:14px; }
  #cart-panel ul.woocommerce-mini-cart li.mini_cart_item { padding-left:76px; padding-right:34px; }
  #cart-panel .mini_cart_item>a:not(.remove) img { width:64px; height:64px; max-width:64px; }
  #cart-panel .woocommerce-mini-cart__total>.amount { font-size:18px; }
}
