/* ==========================================================================
   PARŌLE — WooCommerce skin (replaces woocommerce-general/layout/smallscreen).
   Covers classic templates: shop, product, cart, checkout (incl. any payment
   gateway markup), thank-you, my account, notices. Block cart/checkout get token overrides.
   ========================================================================== */

/* ---------- Shop / archive ---------- */
.shop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.shop__titles { display: flex; flex-direction: column; gap: 6px; }
.shop__count { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.shop__tools { display: flex; align-items: center; gap: 8px; }
.shop__tools .btn .icon { font-size: 16px; }
.shop__desc { max-width: 62ch; color: var(--text-muted); margin: -8px 0 22px; font-size: 15.5px; }
.sort { margin: 0; }
.sort__label {
	display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1.5px solid var(--border);
	background: var(--surface); border-radius: var(--r-pill); font-size: 14px; color: var(--text-muted); white-space: nowrap;
}
.sort select { border: 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--navy-deep); cursor: pointer; padding-inline-end: 4px; max-width: 46vw; }
.sort select:focus-visible { outline: none; }
.sort__label:focus-within { border-color: var(--blue-primary); }
.filterbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border-soft); }
.filterbar__sep { width: 1px; height: 24px; background: var(--border); margin: 0 6px; }
.filterbar__group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filterbar__label { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-inline-end: 2px; }

ul.products.columns-1, ul.products.columns-2, ul.products.columns-3, ul.products.columns-4, ul.products.columns-5, ul.products.columns-6, .shop ul.products, .related ul.products, .upsells ul.products, .cross-sells ul.products {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 36px 22px; list-style: none; margin: 0; padding: 0;
}
.related ul.products, .upsells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
ul.products::before, ul.products::after { display: none; }

.woocommerce-pagination { margin-top: 56px; }
.woocommerce-pagination ul.page-numbers, .navigation .nav-links { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.page-numbers a, .page-numbers span, a.page-numbers, span.page-numbers {
	min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--border); background: var(--surface); color: var(--navy-deep); font-family: var(--font-en); font-weight: 600; font-size: 14px;
}
.page-numbers .current, span.page-numbers.current { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--sand-05); }
.page-numbers a:hover, a.page-numbers:hover { border-color: var(--navy-deep); }
.page-numbers .icon, a.page-numbers .icon { font-size: 13px; }

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	list-style: none; margin: 0 0 22px; padding: 14px 18px; border-radius: var(--r-md); font-size: 14.5px; line-height: 1.7;
	background: var(--sand-1); color: var(--text-body); border: 1px solid var(--border-soft);
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.woocommerce-message { background: var(--success-surface); border-color: #CFE0CC; }
.woocommerce-error { background: var(--danger-surface); border-color: #EBC7BB; color: #7A3A28; flex-direction: column; align-items: flex-start; gap: 4px; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-message a.wc-forward {
	margin-inline-start: auto; order: 2; height: 38px; padding: 0 16px; border-radius: var(--r-pill); background: var(--navy-deep); color: var(--sand-05);
	display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600;
}
.woocommerce-info a:not(.button), .woocommerce-message a:not(.button) { color: var(--blue-primary); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-store-notice, p.demo_store { position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 70; margin: 0; padding: 12px 18px; background: var(--navy-deep); color: var(--sand-05); text-align: center; font-size: 14px; }
.woocommerce-store-notice a { color: var(--beige-warm); }

/* ---------- Generic WC buttons & forms ---------- */
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button, .woocommerce-page .button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0;
	border-radius: var(--r-pill); background: var(--navy-deep); color: var(--sand-05); font-family: var(--font-ar);
	font-size: 14.5px; font-weight: 700; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background-color 220ms ease;
}
.woocommerce .button:hover, .woocommerce-page .button:hover { background: var(--blue-primary); color: var(--sand-05); }
.woocommerce .button:disabled, .woocommerce .button.disabled, .woocommerce .button:disabled[disabled] { opacity: .5; cursor: not-allowed; }
.woocommerce .button.alt { background: var(--navy-deep); }
.woocommerce .button.loading { opacity: .7; pointer-events: none; }
.card .card__add.button { min-height: 44px; background: transparent; color: var(--navy-deep); border: 1.5px solid rgba(42, 71, 94, .35); border-radius: var(--r-sm); font-size: 15px; font-weight: 600; padding: 0 16px; }
.card .card__add.button:hover, .card .card__add.button.added, .card .card__add.button.is-added { background: var(--blue-primary); border-color: var(--blue-primary); color: var(--sand-05); }

.woocommerce form .form-row { margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.woocommerce form .form-row label, .woocommerce-form label { font-size: 13.5px; font-weight: 600; color: var(--navy-deep); line-height: 1.5; }
.woocommerce form .form-row .required { color: var(--danger); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { color: var(--text-faint); font-weight: 400; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce form.checkout_coupon .input-text, .woocommerce-form input.input-text {
	width: 100%; height: 48px; border: 1.5px solid var(--border); background: var(--sand-05); border-radius: var(--r-md);
	padding: 0 14px; font-size: 15px; color: var(--text-body); transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.woocommerce form .form-row textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.7; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus { outline: none; border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(158, 207, 247, .55); }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: var(--danger); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: #A9C4A7; }
.woocommerce form .form-row input[type="tel"], .woocommerce form .form-row input[type="email"] { direction: ltr; text-align: end; font-family: var(--font-en); }
html:not([dir="rtl"]) .woocommerce form .form-row input[type="tel"], html:not([dir="rtl"]) .woocommerce form .form-row input[type="email"] { text-align: start; }
.woocommerce-input-wrapper { display: block; width: 100%; }
.woocommerce form .form-row .input-checkbox, .woocommerce-form__input-checkbox { width: 18px; height: 18px; accent-color: var(--navy-deep); margin: 0; vertical-align: middle; }
.woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; cursor: pointer; }
.woocommerce .col2-set, .woocommerce-page .col2-set { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: auto; float: none; }
.form-row-first, .form-row-last { width: auto; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px;
}
.woocommerce-billing-fields__field-wrapper > .form-row-wide, .woocommerce-shipping-fields__field-wrapper > .form-row-wide, .woocommerce-address-fields__field-wrapper > .form-row-wide,
.woocommerce-billing-fields__field-wrapper > .form-row:not(.form-row-first):not(.form-row-last), .woocommerce-shipping-fields__field-wrapper > .form-row:not(.form-row-first):not(.form-row-last), .woocommerce-address-fields__field-wrapper > .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
.screen-reader-text + .woocommerce-input-wrapper { margin-top: 0; }

/* select2 / selectWoo (country/state) */
.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--single { height: 48px; border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--sand-05); display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.4; padding-inline: 14px 36px; color: var(--text-body); font-size: 15px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; inset-inline-end: 8px; inset-inline-start: auto; }
.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--blue-primary); }
.select2-dropdown { border: 1.5px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--surface); font-family: var(--font-ar); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--navy-deep); }
.select2-search--dropdown .select2-search__field { border: 1.5px solid var(--border) !important; border-radius: var(--r-sm); height: 40px; padding: 0 10px; }

