.responsivetext {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
}

.home-slider .carousel {
    max-width: 1920px;
    margin-inline: auto;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: #f7f7f7;
}

.home-slider .home-slider-layout {
    display: flex;
}

.home-slider .carousel-item-left {
    width: 60% !important;
    height: 480px !important;
    flex-shrink: 0;
    overflow: hidden;
}

.home-slider .carousel-item-left img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
}

.home-slider .carousel-item-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40% !important;
    height: 480px;
    padding: 32px clamp(24px, 2.8vw, 44px) 96px;
    gap: 16px !important;
}

.home-slider .carousel-name {
    font-size: clamp(24px, 2vw, 30px) !important;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -.6px;
    color: var(--text-color);
}

.home-slider .slider-text {
    min-height: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    color: var(--muted-text-color);
}

.home-slider .slider-text p {
    margin: 0;
    line-height: inherit !important;
}

.home-slider .home-slider-link {
    align-self: flex-start;
    flex-shrink: 0;
    min-width: 156px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

.home-slider .home-slider-link:hover {
    background: color-mix(in srgb, var(--primary-color) 85%, #000);
    border-color: color-mix(in srgb, var(--primary-color) 85%, #000);
}

.home-slider .home-slider-controls {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: 60%;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-inline: clamp(24px, 2.8vw, 44px);
}

.home-slider .carousel-indicators {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
}

.home-slider .carousel-indicators [data-bs-target] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 44px;
    margin: 0;
    border: 0;
    background: transparent !important;
    opacity: 1;
}

.home-slider .carousel-indicators [data-bs-target]::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 6px;
    background: #a8adb0;
    transition: width .2s ease, background-color .2s ease;
}

.home-slider .carousel-indicators .active::before {
    width: 24px;
    background: var(--orange);
}

.home-slider .home-slider-arrows {
    display: flex;
    gap: 8px;
}

.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
    position: static;
    width: 44px !important;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: #fff;
    color: var(--text-color);
    font-size: 15px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.home-slider .carousel-control-prev:hover,
.home-slider .carousel-control-next:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

@media (max-width:991px) {
    .home-slider .home-slider-layout {
        flex-direction: column;
    }
    .home-slider .carousel-item-left {
        width: 100% !important;
        height: clamp(220px, 40vw, 320px) !important;
    }
    .home-slider .carousel-item-right {
        width: 100% !important;
        height: 300px;
        justify-content: flex-start;
        padding: 24px 24px 84px;
        gap: 12px !important;
    }
    .home-slider .carousel-name {
        font-size: 24px !important;
    }
    .home-slider .slider-text {
        -webkit-line-clamp: 4;
    }
    .home-slider .home-slider-controls {
        left: 0;
        bottom: 20px;
        padding-inline: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-slider .carousel-indicators [data-bs-target]::before,
    .home-slider .carousel-control-prev,
    .home-slider .carousel-control-next {
        transition: none;
    }
}

/* Főoldali termékkártyák: a fotóközpontú változat a közös termékkártyával. */
.home-products .home-featured-grid {
    overflow-x: auto;
    padding-block: 5px 16px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: calc(var(--bs-gutter-x) * .5);
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.home-products .home-featured-item {
    scroll-snap-align: start;
}

/* Kompakt bemutatótermi ajánló, külön termékkártyákkal. */
.home-showroom {
    display:grid;
    grid-template-columns:minmax(0, 2fr) minmax(0, 3fr);
    overflow:hidden;
    border-radius:16px;
    background:#eef0f2;
}
.home-showroom-intro {
    position:relative;
    display:flex;
    align-items:center;
    min-width:0;
    padding:32px;
    background:#142b38;
}
.home-showroom-photo {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:30% center;
}
.home-showroom-intro::after {
    position:absolute;
    inset:0;
    content:"";
    background:linear-gradient(90deg, rgba(13,32,44,.96), rgba(13,32,44,.78));
}
.home-showroom-intro-copy {
    position:relative;
    z-index:1;
    width:100%;
    color:#fff;
}
.home-showroom-label {
    margin:0 0 16px;
    color:#8db7d0;
    font-size:40px;
    line-height:1.2;
    font-weight:600;
    letter-spacing:5px;
}
.home-layout .home-showroom-intro h2 {
    margin:0 0 12px;
    color:#fff !important;
    font-size:clamp(30px, 3.1vw, 46px) !important;
    font-weight:600 !important;
    line-height:1.15 !important;
    letter-spacing:-1px;
}
.home-showroom-invitation {
    margin:0;
    color:var(--orange);
    font-size:clamp(18px, 1.5vw, 22px);
    font-weight:600;
    line-height:1.5;
}
.home-showroom-benefits {
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:12px;
    margin:24px 0 28px;
    padding:24px 0 0;
    list-style:none;
    border-top:1px solid rgba(255,179,33,.55);
}
.home-showroom-benefits li {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    min-width:0;
    font-size:16px;
    line-height:1.6;
}
.home-showroom-benefits span {
    min-width:0;
    max-width:100%;
}
.home-showroom-benefits i {
    display:flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border:1px solid var(--orange);
    border-radius:50%;
    color:var(--orange);
    font-size:16px;
}
.home-showroom .home-showroom-button {
    justify-content:space-between;
    width:100%;
    gap:12px;
    border-color:var(--orange);
    border-radius:8px;
    background:var(--orange);
    color:#142b38 !important;
    font-size:15px;
    font-weight:600;
}
.home-showroom-button span {
    min-width:0;
    overflow-wrap:anywhere;
    text-align:left;
}
.home-showroom-button > i {
    flex-shrink:0;
}
.home-showroom .home-showroom-button:hover {
    border-color:#ffc34d;
    background:#ffc34d;
}
.home-showroom-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-content:center;
    gap:16px;
    min-width:0;
    padding:24px;
}
.home-showroom-card {
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    border:1px solid var(--border-color);
    border-radius:10px;
    background:white;
    color:var(--text-color) !important;
    text-decoration:none !important;
    transition:border-color .2s ease;
}
.home-showroom-card:hover {
    border-color:var(--primary-color);
}
.home-showroom-card:focus-visible,
.home-showroom-button:focus-visible {
    outline:3px solid var(--primary-color);
    outline-offset:3px;
}
.home-showroom-image {
    display:flex;
    align-items:center;
    justify-content:center;
    height:112px;
    padding:12px;
    background:#f8f9fa;
}
.home-showroom-image img {
    width:100%;
    height:100%;
    object-fit:contain;
    mix-blend-mode:multiply;
}
.home-showroom-copy {
    display:flex;
    flex:1;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding:12px;
}
.home-layout .home-showroom-copy h3 {
    display:-webkit-box !important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    min-height:42px;
    margin:0;
    font-size:14px !important;
    font-weight:500 !important;
    line-height:1.5 !important;
    overflow-wrap:anywhere;
}
.home-showroom-brand {
    color:var(--primary-color);
}
.home-showroom-price {
    margin-top:auto;
    font-size:18px;
    font-weight:600;
    line-height:1.5;
}
@media (min-width:992px) and (max-width:1399px) {
    .home-showroom-intro {
        padding:24px;
    }
    .home-showroom-grid {
        gap:12px;
        padding:20px;
    }
}
@media (max-width:991px) {
    .home-showroom {
        grid-template-columns:minmax(0,1fr);
    }
    .home-showroom-intro {
        padding:32px;
    }
    .home-layout .home-showroom-intro h2 {
        max-width:480px;
        font-size:36px !important;
    }
    .home-showroom-benefits {
        max-width:520px;
    }
    .home-showroom .home-showroom-button {
        width:auto;
    }
}
@media (min-width:768px) and (max-width:991px) {
    .home-showroom-benefits li {
        flex-direction:row;
        align-items:center;
    }
}
@media (min-width:992px) and (max-width:1199px) {
    .home-showroom-benefits {
        grid-template-columns:minmax(0,1fr);
    }
    .home-showroom-benefits li {
        flex-direction:row;
        align-items:center;
    }
}
@media (max-width:575px) {
    .home-showroom-intro {
        padding:24px 20px;
    }
    .home-layout .home-showroom-intro h2 {
        font-size:30px !important;
    }
    .home-showroom-benefits {
        gap:10px;
        grid-template-columns:minmax(0,1fr);
    }
    .home-showroom-benefits li {
        flex-direction:row;
        align-items:center;
    }
    .home-showroom .home-showroom-button {
        width:100%;
        padding:14px;
        font-size:14px;
    }
    .home-showroom-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
        padding:16px;
    }
    .home-showroom-image {
        height:104px;
        padding:8px;
    }
    .home-showroom-copy {
        padding:10px;
    }
    .home-showroom-price {
        font-size:16px;
    }
}
@media (prefers-reduced-motion:reduce) {
    .home-showroom-card,
    .home-showroom .home-showroom-button {
        transition:none;
    }
}

/* Raktáron lévő termékek: a főoldali Fogantyúshop-blokk megjelenése. */
.home-layout .home-stock {
    padding: 28px;
    border-radius: 20px;
    background: #f4f5f3;
}
.home-stock .home-section-heading {
    gap: 20px;
    margin-bottom: 24px;
}
.home-stock .home-eyebrow {
    margin-bottom: 10px;
}
.home-stock-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.home-stock-column {
    min-width: 0;
    margin: 0;
    padding: 0 20px;
    list-style: none;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #fff;
}
.home-stock-column > li + li {
    border-top: 1px solid var(--border-color);
}
.home-stock-item {
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 176px;
    padding: 22px 0;
    color: var(--text-color) !important;
    text-decoration: none !important;
}
.home-stock-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 10px;
    background: #f7f8f6;
}
.home-stock-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.home-stock-details {
    min-width: 0;
}
.home-layout .home-stock-details h3 {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 0 0 10px;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    letter-spacing: normal;
}
.home-stock-brand {
    color: var(--primary-color);
}
.home-stock-price {
    padding-right: 22px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}
