/* ==========================================================================
   ArangColor — shop / cart / checkout / account styles (stage 2)
   WooCommerce's own CSS is disabled; everything here is theme-owned.
   ========================================================================== */

input[type="checkbox"], input[type="radio"] {
	-webkit-appearance: none; appearance: none;
	display: inline-grid; place-content: center; flex-shrink: 0;
	width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0;
	background: var(--surface); border: 1.5px solid #666; cursor: pointer;
	transition: background-color .15s, border-color .15s;
}
input[type="checkbox"] { border-radius: 6px; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: var(--gold); border-color: var(--gold); }
input[type="checkbox"]:checked::after { content: ""; width: 5px; height: 10px; border: solid var(--gold-ink); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) translate(-1px, -1px); }
input[type="radio"]:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-ink); }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ac-hide { display: none !important; }
.ac-hp { position: absolute !important; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.ac-hint { font-size: 13px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }

/* ---------- Buttons coming from WooCommerce markup ---------- */
.wc-page .button, .wc-page button.button, .wc-page input.button, #place_order, .woocommerce-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px;
	border-radius: 12px; border: 1px solid var(--line-strong);
	background: rgba(255, 255, 255, .03); color: var(--text);
	font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center;
	cursor: pointer; transition: .2s var(--ease);
}
.wc-page .button:hover, .woocommerce-button:hover { border-color: var(--gold-line); color: var(--gold-light); background: var(--gold-tint); }
.wc-page .button.alt, #place_order, .single_add_to_cart_button, .checkout-button, .wc-page .button.wc-forward.alt {
	background: var(--grad-gold); color: var(--gold-ink); border-color: transparent;
	box-shadow: 0 6px 20px rgba(217, 164, 65, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.wc-page .button.alt:hover, #place_order:hover, .single_add_to_cart_button:hover, .checkout-button:hover { color: var(--gold-ink); background: var(--grad-gold); box-shadow: 0 10px 28px rgba(217, 164, 65, .34); transform: translateY(-1px); }
.wc-page .button:disabled, .wc-page .button[disabled], .wc-page .button.disabled { opacity: .5; pointer-events: none; }
.wc-page .button.loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
	margin: 0 0 18px; padding: 14px 18px;
	list-style: none;
	background: var(--surface); border: 1px solid var(--line-strong); border-right: 4px solid var(--info);
	border-radius: 12px; color: var(--text-soft); font-size: 14.5px;
}
.woocommerce-message { border-right-color: var(--success); }
.woocommerce-error { border-right-color: var(--danger); flex-direction: column; align-items: flex-start; gap: 4px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-inline-start: auto; min-height: 38px; padding: 0 14px; font-size: 13.5px; }

/* ---------- Form rows (WooCommerce + ac-form) ---------- */
.form-row { display: block; margin: 0 0 14px; }
.form-row label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--text-soft); }
.form-row label small { color: var(--muted); font-weight: 400; }
.form-row label .required, .form-row abbr.required { color: var(--gold); text-decoration: none; border: 0; margin-inline-start: 2px; }
.form-row label .optional { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.form-row > small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.woocommerce-input-wrapper { display: block; }
.form-row.woocommerce-invalid input, .form-row.woocommerce-invalid select, .form-row.woocommerce-invalid .select2-selection { border-color: var(--danger); }
.form-row.woocommerce-validated input.input-text { border-color: rgba(79, 191, 127, .5); }
.check, label.check { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 500; cursor: pointer; }
.woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 14px; }
.form-row--full { grid-column: 1 / -1; }
@media (min-width: 560px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* select2 (state / country dropdowns) */
.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--single {
	height: 46px; display: flex; align-items: center;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); padding-inline: 14px 38px; line-height: 1.6; width: 100%; }
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: #7d7d7d; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; left: 10px; right: auto; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--muted) transparent transparent; }
.select2-container--default.select2-container--open .select2-selection--single, .select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--gold); }
.select2-dropdown { background: #1f1f1f; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; color: var(--text); z-index: 1100; }
.select2-search--dropdown { padding: 8px; }
.select2-search--dropdown .select2-search__field { background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; min-height: 40px; }
.select2-results__option { padding: 10px 14px; font-size: 14.5px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--gold-tint); color: var(--gold-light); }
.select2-container--default .select2-results__option[aria-selected="true"], .select2-container--default .select2-results__option--selected { background: var(--surface-2); }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.shop-main { min-width: 0; }
@media (min-width: 992px) { .shop-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 32px; } }