/* Star rating (WooCommerce's icon font is not loaded) */
.star-rating { position: relative; display: inline-block; height: 1em; width: 5.6em; overflow: hidden; font-size: 14px; line-height: 1; letter-spacing: .12em; font-family: Arial, sans-serif; vertical-align: middle; }
.star-rating::before { content: "★★★★★"; color: var(--sand-3); position: absolute; inset-block-start: 0; inset-inline-start: 0; }
.star-rating span { position: absolute; inset-block-start: 0; inset-inline-start: 0; height: 1em; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; color: var(--beige-warm); position: absolute; inset-block-start: 0; inset-inline-start: 0; }
p.stars a { position: relative; display: inline-block; width: 1.2em; height: 1.2em; text-indent: -999em; overflow: hidden; font-size: 22px; }
p.stars a::before { content: "★"; position: absolute; inset: 0; text-indent: 0; color: var(--sand-3); font-family: Arial, sans-serif; line-height: 1.2; }
p.stars:hover a::before, p.stars.selected a.active::before, p.stars.selected a:not(.active)::before { color: var(--beige-warm); }
p.stars.selected a.active ~ a::before, p.stars a:hover ~ a::before { color: var(--sand-3); }

/* ---------- Single product ---------- */
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pdp__gallery { top: calc(var(--admin-bar) + 100px); display: flex; flex-direction: column; gap: 12px; }
.woocommerce-product-gallery { position: relative; margin: 0; opacity: 1 !important; }
.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery__wrapper { border-radius: var(--r-lg); overflow: hidden; background: var(--sand-1); }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image a, .woocommerce-product-gallery__image img { display: block; width: 100%; }
.woocommerce-product-gallery__image img { aspect-ratio: 1 / 1; object-fit: cover; height: auto; }
.woocommerce-product-gallery:not(.has-slider) .woocommerce-product-gallery__image:not(:first-child) { display: none; }
.flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.flex-control-thumbs li { cursor: pointer; }
.flex-control-thumbs img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; border-radius: var(--r-md); border: 2px solid transparent; opacity: 1; transition: border-color var(--t-fast) ease; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { border-color: var(--navy-deep); }
.woocommerce-product-gallery__trigger {
	position: absolute; top: 14px; inset-inline-end: 14px; z-index: 5; width: 40px; height: 40px; border-radius: var(--r-pill);
	background: rgba(252, 248, 242, .92); display: flex; align-items: center; justify-content: center; font-size: 0; color: transparent;
}
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--navy-deep); border-radius: 50%; transform: translate(-1px, -1px); }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; width: 2px; height: 7px; background: var(--navy-deep); transform: translate(6px, 7px) rotate(-45deg); }
.woocommerce-product-gallery__trigger img { display: none !important; }

