/*
==================================================
03-layout.css
Common sections, shared grids, page hero, reusable cards
==================================================
*/

.hero-grid,
.split-grid,
.contact-layout,
.checkout-layout,
.cart-layout,
.products-layout,
.compact-grid,
.story-grid {
    display: grid;
    gap: 32px;
}

.eyebrow {
    color: #8a5a35;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
}

.hero-content h1,
.page-hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 0.98;
    color: #5b351d;
    margin-bottom: 22px;
    letter-spacing: -0.05em;
}

.hero-description,
.page-hero p,
.section-heading p,
.split-content p,
.story-card p,
.info-card p {
    color: #74685f;
}

.section-block {
    padding: 76px 0;
}

.soft-section {
    background-color: #f7efe3;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.left-heading {
    margin: 0;
    text-align: left;
}

.horizontal-heading {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.section-heading h2,
.split-content h2,
.story-card h2,
.info-card h2,
.form-card h2,
.order-summary-card h2,
.cart-items-panel h2,
.products-toolbar h2 {
    color: #5b351d;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.category-grid,
.why-grid,
.review-grid,
.team-grid,
.compact-card-grid,
.product-grid {
    display: grid;
    gap: 22px;
}

.category-grid {
    grid-template-columns: repeat(4, 1fr);
}

.category-card,
.why-card,
.review-card,
.compact-card,
.story-card,
.form-card,
.info-card,
.order-summary-card,
.cart-items-panel,
.filter-sidebar,
.product-card,
.details-info-card,
.details-gallery-card,
.map-placeholder {
    background-color: #ffffff;
    border: 1px solid #e3d4bf;
    border-radius: 28px;
    box-shadow: 0 10px 25px rgba(67, 45, 25, 0.08);
}

.category-card,
.why-card,
.review-card,
.compact-card,
.story-card,
.form-card,
.info-card,
.order-summary-card,
.cart-items-panel,
.filter-sidebar,
.map-placeholder {
    padding: 24px;
}

.category-icon,
.why-card span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background-color: #f7efe3;
    margin-bottom: 14px;
    font-size: 24px;
}

.category-card h3,
.why-card h3,
.review-card strong,
.product-card h3,
.team-card h3,
.cart-item-name,
.details-title {
    color: #5b351d;
}

.category-card p,
.why-card p,
.review-card p,
.product-card p,
.team-card p,
.cart-item-meta,
.details-meta,
.cart-item-price-row,
.checkout-mini-item p {
    color: #74685f;
}

.page-hero {
    padding: 76px 0;
    background: linear-gradient(135deg, #fff8ec, #f2dfc4);
}

.small-page-hero {
    padding: 55px 0;
    text-align: center;
}

.small-page-hero .container {
    max-width: 820px;
}

.small-page-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
}

.products-layout-section,
.cart-section,
.checkout-section,
.contact-section,
.details-section {
    padding: 50px 0 80px;
}

.split-section .split-grid,
.split-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.split-image {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(67, 45, 25, 0.12);
}

.split-image img {
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.check-list li {
    display: flex;
    gap: 10px;
    color: #74685f;
}

.check-list li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background-color: #2f6f4e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}

.empty-state {
    display: none;
    text-align: center;
    padding: 42px 20px;
    color: #74685f;
}

.empty-state.show {
    display: block;
}
