/* ArtSound – poe kujundus. Saidi alamlehtede keel: #131313 taust, punane aktsent, Inter Tight pealkirjad, 10px ümarus. */
body.as-shop {
	--as-bg: #131313;
	--as-card: #1c1c1d;
	--as-card-2: #232325;
	--as-line: rgba(255, 255, 255, .09);
	--as-line-2: rgba(255, 255, 255, .16);
	--as-text: #c4c6c8;
	--as-muted: #86898c;
	--as-white: #fff;
	--as-red: #ed2125;
	--as-red-dark: #c8171b;
	--as-green: #3ecf6e;
	--as-radius: 10px;
	--as-head: "Inter Tight", "Inter", sans-serif;
	background: var(--as-bg);
	color: var(--as-text);
}
body.as-shop .page_content_wrap,
body.as-shop .page_wrap { background: var(--as-bg); }
body.as-shop .page_content_wrap { padding-top: 56px; padding-bottom: 96px; }
body.as-shop .content_wrap .content { width: 100% !important; max-width: none; float: none; }
body.as-shop h1, body.as-shop h2, body.as-shop h3, body.as-shop h4 { color: var(--as-white); font-family: var(--as-head); }
body.as-shop a { transition: color .2s, background-color .2s, border-color .2s; }

/* ---------- Ühised: silt, nupud, väljad ---------- */
body.as-shop .as-eyebrow {
	margin: 0 0 14px; color: var(--as-red); font-family: var(--as-head);
	font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
body.as-shop .button,
body.as-shop button.button,
body.as-shop a.button,
body.as-shop input[type="submit"],
body.as-shop .wc-block-components-button:not(.is-link),
body.as-shop .wp-element-button {
	background: var(--as-red) !important; color: #fff !important; border: 0 !important;
	border-radius: var(--as-radius) !important; font-family: var(--as-head) !important;
	font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0 !important;
	text-transform: none !important; padding: 13px 26px !important; line-height: 1.2 !important;
	box-shadow: none !important; min-height: 0;
}
body.as-shop .button:hover,
body.as-shop input[type="submit"]:hover,
body.as-shop .wc-block-components-button:not(.is-link):hover,
body.as-shop .wp-element-button:hover { background: var(--as-red-dark) !important; color: #fff !important; }
body.as-shop .button.loading { opacity: .7; }
body.as-shop .added_to_cart { color: var(--as-white) !important; font-size: 14px; margin-left: 12px; text-decoration: underline; }

body.as-shop input[type="text"], body.as-shop input[type="email"], body.as-shop input[type="tel"],
body.as-shop input[type="password"], body.as-shop input[type="number"], body.as-shop input[type="search"],
body.as-shop select, body.as-shop textarea {
	background: var(--as-card) !important; color: var(--as-white) !important;
	border: 1px solid var(--as-line-2) !important; border-radius: var(--as-radius) !important;
}
body.as-shop input:focus, body.as-shop select:focus, body.as-shop textarea:focus {
	border-color: var(--as-red) !important; outline: none; box-shadow: 0 0 0 3px rgba(237, 33, 37, .18) !important;
}
body.as-shop ::placeholder { color: var(--as-muted) !important; opacity: 1; }

/* ---------- Poe päis ---------- */
body.as-shop .as-shop-hero { margin: 0 0 40px; }
body.as-shop .as-shop-hero__title { font-size: clamp(34px, 4.2vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 18px; }
body.as-shop .as-shop-hero__desc { max-width: 720px; color: var(--as-text); font-size: 16px; line-height: 1.65; }
body.as-shop .as-shop-hero__desc p { margin: 0; }
body.as-shop .as-shop-search { position: relative; max-width: 560px; margin: 28px 0 30px; }
body.as-shop .as-shop-search input[type="search"] { width: 100%; height: 54px; padding: 0 58px 0 20px !important; font-size: 15px; }
body.as-shop .as-shop-search button {
	position: absolute; right: 6px; top: 6px; width: 42px; height: 42px; padding: 0 !important;
	display: grid; place-items: center; background: var(--as-red) !important; color: #fff; border: 0; border-radius: 8px !important; cursor: pointer;
}
body.as-shop .as-pills, body.as-shop .as-brands { display: flex; flex-wrap: wrap; gap: 8px; }
body.as-shop .as-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
	border: 1px solid var(--as-line-2); color: var(--as-white); font-family: var(--as-head); font-size: 14px; font-weight: 500; text-decoration: none;
}
body.as-shop .as-pill span { color: var(--as-muted); font-size: 12px; font-weight: 400; }
body.as-shop .as-pill:hover { border-color: var(--as-white); }
body.as-shop .as-pill.is-active { background: var(--as-red); border-color: var(--as-red); }
body.as-shop .as-pill.is-active span { color: rgba(255, 255, 255, .75); }
body.as-shop .as-brands { align-items: center; margin-top: 16px; gap: 6px 18px; }
body.as-shop .as-brands__label { color: var(--as-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
body.as-shop .as-brand { color: var(--as-text); font-size: 14px; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
body.as-shop .as-brand:hover, body.as-shop .as-brand.is-active { color: var(--as-white); border-bottom-color: var(--as-red); }

/* Tulemuste arv + järjestus */
body.as-shop .woocommerce-result-count { color: var(--as-muted); font-size: 14px; margin: 10px 0 24px; }
body.as-shop .woocommerce-ordering select { height: 46px; padding: 0 40px 0 16px !important; font-size: 14px; min-width: 240px; }
body.as-shop .woocommerce-ordering { margin-bottom: 24px; }

/* ---------- Tootekaardid ---------- */
body.as-shop ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 48px !important; padding: 0; clear: both; }
body.as-shop ul.products::before, body.as-shop ul.products::after { display: none !important; }
body.as-shop ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; padding: 0 0 20px !important;
	display: flex; flex-direction: column; background: var(--as-card); border: 1px solid var(--as-line);
	border-radius: var(--as-radius); overflow: hidden; transition: border-color .2s, transform .2s;
}
body.as-shop ul.products li.product:hover { border-color: var(--as-line-2); transform: translateY(-2px); }
body.as-shop ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
body.as-shop ul.products li.product img {
	width: 100% !important; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; padding: 18px;
	margin: 0 0 18px !important; border-radius: 0; box-sizing: border-box;
}
body.as-shop ul.products li.product img.as-placeholder { padding: 0; object-fit: cover; }
body.as-shop .as-card-brand {
	display: block; padding: 0 20px; margin-bottom: 6px; color: var(--as-red);
	font-family: var(--as-head); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
body.as-shop ul.products li.product .woocommerce-loop-product__title {
	padding: 0 20px !important; margin: 0 0 12px !important; color: var(--as-white) !important;
	font-family: var(--as-head); font-size: 16px !important; font-weight: 500; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.as-shop ul.products li.product .price {
	display: block; padding: 0 20px; margin: auto 0 10px !important; color: var(--as-white) !important;
	font-family: var(--as-head); font-size: 20px !important; font-weight: 600;
}
body.as-shop ul.products li.product .as-stock { margin: 0 20px 16px; }
body.as-shop ul.products li.product .button { margin: 0 20px !important; align-self: flex-start; padding: 11px 20px !important; font-size: 14px !important; }
body.as-shop ul.products li.product .added_to_cart { margin: 10px 20px 0; display: inline-block; }

/* Laosilt */
body.as-shop .as-stock { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--as-text); }
body.as-shop .as-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--as-muted); }
body.as-shop .as-stock.is-in::before { background: var(--as-green); box-shadow: 0 0 0 3px rgba(62, 207, 110, .15); }

/* Lehekülgede nummerdus */
body.as-shop .woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; border: 0 !important; }
body.as-shop .woocommerce-pagination ul li { border: 0 !important; margin: 0 !important; }
body.as-shop .woocommerce-pagination ul li a, body.as-shop .woocommerce-pagination ul li span {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--as-radius);
	border: 1px solid var(--as-line-2) !important; background: transparent !important; color: var(--as-white) !important; font-family: var(--as-head);
}
body.as-shop .woocommerce-pagination ul li span.current { background: var(--as-red) !important; border-color: var(--as-red) !important; }
body.as-shop .woocommerce-pagination ul li a:hover { border-color: var(--as-white) !important; }