.pdp__summary { display: flex; flex-direction: column; gap: 22px; padding-top: 6px; min-width: 0; }
.pdp__head { display: flex; flex-direction: column; gap: 8px; }
.pdp__title { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.25; }
.pdp__meta { display: flex; flex-direction: column; gap: 4px; }
.pdp__origin { font-size: 16px; color: var(--text-muted); line-height: 1.6; }
.pdp__size { align-self: flex-start; font-family: var(--font-en); font-size: 14px; color: var(--text-faint); }
.pdp__summary > .price, .pdp__summary p.price, .woocommerce-variation-price .price { align-self: flex-start; font-size: 32px; margin: 0; }
.pdp__summary p.price .woocommerce-Price-currencySymbol, .woocommerce-variation-price .price .woocommerce-Price-currencySymbol { font-size: 15px; }
.woocommerce-product-details__short-description { font-size: 16px; line-height: 1.9; color: var(--text-muted); max-width: 48ch; }
.woocommerce-product-details__short-description p + p { margin-top: .8em; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.woocommerce-review-link { color: var(--text-muted); }

.pdp form.cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.pdp form.cart.variations_form { flex-direction: column; align-items: stretch; }
.pdp form.cart .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pdp .single_add_to_cart_button.button {
	flex: 1 1 240px; min-height: 54px; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
}
.pdp .single_add_to_cart_button.button::before {
	content: ""; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216,64H176a48,48,0,0,0-96,0H40A16,16,0,0,0,24,80V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64ZM128,32a32,32,0,0,1,32,32H96A32,32,0,0,1,128,32Zm40,72a40,40,0,0,1-80,0,8,8,0,0,1,16,0,24,24,0,0,0,48,0,8,8,0,0,1,16,0Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216,64H176a48,48,0,0,0-96,0H40A16,16,0,0,0,24,80V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64ZM128,32a32,32,0,0,1,32,32H96A32,32,0,0,1,128,32Zm40,72a40,40,0,0,1-80,0,8,8,0,0,1,16,0,24,24,0,0,0,48,0,8,8,0,0,1,16,0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pdp .single_add_to_cart_button.is-added { background: var(--blue-primary); }
.pdp .single_add_to_cart_button.disabled { opacity: .55; }

.quantity { display: inline-flex; align-items: center; }
.quantity.stepper--lg { border: 1.5px solid var(--border); border-radius: var(--r-pill); padding: 4px; gap: 2px; }
.stepper--lg .stepper__btn { width: 42px; height: 42px; font-size: 18px; }
.stepper--lg .stepper__btn .icon { font-size: 15px; }
.quantity input.qty {
	width: 44px; height: 42px; border: 0; background: transparent; text-align: center; font-family: var(--font-en); font-size: 16px; font-weight: 600;
	color: var(--navy-deep); -moz-appearance: textfield; appearance: textfield;
}
.quantity:not(.stepper--lg) input.qty { width: 72px; height: 46px; border: 1.5px solid var(--border); border-radius: var(--r-pill); background: var(--surface); }
.quantity input.qty::-webkit-outer-spin-button, .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity input.qty:focus-visible { outline: 2px solid var(--blue-primary); border-radius: 8px; }

table.variations { border-collapse: collapse; width: 100%; margin: 0 0 6px; }
table.variations tr { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
table.variations th, table.variations td { padding: 0; text-align: start; }
table.variations th label { font-size: 14px; font-weight: 700; color: var(--navy-deep); }
table.variations select.is-enhanced { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
table.variations select:not(.is-enhanced) { height: 46px; border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 0 12px; background: var(--surface); min-width: 220px; }
table.variations .reset_variations { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--text-muted); text-decoration: underline; }
.opt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-pill { height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--surface); color: var(--navy-deep); font-size: 14px; font-weight: 600; transition: all var(--t-fast) ease; }
.opt-pill:hover { border-color: var(--navy-deep); }
.opt-pill[aria-checked="true"] { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--sand-05); }
.opt-pill:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.single_variation_wrap .woocommerce-variation { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.woocommerce-variation-description { font-size: 14.5px; color: var(--text-muted); }
p.stock { margin: 0; font-size: 13.5px; font-weight: 600; }
p.stock.in-stock { color: var(--success); }
p.stock.out-of-stock { color: var(--danger); }

.bnpl-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-card); background: var(--sand-1); font-size: 13.5px; color: var(--text-muted); }