.home-stock-availability {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 7px;
    color: #28714c;
    font-size: 14px;
    line-height: 1.5;
}
.home-stock-availability small {
    display: block;
    font-size: 11px;
}
.home-stock-arrow {
    position: absolute;
    right: 0;
    bottom: 24px;
    color: var(--primary-color);
    font-size: 14px;
}
.home-stock-item:hover .home-stock-image {
    background: #edf1eb;
}
.home-stock-item:hover h3 {
    color: var(--primary-color) !important;
}
.home-stock-item:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 6px;
}
@media (min-width:992px) and (max-width:1399px) {
    .home-layout .home-stock {
        padding: 24px;
    }
    .home-stock-grid {
        gap: 14px;
    }
    .home-stock-column {
        padding-inline: 14px;
    }
    .home-stock-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
    }
    .home-stock-image {
        width: 64px;
        height: 64px;
    }
}
@media (max-width:991px) {
    .home-stock-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .home-stock-item {
        min-height: 150px;
    }
}
@media (max-width:575px) {
    .home-layout .home-stock {
        padding: 20px 12px;
        border-radius: 14px;
    }
    .home-stock-column {
        padding-inline: 12px;
    }
    .home-stock-item {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 12px;
        padding-block: 18px;
    }
    .home-stock-image {
        width: 60px;
        height: 60px;
    }
    .home-stock-price {
        font-size: 15px;
    }
}

