/* Product styling is only a fallback for block themes without WooCommerce support.
   Classic shop themes own their product cards and responsive grid completely. */
.gew-world,.gew-home{--gew-accent:var(--btn-accented-bgcolor,#38b6ab);--gew-space:48px;color:inherit;font-family:var(--wd-text-font,inherit)}.gew-shell{max-width:var(--wd-container-w,1480px);margin:auto;padding:24px}.gew-world>section{margin-block:var(--gew-space)}.gew-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:36px;background:#f5f4f2;border-radius:12px;padding:clamp(24px,4vw,56px);overflow:hidden}.gew-eyebrow{letter-spacing:.12em;text-transform:uppercase;font-size:.8rem;color:var(--gew-accent);font-weight:700}.gew-hero h1{font-size:clamp(2rem,4vw,3.7rem);line-height:1.12;margin:16px 0}.gew-hero p{max-width:52ch;line-height:1.7}.gew-hero-image{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.gew-button{display:inline-block;background:var(--gew-accent);color:white!important;padding:13px 22px;border-radius:8px;text-decoration:none;font-weight:600;margin-top:12px}.gew-button:hover{filter:brightness(.9)}.gew-category-list{display:flex;flex-wrap:wrap;gap:12px}.gew-category-list a{padding:12px 18px;border:1px solid #d5ded4;border-radius:10px;color:inherit;text-decoration:none}.gew-category-list a:hover{background:#f5f4f2}.gew-callout{padding:32px;border-radius:10px;background:#f5f4f2}.gew-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.gew-tile{border:1px solid #d5ded4;border-radius:8px;overflow:hidden;color:inherit;text-decoration:none;display:flex;flex-direction:column;transition:transform .15s}.gew-tile:hover{transform:translateY(-3px)}.gew-tile img{width:100%;aspect-ratio:4/3;object-fit:cover}.gew-tile span{font-size:1.15rem;font-weight:650;padding:20px 20px 8px}.gew-tile small{padding:0 20px 20px;line-height:1.6}.gew-pagination{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.gew-pagination .page-numbers{padding:8px 12px;border:1px solid #d5ded4;border-radius:6px}.gew-world a:focus-visible,.gew-home a:focus-visible{outline:3px solid var(--gew-accent);outline-offset:4px}.gew-world.gew-fallback ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.gew-world.gew-fallback ul.products:before,.gew-world.gew-fallback ul.products:after{display:none!important}.gew-world.gew-fallback ul.products li.product{float:none!important;width:auto!important;margin:0!important}@media(max-width:900px){.gew-tiles,.gew-world.gew-fallback ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gew-hero{grid-template-columns:1fr;gap:24px}}@media(max-width:480px){.gew-tiles{grid-template-columns:1fr}.gew-shell{padding:16px}.gew-world{--gew-space:32px}.gew-world.gew-fallback ul.products{gap:12px}.gew-callout{padding:24px}}@media(prefers-reduced-motion:reduce){.gew-tile{transition:none}}
.gew-hero:not(:has(.gew-hero-image)){grid-template-columns:1fr}.gew-hero:not(:has(.gew-hero-image))>div{max-width:760px}

.gew-world.gew-fallback ul.products{padding:0;list-style:none}.gew-world.gew-fallback ul.products li.product{list-style:none}.gew-world.gew-fallback ul.products li.product .woocommerce-loop-product__title{font-size:1.05rem;line-height:1.4}.gew-world.gew-fallback ul.products li.product a{text-decoration:none}.gew-world.gew-fallback ul.products li.product img{border-radius:10px}.gew-world.gew-fallback ul.products li.product .price{font-size:1rem}

.gew-world h1,.gew-world h2,.gew-home h2{font-family:var(--wd-title-font,inherit);font-weight:var(--wd-title-font-weight,500);color:var(--wd-title-color,#2e2722)}.gew-button{color:var(--btn-accented-color,#fff)!important;border-radius:var(--btn-accented-brd-radius,5px)}.gew-world.gew-fallback ul.products li.product .woocommerce-loop-product__title{font-family:var(--wd-entities-title-font,inherit);font-weight:var(--wd-entities-title-font-weight,600)}

/* Scoped Gastoro category carousel uses the existing Woodmart renderer and scripts. */
.gew-world .gew-hero{padding:24px 32px;gap:24px}.gew-world .gew-hero>div{min-width:0}.gew-world .gew-hero h1{overflow-wrap:anywhere;hyphens:auto}.gew-world .gew-hero-image{max-height:220px;object-fit:contain}.gew-world .gew-category-carousel .wd-cat-thumb{max-width:140px;margin-inline:auto}.gew-world .gew-category-carousel .wd-cat-content{padding:12px 6px;min-width:0}.gew-world .gew-category-carousel .wd-entities-title{font-size:16px;line-height:1.35;text-transform:none;overflow-wrap:anywhere;hyphens:auto}.gew-world .gew-category-carousel .wd-cat-sub-menu{display:none}@media(max-width:768px){.gew-world .gew-hero{padding:20px;gap:16px}.gew-world .gew-hero-image{max-height:128px}.gew-world .gew-category-carousel .wd-cat-thumb{max-width:96px}.gew-world .gew-category-carousel .wd-entities-title{font-size:14px}.gew-world .gew-category-carousel .wd-cat-content{padding-inline:4px}}

.gew-world{--gew-space:28px}.gew-world .gew-category-carousel .wd-nav-arrows .wd-btn-arrow{opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto}.gew-world .gew-category-carousel .wd-nav-arrows .wd-btn-arrow.wd-disabled{opacity:.35!important;pointer-events:none}
@media(max-width:768px){.gew-world .gew-hero:has(.gew-hero-image){grid-template-columns:minmax(0,1fr)80px;gap:8px 12px}.gew-world .gew-hero>div{display:contents}.gew-world .gew-hero .gew-eyebrow{grid-column:1;grid-row:1;margin:0}.gew-world .gew-hero h1{grid-column:1;grid-row:2;font-size:28px;margin:0}.gew-world .gew-hero-image{grid-column:2;grid-row:1 / 3;width:80px;height:80px;max-height:80px;align-self:center}.gew-world .gew-hero p:not(.gew-eyebrow){grid-column:1 / -1;grid-row:3;margin-block:8px;line-height:1.5}.gew-world .gew-hero .gew-button{grid-column:1 / -1;grid-row:4;justify-self:start;margin-top:0}}

.gew-world .gew-category-carousel .wd-cat-inner{display:flex;flex-direction:column;gap:8px;text-align:center}.gew-world .gew-category-carousel .wd-cat-thumb{width:100%;position:relative}.gew-world .gew-category-carousel .wd-cat-content{position:static!important;width:100%;text-align:center}

/* Only the main document of shopping worlds, never the theme header or footer. */
body.single-gew_world main>[data-elementor-type="wp-post"]>.e-con.e-parent{--content-width:var(--wd-container-w,1480px);padding:20px;}

/* Keep category titles inside the equal-sized cards, including theme hover states. */
body.single-gew_world main .gew-category-carousel .wd-cat-content{position:static!important;transform:none!important;padding:10px 0 0!important;inset:auto!important;display:block!important;opacity:1!important;flex:0 0 auto;}
body.single-gew_world main .gew-category-carousel .wd-entities-title{position:static!important;inset:auto!important;width:100%!important;transform:none!important;}