/* Teated */
body.as-shop .woocommerce-message, body.as-shop .woocommerce-info, body.as-shop .woocommerce-error,
body.as-shop .wc-block-components-notice-banner {
	background: var(--as-card) !important; color: var(--as-white) !important; border: 1px solid var(--as-line-2) !important;
	border-left: 3px solid var(--as-red) !important; border-radius: var(--as-radius) !important;
}
body.as-shop .woocommerce-message::before, body.as-shop .woocommerce-info::before { color: var(--as-red) !important; }
body.as-shop .woocommerce-message a:not(.button), body.as-shop .woocommerce-info a:not(.button) { color: var(--as-white); }

/* ---------- Tooteleht ---------- */
body.as-shop.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
body.as-shop.single-product div.product > * { grid-column: 1 / -1; }
body.as-shop.single-product div.product > .woocommerce-product-gallery { grid-column: 1; width: 100% !important; float: none !important; margin: 0 !important; }
body.as-shop.single-product div.product > .summary { grid-column: 2; width: 100% !important; float: none !important; margin: 0 !important; }
body.as-shop .woocommerce-product-gallery {
	background: #fff; border-radius: var(--as-radius); padding: 28px; box-sizing: border-box; position: relative;
}
body.as-shop .woocommerce-product-gallery img { border-radius: 0; }
body.as-shop .woocommerce-product-gallery .flex-control-thumbs { margin-top: 16px !important; display: flex; gap: 10px; }
body.as-shop .woocommerce-product-gallery__trigger { background: var(--as-bg) !important; border-radius: 50% !important; }
body.as-shop .summary .as-eyebrow--product { margin-bottom: 10px; }
body.as-shop .summary .product_title { font-size: clamp(28px, 3vw, 42px); font-weight: 500; line-height: 1.12; margin: 0 0 20px; }
body.as-shop .summary .price { color: var(--as-white) !important; font-family: var(--as-head); font-size: 32px !important; font-weight: 600; margin: 0 0 6px !important; }
body.as-shop .summary .price::after { content: "sh KM"; margin-left: 10px; color: var(--as-muted); font-family: "Inter", sans-serif; font-size: 13px; font-weight: 400; }
html[lang^="en"] body.as-shop .summary .price::after { content: "incl. VAT"; }
body.as-shop .summary .woocommerce-product-details__short-description { color: var(--as-text); font-size: 16px; line-height: 1.65; margin: 18px 0; }
body.as-shop .summary .stock { display: inline-flex; align-items: center; gap: 8px; color: var(--as-text) !important; font-size: 14px; margin: 0 0 22px; }
body.as-shop .summary .stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--as-muted); }
body.as-shop .summary .stock.in-stock::before { background: var(--as-green); box-shadow: 0 0 0 3px rgba(62, 207, 110, .15); }
body.as-shop .summary form.cart { display: flex; gap: 12px; align-items: stretch; margin: 0 0 28px !important; }
body.as-shop .summary form.cart .quantity input.qty { width: 84px; height: 100% !important; min-height: 50px; text-align: center; font-size: 16px; }
body.as-shop .summary .single_add_to_cart_button { padding: 15px 34px !important; font-size: 16px !important; }
body.as-shop .as-install {
	display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 20px 22px; margin: 0 0 26px;
	background: var(--as-card); border: 1px solid var(--as-line); border-radius: var(--as-radius);
}
body.as-shop .as-install strong { color: var(--as-white); font-family: var(--as-head); font-size: 16px; font-weight: 500; }
body.as-shop .as-install p { margin: 4px 0 0; color: var(--as-muted); font-size: 14px; line-height: 1.5; }
body.as-shop .as-btn-outline {
	flex: none; padding: 11px 18px; border: 1px solid var(--as-line-2); border-radius: var(--as-radius);
	color: var(--as-white) !important; font-family: var(--as-head); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
body.as-shop .as-btn-outline:hover { border-color: var(--as-red); background: var(--as-red); }
body.as-shop .product_meta { color: var(--as-muted); font-size: 13px; line-height: 1.9; border-top: 1px solid var(--as-line); padding-top: 18px; }
body.as-shop .product_meta > span { display: block; }
body.as-shop .product_meta a { color: var(--as-text); text-decoration: none; }
body.as-shop .product_meta a:hover { color: var(--as-red); }

/* Sakid + lisainfo tabel */
body.as-shop .woocommerce-tabs { margin-top: 40px; }
body.as-shop .woocommerce-tabs ul.tabs { display: flex; gap: 6px; padding: 0 !important; margin: 0 0 24px !important; border-bottom: 1px solid var(--as-line) !important; }
body.as-shop .woocommerce-tabs ul.tabs::before, body.as-shop .woocommerce-tabs ul.tabs li::before, body.as-shop .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.as-shop .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; }
body.as-shop .woocommerce-tabs ul.tabs li a {
	display: block; padding: 12px 18px !important; color: var(--as-muted) !important; font-family: var(--as-head);
	font-size: 15px; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
body.as-shop .woocommerce-tabs ul.tabs li.active a { color: var(--as-white) !important; border-bottom-color: var(--as-red); }
body.as-shop .woocommerce-tabs .panel { color: var(--as-text); font-size: 16px; line-height: 1.7; max-width: 900px; }
body.as-shop .woocommerce-tabs .panel > h2:first-child { display: none; }
body.as-shop .woocommerce-tabs .panel ul { padding-left: 20px; }
body.as-shop table.shop_attributes { border: 1px solid var(--as-line) !important; border-radius: var(--as-radius); border-collapse: separate; border-spacing: 0; overflow: hidden; width: 100%; max-width: 900px; }
body.as-shop table.shop_attributes tr, body.as-shop table.shop_attributes tr:nth-child(even) th,
body.as-shop table.shop_attributes tr:nth-child(even) td { background: transparent !important; }
body.as-shop table.shop_attributes tr:nth-child(odd) { background: var(--as-card) !important; }
body.as-shop table.shop_attributes th, body.as-shop table.shop_attributes td {
	background: transparent !important; color: var(--as-text) !important; border: 0 !important; border-bottom: 1px solid var(--as-line) !important;
	padding: 14px 20px !important; font-style: normal !important; text-align: left; font-size: 15px;
}
body.as-shop table.shop_attributes th { width: 34%; color: var(--as-white) !important; font-weight: 500; font-family: var(--as-head); }
body.as-shop table.shop_attributes td p { margin: 0; padding: 0; }
body.as-shop table.shop_attributes tr:last-child th, body.as-shop table.shop_attributes tr:last-child td { border-bottom: 0 !important; }

/* Seotud tooted */
body.as-shop .related.products, body.as-shop .upsells.products { margin-top: 64px; }
body.as-shop .related.products > h2, body.as-shop .upsells.products > h2 { font-size: 32px; font-weight: 500; margin: 0 0 24px; }

/* Teema blogielemendid, mis tootelehele ei sobi */
body.as-shop.single-product .related_wrap,
body.as-shop.single-product .nav-links-single,
body.as-shop.single-product .post-navigation,
body.as-shop.single-product .comments_wrap,
body.as-shop.single-product .comments_form_wrap { display: none !important; }

/* ---------- Ostukorv ja kassa (plokid) ---------- */
body.as-shop .wp-block-woocommerce-cart, body.as-shop .wp-block-woocommerce-checkout { color: var(--as-text); }
body.as-shop .wc-block-components-sidebar-layout .wc-block-components-main,
body.as-shop .wc-block-components-sidebar { padding-top: 0; }
body.as-shop .wc-block-cart .wc-block-cart__totals-title,
body.as-shop .wc-block-components-title, body.as-shop .wc-block-components-checkout-step__title,
body.as-shop .wc-block-cart-items th { color: var(--as-white) !important; font-family: var(--as-head) !important; }
body.as-shop .wc-block-cart-items, body.as-shop .wc-block-cart-items td, body.as-shop .wc-block-cart-items th,
body.as-shop .wc-block-components-totals-wrapper, body.as-shop .wc-block-components-panel,
body.as-shop .wc-block-components-totals-item, body.as-shop .wc-block-components-order-summary-item,
body.as-shop .wc-block-checkout__actions, body.as-shop .wc-block-components-checkout-step { border-color: var(--as-line) !important; }
body.as-shop .wc-block-components-sidebar .wc-block-components-totals-wrapper:first-child,
body.as-shop .wc-block-cart__sidebar, body.as-shop .wc-block-checkout__sidebar {
	background: var(--as-card); border-radius: var(--as-radius);
}
body.as-shop .wc-block-cart__sidebar, body.as-shop .wc-block-checkout__sidebar { padding: 8px 20px 20px; border: 1px solid var(--as-line); }
body.as-shop .wc-block-components-product-name { color: var(--as-white) !important; font-family: var(--as-head); font-size: 16px !important; font-weight: 500; text-decoration: none; }
body.as-shop .wc-block-components-product-price, body.as-shop .wc-block-components-totals-item__value,
body.as-shop .wc-block-components-formatted-money-amount { color: var(--as-white); }
body.as-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.as-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 20px !important; font-family: var(--as-head); font-weight: 600; color: var(--as-white); }
body.as-shop .wc-block-components-product-metadata, body.as-shop .wc-block-components-totals-item__description,
body.as-shop .wc-block-components-checkout-step__description, body.as-shop .wc-block-components-product-metadata__description { color: var(--as-muted) !important; }
body.as-shop .wc-block-cart-item__image img, body.as-shop .wc-block-components-order-summary-item__image img { background: #fff; border-radius: 8px; padding: 4px; box-sizing: border-box; }
body.as-shop .wc-block-components-quantity-selector { background: var(--as-card); border-color: var(--as-line-2) !important; border-radius: var(--as-radius) !important; }
body.as-shop .wc-block-components-quantity-selector::after { border-color: var(--as-line-2) !important; border-radius: var(--as-radius) !important; }
body.as-shop .wc-block-components-quantity-selector input, body.as-shop .wc-block-components-quantity-selector button { color: var(--as-white) !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.as-shop .wc-block-cart-item__remove-link { color: var(--as-muted) !important; }
body.as-shop .wc-block-cart-item__remove-link:hover { color: var(--as-red) !important; }
body.as-shop .wc-block-components-panel__button, body.as-shop .wc-block-components-totals-coupon-link,
body.as-shop .wc-block-components-checkout-return-to-cart-button, body.as-shop .wc-block-components-button.is-link { color: var(--as-white) !important; }
body.as-shop .wc-block-components-order-summary-item__quantity { background: var(--as-red) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }

/* Kassa väljad */
body.as-shop .wc-block-components-text-input input, body.as-shop .wc-block-components-text-input textarea,
body.as-shop .wc-blocks-components-select__select, body.as-shop .wc-block-components-combobox .components-combobox-control input,
body.as-shop .wc-block-components-form .wc-block-components-text-input input {
	background: var(--as-card) !important; color: var(--as-white) !important; border: 1px solid var(--as-line-2) !important; border-radius: var(--as-radius) !important;
}
body.as-shop .wc-block-components-text-input label, body.as-shop .wc-blocks-components-select__label,
body.as-shop .wc-block-components-combobox label { color: var(--as-muted) !important; }
body.as-shop .wc-blocks-components-select__container { background: transparent !important; }
body.as-shop .wc-blocks-components-select__expand { fill: var(--as-white); }
body.as-shop .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
body.as-shop .wc-block-components-radio-control__input {
	background: var(--as-card) !important; border-color: var(--as-line-2) !important;
}
body.as-shop .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--as-red); }
body.as-shop .wc-block-components-radio-control__input:checked::before { background: var(--as-red) !important; }
body.as-shop .wc-block-components-radio-control-accordion-option,
body.as-shop .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
body.as-shop .wc-block-components-radio-control__option { border-color: var(--as-line-2) !important; box-shadow: none !important; }
body.as-shop .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.as-shop .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--as-red) !important; border-radius: var(--as-radius);
}
/* Kassa raadionupud: Flexify teema „label > input[type=radio] { position: static !important }“ + ruudukujuline :before
   lükkasid nupu teksti kohale ja tegid valimata nupu ruuduks – taastame Woo plokkide paigutuse (nupp vasakul, tekst kõrval) */
