/* =========================================================================
   Animpire — design layer on top of WoodMart + Clicko (loaded after both).
   Monochrome & immersive: black / white / one warm grey, Manrope (Latin + Greek),
   square corners, big tight type, black buttons that invert on hover, light scroll reveals.
   Colors & fonts come from Theme settings (config/settings_data.json).
   ========================================================================= */

:root {
	--anim-ink: #0a0a0a;
	--anim-muted: #6b6b6b;
	--anim-surface: #f2f2f0;
	--anim-accent: #0a0a0a;
	--anim-accent-soft: #f2f2f0;
	--anim-line: rgba(10, 10, 10, .1);
	--anim-line-strong: rgba(10, 10, 10, .22);
	--anim-r-md: 0px;
	--anim-r-lg: 0px;
	--anim-r-xl: 0px;
	--anim-ease: cubic-bezier(.2, .7, .2, 1);
	--anim-header-h: 114px;
	--wd-title-font-weight: 800;
	--wd-entities-title-font: var(--wd-text-font);
}
body { overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--anim-ink); color: #fff; }

/* ---------- Scroll reveal (assets/anim.js). The first section never waits. ---------- */
.anim-js .clicko-section ~ .clicko-section > * { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s var(--anim-ease); }
.anim-js .clicko-section.is-in > * { opacity: 1; transform: none; }