.accordion { border-top: 1px solid var(--divider); }
.accordion__item { border-bottom: 1px solid var(--divider); }
.accordion__head { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--navy-deep); }
.accordion__head::-webkit-details-marker { display: none; }
.accordion__caret { font-size: 14px; color: var(--text-muted); transition: transform var(--t-default) var(--ease-brand); }
.accordion__item[open] .accordion__caret { transform: rotate(180deg); }
.accordion__body { font-size: 15px; line-height: 1.9; color: var(--text-muted); padding-bottom: 18px; max-width: 52ch; animation: pvIn var(--t-default) var(--ease-brand) both; }
.accordion__body table.shop_attributes { width: 100%; border-collapse: collapse; }
.accordion__body table.shop_attributes th, .accordion__body table.shop_attributes td { padding: 8px 0; text-align: start; border-bottom: 1px solid var(--divider); font-size: 14.5px; }
.accordion__body table.shop_attributes th { color: var(--navy-deep); font-weight: 600; width: 40%; }
.accordion__body table.shop_attributes td p { margin: 0; }
#reviews .commentlist { list-style: none; padding: 0; margin: 0 0 18px; }
#reviews .comment_container { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--divider); }
#reviews .avatar { width: 40px; height: 40px; border-radius: 50%; }
#review_form .comment-reply-title { font-weight: 700; color: var(--navy-deep); }
#review_form textarea, #review_form input[type="text"], #review_form input[type="email"] { width: 100%; border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 10px 12px; background: var(--surface); }
#review_form .submit { height: 46px; padding: 0 22px; border: 0; border-radius: var(--r-pill); background: var(--navy-deep); color: var(--sand-05); font-weight: 700; }

.related, .upsells { margin-top: 96px; }
.related > h2, .upsells > h2, .cross-sells > h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 24px; }
.product_meta { display: none; }

