/* ICONEX shop pages: one font, clear fields and cards on the product page, cart, checkout and account.
   Overrides the Doorwin theme only inside WooCommerce pages and the mini cart. */
:root{--ix-field:#D6D8DE;--ix-field-focus:#2B4BF2;--ix-card:#FFFFFF;--ix-r-sm:12px}

/* ---------- one font, calm headings ---------- */
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account,body.single-product) :is(.woocommerce,.site-content,main) :is(h1,h2,h3,h4,label,input,select,textarea,button,.button,th,td,p,li,span,a,.select2-selection__rendered){font-family:var(--ix-font)!important}
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account,body.single-product) .woocommerce :is(h2,h3){text-transform:none!important;font-weight:700!important;letter-spacing:-.02em;line-height:1.2!important;font-size:clamp(1.35rem,1.05rem + 1.1vw,1.9rem)!important;margin:0 0 .8em!important}
.woocommerce .cart_totals h2{font-size:clamp(1.2rem,1rem + .6vw,1.5rem)!important}

/* ---------- prices: number and € together ---------- */
.woocommerce-Price-amount{white-space:nowrap}
.woocommerce .cart_totals .woocommerce-Price-amount,.woocommerce .woocommerce-checkout-review-order-table .woocommerce-Price-amount{float:none!important;display:inline!important}
.woocommerce .cart_totals td,.woocommerce .woocommerce-checkout-review-order-table td{text-align:right}
.woocommerce .cart_totals .order-total td,.woocommerce .woocommerce-checkout-review-order-table .order-total td{font-size:1.25rem;font-weight:700}
.woocommerce .includes_tax{display:block;color:var(--ix-muted)}
.woocommerce .includes_tax,.woocommerce .includes_tax *{font-size:.8rem!important;font-weight:500!important;line-height:1.4!important}
.woocommerce .cart_totals table.shop_table{width:100%!important;table-layout:fixed}

