/* ==========================================================================
   Africa – WooCommerce (shop, product, drawers, cart & checkout)
   ========================================================================== */

/* Prices ------------------------------------------------------------------ */
.price, .sp__price { font-variant-numeric: tabular-nums; }
.sp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-weight: 500; }
.sp__price del { order: 2; color: var(--muted); font-weight: 400; }
.sp__price ins { order: 1; padding: 0 4px; background: var(--c-black); color: var(--c-white); text-decoration: none; }

/* Breadcrumb -------------------------------------------------------------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.breadcrumb__sep { opacity: .6; }

/* Catalogue header + toolbar --------------------------------------------- */
.shop-head { padding: 12px var(--gutter) clamp(40px, 6vw, 88px); }
.shop-head__title { margin-top: clamp(32px, 5vw, 64px); text-transform: uppercase; font-weight: 500; }
.shop-head__desc { margin-top: 8px; max-width: 46ch; color: var(--muted); }

.shop-toolbar {
	position: sticky;
	top: var(--header-h);
	z-index: 50;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	min-height: var(--bar-h);
	padding-inline: var(--gutter);
	background: var(--c-white);
	text-transform: uppercase;
	font-weight: 500;
	transition: top .35s ease;
}
.is-header-hidden .shop-toolbar { top: 0; }
.shop-toolbar__center { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.shop-toolbar__active { color: var(--muted); }
.shop-toolbar__right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.shop-toolbar__filter { text-transform: uppercase; font-weight: 500; }
.shop-toolbar__filter:hover { text-decoration: underline; text-underline-offset: 2px; }

.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { appearance: none; border: 0; background: transparent; padding: 0; font: inherit; text-transform: uppercase; color: inherit; cursor: pointer; text-align: right; }

/* Grid -------------------------------------------------------------------- */
.shop-main { padding-bottom: var(--section-y); }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--gap); }

.load-more { display: grid; justify-items: center; gap: 12px; margin-top: 48px; padding-inline: var(--gutter); }
.load-more__count { margin: 0; text-transform: uppercase; font-weight: 500; font-size: 11px; color: var(--c-muted); }
.load-more__bar { display: block; width: 220px; height: 2px; background: var(--c-line); }
.load-more__bar span { display: block; height: 100%; background: var(--c-black); transition: width .4s ease; }
.load-more__btn { min-width: 220px; justify-content: center; text-transform: uppercase; margin-top: 6px; }

.shop-empty { padding: 60px var(--gutter); display: grid; justify-items: center; gap: 10px; text-align: center; }
.shop-empty__title { margin: 0; text-transform: uppercase; font-weight: 500; }
.shop-empty__title em { font-style: normal; }

/* Drawers (cart + filters) ----------------------------------------------- */
.cart-drawer, .filter-drawer { position: fixed; inset: 0; z-index: 170; visibility: hidden; transition: visibility 0s .35s; }
.cart-drawer__overlay, .filter-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .25); opacity: 0; transition: opacity .35s; }
.cart-drawer__panel, .filter-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(440px, 100%);
	display: flex;
	flex-direction: column;
	background: var(--c-white);
	color: var(--c-black);
	transform: translateX(100%);
	transition: transform .35s ease;
	--bg: var(--c-white);
	--fg: var(--c-black);
	--muted: var(--c-muted);
	--line: var(--c-line);
}
.is-cart-open .cart-drawer, .is-filter-open .filter-drawer { visibility: visible; transition: none; }
.is-cart-open .cart-drawer__overlay, .is-filter-open .filter-drawer__overlay { opacity: 1; }
.is-cart-open .cart-drawer__panel, .is-filter-open .filter-drawer__panel { transform: none; }