.buybar {
	position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 55; background: rgba(252, 248, 242, .97);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--border-soft);
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 12px; animation: pvSheet 420ms var(--ease-brand) both;
}
.buybar__info { display: flex; flex-direction: column; flex: none; max-width: 42%; min-width: 0; gap: 4px; }
.buybar__name { font-size: 12px; color: var(--text-muted); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar__price { font-size: 19px; }
.buybar__price .woocommerce-Price-currencySymbol { font-size: 11px; }
.buybar__price del { display: none; }
.buybar__btn { flex: 1; height: 50px; font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0 0 24px; padding: 0; flex-wrap: wrap; }
.steps__item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-faint); }
.steps__item + .steps__item::before { content: ""; width: 18px; height: 1px; background: var(--border); margin-inline-end: 2px; }
.steps__n { width: 24px; height: 24px; border-radius: var(--r-pill); background: var(--sand-15); color: var(--text-faint); font-family: var(--font-en); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.steps__item.is-on { color: var(--navy-deep); }
.steps__item.is-on .steps__n { background: var(--navy-deep); color: var(--sand-05); }

.wc-page { max-width: 1140px; }
.wc-page .page-head { flex-direction: row; align-items: center; justify-content: space-between; }

/* ---------- Cart page (classic) ---------- */
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.woocommerce-cart .woocommerce > .steps, .woocommerce-cart .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .woocommerce > .empty-state, .woocommerce-cart .woocommerce > .cart-empty { grid-column: 1 / -1; }
.woocommerce-cart-form { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-panel); padding: 8px 22px; }
table.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
table.shop_table th { font-size: 12.5px; font-weight: 600; color: var(--text-muted); text-align: start; padding: 14px 8px; border-bottom: 1px solid var(--divider); }
table.shop_table td { padding: 16px 8px; border-bottom: 1px solid var(--divider); vertical-align: middle; text-align: start; }
table.shop_table tr:last-child td { border-bottom: 0; }
table.cart .product-thumbnail { width: 84px; }
table.cart .product-thumbnail img { width: 68px; height: 68px; object-fit: cover; border-radius: var(--r-md); background: var(--sand-1); }
table.cart .product-name a { font-weight: 600; color: var(--navy-deep); }
table.cart .product-name dl.variation { margin: 4px 0 0; font-size: 12.5px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 2px 6px; }
table.cart .product-name dl.variation dd, table.cart .product-name dl.variation dt, table.cart .product-name dl.variation p { margin: 0; }
table.cart .product-price, table.cart .product-subtotal { font-family: var(--font-en); font-weight: 600; color: var(--navy-deep); white-space: nowrap; }
table.cart .product-remove { width: 32px; }
table.cart a.remove { width: 30px; height: 30px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; color: var(--text-faint); background: var(--sand-1); }
table.cart a.remove:hover { color: var(--sand-05); background: var(--danger); }
table.cart td.actions { padding-top: 20px; }
table.cart td.actions .coupon { display: flex; gap: 8px; flex: 1; max-width: 420px; }
table.cart td.actions .coupon label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
table.cart td.actions { display: table-cell; }
table.cart td.actions > * { vertical-align: middle; }
table.cart td.actions .button[name="update_cart"] { background: var(--sand-15); color: var(--navy-deep); float: inline-end; }
table.cart td.actions .button[name="update_cart"]:not(:disabled):hover { background: var(--navy-deep); color: var(--sand-05); }
.woocommerce-cart table.cart td.actions .coupon .input-text { height: 46px; flex: 1; }
.cart-collaterals { position: sticky; top: calc(var(--admin-bar) + 100px); }
.cart_totals, .woocommerce-checkout-review-order { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-panel); padding: 22px; }
.cart_totals h2 { font-size: 18px; margin: 0 0 8px; }
.cart_totals table.shop_table th { width: 40%; color: var(--text-body); font-size: 14.5px; padding: 12px 0; border-bottom: 1px solid var(--divider); }
.cart_totals table.shop_table td { padding: 12px 0; font-size: 14.5px; }
.cart_totals .order-total th, .cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 16px; font-weight: 700; color: var(--navy-deep); }
.cart_totals .order-total .amount, .woocommerce-checkout-review-order-table .order-total .amount { font-family: var(--font-en); font-size: 24px; font-weight: 600; }
.cart_totals .includes_tax, .woocommerce-checkout-review-order-table .includes_tax { display: block; font-size: 12px; font-weight: 400; color: var(--text-faint); margin-top: 4px; }
.wc-proceed-to-checkout { padding-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px !important; font-size: 16px !important; }
.cross-sells { grid-column: 1 / -1; margin-top: 40px; }
.cart-collaterals .cross-sells { display: none; }

/* Shipping methods (cart + checkout) incl. Local Pickup */
#shipping_method { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#shipping_method li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--border-soft); border-radius: var(--r-md); background: var(--surface); font-size: 14.5px; }
#shipping_method li:has(input:checked) { border-color: var(--navy-deep); background: var(--sand-1); }
#shipping_method input[type="radio"] { accent-color: var(--navy-deep); width: 18px; height: 18px; margin: 0; flex: none; }
#shipping_method label { flex: 1; display: flex; justify-content: space-between; gap: 10px; cursor: pointer; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 13px; color: var(--text-muted); margin: 8px 0 0; }
.shipping-calculator-button { color: var(--blue-primary); text-decoration: underline; }
.woocommerce-shipping-totals td::before, .woocommerce-shipping-totals th { vertical-align: top; }

