/* Homepage composition only. Image files, colour and product framing stay intact. */
.home-refined { --home-space: 64px; }
.kh-reference.home-refined .hero { height: 620px; min-height: 0; margin: 0; }
.kh-reference.home-refined .hero picture img { object-position: center 58%; }
.kh-reference.home-refined .hero::after { inset: 30% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / 30%)); }
.kh-reference.home-refined .hero-copy { inset: auto auto 44px var(--gutter); width: auto; max-width: min(760px, 85%); text-align: start; }
.kh-reference.home-refined .hero-copy h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -1.5px; }
.kh-reference.home-refined .hero-subtitle { margin-top: 16px; font-size: 24px; line-height: 1.35; }
.kh-reference.home-refined .hero-caption { margin-top: 10px; font-size: 17px; line-height: 1.4; }
.kh-reference.home-refined .hero-actions { position: static; inset: auto; width: auto; margin: 24px 0 0; justify-content: flex-start; transform: none; }
.home-refined .hero-actions .white-button { min-height: 46px; padding: 12px 24px; font-size: 14px; }
.home-refined :is(section, nav)[id] { scroll-margin-top: calc(var(--bahceye-header-height) + 24px); }
.home-refined :is(h2,h3) { text-wrap: balance; }
.home-refined .home-departments { padding-block: 40px 44px; }
.home-refined .home-departments h2, .home-refined .home-mats h2,
.kh-reference.home-refined .home-products .section-heading h2 { font-size: 32px; line-height: 1.2; }
.home-refined .home-department-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 24px; }
.home-refined .home-department { display: block; min-width: 0; }
.home-refined .home-department-photo { aspect-ratio: 2 / 1; overflow: hidden; background: #f5f5f2; }
.home-refined .home-department-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-refined .home-department-dis-mekan .home-department-photo img { object-position: center bottom; }
.home-refined .home-department-bahce .home-department-photo img { object-position: center 72%; }
.home-refined .home-department h3 { font-size: 22px; line-height: 1.3; margin: 15px 0 5px; }
.home-refined .home-department p { color: #575b54; font-size: 14px; line-height: 1.45; }
.home-refined .home-department:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.kh-reference.home-refined .home-products { padding-block: 36px var(--home-space); }
.kh-reference.home-refined .home-products .section-heading { margin-bottom: 24px; align-items: center; gap: 20px; }
.kh-reference.home-refined .home-products-all { font-size: 14px; }
.home-refined .home-product-tabs { display: flex; gap: 32px; border-bottom: 1px solid #deded9; margin-bottom: 30px; }
.home-refined .home-product-tabs button { padding: 8px 0 14px; min-height: 44px; font-size: 16px; color: #5d615a; position: relative; }
.home-refined .home-product-tabs button[aria-selected="true"] { color: #151a16; }
.home-refined .home-product-tabs button[aria-selected="true"]::after { content: ''; position: absolute; height: 2px; background: currentColor; inset: auto 0 -1px; }
.home-refined .home-product-tabs button:hover { color: #101010; }
.home-refined .home-product-panel { outline-offset: 6px; }
.home-refined .home-product-panel ul.products { gap: 32px 20px; }
.home-refined .home-range-link { display: block; width: fit-content; margin: 30px auto 0; }
.home-refined .home-text-link { display: inline-block; font-size: 14px; line-height: 1.5; padding-block: 8px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.home-refined .home-text-link:hover { color: #365842; }
.home-refined .home-single-pick { display: grid; grid-template-columns: minmax(220px,320px) minmax(260px,1fr); gap: 24px 80px; align-items: center; }
.home-refined .home-single-pick > ul.products { grid-template-columns: 1fr; }
.home-refined .home-single-pick .home-range-link { grid-column: 1 / -1; }
.home-refined .home-selection-note { max-width: 440px; }
.home-refined .home-selection-note h3 { font-family: BahceyeReferenceDisplay,Arial,sans-serif; font-size: 36px; margin: 12px 0 16px; }
.home-refined .home-selection-note p:not(.home-eyebrow) { font-size: 16px; line-height: 1.6; color: #575b54; }
.home-refined .home-selection-note .home-text-link { margin-top: 16px; }
.home-refined .home-eyebrow { font-size: 12px; line-height: 1.4; letter-spacing: 1.1px; text-transform: uppercase; color: #52634f; }
.home-refined .home-story { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; padding-block: 44px; background: #f5f5f0; }
.home-refined .home-story-photo { height: 490px; overflow: hidden; }
.home-refined .home-story-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-refined .home-story-body { min-width: 0; }
.home-refined .home-story h2 { font-size: clamp(32px,3vw,44px); line-height: 1.1; margin: 14px 0; }
.home-refined .home-story-intro { font-size: 16px; line-height: 1.5; color: #575b54; }
.home-refined .home-story-products { background: transparent; margin: 26px 0 16px; }
.home-refined .home-story-products ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.home-refined .home-story-products .product-picture > a { aspect-ratio: 1; }
.home-refined .home-story:not(.home-story-hose) .home-story-products ul.products { grid-template-columns: 1fr; }
.home-refined .home-story:not(.home-story-hose) .home-story-products li.product { display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 20px; align-items: center; }
.home-refined .home-story-products .product-info { padding: 0; }
.home-refined .home-story-hose { grid-template-columns: 1fr 1.15fr; background: #fff; padding-block: 0 var(--home-space); }
.home-refined .home-story-hose .home-story-photo { grid-column: 2; grid-row: 1; height: 550px; }
.home-refined .home-story-hose .home-story-body { grid-column: 1; grid-row: 1; }
.home-refined .home-story.home-story-grass { grid-template-columns: 1fr 1fr; gap: 40px; padding-block: 32px; }
.home-refined .home-story-grass .home-story-photo { height: 440px; }
.home-refined .home-story-grass .home-story-body { width: 100%; max-width: 540px; justify-self: center; }
.home-refined .home-story-grass h2 { font-size: clamp(30px,2.6vw,38px); margin: 10px 0 12px; }
.home-refined .home-grass-product { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 12px 24px; align-items: center; margin-top: 24px; padding: 20px; background: #fff; }
.home-refined .home-grass-product-photo { grid-column: 1; grid-row: 1 / 3; position: relative; min-width: 0; }
.home-refined .home-grass-product-photo > a { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; }
.home-refined .home-grass-product-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.home-refined .home-grass-product-photo img.product-photo-framed { inset: auto; left: 50%; top: 50%; width: var(--photo-width); height: var(--photo-height); max-width: none; transform: translate(var(--photo-x),var(--photo-y)); }
.home-refined .home-grass-wish { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #fff; }
.home-refined .home-grass-wish svg { width: 18px; height: 18px; }
.home-refined .home-grass-product-detail { grid-column: 2; min-width: 0; align-self: end; }
.home-refined .home-grass-product h3 { font-size: 20px; font-weight: 500; line-height: 1.3; margin: 0; }
.home-refined .home-grass-product h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-refined .home-grass-product-note { margin-top: 6px; font-size: 14px; line-height: 1.4; color: #5d615a; }
.home-refined .home-grass-stock { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; line-height: 1.5; color: #365842; }
.home-refined .home-grass-stock::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: 0 0 5px; }
.home-refined .home-grass-stock.is-unavailable { color: #7a4c40; }
.home-refined .home-grass-product-purchase { grid-column: 2; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.home-refined .home-grass-price { font-size: 20px; line-height: 1.4; font-weight: 500; }
.home-refined .home-grass-price .woocommerce-Price-amount { white-space: nowrap; }
.home-refined .home-grass-price ins { text-decoration: none; }
.home-refined .home-grass-product-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 11px 18px; background: #263d31; color: #fff; font-size: 14px; line-height: 1.4; }
.home-refined .home-grass-product-action:hover { background: #1a2c22; }
.home-refined .home-grass-product-action:focus-visible, .home-refined .home-grass-wish:focus-visible { outline: 2px solid #263d31; outline-offset: 4px; }
.home-refined .home-story-grass > .home-story-body > .home-text-link { margin-top: 12px; }
.home-refined .home-mats { padding-block: var(--home-space); }
.home-refined .home-mats .section-heading { margin-bottom: 28px; }
.home-refined .home-mat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-refined .home-mat { display: block; min-width: 0; }
.home-refined .home-mat-photo { position: relative; aspect-ratio: 1.5; overflow: hidden; background: #fff; }
.home-refined .home-mat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.home-refined .home-mat-photo img.product-photo-framed { inset: auto; left: 50%; top: 50%; width: var(--photo-width); height: var(--photo-height); max-width: none; transform: translate(var(--photo-x),var(--photo-y)); }
.home-refined .home-mat h3 { margin: 20px 0 8px; font-size: 22px; line-height: 1.3; }
.home-refined .home-mat p { color: #575b54; font-size: 16px; line-height: 1.5; }
.home-refined .home-mat .home-text-link { margin-top: 10px; }
.home-refined .home-fence { padding-block: 0 12px; }
/* A narrower panel and 3:2 columns keep the photo at its previous width. */
.home-refined .home-fence-layout { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); width: calc(100% * 10 / 11); margin-inline: auto; align-items: center; background: #f1eee7; }
.home-refined .home-fence-photo { min-width: 0; aspect-ratio: 3 / 2; }
.home-refined .home-fence-photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.home-refined .home-fence-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; padding: 32px 36px; }
.home-refined .home-fence h2 { font-size: clamp(28px,2.4vw,36px); line-height: 1.12; letter-spacing: -0.6px; max-width: 360px; margin: 8px 0 0; }
.home-refined .home-fence-detail { max-width: 360px; }
.home-refined .home-fence-detail p { font-size: 15px; line-height: 1.5; color: #4d5149; }
.home-refined .home-fence-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; max-width: 100%; margin-top: 12px; padding: 10px 16px; border: 1px solid #263d31; background: #263d31; color: #fff; font-size: 14px; line-height: 1.45; }
.home-refined .home-fence-link svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; }
.home-refined .home-fence-link:hover { background: #1a2c22; }
.home-refined .home-fence-link:focus-visible { outline: 2px solid #263d31; outline-offset: 4px; }
.home-refined .home-help { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-block: 36px; }
.home-refined .home-help > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.home-refined .home-help span { font-size: 16px; line-height: 1.4; }
.home-refined .home-help a { font-size: 14px; min-height: 44px; padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; }
.kh-reference.home-refined .kh-commerce .woocommerce-loop-product__title { font-size: 16px; line-height: 1.4; }
.kh-reference.home-refined .kh-commerce .product-description { font-size: 14px; line-height: 1.4; color: #5d615a; }
.kh-reference.home-refined .kh-commerce .price { font-size: 15px; line-height: 1.4; }
.kh-reference.home-refined .kh-commerce .product-tags span { font-size: 12px; }
.home-refined .kh-commerce .quick-add a { font-size: 14px; }
.home-refined .home-story-products .quick-add a { font-size: 13px; }
@media (max-width: 1023px) {
 .home-refined { --home-space: 48px; }
 .home-refined .home-story { gap: 28px; }
 .home-refined .home-story-photo { height: 440px; }
 .home-refined .home-story:not(.home-story-hose) .home-story-products li.product { grid-template-columns: 150px minmax(0,1fr); gap: 16px; }
 .home-refined .home-story.home-story-grass { gap: 28px; }
 .home-refined .home-grass-product { grid-template-columns: 110px minmax(0,1fr); padding: 16px; gap: 12px 16px; }
 .home-refined .home-grass-product-photo { grid-row: 1; }
 .home-refined .home-grass-product-detail { align-self: center; }
 .home-refined .home-grass-product h3 { font-size: 18px; }
 .home-refined .home-grass-product-purchase { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
 .home-refined .home-grass-price { font-size: 17px; }
 .home-refined .home-grass-product-action { gap: 16px; padding-inline: 14px; font-size: 13px; }
 .home-refined .home-fence-layout { width: 100%; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
 .home-refined .home-fence-copy { gap: 16px; padding: 20px 24px; }
 .home-refined .home-fence h2 { font-size: 28px; }
 .home-refined .home-fence-detail p { font-size: 14px; }
}
@media (max-width: 767px) {
 .home-refined { --gutter: 20px; --home-space: 40px; }
 .kh-reference.home-refined .hero { height: 520px; min-height: 0; }
 .kh-reference.home-refined .hero picture img { object-position: 62% center; }
 .kh-reference.home-refined .hero-copy { inset: auto 20px 28px; max-width: none; width: auto; }
 .kh-reference.home-refined .hero-copy h1 { font-size: 44px; letter-spacing: -1px; }
 .kh-reference.home-refined .hero-subtitle { margin-top: 12px; font-size: 20px; max-width: 320px; }
 .kh-reference.home-refined .hero-caption { margin-top: 10px; font-size: 15px; }
 .kh-reference.home-refined .hero-actions { margin-top: 20px; }
 .home-refined .home-departments { padding-block: 28px 30px; }
 .home-refined .home-departments h2, .home-refined .home-mats h2,
 .kh-reference.home-refined .home-products .section-heading h2 { font-size: 26px; }
 .home-refined .home-department-grid { gap: 12px; margin-top: 20px; }
 .home-refined .home-department-photo { aspect-ratio: 1; }
 .home-refined .home-department h3 { font-size: 16px; margin-top: 12px; }
 .home-refined .home-department p { font-size: 13px; }
 .kh-reference.home-refined .home-products { padding-block: 22px 40px; }
 .kh-reference.home-refined .home-products .section-heading { margin-bottom: 18px; }
 .kh-reference.home-refined .home-products-all { display: none; }
 .home-refined .home-product-tabs { gap: 26px; margin-bottom: 24px; }
 .home-refined .home-product-tabs button { font-size: 14px; }
 .home-refined .home-product-panel ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 14px; }
 .home-refined #home-panel-all > ul.products > li:nth-child(n+5) { display: none; }
 .home-refined .home-single-pick { grid-template-columns: 1fr; gap: 24px; }
 .home-refined .home-single-pick > ul.products { grid-template-columns: 1fr; max-width: 300px; width: 100%; margin-inline: auto; }
 .home-refined .home-selection-note { padding: 24px; background: #f5f5f0; }
 .home-refined .home-selection-note h3 { font-size: 28px; }
 .home-refined .home-story, .home-refined .home-story-hose { grid-template-columns: 1fr; gap: 24px; padding-block: 24px 30px; }
 .home-refined .home-story-hose { padding-block: 0 40px; }
 .home-refined .home-story .home-story-photo { grid-column: auto; grid-row: auto; height: 240px; }
 .home-refined .home-story .home-story-body { grid-column: auto; grid-row: auto; }
 .home-refined .home-story h2 { font-size: 32px; margin: 10px 0 12px; }
 .home-refined .home-story-products { margin: 20px 0 12px; }
 .home-refined .home-story:not(.home-story-hose) .home-story-products li.product { grid-template-columns: 150px minmax(0,1fr); gap: 16px; }
 .home-refined .home-story-products ul.products { gap: 14px; }
 .home-refined .home-story-products .quick-add a { font-size: 12px; }
 .home-refined .home-story.home-story-grass { grid-template-columns: 1fr; gap: 22px; padding-block: 24px; }
 .home-refined .home-story-grass .home-story-photo { height: 220px; }
 .home-refined .home-story-grass .home-story-photo img { object-position: center 42%; }
 .home-refined .home-story-grass h2 { font-size: 28px; margin: 8px 0 10px; }
 .home-refined .home-story-grass .home-story-intro { font-size: 15px; }
 .home-refined .home-grass-product { grid-template-columns: 120px minmax(0,1fr); margin-top: 20px; }
 .home-refined .home-grass-product-note { font-size: 13px; }
 .home-refined .home-grass-stock { margin-top: 8px; }
 .home-refined .home-grass-product-purchase { gap: 10px; }
 .home-refined .home-grass-price { font-size: 16px; }
 .home-refined .home-grass-product-action { gap: 12px; padding-inline: 12px; }
 .home-refined .home-mats .section-heading { flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
 .home-refined .home-mat-grid { grid-template-columns: 1fr; gap: 22px; }
 .home-refined .home-mat { display: grid; grid-template-columns: 110px minmax(0,1fr); column-gap: 18px; align-items: start; }
 .home-refined .home-mat-photo { grid-row: 1 / 4; width: 110px; aspect-ratio: 1.5; align-self: center; }
 .home-refined .home-mat h3 { font-size: 18px; margin: 0 0 6px; }
 .home-refined .home-mat p { font-size: 14px; }
 .home-refined .home-mat .home-text-link { margin-top: 2px; }
 .home-refined .home-fence { padding-block: 0 12px; }
 .home-refined .home-fence-layout { grid-template-columns: 1fr; }
 .home-refined .home-fence-copy { gap: 10px; padding: 16px; }
 .home-refined .home-fence h2 { font-size: 26px; max-width: 330px; margin-top: 8px; }
 .home-refined .home-fence-detail { max-width: none; }
 .home-refined .home-fence-detail p { font-size: 14px; line-height: 1.5; }
 .home-refined .home-fence-link { margin-top: 12px; }
 .home-refined .home-help { gap: 0; padding-block: 18px; grid-template-columns: 1fr; }
 .home-refined .home-help > div { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; padding-block: 10px; }
 .home-refined .home-help > div + div { border-top: 1px solid #deded9; }
 .home-refined .home-help span { font-size: 14px; }
 .home-refined .home-help a { font-size: 13px; text-align: end; }
 .kh-reference.home-refined .kh-commerce .woocommerce-loop-product__title { font-size: 14px; }
 .kh-reference.home-refined .kh-commerce .product-description { font-size: 13px; }
 .kh-reference.home-refined .kh-commerce .price { font-size: 14px; }
 .home-refined .kh-commerce .quick-add a { font-size: 13px; }
}
@media (max-width: 374px) {
 .home-refined .home-grass-product { grid-template-columns: 100px minmax(0,1fr); padding: 12px; gap: 12px; }
 .home-refined .home-grass-product h3 { font-size: 16px; }
 .home-refined .home-grass-product-action { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 .home-refined *, .home-refined *::before, .home-refined *::after { scroll-behavior: auto; }
}