/* A slider alatti, adatból érkező információs kártyák. */
.home-layout .home-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 8px 0 0;
    border-bottom: 0;
}
.home-layout .home-benefit {
    display: block;
    min-width: 0;
}
.home-layout .home-benefit-body {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    height: 100%;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none !important;
}
.home-layout .home-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary-color) 10%, white);
    color: var(--primary-color);
    font-size: 18px;
}
.home-layout .home-benefit-text {
    min-width: 0;
    overflow-wrap: anywhere;
}
.home-layout .home-benefit-arrow {
    font-size: 14px;
    color: var(--primary-color);
}
.home-layout .home-benefit-link {
    transition: border-color .2s ease, box-shadow .2s ease;
}
.home-layout .home-benefit-link:hover {
    border-color: var(--light-blue);
    box-shadow: 0 5px 16px rgb(32 58 75 / 7%);
}
.home-layout .home-benefit-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}
@media (max-width:1199px) {
    .home-layout .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}
@media (max-width:575px) {
    .home-layout .home-benefits {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .home-layout .home-benefit-body {
        min-height: 60px;
        padding: 8px 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-layout .home-benefit-link {
        transition: none;
    }
}

/* Főoldali elrendezés és reszponzív megjelenés. */
.home-layout {
    font-size: 14px;
    line-height: 1.75;
}

.home-layout h1, .home-layout h2, .home-layout h3 {
    display: block !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500 !important;
    color: var(--text-color) !important;
}

.home-promotions {
    --blue: var(--light-blue);
}

.home-layout h2 {
    font-size: clamp(22px, 2.2vw, 28px) !important;
    line-height: 1.25 !important;
    letter-spacing: -1px;
}

.home-eyebrow {
    margin: 0 0 16px;
    color: var(--primary-color);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 2px;
}



.home-layout h1 {
    font-size: clamp(28px, 2.7vw, 40px) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    letter-spacing: -1px;
}

.home-layout h1 span {
    color: var(--primary-color);
}



.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 21px;
    min-height: 48px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background: var(--primary-color);
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: background .2s ease, border-color .2s ease;
}

.home-button:hover {
    background: var(--hover-color);
    border-color: var(--hover-color);
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    color: var(--primary-color) !important;
    font-size: 14px;
    font-weight: 500;
}

.home-text-link:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}





