/* ProLine Wood 4.0 — clean modern store (Beetle Pro × Umeå inspired). */

:root { --pw-r: 20px; --pw-r-sm: 14px; --pw-cream: #F3F1EC; --pw-ink: #141414; --pw-gold: #B8925A; }
body { -webkit-font-smoothing: antialiased; }

/* Small label */
.pw-kicker { font-size: .85rem; font-weight: 500; color: var(--wp--preset--color--contrast-2); }

/* Rounded helpers */
.pw-round, .pw-round img, .pw-card-img img { border-radius: var(--pw-r); overflow: hidden; }
.pw-round-sm { border-radius: var(--pw-r-sm); overflow: hidden; }

/* Header */
.pw-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94) !important; backdrop-filter: blur(10px); }
.admin-bar .pw-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pw-header { top: 46px; } }
.pw-logo img { width: 40px; height: auto; display: block; border-radius: 0 !important; }
.pw-header .wp-block-search__inside-wrapper { background: var(--pw-cream); border: 0 !important; border-radius: 999px; padding: 2px 6px 2px 14px; }
.pw-header .wp-block-search__input { background: transparent; border: 0; font-size: .88rem; min-width: 170px; padding: .45rem .2rem; font-family: inherit; }
.pw-header .wp-block-search__button { background: transparent !important; color: var(--pw-ink) !important; border: 0; padding: .3rem; margin: 0; }
.pw-header .wp-block-search__button svg { width: 18px; height: 18px; }
.pw-topbar p { margin: 0; }

/* Hero card (Beetle) */
.pw-hero { border-radius: 28px; overflow: hidden; }
.pw-hero-photo img { border-radius: 22px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.pw-mini { background: #fff; border-radius: var(--pw-r-sm); padding: .55rem .9rem .55rem .55rem !important; box-shadow: 0 6px 18px -12px rgba(0,0,0,.25); }
.pw-mini img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; display: block; }
.pw-mini p { margin: 0; line-height: 1.25; }
.pw-mini a::after { content: ""; position: absolute; inset: 0; }
.pw-mini { position: relative; }

/* Promo tiles (Umeå) */
.pw-promo { border-radius: var(--pw-r); overflow: hidden; }
.pw-promo .wp-block-cover__background { background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.65) 42%, rgba(255,255,255,0) 72%) !important; opacity: 1 !important; }
.pw-promo .wp-block-cover__inner-container { color: var(--pw-ink) !important; }
.pw-promo .wp-block-cover__image-background { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.pw-promo:hover .wp-block-cover__image-background { transform: scale(1.05); }
.pw-promo h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.pw-underline::after { content: ""; display: block; width: 42px; height: 2px; background: currentColor; margin-top: .7rem; opacity: .8; }

/* Product cards */
li.wc-block-product { text-align: left; position: relative; }
.wc-block-components-product-image, .wp-block-woocommerce-product-image { background: var(--pw-cream); border-radius: var(--pw-r-sm); overflow: hidden; }
.wc-block-components-product-image img, .wp-block-woocommerce-product-image img { aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); border-radius: 0 !important; }
li.wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.04); }
li.wc-block-product .wp-block-post-title { font-size: 1rem !important; font-weight: 600; letter-spacing: -0.01em; }
li.wc-block-product .wp-block-post-terms { font-size: .85rem; color: var(--wp--preset--color--contrast-2); }
li.wc-block-product .wp-block-post-terms a { color: inherit; }
.wc-block-components-product-price del { color: #9a9a9a; font-weight: 400; font-size: .85em; margin-left: .4rem; order: 2; }
.wc-block-components-product-price ins { text-decoration: none; }
.wc-block-components-product-sale-badge {
	background: #fff !important; color: var(--pw-ink) !important; border: 0 !important; border-radius: 999px !important;
	font-size: .72rem !important; font-weight: 600; padding: .3rem .7rem !important; text-transform: none; letter-spacing: 0;
	top: 12px !important; left: 12px !important; right: auto !important; box-shadow: 0 2px 8px -4px rgba(0,0,0,.25);
}
.wc-block-components-product-button .wp-block-button__link,
.wc-block-components-product-button__button,
.wp-block-woocommerce-product-button .wp-block-button__link {
	background: var(--pw-ink) !important; color: #fff !important; border-radius: 999px !important; font-size: .8rem !important; padding: .55rem 1rem !important; font-weight: 600;
}

/* About features */
.pw-feat-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--pw-cream); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pw-feat-ico svg { width: 22px; height: 22px; stroke: var(--pw-ink); }
.pw-feat p { margin: 0; line-height: 1.3; font-size: .92rem; }

/* Offer banners (Beetle) */
.pw-offer { border-radius: var(--pw-r); overflow: hidden; }
.pw-offer .wp-block-cover__background { background: linear-gradient(90deg, rgba(20,18,16,.82) 0%, rgba(20,18,16,.45) 55%, rgba(20,18,16,.1) 100%) !important; opacity: 1 !important; }
.pw-offer .wp-block-cover__image-background { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.pw-offer:hover .wp-block-cover__image-background { transform: scale(1.04); }
.pw-btn-white .wp-block-button__link { background: #fff !important; color: var(--pw-ink) !important; }
.pw-btn-white .wp-block-button__link:hover { background: var(--pw-cream) !important; }

/* Atelier band */
.pw-atelier { border-radius: var(--pw-r); overflow: hidden; }
.pw-atelier .wp-block-column { margin: 0 !important; }
.pw-atelier img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; border-radius: 0 !important; }
.pw-ico-circle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d8d2c8; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.pw-ico-circle svg { width: 18px; height: 18px; stroke: var(--pw-ink); }

/* Category cards */
.pw-cat { background: var(--pw-cream); border-radius: var(--pw-r); padding: 8px !important; position: relative; }
.pw-cat img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; transition: filter .4s; }
.pw-cat:hover img { filter: brightness(.92); }
.pw-cat a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.pw-cat .pw-arrow { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem; margin: 0 !important; transition: transform .3s; }
.pw-cat:hover .pw-arrow { transform: rotate(-45deg); }

/* Dark CTA card */
.pw-cta { border-radius: 28px; overflow: hidden; }

/* Footer */
.pw-footer a:hover { color: var(--pw-gold) !important; }

/* Floating WhatsApp */
.pw-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; margin: 0 !important; }
.pw-float a { display: inline-flex; align-items: center; gap: .5rem; background: #25D366; color: #fff !important; font-weight: 600; font-size: .88rem; padding: .75rem 1.1rem; border-radius: 999px; box-shadow: 0 10px 26px -10px rgba(0,0,0,.4); }
.pw-float a:hover { background: #1ebe5a; }

/* WooCommerce */
.wc-block-components-button:not(.is-link) { background: var(--pw-ink); color: #fff; border-radius: 999px; }
.wc-block-components-button:not(.is-link):hover { background: #3a3733; }
.wc-block-mini-cart__badge { background: var(--pw-ink) !important; color: #fff !important; }
.wp-block-woocommerce-product-image-gallery img { border-radius: var(--pw-r); }

@media (max-width: 781px) {
	.pw-hero { border-radius: 20px; }
	.pw-header .wp-block-search { display: none; }
	.pw-promo .wp-block-cover__background { background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 60%, rgba(255,255,255,.1) 100%) !important; }
	.pw-float a { font-size: .8rem; padding: .65rem .95rem; }
}
@media (prefers-reduced-motion: reduce) {
	.pw-promo .wp-block-cover__image-background, .pw-offer .wp-block-cover__image-background, .wc-block-components-product-image img { transition: none; }
}
