/* ==========================================================================
   Homepage — Interium premium layout
   ========================================================================== */

.home-section {
    padding: 0;
}

/* Hero */
.home-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8a8175;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.home-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%);
}

.home-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.home-hero-title {
    color: #fff;
    text-transform: uppercase;
}

.home-hero-subtitle {
    color: rgba(255,255,255,.9);
    margin-bottom: 12px;
}

/* Buttons */
.home-ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 19px;
    border: 1px solid #FFFFFF;
    color: #fff;
    background: transparent;
    text-decoration: none;
    transition: background .2s, color .2s;
    text-transform: none;
}

.home-ghost-button:hover {
    background: rgba(22, 20, 18, 0.15);
    text-decoration: none;
}

.home-ghost-button-light {
    border-color: #fff;
    color: #fff;
}

.home-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid var(--color-btn-secondary-bg);
    color: var(--color-btn-secondary-bg);
    background: transparent;
    text-decoration: none;
    transition: all .2s;
    width: fit-content;
    font-size: var(--text-button-size);
    line-height: var(--text-button-lh);
    font-weight: var(--text-button-weight);
}

.home-outline-button .text-button {
    text-transform: none;
}

.home-outline-button:hover {
    background: rgba(22, 20, 18, 0.1);
    text-decoration: none;
}

.home-outline-button-light {
    border-color: #fff;
    color: #fff;
}

.home-outline-button-light:hover {
    background: #fff;
    color: var(--color-text);
}

/* Categories — 2 rows × 8 visible (16), horizontal scroll for the rest */
.home-categories-section {
    padding: 32px 0 32px;
    position: relative;
}

.home-categories-scroll {
    position: relative;
}

.home-categories {
    --home-cat-gap: 32px;
    --home-cat-cols: 8;
    --home-cat-col-width: 197px;
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: repeat(var(--home-cat-cols), var(--home-cat-col-width));
    gap: var(--home-cat-gap);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 16px;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-categories::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.home-categories:active,
.home-categories.is-dragging {
    cursor: grabbing;
}

.home-categories-scrollbar {
    height: 3px;
    background: transparent;
    position: relative;
    margin-top: 8px;
}

.home-categories-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    min-width: 40px;
    background: #B8AEA2;
    cursor: pointer;
}

.home-category-item {
    width: 100%;
    min-width: 0;
    height: 150px;
    max-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    background-color: var(--color-bg-warm-gray);
    padding: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.home-category-image {
    width: 173px;
    height: 100px;
    max-width: 100%;
    flex: 0 0 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height .35s ease, flex-basis .35s ease;
    position: relative;
}

.home-category-sale-badge {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    padding: 2px 8px;
    border-radius: 15px;
    background: var(--color-badge-sale-bg);
    color: var(--color-badge-sale-text);
    text-transform: none;
}

.home-category-item:hover .home-category-image {
    height: 80px;
    flex-basis: 80px;
}

.home-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    transition: transform .35s ease;
}

.home-category-item:hover .home-category-image img {
    transform: scale(0.97);
}

.home-category-image img.product-img-placeholder {
    object-fit: contain;
    padding: 20px;
    background: #f3f1ee;
}

.home-category-label {
    display: block;
    flex-shrink: 0;
    text-transform: none;
    color: var(--color-bg-dark);
    white-space: nowrap;
}

.home-category-hidden {
    display: block;
    color: var(--color-text-secondary);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(6px);
    transition:
        max-height .35s ease,
        opacity .3s ease,
        transform .35s ease;
    line-height: 1.3;
}

.home-category-item:hover .home-category-hidden {
    max-height: 1.4em;
    opacity: 1;
    transform: translateY(0);
}

