body.landing-page {
    background: #f5f7f5;
}

/* ===== PROMOTION BANNER ===== */
.promotion-banner {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: clamp(220px, 18vw, 300px);
    background: #ffffff;
    overflow: hidden;
}

.promotion-banner-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.promotion-banner-track-mobile {
    display: none;
}

.promotion-panel {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    background: #f5f7f5;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s ease;
    overflow: hidden;
}

.promotion-panel-has-image::before {
    content: "";
    position: absolute;
    inset: -18px;
    background-image: var(--promotion-bg-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(18px);
    transform: scale(1.08);
    opacity: 0.36;
}

.promotion-panel-default-background::before {
    background-size: clamp(170px, 22vw, 360px) auto;
    background-repeat: repeat;
    opacity: 0.18;
}

.promotion-panel-has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.38);
}

.promotion-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.promotion-welcome-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 30px 20px 8px;
    background: #f5f7f5;
}

.promotion-welcome-section h1 {
    margin: 0;
    color: #1f7a45;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.promotion-admin-action {
    display: none;
}

.promotion-edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #1f7a45;
    color: #1f7a45;
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(31, 41, 55, 0.14);
}

.promotion-edit-button:hover,
.promotion-edit-button:focus {
    background: #1f7a45;
    color: #ffffff;
    text-decoration: none;
}

/* ===== HERO ===== */
.hero-banner {
    position: relative;
    width: 100vw;
    height: 60vh;
    min-height: 400px;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    background: url('../img/hero-sustainchain1.JPG') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    color: white;
    padding: 0 28px;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #1f7a45;
    transition: transform 0.25s ease;
}

.hero-text h1:hover {
    transform: scale(1.05);
}

.hero-text p {
    font-size: 1.5rem;
    color: #ffffff;
    transition: transform 0.2s ease;
    max-width: 760px;
}

.hero-text p:hover {
    transform: scale(1.02);
}

.hero-home-actions {
    margin-top: 24px;
}

.hero-marketplace-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: #1f7a45;
    border: 1px solid #1f7a45;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-marketplace-button:hover {
    background: #176438;
    border-color: #176438;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ===== HOME PRODUCT ROWS ===== */
.home-listing-section {
    margin-top: 44px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.catalog-shell {
    width: min(96vw, 1720px);
    margin: 0 auto;
    padding: 0 28px;
    box-sizing: border-box;
}

.section-heading {
    margin-bottom: 24px;
    transition: transform 0.25s ease;
}

.section-heading:hover {
    transform: scale(1.02);
}

.section-heading h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #1f7a45;
    margin-bottom: 12px;
}

.section-heading p {
    margin-bottom: 0;
    color: #667484;
    font-size: 1.6rem;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.home-carousel-shell {
    position: relative;
}

.home-row-grid {
    display: flex;
    gap: 18px;
    align-items: start;
    overflow-x: auto;
    padding: 4px 0 16px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-row-grid::-webkit-scrollbar {
    display: none;
}

.home-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 58px;
    min-width: 46px;
    padding: 0;
    border: 1px solid #d7e5dc;
    border-radius: 999px;
    background: #ffffff;
    color: #1f7a45;
    box-shadow: 0 8px 20px rgba(28, 80, 48, 0.16);
    cursor: pointer;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}

.home-carousel-arrow:hover,
.home-carousel-arrow:focus {
    background: #1f7a45;
    border-color: #1f7a45;
    color: #ffffff;
}

.home-carousel-prev {
    left: 8px;
}

.home-carousel-next {
    right: 8px;
}

.listing-card {
    flex: 0 0 286px;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8eaed;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
    scroll-snap-align: start;
}

.listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}

.listing-image-link {
    display: block;
    text-decoration: none;
}

.listing-image {
    height: 210px;
    background: #f3f5f7;
}

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

.listing-image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8694;
    font-weight: 600;
}

