/* Preserve complete interior photographs and the established InStyle visual language. */
#instyle-category .product-story-link {display:block;overflow:visible;scroll-margin-top:110px;}
#instyle-category .product-story-link::after {display:none;}
#instyle-category .product-story-photo {display:block;width:100%;height:auto!important;max-height:none;object-fit:contain;filter:none!important;transform:none;}
#instyle-category .product-story-copy {position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 24px;padding:24px var(--side) 38px;animation:none!important;transform:none;opacity:1;text-shadow:none;background:var(--ink,#191919);}
#instyle-category .product-story-copy h3 {max-width:none;margin:0;font-size:clamp(23px,2.4vw,36px);line-height:1.13;letter-spacing:-.035em;text-wrap:pretty;}
#instyle-category .product-story-copy p {grid-column:2;grid-row:1;margin:4px 0 0;font-size:clamp(16px,1.6vw,22px);white-space:nowrap;}
#instyle-category .product-story-cta {grid-column:1;justify-self:start;margin:0;min-height:44px;font-size:14px;}
#instyle-category:is([data-category="haloszoba"],[data-category="garden"]) .category-hero {display:grid;grid-template-columns:1fr;min-height:0;}
#instyle-category:is([data-category="haloszoba"],[data-category="garden"]) .category-hero::before,#instyle-category:is([data-category="haloszoba"],[data-category="garden"]) .category-hero::after {display:none;}
#instyle-category:is([data-category="haloszoba"],[data-category="garden"]) .hero-image {grid-area:auto;display:block;width:100%;height:auto!important;max-height:none;object-fit:contain;position:relative;}
#instyle-category:is([data-category="haloszoba"],[data-category="garden"]) .hero-copy {grid-area:auto;order:-1;position:relative;padding:116px var(--side) 32px;background:var(--ink,#191919);}
#instyle-category:is([data-category="haloszoba"],[data-category="garden"]) .hero-copy h1 {font-size:clamp(44px,6.6vw,86px);margin-top:12px;line-height:1.03;}
#instyle-category:is([data-category="haloszoba"],[data-category="garden"]) .hero-copy .line-link {margin-top:16px;}
#instyle-category .instyle-view-controls {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;}
#instyle-category .catalog--stories > .instyle-view-controls {margin-inline:var(--side);}
#instyle-category .instyle-view-controls button {min-height:44px;padding:8px 15px;border:1px solid #ffffff40;border-radius:28px;background:transparent;color:#e8e7e2;font:inherit;font-size:14px;cursor:pointer;}
#instyle-category .instyle-view-controls button[aria-pressed="true"] {border-color:var(--green,#d0f24c);color:var(--green,#d0f24c);}
#instyle-category .instyle-overview {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;padding-inline:var(--side);}
#instyle-category .instyle-overview .product-story {grid-column:auto;margin:0!important;min-width:0;}
#instyle-category .instyle-overview .product-story-copy {display:block;padding:18px 0 25px;}
#instyle-category .instyle-overview .product-story-copy h3 {font-size:clamp(19px,2vw,28px);}
#instyle-category .instyle-overview .product-story-copy p {font-size:16px;margin-top:8px;white-space:normal;}
#instyle-category .instyle-overview .product-story-cta {margin-top:4px;}
#instyle-category .instyle-overview .product-card {padding-bottom:0!important;}
#instyle-category .instyle-view-controls button:focus-visible {outline:2px solid #e8e7e2;outline-offset:3px;}
.instyle-price-from {white-space:nowrap;}
.instyle-price-inquiry {font-size:inherit;color:inherit;}
.instyle-cart-refresh {margin:8px 0;color:#e7e7e0;font-size:13px;}
@media(max-width:760px){
 #instyle-category .product-story-copy {grid-template-columns:1fr;gap:3px;padding:18px var(--side) 25px;}
 #instyle-category .product-story-copy h3 {font-size:clamp(22px,6vw,30px);}
 #instyle-category .product-story-copy p {grid-column:auto;grid-row:auto;margin:6px 0 0;font-size:17px;white-space:normal;}
 #instyle-category .product-story-cta {margin-top:2px;}
 #instyle-category:is([data-category="haloszoba"],[data-category="garden"]) .hero-copy {padding:92px var(--side) 25px;}
 #instyle-category:is([data-category="haloszoba"],[data-category="garden"]) .hero-copy h1 {font-size:clamp(38px,11vw,62px);}
 #instyle-category .instyle-overview {gap:20px 14px;}
 #instyle-category .instyle-overview .product-story-copy h3 {font-size:18px;}
 #instyle-category .instyle-overview .product-story-copy p {font-size:14px;}
 #instyle-category .instyle-overview .product-story-cta {font-size:12px;gap:7px;}
}
@media(prefers-reduced-motion:reduce){.instyle-view-controls *{transition:none!important;}}

#instyle-category .instyle-price-from{color:var(--green,#d0f24c);}
.instyle-archive-notice{margin:0 0 24px;padding-bottom:18px;border-bottom:1px solid currentColor;color:inherit;}

#instyle-category .instyle-size-filter label{display:block;margin-bottom:8px;font-size:14px;color:#e8e7e2;}
#instyle-category .instyle-size-filter select{display:block;width:100%;min-height:48px;padding:10px 12px;color:#e8e7e2;background:#242620;border:1px solid #ffffff50;border-radius:4px;font:inherit;}
#instyle-category .instyle-size-filter select:focus-visible{outline:2px solid var(--green,#d0f24c);outline-offset:3px;}
#instyle-category .instyle-size-selection{margin:0 0 18px;font-size:14px;color:#e8e7e2;}
#instyle-category .instyle-size-selection a{margin-left:14px;color:var(--green,#d0f24c);text-decoration:underline;text-underline-offset:4px;}

/* Keep account navigation readable from the first paint, before contrast enhancement runs. */
body.instyle-content .woocommerce-MyAccount-navigation a{color:#f7f6f0;}
body.instyle-content .woocommerce-MyAccount-navigation a:hover,body.instyle-content .woocommerce-MyAccount-navigation .is-active a{color:#c6d86e;}
body.instyle-content .woocommerce-MyAccount-navigation a:focus-visible{outline:2px solid #c6d86e;outline-offset:3px;}

/* Wishlist actions must remain visible against the existing dark page. */
body.instyle-content .wd-wishlist-head .wd-social-icon{color:#f5f4ef;}
body.instyle-content .wd-wishlist-head .wd-social-icon:hover{color:#c6d86e;}
body.instyle-content .wd-wishlist-head .wd-social-icon:focus-visible{outline:2px solid #c6d86e;outline-offset:3px;}

body.instyle-content .wd-wishlist-head h1.title{font-size:18px;line-height:1.4;font-weight:500;}

/* Clear keyboard focus and easier pagination targets within the existing visual system. */
[data-instyle-nav-target]:focus-visible{outline:2px solid #c6d86e;outline-offset:5px;}
body.instyle-navigation-repair #instyle-category .woocommerce-pagination a.page-numbers,
body.instyle-navigation-repair #instyle-category .woocommerce-pagination span.page-numbers{min-width:44px;min-height:44px;}
body.instyle-navigation-repair #instyle-category .woocommerce-pagination a.page-numbers:focus-visible{outline:2px solid var(--green,#d0f24c);outline-offset:3px;}
body.instyle-navigation-repair #instyle-category .woocommerce-pagination a.next::before,
body.instyle-navigation-repair #instyle-category .woocommerce-pagination a.prev::before{content:none;}

/* WoodMart hides the native arrow text at 0px when its icon font supplies a pseudo-icon. */
body.instyle-navigation-repair #instyle-category .woocommerce-pagination a.next,
body.instyle-navigation-repair #instyle-category .woocommerce-pagination a.prev{font-size:20px;}

/* Keep dynamically updated purchase-bar amounts readable on the established dark storefront. */
body.instyle-storefront.single-product .wd-sticky-btn .price,
body.instyle-storefront.single-product .wd-sticky-btn .price .woocommerce-Price-amount,
body.instyle-storefront.single-product .wd-sticky-btn .price bdi{color:#f5f4ef!important;}

/* A visible cookie notice must leave enough scroll space for cart and checkout actions. */
html:has(body.instyle-cookie-layout){scroll-padding-bottom:var(--instyle-cookie-space,0px);}
body.instyle-cookie-layout{padding-bottom:var(--instyle-cookie-space,0px);}
body.instyle-cookie-layout .wd-cookies-popup[aria-hidden="true"]{visibility:hidden;pointer-events:none;}
body.instyle-cookie-layout .wd-cookies-popup .cookies-buttons a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;}
body.instyle-cookie-layout .wd-cookies-popup a:focus-visible{outline:2px solid #c6d86e;outline-offset:3px;}
.instyle-county-help{display:block;margin-top:8px;color:inherit;font-size:13px;line-height:1.45;}
@media(max-width:600px){
 body.instyle-cookie-layout .wd-cookies-popup{max-height:50dvh;}
 body.instyle-cookie-layout .wd-cookies-inner{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;max-height:calc(50dvh - 28px);}
 body.instyle-cookie-layout .cookies-info-text{min-height:0;max-height:calc(50dvh - 92px);overflow:auto;font-size:13px;line-height:1.5;}
 body.instyle-cookie-layout .cookies-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:0;}
}

/* Preserve the current checkout layout and olive summary background, with readable amounts from first paint. */
body.checkout-wc #cfw-mobile-cart-header,
body.checkout-wc #cfw-mobile-cart-header #cfw-expand-cart,
body.checkout-wc #cfw-mobile-total,
body.checkout-wc #cfw-mobile-total *{color:#f5f4ef!important;}
body.checkout-wc #cfw-mobile-cart-header .cfw-arrow{fill:currentColor;}
body.checkout-wc #cfw-expand-cart{cursor:pointer;}
body.checkout-wc #cfw-expand-cart:focus-visible{outline:2px solid #c6d86e;outline-offset:4px;}
body.checkout-wc #cfw-cart-summary{--cfw-cart-summary-text-color:#f5f4ef;--cfw-cart-summary-order-total-text-color:#f5f4ef;}
body.checkout-wc #place_order,body.checkout-wc #place_order:hover{color:#20261f!important;}
/* Restore the native wishlist action within custom purchase layouts. */
body.single-product .instyle-product-wishlist{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap;margin:16px 0 20px;}
body.single-product .instyle-product-wishlist .wd-wishlist-btn{margin:0;}
body.single-product .instyle-product-wishlist .wd-wishlist-btn a,
body.single-product .instyle-product-wishlist .instyle-wishlist-open{display:inline-flex;align-items:center;min-height:44px;color:#f5f4ef;font-size:13px;line-height:1.5;}
body.single-product .instyle-product-wishlist .instyle-wishlist-open{text-decoration:underline;text-underline-offset:4px;}
body.single-product .instyle-product-wishlist a:hover{color:#c6d86e;}
body.single-product .instyle-product-wishlist .wd-action-icon,
body.single-product .instyle-product-wishlist .wd-action-icon:before,
body.single-product .instyle-product-wishlist .wd-wishlist-btn a:before{color:currentColor;}
body.single-product .instyle-product-wishlist a:focus-visible{outline:2px solid #c6d86e;outline-offset:4px;}