body.as-shop .wc-block-components-radio-control label > input.wc-block-components-radio-control__input,
body.as-shop .wc-block-components-radio-control .wc-block-components-radio-control__input {
	position: absolute !important; top: 50% !important; left: 16px !important; transform: translateY(-50%); clip: auto !important;
	display: block !important; width: 20px !important; height: 20px !important; min-width: 20px; margin: 0 !important; padding: 0 !important;
	-webkit-appearance: none; appearance: none; border: 1px solid var(--as-line-2) !important; border-radius: 50% !important; cursor: pointer;
}
body.as-shop .wc-block-components-radio-control label > input.wc-block-components-radio-control__input::before,
body.as-shop .wc-block-components-radio-control .wc-block-components-radio-control__input::before {
	content: "" !important; display: none !important; position: absolute !important; top: 50% !important; left: 50% !important;
	width: 10px !important; height: 10px !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important;
	transform: translate(-50%, -50%); background: var(--as-red) !important;
}
body.as-shop .wc-block-components-radio-control .wc-block-components-radio-control__input:checked { border-color: var(--as-red) !important; }
body.as-shop .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { display: block !important; }
body.as-shop .wc-block-components-radio-control__option { position: relative; padding-left: 52px !important; min-height: 56px; display: flex !important; align-items: center; }
body.as-shop .wc-block-components-radio-control__option-layout { flex: 1; min-width: 0; }
body.as-shop .wc-block-components-radio-control__label,
body.as-shop .wc-block-components-radio-control__secondary-label { color: var(--as-white) !important; font-size: 15px; }
body.as-shop .wc-block-components-radio-control__description,
body.as-shop .wc-block-components-radio-control__secondary-description,
body.as-shop .wc-block-components-radio-control-accordion-content { color: var(--as-text) !important; }