/* ---------- Checkout (classic) ---------- */
.woocommerce-checkout .woocommerce > .steps { margin-bottom: 20px; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 14px; }
form.checkout_coupon, .woocommerce-checkout form.woocommerce-form-login.login { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-panel); padding: 20px; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
form.checkout_coupon p { margin: 0; }
form.checkout_coupon .form-row-first { flex: 1; }
form.woocommerce-checkout {
	display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 28px; align-items: start;
}
form.woocommerce-checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.woocommerce-checkout > #customer_details { grid-column: 1; grid-row: 1 / span 4; }
form.woocommerce-checkout > .summary-toggle, form.woocommerce-checkout > #order_review_heading, form.woocommerce-checkout > #order_review { grid-column: 2; }
#order_review { position: sticky; top: calc(var(--admin-bar) + 100px); }
#customer_details.col2-set { display: flex; flex-direction: column; gap: 14px; }
#customer_details .col-1, #customer_details .col-2 { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-panel); padding: 24px; }
#customer_details .col-2:not(:has(.form-row)):not(:has(#ship-to-different-address)) { display: none; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3, #order_review_heading { font-size: 19px; margin: 0 0 16px; color: var(--navy-deep); }
#order_review_heading { margin: 0; padding: 22px 22px 0; background: var(--surface); border: 1px solid var(--border-soft); border-bottom: 0; border-radius: var(--r-panel) var(--r-panel) 0 0; }
#order_review { background: var(--surface); border: 1px solid var(--border-soft); border-top: 0; border-radius: 0 0 var(--r-panel) var(--r-panel); padding: 8px 22px 22px; }
#order_review_heading + #order_review { position: static; }
.woocommerce-checkout-review-order { border: 0; padding: 0; }
#ship-to-different-address { font-size: 15px; margin: 0 0 12px; }
#ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { font-size: 14.5px; padding: 12px 0; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table .product-name { color: var(--navy-deep); font-weight: 600; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--text-faint); font-weight: 400; font-family: var(--font-en); }
.woocommerce-checkout-review-order-table .product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: end; font-family: var(--font-en); font-weight: 600; white-space: nowrap; }
.woocommerce-checkout-review-order-table tfoot td #shipping_method { text-align: start; font-family: var(--font-ar); white-space: normal; }
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { display: flex; flex-direction: column; }
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th { padding-bottom: 6px; border: 0; }
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { padding-top: 0; }

/* Payment methods — generic so any gateway plugin (mada, Apple Pay, stc pay, BNPL…) renders cleanly. */
.pay-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 12px; padding-top: 18px; border-top: 1px solid var(--divider); }
.pay-head__title { font-size: 19px; margin: 0; }
.pay-head__secure { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); }
.pay-head__secure .icon { color: var(--success); }
#payment { background: transparent; }
#payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; border: 0; }
#payment ul.payment_methods li { border: 1.5px solid var(--border-soft); border-radius: var(--r-card); background: var(--surface); padding: 14px 16px; transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease; line-height: 1.6; }
#payment ul.payment_methods li:has(> input:checked) { border-color: var(--navy-deep); background: var(--sand-1); }
#payment ul.payment_methods li > input[type="radio"] { accent-color: var(--navy-deep); width: 18px; height: 18px; margin: 0; margin-inline-end: 10px; vertical-align: middle; }
#payment ul.payment_methods li > label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--navy-deep); cursor: pointer; width: calc(100% - 32px); vertical-align: middle; }
#payment ul.payment_methods li > label img { max-height: 26px; width: auto; max-width: 64px; object-fit: contain; display: inline-block; margin: 0; }
#payment ul.payment_methods li.woocommerce-notice { padding: 14px; }
#payment .payment_box { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--sand-05); font-size: 14px; color: var(--text-muted); }
#payment .payment_box p:last-child { margin-bottom: 0; }
#payment .payment_box fieldset { border: 0; padding: 0; margin: 0; }
#payment .payment_box .form-row { margin-bottom: 10px; }
#payment .payment_box input.input-text, #payment .payment_box select, #payment .payment_box iframe { max-width: 100%; }
#payment .payment_box .wc-credit-card-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
#payment .payment_box .wc-credit-card-form .form-row-wide { grid-column: 1 / -1; }
#payment .payment_box .wc-credit-card-form input { direction: ltr; text-align: start; font-family: var(--font-en); }
#payment .place-order { padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--text-muted); }
.woocommerce-privacy-policy-text p { margin: 0; }
.woocommerce-terms-and-conditions-wrapper a { color: var(--blue-primary); text-decoration: underline; }
#place_order {
	width: 100%; min-height: 54px; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
}
#place_order::before {
	content: ""; width: 16px; height: 16px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.blockUI.blockOverlay { background: rgba(252, 248, 242, .6) !important; border-radius: inherit; }
.summary-toggle {
	width: 100%; height: 54px; padding: 0 16px; margin-bottom: 14px; border: 1px solid var(--border-soft); background: var(--surface); border-radius: var(--r-card);
	align-items: center; justify-content: space-between; font-size: 14.5px; font-weight: 600; color: var(--navy-deep);
}
.summary-toggle > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.summary-toggle .icon { font-size: 17px; }
.summary-toggle__total { font-family: var(--font-en); font-size: 17px; }