.cart-drawer__head, .filter-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--bar-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); text-transform: uppercase; font-weight: 500; }
.cart-drawer__title, .filter-drawer__title { margin: 0; }
.cart-drawer__count { margin-left: 4px; }
.cart-drawer__count::before { content: "("; }
.cart-drawer__count::after { content: ")"; }
.cart-drawer .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.shipping-bar { padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.shipping-bar p { margin-bottom: 8px; }
.shipping-bar__track { display: block; height: 3px; background: var(--c-grey); }
.shipping-bar__track span { display: block; height: 100%; background: var(--c-sand); }

/* Mini cart --------------------------------------------------------------- */
.mini-cart { list-style: none; flex: 1; overflow-y: auto; padding: 0 var(--gutter); overscroll-behavior: contain; }
.mini-cart__item { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.mini-cart__item.is-removing { opacity: .35; pointer-events: none; }
.mini-cart__thumb { display: block; aspect-ratio: 1500 / 1814; background: var(--c-photo); overflow: hidden; }
.mini-cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-cart__name { font-weight: 500; }
.mini-cart__meta { margin: 2px 0 8px; color: var(--muted); }
.mini-cart__meta strong { color: var(--fg); font-weight: 500; }
.mini-cart__remove { text-transform: uppercase; text-decoration: underline; color: var(--muted); font-size: 11px; }
.mini-cart__price { margin: 0; font-weight: 500; white-space: nowrap; }
.mini-cart__foot { padding: 14px var(--gutter) 20px; border-top: 1px solid var(--line); }
.mini-cart__total { display: flex; justify-content: space-between; margin: 0; text-transform: uppercase; font-weight: 500; }
.mini-cart__note { color: var(--muted); margin: 4px 0 14px; }
.mini-cart__buttons { display: grid; justify-items: center; gap: 12px; }
.mini-cart__empty { flex: 1; display: grid; align-content: center; justify-items: start; gap: 10px; padding: 24px var(--gutter); }
.mini-cart__empty-title { margin: 0; text-transform: uppercase; font-weight: 500; }

.btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-added { opacity: .7; }

/* Filters ----------------------------------------------------------------- */
.filter-drawer__body { flex: 1; overflow-y: auto; padding: 0 var(--gutter); }
.filter-group { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 14px 0 16px; }
.filter-group legend { float: left; width: 100%; margin-bottom: 10px; text-transform: uppercase; font-weight: 500; }
.filter-group__options { clear: both; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-option { position: relative; cursor: pointer; display: inline-flex; align-items: center; }
.filter-option input { position: absolute; opacity: 0; pointer-events: none; }
.filter-option__label { display: inline-flex; align-items: center; min-height: 30px; padding: 0 8px; border: 1px solid var(--line); }
.filter-option:hover .filter-option__label { border-color: var(--fg); }
.filter-option input:checked ~ .filter-option__label { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.filter-option input:focus-visible ~ .filter-option__label { outline: 1px solid var(--fg); outline-offset: 2px; }
.filter-group--velicina .filter-option__label { min-width: 40px; justify-content: center; }
.filter-group--boja .filter-option__label { padding-left: 26px; }
.filter-option__swatch { position: absolute; left: 8px; top: 50%; z-index: 1; width: 12px; height: 12px; margin-top: -6px; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.filter-drawer__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); border-top: 1px solid var(--line); }

/* Single product ---------------------------------------------------------- */
.sp__layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.sp__gallery { position: relative; }
.sp__track { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.sp__image:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sp__image { position: relative; aspect-ratio: 1500 / 1814; overflow: hidden; background: var(--c-photo); cursor: zoom-in; }
.sp__image img { transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.sp__image:hover img { transform: scale(1.03); }
.sp__image img { width: 100%; height: 100%; object-fit: cover; }
.sp__badge { top: 14px; left: 14px; }
.sp__dots { display: none; }

.sp__summary { align-self: stretch; padding: 32px clamp(24px, 4.5vw, 72px) 0; }
.sp__sticky { position: sticky; top: calc(var(--header-h) + 24px); max-width: 460px; display: grid; gap: 0; padding-bottom: 32px; }
.is-header-hidden .sp__sticky { top: 24px; }
.sp__sticky .breadcrumb { margin-bottom: 36px; }
.sp__brand { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; font-size: 11px; color: var(--muted); }
.sp__title { font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -.02em; text-transform: none; margin-bottom: 14px; }
.sp__price { margin-bottom: 18px; font-size: var(--fs-l); }
.sp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--muted); padding: 14px 0; margin-bottom: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sp__meta strong { color: var(--fg); font-weight: 500; }
.sp__origin { color: var(--fg); padding: 0 4px; border: 1px solid var(--fg); text-transform: uppercase; font-weight: 500; }

.sp__cart { margin-bottom: 28px; }
.size-picker__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; text-transform: uppercase; font-weight: 500; }
.size-picker__label strong { font-weight: 500; }
.size-picker__guide { text-transform: uppercase; text-decoration: underline; color: var(--muted); }
.size-picker__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.size-pill { height: 44px; padding: 0 12px; text-align: left; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 500; font-variant-numeric: tabular-nums; }
.size-pill:hover:not(:disabled) { background: var(--c-grey); }
.size-pill.is-active { background: var(--c-black); color: var(--c-white); }
.size-pill:disabled { color: #b3b3b3; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)); }
.size-picker__error { margin: 8px 0 0; color: #b00020; }
.size-picker.is-shaking .size-picker__options { animation: shake .35s; }
@keyframes shake { 25%, 75% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.size-picker__select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.reset_variations { display: none !important; }
.single_variation_wrap { margin-top: 16px; }
.single_add_to_cart_button { min-height: 50px; padding-inline: 16px; }
.woocommerce-variation-price, .woocommerce-variation-description { display: none; }
.woocommerce-variation-availability .stock { margin: 0 0 10px; }
.woocommerce-variation-availability .stock.out-of-stock { color: #b00020; }
.single_add_to_cart_button { text-transform: uppercase; }
.single_add_to_cart_button .btn__price { font-weight: 500; }
.sp .added_to_cart { display: none; }

.sp__delivery { margin: 0 0 32px; }
.sp__delivery div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-top: 1px solid var(--line); }
.sp__delivery div:last-child { border-bottom: 1px solid var(--line); }
.sp__delivery dt { text-transform: uppercase; font-weight: 500; }
.sp__delivery dd { margin: 0; color: var(--muted); }

.sp__accordions .faq__item { border: 0; }
.sp__accordions .faq__item:last-child { border: 0; }
.sp__accordions .faq__item { border-top: 1px solid var(--line); }
.sp__accordions .faq__item:last-child { border-bottom: 1px solid var(--line); }
.sp__accordions .faq__item summary { padding: 12px 0; }
.sp__panel { padding: 6px 0 16px; color: var(--muted); }

.spec-table { display: grid; margin: 0; }
.spec-table div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.spec-table dd { margin: 0; color: var(--fg); }

.stock-list { list-style: none; display: grid; }
.stock-list__item { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.stock-list__item strong { color: var(--fg); font-weight: 500; }
.stock-list__status { white-space: nowrap; }
.stock-list__item.is-high .stock-list__status { color: var(--fg); }

.sp-related { margin-top: var(--section-y); }

/* Dialogs ----------------------------------------------------------------- */
.size-guide { border: 0; padding: 0; color: var(--c-black); }
.size-guide::backdrop { background: rgba(0, 0, 0, .3); }
.size-guide { width: min(480px, 100% - 28px); background: var(--c-white); }
.size-guide__inner { padding: 0 20px 20px; }
.size-guide__head { display: flex; justify-content: space-between; align-items: center; min-height: var(--bar-h); text-transform: uppercase; font-weight: 500; }
.size-guide__title { margin: 0; }
.size-guide p { color: var(--c-muted); }
.size-guide table { width: 100%; border-collapse: collapse; margin-top: 12px; font-variant-numeric: tabular-nums; }
.size-guide th, .size-guide td { text-align: left; padding: 5px 0; border-bottom: 1px solid var(--c-line); }
.size-guide th { text-transform: uppercase; font-weight: 500; }
/* Lightbox */
.lightbox {
	width: 100vw;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	display: none;
	grid-template-rows: auto 1fr auto;
	background: var(--c-white);
	color: var(--c-black);
	opacity: 0;
	transition: opacity .25s ease;
}
.lightbox[open] { display: grid; }
.lightbox.is-visible { opacity: 1; }
.lightbox::backdrop { background: rgba(255, 255, 255, .9); }
.is-lightbox-open { overflow: hidden; }
.lightbox__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: var(--bar-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--c-line); text-transform: uppercase; font-weight: 500; }
.lightbox__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lightbox__count { font-variant-numeric: tabular-nums; color: var(--c-muted); }
.lightbox__close { justify-self: end; text-transform: uppercase; font-weight: 500; }
.lightbox__close:hover { text-decoration: underline; text-underline-offset: 2px; }
.lightbox__stage { position: relative; overflow: hidden; background: var(--c-photo); touch-action: pan-y; }
.lightbox__track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.lightbox__stage { min-height: 0; }
.lightbox__slide { position: relative; flex: 0 0 100%; height: 100%; margin: 0; overflow: hidden; }
.lightbox__slide img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; cursor: zoom-in; transition: transform .35s cubic-bezier(.16, 1, .3, 1); user-select: none; -webkit-user-drag: none; }
.lightbox__slide.is-zoomed img { transform: scale(2.2); cursor: zoom-out; transition: transform .35s cubic-bezier(.16, 1, .3, 1), transform-origin .08s linear; }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; background: var(--c-white); border: 1px solid var(--c-line); transition: background .2s, color .2s, border-color .2s; }
.lightbox__nav:hover { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }
.lightbox__nav .icon { width: 20px; height: 20px; }
.lightbox__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; padding: 4px 10px; background: rgba(255, 255, 255, .85); font-size: 11px; text-transform: uppercase; font-weight: 500; transition: opacity .3s; pointer-events: none; }
.lightbox__hint.is-hidden { opacity: 0; }
.lightbox__thumbs { display: flex; justify-content: center; gap: 6px; padding: 10px var(--gutter); overflow-x: auto; border-top: 1px solid var(--c-line); }
.lightbox__thumb { flex: none; width: 56px; aspect-ratio: 1500 / 1814; background: var(--c-photo); outline: 1px solid transparent; outline-offset: 2px; opacity: .55; transition: opacity .2s, outline-color .2s; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb:hover { opacity: 1; }
.lightbox__thumb.is-active { opacity: 1; outline-color: var(--c-black); }
@media (hover: none), (max-width: 900px) {
	.lightbox__hint { display: none; }
	.lightbox__nav { width: 40px; height: 40px; margin-top: -20px; background: rgba(255, 255, 255, .8); }
}

/* Notices ----------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info { list-style: none; margin: 0 0 16px; padding: 10px var(--gutter); background: var(--c-grey); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.woocommerce-error { color: #b00020; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; text-transform: uppercase; text-decoration: underline; }

/* Cart & checkout blocks -------------------------------------------------- */
.woocommerce-cart .entry-content, .woocommerce-checkout .entry-content { padding-bottom: var(--section-y); }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--ff) !important; font-size: var(--fs) !important; }
.wp-block-woocommerce-cart *, .wp-block-woocommerce-checkout * { letter-spacing: var(--ls); }
.wc-block-components-title, .wc-block-cart__totals-title, .wc-block-components-checkout-step__title { font-family: var(--ff) !important; font-size: var(--fs) !important; font-weight: 500 !important; text-transform: uppercase !important; }
.wc-block-components-product-name { font-size: var(--fs) !important; font-weight: 500; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	border-radius: 0 !important;
	background: var(--c-black) !important;
	color: var(--c-white) !important;
	min-height: 40px;
	font-size: var(--fs) !important;
	font-weight: 500 !important;
	text-transform: uppercase;
}
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-textarea, .wc-blocks-components-select__select {
	border-radius: 0 !important;
	border: 0 !important;
	background: var(--c-grey) !important;
}
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: 0 !important; }
.wc-block-components-sidebar { background: var(--c-grey); padding: 20px !important; }
.wc-block-components-formatted-money-amount { font-variant-numeric: tabular-nums; }
.wc-block-components-sale-badge { border-radius: 0 !important; background: var(--c-black) !important; color: var(--c-white) !important; border: 0 !important; text-transform: uppercase; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
	.products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sp__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sp__track { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.shop-toolbar { grid-template-columns: 1fr auto; }
	.shop-toolbar__left { grid-column: 1 / -1; grid-row: 2; padding-bottom: 10px; overflow-x: auto; }
	.shop-toolbar__center { justify-content: flex-start; }
	.shop-toolbar__active { display: none; }
	.woocommerce-ordering { display: none; }

	.sp__layout { grid-template-columns: 1fr; }
	.sp__track { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
	.sp__track::-webkit-scrollbar { display: none; }
	.sp__image { flex: 0 0 100%; scroll-snap-align: start; cursor: auto; }
	.sp__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 4px; }
	.sp__dots span { width: 16px; height: 2px; background: rgba(0, 0, 0, .2); }
	.sp__dots span.is-active { background: var(--c-black); }
	.sp__summary { padding: 16px var(--gutter) var(--section-y); }
	.sp__sticky { position: static; }
}

@media (max-width: 600px) {
	.products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mini-cart__item { grid-template-columns: 72px 1fr; }
	.mini-cart__price { grid-column: 2; }
	.spec-table div { grid-template-columns: 110px 1fr; }
}

/* ==========================================================================
   Purchase flow: focused header, steps, cart extras, thank you
   ========================================================================== */
.site-header--focus { position: relative; border-bottom: 1px solid var(--c-line); }
.header-link--secure { gap: 6px; color: var(--c-muted); }
.header-link--secure .icon { display: block; width: 14px; height: 14px; }
.site-footer--focus { margin-top: 0; }
.site-footer--focus .site-footer__copy a { text-decoration: underline; }

/* Cart / checkout share one centred column; recommendations under the cart stay full width. */
.is-purchase-flow .flow-head, .is-purchase-flow .entry-content { max-width: 1280px; margin-inline: auto; }
.flow-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; padding: 32px var(--gutter) 28px; }
.flow-head__title { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; line-height: 1.1; text-transform: none; }
.flow-head__count { margin-left: 8px; font-size: var(--fs-l); font-weight: 400; color: var(--c-muted); }
.flow-head__shipping { max-width: 420px; margin-top: 16px; }
.flow-head__shipping .shipping-bar { padding: 0; border: 0; }

.steps ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; text-transform: uppercase; font-weight: 500; }
.steps__item { display: flex; align-items: center; gap: 8px; color: var(--c-muted); }
.steps__num { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; }
.steps__item.is-current { color: var(--c-black); }
.steps__item.is-current .steps__num { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.steps__item.is-done { color: var(--c-black); }
.steps__item.is-done .steps__num { font-size: 0; }
.steps__item.is-done .steps__num::before { content: "✓"; font-size: 11px; }
.steps__item a { text-decoration: underline; text-underline-offset: 2px; }

.is-purchase-flow .entry-content > :where(:not(.africa-block)):first-child { margin-top: 0; }
.is-purchase-flow .entry-content > .alignwide { width: auto; margin-inline: var(--gutter); }

.cart-extras { margin-top: 24px; }
.cart-trust { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 16px var(--gutter); background: var(--c-grey); }
.cart-trust li { display: grid; gap: 2px; }
.cart-trust strong { text-transform: uppercase; font-weight: 500; }
.cart-trust span { color: var(--c-muted); }
.cart-trust a { text-decoration: underline; }
.cart-extras .products { margin-top: var(--section-y); }

/* Thank you ---------------------------------------------------------------- */
.thankyou { padding: 0 var(--gutter) var(--section-y); }
.thankyou__head { padding: 24px 0 32px; max-width: 640px; }
.thankyou__title { margin: 14px 0 6px; font-size: var(--fs-xl); font-weight: 500; letter-spacing: -.2px; }
.thankyou__lead { color: var(--c-muted); }
.thankyou__meta { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 24px; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.thankyou__meta div { padding: 10px 0; }
.thankyou__meta dt { text-transform: uppercase; color: var(--c-muted); font-size: 11px; }
.thankyou__meta dd { margin: 2px 0 0; font-weight: 500; }
.thankyou__next { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; counter-reset: step; }
.thankyou__next li { display: grid; gap: 2px; padding: 14px; background: var(--c-grey); counter-increment: step; }
.thankyou__next strong { text-transform: uppercase; font-weight: 500; }
.thankyou__next strong::before { content: counter(step) ". "; }
.thankyou__next span { color: var(--c-muted); }
.thankyou__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.thankyou__grid .bar { padding-inline: 0; min-height: 40px; border-bottom: 1px solid var(--c-line); }
.thankyou__items ul { list-style: none; }
.thankyou__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.thankyou__thumb { display: block; aspect-ratio: 1500 / 1814; background: var(--c-photo); }
.thankyou__thumb img { width: 100%; height: 100%; object-fit: cover; }
.thankyou__name { display: grid; }
.thankyou__name strong { font-weight: 500; }
.thankyou__name span { color: var(--c-muted); }
.thankyou__price { font-weight: 500; }
.thankyou__totals { margin: 10px 0 0; }
.thankyou__totals div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--c-muted); }
.thankyou__totals .is-total { color: var(--c-black); font-weight: 500; border-top: 1px solid var(--c-line); margin-top: 6px; padding-top: 10px; text-transform: uppercase; }
.thankyou__totals dd { margin: 0; }
.thankyou__aside address { margin-top: 12px; }
.thankyou__aside > p { color: var(--c-muted); }
.thankyou__actions { display: grid; justify-items: start; gap: 12px; margin-top: 28px; }