/* Shipit24 pakiautomaat: valitud automaadi kaart ja otsingu rippmenüü tumedale taustale loetavaks */
body.as-shop .shipit24-selected-locker__inner {
	background: var(--as-card-2) !important; border: 1px solid var(--as-red) !important; border-radius: var(--as-radius) !important; padding: 14px 40px 14px 16px !important; color: var(--as-white) !important;
}
body.as-shop .shipit24-selected-locker__title, body.as-shop .shipit24-locker__title { color: var(--as-white) !important; font-family: var(--as-head) !important; font-size: 16px !important; }
body.as-shop .shipit24-selected-locker__address, body.as-shop .shipit24-locker__address,
body.as-shop .shipit24-selected-locker__name, body.as-shop .shipit24-locker__name { color: var(--as-text) !important; font-size: 14px !important; }
body.as-shop .shipit24-selected-locker__city, body.as-shop .shipit24-locker__city,
body.as-shop .shipit24-selected-locker__distance, body.as-shop .shipit24-locker__distance { color: var(--as-muted) !important; opacity: 1 !important; font-size: 13px !important; }
body.as-shop .shipit24-selected-locker__price, body.as-shop .shipit24-locker__price { color: var(--as-white) !important; }
body.as-shop .shipit24-remove-locker { color: var(--as-white) !important; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.shipit24-locker-dropdown, .shipit24-locker-dropdown .select2-results, .shipit24-locker-dropdown .select2-search {
	background: var(--as-card-2, #1f1f22) !important; color: var(--as-white, #fff) !important; border-color: var(--as-line-2, #3a3a3e) !important;
}
.shipit24-locker-dropdown .select2-results__option, .shipit24-locker { color: var(--as-white, #fff) !important; background: transparent; }
.shipit24-locker-dropdown .select2-results__option--highlighted, .shipit24-locker-dropdown .select2-results__option--selected,
.shipit24-locker:hover { background: #2c2c30 !important; color: #fff !important; }
.shipit24-locker-dropdown .select2-search__field { background: #151517 !important; color: #fff !important; border: 1px solid var(--as-line-2, #3a3a3e) !important; }
body.as-shop .shipit24-lockers-container .select2-selection, body.as-shop .shipit24-lockers-container input {
	background: var(--as-card) !important; color: var(--as-white) !important; border-color: var(--as-line-2) !important;
}
body.as-shop .shipit24-lockers-container .select2-selection__rendered, body.as-shop .shipit24-lockers-container .select2-selection__placeholder { color: var(--as-text) !important; }
body.as-shop .wc-block-components-radio-control__label, body.as-shop .wc-block-components-checkbox__label,
body.as-shop .wc-block-checkout__terms, body.as-shop .wc-block-components-address-card { color: var(--as-text); }
body.as-shop .wc-block-components-address-card { background: var(--as-card) !important; border-color: var(--as-line-2) !important; border-radius: var(--as-radius); }
body.as-shop .wc-block-components-checkout-place-order-button { padding: 17px 30px !important; font-size: 16px !important; }
body.as-shop .wp-block-woocommerce-checkout a, body.as-shop .wp-block-woocommerce-cart a:not(.wc-block-components-button) { color: var(--as-white); }

/* Tühi ostukorv */
body.as-shop .wc-block-cart__empty-cart__title { color: var(--as-white); font-family: var(--as-head); font-weight: 500; }
body.as-shop .wp-block-woocommerce-empty-cart-block .wp-block-separator { border-color: var(--as-line); }
body.as-shop .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { background-color: var(--as-red); }
body.as-shop .wc-block-product-template .wc-block-components-product-image { background: #fff; border-radius: var(--as-radius); padding: 14px; box-sizing: border-box; }
body.as-shop .wc-block-product-template .wp-block-post-title a { color: var(--as-white) !important; font-family: var(--as-head); text-decoration: none; }

/* Minu konto */
body.as-shop .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--as-line); border-radius: var(--as-radius); overflow: hidden; }
body.as-shop .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--as-line); margin: 0; }
body.as-shop .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
body.as-shop .woocommerce-MyAccount-navigation li a { display: block; padding: 14px 18px; color: var(--as-text); text-decoration: none; font-family: var(--as-head); }
body.as-shop .woocommerce-MyAccount-navigation li.is-active a, body.as-shop .woocommerce-MyAccount-navigation li a:hover { background: var(--as-card); color: var(--as-white); box-shadow: inset 3px 0 0 var(--as-red); }
body.as-shop .woocommerce-MyAccount-content, body.as-shop .woocommerce form.login, body.as-shop .woocommerce form.register { color: var(--as-text); }
body.as-shop .woocommerce form.login, body.as-shop .woocommerce form.register { background: var(--as-card); border: 1px solid var(--as-line) !important; border-radius: var(--as-radius); padding: 28px; }
body.as-shop .woocommerce form .form-row label { color: var(--as-text); }
body.as-shop table.shop_table { border-color: var(--as-line) !important; border-radius: var(--as-radius); color: var(--as-text); }
body.as-shop table.shop_table th, body.as-shop table.shop_table td { border-color: var(--as-line) !important; color: var(--as-text); background: transparent !important; }

/* Poe lehed (Pood, Ostukorv, Kassa, Konto) – lehe pealkiri */
body.as-shop .as-page-title { font-size: clamp(34px, 4.2vw, 56px); font-weight: 500; line-height: 1.05; margin: 0 0 36px; }

/* ---------- Mobiil ---------- */
@media (max-width: 1199px) {
	body.as-shop ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	body.as-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	body.as-shop.single-product div.product { grid-template-columns: 1fr; gap: 28px; }
	body.as-shop.single-product div.product > .woocommerce-product-gallery,
	body.as-shop.single-product div.product > .summary { grid-column: 1; }
	body.as-shop .woocommerce-ordering { float: none; }
	body.as-shop .woocommerce-ordering select { width: 100%; }
}
@media (max-width: 600px) {
	body.as-shop .page_content_wrap { padding-top: 32px; padding-bottom: 64px; }
	body.as-shop .as-pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	body.as-shop .as-pill { flex: none; }
	body.as-shop ul.products li.product img { padding: 10px; margin-bottom: 12px !important; }
	body.as-shop .as-card-brand, body.as-shop ul.products li.product .woocommerce-loop-product__title,
	body.as-shop ul.products li.product .price { padding: 0 12px !important; }
	body.as-shop ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
	body.as-shop ul.products li.product .price { font-size: 17px !important; }
	body.as-shop ul.products li.product .as-stock { margin: 0 12px 12px; font-size: 12px; }
	body.as-shop ul.products li.product .button { margin: 0 12px !important; padding: 10px 14px !important; font-size: 13px !important; }
	body.as-shop .as-install { flex-direction: column; align-items: flex-start; }
	body.as-shop .summary form.cart { flex-wrap: wrap; }
	body.as-shop .summary .single_add_to_cart_button { flex: 1; }
	body.as-shop .woocommerce-product-gallery { padding: 16px; }
}

/* Teema blogi külgriba („Viimased uudised“) poe lehtedel ei kuva */
body.as-shop .content_wrap > .sidebar { display: none !important; }

/* Kassa kokkuvõttel oli topeltraam (külgriba + kokkuvõtteplokk) */
body.as-shop .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
body.as-shop .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content { border: 0 !important; }

/* Tarnijafailide pildid on väikese resolutsiooniga – ära venita üle loomuliku suuruse */
body.as-shop .woocommerce-product-gallery__image img { max-width: 520px; margin: 0 auto; }

/* ---------- 30.10: vasak kategooriapuu + filtrid (noortehnik.ee eeskujul) ---------- */
body.as-shop .woocommerce:has(> .as-tree) { display: grid; grid-template-columns: 270px minmax(0, 1fr); column-gap: 40px; align-items: start; }
body.as-shop .woocommerce:has(> .as-tree) > * { grid-column: 2; }
body.as-shop .woocommerce > .as-tree { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 110px; }
body.as-shop .as-tree details { background: var(--as-card); border: 1px solid var(--as-line); border-radius: var(--as-radius); overflow: hidden; }
body.as-shop .as-tree__head {
	display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: var(--as-red); color: #fff; cursor: pointer;
	font-family: var(--as-head); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; list-style: none;
}
body.as-shop .as-tree__head::-webkit-details-marker { display: none; }
body.as-shop .as-tree ul { list-style: none; margin: 0; padding: 0; }
body.as-shop .as-tree li a {
	margin: 0 !important; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 18px;
	color: var(--as-text); text-decoration: none; font-size: 14.5px; border-top: 1px solid var(--as-line);
}
body.as-shop .as-tree li a:hover { color: var(--as-white); background: var(--as-card-2); }
body.as-shop .as-tree__i--1 > a { color: var(--as-white); font-family: var(--as-head); font-weight: 500; }
body.as-shop .as-tree .as-tree__i--2 > a { padding-left: 32px !important; background: rgba(255, 255, 255, .025); font-size: 14px; }
body.as-shop .as-tree .as-tree__i--3 > a { padding-left: 48px !important; font-size: 13.5px; background: rgba(255, 255, 255, .05); }
body.as-shop .as-tree li.is-active > a { color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--as-red); }
body.as-shop .as-tree__arrow { color: var(--as-muted); font-size: 11px; }

body.as-shop .as-filters { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 8px; }
body.as-shop .as-filter > summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
	border: 1px solid var(--as-line-2); color: var(--as-white); font-family: var(--as-head); font-size: 14px; font-weight: 500;
}
body.as-shop .as-filter > summary::-webkit-details-marker { display: none; }
body.as-shop .as-filter > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
body.as-shop .as-filter[open] > summary, body.as-shop .as-filter.is-on > summary { border-color: var(--as-red); color: #fff; }
body.as-shop .as-filter[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
body.as-shop .as-filter > summary b { background: var(--as-red); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }
/* Valikud avanevad nupurea alla ega kata sisu: pood.js jätab paneeli jaoks ruumi (padding-bottom), korraga lahti üks */
body.as-shop .as-filters { position: relative; }
body.as-shop .as-filter { position: static; }
body.as-shop .as-filter__opts {
	position: absolute; left: 0; right: 0; display: flex; flex-wrap: wrap; gap: 8px;
	padding: 14px; background: var(--as-card-2); border: 1px solid var(--as-line-2); border-radius: var(--as-radius);
}
body.as-shop .as-chip {
	display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--as-line-2);
	color: var(--as-white); font-size: 14px; text-decoration: none; background: var(--as-card);
}
body.as-shop .as-chip span { color: var(--as-muted); font-size: 12px; }
body.as-shop .as-chip:hover { border-color: var(--as-white); }
body.as-shop .as-chip.is-active { background: var(--as-red); border-color: var(--as-red); }
body.as-shop .as-chip.is-active span { color: rgba(255, 255, 255, .8); }
body.as-shop .as-filters__clear { align-self: center; color: var(--as-muted); font-size: 14px; margin-left: 6px; }
body.as-shop .as-filters__clear:hover { color: var(--as-white); }
body.as-shop .woocommerce:has(> .as-tree) ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) {
	body.as-shop .woocommerce:has(> .as-tree) { grid-template-columns: 220px minmax(0, 1fr); column-gap: 24px; }
	body.as-shop .woocommerce:has(> .as-tree) ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	body.as-shop .woocommerce:has(> .as-tree) { display: block; }
	body.as-shop .woocommerce > .as-tree { position: static; margin-bottom: 28px; }
}
