/* SECTION COMMON */
.section {
    padding: 24px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag-red {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--error);
    color: #fff;
}

.tag-green {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--success);
    color: #fff;
}

/* Production section title */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #111;
}

@media (max-width: 960px) {
    .section-title {
        font-size: 28px;
    }
}
@media (max-width: 767px) {
    .section-title {
        font-size: 24px;
        font-weight: 500;
    }
}

.section-divider {
    flex: 1;
}

.nav-arrows {
    gap: 6px;
}

.nav-arrows button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px;
    font-size: 13px;
    transition: background 0.2s ease-in-out;
    background: #fff;
    height: fit-content;
}

.nav-arrows button:hover {
    background: var(--yellow);
}

/* SALE SECTION HEADER */
.tag-orange {
    color: var(--warning-100);
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.sale-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sale-header {
    gap: 24px;
}

.sale-header .section-divider {
    flex: 1;
}

/* VIEW MORE */
.section-tools-bt {
    margin-top: 20px;
}

.view-more {
    display: flex;
    justify-content: center;
    height: max-content;
    user-select: none;
}

.btn-more {
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s ease-in-out;
    background: #fff;
    color: #444;
}

.btn-more i {
    font-size: 12px;
}

.btn-more:hover {
    background: var(--yellow);
}

/* CATEGORY CARDS */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.cat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 24px 24px 38px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    user-select: none;
}

.cat-card .cat-icon-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 66px;
    color: #fff;
}

.cat-card.c1 {
    background: rgba(140, 6, 7, 1);
}

.cat-card.c2 {
    background: rgba(5, 61, 111, 1);
}

.cat-card.c3 {
    background: rgba(145, 82, 23, 1);
}

.cat-card.c4 {
    background: rgba(253, 184, 22, 1);
}

.cat-card.c5 {
    background: rgba(35, 31, 32, 1);
}

.cat-card.c6 {
    background: rgba(147, 150, 54, 1);
}

.cat-card span {
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    line-height: 135%;
}

@media (max-width: 1024px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
}

@media (max-width: 767px) {
    .cat-grid {
        grid-template-columns: repeat(2, minmax(80px, 1fr));
        gap: 4px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .cat-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 12px 12px 60px;
        font-size: 11px;
        gap: 6px;
        min-width: 80px;
    }

    .cat-card .cat-icon-img {
        width: 50px
    }
}

/* PROMO BANNER */
.promo-section {
    padding: 0 0 36px;
    user-select: none;
}

.promo-inner {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 2.31;
}

.promo-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    width: 100%;
    height: 100%;
    padding: 48px 56px;
    background-size: cover;
    background-position: right center;
    color: #fff;
}

/* laptop */
@media (max-width: 1280px) {
    .promo-inner {
        aspect-ratio: 2;
    }
}

/* tablet */
@media (max-width: 1024px) {
    .promo-inner {
        aspect-ratio: 1.5;
    }

    .promo-left {
        padding: 36px 40px;
    }
}

/* phone */
@media (max-width: 767px) {
    .promo-inner {
        aspect-ratio: 1;
    }

    .promo-left {
        padding: 28px 24px;
        gap: 12px;
    }

    .promo-left h2 {
        font-size: 22px;
    }

    .btn-promo-p, .btn-promo-s {
        width: 100%;
        text-align: center;
    }
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    width: fit-content;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--black-70);
}

.promo-left h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
}

.promo-left p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 420px;
    line-height: 1.6;
}

.promo-btns {
    display: flex;
    gap: 12px;
}

.btn-promo-p {
    padding: 11px 28px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    background: #fff;
    color: #111;
}

.btn-promo-p:hover {
    background: #f0f0f0;
}

.btn-promo-s {
    padding: 11px 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s;
    background: transparent;
    color: #fff;
}

.btn-promo-s:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

.promo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FEATURED GRID */
.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    grid-gap: 12px;
}

.feat-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.feat-card.big {
    grid-row: 1 / 3;
}

.feat-card.long {
    grid-column: 2 / 4;
}

.featured-grid img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1180px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 400px 250px 250px;
        gap: 8px;
    }

    .feat-card.big {
        grid-row: auto;
        grid-column: 1 / 3;
    }

    .feat-card.long {
        grid-column: 1 / 3;
    }

    .feat-card.small {
        grid-column: span 1;
    }
}

.feat-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feat-bg.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.feat-card.big .feat-bg.placeholder {
    font-size: 120px;
}

.feat-bg.meat {
    background: linear-gradient(135deg, #c9a96e, #e8d5b7);
}

.feat-bg.dairy {
    background: linear-gradient(135deg, #d4ecd4, #a8d5a8);
}

.feat-bg.honey {
    background: linear-gradient(135deg, #f5d78e, #e8b84b);
}

.feat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
}

.feat-overlay .cat {
    font-size: 10px;
    opacity: 0.7;
    text-transform: uppercase;
}

.feat-overlay .title {
    font-size: 16px;
    font-weight: 700;
    margin: 3px 0 6px;
}

.feat-overlay .link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}


/* BENEFITS */
.benefits-section {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item .icon {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 36px;
}

.benefit-item p {
    font-size: 18px;
    color: var(--black-100);
    font-weight: 500;
    line-height: 135%;
    padding: 0 24px 24px 24px;
}

/* tablet */
@media (max-width: 1024px) {
    .benefits-section {
        padding: 56px 0;
    }

    .benefits-grid {
        gap: 24px;
    }

    .benefit-item p {
        font-size: 16px;
        padding: 0 12px 16px;
    }
}

/* phone */
@media (max-width: 767px) {
    .benefits-section {
        padding: 36px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-item {
        padding: 16px;
    }

    .benefit-item p {
        font-size: 15px;
        padding: 0 8px 12px;
    }
}