/* ==========================================================================
   Login, registration, my account
   ========================================================================== */
.woocommerce-account .entry-content { padding-bottom: var(--section-y); }
.woocommerce-account .entry-content > .woocommerce { width: 100%; }

/* Logged out: photograph left, one panel with tabs right. */
.woocommerce-account:not(.logged-in) .entry-content { padding-bottom: 0; }
.woocommerce-account .entry-content > .woocommerce { margin-top: 0; }
.woocommerce-account:not(.logged-in) .site-footer { margin-top: 0; } /* the auth panel fills the screen down to the footer */
.woocommerce-account .auth .woocommerce-notices-wrapper { padding: 0; }
.woocommerce-account .woocommerce-notices-wrapper:focus, .woocommerce-account [role="alert"]:focus { outline: none; }
.woocommerce-account :is(.auth, .account__content) :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) { width: auto; margin: 0 0 20px; padding: 12px 14px; align-items: center; }
.woocommerce-account .account__content .woocommerce-message { background: #e3efe3; color: #1f5a2b; }
.auth .woocommerce-error a { color: inherit; text-decoration: underline; }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--header-h) - var(--topbar-h)); }
.auth__media { position: relative; margin: 0; background: var(--c-photo, #eee); }
.auth__media img { position: sticky; top: calc(var(--header-h) + var(--topbar-h)); width: 100%; height: calc(100svh - var(--header-h) - var(--topbar-h)); object-fit: cover; }
.auth__media figcaption { position: absolute; left: var(--gutter); bottom: 20px; text-transform: uppercase; font-size: 11px; font-weight: 500; color: var(--c-black); }
.auth__panel { display: flex; align-items: center; justify-content: center; padding: 56px var(--gutter) 64px; }
.auth__inner { width: 100%; max-width: 400px; }
.auth__title { margin: 0 0 8px; font-size: var(--fs-xl); font-weight: 500; line-height: 1.15; text-transform: none; }
.auth__sub { margin: 0 0 28px; color: var(--c-muted); }
.auth__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; text-transform: uppercase; font-size: 11px; font-weight: 500; color: var(--c-muted); }
.auth__back:hover { color: var(--c-black); text-decoration: none; }
.auth__back .icon { width: 14px; height: 14px; }
.auth__badge { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: var(--c-sand); color: var(--c-black); }
.auth__badge .icon { width: 22px; height: 22px; }
.woocommerce-account .auth .lost_reset_password { display: grid; gap: 16px; max-width: none; margin: 0; padding: 0; }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; border-bottom: 1px solid var(--c-line); }
.auth__tab { position: relative; padding: 12px 0; text-align: center; text-transform: uppercase; font-weight: 500; color: var(--c-muted); text-decoration: none; }
.auth__tab:hover { color: var(--c-black); text-decoration: none; }
.auth__tab[aria-selected="true"] { color: var(--c-black); }
.auth__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c-black); }
.auth__pane .form { display: grid; gap: 16px; }
.auth__pane[hidden] { display: none; }
.auth__perks { list-style: none; display: grid; gap: 10px; margin: 0 0 24px; padding: 16px; background: var(--c-sand-light, #EDE5DA); }
.auth__perks li { display: flex; align-items: center; gap: 10px; }
.auth__perks .icon { flex: none; width: 18px; height: 18px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth__link { color: var(--c-muted); text-decoration: underline; }
.auth__note { color: var(--c-muted); }
.auth__switch { margin: 20px 0 0; text-align: center; color: var(--c-muted); }
.auth__switch a { color: var(--c-black); text-decoration: underline; }
.auth__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.auth__aside strong { display: block; font-weight: 500; text-transform: uppercase; font-size: 11px; }
.auth__aside p { margin: 4px 0 8px; color: var(--c-muted); }
.auth__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-transform: uppercase; font-size: 11px; color: var(--c-black); }
.auth__more .icon { width: 14px; height: 14px; }

.field--password { position: relative; }
.field--password .password-input { display: block; }
.field--password .show-password-input { display: none; } /* WooCommerce's own eye icon – we use "Prikaži" */
.field__toggle { position: absolute; right: 10px; top: 37px; /* centred on the input under a 13px label */ text-transform: uppercase; font-size: 11px; font-weight: 500; color: var(--c-muted); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 14px; height: 14px; accent-color: #000; margin: 0; }
.woocommerce-privacy-policy-text p { color: var(--c-muted); font-size: 11px; }
.woocommerce-password-strength { margin-top: 6px; padding: 4px 8px; font-size: 11px; background: var(--c-grey); }
.woocommerce-password-strength.strong { background: #e6f2e6; }
.woocommerce-password-strength.short, .woocommerce-password-strength.bad { background: #fbe9e9; }
.woocommerce-password-hint { display: block; margin-top: 4px; font-size: 11px; color: var(--c-muted); }

/* Logged in: greeting hero, tabs, content ------------------------------- */
.account-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 48px var(--gutter) 32px; background: var(--c-sand-light); }
.account-hero__eyebrow { margin: 0 0 10px; text-transform: uppercase; font-size: 11px; font-weight: 500; color: var(--c-muted); }
.account-hero__title { margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; text-transform: none; }
.account-hero__meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 14px 0 0; color: var(--c-muted); }
.account-hero__meta span + span::before { content: "·"; margin: 0 8px; }
.account-hero__actions { display: flex; align-items: center; gap: 20px; flex: none; }
.account-hero__logout { text-transform: uppercase; font-weight: 500; text-decoration: underline; }

.account-tabs { position: sticky; top: 0; z-index: 5; background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.account-tabs ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.account-tabs ul::-webkit-scrollbar { display: none; }
.account-tabs a { position: relative; display: flex; align-items: center; gap: 8px; padding: 16px 0; white-space: nowrap; text-transform: uppercase; font-weight: 500; color: var(--c-muted); text-decoration: none; }
.account-tabs a:hover { color: var(--c-black); text-decoration: none; }
.account-tabs a[aria-current] { color: var(--c-black); }
.account-tabs a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c-black); }
.account-tabs .icon { width: 18px; height: 18px; }
.account-tabs__count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-black); color: var(--c-white); font-size: 11px; }