/* Thank-you / order details */
.woocommerce-order { max-width: 760px; margin-inline: auto; }
.woocommerce-notice--success.woocommerce-thankyou-order-received {
	display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-size: 30px; font-weight: 700; color: var(--navy-deep); margin: 20px 0 26px; line-height: 1.3;
}
.woocommerce-notice--success.woocommerce-thankyou-order-received::before {
	content: ""; width: 76px; height: 76px; border-radius: 50%; background: var(--success-surface) center / 36px no-repeat
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%235B7F5B'%3E%3Cpath d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
	animation: pvDot 500ms var(--ease-brand) 150ms both;
}
ul.woocommerce-order-overview { list-style: none; margin: 0 0 32px; padding: 18px 22px; border-radius: var(--r-panel); background: var(--sand-1); display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: center; }
ul.woocommerce-order-overview li { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--text-muted); }
ul.woocommerce-order-overview li strong { font-family: var(--font-en); font-size: 17px; color: var(--navy-deep); }
.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-order-downloads { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-panel); padding: 22px; margin-bottom: 18px; }
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-order-downloads__title { font-size: 18px; margin: 0 0 10px; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.9; font-size: 14.5px; }
.woocommerce-customer-details .col2-set { gap: 18px; }
.woocommerce-table--order-details td, .woocommerce-table--order-details th { font-size: 14.5px; }
.woocommerce-table--order-details tfoot td { text-align: end; font-family: var(--font-en); font-weight: 600; }

