/* ==========================================================================
   MyShop Catalogue: catalogue & WooCommerce styles
   Product grid · cards · archive layout · filters · product page
   · cart / checkout / account · WooCommerce element overrides
   ========================================================================== */

/* WooCommerce buttons take the theme style ------------------------------ */
.woocommerce :is(a, button, input).button,
.woocommerce-page :is(a, button, input).button,
:is(a, button, input).button.btn,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px;
	font: 650 15px/1.2 var(--font);
	border: 1px solid transparent; border-radius: 8px;
	background: var(--ink); color: #fff;
	text-decoration: none; cursor: pointer; white-space: nowrap;
}
.woocommerce :is(a, button, input).button:hover,
.woocommerce-page :is(a, button, input).button:hover,
.wc-block-components-button:not(.is-link):hover { background: var(--ink-2); color: #fff; }
.woocommerce :is(a, button, input).button.alt,
.woocommerce :is(a, button, input).button.alt:hover { background: var(--ink); color: #fff; }
.woocommerce :is(a, button, input).button:disabled,
.woocommerce :is(a, button, input).button.disabled { opacity: .55; padding: 10px 18px; }
.woocommerce a.button.added::after { margin-left: 6px; }
.woocommerce a.added_to_cart { display: block; text-align: center; padding-top: 8px; font-size: 14px; font-weight: 600; }
.woocommerce .button.loading { opacity: .7; }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.wc-block-components-notice-banner {
	border-radius: var(--r) !important; border: 1px solid var(--line) !important; border-top-width: 1px !important;
	background: var(--surface) !important; color: var(--ink) !important; font-size: 15px;
	box-shadow: none !important;
}
.woocommerce-message { border-left: 4px solid var(--ok) !important; }
.woocommerce-info { border-left: 4px solid var(--ink) !important; }
.woocommerce-error { border-left: 4px solid var(--bad) !important; }
.woocommerce-message::before { color: var(--ok) !important; }
.woocommerce-info::before { color: var(--ink) !important; }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 36px; padding: 6px 14px; }

/* Stars */
.woocommerce .star-rating { color: var(--amber-2); font-size: 14px; }
.woocommerce .star-rating::before { color: #cfd5df; }

/* Product grid ---------------------------------------------------------- */
ul.products {
	--cols: 4;
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 16px;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
}
ul.products::before, ul.products::after { display: none !important; }
ul.products.columns-3 { --cols: 3; }
ul.products.columns-5 { --cols: 5; }
ul.products.columns-2 { --cols: 2; }
.shop-main ul.products.columns-5 { --cols: 4; }
@media (max-width: 1280px) { .shop-main ul.products { --cols: 3; } ul.products.columns-5 { --cols: 4; } }
@media (max-width: 1023px) { ul.products, .shop-main ul.products { --cols: 3; } }
@media (max-width: 767px) { ul.products, .shop-main ul.products { --cols: 2; gap: 10px; } }

/* Product card ---------------------------------------------------------- */
.product-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
	overflow: hidden; min-width: 0;
	width: auto !important; margin: 0 !important; float: none !important;
}
.product-card:hover { border-color: #aab3c3; }
.pc__media { position: relative; background: #fff; border-bottom: 1px solid var(--line-2); }
.pc__img { display: block; aspect-ratio: 1 / 1; padding: 14px; }
.pc__img img { width: 100%; height: 100%; object-fit: contain; margin: 0 !important; }
.pc__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 5px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.badge--sale { background: var(--bad); color: #fff; }
.badge--featured { background: var(--ink); color: #fff; }
.badge--out { background: var(--paper-2); color: var(--muted); }

.pc__body { padding: 14px 16px 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc__brand { margin: 0; font-size: 13px; font-weight: 650; color: var(--muted); }
.pc__title { font-size: 15.5px; font-stretch: 100%; font-weight: 650; line-height: 1.35; margin: 0; letter-spacing: 0; }
.pc__title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc__title a:hover { text-decoration: underline; }
.pc__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pc__codes { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 2px 0 0; }
.pc__codes div { display: inline-flex; gap: 5px; padding: 2px 7px; border-radius: 5px; background: var(--paper); font-size: 12.5px; line-height: 1.5; max-width: 100%; }
.pc__codes dt { color: var(--muted); }
.pc__codes dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc__excerpt { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc__rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.pc__rating .star-rating { margin: 0 !important; }
.pc__foot { margin-top: auto; padding-top: 8px; display: grid; gap: 2px; }
.pc__price { font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--ink); }
.pc__price del { font-size: 14px; font-weight: 500; color: var(--muted); margin-right: 4px; }
.pc__price ins { text-decoration: none; }
.pc__price.is-por { font-size: 16px; }
.price-on-request { color: var(--warn); font-weight: 750; }
.pc__stock, .pc__moq { margin: 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; display: inline-block; }
.stock-dot--out { background: var(--bad); }
.stock-dot--back, .stock-dot--low { background: var(--amber-2); }

.pc__actions { position: relative; z-index: 1; padding: 4px 16px 16px; display: grid; gap: 10px; }
.pc__actions .btn, .pc__actions .button { width: 100%; }
.pc__secondary { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.pc__secondary .link-btn { font-size: 14px; }
.pc__secondary .link-btn .icon { display: none; }
.pc__secondary:empty { display: none; }

@media (max-width: 767px) {
	.pc__img { padding: 10px; }
	.pc__body { padding: 10px 12px 8px; gap: 4px; }
	.pc__actions { padding: 2px 12px 12px; gap: 8px; }
	.pc__title { font-size: 14.5px; }
	.pc__excerpt { display: none; }
	.pc__price { font-size: 16px; }
	.pc__actions .btn, .pc__actions .button { min-height: 40px; padding: 8px 10px; font-size: 14px; white-space: normal; }
	.pc__secondary { flex-direction: column; gap: 4px; }
	.pc__codes dd { max-width: 9ch; }
}
/* Phones: one card per row, image beside the details. */
@media (max-width: 480px) {
	ul.products, .shop-main ul.products { --cols: 1; }
	.product-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "media body" "actions actions"; }
	.pc__media { grid-area: media; border-bottom: 0; border-right: 1px solid var(--line-2); }
	.pc__body { grid-area: body; }
	.pc__actions { grid-area: actions; padding-top: 10px; border-top: 1px solid var(--line-2); }
	.pc__secondary { flex-direction: row; }
	.pc__badges { top: 6px; left: 6px; }
	.badge--featured { display: none; }
	.badge { font-size: 11px; padding: 2px 6px; }
	.pc__codes dd { max-width: none; }
}

/* Category / shop header ------------------------------------------------ */
.cat-head { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.cat-head__inner { display: grid; gap: 20px 40px; padding-block: 26px 28px; align-items: center; }
@media (min-width: 860px) { .cat-head__inner:has(.cat-head__visual) { grid-template-columns: minmax(0, 1fr) 280px; } }
.cat-head__count { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.cat-head__desc { margin-top: 12px; color: var(--ink-soft); }
.cat-head__desc p:last-child { margin-bottom: 0; }
.cat-head__visual { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.cat-head__visual img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.cat-head__visual.is-logo { aspect-ratio: 16 / 9; }
.cat-head__visual.is-logo img { padding: 28px; }
@media (max-width: 859px) { .cat-head__visual { display: none; } }

.subcats { padding-block: 24px 4px; }

/* Shop layout ----------------------------------------------------------- */
.shop-layout { display: grid; gap: 32px; padding-block: 28px 64px; align-items: start; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 270px minmax(0, 1fr); } }
.shop-main { min-width: 0; }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.shop-toolbar__count { flex: 1; color: var(--muted); font-size: 14.5px; }
.shop-toolbar__count .woocommerce-result-count { margin: 0; float: none; }
.shop-toolbar__sort .woocommerce-ordering { margin: 0; float: none; }
.shop-toolbar__sort select { min-height: 42px; width: auto; min-width: 210px; padding-right: 32px; }
.filters-open { display: none; }
.badge-count { background: var(--amber); color: var(--ink); border-radius: 10px; min-width: 20px; height: 20px; font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }

.filter-chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; font-weight: 550; text-decoration: none; }
.filter-chips a:hover { border-color: var(--ink); }
.filter-chips .filter-chips__clear { background: none; border-color: transparent; text-decoration: underline; }

/* Sidebar / filters */
.shop-sidebar { min-width: 0; }
.shop-sidebar__head { display: none; }
.facet { border-bottom: 1px solid var(--line-2); padding: 12px 0; }
.facet:first-child { padding-top: 0; }
.facet__title { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-stretch: 106%; font-size: 15px; padding: 4px 0; }
.facet__title::-webkit-details-marker { display: none; }
.facet__title::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
.facet[open] > .facet__title::after { transform: rotate(-135deg) translateY(-1px); }
.facet__list { list-style: none; margin: 8px 0 0; padding: 0; }
.facet__list.is-long:not(.is-expanded) { max-height: 260px; overflow: hidden; mask-image: linear-gradient(#000 80%, transparent); -webkit-mask-image: linear-gradient(#000 80%, transparent); }
.facet__more { margin-top: 6px; font-size: 14px; }
.facet__find { min-height: 38px; margin-top: 8px; font-size: 14px; }
.check { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 5px 0; cursor: pointer; font-weight: 450; font-size: 14.5px; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.check__count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.check:hover .check__label { text-decoration: underline; }
.check[hidden] { display: none; }
.price-range { display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; }
.price-range label { flex: 1; display: grid; gap: 4px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.price-range input { min-height: 40px; padding: 8px; font-size: 14px; }
.price-range__dash { padding-bottom: 10px; color: var(--muted); }
.filters__actions { display: grid; gap: 8px; padding-top: 16px; }
.js .filters__actions .btn--primary { display: none; }
.cat-nav { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14.5px; }
.cat-nav ul { list-style: none; margin: 2px 0 6px; padding: 0 0 0 12px; border-left: 2px solid var(--line-2); }
.cat-nav a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; text-decoration: none; }
.cat-nav a:hover span:first-child { text-decoration: underline; }
.cat-nav .is-current > a { font-weight: 700; }
.cat-nav__n { color: var(--muted); font-size: 13px; }
.shop-widgets { margin-top: 24px; }

@media (max-width: 1023px) {
	.filters-open { display: inline-flex; }
	.shop-toolbar__count { order: 3; flex-basis: 100%; }
	.shop-toolbar__sort { margin-left: auto; flex: 1; min-width: 0; display: flex; justify-content: flex-end; }
	.shop-toolbar__sort .woocommerce-ordering { width: 100%; max-width: 260px; }
	.shop-toolbar__sort select { min-width: 0; width: 100%; }
	.shop-sidebar {
		position: fixed; top: 0; left: 0; bottom: 0; z-index: 95;
		width: min(380px, 90vw); max-height: none; padding: 0;
		background: var(--surface); box-shadow: var(--shadow-l);
		transform: translateX(-100%); visibility: hidden;
		transition: transform .25s ease, visibility 0s .25s;
		display: flex; flex-direction: column;
	}
	body.filters-open .shop-sidebar { transform: none; visibility: visible; transition-delay: 0s; }
	.shop-sidebar__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); }
	.shop-sidebar__head h2 { margin: 0; font-size: 1.15rem; }
	.shop-sidebar__body { padding: 16px 20px 0; overflow-y: auto; flex: 1; }
	.filters__actions { position: sticky; bottom: 0; background: var(--surface); padding: 12px 0 calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); margin-top: 8px; }
	.js .filters__actions .btn--primary { display: inline-flex; }
	.shop-scrim { position: fixed; inset: 0; background: rgba(20, 33, 61, .5); z-index: 90; }
	.shop-scrim[hidden] { display: none; }
	body.filters-open { overflow: hidden; }
}

/* Product page ---------------------------------------------------------- */
.product-page { padding-block: 20px 64px; }
.product-top { display: grid; gap: 28px; margin-bottom: 40px; }
@media (min-width: 900px) { .product-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; } }
.product-gallery { position: relative; min-width: 0; }
@media (min-width: 900px) { .product-gallery { position: sticky; top: calc(var(--sticky-top) + var(--header-h) + 64px); } }

.woocommerce div.product div.images,
.woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery__image--placeholder,
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; overflow: hidden;
}
.woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 16px; background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs,
.woocommerce-product-gallery .flex-control-thumbs {
	list-style: none; margin: 12px 0 0 !important; padding: 0;
	display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
}
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.flex-control-thumbs img { border: 1px solid var(--line); border-radius: 8px; padding: 4px; background: #fff; aspect-ratio: 1 / 1; object-fit: contain; cursor: pointer; opacity: .7; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; border-color: var(--ink); }
.woocommerce-product-gallery__trigger {
	position: absolute; top: 12px; right: 12px; z-index: 5;
	width: 40px; height: 40px; border-radius: 10px; background: var(--surface) !important; border: 1px solid var(--line);
	display: grid; place-items: center; text-indent: -9999px; overflow: hidden;
}
.woocommerce-product-gallery__trigger::before { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; top: 11px; left: 11px; text-indent: 0; }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; width: 2px; height: 7px; background: var(--ink); transform: rotate(-45deg); top: 23px; left: 26px; }
.woocommerce div.product span.onsale, .product-gallery .onsale {
	position: absolute; top: 14px; left: 14px; z-index: 6; min-height: 0; min-width: 0; line-height: 1.4;
	padding: 4px 10px; border-radius: 6px; background: var(--bad); color: #fff; font-size: 13px; font-weight: 700; margin: 0;
}

.summary { min-width: 0; }
.single-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; color: var(--muted); margin-bottom: 8px; }
.single-brand img { height: 28px; width: auto; max-width: 90px; object-fit: contain; }
.single-brand:hover { color: var(--ink); text-decoration: underline; }
.summary .product_title { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.2rem); margin-bottom: 12px; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.spec-chips div { display: inline-flex; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; background: var(--surface); }
.spec-chips dt { color: var(--muted); }
.spec-chips dd { margin: 0; font-weight: 650; }
.spec-chips dd a { font-weight: 600; }
.summary .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; }
.summary .woocommerce-product-rating .star-rating { margin: 0; }

.buy-panel { border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); padding: 18px 20px; margin: 4px 0 18px; display: grid; gap: 14px; }
.buy-panel .price { margin: 0; font-size: 2rem; font-weight: 800; font-stretch: 106%; line-height: 1.1; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.buy-panel .price del { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.buy-panel .price ins { text-decoration: none; }
.buy-panel__price.is-por .price { font-size: 1.6rem; }
.buy-panel__note { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.buy-panel__facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.buy-panel__facts div { display: grid; gap: 2px; }
.buy-panel__facts dt { font-size: 13px; color: var(--muted); }
.buy-panel__facts dd { margin: 0; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.summary .woocommerce-product-details__short-description { color: var(--ink-soft); margin-bottom: 18px; }
.summary .woocommerce-product-details__short-description ul { padding-left: 1.2em; }

.summary form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px !important; align-items: stretch; }
.summary form.cart::before, .summary form.cart::after { display: none !important; }
.summary form.cart .quantity { margin: 0 !important; float: none !important; }
.quantity .qty { width: 92px; min-height: 52px; text-align: center; font-size: 16px; font-weight: 650; }
.summary form.cart .single_add_to_cart_button { flex: 1; min-height: 52px !important; font-size: 16px !important; float: none !important; }
.summary .variations_form { display: block; }
.summary table.variations { width: 100%; margin-bottom: 12px; border-collapse: collapse; }
.summary table.variations th, .summary table.variations td { display: block; padding: 0 0 6px; text-align: left; }
.summary table.variations select { min-width: 0; width: 100%; }
.summary .reset_variations { font-size: 14px; }
.summary .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
.summary .woocommerce-variation-price .price { font-size: 1.5rem; font-weight: 750; }
.summary .stock { font-weight: 600; margin: 0 0 10px; }
.summary .stock.in-stock { color: var(--ok); }
.summary .stock.out-of-stock { color: var(--bad); }

.enquiry-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.enquiry-actions .btn { white-space: normal; }
@media (max-width: 400px) { .enquiry-actions { grid-template-columns: 1fr; } }
.brochure-link, .whatsapp-link {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 18px 10px 0;
	font-weight: 650; text-decoration: none;
}
.brochure-link span, .whatsapp-link span { text-decoration: underline; text-underline-offset: 3px; }
.whatsapp-link .icon { color: #128c4b; }
.assurance { list-style: none; padding: 16px 0 0; margin: 8px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-soft); }
.assurance li { display: flex; gap: 8px; align-items: center; }
.assurance .icon { color: var(--ok); }
.summary .product_meta { font-size: 14px; color: var(--muted); }

/* Information sections */
.product-sections { border-top: 1px solid var(--line); }
.section-nav {
	position: sticky; top: calc(var(--sticky-top) + var(--header-h) + 50px); z-index: 20;
	background: var(--surface); border-bottom: 1px solid var(--line-2);
}
@media (max-width: 1023px) { .section-nav { top: calc(var(--sticky-top) + var(--header-h)); } }
.section-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a { display: block; padding: 14px 14px 12px; font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; color: var(--muted); }
.section-nav a:hover { color: var(--ink); }
.section-nav a.is-active { color: var(--ink); border-bottom-color: var(--amber); }
.product-section { padding-block: 32px; border-bottom: 1px solid var(--line-2); scroll-margin-top: calc(var(--sticky-top) + var(--header-h) + 110px); }
.product-section__title { font-size: 1.4rem; margin-bottom: 18px; }
.product-section__body { max-width: 900px; }
.product-section--description .product-section__body { max-width: 80ch; }
.product-section__body > *:last-child { margin-bottom: 0; }

.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 38%; background: var(--paper); font-weight: 600; color: var(--ink-soft); }
.spec-table td { font-weight: 550; overflow-wrap: anywhere; }
@media (max-width: 480px) {
	.spec-table th, .spec-table td { display: block; width: auto; padding: 8px 14px; }
	.spec-table th { padding-bottom: 2px; border-bottom: 0; background: none; font-size: 13px; color: var(--muted); }
	.spec-table tr { display: block; border-bottom: 1px solid var(--line-2); }
	.spec-table tr:nth-child(odd) { background: var(--paper); }
	.spec-table td { border-bottom: 0; }
}
.woocommerce table.shop_attributes { border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 16px; border-bottom: 1px solid var(--line-2); font-style: normal; text-align: left; }
.woocommerce table.shop_attributes th { background: var(--paper); width: 38%; font-weight: 600; }
.woocommerce table.shop_attributes td p { margin: 0; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list .icon { color: var(--ok); margin-top: 3px; }

.download-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 640px; }
.download-list a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 600; }
.download-list a:hover { border-color: var(--ink); background: var(--paper); }
.download-list__name { flex: 1; }
.download-list__ext { font-size: 12px; padding: 2px 7px; border-radius: 5px; background: var(--paper-2); color: var(--muted); }

.video-embed { position: relative; max-width: 860px; aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; background: #0d1526; }
.video-embed__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #0d1526; }
.video-embed__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-embed__icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; }
.video-embed__icon svg { fill: currentColor; margin-left: 4px; }
.video-embed__play:hover .video-embed__icon { background: #fff; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Reviews */
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--line); border-radius: var(--r); }
.woocommerce #reviews h2, .woocommerce-Reviews-title { font-size: 1.4rem; }
#review_form_wrapper { margin-top: 20px; }
.comment-form-rating .stars a { color: var(--amber-2); }

/* Related / upsells */
.related.products, .upsells.products, .cross-sells { padding-top: 40px; }
.related.products > h2, .upsells.products > h2, .cross-sells > h2 { font-size: 1.5rem; margin-bottom: 20px; }

/* Sticky buy bar */
.sticky-buy {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
	display: flex; align-items: center; gap: 12px;
	padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
	background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20, 33, 61, .1);
}
.sticky-buy[hidden] { display: none; }
.sticky-buy__info { flex: 1; min-width: 0; display: grid; }
.sticky-buy__name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { font-weight: 750; font-size: 16px; }
.sticky-buy__price del { display: none; }
.sticky-buy .btn { flex: none; }
@media (min-width: 1024px) { .sticky-buy { display: none !important; } }

/* Cart, checkout, account ---------------------------------------------- */
.wc-page { padding-block: 28px 64px; }
.wc-page .entry-content { max-width: none; }

/* Block cart & checkout */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font); }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 0; }
.wc-block-cart .wc-block-cart__totals-title { font-stretch: var(--wide); }
.wc-block-components-totals-wrapper, .wc-block-components-sidebar .wc-block-components-panel { border-color: var(--line-2) !important; }
.wp-block-woocommerce-cart-totals-block, .wp-block-woocommerce-checkout-order-summary-block {
	background: var(--paper); border: 1px solid var(--line) !important; border-radius: var(--r-l); padding: 8px 4px;
}
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select select {
	border-radius: 8px !important; border-color: var(--line) !important;
}
.wc-block-components-text-input.is-active input:focus, .wc-block-components-text-input input:focus { box-shadow: 0 0 0 3px rgba(245, 179, 1, .35) !important; border-color: var(--ink) !important; }
.wc-block-cart-item__product .wc-block-components-product-name { font-weight: 650; text-decoration: none; }
.wc-block-components-product-details { font-size: 13px; color: var(--muted); }
.wc-block-components-checkout-place-order-button { min-height: 52px !important; font-size: 16px !important; }
.wc-block-cart__submit-button { min-height: 52px; }
.wc-block-components-checkout-step__heading { font-stretch: var(--wide); }