.account__content { padding: 32px var(--gutter) 0; }
.woocommerce-account .account__content .woocommerce-notices-wrapper { padding-inline: 0; }
.account-lead { margin: 0 0 20px; color: var(--c-muted); }
.btn--sm { min-height: 32px; padding: 6px 12px; font-size: 11px; }

/* Status pill + delivery progress */
.status-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.status-pill--active { background: var(--c-sand); color: var(--c-black); }
.status-pill--done { background: #e3efe3; color: #1f5a2b; }
.status-pill--off { background: #f6e3e3; color: #8a1c1c; }

.order-progress { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0 0; padding: 0; }
.order-progress li { position: relative; padding-top: 26px; font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--c-muted); }
.order-progress li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: #d9d9d9; }
.order-progress li:last-child::before { right: auto; width: 14px; }
.order-progress li.is-done::before { background: var(--c-black); }
.order-progress li.is-current::before { background: linear-gradient(90deg, var(--c-black) 0 14px, #d9d9d9 14px); }
.order-progress__dot { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--c-white); border: 2px solid #d9d9d9; }
.order-progress .is-done, .order-progress .is-current { color: var(--c-black); }
.order-progress .is-done .order-progress__dot { background: var(--c-black); border-color: var(--c-black); }
.order-progress .is-current .order-progress__dot { background: var(--c-sand); border-color: var(--c-black); box-shadow: 0 0 0 4px rgba(193, 168, 152, .35); }

/* Thumbnails */
.order-thumbs { display: flex; gap: 4px; }
.order-thumbs__img, .order-thumbs__more { width: 64px; aspect-ratio: 4 / 5; background: var(--c-photo); overflow: hidden; }
.order-thumbs__img img { width: 100%; height: 100%; object-fit: cover; }
.order-thumbs__more { display: grid; place-items: center; font-weight: 500; }

/* Dashboard */
.order-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--c-grey); }
.order-feature__media { display: block; min-height: 320px; }
.order-feature__media .order-thumbs { height: 100%; gap: 2px; }
.order-feature__media .order-thumbs__img, .order-feature__media .order-thumbs__more { flex: 1; width: auto; aspect-ratio: auto; }
.order-feature__body { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(24px, 4vw, 56px); }
.order-feature__eyebrow { margin: 0 0 10px; text-transform: uppercase; font-size: 11px; font-weight: 500; color: var(--c-muted); }
.order-feature__title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; font-size: var(--fs-xl); font-weight: 500; text-transform: none; }
.order-feature__meta { margin: 8px 0 0; color: var(--c-muted); }
.order-feature__note { margin: 24px 0 0; color: var(--c-muted); max-width: 52ch; }
.order-feature__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.order-feature--empty { grid-template-columns: 1fr; background: var(--c-sand-light); }

.account-tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; }
.account-tile { display: grid; align-content: start; gap: 4px; height: 100%; padding: 20px; border: 1px solid var(--c-line); color: var(--c-black); text-decoration: none; transition: border-color .2s; }
.account-tile:hover { border-color: var(--c-black); text-decoration: none; }
.account-tile .icon { width: 22px; height: 22px; margin-bottom: 20px; }
.account-tile strong { text-transform: uppercase; font-weight: 500; }
.account-tile span { color: var(--c-muted); }

.account-recs { margin-top: 64px; }
.account-recs .bar, .order-view .bar { padding-inline: 0; }

/* Orders */
.order-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.order-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.order-row__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.order-row__number { font-weight: 500; text-transform: uppercase; color: var(--c-black); }
.order-row__meta { margin: 6px 0 0; color: var(--c-muted); }
.order-row__names { margin: 4px 0 0; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.order-row__side { display: grid; justify-items: end; gap: 10px; }
.order-row__total { margin: 0; font-size: var(--fs-l); font-weight: 500; }
.order-row__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0; }
.order-pages { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.account-empty { display: grid; justify-items: center; gap: 8px; padding: 64px 16px; text-align: center; border: 1px dashed #cfcfcf; }
.account-empty .icon { width: 32px; height: 32px; margin-bottom: 8px; }
.account-empty h2 { margin: 0; font-size: var(--fs-l); font-weight: 500; text-transform: uppercase; }
.account-empty p { margin: 0 0 12px; color: var(--c-muted); }

/* Single order */
.order-view__head { padding-bottom: 32px; border-bottom: 1px solid var(--c-line); }
.order-view__title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; font-size: var(--fs-xl); font-weight: 500; text-transform: none; }
.order-view__meta { margin: 8px 0 0; color: var(--c-muted); }
.order-view__head .order-progress { max-width: 720px; }
.order-view__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; margin-top: 32px; }
.order-view__items ul { list-style: none; margin: 0; padding: 0; }
.order-view__items .thankyou__name a { color: inherit; }
.order-view__again { margin: 20px 0 0; }
.order-view__aside { display: grid; align-content: start; gap: 12px; }
.order-view__box { padding: 20px; background: var(--c-grey); }
.order-view__box h3 { margin: 0 0 8px; font-size: 11px; font-weight: 500; text-transform: uppercase; }
.order-view__box p, .order-view__box address { margin: 0 0 8px; font-style: normal; }
.order-view__box p:last-child { margin-bottom: 0; }
.order-view__box--help { background: var(--c-sand-light); }
.order-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.order-notes time { display: block; font-size: 11px; color: var(--c-muted); }

