/* IONCHARGE — WooCommerce: notices, cart, checkout (block + classic), my account, order received */

.shop-wrap{padding-top:clamp(28px,5vh,56px);padding-bottom:clamp(64px,10vh,112px)}
.store-wrap{max-width:1440px}
.store-wrap .page-title{font-size:clamp(34px,3.6vw,48px)}
.store-content{font-size:15.5px}

/* ---------- notices ---------- */
.woocommerce-notices-wrapper:empty{display:none}
.product-wrap>.woocommerce-notices-wrapper,.ion-product+.woocommerce-notices-wrapper{max-width:1440px;margin:0 auto;padding:16px var(--gutter) 0}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments{position:relative;margin:0 0 20px!important;padding:14px 18px 14px 46px!important;border:1px solid var(--line)!important;border-radius:12px;background:#fff!important;color:var(--ink)!important;font-size:15px;list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{position:absolute;left:16px!important;top:50%!important;transform:translateY(-50%);color:var(--accent)!important}
.woocommerce-message::before{color:var(--ok)!important}
.woocommerce-message::after,.woocommerce-info::after,.woocommerce-error::after{display:none!important}
.woocommerce-error{border-color:rgba(216,35,47,.35)!important}
.woocommerce-error li{margin:0;width:100%}
.woocommerce-message .button,.woocommerce-info .button{order:2;margin-left:auto!important}
.wc-block-components-notice-banner{border-radius:12px!important;font-size:15px}

/* ---------- shared buttons (classic WooCommerce) ---------- */
.woocommerce a.button:not(.wc-forward),.woocommerce button.button:not(.single_add_to_cart_button),.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px!important;border-radius:999px!important;background:var(--ink)!important;color:#fff!important;font:600 15px/1 var(--sans)!important;border:0;transition:background .2s}
.woocommerce a.button:not(.wc-forward):hover,.woocommerce button.button:not(.single_add_to_cart_button):hover,.woocommerce input.button:hover{background:#000!important;color:#fff!important}
.woocommerce a.button.alt:not(.wc-forward),.woocommerce button.button.alt:not(.single_add_to_cart_button),.woocommerce #place_order{background:var(--accent)!important}
.woocommerce a.button.alt:not(.wc-forward):hover,.woocommerce button.button.alt:not(.single_add_to_cart_button):hover,.woocommerce #place_order:hover{filter:brightness(.92)}
.woocommerce .button:disabled,.woocommerce .button.disabled{opacity:.5}

/* "View cart" / "Checkout" links inside notices */
.woocommerce-message a.wc-forward,.woocommerce-info a.wc-forward{order:2;margin-left:auto;font-weight:600;color:var(--accent)!important;background:none!important;padding:0!important;text-decoration:underline}

/* ---------- classic forms (my account, classic checkout) ---------- */
.woocommerce form .form-row{margin:0 0 14px;padding:0}
.woocommerce form .form-row label{font-size:13.5px;font-weight:600;margin-bottom:6px;line-height:1.4}
.woocommerce form .form-row .input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea,.woocommerce-page form .form-row .input-text,.select2-container--default .select2-selection--single{width:100%;min-height:48px;padding:11px 14px;font:inherit;font-size:15.5px;color:var(--ink);background:#fff;border:1px solid rgba(17,19,23,.2);border-radius:10px;box-shadow:none;transition:border-color .2s,box-shadow .2s}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:24px;padding:0}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}
.woocommerce form .form-row .input-text:focus,.woocommerce form .form-row select:focus{outline:0;border-color:var(--ink);box-shadow:0 0 0 3px rgba(17,19,23,.08)}
.woocommerce form .form-row.woocommerce-invalid .input-text{border-color:var(--accent)}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.lost_reset_password,.woocommerce form.checkout_coupon{margin:0;padding:28px;border:1px solid var(--line);border-radius:18px;background:#fff}
.woocommerce .woocommerce-form-login__rememberme{display:flex;align-items:center;gap:8px;margin:6px 0 14px;font-weight:500}
.woocommerce .lost_password a,.woocommerce-privacy-policy-text a,.woocommerce-LostPassword a{color:var(--accent);text-decoration:underline}
#customer_login{gap:32px}
#customer_login h2,.woocommerce h2,.woocommerce h3{font-family:var(--sans);font-stretch:112%;font-weight:700;letter-spacing:-.01em}

/* ---------- block cart + checkout ---------- */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{font-family:var(--sans);color:var(--ink)}
.wc-block-components-sidebar-layout{margin-top:0!important}
.wc-block-components-main{padding-right:clamp(24px,3vw,48px)!important}
.wc-block-components-title.wc-block-components-title,.wc-block-components-checkout-step__title{font-family:var(--sans)!important;font-stretch:112%;font-weight:700!important;letter-spacing:-.01em;font-size:20px!important}
.wc-block-cart .wc-block-cart__totals-title{font:500 11px var(--mono)!important;letter-spacing:.14em!important;color:var(--ink2)!important}
.wc-block-cart-items{background:#fff;border:1px solid var(--line)!important;border-radius:18px;border-collapse:separate!important;overflow:hidden}
.wc-block-cart-items th{padding:16px 20px!important;font:500 11px var(--mono)!important;letter-spacing:.14em;color:var(--ink2)}
.wc-block-cart-items td{padding:20px!important}
.wc-block-cart-items .wc-block-cart-item__image img,.wc-block-components-order-summary-item__image img{border-radius:10px;background:var(--paper)}
.wc-block-components-product-name{font-weight:650!important;font-size:16px!important;color:var(--ink)!important;text-decoration:none!important}
.wc-block-components-product-metadata__description{color:var(--ink2);font-size:13px}
.wc-block-components-quantity-selector{border-radius:999px!important;border-color:rgba(17,19,23,.2)!important;overflow:hidden}
.wc-block-components-quantity-selector::after{display:none!important}
.wc-block-components-quantity-selector input{font-family:var(--mono)!important;font-weight:600}

.wc-block-components-sidebar{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 22px!important}
.wp-block-woocommerce-checkout-order-summary-block{border:0!important;border-radius:0!important}
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block{padding:0}
.wc-block-components-totals-item__label{color:var(--ink2)}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-family:var(--sans);font-stretch:112%;font-weight:750!important;font-size:22px!important;color:var(--ink)}
.wc-block-components-panel__button,.wc-block-components-totals-coupon-link{font-size:14px!important}

.wc-block-components-button:not(.is-link){min-height:56px;border-radius:999px!important;background:var(--ink)!important;color:#fff!important;font:600 16px var(--sans)!important;border:0!important;box-shadow:0 14px 28px -14px rgba(17,19,23,.55);transition:background .2s,transform .2s}
.wc-block-components-button:not(.is-link):hover{background:#000!important;transform:translateY(-1px)}
.wc-block-components-button:not(.is-link) .wc-block-components-button__text::after{content:"";display:inline-block;width:30px;height:30px;margin-left:14px;vertical-align:middle;border-radius:50%;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center no-repeat}
.wc-block-components-button:not(.is-link) .wc-block-components-button__text{display:inline-flex;align-items:center;justify-content:center}
.wc-block-components-totals-coupon__button .wc-block-components-button__text::after,.wc-block-components-button.is-small .wc-block-components-button__text::after{display:none}
.wc-block-components-totals-coupon__button{min-height:48px!important;box-shadow:none!important}
.wc-block-components-checkout-return-to-cart-button{color:var(--ink2)!important;font-size:14px}

/* fields */
.wc-block-components-text-input input,.wc-block-components-text-input textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea{border-radius:10px!important;border:1px solid rgba(17,19,23,.2)!important;background:#fff!important;font-family:var(--sans)!important;color:var(--ink)!important}
.wc-block-components-text-input.is-active input,.wc-block-components-text-input input:focus,.wc-blocks-components-select .wc-blocks-components-select__select:focus{border-color:var(--ink)!important;box-shadow:0 0 0 3px rgba(17,19,23,.08)!important;outline:0!important}
.wc-block-components-text-input label,.wc-blocks-components-select .wc-blocks-components-select__label{color:var(--ink2)!important}
.wc-block-components-radio-control--highlight-checked{border-radius:12px!important;background:#fff;overflow:hidden}
.wc-block-components-radio-control--highlight-checked::after{border-radius:12px!important}
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked{border-color:var(--ink)!important}
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before{background:var(--accent)!important}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{border-radius:6px!important}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--ink)!important;border-color:var(--ink)!important}
.wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:#fff!important}
.wc-block-checkout__terms,.wc-block-components-checkout-policies{font-size:13.5px;color:var(--ink2)}
.wc-block-checkout__terms a,.wc-block-components-checkout-policies a{color:var(--ink);text-decoration:underline}
.wc-block-components-checkout-step__description{color:var(--ink2)}

/* ---------- classic cart + checkout (if the site uses the [woocommerce_cart] / [woocommerce_checkout] shortcodes) ---------- */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:18px;background:#fff;border-collapse:separate;overflow:hidden}
.woocommerce table.shop_table th{font:500 11px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink2);padding:14px 16px}
.woocommerce table.shop_table td{padding:16px;border-top:1px solid var(--line)}
.woocommerce table.cart img{width:64px;border-radius:10px}
.woocommerce .cart-collaterals .cart_totals{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.woocommerce .cart-collaterals .cart_totals table.shop_table{border:0}
.woocommerce-checkout #payment{background:#fff;border:1px solid var(--line);border-radius:18px}
.woocommerce-checkout #payment div.payment_box{background:var(--paper);border-radius:10px}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.ion-assure,.ion-cart-note{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:13.5px;color:var(--ink2)}
.ion-assure svg{color:var(--ok)}
.ion-cart-note a{text-decoration:underline}

/* ---------- order received ---------- */
.woocommerce-order{max-width:900px}
.woocommerce-thankyou-order-received{font-size:22px;font-weight:700;font-stretch:112%;margin:0 0 24px}
.woocommerce ul.order_details{list-style:none;margin:0 0 32px!important;padding:20px!important;display:flex;flex-wrap:wrap;gap:16px 32px;background:#fff;border:1px solid var(--line);border-radius:18px}
.woocommerce ul.order_details::before,.woocommerce ul.order_details::after{display:none}
.woocommerce ul.order_details li{float:none!important;margin:0!important;padding:0!important;border:0!important;font:500 11px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--ink2)}
.woocommerce ul.order_details li strong{display:block;margin-top:5px;font:600 16px var(--sans);letter-spacing:0;text-transform:none;color:var(--ink)}
.woocommerce-order-details,.woocommerce-customer-details{margin-top:28px}
.woocommerce .woocommerce-customer-details address{border:1px solid var(--line)!important;border-radius:14px;padding:18px!important;background:#fff;font-style:normal}

/* ---------- my account ---------- */
.woocommerce-account:not(.logged-in) .store-content{max-width:560px}
.woocommerce-account .store-content>.woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start}
.woocommerce-account .store-content>.woocommerce::before,.woocommerce-account .store-content>.woocommerce::after{display:none}
.woocommerce-account:not(.logged-in) .store-content>.woocommerce{display:block}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:auto!important}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;border:1px solid var(--line);border-radius:18px;background:#fff}
.woocommerce-MyAccount-navigation li a{display:block;padding:11px 14px;border-radius:10px;font-weight:500;font-size:15px;color:var(--ink)}
.woocommerce-MyAccount-navigation li a:hover{background:var(--paper);color:var(--ink)}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--ink);color:#fff}
.woocommerce-MyAccount-content{font-size:15.5px;line-height:1.6}
.woocommerce-MyAccount-content a{color:var(--accent)}
.woocommerce-MyAccount-content a.button{color:#fff}
.woocommerce-account .addresses .title h2,.woocommerce-account .addresses .title h3{font-size:20px}
.woocommerce .col2-set,.woocommerce-page .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:auto}
.woocommerce .col2-set::before,.woocommerce .col2-set::after{display:none}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .wc-block-components-main{padding-right:0!important}
  .woocommerce-account .store-content>.woocommerce{grid-template-columns:minmax(0,1fr);gap:24px}
  .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:4px}
  .woocommerce .col2-set,.woocommerce-page .col2-set{grid-template-columns:minmax(0,1fr)}
  .wc-block-components-sidebar{margin-top:24px}
}
@media (max-width:700px){
  .woocommerce form.login,.woocommerce form.register{padding:20px}
  .wc-block-cart-items{border:0!important;border-radius:0;background:transparent;overflow:visible}
  .wc-block-cart-items th,.wc-block-cart-items td{padding-left:0!important;padding-right:0!important}
  .wc-block-cart-items td.wc-block-cart-item__image{padding-right:14px!important}
}

/* guest-only store: no account prompts at checkout */
.wc-block-checkout__guest-checkout-notice,.wc-block-checkout__login-prompt,.woocommerce-form-login-toggle,.wc-block-checkout__create-account{display:none!important}
