.ab-home {
    background: #fbfaf7;
    color: #202722
}

.ab-home__shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto
}

.ab-home__hero {
    padding: 72px 0;
    background: linear-gradient(135deg, #efe9dd 0%, #fbfaf7 55%, #e9efe9 100%)
}

.ab-home__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 54px;
    align-items: center
}

.ab-home__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #667066;
    margin-bottom: 14px
}

.ab-home__hero h1 {
    font-size: clamp(44px, 6vw, 74px);
    line-height: 1.02;
    letter-spacing: -.04em;
    margin: 0 0 20px;
    color: #1f2622
}

.ab-home__hero p {
    font-size: 19px;
    line-height: 1.7;
    color: #5d665e;
    max-width: 760px;
    margin: 0 0 26px
}

.ab-home__search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    background: #fff;
    border: 1px solid #ddd8cc;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 12px 34px rgba(31, 38, 34, .08);
    max-width: 760px
}

.ab-home__search input {
    border: 0;
    background: transparent;
    padding: 13px 14px;
    font-size: 15px;
    min-width: 0;
    outline: none
}

.ab-home__search button {
    border: 0;
    border-radius: 10px;
    background: #1f2622;
    color: #fff;
    padding: 0 22px;
    font-weight: 800;
    cursor: pointer
}

.ab-home__hero-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px
}

.ab-home__hero-links a {
    color: #313b33 !important;
    font-weight: 700;
    text-decoration: none !important
}

.ab-home__hero-panel {
    display: grid;
    gap: 12px
}

.ab-home__hero-panel-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
    row-gap: 3px;
    background: #fff;
    border: 1px solid #e0dbd0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(31, 38, 34, .06)
}

.ab-home__hero-panel-item span {
    grid-row: 1/3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f2622;
    color: #fff;
    font-size: 12px;
    font-weight: 800
}

.ab-home__hero-panel-item strong {
    font-size: 18px
}

.ab-home__hero-panel-item small {
    font-size: 13px;
    line-height: 1.5;
    color: #69716a
}

.ab-home__section {
    padding: 68px 0
}

.ab-home__section--soft {
    background: #f3f0e8
}

.ab-home__section--dark {
    background: #202722;
    color: #fff
}

.ab-home__section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px
}

.ab-home__section-head span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #7a827a;
    margin-bottom: 7px
}

.ab-home__section-head h2 {
    font-size: 36px;
    line-height: 1.12;
    margin: 0;
    color: #1f2622
}

.ab-home__section-head>a {
    font-size: 14px;
    font-weight: 800;
    color: #303930 !important;
    text-decoration: none !important
}

.ab-home__section-head--light span {
    color: #aeb8af
}

.ab-home__section-head--light h2 {
    color: #fff
}

.ab-home__card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.ab-home__article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3dfd5;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    color: #222a24 !important;
    min-height: 100%
}

.ab-home__article-image {
    width: 100%;
    height: 210px;
    object-fit: cover
}

.ab-home__article-content {
    padding: 18px
}

.ab-home__article-date {
    display: block;
    font-size: 12px;
    color: #7a817a;
    margin-bottom: 8px
}

.ab-home__article-card h3 {
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 10px
}

.ab-home__article-card p {
    margin: 0;
    color: #626b63;
    line-height: 1.6;
    font-size: 14px
}

.ab-home__category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px
}

.ab-home__category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 135px;
    background: #fff;
    border: 1px solid #e2ddd2;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none !important;
    color: #232a24 !important
}

.ab-home__category-card span {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25
}

.ab-home__category-card small {
    font-size: 13px;
    color: #6a726b
}

.ab-home__category-card b {
    position: absolute;
    right: 18px;
    bottom: 16px;
    font-size: 20px
}

.ab-home__product-grid {
    display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ab-home__product-item {
	min-width: 0;
}

.ab-home__brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px
}

.ab-home__brand-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    border: 1px solid #3a443d;
    border-radius: 14px;
    background: #29312b;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800
}

.ab-home__empty {
    margin: 0;
    padding: 22px;
    border: 1px dashed #d6d1c7;
    border-radius: 14px;
    background: #f8f5ef;
    color: #6c746c;
    line-height: 1.6
}

.ab-home__empty--dark {
    background: #29312b;
    border-color: #3a443d;
    color: #c9d1ca
}

@media(max-width:980px) {
    .ab-home__hero-grid {
        grid-template-columns: 1fr
    }

    .ab-home__category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ab-home__card-grid,
    .ab-home__brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ab-home__product-grid {
       grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:640px) {
    .ab-home__shell {
        width: min(100% - 24px, 1180px)
    }

    .ab-home__hero {
        padding: 42px 0
    }

    .ab-home__hero h1 {
        font-size: 42px
    }

    .ab-home__search {
        grid-template-columns: 1fr
    }

    .ab-home__search button {
        min-height: 44px
    }

    .ab-home__section {
        padding: 48px 0
    }

    .ab-home__section-head {
        align-items: start;
        flex-direction: column
    }

    .ab-home__section-head h2 {
        font-size: 30px
    }

    .ab-home__card-grid,
    .ab-home__category-grid,
    .ab-home__brand-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 640px) {
	.ab-home__product-grid {
		grid-template-columns: 1fr;
	}
}



.ab-home__product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.ab-home__product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	border: 1px solid #e5e1d8;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 26px rgba(31, 38, 34, 0.06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ab-home__product-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(31, 38, 34, 0.10);
}

.ab-home__product-image-wrap {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #f4f1ea;
	overflow: hidden;
}

.ab-home__product-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}

.ab-home__product-card:hover .ab-home__product-image {
	transform: scale(1.03);
}

.ab-home__product-image-placeholder {
	width: 100%;
	height: 100%;
	min-height: 190px;
	background: #f1eee7;
}

.ab-home__product-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px;
}

.ab-home__product-category {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #7a817a;
	margin-bottom: 8px;
}

.ab-home__product-title {
	font-size: 12px;
	line-height: 1.35;
	margin: 0 0 10px;
}

.ab-home__product-title a {
	color: #1f2622 !important;
	text-decoration: none !important;
}

.ab-home__product-description {
	font-size: 14px;
	line-height: 1.6;
	color: #687069;
	margin: 0 0 18px;
}

.ab-home__product-button {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 9px;
	background: #1f2622;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
	transition: opacity .2s ease;
}

.ab-home__product-button:hover {
	opacity: .9;
}

/* Tablet */
@media (max-width: 980px) {
	.ab-home__product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobile */
@media (max-width: 640px) {
	.ab-home__product-grid {
		grid-template-columns: 1fr;
	}
}