/* ---------- Typography: big, tight, confident ---------- */
.clicko-h, .wd-page-title .entry-title, .woocommerce-products-header__title, .product_title, .cart_totals > h2, .wc-block-components-title, .title.wd-title, h1, h2, h3 {
	font-family: var(--wd-title-font);
	font-weight: 800;
	letter-spacing: -.04em;
	text-transform: none;
}
.clicko-h { line-height: .98; color: var(--wd-title-color); text-wrap: balance; }
.clicko-h--xl { font-size: clamp(46px, 7.4vw, 120px); line-height: .92; }
.clicko-h--l { font-size: clamp(34px, 4.8vw, 72px); line-height: .95; }
.clicko-h--m { font-size: clamp(26px, 3vw, 44px); }
.clicko-h--s { font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -.02em; line-height: 1.2; }
.clicko-sub { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wd-title-color); opacity: .6; }
.clicko-sub::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.clicko-text { line-height: 1.65; }
.clicko-quote__text p { font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.anim-head { display: grid; gap: 4px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.anim-head .clicko-text { margin-top: 8px; color: var(--anim-muted); font-size: 17px; }

/* ---------- Buttons: black blocks that invert ---------- */
.btn, .button, .wc-block-components-button { font-weight: 700; letter-spacing: 0; text-transform: none; border-radius: 0; }
.clicko-btn { min-height: 54px; padding-inline: 28px; font-size: 15px; transition: background-color .25s, color .25s, box-shadow .25s; }
.clicko-btn--primary.btn { box-shadow: inset 0 0 0 1px var(--anim-ink); }
.clicko-btn--primary.btn:hover { background: transparent; color: var(--anim-ink); }
.clicko-scheme-dark .clicko-btn--primary.btn, .clicko-scheme-accent .clicko-btn--primary.btn { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #fff; }
.clicko-scheme-dark .clicko-btn--primary.btn:hover, .clicko-scheme-accent .clicko-btn--primary.btn:hover { background: transparent; color: #fff; }
.clicko-btn--primary::after { content: "→"; display: inline-block; margin-left: 12px; transition: transform .3s var(--anim-ease); }
.clicko-btn:hover::after { transform: translateX(5px); }
.clicko-btn--secondary.btn { background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--anim-line-strong); color: var(--anim-ink); }
.clicko-btn--secondary.btn:hover { background: var(--anim-ink); box-shadow: inset 0 0 0 1px var(--anim-ink); color: #fff; }
.clicko-btn--link { font-size: 15px; font-weight: 700; text-decoration: none; color: inherit; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.clicko-btn--link::after { content: " →"; }

/* No shouting from WoodMart defaults (we choose where uppercase goes). */
.whb-top-bar, .whb-top-bar a, .wd-search-cat-btn, .clicko-hb, .clicko-wholesale-btn, .wd-header-text, .wd-tools-text, .woocommerce-loop-product__title, .wd-tabs-title, .wd-nav-tabs > li > a, .wd-action-text, .wd-more-desc-btn, .woocommerce-MyAccount-navigation a, .wd-sub-menu .woodmart-nav-link { text-transform: none !important; letter-spacing: 0 !important; }

/* ---------- Header: one thin row, black & white ---------- */
.whb-top-bar { font-size: 12px; }
.clicko-hb { font-size: 12px; }
.anim-topbar { overflow: hidden; }
.anim-topbar__list { display: flex; gap: 28px; color: rgba(255, 255, 255, .75); }
.anim-topbar__list span { white-space: nowrap; }
.anim-topbar__list span + span::before { content: "✦"; margin-right: 28px; font-size: 9px; opacity: .5; }
.anim-topbar__phone { margin-right: 16px; font-weight: 600; color: #fff !important; }
@media (max-width: 1180px) { .anim-topbar__list span:nth-child(n+3) { display: none; } }

.whb-general-header { border-bottom: 1px solid var(--anim-line) !important; }
.wd-nav-main > li > a { font-family: var(--wd-text-font); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--anim-ink); }
.wd-nav-main > li > a .nav-link-text { position: relative; }
.wd-nav-main > li > a .nav-link-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--anim-ease); }
.wd-nav-main > li:hover > a .nav-link-text::after, .wd-nav-main > li.current-menu-item > a .nav-link-text::after, .wd-nav-main > li.current-menu-ancestor > a .nav-link-text::after { transform: scaleX(1); transform-origin: left; }
.wd-nav-main > li > a:hover, .wd-nav-main > li.current-menu-item > a { color: var(--anim-ink); }
.wd-nav-main .wd-dropdown-menu { border-radius: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.wd-nav-main .wd-dropdown-menu a { font-weight: 600; }
.whb-header .clicko-wholesale-btn { border-radius: 0; font-weight: 700; }
.wd-header-cart .wd-cart-number { background: var(--anim-ink); color: #fff; }
.wd-search-full-screen .searchform input[type="text"] { font-family: var(--wd-title-font); font-weight: 800; letter-spacing: -.03em; }

/* ---------- Page title: big, left, no box ---------- */
.wd-page-title { background: #fff !important; padding-block: clamp(36px, 5vw, 72px) clamp(20px, 3vw, 36px) !important; border-bottom: 1px solid var(--anim-line); }
.wd-page-title .wd-page-title-bg { display: none; }
.wd-page-title, .wd-page-title .entry-title, .wd-page-title a, .wd-page-title .breadcrumbs { color: var(--anim-ink) !important; }
.wd-page-title .entry-title { font-size: clamp(44px, 7vw, 112px); line-height: .9; }
.wd-page-title .wd-breadcrumbs, .wd-page-title .breadcrumbs { font-size: 13px; opacity: .6; }

/* ---------- Shop: category tabs, toolbar ---------- */
.wd-nav-product-cat > li > a { padding: 10px 2px !important; margin-inline: 10px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wd-nav-product-cat > li.wd-active > a, .wd-nav-product-cat > li > a:hover { border-bottom-color: var(--anim-ink); color: var(--anim-ink) !important; }
.wd-nav-product-cat .nav-link-count { opacity: .5; }
.cat-item-149, .cat-item-151, .cat-item-15 { display: none !important; } /* "Uncategorized" is not a real category */
.sidebar-container .widget-title, .wd-widget .widget-title { font-family: var(--wd-title-font); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Product cards ----------
   Square-cornered photo on warm grey, second photo crossfades with a slow zoom,
   a black "Choose size" bar slides up from the bottom of the photo. */
.wd-product .wd-product-cats { display: none; }
.wd-product .product-wrapper { text-align: left; }
.wd-product .wd-product-thumb { position: relative; overflow: hidden; background: var(--anim-surface); border-radius: 0; }
.wd-product .wd-product-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--anim-ease), opacity .6s ease; }
.wd-product .hover-img { opacity: 0; transition: opacity .6s ease; }
.wd-product:hover .hover-img { opacity: 1; }
.wd-product:hover .wd-product-thumb img { transform: scale(1.05); }
.wd-product .wd-entities-title { margin-top: 14px; font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.005em; text-transform: none; }
.wd-product .wd-entities-title a { color: var(--anim-ink); }
.wd-product .price { display: block; margin-top: 4px; font-size: 15px; font-weight: 800; color: var(--anim-ink); }
.wd-product .price del { font-weight: 500; opacity: .45; }
.wd-product .price ins { color: var(--anim-ink); }
.wd-product .product-labels { inset: 0 auto auto 0; gap: 0; }
.wd-product .product-labels .product-label { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; min-height: 0; border-radius: 0; }
.product-label.onsale, .product-label.new, .product-label.out-of-stock { background: var(--anim-ink); color: #fff; }
.product-label.clicko-preorder-label { background: #fff; color: var(--anim-ink); }

.wd-hover-quick .wd-add-btn { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; opacity: 1 !important; visibility: visible !important; transform: translateY(101%); transition: transform .4s var(--anim-ease); }
.wd-hover-quick .wd-add-btn > a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin: 0; border-radius: 0; background: var(--anim-ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.wd-hover-quick .wd-add-btn > a .wd-action-icon { display: none; }
.wd-hover-quick .wd-add-btn > a .wd-action-text { text-transform: uppercase !important; letter-spacing: .14em !important; }
.wd-hover-quick .wd-add-btn > a .wd-action-text::after { content: " →"; }
.wd-hover-quick:hover .wd-add-btn, .wd-hover-quick:focus-within .wd-add-btn { transform: translateY(0); }
@media (hover: none) { .wd-hover-quick .wd-add-btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .wd-product .wd-product-thumb img, .wd-hover-quick .wd-add-btn { transition: none; } }

/* ---------- Single product ---------- */
.single-product .product_title { font-size: clamp(32px, 3.4vw, 54px); line-height: .98; margin-bottom: .35em; }
.single-product .summary .price { font-size: 26px; font-weight: 800; color: var(--anim-ink); }
.single-product .single_add_to_cart_button { min-height: 56px; padding-inline: 36px; font-size: 15px; box-shadow: inset 0 0 0 1px var(--anim-ink); transition: background-color .25s, color .25s; }
.single-product .single_add_to_cart_button:hover { background: transparent !important; color: var(--anim-ink) !important; }
.clicko-preorder, .stock.clicko-preorder { color: var(--anim-ink) !important; font-weight: 800; }
.woocommerce-tabs .wd-nav-tabs > li > a { font-size: 14px; font-weight: 800; letter-spacing: .06em !important; text-transform: uppercase !important; }
.woocommerce-Tabs-panel--description { max-width: 820px; }
.woocommerce-Tabs-panel a, .woocommerce-product-details__short-description a { text-decoration: underline; text-underline-offset: 3px; color: var(--anim-ink); font-weight: 700; }
.woocommerce-Tabs-panel h3 { margin-top: 28px; font-size: 22px; }

/* Size buttons (WoodMart swatches) */
.variations_form .wd-swatches-product { gap: 6px; }
.variations_form .wd-swatch.wd-text { min-width: 56px; height: 48px; padding: 0 14px; border: 1px solid var(--anim-line-strong); border-radius: 0; background: #fff; font-size: 14px; font-weight: 700; color: var(--anim-ink); transition: border-color .15s, background-color .15s, color .15s; }
.variations_form .wd-swatch.wd-text:hover { border-color: var(--anim-ink); }
.variations_form .wd-swatch.wd-text.wd-active { background: var(--anim-ink); border-color: var(--anim-ink); color: #fff; }
.variations_form .wd-swatch.wd-text.wd-disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; background: #fff; }
.variations_form .wd-swatch .wd-swatch-text { font-size: inherit; }

/* ---------- Cart & checkout ---------- */
.cart_totals { background: var(--anim-surface); padding: 28px; }
.checkout-button, .wc-block-components-checkout-place-order-button { border-radius: 0 !important; min-height: 56px; }

/* ---------- Library sections, monochrome ---------- */
.clicko-scheme-light { --clicko-sbg: var(--anim-surface); }
.clicko-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 55%); }
.clicko-tile img, .clicko-iwt__media img, .clicko-cat img, .clicko-mc__img img { transition: transform 1.2s var(--anim-ease), filter .6s ease; }
.clicko-tile:hover img, .clicko-cat:hover img { transform: scale(1.05); }
.clicko-tile__kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.clicko-tile__title { font-family: var(--wd-title-font); font-weight: 800; letter-spacing: -.035em; text-transform: none; }
.clicko-tile__cta { font-weight: 700; text-transform: none; letter-spacing: 0; }
.clicko-mc--numbers .clicko-mc__item { border-top: 1px solid var(--anim-ink); }
.clicko-scheme-dark .clicko-mc--numbers .clicko-mc__item { border-top-color: #fff; }
.clicko-mc__title { letter-spacing: -.02em; }
.clicko-form .clicko-field input, .clicko-form .clicko-field select, .clicko-form .clicko-field textarea { background: #fff; border-radius: 0; }
.clicko-cat__title { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.clicko-marquee { font-family: var(--wd-title-font); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }

/* Image-with-text: photos go grey until hovered (keeps the page monochrome, colour is the reward). */
.clicko-iwt__media img, .clicko-tiles img { filter: grayscale(1); }
.clicko-iwt:hover .clicko-iwt__media img, .clicko-tile:hover img { filter: none; }

/* ---------- Footer ---------- */
.clicko-footer .clicko-h, .footer-container .widget-title { letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }

@media (max-width: 1024px) { :root { --anim-header-h: 100px; } }
@media (max-width: 767px) {
	.clicko-h--xl { font-size: clamp(40px, 12vw, 60px); }
	.clicko-h--l { font-size: clamp(32px, 9.6vw, 46px); }
	.wd-product .wd-entities-title { font-size: 13.5px; }
}

/* Piraeus Bank: no installments on this store (pb_installments = 1), so the "Installments" select only offers "Without installments". */
.wc-block-components-select-input-woo-payment-gateway-for-piraeus-bank-installments { display: none; }

/* Centred menu must fit next to logo + icons on small laptops. */
@media (max-width: 1320px) { .wd-nav-main > li > a { font-size: 12.5px; letter-spacing: .03em; padding-inline: 9px; } .whb-header .clicko-wholesale-btn { display: none; } }

/* Phones: no add-to-cart bar on product cards (tap opens the product). */
@media (max-width: 767px) { .wd-product .wd-add-btn { display: none !important; } }

/* Plain text pages (shipping, returns, privacy, terms, size guide): comfortable reading measure. */
.page-template-default:not(.woocommerce-page) .entry-content { max-width: 760px; font-size: 16.5px; line-height: 1.75; }
.page-template-default:not(.woocommerce-page) .entry-content h2, .page-template-default:not(.woocommerce-page) .entry-content h3 { margin: 1.8em 0 .5em; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; }
.page-template-default:not(.woocommerce-page) .entry-content a { color: var(--anim-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.page-template-default:not(.woocommerce-page) .entry-content img { max-width: 100%; height: auto; }

/* Mobile tab bar (assets/mobile.css) never shows on desktop. */
@media (min-width: 1025px) { .anim-tabbar { display: none; } }

/* Desktop menu always on one line (23 Nov: 7 items, "HORECA Workwear" made it wrap). */
.wd-nav-main { flex-wrap: nowrap; }
.wd-nav-main > li > a { white-space: nowrap; font-size: 13px; letter-spacing: .04em; padding-inline: 11px; }
@media (max-width: 1440px) { .wd-nav-main > li > a { font-size: 12px; letter-spacing: .02em; padding-inline: 8px; } }
@media (max-width: 1240px) { .wd-nav-main > li > a { font-size: 11.5px; letter-spacing: 0; padding-inline: 6px; } }
@media (max-width: 1759px) { .whb-header .clicko-wholesale-btn, .whb-general-header .whb-col-right .wd-header-text { display: none; } }
@media (min-width: 1025px) and (max-width: 1240px) { .wd-nav-main > li > a { font-size: 11px; padding-inline: 4px; } .whb-general-header .wd-header-logo img { max-width: 118px !important; } }
/* Small laptops / tablets landscape: "About" lives in the footer, the bar keeps the shop items + contact. */
@media (min-width: 1025px) and (max-width: 1240px) { .whb-general-header .wd-nav-main > li:nth-last-child(2) { display: none; } }
@media (min-width: 1025px) and (max-width: 1100px) { .whb-general-header .wd-header-logo img { max-width: 96px !important; } .wd-nav-main > li > a { padding-inline: 3px; } }

/* Sticky "to the form" button (functions.php). */
.anim-goform { position: fixed; z-index: 380; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; background: #0a0a0a; color: #fff !important; font-size: 14px; font-weight: 800; letter-spacing: .02em; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .35s var(--anim-ease), opacity .3s ease; }
.anim-goform[hidden] { display: none; }
.anim-goform:hover { background: #fff; color: #0a0a0a !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .2), inset 0 0 0 1.5px #0a0a0a; }
.anim-goform.is-away { transform: translateY(160%); opacity: 0; pointer-events: none; }
@media (max-width: 1024px) {
	.anim-goform { left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); justify-content: center; min-height: 50px; }
	body.wd-search-opened .anim-goform, html:has(.mobile-nav.wd-opened) .anim-goform { display: none; }
}

/* "What we do" on the home page: four equal cards, links lined up at the bottom (client 25 Nov). */
#clicko-whatwedo .clicko-mc { align-items: stretch; }
#clicko-whatwedo .clicko-mc__item { display: flex; flex-direction: column; height: 100%; }
#clicko-whatwedo .clicko-mc__text { flex: 1 1 auto; }
#clicko-whatwedo .clicko-mc__item > .clicko-btn--link { align-self: flex-start; margin-top: 18px; }
/* Text links inside columns: no button box around them (min-height / side padding come from .clicko-btn). */
.clicko-mc .clicko-btn--link { min-height: 0; padding: 0 0 2px; }