.shop-toolbar {
	display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap;
	margin-bottom: 18px; padding: 10px 12px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.shop-toolbar__count { margin-inline-end: auto; font-size: 14px; color: var(--muted); }
.shop-toolbar__filters { position: relative; }
.count-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--grad-gold); color: var(--gold-ink); font-size: 11.5px; font-weight: 800; }
.shop-toolbar__sort .woocommerce-ordering { margin: 0; }
.shop-toolbar__sort select { min-height: 40px; font-size: 14px; padding-block: 6px; border-radius: 10px; min-width: 150px; }
@media (min-width: 992px) { .shop-toolbar__filters { display: none; } }
@media (max-width: 479px) {
	.shop-toolbar { gap: 8px; }
	.shop-toolbar__count { order: 3; flex-basis: 100%; margin: 0; }
	.shop-toolbar__sort { flex: 1; }
	.shop-toolbar__sort select { width: 100%; }
}

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip-remove { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--gold-tint); border: 1px solid var(--gold-line); color: var(--gold-light); font-size: 13px; }
.chip-remove:hover { background: rgba(217, 164, 65, .2); color: #fff; }
.chip-clear { padding: 5px 8px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }

/* Filters: sidebar (desktop) / bottom sheet (mobile) */
.filters {
	position: fixed; inset: auto 0 0 0; z-index: 260;
	max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column;
	background: var(--bg); border: 1px solid var(--line-strong); border-radius: 22px 22px 0 0;
	transform: translateY(105%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
	box-shadow: var(--shadow-lg);
}
.filters.is-open { transform: none; visibility: visible; }
.filters__backdrop { position: fixed; inset: 0; z-index: 250; background: rgba(0, 0, 0, .6); animation: fade .25s; }
.filters__backdrop[hidden] { display: none; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.filters__form { overflow-y: auto; padding: 8px 18px 18px; overscroll-behavior: contain; }
.filters__actions { display: grid; gap: 8px; margin-top: 18px; }
@media (min-width: 992px) {
	.filters {
		position: sticky; top: calc(var(--header-h) + 18px); inset-inline: auto; z-index: 1;
		max-height: calc(100vh - var(--header-h) - 36px);
		transform: none; visibility: visible; border-radius: var(--radius-lg); background: var(--surface); box-shadow: none; border-color: var(--line);
	}
	.filters__head { display: none; }
	.filters__form { padding-top: 6px; }
	.filters__backdrop { display: none !important; }
}
.f-group { border-bottom: 1px solid var(--line); padding-block: 14px; }
.f-group:last-of-type { border-bottom: 0; }
.f-group > summary { cursor: pointer; font-weight: 700; color: #fff; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.f-group > summary::-webkit-details-marker { display: none; }
.f-group > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin-inline-start: 8px; }
.f-group[open] > summary::after { transform: rotate(-135deg); }
.f-group > summary small { color: var(--muted); font-weight: 400; margin-inline-start: 6px; }
.f-group > summary { gap: 8px; }
.f-cats, .f-checks, .f-cats__sub { list-style: none; margin-top: 10px; display: grid; gap: 2px; }
.f-cats a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: var(--text-soft); }
.f-cats a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.f-cats a.is-active { background: var(--gold-tint); color: var(--gold-light); font-weight: 700; }
.f-cats small, .check small { color: var(--muted); font-size: 12px; }
.f-cats__sub { margin: 2px 14px 6px 0; padding-right: 10px; border-right: 1px solid var(--line); }
.f-price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.f-price label { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.f-price input { min-height: 42px; padding-block: 6px; }
.f-checks .check { justify-content: flex-start; padding: 5px 2px; font-size: 14px; color: var(--text-soft); }
.f-checks .check small { margin-inline-start: auto; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-soft); padding: 5px 2px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-strong); transition: .2s; flex-shrink: 0; }
.switch__ui::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #bbb; transition: .2s var(--ease); }
.switch input:checked + .switch__ui { background: var(--gold); border-color: var(--gold); }
.switch input:checked + .switch__ui::after { transform: translateX(-18px); background: var(--gold-ink); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--gold); outline-offset: 2px; }