/* Addresses */
.address-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.address-card { display: grid; align-content: start; gap: 20px; padding: 24px; border: 1px solid var(--c-line); }
.address-card.is-empty { border-style: dashed; }
.address-card__head { display: flex; gap: 14px; align-items: center; }
.address-card__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-sand); }
.address-card__icon .icon { width: 20px; height: 20px; }
.address-card h2 { margin: 0; font-size: var(--fs); font-weight: 500; text-transform: uppercase; }
.address-card__head p { margin: 2px 0 0; color: var(--c-muted); }
.address-card address { font-style: normal; line-height: 1.6; }
.address-card .btn { justify-self: start; }

/* Forms (address, details) */
.account-form { max-width: 720px; }
.account-form__title { margin: 0 0 20px; font-size: var(--fs-xl); font-weight: 500; text-transform: none; }
.account-form__actions { display: flex; align-items: center; gap: 20px; margin: 24px 0 0; grid-column: 1 / -1; }
.woocommerce-EditAccountForm.account-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: none; }
.account-panel { padding: 24px; border: 1px solid var(--c-line); }
.account-panel__head { margin-bottom: 20px; }
.account-panel__head h2 { margin: 0; font-size: var(--fs); font-weight: 500; text-transform: uppercase; }
.account-panel__head p { margin: 4px 0 0; color: var(--c-muted); }
.account-panel__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.account-panel__fields .form-row { margin: 0; }
.account-panel__fields .form-row-wide { grid-column: 1 / -1; }

