/*
 * Ciciban – WooCommerce styles (P448-inspired: flat, edge-to-edge, hairlines)
 * Default WooCommerce stylesheet is disabled; block cart/checkout keep their own block CSS.
 */

/* ==========================================================================
   Product grid + cards
   ========================================================================== */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products::before, ul.products::after { display: none !important; }
@media (max-width: 1024px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--bg); }
.card__media { position: relative; aspect-ratio: 432 / 520; overflow: hidden; }
.card__link { position: absolute; inset: 0; display: block; }
.card__link:hover { opacity: 1; }
.card__img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	padding: 14% 8% 10%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: opacity .4s, transform .8s var(--ease);
}
.card__img--hover { opacity: 0; }
.card:hover .card__img { transform: scale(1.04); }
.card:hover .card__img--hover { opacity: 1; }
.card:hover .card__img:not(.card__img--hover):has(+ .card__img--hover) { opacity: 0; }

.card__body { display: flex; flex-direction: column; gap: 2px; padding: 4px 16px 20px; font-size: 14px; }
.card__body:hover { opacity: 1; }
.card__meta { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.card__title { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.35; letter-spacing: 0; }
.card__body:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.card__price { font-size: 13px; color: var(--ink-2); }

/* Prices */
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price del { color: var(--muted); order: 2; font-size: .92em; }
.price ins { text-decoration: none; color: var(--red); order: 1; }
.price__from { color: var(--muted); }

/* ==========================================================================
   Shop archive (P448 collection layout)
   ========================================================================== */
.shop-head { padding: 28px var(--gutter) 40px; }
.shop-head__title { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: 0; }
.shop-head__desc { max-width: 470px; margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.shop-head--chips { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.shop-head__text { min-width: 0; }
.shop-cats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.shop-cat {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 12px;
	border: 1px solid var(--line-2); border-radius: 4px;
	font-size: 13px; line-height: 1.2; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s;
}
.shop-cat__count { color: var(--muted); font-family: var(--f-mono); font-size: 10px; }
.shop-cat:hover { opacity: 1; border-color: var(--ink); }
.shop-cat.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.shop-cat.is-active .shop-cat__count { color: rgba(255, 255, 255, .6); }
@media (max-width: 700px) {
	.shop-head--chips { flex-direction: column; align-items: flex-start; }
	.shop-cats { justify-content: flex-start; }
}

.shop-toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 10px var(--gutter);
	position: sticky; top: calc(var(--header-h) + var(--announce-h) + 1px); z-index: 20;
	background: var(--bg);
}
.admin-bar .shop-toolbar { top: calc(var(--header-h) + var(--announce-h) + 33px); }
.shop-toolbar__left { min-width: 0; }
.shop-toolbar__right { display: flex; align-items: center; gap: 22px; flex: none; }
.shop-toolbar .woocommerce-breadcrumb { font-family: var(--f-sans); text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-toolbar .woocommerce-breadcrumb a:hover { color: var(--ink); opacity: 1; }
.shop-toolbar .woocommerce-breadcrumb .sep { margin: 0 .45em; }
.woocommerce-result-count { margin: 0; font-size: 12px; color: var(--muted); }
.shop-toolbar__filters {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 0; border: 0; background: none;
	font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
}
.shop-toolbar__filters:hover { color: var(--red); }
.shop-toolbar__filters .icon { width: 15px; height: 15px; }
.shop-toolbar__count { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 10px; }
.woocommerce-ordering { display: flex; align-items: center; gap: 6px; margin: 0; }
.woocommerce-ordering__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.woocommerce-ordering select {
	min-height: 0; width: auto; padding: 0 18px 0 0;
	border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23222' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center;
	appearance: none; -webkit-appearance: none;
	font-size: 12px; cursor: pointer;
}
.woocommerce-ordering select:focus { outline: none; }

/* Grid: 3 tall cards, hairlines */
.site-main--shop > ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.site-main--shop > ul.products > li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-main--shop > ul.products > li:nth-child(3n) { border-right: 0; }
.site-main--shop ul.products .card__media { aspect-ratio: 480 / 690; }
.site-main--shop ul.products .card__img { padding: 18% 9% 18%; }
.site-main--shop ul.products .card__body { padding: 0 20px 24px; }
.site-main--shop > .woocommerce-notices-wrapper,
.site-main--shop > .woocommerce-info,
.site-main--shop > .woocommerce-no-products-found { padding-inline: var(--gutter); }

/* Promo tile (first cell) */
.promo-tile { position: relative; overflow: hidden; color: var(--white); }
@media (min-width: 1025px) { .promo-tile--wide { grid-column: span 2; } }
.promo-tile__link { position: absolute; inset: 0; display: block; }
.promo-tile__link:hover { opacity: 1; }
.promo-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.promo-tile__link:hover .promo-tile__img { transform: scale(1.03); }
.promo-tile__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .5)); }
.promo-tile__copy { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 1; display: grid; gap: 14px; }
.promo-tile__title { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; }