/* ---------- My account ---------- */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper, .woocommerce-account .woocommerce > #customer_login, .woocommerce-account .woocommerce > .u-columns, .woocommerce-account .woocommerce > form.lost_reset_password, .woocommerce-account .woocommerce > .woocommerce-form-login { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-panel); }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-md); font-size: 14.5px; font-weight: 600; color: var(--text-body); }
.woocommerce-MyAccount-navigation a:hover { background: var(--sand-1); color: var(--navy-deep); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--navy-deep); color: var(--sand-05); }
.woocommerce-MyAccount-content { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-panel); padding: 26px; min-width: 0; }
.woocommerce-MyAccount-content > p { margin-bottom: 1em; }
.woocommerce-MyAccount-content a:not(.button) { color: var(--blue-primary); }
.woocommerce-orders-table .button, .woocommerce-MyAccount-content .button { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.woocommerce-Addresses { gap: 18px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.woocommerce-Address-title h2 { font-size: 17px; }
#customer_login.col2-set, .u-columns.col2-set { gap: 28px; }
#customer_login .u-column1, #customer_login .u-column2 { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-panel); padding: 28px; }
#customer_login h2 { font-size: 22px; margin-bottom: 18px; }
.woocommerce-form-login .form-row:last-of-type, .woocommerce-form-register .form-row:last-of-type { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
.woocommerce-LostPassword a { color: var(--text-muted); font-size: 13.5px; text-decoration: underline; }
.woocommerce-password-strength { font-size: 12.5px; padding: 6px 10px; border-radius: var(--r-sm); background: var(--sand-1); }
.woocommerce-password-strength.strong { background: var(--success-surface); }
.woocommerce-password-strength.short, .woocommerce-password-strength.bad { background: var(--danger-surface); }
.show-password-input { background: none; border: 0; }
.woocommerce-account .woocommerce-orders-table { font-size: 14px; }

/* ---------- Block-based Cart / Checkout (token alignment) ---------- */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font-ar); }
.wc-block-components-button:not(.is-link) { border-radius: var(--r-pill) !important; background: var(--navy-deep) !important; color: var(--sand-05) !important; min-height: 52px; font-weight: 700; }
.wc-block-components-button:not(.is-link):hover { background: var(--blue-primary) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select { border-radius: var(--r-md) !important; border-color: var(--border) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: var(--r-card); }
.wc-block-components-totals-item__value, .wc-block-formatted-money-amount { font-family: var(--font-en); }
.wc-block-components-title.wc-block-components-title { color: var(--navy-deep); font-family: var(--font-ar); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.pdp__grid { gap: 32px; }
	.related ul.products, .upsells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce-account .woocommerce { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 900px) {
	.woocommerce-cart .woocommerce, form.woocommerce-checkout { grid-template-columns: 1fr; }
	form.woocommerce-checkout > #customer_details, form.woocommerce-checkout > .summary-toggle, form.woocommerce-checkout > #order_review_heading, form.woocommerce-checkout > #order_review { grid-column: 1; grid-row: auto; }
	form.woocommerce-checkout > .summary-toggle { order: -1; display: flex !important; }
	#order_review, .cart-collaterals { position: static; }
	/* Collapse only the product lines; shipping choice (delivery / Local pickup) and total stay visible. */
	.woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table tr.cart-subtotal { display: none; }
	#order_review.is-open .woocommerce-checkout-review-order-table tbody { display: table-row-group; }
	#order_review.is-open .woocommerce-checkout-review-order-table tr.cart-subtotal { display: table-row; }
	#order_review_heading { display: none; }
	#order_review { border-top: 1px solid var(--border-soft); border-radius: var(--r-panel); margin-top: 14px; }
	#order_review .pay-head { margin-top: 10px; border-top: 0; padding-top: 10px; }
}
@media (max-width: 760px) {
	.shop__head { align-items: center; }
	.shop__tools { width: 100%; justify-content: space-between; }
	.shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.shop .card__title { font-size: 16.5px; }
	.shop .card__desc { font-size: 13.5px; }
	.shop .card__foot { flex-wrap: wrap; gap: 8px; padding-top: 12px; }
	.shop .card__price { font-size: 19px; }
	.shop .card__add.button, .shop .card__add { min-width: 0; width: 100%; height: 42px; min-height: 42px; }
	.related ul.products, .upsells ul.products { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
	.related ul.products > *, .upsells ul.products > * { flex: 0 0 68%; scroll-snap-align: start; }
	.related, .upsells { margin-top: 64px; }
	.pdp__grid { grid-template-columns: 1fr; gap: 24px; }
	.pdp__gallery { position: static; }
	.pdp form.cart .single_add_to_cart_button, .pdp form.cart .quantity { display: none; }
	.pdp form.cart.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; }
	.pdp form.cart.variations_form .quantity { display: inline-flex; }
	.pdp form.cart.variations_form .single_add_to_cart_button { display: inline-flex; }
	.woocommerce-cart-form { padding: 4px 16px; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: grid; grid-template-columns: 76px 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--divider); position: relative; }
	table.shop_table_responsive tr td { border: 0; padding: 0; display: block; }
	table.cart tr.cart_item .product-thumbnail { grid-row: 1 / span 3; width: auto; }
	table.cart tr.cart_item .product-remove { position: absolute; inset-block-start: 14px; inset-inline-end: 0; width: auto; }
	table.cart tr.cart_item .product-name { grid-column: 2 / -1; padding-inline-end: 36px; }
	table.cart tr.cart_item .product-price { display: none; }
	table.cart tr.cart_item .product-quantity { grid-column: 2; }
	table.cart tr.cart_item .product-subtotal { grid-column: 3; align-self: center; }
	table.cart tr:last-child { display: block; }
	table.cart td.actions .coupon { max-width: none; margin-bottom: 10px; }
	table.cart td.actions .button[name="update_cart"] { float: none; width: 100%; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce .col2-set, .woocommerce-page .col2-set { grid-template-columns: 1fr; }
	#customer_details .col-1, #customer_details .col-2 { padding: 18px; }
	#order_review { padding: 6px 16px 18px; }
	#payment .payment_box .wc-credit-card-form { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
	.woocommerce-MyAccount-navigation li { flex: none; }
	.woocommerce-MyAccount-content { padding: 18px; }
	.woocommerce-account table.shop_table_responsive tr { grid-template-columns: 1fr 1fr; }
	.woocommerce-account table.shop_table_responsive td::before { content: attr(data-title) ": "; font-size: 12px; color: var(--text-muted); }
	#customer_login .u-column1, #customer_login .u-column2 { padding: 20px; }
	.woocommerce-notice--success.woocommerce-thankyou-order-received { font-size: 24px; }
	.steps { gap: 6px; }
	.steps__item { font-size: 12.5px; }
	.steps__item + .steps__item::before { width: 10px; }
	.wc-page .page-head { flex-direction: column; align-items: flex-start; }
}

/* Account: standalone login card (registration disabled) */
.woocommerce-account .woocommerce > form.woocommerce-form-login, .woocommerce-account .woocommerce > form.lost_reset_password {
	max-width: 480px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-panel); padding: 28px; margin: 0;
}
.woocommerce-account .woocommerce > h2 { grid-column: 1 / -1; font-size: 22px; margin: 0; }
.woocommerce-form-login .form-row { width: 100%; }
/* Notice action links stay readable on the navy pill */
.woocommerce-message a.wc-forward, .woocommerce-message a.button, .woocommerce-info a.button { color: var(--sand-05) !important; text-decoration: none !important; }

/* Touch targets on phones (after base WooCommerce rules so they win). */
@media (max-width: 760px) {
	p.stars a { width: 40px; height: 40px; font-size: 26px; }
	p.stars a::before { line-height: 40px; text-align: center; }
	table.cart a.remove { width: 40px; height: 40px; }
	table.cart .product-name a { display: inline-block; padding-block: 10px; margin-block: -10px; }
}