.product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.archive-desc { margin-top: 48px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); font-size: 15px; }
.archive-desc > :first-child { margin-top: 0; }

/* Pagination from WooCommerce (ul.page-numbers) */
.woocommerce-pagination { margin-top: 36px; }
ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; min-width: 0; height: auto; padding: 0; border: 0; background: none; border-radius: 0; }
ul.page-numbers li { display: block; }
ul.page-numbers li .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; }
ul.page-numbers li .page-numbers.current { background: var(--grad-gold); color: var(--gold-ink); border-color: transparent; }
ul.page-numbers li a.page-numbers:hover { border-color: var(--gold-line); color: var(--gold-light); }
ul.page-numbers li .page-numbers.dots { border: 0; background: none; min-width: 20px; }

/* ---------- Live search results ---------- */
.live-results { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.live-results.is-loading { opacity: .6; }
.ls-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.ls-item:hover, .ls-item:focus { background: var(--gold-tint); color: #fff; outline: none; }
.ls-item__img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 10px; background: #e9e9e9; overflow: hidden; display: grid; place-items: center; color: #888; }
.ls-item__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ls-item__body { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.5; }
.ls-item__body strong { font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-item__body small { font-size: 12.5px; color: var(--muted); }
.ls-item__price { font-size: 13px; font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.ls-item.is-out .ls-item__price { color: var(--muted); font-weight: 500; }
.ls-more, .ls-empty { display: block; padding: 12px 14px; text-align: center; font-size: 14px; }
.ls-more { color: var(--gold); font-weight: 700; }
.ls-empty { color: var(--muted); }
@media (max-width: 479px) { .ls-item__price { display: none; } }

/* ---------- Single product ---------- */
.single-top { padding-block: 14px 0; border-bottom: 1px solid var(--line); background: #1a1a1a; }
.single-top .crumbs { margin: 0; padding-bottom: 14px; }
.wc-single div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 40px; }
@media (min-width: 900px) { .wc-single div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.wc-single div.product > .woocommerce-product-gallery { grid-column: 1; min-width: 0; }
.wc-single div.product > .summary { grid-column: 1; min-width: 0; }
@media (min-width: 900px) { .wc-single div.product > .summary { grid-column: 2; grid-row: 1; } .wc-single div.product > .woocommerce-product-gallery { grid-row: 1; } }
.wc-single div.product > .woocommerce-tabs, .wc-single div.product > .related, .wc-single div.product > .upsells { grid-column: 1 / -1; min-width: 0; }
.wc-single div.product { position: relative; }
.ac-single-badge { position: absolute; top: 14px; right: 14px; z-index: 5; }
html:not(.js) .woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-product-gallery { position: relative; background: radial-gradient(circle at 50% 40%, #f7f7f7, #dcdcdc); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; display: block; padding: 4%; mix-blend-mode: multiply; }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; left: 12px; z-index: 6; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .6); display: grid; place-items: center; font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; }
.flex-control-thumbs { display: flex; gap: 8px; list-style: none; padding: 10px; margin: 0; overflow-x: auto; background: rgba(0, 0, 0, .06); }
.flex-control-thumbs li { flex: 0 0 64px; }
.flex-control-thumbs img { border-radius: 8px; border: 2px solid transparent; opacity: .6; cursor: pointer; background: #fff; mix-blend-mode: normal; padding: 0; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; border-color: var(--gold); }

.summary .product_title { font-size: clamp(21px, 2.8vw, 30px); line-height: 1.55; margin-bottom: 10px; }
.summary .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13.5px; color: var(--muted); }
.summary .price { display: block; margin: 12px 0 14px; font-size: clamp(22px, 3vw, 28px); font-weight: 800; color: #fff; }
.summary .price del { display: block; font-size: 15px; font-weight: 500; color: var(--gray); }
.summary .price ins { text-decoration: none; color: var(--gold-light); }
.summary .price .woocommerce-Price-currencySymbol { font-size: 14px; font-weight: 500; color: var(--muted); margin-inline-start: 4px; }
.summary .woocommerce-product-details__short-description { color: var(--text-soft); margin-bottom: 18px; }
.summary .stock { margin-bottom: 14px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.stock.in-stock { color: var(--success); }
.stock.out-of-stock { color: var(--muted); }
.stock.available-on-backorder { color: var(--gold); }
.summary form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.summary form.cart .single_add_to_cart_button { flex: 1 1 200px; min-height: 52px; font-size: 16px; border-radius: 14px; }
.summary form.variations_form { display: block; }
.summary .variations { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.summary .variations th, .summary .variations td { display: block; text-align: right; padding: 0 0 6px; }
.summary .variations label { font-weight: 700; color: #fff; }
.summary .reset_variations { font-size: 13px; color: var(--muted); }
.summary .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.summary .woocommerce-variation-price { margin-bottom: 10px; }
.single-trust { list-style: none; display: grid; gap: 8px; padding: 14px 16px; margin-bottom: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 14px; color: var(--text-soft); }
.single-trust li { display: flex; align-items: center; gap: 10px; }
.single-trust .ac-icon { color: var(--gold); }
.single-help { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--gold); font-weight: 700; font-size: 14px; }
.product_meta { display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); padding-top: 14px; border-top: 1px dashed var(--line); }
.product_meta a { color: var(--text-soft); }
.product_meta a:hover { color: var(--gold-light); }

/* Quantity stepper */
.quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--surface); }
.quantity .qty { width: 54px; min-height: 46px; padding: 0 4px; border: 0; border-radius: 0; text-align: center; background: transparent; -moz-appearance: textfield; appearance: textfield; font-weight: 700; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; border: 0; background: transparent; color: var(--text-soft); display: grid; place-items: center; }
.qty-btn:hover { background: var(--gold-tint); color: var(--gold-light); }

/* Tabs */
.woocommerce-tabs { margin-top: 8px; }
.wc-tabs { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.wc-tabs::-webkit-scrollbar { display: none; }
.wc-tabs li a { display: block; padding: 12px 18px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.wc-tabs li.active a { color: var(--gold-light); box-shadow: inset 0 -2px 0 var(--gold); }
.woocommerce-Tabs-panel { color: var(--text-soft); line-height: 2; overflow-wrap: anywhere; }
.woocommerce-Tabs-panel--description > h2:first-child, .woocommerce-Tabs-panel--additional_information > h2:first-child { display: none; }
.woocommerce-Tabs-panel > * + * { margin-top: 1em; }
.woocommerce-Tabs-panel h2, .woocommerce-Tabs-panel h3 { margin-top: 1.4em; }
.woocommerce-Tabs-panel ul, .woocommerce-Tabs-panel ol { padding-right: 1.4em; }
.woocommerce-Tabs-panel img { border-radius: 12px; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 12px 14px; border: 1px solid var(--line); text-align: right; }
.woocommerce-product-attributes th { width: 30%; background: var(--surface); color: #fff; }
.woocommerce-product-attributes td p { margin: 0; }
.related.products > h2, .upsells.products > h2 { font-size: clamp(19px, 2.4vw, 24px); margin: 12px 0 18px; }
.related .product-grid, .upsells .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .related .product-grid, .upsells .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Stars + reviews */
.star-rating { position: relative; display: inline-block; overflow: hidden; width: 5.6em; height: 1.2em; line-height: 1.2; font-size: 16px; direction: rtl; }
.star-rating::before { content: "★★★★★"; position: absolute; top: 0; right: 0; color: #4a4a4a; letter-spacing: 1px; }
.star-rating span { position: absolute; top: 0; right: 0; overflow: hidden; padding-top: 1.6em; height: 0; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; right: 0; color: var(--gold); letter-spacing: 1px; }
#reviews { display: grid; gap: 28px; }
#reviews .commentlist { list-style: none; display: grid; gap: 14px; padding: 0; }
#reviews .comment_container { display: flex; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
#reviews .comment_container img.avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
#reviews .comment-text { flex: 1; min-width: 0; }
#reviews .meta { font-size: 13px; color: var(--muted); margin: 4px 0; }
#reviews .meta strong { color: #fff; }
#review_form_wrapper { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
#reply-title { font-size: 18px; font-weight: 800; display: block; margin-bottom: 14px; }
.comment-form-rating select { display: none; }
.comment-form-rating p.stars { display: block; margin: 6px 0 0; }
.comment-form-rating p.stars span { display: inline-flex; flex-direction: row; gap: 2px; }
.comment-form-rating p.stars a { position: relative; display: inline-block; width: 1.3em; height: 1.3em; overflow: hidden; text-indent: -999em; font-size: 24px; }
.comment-form-rating p.stars a::before { content: "★"; position: absolute; top: 0; right: 0; text-indent: 0; color: #4a4a4a; line-height: 1.3; }
.comment-form-rating p.stars:hover a::before, .comment-form-rating p.stars.selected a::before { color: var(--gold); }
.comment-form-rating p.stars a:hover ~ a::before, .comment-form-rating p.stars.selected a.active ~ a::before { color: #4a4a4a; }
.comment-form-rating p.stars.selected a:not(.active)::before { color: var(--gold); }

/* ---------- Cart + checkout shared ---------- */
.ac-free-ship { margin-bottom: 20px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--gold-line); border-radius: 14px; }
.ac-free-ship.is-hidden { display: none; }
.ac-free-ship__text { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-soft); }
.ac-free-ship__text .ac-icon { color: var(--gold); }
.ac-free-ship__text strong { color: #fff; }
.ac-free-ship__bar { height: 8px; margin-top: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.ac-free-ship__bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad-gold); transition: width .5s var(--ease); }
.ac-free-ship.is-done { border-color: rgba(79, 191, 127, .5); }
.ac-free-ship.is-done .ac-icon { color: var(--success); }
.ac-free-ship.is-done .ac-free-ship__bar span { background: var(--success); }

table.shop_table { width: 100%; border-collapse: collapse; }
.shop_table th, .shop_table td { padding: 14px 12px; text-align: right; vertical-align: middle; border-bottom: 1px solid var(--line); }
.shop_table thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--surface); }
.shop_table .woocommerce-Price-currencySymbol { font-size: 12px; color: var(--muted); margin-inline-start: 3px; }
.shop_table dl.variation { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.shop_table dl.variation dt, .shop_table dl.variation dd { display: inline; margin: 0; }
.shop_table dl.variation p { display: inline; margin: 0; }

/* ---------- Cart ---------- */
.woocommerce-cart-form { margin-bottom: 24px; }
.woocommerce-cart-form .shop_table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.cart_item td { vertical-align: middle; }
.product-remove a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(229, 96, 77, .12); color: var(--danger); font-size: 20px; line-height: 1; }
.product-remove a.remove:hover { background: var(--danger); color: #fff; }
.product-thumbnail img { width: 76px; height: 76px; object-fit: contain; border-radius: 12px; background: #eee; padding: 4px; }
.product-name a { font-weight: 700; color: #fff; }
.product-name a:hover { color: var(--gold-light); }
td.actions { padding: 16px; background: rgba(255, 255, 255, .02); }
td.actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
td.actions .coupon label { display: none; }
td.actions .coupon .input-text { flex: 1 1 160px; min-width: 0; }
td.actions > .button { width: 100%; }
@media (min-width: 768px) {
	td.actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
	td.actions .coupon { margin: 0; flex: 0 1 420px; flex-wrap: nowrap; }
	td.actions > .button { width: auto; }
}

.cart-collaterals { display: grid; gap: 20px; }
@media (min-width: 992px) { .cart-collaterals { grid-template-columns: minmax(0, 1fr) 420px; } .cart-collaterals .cart_totals { grid-column: 2; } }
.cart_totals, #order_review, .woocommerce-checkout-review-order { min-width: 0; }
.cart_totals { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cart_totals h2, #order_review_heading { font-size: 19px; margin-bottom: 14px; }
.cart_totals .shop_table th { width: 38%; color: var(--text-soft); font-weight: 600; background: none; font-size: 14px; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 17px; color: #fff; font-weight: 800; border-bottom: 0; }
.woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
.woocommerce-shipping-methods li { display: flex; align-items: center; gap: 8px; }
.woocommerce-shipping-destination, .shipping-calculator-button { font-size: 12.5px; color: var(--muted); }
.wc-proceed-to-checkout { padding-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 16px; border-radius: 14px; }
.cart-empty, .woocommerce-info.cart-empty { justify-content: center; text-align: center; border-right-width: 1px; padding: 36px 16px; }
.return-to-shop { text-align: center; margin-top: 18px; }

/* Responsive table: generic (orders etc.) */
@media (max-width: 767px) {
	.shop_table_responsive thead { display: none; }
	.shop_table_responsive tr { display: block; padding: 6px 0; border-bottom: 1px solid var(--line-strong); }
	.shop_table_responsive td, .shop_table_responsive th[scope="row"] { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; padding: 8px 14px; border: 0; }
	.shop_table_responsive td::before { content: attr(data-title); color: var(--muted); font-size: 13px; font-weight: 600; text-align: right; flex-shrink: 0; }
	.shop_table_responsive td.actions::before, .shop_table_responsive td[data-title=""]::before { display: none; }
	/* Cart rows: thumbnail | name + price | remove, qty + subtotal */
	.woocommerce-cart-form__cart-item { display: grid !important; grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "thumb name remove" "thumb price price" "thumb qty sub"; gap: 6px 12px; align-items: center; padding: 14px !important; }
	.woocommerce-cart-form__cart-item td { display: block; padding: 0; text-align: right; }
	.woocommerce-cart-form__cart-item td::before { display: none; }
	.woocommerce-cart-form__cart-item .product-thumbnail { grid-area: thumb; }
	.woocommerce-cart-form__cart-item .product-name { grid-area: name; }
	.woocommerce-cart-form__cart-item .product-remove { grid-area: remove; }
	.woocommerce-cart-form__cart-item .product-price { grid-area: price; font-size: 13.5px; color: var(--muted); }
	.woocommerce-cart-form__cart-item .product-quantity { grid-area: qty; }
	.woocommerce-cart-form__cart-item .product-subtotal { grid-area: sub; text-align: left; font-weight: 800; color: #fff; }
	.cart_totals .shop_table_responsive tr { padding: 0; }
	.cart_totals .shop_table_responsive th { display: none; }
	.cart_totals td { text-align: left; }
	.cart_totals .shop_table_responsive td { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.cart_totals .shop_table_responsive tr:last-child td { border-bottom: 0; }
	.cart_totals .woocommerce-shipping-methods li { flex-wrap: wrap; justify-content: flex-end; }
}

/* ---------- Checkout ---------- */
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 992px) {
	form.checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); grid-template-rows: auto 1fr; gap: 0 32px; align-items: start; }
	form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
	form.checkout #order_review_heading { grid-column: 2; grid-row: 1; }
	form.checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--header-h) + 18px); }
}
#customer_details .col-1, #customer_details .col-2 { float: none; width: auto; }
#customer_details .col-1, .woocommerce-shipping-fields, .woocommerce-additional-fields { padding: 20px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3 { font-size: 18px; margin-bottom: 14px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 14px; }
@media (min-width: 560px) {
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.woocommerce-billing-fields__field-wrapper .form-row-wide, .woocommerce-shipping-fields__field-wrapper .form-row-wide, .woocommerce-additional-fields__field-wrapper .form-row { grid-column: 1 / -1; }
#ship-to-different-address { margin: 0; font-size: 16px; }
#ship-to-different-address label { display: flex; align-items: center; gap: 12px; padding: 4px 0; font-weight: 700; color: #fff; cursor: pointer; }
.shipping_address { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.woocommerce-additional-fields textarea { min-height: 110px; }

#order_review_heading { margin-bottom: 12px; }
#order_review { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
#order_review .shop_table { margin-bottom: 18px; }
#order_review .shop_table thead th { background: none; }
#order_review .product-name { font-weight: 600; color: var(--text-soft); }
#order_review .product-quantity { color: var(--gold); font-weight: 700; }
#order_review .order-total th, #order_review .order-total td { font-size: 17px; color: #fff; font-weight: 800; }
#payment { background: none; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
#payment .wc_payment_method { padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); }
#payment .wc_payment_method > label { display: inline; font-weight: 700; color: #fff; cursor: pointer; margin-inline-start: 8px; }
#payment .payment_box { margin-top: 10px; padding: 12px; background: var(--surface-2); border-radius: 10px; font-size: 13.5px; color: var(--text-soft); }
#payment .payment_box p { margin: 0; }
.woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
#place_order { width: 100%; min-height: 54px; font-size: 16px; border-radius: 14px; }
.blockUI.blockOverlay { background: rgba(0, 0, 0, .5) !important; border-radius: var(--radius-lg); }
.woocommerce-checkout-payment .woocommerce-info { margin: 0; }
.showcoupon, .woocommerce-form-coupon-toggle .woocommerce-info a { color: var(--gold); font-weight: 700; }
.checkout_coupon { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.checkout_coupon p { margin: 0; }
.checkout_coupon .form-row-first { flex: 1 1 180px; }
.checkout_coupon .form-row-last { flex: 0 0 auto; }

/* Order received + order details */
.woocommerce-order { max-width: 860px; margin-inline: auto; }
.woocommerce-thankyou-order-received { padding: 18px; margin-bottom: 18px; background: rgba(79, 191, 127, .1); border: 1px solid rgba(79, 191, 127, .4); border-radius: var(--radius); color: #fff; font-weight: 700; }
ul.woocommerce-order-overview { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
ul.woocommerce-order-overview li { padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--muted); }
ul.woocommerce-order-overview li strong { display: block; font-size: 15px; color: #fff; margin-top: 2px; }
@media (min-width: 768px) { ul.woocommerce-order-overview { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.woocommerce-order-details, .woocommerce-customer-details { margin-bottom: 24px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 18px; margin-bottom: 12px; }
.woocommerce-table--order-details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.woocommerce-customer-details address { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-style: normal; line-height: 2; color: var(--text-soft); }
.woocommerce-columns--addresses { display: grid; gap: 16px; }
@media (min-width: 640px) { .woocommerce-columns--addresses { grid-template-columns: 1fr 1fr; } }

/* ---------- Account ---------- */
body.woocommerce-account.logged-in .wc-page > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
body.woocommerce-account.logged-in .wc-page > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
@media (min-width: 900px) { body.woocommerce-account.logged-in .wc-page > .woocommerce { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; } }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text-soft); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--grad-gold); color: var(--gold-ink); border-color: transparent; }
.woocommerce-MyAccount-navigation a:hover { color: var(--gold-light); border-color: var(--gold-line); }
.woocommerce-MyAccount-navigation .is-active a:hover { color: var(--gold-ink); }
@media (min-width: 900px) {
	.woocommerce-MyAccount-navigation ul { flex-direction: column; overflow: visible; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); gap: 4px; position: sticky; top: calc(var(--header-h) + 18px); }
	.woocommerce-MyAccount-navigation a { border: 0; background: none; white-space: normal; }
}
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-orders-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.woocommerce-orders-table .button { min-height: 36px; padding: 0 14px; font-size: 13px; }
mark.order-status { background: var(--gold-tint); color: var(--gold-light); padding: 2px 10px; border-radius: 999px; font-size: 12.5px; }

.dash__hello { font-size: 22px; }
.dash__sub { color: var(--muted); margin: 4px 0 20px; }
.dash__alert { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px; margin-bottom: 20px; background: var(--gold-tint); border: 1px solid var(--gold-line); border-radius: var(--radius); }
.dash__alert > .ac-icon { color: var(--gold); }
.dash__alert p { font-size: 13.5px; color: var(--text-soft); }
.dash__alert .btn { grid-column: 1 / -1; }
@media (min-width: 640px) { .dash__alert { grid-template-columns: auto 1fr auto; } .dash__alert .btn { grid-column: auto; } }
.dash__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .dash__grid { gap: 16px; } }
.dash__tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: .25s var(--ease); min-width: 0; }
.dash__tile:hover { transform: translateY(-3px); border-color: var(--gold-line); color: inherit; }
.dash__tile .ac-icon { color: var(--gold); margin-bottom: 6px; }
.dash__tile strong { color: #fff; font-size: 15px; }
.dash__tile small { color: var(--muted); font-size: 12.5px; line-height: 1.6; }

.profile { display: grid; gap: 18px; }
.profile__card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.profile__title { font-size: 17px; margin-bottom: 14px; }
.form-grid + .profile__title { margin-top: 10px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.profile__submit { margin-top: 6px; }
.profile__pass > summary { cursor: pointer; font-weight: 700; color: #fff; }
.profile__pass[open] > summary { margin-bottom: 14px; }
.profile__user { margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.profile__user strong { color: var(--gold-light); }

/* ---------- Login / register ---------- */
.auth { display: flex; justify-content: center; }
.auth__card { width: 100%; max-width: 460px; padding: clamp(20px, 4vw, 32px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.auth__brand { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; margin-bottom: 20px; }
.auth__brand strong { font-size: 18px; color: #fff; margin-top: 6px; }
.auth__brand p { font-size: 13.5px; color: var(--muted); }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; background: var(--bg); border-radius: 14px; }
.auth__tab { min-height: 42px; border: 0; border-radius: 11px; background: none; color: var(--muted); font-weight: 700; }
.auth__tab.is-active { background: var(--surface-3); color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.auth.is-tabs .auth__panel { display: none; }
.auth.is-tabs .auth__panel.is-active { display: block; }
html:not(.js) .auth__tabs { display: none; }
.auth__help { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.auth__help a { color: var(--gold); }
.form-row--inline { margin-bottom: 16px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-left: 46px; }
.pw-toggle { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; border-radius: 10px; }
.pw-toggle:hover { color: var(--gold-light); }
.woocommerce-form-login .woocommerce-form__label-for-checkbox { font-weight: 500; }

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