.listing-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.listing-category-label {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f7a45;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.listing-title {
    margin: 0 0 14px 0;
    font-size: 1.75rem;
    line-height: 1.25;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.listing-title-link {
    color: #2f2f2f;
    text-decoration: none;
}

.listing-title-link:hover {
    color: #1f7a45;
}

.listing-description-link {
    text-decoration: none;
}

.listing-description {
    font-size: 1.45rem;
    color: #667484;
    margin: 0 0 14px 0;
    min-height: 76px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.listing-description-label {
    font-weight: 700;
    color: #536171;
    margin-right: 4px;
}

.listing-seller,
.listing-quantity {
    font-size: 1.35rem;
    color: #667484;
    margin: 0 0 10px 0;
    overflow-wrap: anywhere;
}

.listing-quantity {
    margin-bottom: 10px;
}

.listing-footer {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.listing-price {
    font-size: 1.65rem;
    font-weight: 700;
    color: #5b6775;
    white-space: nowrap;
}

.listing-cart-button,
.listing-link,
.listing-cart-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.25rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.listing-cart-button {
    background: #1f7a45;
    color: #ffffff;
    border: 1px solid #1f7a45;
}

.listing-cart-button:hover {
    background: #176438;
    border-color: #176438;
    color: #ffffff;
}

.listing-link {
    background: #f2f6fb;
    color: #2f85ae;
    border: 1px solid #d6e4ef;
}

.listing-link:hover {
    background: #e7f1f7;
    color: #1f6f91;
}

.listing-cart-disabled {
    background: #eef1f4;
    color: #94a0ad;
    border: 1px solid #dde3e9;
    cursor: default;
}

.no-listings-message {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px solid #e4e7eb;
    border-radius: 18px;
    padding: 24px;
    color: #667484;
}

/* ===== CART MODAL ===== */
.cart-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.cart-modal:target {
    display: block;
}

.cart-modal.cart-modal-hidden {
    display: none !important;
}

.cart-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.cart-modal-panel {
    position: relative;
    width: min(92vw, 420px);
    margin: 8vh auto 0;
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 18px 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.cart-modal-close {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 2.4rem;
    line-height: 1;
    color: #7a8694;
    text-decoration: none;
}

.cart-modal-title {
    margin: 0 0 10px 0;
    text-align: center;
    font-size: 2.1rem;
    color: #2f2f2f;
}

.cart-modal-price {
    margin: 0 0 16px 0;
    font-size: 1.3rem;
    color: #333333;
}

.cart-qty-label {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #5f6c79;
}

.cart-qty-box {
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    border: 1px solid #e3e6e8;
    background: #f7f7f7;
    min-height: 64px;
    margin-bottom: 16px;
}

.cart-qty-btn {
    border: none;
    background: transparent;
    font-size: 2.4rem;
    color: #202020;
    cursor: pointer;
    height: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.cart-qty-btn:hover {
    background: #efefef;
}

.cart-qty-input {
    text-align: center;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 2rem !important;
    font-weight: 700;
    color: #111111;
    margin: 0 !important;
    padding: 0 !important;
}

.cart-subtotal-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 20px 0 18px;
}

.cart-subtotal-wrap span {
    font-size: 1.1rem;
    color: #444444;
}

.cart-subtotal-wrap strong {
    font-size: 1.8rem;
    color: #111111;
}

.cart-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-cancel-button,
.cart-finish-button,
.cart-confirm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    margin: 0;
    padding: 0 18px;
    border-radius: 0;
    text-decoration: none;
    font-family: inherit;
    font-size: 1.2rem !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-sizing: border-box;
}

.cart-cancel-button {
    background: #ffffff;
    color: #1c4d28;
    border: 2px solid #1c4d28;
}

.cart-finish-button {
    background: #ffffff;
    color: #1c4d28;
    border: 2px solid #1c4d28;
    cursor: pointer;
}

.cart-finish-button:hover {
    background: #eaf6ef;
    color: #1c4d28;
}

.cart-confirm-button {
    background: #174f21;
    color: #ffffff;
    border: 2px solid #174f21;
    cursor: pointer;
}

.cart-confirm-button:hover {
    background: #123d19;
    color: #ffffff;
}

/* ===== ABOUT ===== */
.about-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 90px;
    padding: 110px 0 70px;
    background: #dfe8df;
    position: relative;
    overflow: hidden;
}

.about-shell {
    width: min(96vw, 1580px);
    margin: 0 auto;
    padding: 0 28px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 50px;
    align-items: center;
    min-height: 520px;
}

.about-text {
    max-width: 760px;
}

.about-text h2 {
    margin: 0 0 28px 0;
    font-size: clamp(3.8rem, 6vw, 8rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #0b5d36;
    transition: transform 0.25s ease;
}

.about-text h2:hover {
    transform: scale(1.05);
}

.about-lead {
    margin: 0 0 22px 0;
    font-size: 2rem;
    line-height: 1.7;
    color: #5f6f65;
    max-width: 820px;
}

.about-text p {
    margin: 0 0 18px 0;
    font-size: 1.8rem;
    line-height: 1.8;
    color: #5f6f65;
    max-width: 820px;
    transition: transform 0.2s ease;
}

.about-text p:hover {
    transform: scale(1.02);
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    object-fit: contain;
}

.about-copyright {
    margin: 26px 0 0;
    text-align: center;
    font-size: 1.3rem;
    color: #6a786f;
    position: static;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1800px) {
    .listing-card {
        flex-basis: 270px;
    }
}

@media (max-width: 1500px) {
    .listing-card {
        flex-basis: 260px;
    }
}

@media (max-width: 1200px) {
    .catalog-shell {
        width: min(96vw, 1380px);
    }

    .listing-card {
        flex-basis: 280px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
    }

    .about-text,
    .about-visual {
        min-width: 0;
    }

    .about-lead,
    .about-text p {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
    }
}

@media (max-width: 900px) {
    .catalog-shell {
        width: 92vw;
        padding: 0 20px;
    }

    .section-heading h2 {
        font-size: 2.4rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .promotion-banner-track-desktop {
        display: none;
    }

    .promotion-banner-track-mobile {
        display: flex;
    }

    .promotion-welcome-section {
        padding: 24px 16px 4px;
    }

    .promotion-welcome-section h1 {
        font-size: 2.8rem;
    }

    .listing-image {
        height: 230px;
    }

    .listing-footer {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .listing-price,
    .listing-cart-button,
    .listing-link,
    .listing-cart-disabled {
        width: 100%;
        text-align: center;
    }

    .about-section {
        margin-top: 70px;
        padding: 72px 0 52px;
    }

    .about-text h2 {
        font-size: clamp(3.2rem, 12vw, 5rem);
        line-height: 1;
        margin-bottom: 20px;
    }

    .about-lead {
        font-size: 1.7rem;
        line-height: 1.65;
    }

    .about-text p {
        font-size: 1.6rem;
        line-height: 1.7;
    }
}

@media (max-width: 600px) {
    .promotion-banner {
        height: 180px;
    }

    .promotion-welcome-section h1 {
        font-size: 2.25rem;
    }

    .promotion-edit-button {
        min-height: 42px;
        padding: 0 18px;
        font-size: 1.35rem;
    }

    .catalog-shell {
        width: 92vw;
        padding: 0 16px;
    }

    .home-row-grid {
        gap: 14px;
        padding: 4px 0 16px;
    }

    .home-carousel-arrow {
        width: 38px;
        height: 54px;
        min-width: 38px;
        font-size: 2.8rem;
    }

    .listing-image {
        height: 220px;
    }

    .listing-card {
        flex-basis: min(360px, calc(100vw - 86px));
    }

    .listing-body {
        padding: 18px 16px;
    }

    .listing-category-label {
        font-size: 1.55rem;
    }

    .listing-title {
        font-size: 1.9rem;
    }

    .listing-description {
        font-size: 1.7rem;
        min-height: 90px;
    }

    .listing-seller,
    .listing-quantity {
        font-size: 1.55rem;
    }

    .listing-price {
        font-size: 1.85rem;
    }

    .listing-cart-button,
    .listing-link,
    .listing-cart-disabled {
        min-height: 52px;
        font-size: 1.45rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }
}