/* Classic cart */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--paper); font-weight: 650; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 12px 14px; border-color: var(--line-2); }
.woocommerce-cart table.cart img { width: 72px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 180px; margin-right: 8px; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 480px; margin-left: auto; }
.woocommerce a.remove { color: var(--bad) !important; }
.woocommerce a.remove:hover { background: var(--bad); color: #fff !important; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 52px; font-size: 16px !important; }
@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive tr td { text-align: right; }
	.woocommerce table.shop_table_responsive tr td::before { float: left; font-weight: 650; }
	.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; margin-bottom: 10px; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: auto; flex: 1; margin: 0; }
	.woocommerce-cart table.cart td.actions .button { width: 100%; }
}

/* Classic checkout */
.woocommerce form.checkout .col2-set { display: grid; gap: 24px; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: 100%; float: none; }
@media (min-width: 900px) { .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; } .woocommerce form.checkout > * { grid-column: 1; } .woocommerce form.checkout #order_review_heading, .woocommerce form.checkout #order_review { grid-column: 2; } .woocommerce form.checkout #order_review_heading { grid-row: 1; } .woocommerce form.checkout #order_review { grid-row: 2 / span 4; } }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { margin-bottom: 4px; display: block; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
@media (min-width: 600px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); float: left; } .woocommerce form .form-row-last { float: right; } }
.woocommerce-checkout #payment { background: var(--paper); border-radius: var(--r-l); }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 52px; font-size: 16px; float: none; }

/* My account */
.woocommerce-account.logged-in .wc-page .woocommerce { display: grid; gap: 28px; }
@media (min-width: 900px) { .woocommerce-account.logged-in .wc-page .woocommerce { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } }
.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { width: auto !important; float: none !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation li a:hover { background: var(--paper); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); color: #fff; }
@media (max-width: 899px) {
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 4px; }
	.woocommerce-MyAccount-navigation li a { white-space: nowrap; }
}
.woocommerce-account .u-columns.col2-set { display: grid; gap: 28px; }
@media (min-width: 860px) { .woocommerce-account .u-columns.col2-set { grid-template-columns: 1fr 1fr; } }
.woocommerce-account .u-column1, .woocommerce-account .u-column2 { width: 100% !important; float: none !important; }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line) !important; border-radius: var(--r-l) !important; padding: 24px !important; margin: 0 !important; }
.woocommerce-Addresses { display: grid; gap: 24px; }
@media (min-width: 700px) { .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-Address { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; width: auto !important; float: none !important; }
.woocommerce-Address address { font-style: normal; }
.woocommerce-orders-table__cell-order-actions .button { min-height: 34px; padding: 6px 12px; margin: 2px; }
.site-notices { padding-top: 16px; }