.home-photo-caption {
    position: absolute;
    bottom: 24px;
    left: 26px;
    color: #fff;
    font-size: 14px;
    letter-spacing: .6px;
    padding: 9px 14px;
    background: hsla(0, 0%, 45%, 0.6);
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 3px;
}

.home-benefits {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 27px 10px;
    border-bottom: 1px solid var(--border-color);
    gap: 26px;
}

.home-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: var(--muted-text-color);
}

.home-benefit > i {
    font-size: 22px;
    color: var(--primary-color);
    flex: 0 0 30px;
}

.home-benefit p {
    margin: 0;
}

.home-benefit a {
    color: var(--primary-color);
}

.home-section {
    margin-block: 68px;
    scroll-margin-top: 190px;
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.home-section-heading .home-eyebrow {
    margin-bottom: 11px;
}

.home-collections {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.home-category-sections {
    margin-block: 68px;
    scroll-margin-top: 190px;
}

.home-category-sections .home-categories {
    margin-block: 0 28px;
}

.home-category-sections .home-categories:last-child {
    margin-bottom: 0;
}

.home-categories .home-section-heading {
    margin-bottom: 18px;
}

.home-categories h2 {
    margin: 0 0 4px;
}

.home-category-description {
    margin: 0;
    color: var(--muted-text-color);
    line-height: 1.5;
}

.home-collection {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px 8px 8px;
    border-radius: 5px;
    background: #f4f5f6;
    color: inherit;
}

.home-collection-image {
    overflow: hidden;
    aspect-ratio: 1.3;
    background: #fff;
}

.home-collection img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    transition: transform .35s ease;
}

.home-collection:hover img {
    transform: scale(1.035);
}

.home-collection-caption {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 4px 0;
}

.home-collection-caption span {
    font-size: 9px;
    letter-spacing: 1.4px;
    color: var(--muted-text-color);
}

.home-layout .home-collection-caption h3 {
    min-width: 0;
    margin: 0 !important;
    color: var(--text-color) !important;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.4 !important;
    letter-spacing: normal;
    overflow-wrap: anywhere;
}

.home-collection-caption > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: #fff;
    color: var(--text-color);
    flex-shrink: 0;
}