/* ---------- fields: label above, roomy input ---------- */
.woocommerce form .form-row{margin:0 0 16px!important;padding:0!important}
.woocommerce form .form-row label,.woocommerce form .form-row label.with_input{position:static!important;transform:none!important;display:block!important;margin:0 0 6px!important;font-size:.9rem!important;font-weight:600!important;color:var(--ix-ink)!important;line-height:1.3!important;opacity:1!important}
.woocommerce form .form-row label .required{color:var(--ix-red);text-decoration:none}
.woocommerce form .form-row label .optional{color:var(--ix-muted);font-weight:500}
.woocommerce form .form-row :is(input.input-text,textarea,select),.woocommerce .select2-container .select2-selection--single{width:100%;min-height:50px;height:auto!important;padding:12px 14px!important;border:1px solid var(--ix-field)!important;border-radius:var(--ix-r-sm)!important;background:var(--ix-card)!important;color:var(--ix-ink)!important;font-size:16px!important;line-height:1.4!important;box-shadow:none!important;transition:border-color .15s,box-shadow .15s}
.woocommerce form .form-row textarea{min-height:110px}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered{padding:0!important;line-height:24px!important;color:var(--ix-ink)!important}
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow{top:12px!important;right:10px!important}
.woocommerce form .form-row :is(input.input-text,textarea,select):focus,.woocommerce .select2-container--open .select2-selection--single{border-color:var(--ix-field-focus)!important;box-shadow:0 0 0 3px rgba(43,75,242,.15)!important;outline:0}
.woocommerce form .form-row.woocommerce-invalid :is(input.input-text,select){border-color:var(--ix-red)!important}
.woocommerce form .form-row input::placeholder{color:#9A9CAD;opacity:1}
.woocommerce form .form-row input[type=checkbox]{width:18px;height:18px;margin:0 8px 0 0;vertical-align:-3px;accent-color:var(--ix-accent)}
.woocommerce form .form-row label.checkbox,.woocommerce form .form-row .woocommerce-form__label-for-checkbox{display:flex!important;align-items:flex-start;gap:4px;font-weight:500!important}

/* ---------- checkout: two clear cards ---------- */
.woocommerce-checkout .woocommerce-billing-fields,.woocommerce-checkout .woocommerce-shipping-fields,.woocommerce-checkout .woocommerce-additional-fields{background:var(--ix-card);border:1px solid var(--ix-line);border-radius:var(--ix-r-md);padding:clamp(16px,3vw,28px);margin:0 0 18px}
.woocommerce-checkout #order_review_heading{margin-top:8px!important}
.woocommerce-checkout #ship-to-different-address,.woocommerce-checkout #ship-to-different-address label,.woocommerce-checkout #ship-to-different-address label span{font-size:1rem!important;font-weight:600!important;margin:0!important;letter-spacing:0}
.woocommerce-checkout #order_review{background:var(--ix-card);border:1px solid var(--ix-line);border-radius:var(--ix-r-md);padding:clamp(16px,3vw,28px)}
.woocommerce-checkout .woocommerce-checkout-review-order-table{border:0!important;margin:0 0 16px!important}
.woocommerce-checkout .woocommerce-checkout-review-order-table :is(th,td){border:0!important;border-bottom:1px solid var(--ix-line)!important;padding:12px 0!important;background:none!important;vertical-align:top}
.woocommerce-checkout .woocommerce-checkout-review-order-table th{text-align:left;font-weight:600}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name{text-align:left;font-weight:500}
.woocommerce-checkout #payment{background:var(--ix-soft)!important;border-radius:var(--ix-r-md)!important;padding:4px 0 0!important}
.woocommerce-checkout #payment ul.payment_methods{border:0!important;padding:16px 18px!important}
.woocommerce-checkout #payment div.payment_box{background:var(--ix-card)!important;border-radius:var(--ix-r-sm)!important;color:var(--ix-muted)!important;font-size:.9rem}
.woocommerce-checkout #payment div.payment_box::before{display:none!important}
.woocommerce-checkout #payment .place-order{padding:0 18px 18px!important;margin:0!important}
.woocommerce-checkout .woocommerce-privacy-policy-text p{font-size:.82rem;color:var(--ix-muted)}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{margin:12px 0}

/* ---------- cart ---------- */
.woocommerce-cart .woocommerce-cart-form{background:var(--ix-card);border:1px solid var(--ix-line);border-radius:var(--ix-r-md);padding:clamp(12px,2.4vw,24px);margin-bottom:22px}
.woocommerce-cart table.shop_table{border:0!important;margin:0!important}
.woocommerce-cart table.shop_table :is(th,td){border:0!important;border-bottom:1px solid var(--ix-line)!important;background:none!important}
.woocommerce-cart table.shop_table thead th{font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:var(--ix-muted);font-weight:600}
.woocommerce-cart table.cart img{border-radius:var(--ix-r-sm);width:84px;height:auto}
.woocommerce-cart .cart-collaterals .cart_totals{background:var(--ix-card);border:1px solid var(--ix-line);border-radius:var(--ix-r-md);padding:clamp(16px,3vw,28px);float:none!important;width:auto!important;max-width:520px;margin-left:auto}
.woocommerce-cart .cart_totals table.shop_table :is(th,td){padding:12px 0!important}
.woocommerce-cart .cart_totals table.shop_table th{text-align:left;font-weight:600}
@media (max-width:768px){
  .woocommerce-cart .woocommerce-cart-form table.shop_table_responsive tr td{display:flex!important;justify-content:space-between;align-items:center;gap:12px;min-width:0;text-align:right!important;padding:10px 0!important}
  .woocommerce-cart .woocommerce-cart-form table.shop_table_responsive tr td::before{font-weight:600;color:var(--ix-muted)}
  .woocommerce-cart .woocommerce-cart-form table.shop_table_responsive tr td.product-thumbnail{display:block!important;text-align:left!important}
  /* Totals: label on the left, amount on the right; delivery choices read as a block. */
  .woocommerce .cart_totals table.shop_table_responsive tr td{display:block!important;text-align:right!important;padding:12px 0!important}
  .woocommerce .cart_totals table.shop_table_responsive tr td::before{float:left;font-weight:600;color:var(--ix-ink)}
  .woocommerce .cart_totals tr.shipping td{text-align:left!important}
  .woocommerce .cart_totals tr.shipping td::before{float:none;display:block;margin-bottom:4px}
  .woocommerce-cart .cart-collaterals .cart_totals{max-width:none}
}
.woocommerce-cart .coupon{display:flex;gap:8px;flex-wrap:wrap}
.woocommerce-cart .coupon .input-text{flex:1 1 180px;min-height:46px;padding:10px 14px!important;border:1px solid var(--ix-field)!important;border-radius:999px!important}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button{display:block;width:100%;text-align:center;font-size:1.05rem!important;padding:1em 1.5em!important}

/* ---------- account (login / register) ---------- */
.woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register{background:var(--ix-card);border:1px solid var(--ix-line)!important;border-radius:var(--ix-r-md)!important;padding:clamp(18px,3vw,32px)!important;margin:0 0 24px!important}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;border-radius:var(--ix-r-sm);color:var(--ix-ink)}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--ix-soft);font-weight:600}

/* ---------- notices ---------- */
.woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){border-radius:var(--ix-r-md);border-top:0!important;font-family:var(--ix-font)}

/* ---------- mini cart ---------- */
.woo_mini_cart .iconex-free{margin:12px 0}
.wgl_notices_wrapper .iconex-free{display:none!important}
/* The theme pins the "Have a coupon?" notice over the logo; the coupon field stays in the cart. */
.wgl_notices_wrapper .wgl-form-coupon-toggle{display:none!important}
.iconex-mb span.woocommerce-Price-amount,.iconex-mb span.woocommerce-Price-currencySymbol{display:inline!important}
.woocommerce-mini-cart__empty-message{font-family:var(--ix-font)}

/* ---------- product page ---------- */
.single-product div.product .product_title{text-transform:none!important;letter-spacing:-.02em}
.single-product div.product .woocommerce-tabs ul.tabs li a{text-transform:none!important;font-weight:600}
.single-product .related.products > h2{text-transform:none!important}
.single-product .product_meta{font-size:.88rem;color:var(--ix-muted)}