.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px;
	border: 1px solid var(--line-2); border-radius: 4px; font-size: 13px;
}
.woocommerce-pagination .current, .woocommerce-pagination a:hover { opacity: 1; background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Filters drawer content */
.filter-widget { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.filter-widget:last-child { border-bottom: 0; }
.filter-widget .widget-title { margin: 0 0 12px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.filter-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-widget li a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 13px; }
.filter-widget li.chosen a, .filter-widget li a:hover { opacity: 1; background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-widget .count { color: var(--muted); font-size: 11px; }
.filter-widget li.chosen .count, .filter-widget li a:hover .count { color: rgba(255,255,255,.6); }
.drawer__foot { flex: none; padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.drawer__foot .account-btn { margin-top: 0; }

@media (max-width: 1024px) {
	.site-main--shop > ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-main--shop > ul.products > li:nth-child(3n) { border-right: 1px solid var(--line); }
	.site-main--shop > ul.products > li:nth-child(2n) { border-right: 0; }
}
@media (max-width: 700px) {
	.shop-toolbar { flex-wrap: wrap; }
	.shop-toolbar__left { width: 100%; }
	.shop-toolbar__right { width: 100%; justify-content: space-between; gap: 12px; }
	.woocommerce-ordering__label { display: none; }
	.site-main--shop ul.products .card__body { padding: 0 12px 16px; }
	.promo-tile { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   Single product (P448 layout)
   ========================================================================== */
.single-product .site-main--shop { padding-top: 0; }
.pdp__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 3fr); align-items: start; }

/* Gallery: 2-column grid, hairlines */
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; border-right: 1px solid var(--line); }
.pdp__shot { position: relative; aspect-ratio: 505 / 630; margin: 0; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.pdp__shot:nth-child(odd) { border-right: 1px solid var(--line); }
.pdp__shot img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.pdp__shot--detail img { object-fit: cover; padding: 0; }
.pdp__gallery--1 .pdp__shot { grid-column: 1 / -1; aspect-ratio: 4 / 3; border-right: 0; }
.pdp__gallery--3 .pdp__shot:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-right: 0; }

/* Sticky white panel */
.pdp__panel { padding: 12px; position: sticky; top: calc(var(--header-h) + var(--announce-h) + 1px); }
.admin-bar .pdp__panel { top: calc(var(--header-h) + var(--announce-h) + 33px); }
.pdp__card { background: var(--white); border-radius: 8px; padding: 20px 20px 0; overflow: hidden; }
.pdp__crumbs { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.pdp__crumbs .woocommerce-breadcrumb { font-family: var(--f-sans); text-transform: none; letter-spacing: 0; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp__crumbs .badge { flex: none; background: var(--bg); }
.pdp__title { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: 0; }
.pdp__meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.pdp__price { margin: 16px 0 0; font-size: 16px; }
.pdp__excerpt { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.pdp__excerpt a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.pdp__buy { margin-top: 26px; }
.pdp__size-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.pdp__size-head .mono { font-size: 11px; }
.pdp__guide { font-size: 12px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

.pdp form.cart { margin: 0; }
.pdp .variations { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pdp .single_variation_wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pdp .single_variation_wrap .woocommerce-variation { grid-column: 1 / -1; order: 3; margin: 0; }
.pdp .woocommerce-variation-price, .pdp .woocommerce-variation-description { display: none; }
.pdp .woocommerce-variation-availability .stock { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.pdp .woocommerce-variation-add-to-cart, .pdp form.cart:not(.variations_form) { display: block; }
.pdp .quantity { display: none !important; }
.pdp__size-btn {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	min-height: 48px; padding: 0 14px;
	border: 0; border-radius: 4px; background: #efecea;
	font-size: 14px; text-align: left;
}
.pdp__size-btn:hover { background: #e7e3e0; }
.pdp__size-btn.is-chosen { background: var(--bg); box-shadow: inset 0 0 0 1px var(--ink); }
.pdp .single_add_to_cart_button {
	width: 100%; min-height: 48px; justify-content: flex-start;
	padding: 0 14px; border-radius: 4px;
	background: var(--ink) !important; border-color: var(--ink) !important; color: var(--white);
	font-size: 14px;
}
.pdp .single_add_to_cart_button::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex: none; }
.pdp .single_add_to_cart_button:hover { background: var(--red) !important; border-color: var(--red) !important; }
.pdp .single_add_to_cart_button.disabled { opacity: 1; }
.pdp .single_add_to_cart_button.loading { opacity: .6; pointer-events: none; }
.pdp__pay { margin: 10px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted); }

.pdp__rows { margin: 22px -20px 0; border-top: 1px solid var(--line); }
.pdp__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pdp__rows dt { color: var(--ink); }
.pdp__rows dd { margin: 0; color: var(--red); text-align: right; }
.pdp__links { display: flex; flex-wrap: wrap; margin: 0 -20px; padding: 16px 20px 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.pdp__links a { padding: 0 10px; border-left: 1px solid var(--line-2); }
.pdp__links a:first-child { padding-left: 0; border-left: 0; }
.pdp__links a:hover { opacity: 1; color: var(--red); }

/* About: copy + accordions left, big detail right */
.pdp__about { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.pdp__about-copy { padding: 40px var(--gutter) 48px; border-right: 1px solid var(--line); }
.pdp__about-title { margin: 0; font-size: 20px; letter-spacing: 0; }
.pdp__about-price { margin: 6px 0 24px; font-size: 15px; }
.pdp__about-text { max-width: 600px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; }
.pdp__about-text p { margin: 0 0 1em; }
.pdp__about-media { margin: 0; position: relative; min-height: 560px; overflow: hidden; background: var(--bg); }
.pdp__about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.pdp .accordions { max-width: 600px; margin-top: 28px; border-top: 0; }
.accordion { border-bottom: 0; scroll-margin-top: 120px; }
.accordion summary { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 15px; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.accordion[open] summary .icon { transform: rotate(45deg); }
.accordion__body { padding: 4px 0 16px; font-size: 14px; color: var(--ink-2); }
.accordion__body p { margin: 0 0 .8em; }
.accordion__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }

/* Size drawer rows */
.size-list { padding: 0; }
.size-row {
	display: flex; align-items: center; justify-content: space-between; width: 100%;
	padding: 15px 20px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
	transition: background-color .15s;
}
.size-row:hover:not(:disabled) { background: var(--bg-2); }
.size-row__eu { font-size: 16px; }
.size-row__state { font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.size-row.is-active { background: var(--ink); color: var(--white); }
.size-row.is-active .size-row__state { color: rgba(255,255,255,.7); }
.size-row:disabled { cursor: not-allowed; color: #b9b4b0; }
.size-row:disabled .size-row__eu { text-decoration: line-through; }

.related-carousel { margin-top: 0; }
.stock.out-of-stock { color: var(--red); }

@media (max-width: 1024px) {
	.pdp__top { grid-template-columns: 1fr; }
	.pdp__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-right: 0; }
	.pdp__gallery::-webkit-scrollbar { display: none; }
	.pdp__shot, .pdp__gallery--1 .pdp__shot, .pdp__gallery--3 .pdp__shot:last-child { flex: 0 0 82%; aspect-ratio: 4 / 5; scroll-snap-align: start; border-right: 1px solid var(--line); }
	.pdp__panel { position: static; padding: 0; }
	.pdp__card { border-radius: 0; }
	.pdp__about { grid-template-columns: 1fr; }
	.pdp__about-copy { border-right: 0; }
	.pdp__about-media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Mini cart (inside the floating cart drawer)
   ========================================================================== */
.mini-cart__note { flex: none; margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line); color: var(--red); font-size: 11px; }

.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; flex: 1; overflow-y: auto; }
.mini-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mini-item__media { display: block; aspect-ratio: 1 / 1; background: var(--bg); border-radius: 4px; overflow: hidden; }
.mini-item__media:hover { opacity: 1; }
.mini-item__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.mini-item__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
.mini-item__meta { color: var(--muted); font-size: 11px; }
.mini-item__name { font-size: 14px; }
.mini-item__name:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.mini-item__variant { color: var(--ink-2); font-size: 12px; }
.mini-item .variation { display: flex; gap: 4px; margin: 0; font-size: 12px; color: var(--ink-2); }
.mini-item .variation dt, .mini-item .variation dd, .mini-item .variation p { margin: 0; }
.mini-item__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 10px; }
.mini-item .quantity { font-size: 13px; color: var(--ink); }
.mini-item .remove { font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.mini-item .remove:hover { opacity: 1; color: var(--red); }

.mini-cart__empty { flex: 1; padding: 22px 20px; }
.mini-cart__empty-title { margin: 0 0 4px; font-size: 18px; }
.mini-cart__empty p { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; }
.mini-cart__empty .dot-links { flex-direction: column; gap: 10px; }
.mini-cart__empty .dot-link { font-size: 14px; }

.mini-cart__foot { flex: none; margin-top: auto; border-top: 1px solid var(--line); padding: 0 20px 20px; background: var(--white); }
.ship-bar { margin: 0 -20px 0; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.ship-bar p { margin: 0 0 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.ship-bar strong { font-weight: 400; color: var(--red); }
.ship-bar__track { display: block; height: 2px; background: var(--line); }
.ship-bar__fill { display: block; height: 100%; background: var(--red); transition: width .6s var(--ease); }
.ship-bar.is-done .ship-bar__fill { background: #2f9e5a; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 14px 0 6px; font-size: 14px; }
.woocommerce-mini-cart__total strong { font-weight: 400; }
.woocommerce-mini-cart__buttons { display: grid; gap: 0; margin: 0; }
.woocommerce-mini-cart__buttons .account-btn { margin-top: 6px; }

/* ==========================================================================
   Notices
   ========================================================================== */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	list-style: none; margin: 0 0 16px; padding: 12px 16px;
	background: var(--white); border-left: 2px solid var(--ink); border-radius: 4px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px;
}
.woocommerce-error { border-color: var(--red); }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 36px; padding: 6px 14px; border-radius: 4px; font-size: 13px; }
.site-main--woo .woocommerce-notices-wrapper:not(:empty) { padding: 16px var(--gutter) 0; }

/* ==========================================================================
   Woo pages: compact page bar (cart, checkout, account)
   ========================================================================== */
.site-main--woo { max-width: none; padding: 0 0 96px; }
.woo-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.woo-bar__title { margin: 0; font-size: 18px; letter-spacing: 0; }
.site-main--woo > .woocommerce { max-width: none; }

/* ==========================================================================
   Cart page
   ========================================================================== */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); min-height: 60vh; }
.cart-layout__items { border-right: 1px solid var(--line); }
.cart-list { display: grid; }
.cart-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 20px; padding: 20px var(--gutter); border-bottom: 1px solid var(--line); }
.cart-row__media a, .cart-row__media > img { display: block; }
.cart-row__media img { width: 150px; height: 150px; object-fit: contain; padding: 10px; background: var(--white); border-radius: 6px; mix-blend-mode: normal; }
.cart-row__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.cart-row__meta { color: var(--muted); font-size: 12px; }
.cart-row__name { font-size: 16px; }
.cart-row__name:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.cart-row__variant { color: var(--ink-2); font-size: 13px; }
.cart-row__unit { margin-top: 4px; font-size: 13px; }
.cart-row__info .variation { display: flex; gap: 4px; margin: 0; font-size: 13px; color: var(--ink-2); }
.cart-row__info .variation dt, .cart-row__info .variation dd, .cart-row__info .variation p { margin: 0; }
.cart-row__actions { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 14px; }
.cart-row__total { font-size: 15px; white-space: nowrap; }
.cart-row .remove { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.cart-row .remove:hover { opacity: 1; color: var(--red); }

/* qty stepper */
.woocommerce-cart-form .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 4px; background: var(--white); }
.woocommerce-cart-form .quantity .qty { width: 40px; height: 34px; min-height: 0; padding: 0; border: 0; background: transparent; text-align: center; font-size: 14px; -moz-appearance: textfield; }
.woocommerce-cart-form .quantity .qty::-webkit-inner-spin-button, .woocommerce-cart-form .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-step { width: 32px; height: 34px; border: 0; background: none; font-size: 16px; color: var(--ink-2); }
.qty-step:hover { color: var(--red); }

.cart-list__actions { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px var(--gutter); }
.cart-coupon summary { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; list-style: none; }
.cart-coupon summary::-webkit-details-marker { display: none; }
.cart-coupon summary .icon { width: 12px; height: 12px; transition: transform .3s; }
.cart-coupon[open] summary .icon { transform: rotate(45deg); }
.cart-coupon .coupon { display: flex; gap: 6px; margin-top: 10px; }
.cart-coupon .coupon input { width: 220px; min-height: 40px; border: 0; border-radius: 4px; background: var(--white); font-size: 13px; }
.cart-coupon .coupon .account-btn { width: auto; margin: 0; min-height: 40px; }
.cart-update { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* summary column */
.cart-layout__summary { padding: 24px var(--gutter); }
.cart-collaterals .cart_totals { position: sticky; top: calc(var(--header-h) + var(--announce-h) + 24px); }
.cart-summary__title { margin: 0 0 10px; font-size: 18px; letter-spacing: 0; }
.cart-summary__intro { margin: 0 0 20px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.cart_totals .ship-bar { margin: 0 0 4px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.cart-summary__rows { margin: 0 0 18px; }
.cart-summary__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cart-summary__rows dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; align-self: center; }
.cart-summary__rows dd { margin: 0; text-align: right; }
.cart-summary__rows dd.mono { font-size: 11px; color: var(--muted); align-self: center; }
.cart-summary__rows .order-total dd { font-size: 18px; }
.cart-summary__rows .order-total dt { color: var(--ink); }
.cart-summary__rows .woocommerce-remove-coupon { margin-left: 6px; font-size: 12px; color: var(--muted); }
.checkout-button.account-btn { min-height: 52px; justify-content: flex-start; margin-top: 0; font-size: 15px; }
.checkout-button .lock { margin-left: auto; }
.checkout-button.is-disabled { opacity: .45; cursor: not-allowed; }
.cart-summary__perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 12px; color: var(--ink-2); }
.cart-summary__perks li { display: flex; align-items: center; gap: 8px; }
.cart-summary__perks .icon { width: 15px; height: 15px; }

.cart-empty-box { padding: 32px var(--gutter); }
.cart-empty-box__title { margin: 0 0 14px; font-size: 20px; }
.cart-empty-box .dot-links { flex-direction: column; gap: 10px; }
.cart-empty-box .dot-link { font-size: 14px; }
.cart-layout--empty .cart-layout__summary .account-btn { margin-top: 0; }
.woocommerce-cart .cart-empty.woocommerce-info { display: none; }
.return-to-shop { display: none; }

@media (max-width: 900px) {
	.cart-layout { grid-template-columns: 1fr; }
	.cart-layout__items { border-right: 0; }
	.cart-row { grid-template-columns: 96px minmax(0, 1fr); }
	.cart-row__media img { width: 96px; height: 96px; }
	.cart-row__total { grid-column: 2; }
	.cart-list__actions { flex-direction: column; }
	.cart-layout__summary { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   Checkout (classic, custom templates) – white steps left, summary right
   ========================================================================== */
.woocommerce-checkout .site-main--woo { padding-bottom: 0; }
.woocommerce-checkout .woo-bar { background: var(--white); }
.co { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); min-height: calc(100svh - var(--header-h) - var(--announce-h) - 58px); }
.co__main { background: var(--white); padding: 12px var(--gutter) 72px; }
.co__form { max-width: 600px; margin: 0 clamp(0px, 4vw, 64px) 0 auto; }
.co__summary { border-left: 1px solid var(--line); background: var(--bg); padding: 36px var(--gutter) 48px; }
.co__summary-inner { position: sticky; top: calc(var(--header-h) + var(--announce-h) + 24px); max-width: 440px; margin-left: clamp(0px, 3vw, 48px); }

/* Steps */
.co-step { padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.co-step:last-child { border-bottom: 0; }
.co-step__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.co-step__title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 19px; letter-spacing: 0; }
.co-step__num { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 4px; background: var(--bg); color: var(--red); font-family: var(--f-mono); font-size: 11px; }
.co-step__aside { font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.co-muted { margin: 0; font-size: 14px; color: var(--muted); }
.co-free { color: #2f9e5a; }

/* Fields: floating small label inside a bordered box */
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-fields .form-row { position: relative; margin: 0; grid-column: 1 / -1; }
.co-fields .form-row-first { grid-column: 1; }
.co-fields .form-row-last { grid-column: 2; }
.co-fields .form-row label {
	position: absolute; top: 9px; left: 15px; z-index: 1;
	margin: 0; font-size: 11px; line-height: 1; color: var(--muted); pointer-events: none;
}
.co-fields .form-row label .required { color: var(--red); text-decoration: none; border: 0; }
.co-fields .form-row label .optional { display: none; }
.co-fields .woocommerce-input-wrapper { display: block; }
.co-fields input.input-text, .co-fields select, .co-fields textarea {
	width: 100%; min-height: 56px; padding: 24px 14px 8px;
	border: 1px solid #ddd8d3; border-radius: 8px; background: var(--white);
	font-size: 15px; color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
}
.co-fields input.input-text::placeholder, .co-fields textarea::placeholder { color: transparent; }
.co-fields input.input-text:focus, .co-fields select:focus, .co-fields textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(34, 34, 34, .08); outline: none; }
.co-fields textarea { min-height: 96px; resize: vertical; }
.co-fields .woocommerce-invalid input.input-text { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 36, 59, .1); }
.co-fields .checkout-inline-error-message, .co-fields .woocommerce-error { margin: 6px 2px 0; padding: 0; border: 0; background: none; color: var(--red); font-size: 12px; }
/* Country fixed to Serbia */
.co-fields #billing_country_field .woocommerce-input-wrapper strong,
.co-fields #shipping_country_field .woocommerce-input-wrapper strong {
	display: flex; align-items: flex-end; min-height: 56px; padding: 24px 14px 9px;
	border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2);
	font-weight: 400; font-size: 15px;
}

/* Extras: different billing address, courier note, create account */
.co-extra { margin-top: 14px; }
.co-extra__toggle { margin: 0; font-size: 14px; font-weight: 400; }
.co-check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.co-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.co-extra .shipping_address { margin-top: 14px; }
.co-note summary { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; list-style: none; }
.co-note summary::-webkit-details-marker { display: none; }
.co-note summary .icon { width: 12px; height: 12px; transition: transform .3s; }
.co-note[open] summary .icon { transform: rotate(45deg); }
.co-note .woocommerce-additional-fields__field-wrapper { margin-top: 12px; }
.co-note .form-row { position: relative; margin: 0; }
.co-note .form-row label { position: absolute; top: 9px; left: 15px; font-size: 11px; color: var(--muted); }
.co-note .form-row label .optional { display: none; }
.co-note textarea { min-height: 96px; padding: 26px 14px 10px; border: 1px solid #ddd8d3; border-radius: 8px; font-size: 15px; }
.co-note textarea::placeholder { color: #b9b4b0; }
.co-account { margin-top: 14px; }
.co-account .create-account.co-fields { margin-top: 12px; }
.woocommerce-checkout .woocommerce-form-login-toggle { display: none; }

/* Option cards (shipping + payment) */
.co-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.co-option { position: relative; border: 1px solid #ddd8d3; border-radius: 8px; background: var(--white); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.co-option > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.co-option__label { display: flex; align-items: center; gap: 14px; padding: 16px; cursor: pointer; font-size: 15px; }
.co-option__radio { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: border-color .2s; }
.co-option__radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .2s var(--ease); }
.co-option__title { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.co-option__title small { font-size: 12px; color: var(--muted); }
.co-option__price { flex: none; font-size: 14px; }
.co-option__icon img { max-height: 22px; width: auto; }
.co-option:has(> input:checked), .co-option:has(.is-checked) { border-color: var(--ink); box-shadow: inset 0 0 0 .5px var(--ink); background: #fcfbfa; }
.co-option:has(> input:checked) .co-option__radio, .co-option .is-checked .co-option__radio { border-color: var(--red); }
.co-option:has(> input:checked) .co-option__radio::after, .co-option .is-checked .co-option__radio::after { transform: scale(1); }
.co-option > input:focus-visible + .co-option__label { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 8px; }
.co-option__box { margin: -6px 16px 14px 48px; font-size: 13px; color: var(--ink-2); }
.co-option__box p { margin: 0; }

/* Place order */
.co-step--pay .place-order { margin-top: 18px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 12px; color: var(--muted); line-height: 1.5; }
.woocommerce-terms-and-conditions-wrapper p { margin: 0 0 12px; }
.woocommerce-terms-and-conditions-wrapper a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.co-submit-wrap { position: relative; color: var(--white); }
.co-submit, #place_order.co-submit {
	display: flex; align-items: center; gap: 10px; width: 100%;
	min-height: 60px; padding: 0 20px;
	border: 0; border-radius: 8px;
	background: var(--red); color: var(--white);
	font-size: 16px; text-align: left;
	transition: background-color .2s, transform .2s;
}
.co-submit::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.co-submit:hover { background: var(--red-d); color: var(--white); }
.co-submit:active { transform: scale(.995); }
.co-submit.processing, .co-submit:disabled { opacity: .7; }
.co-submit__total { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); font-size: 15px; pointer-events: none; }
.co-submit__lock { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); pointer-events: none; }

/* Summary column */
.co__summary-title { margin: 0 0 18px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
.co-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.co-item { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.co-item__media { position: relative; width: 68px; height: 68px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.co-item__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.co-item__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 11px; line-height: 22px; text-align: center; }
.co-item__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.co-item__name { font-size: 14px; }
.co-item__meta { font-size: 12px; color: var(--muted); }
.co-item__total { font-size: 14px; white-space: nowrap; }
.co-item__total del { display: block; font-size: 12px; color: var(--muted); }

.co-totals { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-2); }
.co-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.co-totals dt { color: var(--ink-2); }
.co-totals dd { margin: 0; text-align: right; }
.co-totals .order-total { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); align-items: baseline; }
.co-totals .order-total dt { color: var(--ink); font-size: 16px; }
.co-totals .order-total dd { font-size: 24px; letter-spacing: -.01em; }
.co-totals .order-total small { display: block; font-size: 11px; color: var(--muted); }
.co-totals .woocommerce-remove-coupon { margin-left: 6px; font-size: 12px; color: var(--muted); }

.co-coupon { display: flex !important; gap: 8px; margin: 20px 0 0; }
.co-coupon input { flex: 1; min-height: 46px; border: 1px solid #ddd8d3; border-radius: 8px; background: var(--white); font-size: 14px; }
.co-coupon input:focus { border-color: var(--ink); }
.co-coupon__btn { min-height: 46px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 8px; background: transparent; font-size: 14px; }
.co-coupon__btn:hover { background: var(--ink); color: var(--white); }
.co__perks { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 12px; color: var(--ink-2); }
.co__perks li { display: flex; align-items: center; gap: 8px; }
.co__perks .icon { width: 15px; height: 15px; }

.woocommerce-checkout .blockUI.blockOverlay { background: rgba(255, 255, 255, .55) !important; }
.woocommerce-NoticeGroup-checkout { grid-column: 1 / -1; }
.woocommerce-NoticeGroup-checkout .woocommerce-error { margin: 18px 0 0; }

@media (max-width: 960px) {
	.co { grid-template-columns: 1fr; }
	.co__summary { order: -1; border-left: 0; border-bottom: 1px solid var(--line); padding: 20px var(--gutter); }
	.co__summary-inner { position: static; max-width: none; margin: 0; }
	.co__perks { display: none; }
	.co__form { max-width: none; margin: 0; }
}
@media (max-width: 520px) {
	.co-fields { grid-template-columns: 1fr; }
	.co-fields .form-row-first, .co-fields .form-row-last { grid-column: 1 / -1; }
}

/* Order received */
.woocommerce-order { padding: 28px var(--gutter); max-width: 920px; }
.woocommerce-thankyou-order-received { font-size: 22px; margin: 0 0 20px; }
.woocommerce-order-overview { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.woocommerce-order-overview li { padding: 14px 16px; background: var(--white); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-family: var(--f-sans); font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 400; }

/* ==========================================================================
   My account
   ========================================================================== */
/* Guest: big photo + forms card */
.account-split { display: grid; grid-template-columns: minmax(0, 1fr) min(440px, 100%); min-height: calc(100svh - var(--header-h) - var(--announce-h) - 58px); }
.account-split__media { position: relative; margin: 0; overflow: hidden; background: var(--bg-2); }
.account-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.account-split__card { align-self: start; margin: 12px; background: var(--white); border-radius: 8px; overflow: hidden; }
.account-form__check { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; }
.account-form__check input { width: 15px; height: 15px; accent-color: var(--ink); }
.account-split .account-pitch__title { font-size: 18px; }
@media (max-width: 900px) {
	.account-split { grid-template-columns: 1fr; min-height: 0; }
	.account-split__media { aspect-ratio: 4 / 3; }
	.account-split__card { margin: 0; border-radius: 0; }
}

/* Logged in: nav column + content */
.account-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 60vh; }
.account-nav { padding: 28px var(--gutter); border-right: 1px solid var(--line); }
.account-nav__hello { margin: 0 0 20px; font-size: 22px; line-height: 1.2; }
.account-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.account-nav .dot-link { font-size: 14px; color: var(--ink-2); }
.account-nav .dot-link::before { opacity: 0; transition: opacity .2s; }
.account-nav .is-active .dot-link { color: var(--ink); }
.account-nav .is-active .dot-link::before, .account-nav .dot-link:hover::before { opacity: 1; background: var(--red); }
.account-nav .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.account-layout__content { padding: 28px var(--gutter) 40px; min-width: 0; }
.account-layout__content > h2, .account-layout__content h2 { font-size: 18px; letter-spacing: 0; }

.account-dash__intro { margin: 0 0 22px; max-width: 34em; font-size: 15px; color: var(--ink-2); }
.account-dash__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.account-tile { display: flex; flex-direction: column; gap: 4px; min-height: 170px; padding: 20px; background: var(--white); border-radius: 8px; transition: transform .35s var(--ease), box-shadow .3s; }
.account-tile:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 16px 34px -24px rgba(0,0,0,.3); }
.account-tile__title { font-size: 18px; }
.account-tile__meta { font-size: 13px; color: var(--muted); }
.account-tile__go { margin-top: auto; font-size: 13px; }
.account-tile--accent { background: var(--red); color: var(--white); }
.account-tile--accent .account-tile__meta { color: rgba(255,255,255,.8); }

/* Tables (orders, downloads, order details) */
.account-layout__content table.shop_table, .woocommerce-order table.shop_table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 8px; overflow: hidden; font-size: 14px; }
.account-layout__content table.shop_table th, .woocommerce-order table.shop_table th { padding: 12px 16px; text-align: left; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.account-layout__content table.shop_table td, .woocommerce-order table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.account-layout__content table.shop_table tr:last-child td { border-bottom: 0; }
.account-layout__content .button, .woocommerce-order .button { min-height: 34px; padding: 6px 12px; border-radius: 4px; font-size: 13px; }
.woocommerce-orders-table__cell-order-status { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }

/* Addresses */
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.woocommerce-Address { padding: 20px; background: var(--white); border-radius: 8px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { margin: 0; font-size: 16px; }
.woocommerce-Address-title .edit { font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.woocommerce-Address address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* Account forms (edit account / address) */
.account-layout__content form .form-row { margin: 0 0 12px; }
.account-layout__content form label { display: block; margin-bottom: 5px; font-size: 13px; color: var(--ink-2); }
.account-layout__content form input.input-text, .account-layout__content form select, .account-layout__content form textarea { min-height: 44px; border: 0; border-radius: 4px; background: var(--white); }
.account-layout__content form input.input-text:focus { box-shadow: inset 0 0 0 1px var(--ink); }
.account-layout__content form .form-row-first, .account-layout__content form .form-row-last { display: inline-block; width: calc(50% - 6px); }
.account-layout__content form .form-row-first { margin-right: 8px; }
.account-layout__content fieldset { margin: 24px 0; padding: 20px; border: 0; background: var(--white); border-radius: 8px; }
.account-layout__content fieldset legend { padding: 0; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.account-layout__content form .button { min-height: 46px; padding: 10px 20px; background: var(--red); border-color: var(--red); }
.account-layout__content form .button:hover { background: var(--red-d); border-color: var(--red-d); }

@media (max-width: 900px) {
	.account-layout { grid-template-columns: 1fr; }
	.account-nav { border-right: 0; border-bottom: 1px solid var(--line); }
	.account-nav ul { display: flex; flex-wrap: wrap; gap: 8px 16px; }
	.woocommerce-Addresses { grid-template-columns: 1fr; }
	.account-layout__content form .form-row-first, .account-layout__content form .form-row-last { display: block; width: 100%; margin-right: 0; }
}

.star-rating { display: none; }

/* Filters: attribute counts outside the pills look noisy – hide them */
.widget_layered_nav .count { display: none; }
.woocommerce-result-count { white-space: nowrap; }

/* Breadcrumb separators everywhere */
.woocommerce-breadcrumb .sep { margin: 0 .45em; opacity: .7; }

/* Order received / order details */
.woocommerce-order h2, .woocommerce-order-details__title, .woocommerce-column__title { margin: 28px 0 12px; font-size: 18px; letter-spacing: 0; }
.woocommerce-order > p { font-size: 14px; color: var(--ink-2); }
.woocommerce-customer-details address { padding: 16px 20px; background: var(--white); border-radius: 8px; font-style: normal; font-size: 14px; line-height: 1.6; }
.woocommerce-customer-details .woocommerce-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.woocommerce-order table.shop_table tfoot th { font-family: var(--f-mono); }
.woocommerce-order-details .product-name a { text-decoration: underline; text-underline-offset: 2px; }
.woocommerce-thankyou-order-received { padding: 14px 18px; background: var(--white); border-left: 2px solid #2f9e5a; border-radius: 4px; font-size: 18px; }
@media (max-width: 700px) { .woocommerce-customer-details .woocommerce-columns { grid-template-columns: 1fr; } }

/* WooCommerce "show password" toggle (core CSS is disabled) */
.password-input { position: relative; display: block; }
.password-input input { padding-right: 44px; }
.show-password-input {
	position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
	width: 30px; height: 30px; padding: 0; border: 0; border-radius: 4px;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%237d7b7d' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 18px no-repeat;
	font-size: 0;
}
.show-password-input.display-password { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23222' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E"); }

/* Checkout: field errors are shown inline – keep the top list only for other errors */
.woocommerce-NoticeGroup-checkout .woocommerce-error li[data-id] { display: none; }
.woocommerce-NoticeGroup-checkout:not(:has(.woocommerce-error li:not([data-id]))) { display: none; }
.co-fields .form-row .required { text-decoration: none; }

/* ==========================================================================
   Thank you page
   ========================================================================== */
.woocommerce-order.ty { max-width: 1120px; margin: 0 auto; padding: 48px var(--gutter) 24px; }
.ty__hero { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.ty__check {
	display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px;
	border-radius: 50%; background: var(--red); color: var(--white);
	box-shadow: 0 0 0 8px rgba(227, 36, 59, .1);
}
.ty__hero .eyebrow { margin-bottom: 10px; }
.ty .ty__title { margin: 0 0 14px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.01em; }
.ty__lead { margin: 0 auto; max-width: 34em; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ty__lead strong { font-weight: 400; color: var(--ink); }

.ty__steps { position: relative; list-style: none; margin: 34px auto 0; padding: 0; max-width: 560px; display: grid; grid-template-columns: repeat(4, 1fr); }
.ty__steps::before { content: ""; position: absolute; top: 6px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
.ty__steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.ty__steps li.is-done:not(:first-child)::before { content: ""; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: var(--red); }
.ty__dot { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--line-2); }
.ty__steps li.is-done .ty__dot { background: var(--red); border-color: var(--red); }
.ty__steps li.is-current .ty__dot { box-shadow: 0 0 0 5px rgba(227, 36, 59, .15); }
.ty__steps li.is-done { color: var(--ink); }

.ty__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.ty__side { display: grid; gap: 12px; }
.ty__card { padding: 22px; background: var(--white); border-radius: 8px; }
.ty__card-title { margin: 0 0 16px; font-size: 11px; font-weight: 400; color: var(--muted); }
.ty__items .co-totals { margin-top: 20px; }
.ty__items .co-item__name:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.ty__facts { margin: 0; display: grid; gap: 10px; }
.ty__facts > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ty__facts dt { color: var(--muted); }
.ty__facts dd { margin: 0; text-align: right; }
.ty__gateway:not(:empty) { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ty__gateway p { margin: 0; }
.ty__address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ty__actions { display: grid; gap: 6px; }
.ty__actions .account-btn { margin-top: 0; min-height: 50px; }
.ty__hero--failed .ty__actions { max-width: 320px; margin: 24px auto 0; }

@media (max-width: 860px) {
	.ty__grid { grid-template-columns: 1fr; }
	.ty__steps li { font-size: 11px; }
}

/* Account: inputs inside white fieldsets need contrast */
.account-layout__content fieldset input.input-text { background: var(--bg); }
.account-layout__content form em { display: block; margin-top: 4px; font-size: 12px; font-style: normal; color: var(--muted); }