.home-categories__next,
.home-categories__prev {
    position: absolute;
    height: 40px;
    width: 40px;
    border-radius: 50px;
    border: 1px solid var(--color-border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 42%;
    cursor: pointer;
    background: transparent;
    padding: 0;
    color: var(--color-bg-dark, #161412);
    transition: opacity .2s ease, color .2s ease;
}

.home-categories__next {
    right: 0;
}

.home-categories__prev {
    left: 0;
}

.home-categories__next svg,
.home-categories__prev svg {
    height: 14px;
    width: 7px;
}

.home-categories__prev svg {
    transform: rotate(180deg);
}


.home-categories__next:disabled,
.home-categories__next.is-hidden,
.home-categories__prev:disabled,
.home-categories__prev.is-hidden {
    opacity: 0;
    pointer-events: none;
}


/* Promo grid */
.home-promo-section {
    padding-top: 48px;
}

.home-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.home-promo-feature {
    position: relative;
    min-height: 860px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #d4c4b0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-promo-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55) 100%);
}

.home-promo-feature-content {
    position: relative;
    z-index: 1;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-promo-feature-title {
    margin-bottom: 32px;
    max-width: 383px;
    text-align: center;
}

.home-promo-feature-text {
    font-size: 14px;
    opacity: .9;
    margin-bottom: 20px;
    max-width: 320px;
}

.home-promo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #E9E3D9;
}

.home-promo-card {
    background: var(--color-bg-main);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s;
    gap: 16px;
    padding: 40px;
}

.home-promo-card-number {
    color: var(--color-accent);
}

.home-promo-card-content {
    height: 232px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.home-promo-card-title {
    text-transform: uppercase;
    color: var(--color-text-primary);
    max-width: 300px;
}

.home-promo-card-text {
    color: var(--color-text-secondary);
    flex: 1;
}

.home-link-arrow {
    color: var(--color-accent-terracotta);
    position: relative;
    max-width: fit-content;
}

.home-link-arrow::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
}

.home-link-arrow:hover::after {
    transform: scaleX(1);
}

/* Products — 2 rows × 4 visible (8), horizontal scroll for the rest */
.home-products-section {
    padding-top: 32px;
    position: relative;
}

.home-products-section > .page-container {
    position: relative;
    max-width: 100svw;
    margin: 0;
    padding-left: 60px;
    padding-bottom: 48px;
}

.home-products-scroll {
    position: relative;
}

.home-products-grid {
    display: flex;
    align-items: start;
    gap: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 16px;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    padding-right: 60px;
}

.home-products-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.home-products-grid:active,
.home-products-grid.is-dragging {
    cursor: grabbing;
}

.home-products-scrollbar {
    height: 3px;
    background: transparent;
    position: relative;
    margin-top: 8px;
}

.home-products-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    min-width: 40px;
    background: #B8AEA2;
    cursor: pointer;
}

.home-products-scrollbar-thumb:hover {
    height: 7px;
    background: var(--color-btn-secondary-loading);
}

.home-products__next,
.home-products__prev {
    position: absolute;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 193px;
    transform: translateY(-50%);
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    color: var(--color-bg-dark, #161412);
    transition: opacity .2s ease, color .2s ease;
    z-index: 2;
}

.home-products__next {
    right: 0;
}

.home-products__prev {
    left: 20px;
}

.home-products__prev svg {
    transform: rotate(180deg);
}

.home-products__next:hover,
.home-products__prev:hover {
    color: var(--color-accent-mustard, #D7A556);
}

.home-products__next:disabled,
.home-products__next.is-hidden,
.home-products__prev:disabled,
.home-products__prev.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.home-section-action {
    text-align: center;
    margin-top: 40px;
}

.home-product-card {
    min-width: 426px;
}

.home-product-card-image-wrap {
    position: relative;
    background: var(--color-bg-warm-gray);
    border: 1px solid var(--color-bg-warm-gray);
    overflow: hidden;
    aspect-ratio: 1;
    width: 100%;
    height: auto;
}

.home-product-card-image-wrap:hover {
    border: 1px solid var(--color-border-dark);
}

.home-product-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.home-product-card-image.product-img-placeholder {
    padding: 32px;
    opacity: 0.85;
}

.home-product-favorite-form {
    position: absolute;
    top: 0;
    right: 0;
}

.home-product-favorite-button {
    width: 60px;
    height: 60px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #161412;
}

.home-product-favorite-button:hover {
    color: #B9822F;
}

.home-product-favorite-button.is-active svg path {
    fill: var(--color-accent-terracotta);
    stroke: var(--color-accent-terracotta);
}

.home-product-card-body {
    padding: 20px 0 0 0;
}

.home-product-card-data {
    display: flex;
    align-items: start;
    justify-content: space-between;
    min-width: 100%;
}

.home-product-card-meta {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.home-product-card-title {
    color: var(--color-text-primary);
}

.home-product-card-title:hover a {
    color: var(--color-text-accent-mustard);
}

.home-product-card-title a {
    color: var(--color-text-primary);
    text-decoration: none;
}

.home-product-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
}

.home-product-price {
    color: var(--color-text-primary);
}

.home-product-old-price {
    color: var(--color-text-secondary);
    text-decoration: line-through;
}

.home-product-discount {
    background-color: var(--color-badge-sale-bg);
    padding: 2px 8px;
    border-radius: 15px;
}

.home-product-discount-text {
    color: var(--color-badge-sale-text);
}

.home-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 100%;
    padding-top: 12px;
}

.home-product-vendor {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-product-vendor-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0ede8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #666;
}

.home-product-vendor-name {
    color: var(--color-text-secondary);
}

.home-product-cart-button {
    width: 60px;
    height: 60px;
    border: none;
    background: var(--color-bg-warm-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s, border-color .2s;
}

.home-product-cart-button:hover {
    background-color: var(--color-bg-dark);
}

.home-product-cart-button:hover svg path {
    fill: #FFFFFF;
}

.home-product-cart-button.is-in-cart {
    background-color: var(--color-accent-terracotta);
}

.home-product-cart-button.is-in-cart svg path {
    fill: #FFFFFF;
}

.home-product-cart-button.is-in-cart:hover {
    background-color: var(--color-accent-terracotta-hover);
}

/* Info blocks */
.home-info-section {

}

.home-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.home-info-card {
    overflow: hidden;
    min-height: 521px;
    position: relative;
}

.home-info-card-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-bg-warm-gray);
    display: flex;
    align-items: flex-start;
}

.home-info-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.6) 100%);
}