.home-featured-item {
    min-width: 0;
}

.home-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--primary-color);
    border-radius: 6px;
    overflow: hidden;
    margin-block: 76px;
}

.home-story-photo {
    min-height: 390px;
    background: #fff;
}

.home-story-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% center;
}

.home-story-showroom .home-story-photo {
    position:relative;
}

.home-story-showroom .home-story-photo img {
    position:absolute;
    inset:0;
    object-position:center top;
}

.home-story-copy {
    padding: 48px;
}

.home-story .home-eyebrow {
    color: var(--orange);
}

.home-layout .home-story h2 {
    color: #fff !important;
    font-size: clamp(24px, 2.5vw, 35px) !important;
    line-height: 1.35 !important;
}

.home-story-copy > p:not(.home-eyebrow) {
    color: #fff;
    font-size: 14px;
    margin: 22px 0 28px;
}

.home-button-light {
    background: #fff;
    color: var(--primary-color) !important;
    border-color: #fff;
}

.home-button-light:hover {
    background: var(--border-color);
    border-color: var(--border-color);
}

.home-button-outline {
    flex-shrink: 0;
    color: var(--primary-color) !important;
    background: #fff;
}

.home-button-outline:hover {
    background: var(--surface-color);
}

@media (max-width:1399px) {
    .home-collections {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width:991px) {
    .home-collections {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width:1199px) {
    .home-benefits {
        gap: 16px;
    }
}

@media (max-width:767px) {
    .home-eyebrow {
        font-size: 12px;
    }
    .home-layout h1 {
        font-size: 32px !important;
        letter-spacing: -1px;
    }
    .home-benefits {
        grid-template-columns: repeat(2,1fr);
        padding: 24px 0;
        gap: 20px;
    }
    .home-benefit {
        font-size: 14px;
        gap: 9px;
    }
    .home-benefit > i {
        flex-basis: 24px;
        font-size: 19px;
    }
    .home-section, .home-category-sections {
        margin-block: 44px;
    }
    .home-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }
    .home-collections {
        gap: 20px 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-collection-image {
        aspect-ratio: 1.3;
    }
    .home-collection-caption {
        gap: 8px;
        padding-top: 8px;
    }
    .home-layout .home-collection-caption h3 {
        font-size: 14px !important;
    }
    .home-collection-caption > i {
        width: 28px;
        height: 28px;
    }
    .home-story {
        grid-template-columns: 1fr;
        margin-block: 46px;
    }
    .home-story-photo {
        min-height: 200px;
        max-height: 240px;
    }
    .home-story-copy {
        padding: 32px 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-collection img, .home-button {
        transition: none;
    }
}

.home-benefit-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: inherit;
}

.home-benefit-link > i {
    font-size: 22px;
    flex: 0 0 30px;
    color: var(--primary-color);
}

/* Homepage editorial sections use the existing shop palette and content. */
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}
.home-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    background: var(--surface-color, #f4f5f5);
}
.home-gallery-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.home-gallery-item:hover img {
    transform: scale(1.035);
}
.home-gallery-caption {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 42px 18px 18px;
    background: linear-gradient(transparent, rgb(0 0 0 / 72%));
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}
.home-gallery-caption > i {
    flex-shrink: 0;
    padding-bottom: 3px;
}
.home-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.home-video-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #fff;
}
.home-video-card iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #eef1f2;
}
.home-video-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    color: var(--primary-color);
}
.home-layout .home-video-caption h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}
.home-video-caption > i {
    flex-shrink: 0;
}
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.home-gallery-item:focus-visible,
.home-video-caption:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}
@media (max-width: 1399.98px) {
    .home-gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 991.98px) {
    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-video-grid, .home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    .home-gallery-grid {
        gap: 12px;
    }
    .home-gallery-caption {
        padding: 30px 12px 12px;
        font-size: 14px;
        gap: 8px;
    }
    .home-video-grid, .home-blog-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .home-blog-grid {
        gap: 24px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-gallery-item img {
        transition: none;
    }
}