/* Woo account tables & forms (orders, view order, addresses, details) ---- */
.woocommerce-orders-table, .woocommerce-table--order-details, .shop_table { width: 100%; border-collapse: collapse; }
.woocommerce-orders-table th, .woocommerce-table--order-details th, .shop_table th { text-align: left; text-transform: uppercase; font-weight: 500; color: var(--c-muted); font-size: 11px; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--c-line); }
.woocommerce-orders-table td, .woocommerce-table--order-details td, .shop_table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.woocommerce-orders-table .button, .woocommerce-MyAccount-content .button, .woocommerce-Button { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 10px; background: var(--c-black); color: var(--c-white); text-transform: uppercase; font-weight: 500; border: 0; cursor: pointer; font-size: var(--fs); }
.woocommerce-orders-table .button + .button { margin-left: 4px; background: var(--c-grey); color: var(--c-black); }
.woocommerce-MyAccount-content mark { background: var(--c-black); color: var(--c-white); padding: 0 4px; }
:where(.woocommerce-MyAccount-content) :where(h2, h3), .woocommerce-column__title, .woocommerce-order-details__title { text-transform: uppercase; margin: 24px 0 10px; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.woocommerce-Address { background: var(--c-grey); padding: 16px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; }
.woocommerce-Address-title h2 { margin: 0 0 10px; }
.woocommerce-Address-title .edit { text-decoration: underline; text-transform: uppercase; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; max-width: 640px; }
.woocommerce-address-fields .form-row, .woocommerce-EditAccountForm .form-row { margin: 0; }
.form-row-wide, .woocommerce-EditAccountForm fieldset, .woocommerce-EditAccountForm > p:last-of-type, .woocommerce-EditAccountForm > .clear { grid-column: 1 / -1; }
.woocommerce-EditAccountForm .form-row-first { grid-column: 1; }
.woocommerce-EditAccountForm .form-row-last { grid-column: 2; }
.woocommerce-EditAccountForm fieldset { border: 0; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.woocommerce-EditAccountForm legend { text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.woocommerce-MyAccount-content .form-row label, .woocommerce-ResetPassword label, .lost_reset_password label { display: block; font-weight: 500; margin-bottom: 4px; }
.woocommerce-MyAccount-content .form-row .required { color: var(--c-muted); text-decoration: none; }
.woocommerce-MyAccount-content input.input-text, .woocommerce-MyAccount-content select, .woocommerce-MyAccount-content textarea, .lost_reset_password input.input-text {
	width: 100%;
	border: 0;
	background: var(--c-grey);
	padding: 9px 10px;
	font: inherit;
	border-radius: 0;
	outline: none;
}
.woocommerce-MyAccount-content input.input-text:focus, .lost_reset_password input.input-text:focus { box-shadow: inset 0 0 0 1px #000; }
.woocommerce-MyAccount-content em { display: block; margin-top: 4px; font-style: normal; font-size: 11px; color: var(--c-muted); }
.lost_reset_password { max-width: 460px; padding: 8px var(--gutter) 0; display: grid; gap: 12px; }
.lost_reset_password p { margin: 0; }
.lost_reset_password .woocommerce-Button, .lost_reset_password button { background: #000; color: #fff; padding: 9px 12px; text-transform: uppercase; font-weight: 500; border: 0; }
.woocommerce-account .woocommerce-notices-wrapper { padding-inline: var(--gutter); }

/* Checkout block refinements --------------------------------------------- */
.wc-block-checkout__form .wc-block-components-checkout-step { border: 0 !important; }
.wc-block-components-checkout-step__heading { margin-bottom: 8px !important; }
.wc-block-components-checkout-step__description { color: var(--c-muted) !important; }
.wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control__option { border-color: var(--c-line) !important; }
.wc-block-components-radio-control__input:checked { border-color: #000 !important; }
.wc-block-components-radio-control__input:checked::before { background: #000 !important; }
.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button { text-transform: uppercase; }
.wc-block-components-checkbox__input[type=checkbox] { border-radius: 0 !important; }
.wc-block-components-checkbox__input[type=checkbox]:checked { background: #000 !important; border-color: #000 !important; }
.wc-block-components-checkbox__mark { fill: #fff !important; }
.wc-block-components-validation-error { font-size: 11px; }
.wc-block-components-order-summary-item__image img { background: var(--c-photo); }
.wc-block-components-order-summary-item__quantity { border-radius: 0 !important; background: #000 !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { text-transform: uppercase; font-weight: 500 !important; font-size: var(--fs-l) !important; }
.wc-block-components-quantity-selector { border-radius: 0 !important; }
.wc-block-components-quantity-selector::after { border-radius: 0 !important; border-color: var(--c-line) !important; }

@media (max-width: 900px) {
	.cart-trust, .thankyou__next { grid-template-columns: 1fr 1fr; }
	.thankyou__meta { grid-template-columns: 1fr 1fr; }
	.thankyou__grid, .woocommerce-Addresses, .woocommerce-columns--addresses { grid-template-columns: 1fr; }
	.header-link--phone { display: none; }
	.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm { grid-template-columns: 1fr; }
	.woocommerce-EditAccountForm .form-row-first, .woocommerce-EditAccountForm .form-row-last { grid-column: 1; }
}

@media (max-width: 600px) {
	.cart-trust, .thankyou__next { grid-template-columns: 1fr; }
	.header-link--secure span, .site-header--focus .header-link--secure { font-size: 11px; }
	.woocommerce-orders-table thead { display: none; }
	.woocommerce-orders-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
	.woocommerce-orders-table td { border: 0; padding: 2px 0; }
}

/* ==========================================================================
   Classic cart & checkout
   ========================================================================== */
.is-purchase-flow .entry-content > .woocommerce,
.woocommerce-account .entry-content > .woocommerce { width: auto; max-width: none; margin-inline: 0; }
.is-purchase-flow .entry-content > :first-child { margin-top: 0; }
.is-purchase-flow .woocommerce-notices-wrapper,
.is-purchase-flow .woocommerce-form-login-toggle,
.is-purchase-flow .woocommerce-form-coupon-toggle { padding-inline: var(--gutter); }
.woocommerce-form-login-toggle .woocommerce-info, .woocommerce-form-coupon-toggle .woocommerce-info { justify-content: flex-start; gap: 6px; padding-inline: 0; background: none; border-top: 1px solid var(--c-line); margin: 0; }
.woocommerce-form-login-toggle a, .woocommerce-form-coupon-toggle a { text-decoration: underline; font-weight: 500; }
form.checkout_coupon, .is-purchase-flow form.woocommerce-form-login { margin: 0 var(--gutter) 20px; padding: 16px; background: var(--c-grey); display: grid; gap: 10px; max-width: 520px; }
form.checkout_coupon .form-row, .is-purchase-flow form.woocommerce-form-login .form-row { margin: 0; }
form.checkout_coupon input.input-text, .is-purchase-flow form.woocommerce-form-login input.input-text { width: 100%; border: 0; padding: 9px 10px; font: inherit; background: var(--c-white); }
form.checkout_coupon .button, .is-purchase-flow form.woocommerce-form-login .button { background: #000; color: #fff; border: 0; padding: 9px 12px; text-transform: uppercase; font-weight: 500; cursor: pointer; }

/* Summary box (cart + checkout sidebar) */
.summary-box { background: var(--c-grey); padding: 24px 24px 22px; }
.summary-box__title { margin: 0 0 16px; text-transform: uppercase; font-weight: 500; }
.summary-box__head { display: flex; justify-content: space-between; align-items: baseline; }
.summary-box__edit { font-size: 11px; font-weight: 500; text-transform: uppercase; text-decoration: underline; color: var(--c-muted); }
.trust-list { list-style: none; display: grid; gap: 12px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid #dedede; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.trust-list .icon { flex: none; width: 20px; height: 20px; }
.trust-list strong { display: block; font-weight: 500; }
.trust-list span { color: var(--c-muted); }
.trust-list strong { color: var(--c-black); }
.cart-row__regular { font-size: 11px; color: var(--c-muted); }
.woocommerce-cart .woocommerce-message .wc-forward { display: none; }
.is-purchase-flow .woocommerce-notices-wrapper:focus, .is-purchase-flow [role="alert"]:focus { outline: none; }
.payments--small { margin-top: 16px; gap: 4px; }
.payments--small li { height: 24px; padding: 3px 5px; }
.payments--small img { height: 16px; max-width: 44px; }
.summary-box .shipping-bar { padding: 0 0 14px; border: 0; }
.summary-box .shipping-bar__track { background: #e0e0e0; }
.summary-box__note { margin: 12px 0 0; color: var(--c-muted); font-size: 11px; }
.summary-table { width: 100%; border-collapse: collapse; }
.summary-table th, .summary-table td { padding: 7px 0; border-top: 1px solid #dedede; text-align: left; vertical-align: top; font-weight: 400; }
.summary-table td { text-align: right; }
.summary-table .order-total th, .summary-table .order-total td { font-weight: 500; text-transform: uppercase; font-size: var(--fs-l); padding-top: 12px; }
.summary-table .order-total td { text-transform: none; }
.summary-table .includes_tax { display: none; }
.summary-table .woocommerce-shipping-methods { list-style: none; display: grid; gap: 4px; text-align: left; }
.summary-table .woocommerce-shipping-destination, .summary-table .woocommerce-shipping-calculator { display: none; }
.summary-table .woocommerce-remove-coupon { color: var(--c-muted); text-decoration: underline; margin-left: 4px; }
.wc-proceed-to-checkout { margin-top: 14px; }
.wc-proceed-to-checkout .btn { min-height: 44px; text-transform: uppercase; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 72px); align-items: start; padding: 0 var(--gutter); }
.cart-layout__summary { position: sticky; top: calc(var(--header-h) + 16px); }
.is-header-hidden .cart-layout__summary, .is-header-hidden .checkout-layout__summary { top: 16px; }
.cart-list__head { display: grid; grid-template-columns: 112px 1fr 120px 130px; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); text-transform: uppercase; font-size: 11px; color: var(--c-muted); }
.cart-list__head span:first-child { grid-column: span 2; }
.cart-list__head span:nth-child(3) { text-align: right; }
.cart-row { display: grid; grid-template-columns: 112px 1fr 120px 130px; grid-template-areas: "thumb info qty total"; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.cart-row__thumb { grid-area: thumb; }
.cart-row__info { grid-area: info; display: grid; justify-items: start; align-content: start; gap: 2px; }
.cart-row__qty { grid-area: qty; }
.cart-row__total { grid-area: total; display: grid; justify-items: end; gap: 2px; }
.cart-row__stock { display: flex; align-items: center; gap: 6px; margin: 8px 0 10px; font-size: 11px; color: #2e6b3a; }
.cart-row__stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cart-row__thumb { display: block; aspect-ratio: 1500 / 1814; background: var(--c-photo); overflow: hidden; }
.cart-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__name { font-weight: 500; }
.cart-row__meta { margin: 2px 0; color: var(--c-muted); }
.cart-row__unit { font-size: 11px; font-weight: 400; color: var(--c-muted); }
.cart-row__unit del { color: var(--c-muted); }
.cart-row__unit ins { text-decoration: none; }
.cart-row__remove { text-transform: uppercase; font-size: 11px; color: var(--c-muted); text-decoration: underline; }
.cart-row__total { text-align: right; font-weight: 500; }
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--c-line); height: 34px; }
.quantity .qty { width: 36px; height: 100%; border: 0; text-align: center; font: inherit; font-weight: 500; -moz-appearance: textfield; background: transparent; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 30px; height: 100%; font-size: 15px; }
.qty-btn:hover { background: var(--c-grey); }
.cart-actions { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 0; }
.cart-actions__continue { display: inline-flex; align-items: center; gap: 6px; order: -1; text-transform: uppercase; font-weight: 500; }
.cart-actions__continue .icon { width: 14px; height: 14px; }
.cart-bar { display: none; }
.cart-coupon summary { cursor: pointer; text-transform: uppercase; font-weight: 500; text-decoration: underline; list-style: none; }
.cart-coupon summary::-webkit-details-marker { display: none; }
.cart-coupon .coupon { display: flex; gap: 6px; margin-top: 10px; }
.cart-coupon input { border: 0; background: var(--c-grey); padding: 0 10px; height: 36px; font: inherit; min-width: 200px; }
.cart-actions__update { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }
.cart-empty-state { padding: 40px var(--gutter) 60px; display: grid; gap: 8px; justify-items: start; }
.cart-empty-state__title { margin: 0; text-transform: uppercase; font-weight: 500; font-size: var(--fs-l); }
.woocommerce-cart .return-to-shop, .woocommerce-cart .cart-empty.woocommerce-info { display: none; }

/* Checkout */
.checkout-layout { --co-side: 420px; --co-gap: clamp(40px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) var(--co-side); gap: var(--co-gap); align-items: start; padding: 0 var(--gutter); }
.co-summary > summary { display: none; }
.co-summary > summary::-webkit-details-marker { display: none; }
.checkout-layout__summary { position: sticky; top: calc(var(--header-h) + 16px); }
.checkout-step { padding: 18px 0 22px; border-top: 1px solid var(--c-line); }
.checkout-step__title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-transform: uppercase; font-weight: 500; }
.checkout-step__title span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #000; color: #fff; font-size: 11px; }
.checkout-fields, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.checkout-layout .form-row { margin: 0; grid-column: 1 / -1; }
.checkout-layout .form-row-first { grid-column: 1; }
.checkout-layout .form-row-last { grid-column: 2; }
.checkout-layout .form-row label:not(.check):not(.woocommerce-form__label-for-checkbox) { display: block; margin-bottom: 4px; font-weight: 500; }
.checkout-layout .form-row .required { color: var(--c-muted); text-decoration: none; border: 0; }
.checkout-layout .form-row .optional { color: var(--c-muted); }
.checkout-layout input.input-text, .checkout-layout textarea, .checkout-layout select {
	width: 100%;
	border: 0;
	background: var(--c-grey);
	padding: 10px;
	font: inherit;
	border-radius: 0;
	outline: none;
	transition: box-shadow .15s;
}
.checkout-layout textarea { min-height: 80px; resize: vertical; }
.checkout-layout input.input-text:focus, .checkout-layout textarea:focus { box-shadow: inset 0 0 0 1px #000; }
.checkout-layout .woocommerce-invalid input.input-text { box-shadow: inset 0 0 0 1px #b00020; }
.checkout-layout .woocommerce-validated input.input-text { box-shadow: inset -3px 0 0 #2e7d32; }
.checkout-layout .description { display: block; margin-top: 4px; color: var(--c-muted); font-size: 11px; }
.checkout-layout .woocommerce-input-wrapper strong { display: block; padding: 10px; background: var(--c-grey); font-weight: 500; }
#billing_country_field label, #shipping_country_field label { color: var(--c-muted); }
.woocommerce-account-fields { margin-top: 14px; }
.woocommerce-account-fields .create-account.checkout-fields { margin-top: 10px; }
.checkout-shipping h3 { margin: 18px 0 10px; font-weight: 500; }
.checkout-shipping #ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-transform: none; }
.checkout-shipping .woocommerce-additional-fields h3 { display: none; }
.checkout-shipping .shipping_address { margin-bottom: 16px; }
.checkout-layout input[type="checkbox"], .checkout-layout input[type="radio"] { accent-color: #000; width: 15px; height: 15px; margin: 0; }

.shipping-methods { width: 100%; border-collapse: collapse; }
.shipping-methods th { display: none; }
.shipping-methods td { padding: 0; }
.woocommerce-shipping-methods, .wc_payment_methods { list-style: none; display: grid; gap: 6px; padding: 0; margin: 0; }
.woocommerce-shipping-methods li, .wc_payment_method { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--c-line); cursor: pointer; }
.woocommerce-shipping-methods li label, .wc_payment_method > label { flex: 1; display: flex; justify-content: space-between; gap: 10px; cursor: pointer; font-weight: 500; }
.woocommerce-shipping-methods li:has(input:checked), .wc_payment_method:has(input:checked) { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
.woocommerce-shipping-methods .amount { font-weight: 500; }

/* Shipping option cards */
.woocommerce-shipping-methods li { padding: 14px 16px; background: var(--c-white); transition: border-color .2s, box-shadow .2s; }
.woocommerce-shipping-methods li:hover { border-color: #999; }
.woocommerce-shipping-methods li label { align-items: center; justify-content: flex-start; gap: 14px; font-weight: 400; }
.ship-opt__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c-sand-light); transition: background .2s; }
.ship-opt__icon .icon { width: 20px; height: 20px; }
li:has(input:checked) .ship-opt__icon { background: var(--c-sand); }
.ship-opt__text { display: grid; flex: 1; gap: 2px; line-height: 1.35; }
.ship-opt__text strong { font-weight: 500; }
.ship-opt__text small { font-size: 11px; color: var(--c-muted); }
.ship-opt__price { flex: none; font-weight: 500; white-space: nowrap; }
.ship-opt__price.is-free { color: #2e6b3a; text-transform: uppercase; font-size: 11px; }
/* Cart summary: the options get the full width under the "Dostava" label. */
.summary-table, .summary-table tbody { display: block; }
.summary-table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid #dedede; }
.summary-table tr > * { border-top: 0; }
.summary-table .woocommerce-shipping-totals { display: block; }
.summary-table .woocommerce-shipping-totals th { display: block; padding-bottom: 8px; }
.summary-table .woocommerce-shipping-totals td { display: block; padding-top: 0; }
.summary-table .woocommerce-shipping-methods li { padding: 12px; }
.summary-table .woocommerce-shipping-methods li label { gap: 10px; }
.summary-table .ship-opt__icon { width: 32px; height: 32px; }
.summary-table .ship-opt__icon .icon { width: 17px; height: 17px; }
.wc_payment_method .payment_box { flex-basis: 100%; margin: 0; padding: 0 0 0 25px; color: var(--c-muted); }
.wc_payment_method .payment_box p { margin: 0; }
.woocommerce-checkout-payment .place-order { margin-top: 16px; display: grid; gap: 12px; }
.woocommerce-terms-and-conditions-wrapper { color: var(--c-muted); font-size: 11px; }
.woocommerce-privacy-policy-text a { text-decoration: underline; }
#place_order { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; background: #000; color: #fff; border: 0; text-transform: uppercase; font: inherit; font-weight: 500; cursor: pointer; transition: opacity .2s; }
#place_order::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='1'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='1'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
#place_order[data-total]::after { content: "·  " attr(data-total); white-space: pre; }
#place_order:hover { opacity: .85; }

.review__items { list-style: none; display: grid; gap: 10px; margin-bottom: 14px; }
.review__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; }
.review__thumb { position: relative; display: block; aspect-ratio: 1500 / 1814; background: var(--c-photo); }
.review__thumb img { width: 100%; height: 100%; object-fit: cover; }
.review__qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: #000; color: #fff; font-size: 11px; }
.review__items { padding-top: 6px; }
.review__name { display: grid; }
.review__name strong { font-weight: 500; }
.review__name span { color: var(--c-muted); }
.review__price { font-weight: 500; white-space: nowrap; }
.review__price del, .cart-row__total del { color: var(--c-muted); font-weight: 400; margin-right: 4px; }
.review__price ins, .cart-row__total ins { text-decoration: none; }

@media (max-width: 1000px) {
	.cart-layout, .checkout-layout { grid-template-columns: 1fr; }
	.cart-layout__summary, .checkout-layout__summary { position: static; }
	.checkout-layout__summary { order: -1; }
	.co-summary > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--c-grey); cursor: pointer; list-style: none; text-transform: uppercase; font-weight: 500; }
	.co-summary > summary > span { display: inline-flex; align-items: center; gap: 8px; text-decoration: underline; text-underline-offset: 3px; }
	.co-summary > summary > span::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
	.co-summary[open] > summary > span::after { transform: translateY(2px) rotate(-135deg); }
	.co-summary[open] > summary { border-bottom: 1px solid #dedede; }
	.co-summary .summary-box__head { display: none; }
}

@media (max-width: 600px) {
	.cart-list__head { display: none; }
	.cart-row { grid-template-columns: 96px 1fr auto; grid-template-areas: "thumb info info" "thumb qty total"; row-gap: 10px; column-gap: 14px; }
	.cart-row__qty { align-self: end; }
	.cart-row__total { align-self: end; }
	.cart-row__stock { margin: 6px 0; }
	.checkout-fields, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.checkout-layout .form-row-first, .checkout-layout .form-row-last { grid-column: 1; }
	.cart-actions { flex-direction: column; }
	.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--c-white); border-top: 1px solid var(--c-line); transition: transform .25s; }
	.cart-bar.is-hidden { transform: translateY(100%); }
	.cart-bar__total { display: grid; }
	.cart-bar__total span { font-size: 11px; text-transform: uppercase; color: var(--c-muted); }
	.cart-bar__total strong { font-size: var(--fs-l); font-weight: 500; }
	.woocommerce-cart .site-footer { padding-bottom: 72px; }
	.steps ol { gap: 6px 16px; }
	.steps__item:not(.is-current) > :not(.steps__num) { display: none; }
	.flow-head { padding-top: 24px; }
}

.africa-hidden { display: none !important; }

/* Category landing blocks above the grid */
.shop-landing > .africa-block + .africa-block { margin-top: 0; }

.sp__color { display: inline-flex; align-items: center; gap: 8px; }
.sp__swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

/* Single: details & materials (left column, under the gallery), brand row */
.sp__left { min-width: 0; }
.sp-details { margin-top: 48px; }
.sp-details .bar { padding-inline: var(--gutter); }
.sp-details__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; padding: 4px var(--gutter) 0; align-items: start; }
.sp-details__body { display: grid; gap: 20px; }
.sp-details__title { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.sp-details__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; }
.sp-details__specs div { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.sp-details__specs dt { text-transform: uppercase; font-size: 11px; color: var(--muted); }
.sp-details__specs dd { margin: 0; font-weight: 500; }
.sp-care { padding: 18px 20px 20px; background: var(--c-sand-light); }
.sp-care__title { margin: 0 0 6px; text-transform: uppercase; font-weight: 500; }
.sp-care__tip { margin: 0 0 14px; color: #5c5248; }
.sp-care__tip strong { color: var(--c-black); font-weight: 500; }
.sp-care__steps { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; counter-reset: care; }
.sp-care__steps li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; counter-increment: care; }
.sp-care__steps li::before { content: counter(care); grid-row: span 2; display: grid; place-items: center; width: 22px; height: 22px; background: var(--c-black); color: var(--c-white); font-size: 11px; font-weight: 500; }
.sp-care__steps strong { font-weight: 500; }
.sp-care__steps span { color: #5c5248; }
.sp-care__note { margin: 14px 0 0; font-size: 11px; color: #6f6458; }
.sp-brand { margin-top: var(--section-y); }
@media (max-width: 1100px) {
	.sp-details__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	/* Mobile order: photos → purchase panel → details. */
	.sp__left { display: contents; }
	.sp__gallery { order: 1; }
	.sp__summary { order: 2; }
	.sp-details { order: 3; margin-top: 8px; }
}

/* Bottom add-to-cart bar */
.sp-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px 260px;
	align-items: center;
	gap: 12px;
	padding: 10px var(--gutter);
	background: var(--c-white);
	border-top: 1px solid var(--c-line);
	box-shadow: 0 -8px 30px rgba(0, 0, 0, .06);
	transform: translateY(105%);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
	--fg: var(--c-black);
	--bg: var(--c-white);
}
.sp-bar.is-visible { transform: none; }
.is-cart-open .sp-bar, .is-lightbox-open .sp-bar { transform: translateY(105%); }
.sp-bar__product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sp-bar__thumb { width: 44px; height: 54px; object-fit: cover; background: var(--c-photo); flex: none; }
.sp-bar__info { display: grid; min-width: 0; }
.sp-bar__info strong { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-bar__price { display: flex; gap: 6px; font-weight: 500; }
.sp-bar__price del { color: var(--c-muted); font-weight: 400; order: 2; }
.sp-bar__price ins { text-decoration: none; background: #000; color: #fff; padding: 0 4px; order: 1; }
.sp-bar__size select {
	width: 100%;
	height: 44px;
	padding: 0 32px 0 12px;
	border: 1px solid var(--c-line);
	border-radius: 0;
	background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px;
	appearance: none;
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}
.sp-bar__size select.is-error { border-color: #b00020; animation: shake .35s; }
.sp-bar__btn { height: 44px; justify-content: center; text-transform: uppercase; }
.has-sp-bar .site-footer { padding-bottom: 72px; }
@media (max-width: 700px) {
	.sp-bar { grid-template-columns: 110px 1fr; padding-block: 8px; }
	.sp-bar__product { grid-column: 1 / -1; }
	.sp-bar__thumb { display: none; }
	.sp-bar__info { grid-template-columns: 1fr auto; align-items: baseline; gap: 8px; }
	.has-sp-bar .site-footer { padding-bottom: 120px; }
}

@media (max-width: 900px) {
	.auth { grid-template-columns: 1fr; min-height: 0; }
	.auth__media { display: none; }
	.auth__panel { align-items: flex-start; padding: 32px var(--gutter) 48px; }
	.auth__inner { max-width: 480px; }
}
@media (max-width: 420px) {
	.auth__aside { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 1000px) {
	.account-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.order-view__grid { grid-template-columns: 1fr; gap: 32px; }
	.woocommerce-EditAccountForm.account-details { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.account-hero { flex-direction: column; align-items: flex-start; padding-top: 32px; }
	.account-hero__actions { width: 100%; justify-content: space-between; }
	.account-tabs ul { gap: 24px; }
	.account__content { padding-top: 24px; }
	.order-feature { grid-template-columns: 1fr; }
	.order-feature__media { min-height: 0; height: 240px; }
	.order-feature__body { padding: 24px 20px 28px; }
	.order-progress li { font-size: 10px; }
	.account-hero__meta span:nth-child(3) { display: none; }
	.account-tiles { grid-template-columns: 1fr; gap: 8px; }
	.account-tile { grid-template-columns: 22px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; }
	.account-tile .icon { grid-row: span 2; margin: 0; }
	.order-row { grid-template-columns: 1fr; gap: 12px; }
	.order-row__side { justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
	.address-cards, .account-panel__fields { grid-template-columns: 1fr; }
}

/* Serbia only – the country select adds nothing on the account address form. */
.woocommerce-address-fields #billing_country_field, .woocommerce-address-fields #shipping_country_field { display: none; }

@media (min-width: 1001px) {
	.woocommerce-checkout.is-purchase-flow .entry-content > .woocommerce > :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle, .checkout_coupon, .woocommerce-form-login) { margin-right: calc(var(--gutter) + 420px + clamp(40px, 6vw, 96px)); padding-right: 0; }
}

/* Custom radios (shipping + payment): thin ring, black dot – replaces the browser default. */
.woocommerce-shipping-methods input[type="radio"],
.wc_payment_methods input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1.5px solid #b5b5b5;
	border-radius: 50%;
	background: var(--c-white);
	cursor: pointer;
	transition: border-color .2s;
}
.woocommerce-shipping-methods input[type="radio"]::before,
.wc_payment_methods input[type="radio"]::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-black);
	transform: scale(0);
	transition: transform .2s cubic-bezier(.2, .7, .2, 1.4);
}
.woocommerce-shipping-methods input[type="radio"]:checked,
.wc_payment_methods input[type="radio"]:checked { border-color: var(--c-black); }
.woocommerce-shipping-methods input[type="radio"]:checked::before,
.wc_payment_methods input[type="radio"]:checked::before { transform: scale(1); }
.woocommerce-shipping-methods li:hover input[type="radio"]:not(:checked),
.wc_payment_methods li:hover input[type="radio"]:not(:checked) { border-color: var(--c-black); }
.woocommerce-shipping-methods input[type="radio"]:focus-visible,
.wc_payment_methods input[type="radio"]:focus-visible { outline: 2px solid var(--c-black); outline-offset: 2px; }
/* A single option is shown without a radio (WooCommerce prints a hidden input then). */
.woocommerce-shipping-methods input[type="hidden"] + label { padding-left: 0; }

/* Checkout: coupon as one row (field + "Primeni"), aligned with the form column. */
.woocommerce-checkout form.checkout_coupon { display: flex; align-items: stretch; gap: 8px; max-width: none; margin-top: 0; margin-bottom: 0; padding: 0 0 18px; background: none; }
.woocommerce-checkout form.checkout_coupon .form-row { margin: 0; padding: 0; width: auto; float: none; }
.woocommerce-checkout form.checkout_coupon .form-row-first { flex: 1; }
.woocommerce-checkout form.checkout_coupon .form-row-last { flex: none; }
.woocommerce-checkout form.checkout_coupon .clear { display: none; }
.woocommerce-checkout form.checkout_coupon input.input-text { box-sizing: border-box; width: 100%; height: 40px; padding: 0 12px; border: 0; background: var(--c-grey); box-shadow: none; outline: none; text-transform: uppercase; letter-spacing: .04em; }
.woocommerce-checkout form.checkout_coupon input.input-text::placeholder { text-transform: none; letter-spacing: 0; }
.woocommerce-checkout form.checkout_coupon input.input-text:focus { box-shadow: inset 0 0 0 1px #000; }
.woocommerce-checkout form.checkout_coupon .button { height: 40px; padding: 0 22px; }

/* Checkout: inline login, same field style as the rest of the form. */
.is-purchase-flow form.co-login { display: grid; gap: 14px; max-width: none; margin-top: 0; margin-bottom: 0; padding: 0 0 20px; background: none; }
.co-login__intro { margin: 0; color: var(--c-muted); }
.co-login__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.is-purchase-flow form.co-login .form-row { margin: 0; }
.is-purchase-flow form.co-login label:not(.check) { display: block; margin-bottom: 4px; font-weight: 500; }
.is-purchase-flow form.co-login input.input-text { box-sizing: border-box; width: 100%; height: 40px; padding: 0 10px; border: 0; background: var(--c-grey); outline: none; }
.is-purchase-flow form.co-login input.input-text:focus { box-shadow: inset 0 0 0 1px #000; }
.co-login__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.co-login__row .btn { margin-left: auto; height: 40px; padding: 0 22px; }
@media (max-width: 600px) {
	.co-login__fields { grid-template-columns: 1fr; }
	.co-login__row .btn { width: 100%; margin-left: 0; }
}
.woocommerce-checkout form.checkout_coupon { flex-wrap: wrap; }
.coupon-error-notice { flex-basis: 100%; margin: 0; font-size: 11px; color: #b00020; }
.woocommerce-checkout form.checkout_coupon .input-text.has-error { box-shadow: inset 0 0 0 1px #b00020; }