.home-info-card-content {
    height: 100%;
    position: relative;
    z-index: 1;
    padding: 40px;
    color: var(--color-text-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-info-card-meta {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.home-info-card-services {
    background: var(--color-bg-warm-gray);
    display: flex;
    flex-direction: column;
}

.home-info-card-title {
    text-transform: uppercase;
}

.home-info-card-services .home-info-card-title { color: var(--color-text); }

.home-info-card-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px;
    opacity: .92;
}

.home-info-card-text-dark {
    color: var(--color-text-muted, #666);
    opacity: 1;
}

.home-info-items {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-info-item-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-info-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-info-item-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent, #D7A556);
    flex-shrink: 0;
    margin-left: 11px;
    margin-right: 11px;
}

.home-info-bullets {
    list-style: none;
    margin-bottom: 20px;
}

.home-info-bullets li {
    font-size: 14px;
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.home-info-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.home-services-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #D5CCC0;
}

.home-service-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 12px;
    color: var(--color-text-primary);
    text-decoration: none;
    height: 98px;
    background-color: var(--color-bg-warm-gray);
}

.home-service-icon {
    width: 48px;
    height: 48px;
    display: block;
    overflow: hidden;
}

.home-service-icon-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-service-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-service-icon-credit { background: #f3f1ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23666' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E") center/24px no-repeat; }
.home-service-icon-design { background: #f3f1ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23666' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2 7h7l-5.5 4 2 7L12 16l-5.5 4 2-7L3 9h7z'/%3E%3C/svg%3E") center/22px no-repeat; }
.home-service-icon-delivery { background: #f3f1ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23666' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='M1 3h15v13H1zM16 8h4l3 5v3h-7V8z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E") center/24px no-repeat; }
.home-service-icon-assembly { background: #f3f1ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23666' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpath d='M14 2v6h6M9 15l2 2 4-4'/%3E%3C/svg%3E") center/22px no-repeat; }
.home-service-icon-cafe { background: #f3f1ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23666' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h1a4 4 0 010 8h-1M2 8h16v9a4 4 0 01-4 4H6a4 4 0 01-4-4V8z'/%3E%3C/svg%3E") center/22px no-repeat; }
.home-service-icon-parking { background: #f3f1ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23666' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M9 17V7h4a3 3 0 010 6H9'/%3E%3C/svg%3E") center/22px no-repeat; }

/* Location */
.home-location-section {
    position: relative;
    display: grid;
    grid-template-columns: 513px 1fr;
    gap: 32px;
    max-width: 100svw;
    padding-top: 40px;
}

.home-location-overlay {
    position: absolute;
    inset: 0;
    background: rgba(250,249,247,.55);
}

.home-location-map {
    position: relative;
    overflow: hidden;
}

.home-location-map::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, #FFFDF8 0%, rgba(255, 253, 248, 0) 35.19%);
}

.home-location-map-image {
    display: block;
    max-height: 466px;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-location-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 420px;
}

.home-location-card {
    background: var(--color-bg-main);
    padding: 60px 0 60px 60px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
}

.home-location-title {
    text-transform: uppercase;
    max-width: 305px;
}

.home-location-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-location-item-icon {
    height: 36px;
    width: 36px;
}

.home-location-item-data {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.home-location-address,
.home-location-hours,
.home-location-phone {
    color: var(--color-text-primary);
}

.home-location-phone a { color: var(--color-text); }

.home-location-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.home-danger-button {
    background-color: var(--color-accent-terracotta);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    text-decoration: none;
    transition: all .2s;
    width: fit-content;
    font-size: var(--text-button-size);
    line-height: var(--text-button-lh);
    font-weight: var(--text-button-weight);
}

.home-danger-button:hover {
    background-color: var(--color-accent-terracotta-hover);
}

/* Partners */
.home-partners-section {
    padding: 32px 0 40px;
    overflow: hidden;
}

.home-partners-viewport {
    overflow: hidden;
    width: 100%;
}

.home-partners-row {
    display: flex;
    align-items: stretch;
    width: max-content;
    flex-wrap: nowrap;
    animation: home-partners-marquee var(--partners-duration, 20s) linear infinite;
    will-change: transform;
    gap: 32px;
}

.home-partners-section:hover .home-partners-row {
    animation-play-state: paused;
}

@keyframes home-partners-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.home-partner-item {
    position: relative;
    height: 240px;
    width: 240px;
    min-width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border-light);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: -1px;
}

.home-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .7;
    transition: opacity .25s ease;
    pointer-events: none;
}

.home-partner-item:hover .home-partner-logo {
    opacity: 1;
}

.home-partner-logo img {
    max-height: 144px;
    max-width: 144px;
    object-fit: contain;
}

.home-partner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(28, 67, 80, 0.82);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    padding: 20px;
    text-align: center;
}

.home-partner-item:hover .home-partner-overlay {
    opacity: 1;
}

.home-partner-overlay-text {
    color: #fff;
}

.arrow {
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
    .home-partners-row {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1919px) {
    .home-categories {
        --home-cat-gap: 32px;
        --home-cat-visible: 5;
        padding-left: 60px;
    }

    .home-promo-grid {
        grid-template-columns: 400px 1fr ;
    }
}

@media (max-width: 1199px) {
    .home-promo-grid {
        grid-template-columns: 1fr;
    }

    .home-promo-feature {
        min-height: unset;
        height: 430px;
    }

    .home-promo-card-title {
        max-width: unset;
    }

    .home-promo-card-content {
        height: 130px;
    }

    .home-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scheme-card {
        grid-area: 1 / 1 / 2 / 2;
        height: 347px;
        min-height: unset;
    }
    .belarus-card {
        grid-area: 2 / 1 / 3 / 2;
        height: 434px;
        min-height: unset;
    }
    .services-card { grid-area: 1 / 2 / 3 / 3; }

    .home-services-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-service-icon-item {
        gap: 12px;
    }

    .home-location-section {
        grid-template-columns: 308px 1fr;
    }

    .home-location-map-image {
        max-height: 576px;
    }

    .home-danger-button, .home-outline-button {
        width: 223px;
    }
}

@media (max-width: 1023px) {

    .home-hero {
        padding: 0 24px;
        background-color: #FFFFFF;
        min-height: 398px;
    }

    .home-hero-media, .home-hero-overlay {
        width: calc(100svw - 48px);
        margin: 0 auto;
    }

    .home-categories {
        --home-cat-col-width: 131px;
        padding-left: 24px;
        --home-cat-gap: 16px;
    }

    .home-category-image {
        width: 115px;
        flex: unset;
    }

    .home-category-image img {
        max-width: 115px;
    }

    .home-category-label {
        white-space: wrap;
    }

    .home-category-item {
        height: 130px;
        max-height: 130px;
    }

    .home-promo-card {
        padding: 24px;
    }

    .home-promo-card-content {
        height: 175px;
    }

    .home-products-section > .page-container {
        padding-left: 24px;
    }

    .home-products-grid {
        gap: 16px;
    }

    .home-products__next, .home-products__prev {
        top: 170px;
        height: 25px;
        width: 25px;
    }

    .home-product-card {
        min-width: 280px;
    }

    .home-product-card-body {
        padding: 12px 0 0;
    }

    .home-info-section {
        padding: 0 24px;
    }

    .home-info-grid {
        gap: 12px;
    }

    .scheme-card {
        height: 270px;
    }

    .belarus-card {
        height: 390px;
    }

    .home-info-card-content {
        padding: 24px;
    }

    .home-location-section {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .home-location-card {
        padding: 32px 24px;
        align-items: center;
    }

    .home-location-map::before {
        background: none;
    }

    .home-location-title {
        text-align: center;
        max-width: 245px;
    }

    .home-location-buttons {
        flex-direction: column;
        width: calc(100svw / 2 - 48px);
        align-items: center;
    }

    .home-location-buttons .home-danger-button, .home-location-buttons .home-outline-button {
        width: 100%;
    }

    .home-partner-item {
        height: 120px;
        width: 120px;
        min-width: 120px;
    }

    .home-partner-logo img {
        max-height: 72px;
        max-width: 72px;
    }
}

@media (max-width: 767px) {
    .home-promo-cards {
        grid-template-columns: 1fr;
    }

    .home-info-section {
        padding: 0;
    }

    .home-info-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .scheme-card, .belarus-card, .services-card {
        grid-area: unset;
    }

    .scheme-card {
        height: 244px;
    }

    .belarus-card {
        height: 358px;
    }

    .home-service-icon-item {
        height: 120px;
    }

    .services-card {
        min-height: 598px;
    }

    .services-card .home-outline-button {
        width: 127px;
        padding: 14px;
    }

    .home-location-section {
        grid-template-columns: 1fr;
    }

    .home-location-inner {
        width: 100svw;
    }

    .home-location-card, .home-location-buttons {
        width: 100%;
    }

    .home-hero-media, .home-hero-overlay {
        width: calc(100svw - 32px);
        margin: 0 auto;
    }

    .home-location-map-image {
        height: 466px;
        object-position: right;
    }

    .home-categories {
        padding-left: 16px;
    }

    .home-products-section > .page-container {
        padding-left: 16px;
    }

    .home-products-grid {
        padding-right: 16px;
    }
}
