﻿/* =========================
   BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
}

:root {
    --brand-heading-font: 'Montserrat', 'Manrope', sans-serif;
}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   HEADER
========================= */
header {
    backdrop-filter: blur(10px);
    transition: all .3s ease;
}

    header a {
        transition: all .25s ease;
    }

.brand-wordmark {
    font-family: var(--brand-heading-font);
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: .015em;
    line-height: 1;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .brand-wordmark {
        font-size: 1.25rem;
    }
}

        header a:hover {
            opacity: 0.7;
        }

/* =========================
   HERO
========================= */
.hero-title {
    animation: fadeUp 1s ease forwards;
}

.hero-subtitle {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-btn {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

@media (max-width: 640px) {
    .home-hero {
        min-height: 560px;
        padding-bottom: 48px;
    }

    .home-hero-actions {
        margin-bottom: 18px;
    }
}

@media (max-width: 380px) {
    .home-hero {
        min-height: 585px;
        padding-bottom: 62px;
    }
}

/* =========================
   IMAGE HOVER
========================= */
.img-hover {
    overflow: hidden;
}

    .img-hover img {
        transition: transform .6s ease;
    }

    .img-hover:hover img {
        transform: scale(1.08);
    }

/* =========================
   BUTTONS
========================= */
.btn-main {
    background: #1f3d36;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all .3s ease;
}

    .btn-main:hover {
        background: #2c5a4f;
        transform: translateY(-2px);
    }

/* =========================
   SECTIONS ANIMATION
========================= */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s cubic-bezier(.2,.6,.2,1);
}

.animate {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   FADE ANIMATIONS
========================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   GRID FIXES
========================= */
section {
    position: relative;
}

.home-section {
    padding-top: clamp(64px, 8vw, 96px);
    padding-bottom: clamp(64px, 8vw, 96px);
}

.home-hits-section,
.home-planner-section {
    padding-top: clamp(64px, 8vw, 96px);
    padding-bottom: clamp(64px, 8vw, 96px);
}

.home-section-title {
    margin: 0;
    color: #172b25;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 850;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
}

.home-section-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    color: #1f3d36;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.home-section-link .material-symbols-outlined {
    font-size: 20px;
    transition: transform .18s ease;
}

.home-section-link:hover {
    color: #c96e4a;
}

.home-section-link:hover .material-symbols-outlined {
    transform: translateX(3px);
}

.home-planner-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 24px;
    background: #1f3d36;
}

.home-planner-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(32px, 5vw, 52px);
    color: #fff;
}

.home-planner-copy h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 850;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.home-planner-copy p {
    max-width: 540px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.6;
}

.home-planner-action {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 13px 24px;
    border-radius: 12px;
    background: #c96e4a;
    color: #fff;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
}

.home-planner-action:hover {
    background: #b9603f;
}

.home-planner-media {
    min-width: 0;
    min-height: 420px;
}

.home-planner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 38px;
}

.home-category-card {
    position: relative;
    min-width: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 16px;
    background: #dfe7e3;
    color: #fff;
    box-shadow: 0 12px 32px rgba(18, 46, 38, .08);
    isolation: isolate;
}

.home-category-card-image,
.home-project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.home-category-card::after,
.home-project-card-shade {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to top, rgba(7, 22, 18, .78), rgba(7, 22, 18, .06) 62%);
}

.home-category-card-content {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.home-category-card-content p {
    min-width: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.home-category-card-content .material-symbols-outlined {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-size: 18px;
    backdrop-filter: blur(8px);
}

.home-category-card:hover .home-category-card-image,
.home-category-card:focus-visible .home-category-card-image,
.home-project-card:hover .home-project-card-image,
.home-project-card:focus-visible .home-project-card-image {
    transform: scale(1.055);
}

.home-category-card:focus-visible,
.home-project-card:focus-visible {
    outline: 3px solid rgba(201, 110, 74, .75);
    outline-offset: 3px;
}

.home-projects-title {
    max-width: 760px;
    margin: 8px auto 42px;
}

.home-project-card {
    position: relative;
    display: block;
    min-width: 0;
    height: clamp(240px, 27vw, 320px);
    overflow: hidden;
    border-radius: 16px;
    background: #dfe7e3;
    color: #fff;
    box-shadow: 0 14px 36px rgba(18, 46, 38, .12);
}

.home-project-card-content {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    left: 18px;
    text-align: left;
}

.home-project-card-style {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 9px;
    padding: 6px 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(9px);
}

.home-project-card h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.28;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 900px) {
    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-planner-card {
        grid-template-columns: 1fr;
    }

    .home-planner-media {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .home-section-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 10px;
        margin-bottom: 28px;
    }

    .home-section-heading > div {
        min-width: 0;
    }

    .home-section-heading .home-section-title {
        font-size: clamp(26px, 8vw, 32px);
    }

    .home-section-link {
        align-self: end;
        padding-bottom: 4px;
        font-size: 13px;
    }

    .home-section-link .material-symbols-outlined {
        font-size: 19px;
    }

    .home-planner-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .home-planner-card {
        border-radius: 22px;
    }

    .home-planner-copy {
        padding: 28px 24px 24px;
    }

    .home-planner-copy h2 {
        font-size: 25px;
    }

    .home-planner-copy p {
        margin-top: 22px;
        font-size: 16px;
    }

    .home-planner-action {
        width: 100%;
        margin-top: 28px;
    }

    .home-planner-media {
        min-height: 220px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 28px;
    }

    .home-category-card {
        aspect-ratio: 1 / 1.15;
        border-radius: 14px;
    }

    .home-category-card-content {
        right: 11px;
        bottom: 11px;
        left: 11px;
    }

    .home-category-card-content p {
        font-size: 13px;
    }

    .home-category-card-content .material-symbols-outlined {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 16px;
    }

    .home-project-card {
        height: 260px;
        border-radius: 14px;
    }
}

@media (max-width: 359px) {
    .home-section-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-section-link {
        padding-bottom: 0;
    }
}

.projects-page {
    width: min(100% - 32px, 1240px);
    margin: 0 auto;
    padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
}

.projects-page-header {
    max-width: 760px;
    margin-bottom: 32px;
}

.projects-page-header h1 {
    margin: 0;
    color: #172b25;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 850;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.projects-page-header p {
    margin: 14px 0 0;
    color: #687870;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.55;
}

.project-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
}

.project-filter-chip {
    min-width: 0;
    min-height: 40px;
    max-width: 100%;
    padding: 8px 14px;
    border: 1px solid #d5e0db;
    border-radius: 999px;
    background: #fff;
    color: #43564e;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: center;
}

.project-filter-chip:hover,
.project-filter-chip:focus-visible {
    border-color: #87a69a;
    background: #edf4f0;
    color: #173f35;
}

.project-filter-chip.is-active {
    border-color: #1f5748;
    background: #1f5748;
    color: #fff;
}

#projectsContainer {
    transition: opacity .16s ease;
}

#projectsContainer.is-loading {
    opacity: .45;
    pointer-events: none;
}

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

.project-card {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.project-card article {
    display: grid;
    height: 100%;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid rgba(31, 61, 54, .11);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(18, 46, 38, .07);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.project-card:hover article,
.project-card:focus-visible article {
    border-color: rgba(31, 87, 72, .28);
    box-shadow: 0 20px 46px rgba(18, 46, 38, .12);
    transform: translateY(-2px);
}

.project-card:focus-visible {
    outline: none;
}

.project-card-media {
    position: relative;
    min-width: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dfe7e3;
}

.project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.project-card:hover .project-card-media img {
    transform: scale(1.04);
}

.project-card-style {
    position: absolute;
    top: 14px;
    left: 14px;
    display: block;
    max-width: calc(100% - 28px);
    padding: 6px 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(23, 63, 53, .9);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.project-card-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    padding: 22px;
}

.project-card-body h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #172b25;
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 850;
    line-height: 1.25;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.project-card-body p {
    display: -webkit-box;
    margin: 10px 0 0;
    overflow: hidden;
    color: #6b7973;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.project-card-action {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    color: #1f5748;
    font-size: 14px;
    font-weight: 850;
}

.project-card-action .material-symbols-outlined {
    font-size: 19px;
    transition: transform .18s ease;
}

.project-card:hover .project-card-action .material-symbols-outlined {
    transform: translateX(3px);
}

@media (max-width: 760px) {
    .projects-page {
        width: min(100% - 24px, 1240px);
    }

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

    .project-card-body {
        gap: 18px;
        padding: 18px;
    }
}

@media (max-width: 430px) {
    .project-filter-chips {
        gap: 7px;
        margin-bottom: 26px;
    }

    .project-filter-chip {
        min-height: 38px;
        padding: 7px 11px;
        font-size: 12px;
    }

    .project-card-media {
        aspect-ratio: 4 / 3;
    }
}

.project-details-page {
    width: min(100% - 32px, 1240px);
    display: grid;
    gap: clamp(42px, 6vw, 72px);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 96px);
}

.project-details-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: clamp(28px, 5vw, 58px);
    align-items: center;
}

.project-details-hero-media,
.project-details-gallery-item {
    display: block;
    width: 100%;
    overflow: hidden;
    border: 0;
    padding: 0;
    background: #dfe7e3;
    cursor: pointer;
}

.project-details-hero-media {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(18, 46, 38, .12);
}

.project-details-hero-media img,
.project-details-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.project-details-hero-media:hover img,
.project-details-gallery-item:hover img {
    transform: scale(1.035);
}

.project-details-copy {
    min-width: 0;
}

.project-details-style {
    display: inline-flex;
    max-width: 100%;
    padding: 7px 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8f0ec;
    color: #1f5748;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-details-copy h1 {
    margin: 18px 0 0;
    color: #172b25;
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 850;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.project-details-copy > p {
    margin: 18px 0 0;
    color: #63736b;
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.project-details-location {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: #79877f;
    font-size: 13px;
}

.project-details-location .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 19px;
}

.project-details-location span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.project-details-primary-action,
.project-details-cta-action {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.project-details-primary-action {
    margin-top: 24px;
    background: #1f5748;
    color: #fff;
}

.project-details-section {
    min-width: 0;
}

.project-details-section h2 {
    margin: 0 0 20px;
    color: #172b25;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 850;
    line-height: 1.2;
}

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

.project-details-gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
}

.project-details-description {
    max-width: 820px;
}

.project-details-description p {
    margin: 0;
    color: #63736b;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.project-details-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 18px;
    background: #1f3d36;
    color: #fff;
}

.project-details-cta > div {
    min-width: 0;
}

.project-details-cta strong,
.project-details-cta span {
    display: block;
    overflow-wrap: anywhere;
}

.project-details-cta strong {
    font-size: clamp(21px, 3vw, 28px);
    line-height: 1.2;
}

.project-details-cta span {
    margin-top: 7px;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
}

.project-details-cta-action {
    flex: 0 0 auto;
    background: #fff;
    color: #1f3d36;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.catalog-product-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(31, 61, 54, .08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(18, 46, 38, .06);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.catalog-product-card:hover {
    border-color: rgba(31, 87, 72, .22);
    box-shadow: 0 18px 44px rgba(18, 46, 38, .11);
    transform: translateY(-2px);
}

.catalog-product-card:focus-visible,
.home-product-card:focus-visible {
    outline: 3px solid rgba(31, 87, 72, .28);
    outline-offset: 4px;
}

.catalog-product-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f6f4;
}

.catalog-card-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
}

.catalog-card-slider-track::-webkit-scrollbar {
    display: none;
}

.catalog-card-slide {
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    user-select: none;
    -webkit-user-drag: none;
}

.catalog-card-slider-dots {
    position: absolute;
    z-index: 30;
    bottom: 12px;
    left: 50%;
    display: flex;
    max-width: calc(100% - 24px);
    gap: 7px;
    padding: 6px 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 36, 30, .46);
    backdrop-filter: blur(7px);
    transform: translateX(-50%);
}

.catalog-card-slider-dots[hidden] {
    display: none;
}

.catalog-card-slider-dots button {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .48);
    transform: scaleX(1);
    transition: background-color .22s ease, transform .22s ease;
}

.catalog-card-slider-dots button.is-active {
    background: #fff;
    transform: scaleX(2.43);
}

.product-card-media-contain {
    background: #f3f6f4;
}

.product-card-image-contain {
    display: block;
    object-fit: contain;
    object-position: center;
    padding: clamp(10px, 3%, 18px);
}

.product-thumbnail-contain {
    display: block;
    object-fit: contain;
    object-position: center;
    padding: 5px;
    background: #f3f6f4;
}

.catalog-product-card-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.catalog-product-card-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.catalog-product-card-heading h3 {
    display: -webkit-box;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #172b25;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-product-card-heading > span {
    color: #1f3d36;
    font-size: 15px;
    font-weight: 850;
    white-space: nowrap;
}

.catalog-product-card-details {
    display: -webkit-box;
    min-height: 40px;
    margin: 9px 0 0;
    overflow: hidden;
    color: #718079;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-product-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: auto;
    padding-top: 18px;
}

.catalog-pagination {
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 54px;
}

.catalog-pagination button,
.catalog-pagination-ellipsis {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
}

.catalog-pagination button {
    border: 1px solid #dbe5e1;
    background: #fff;
    color: #263e37;
    font-size: 13px;
    font-weight: 800;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.catalog-pagination button:hover:not(:disabled) {
    border-color: #1f5748;
    transform: translateY(-1px);
}

.catalog-pagination button.is-active {
    border-color: #1f3d36;
    background: #1f3d36;
    color: #fff;
}

.catalog-pagination button:disabled {
    opacity: .34;
    cursor: default;
}

.catalog-pagination-nav .material-symbols-outlined {
    font-size: 20px;
}

.catalog-pagination-ellipsis {
    width: 20px;
    flex-basis: 20px;
    color: #829089;
    font-weight: 850;
}

.catalog-product-cart-button,
.catalog-product-details-button {
    min-width: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 800;
}

.catalog-product-cart-button {
    position: relative;
    z-index: 2;
    width: 100%;
    border: 0;
    background: #1f3d36;
    color: #fff;
}

.catalog-product-cart-button .material-symbols-outlined,
.catalog-product-details-button .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 20px;
}

.catalog-product-details-button {
    border: 1px solid #d7e1dc;
    background: #fff;
    color: #1f5748;
}

.home-product-card {
    cursor: pointer;
}

.home-product-card button {
    cursor: pointer;
}

.product-details-page {
    width: min(100% - 32px, 1240px);
    max-width: 100%;
    margin: 0 auto;
    padding: 32px 0 80px;
    overflow-x: clip;
}

.product-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
    gap: clamp(30px, 5vw, 52px);
    align-items: start;
}

.product-details-gallery-column,
.product-details-summary-column,
.product-info,
.product-info > *,
.product-option-values,
.product-details-page section,
.product-details-page .mt-20,
.product-details-page .mt-24 {
    min-width: 0;
    max-width: 100%;
}

.product-details-summary-column {
    display: grid;
    gap: 24px;
}

.product-info h1 {
    margin: 0 0 10px;
    color: #172b25;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 850;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.product-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin-bottom: 24px;
    color: #708079;
    font-size: 13px;
}

.product-meta-row > * {
    min-width: 0;
}

.product-meta-row #productSku {
    overflow-wrap: anywhere;
}

.product-price-block {
    margin-bottom: 26px;
}

.product-description {
    margin-bottom: 26px;
}

.product-description p {
    margin: 0;
    color: #63736b;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.product-primary-action,
.product-secondary-action {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-align: center;
}

.product-primary-action {
    border: 0;
    background: #1f3d36;
    color: #fff;
}

.product-secondary-action {
    border: 2px solid #1f3d36;
    background: #fff;
    color: #1f3d36;
}

.product-consultation-action {
    border-color: transparent;
    background: #e9eeeb;
}

.product-primary-action .material-symbols-outlined,
.product-secondary-action .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 20px;
}

.product-option-actions-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 1024px) {
    .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .product-details-layout {
        grid-template-columns: 1fr;
    }

    .product-details-gallery-column {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }
}

@media (max-width: 860px) {
    .project-details-hero {
        grid-template-columns: 1fr;
    }

    .project-details-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .project-details-page {
        width: min(100% - 24px, 1240px);
    }

    .project-details-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .project-details-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .project-details-cta-action {
        width: 100%;
    }

    .catalog-product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .catalog-product-card {
        border-radius: 14px;
    }

    .catalog-product-card-media {
        aspect-ratio: 4 / 3;
    }

    .catalog-pagination {
        gap: 4px;
        margin-top: 38px;
    }

    .catalog-pagination button {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 12px;
    }

    .catalog-pagination-ellipsis {
        width: 14px;
        height: 34px;
        flex-basis: 14px;
    }

    .catalog-product-card-body {
        padding: 15px;
    }

    .product-details-page {
        width: min(100% - 24px, 1240px);
        padding-top: 18px;
    }

    .product-details-layout {
        gap: 26px;
    }

    .product-info h1 {
        font-size: clamp(27px, 9vw, 36px);
    }

    .product-option-actions-row {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 360px) {
    .catalog-pagination {
        gap: 3px;
    }

    .catalog-pagination button {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .catalog-pagination-ellipsis {
        width: 10px;
        height: 32px;
        flex-basis: 10px;
    }
}

/* =========================
   INFORMATION / LEGAL PAGES
========================= */
.info-page {
    background: #f6f4ee;
    color: #102a25;
}

.info-container {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
}

.info-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 7vw, 96px) 0;
    background:
        radial-gradient(circle at 12% 16%, rgba(209, 113, 77, .12), transparent 30%),
        linear-gradient(135deg, #f9f7f1 0%, #eef4ef 100%);
}

.info-hero-grid,
.info-two-column,
.info-legal-panel,
.info-wide-card {
    display: grid;
    gap: clamp(22px, 3vw, 42px);
    align-items: start;
}

.info-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
}

.info-two-column {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.info-legal-panel,
.info-wide-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    align-items: stretch;
}

.info-eyebrow {
    margin: 0 0 12px;
    color: #d1714d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.info-page h1,
.info-page h2,
.info-page h3,
.info-page p {
    overflow-wrap: anywhere;
}

.info-page h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(34px, 6vw, 68px);
    font-weight: 950;
    line-height: .96;
    letter-spacing: -.045em;
}

.info-page h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.info-page h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.info-page p {
    margin: 0;
    color: #65756e;
    line-height: 1.7;
}

.info-hero p {
    max-width: 680px;
    margin-top: 22px;
    font-size: clamp(16px, 2vw, 19px);
}

.info-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.info-primary-link,
.info-secondary-link,
.delivery-link,
.info-source-box a,
.delivery-source-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 16px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.info-primary-link {
    background: #1f3d36;
    color: #fff;
    padding: 15px 22px;
}

.info-secondary-link {
    border: 1px solid rgba(31, 61, 54, .18);
    color: #1f3d36;
    padding: 14px 22px;
    background: rgba(255, 255, 255, .62);
}

.info-primary-link:hover,
.info-secondary-link:hover,
.delivery-link:hover,
.info-source-box a:hover,
.delivery-source-links a:hover {
    transform: translateY(-1px);
}

.info-hero-note,
.info-note-card,
.info-material-badge,
.info-checklist,
.info-source-box,
.info-dark-card,
.delivery-card,
.delivery-hero-card,
.delivery-legal-card {
    border: 1px solid rgba(31, 61, 54, .12);
    border-radius: 28px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 22px 60px rgba(15, 35, 30, .06);
}

.info-hero-note,
.info-note-card,
.info-material-badge,
.info-checklist,
.info-source-box,
.info-dark-card {
    padding: clamp(22px, 3vw, 34px);
}

.info-hero-note .material-symbols-outlined,
.info-note-card .material-symbols-outlined,
.info-material-badge .material-symbols-outlined {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(31, 61, 54, .08);
    color: #1f3d36;
    font-size: 28px;
}

.info-hero-note h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.info-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: clamp(32px, 5vw, 64px) 0;
}

.info-summary-grid article {
    min-width: 0;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(31, 61, 54, .12);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(15, 35, 30, .05);
}

.info-summary-grid span {
    display: inline-flex;
    margin-bottom: 20px;
    color: #1f3d36;
    font-size: 36px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.info-summary-grid h2 {
    font-size: 20px;
    letter-spacing: -.02em;
}

.info-summary-grid p {
    margin-top: 10px;
}

.info-section {
    padding: clamp(42px, 6vw, 78px) 0;
}

.info-section-soft {
    background: rgba(31, 61, 54, .045);
}

.info-section-dark {
    background: #1f3d36;
    color: #fff;
}

.info-section-dark .info-eyebrow,
.info-section-dark p {
    color: rgba(255, 255, 255, .72);
}

.info-section-dark h2,
.info-section-dark h3 {
    color: #fff;
}

.info-checklist ul {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.info-checklist li {
    position: relative;
    padding-left: 28px;
    color: #52655d;
    line-height: 1.55;
}

.info-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1f3d36;
    font-weight: 950;
}

.info-wide-card,
.info-legal-panel {
    padding: clamp(24px, 3.5vw, 40px);
    border: 1px solid rgba(31, 61, 54, .12);
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 20px 56px rgba(15, 35, 30, .06);
}

.info-wide-card p,
.info-legal-panel p {
    margin-top: 16px;
}

.info-material-badge {
    align-self: center;
    background: #f2f6f1;
}

.info-dark-card {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
}

.info-source-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f2f6f1;
}

.info-source-box a {
    justify-content: flex-start;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid rgba(31, 61, 54, .12);
    background: #fff;
    color: #1f3d36;
    line-height: 1.35;
}

/* =========================
   PRODUCT DELIVERY TAB
========================= */
.product-delivery-tab:not(.hidden) {
    display: grid;
    gap: 22px;
}

.product-delivery-tab.hidden {
    display: none;
}

.delivery-hero-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(22px, 3vw, 34px);
}

.delivery-hero-card h3,
.delivery-legal-card h3 {
    margin: 0;
    color: #1f3d36;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 950;
    letter-spacing: -.035em;
}

.delivery-hero-card p,
.delivery-card p,
.delivery-legal-card p {
    margin: 10px 0 0;
    color: #62736c;
    line-height: 1.65;
}

.delivery-eyebrow {
    margin: 0 0 8px;
    color: #d1714d;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.delivery-link {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 12px 16px;
    border: 1px solid rgba(31, 61, 54, .14);
    color: #1f3d36;
    background: #fff;
}

.delivery-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.delivery-card {
    min-width: 0;
    padding: 22px;
}

.delivery-card .material-symbols-outlined {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 15px;
    background: rgba(31, 61, 54, .08);
    color: #1f3d36;
    font-size: 25px;
}

.delivery-card h4,
.delivery-legal-card h4 {
    margin: 0;
    color: #1f3d36;
    font-size: 17px;
    font-weight: 900;
}

.delivery-legal-card {
    padding: clamp(22px, 3vw, 34px);
}

.delivery-legal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.delivery-source-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.delivery-source-links a {
    padding: 11px 14px;
    border: 1px solid rgba(31, 61, 54, .14);
    color: #1f3d36;
    background: #f2f6f1;
    font-size: 13px;
}

/* =========================
   CHECKOUT / FOOTER POLISH
========================= */
.checkout-appearance-note {
    border: 1px solid rgba(31, 61, 54, .12);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(31, 61, 54, .06), rgba(209, 113, 77, .08));
    padding: 14px;
    color: #50625b;
}

.checkout-appearance-note strong {
    display: block;
    margin-bottom: 5px;
    color: #1f3d36;
    font-size: 13px;
    font-weight: 900;
}

.site-footer {
    padding: 30px 0;
    border-top: 1px solid rgba(31, 61, 54, .08);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(230px, .9fr) minmax(0, 2fr);
    align-items: start;
    gap: clamp(28px, 5vw, 72px);
}

.site-footer-brand {
    max-width: 330px;
}

.site-footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #0f2521;
    text-decoration: none;
}

.site-footer-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    object-fit: contain;
}

.site-footer-brand-name {
    font-family: var(--brand-heading-font);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1;
}

.site-footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 4vw, 54px);
}

.site-footer h4,
.site-footer p {
    margin: 0;
}

.site-footer h4 {
    margin-bottom: 10px;
    color: #0f2521;
    font-family: var(--brand-heading-font);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .01em;
}

.site-footer p,
.site-footer a {
    color: #6b7b75;
    font-size: 13px;
    line-height: 1.55;
}

.site-footer a {
    text-decoration: none;
    transition: color .18s ease;
}

.site-footer a:hover {
    color: #1f3d36;
}

.site-footer ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 980px) {
    .info-hero-grid,
    .info-two-column,
    .info-legal-panel,
    .info-wide-card {
        grid-template-columns: 1fr;
    }

    .info-summary-grid,
    .delivery-card-grid,
    .delivery-legal-grid {
        grid-template-columns: 1fr;
    }

    .delivery-hero-card {
        flex-direction: column;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .site-footer-brand {
        max-width: none;
    }

    .site-footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .info-container {
        width: min(100% - 24px, 1180px);
    }

    .info-hero {
        padding: 36px 0 42px;
    }

    .info-hero-actions,
    .delivery-source-links {
        flex-direction: column;
    }

    .info-primary-link,
    .info-secondary-link,
    .delivery-link,
    .delivery-source-links a {
        width: 100%;
    }

    .info-summary-grid {
        padding: 26px 0;
    }

    .info-section {
        padding: 34px 0;
    }

    .info-wide-card,
    .info-legal-panel,
    .info-hero-note,
    .info-note-card,
    .info-material-badge,
    .info-checklist,
    .info-source-box,
    .info-dark-card,
    .delivery-hero-card,
    .delivery-card,
    .delivery-legal-card {
        border-radius: 22px;
    }

    .site-footer {
        padding: 26px 0;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-footer-logo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }
}

/* =========================
   SCROLL SMOOTH
========================= */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

#delivery,
#payment,
#returns,
#warranty,
#appearance,
.info-section,
.info-wide-card,
.info-legal-panel {
    scroll-margin-top: 104px;
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 88px;
    }

    #delivery,
    #payment,
    #returns,
    #warranty,
    #appearance,
    .info-section,
    .info-wide-card,
    .info-legal-panel {
        scroll-margin-top: 88px;
    }
}

/* FIXES UNDER TEMPLATE */

body {
    background: #f5f3ee;
}

.hero-title span {
    color: #c96e4a;
}

button, a {
    transition: all .3s ease;
}

.related-products {
    min-width: 0;
    max-width: 100%;
}

.related-products-head {
    display: flex;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.related-products-head > div:first-child {
    min-width: 0;
}

.related-products-head h2 {
    margin: 0;
    color: #1f3d36;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 850;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.related-products-head p {
    margin: 6px 0 0;
    color: #718079;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.related-products-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.related-products-controls button,
.related-product-open {
    width: 42px;
    height: 42px;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(31, 61, 54, .18);
    border-radius: 50%;
    background: #fff;
    color: #1f3d36;
}

.related-products-controls button:disabled {
    cursor: default;
    opacity: .35;
}

.related-products-viewport {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.related-products-track {
    display: flex;
    min-width: 0;
    gap: 20px;
    transition: transform .28s ease;
    will-change: transform;
}

.related-product-card {
    width: 280px;
    min-width: 280px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(31, 61, 54, .1);
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(18, 46, 38, .06);
}

.related-product-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f6f4;
}

.related-product-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    padding: 14px;
}

.related-product-body {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: 15px;
}

.related-product-category {
    overflow: hidden;
    color: #87938e;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-product-body > strong {
    display: -webkit-box;
    min-height: 43px;
    overflow: hidden;
    color: #172b25;
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-product-footer {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.related-product-price {
    min-width: 0;
    color: #1f3d36;
    font-size: 15px;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.related-product-open {
    border: 0;
    background: #1f3d36;
    color: #fff;
}

@media (max-width: 640px) {
    .catalog-product-card-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .catalog-product-card-heading > span {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .product-details-page {
        width: calc(100% - 20px);
    }

    .related-products-head {
        align-items: center;
        gap: 10px;
        margin-bottom: 18px;
    }

    .related-products-head p {
        display: none;
    }

    .related-products-controls button {
        width: 38px;
        height: 38px;
    }

    .related-products-track {
        gap: 12px;
    }

    .related-product-card {
        width: 100%;
        min-width: 100%;
    }

    .product-details-page img,
    .product-details-page video,
    .product-details-page canvas,
    .product-details-page input,
    .product-details-page select,
    .product-details-page textarea,
    .product-details-page button {
        max-width: 100%;
    }
}

.production-load-strip {
    position: sticky;
    top: 80px;
    z-index: 44;
    height: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.production-load-strip.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
}

.production-load-strip-inner {
    width: min(1280px, calc(100vw - 32px));
    margin: 0 auto;
    padding-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.production-load-toast {
    position: relative;
    width: min(380px, 100%);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    border: 1px solid rgba(234, 210, 186, .9);
    border-radius: 22px;
    background: rgba(255, 252, 247, .94);
    padding: 14px 12px 14px 14px;
    color: #143f35;
    box-shadow: 0 24px 70px rgba(31, 61, 54, .15);
    backdrop-filter: blur(18px);
    pointer-events: auto;
}

.production-load-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 13px;
    background: #d78259;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(184, 100, 59, .18);
}

.production-load-toast-content > strong,
.production-load-toast-content > span,
.production-load-toast-content > p {
    display: block;
}

.production-load-toast-content > strong {
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
}

.production-load-toast-content > span {
    width: fit-content;
    margin-top: 7px;
    border-radius: 999px;
    background: rgba(31, 61, 54, .09);
    padding: 5px 10px;
    color: #1f3d36;
    font-size: 12px;
    font-weight: 900;
}

.production-load-toast-content > p {
    margin-top: 8px;
    color: #526862;
    font-size: 13px;
    line-height: 1.45;
}

.production-load-close {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(31, 61, 54, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    color: #1f3d36;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.production-load-close:hover {
    background: #fff;
    transform: scale(1.04);
}

.production-load-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    border: 1px solid #ead2ba;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff7ec, #f8fcfa);
    padding: 16px;
    color: #143f35;
}

.production-load-note-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    font-size: 20px;
}

.production-load-note > div > strong,
.production-load-note > div > span,
.production-load-note > div > p {
    display: block;
}

.production-load-note > div > strong {
    font-size: 16px;
    font-weight: 900;
}

.production-load-note > div > span {
    width: fit-content;
    margin-top: 6px;
    border-radius: 999px;
    background: rgba(31, 61, 54, .1);
    padding: 5px 10px;
    color: #1f3d36;
    font-size: 12px;
    font-weight: 900;
}

.production-load-note > div > p {
    margin-top: 8px;
    color: #526862;
    line-height: 1.5;
}

.production-load-mark,
.production-load-note-icon {
    min-width: 34px;
    max-width: 44px;
    margin: 0;
    padding: 0;
    aspect-ratio: 1;
}

.production-load-strip.is-hero-overlay {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
}

@media (max-width: 640px) {
    .production-load-strip {
        position: relative;
        top: auto;
        height: auto;
        background: #f5f3ee;
    }

    .production-load-strip.is-hero-overlay {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        height: 0;
        background: transparent;
    }

    .production-load-strip-inner {
        width: 100%;
        padding: 12px 14px;
    }

    .production-load-toast {
        width: 100%;
        grid-template-columns: auto minmax(0, 1fr) auto;
        border-radius: 18px;
        box-shadow: 0 14px 36px rgba(31, 61, 54, .1);
    }

    .production-load-strip.is-hero-overlay .production-load-toast {
        width: min(100%, 390px);
        padding: 12px;
    }

    .production-load-strip.is-hero-overlay .production-load-toast-content > p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .home-hero {
        padding-top: 190px;
    }

    .production-load-note {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        border-radius: 18px;
        padding: 14px;
    }

    .production-load-note-icon {
        width: 34px;
        height: 34px;
        border-radius: 13px;
        font-size: 18px;
    }
}

/* Cart */
.cart-page {
    width: min(100% - 32px, 1120px);
    margin: 0 auto;
    padding: 38px 0 72px;
}

.cart-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.cart-page-heading span:first-child {
    color: #74867f;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cart-page-heading h1 {
    margin: 4px 0 0;
    color: #172b25;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -.04em;
}

.cart-page-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5c6f68;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.cart-page-heading > a .material-symbols-outlined {
    font-size: 18px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(290px, .75fr);
    gap: 22px;
    align-items: start;
}

.cart-list {
    display: grid;
    gap: 13px;
    min-width: 0;
}

.cart-swipe-shell {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #b84235;
}

.cart-swipe-action {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: 96px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 0;
    background: linear-gradient(145deg, #c64c3f, #aa342c);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
}

.cart-swipe-action .material-symbols-outlined {
    font-size: 23px;
}

.cart-item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 17px;
    align-items: center;
    min-width: 0;
    padding: 16px;
    border: 1px solid #dfe8e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(22, 54, 44, .055);
    touch-action: pan-y;
    transition: transform .08s linear, opacity .22s ease;
    will-change: transform;
}

.cart-item.is-animating {
    transition: transform .24s cubic-bezier(.2, .75, .25, 1), opacity .22s ease;
}

.cart-swipe-shell.is-removing .cart-item {
    opacity: 0;
    transform: translate3d(-120px, 0, 0) !important;
}

.cart-item-image {
    width: 104px;
    height: 104px;
    border: 1px solid #e2e8e5;
    border-radius: 14px;
    background: #f7f9f8;
    object-fit: contain;
}

.cart-item-copy {
    min-width: 0;
}

.cart-item-copy h2 {
    margin: 0;
    color: #1a2c26;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cart-item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 8px;
    color: #6f8079;
    font-size: 11px;
}

.cart-item-options > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cart-color-swatch {
    width: 14px;
    height: 14px;
    display: inline-block;
    border: 1px solid #cdd8d3;
    border-radius: 4px;
    background: #eef2f0 center / cover;
}

.cart-item-unit-price {
    display: block;
    margin-top: 7px;
    color: #819089;
    font-size: 11px;
}

.cart-quantity {
    display: inline-grid;
    grid-template-columns: 34px 38px 34px;
    align-items: center;
    margin-top: 13px;
    border: 1px solid #d9e3de;
    border-radius: 10px;
    background: #f9fbfa;
}

.cart-quantity button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #214d40;
}

.cart-quantity button:hover {
    background: #edf5f1;
}

.cart-quantity button .material-symbols-outlined {
    font-size: 18px;
}

.cart-quantity output {
    color: #1b3029;
    font-size: 12px;
    font-weight: 850;
    text-align: center;
}

.cart-swipe-hint {
    display: none;
}

.cart-item-side {
    display: flex;
    min-width: 126px;
    align-self: stretch;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: column;
    gap: 16px;
}

.cart-item-side > strong {
    color: #173f35;
    font-size: 17px;
    font-weight: 900;
    white-space: nowrap;
    transition: opacity .16s ease, transform .16s ease;
}

.cart-item-side > strong.is-updating {
    opacity: .45;
    transform: translateY(-2px);
}

.cart-desktop-remove {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 7px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #b14539;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.cart-desktop-remove:hover {
    background: #fff1ef;
}

.cart-desktop-remove .material-symbols-outlined {
    font-size: 16px;
}

.cart-summary {
    position: sticky;
    top: 100px;
}

.cart-summary-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid #dfe8e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(22, 54, 44, .065);
}

.cart-summary-card h2 {
    margin: 0;
    color: #1a2c26;
    font-size: 19px;
    font-weight: 900;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #6e7d77;
    font-size: 13px;
}

.cart-summary-row.is-total {
    padding-top: 14px;
    border-top: 1px solid #e5ece8;
    color: #173f35;
    font-size: 16px;
}

.cart-summary-card .production-load-note {
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
}

.cart-summary-card .production-load-note-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 16px;
}

.cart-summary-card .production-load-note > div > strong {
    font-size: 12px;
}

.cart-summary-card .production-load-note > div > span {
    padding: 4px 7px;
    font-size: 9px;
}

.cart-summary-card .production-load-note > div > p {
    font-size: 10px;
}

.cart-checkout-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    background: #1f3d36;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.cart-checkout-button:hover {
    background: #285448;
    color: #fff;
}

.cart-checkout-button .material-symbols-outlined {
    font-size: 18px;
}

.cart-empty-state {
    display: grid;
    min-height: 420px;
    place-content: center;
    justify-items: center;
    padding: 30px;
    border: 1px dashed #cddbd5;
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.cart-empty-state > .material-symbols-outlined {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 18px;
    background: #edf5f1;
    color: #1f5748;
    font-size: 31px;
}

.cart-empty-state h2 {
    margin: 18px 0 6px;
    color: #1a2c26;
    font-size: 23px;
    font-weight: 900;
}

.cart-empty-state p {
    max-width: 420px;
    margin: 0;
    color: #71817a;
    line-height: 1.55;
}

.cart-empty-state a {
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 11px;
    background: #1f3d36;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.cart-remove-dialog {
    position: fixed;
    inset: 0;
    width: min(92vw, 440px);
    max-height: min(90dvh, 620px);
    max-width: none;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    color: #172b25;
}

.cart-remove-dialog::backdrop {
    background: rgba(12, 30, 24, .48);
    backdrop-filter: blur(5px);
}

.cart-remove-dialog-shell {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 22px;
    max-height: inherit;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(13, 39, 30, .28);
}

.cart-remove-dialog-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 15px;
    background: #fff0ed;
    color: #b84235;
}

.cart-remove-dialog-copy > span {
    color: #9a675d;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cart-remove-dialog-copy h2 {
    margin: 4px 0 6px;
    font-size: 20px;
    font-weight: 900;
}

.cart-remove-dialog-copy p {
    margin: 0;
    color: #687a73;
    font-size: 13px;
    line-height: 1.5;
}

.cart-remove-dialog-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 5px;
}

.cart-remove-dialog-actions button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 15px;
    border-radius: 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 850;
}

.cart-dialog-cancel {
    border: 1px solid #d7e2dd;
    background: #fff;
    color: #375249;
}

.cart-dialog-confirm {
    border: 1px solid #b84235;
    background: #b84235;
    color: #fff;
}

.cart-dialog-confirm .material-symbols-outlined {
    font-size: 17px;
}

.cart-notice {
    position: fixed;
    z-index: 80;
    right: 20px;
    bottom: 20px;
    max-width: min(360px, calc(100vw - 28px));
    padding: 12px 15px;
    border-radius: 12px;
    background: #173f35;
    color: #fff;
    box-shadow: 0 18px 50px rgba(14, 40, 32, .24);
    font-size: 12px;
    font-weight: 750;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .18s ease, transform .18s ease;
}

.cart-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-notice.is-error {
    background: #9f332f;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .cart-page {
        width: min(100% - 24px, 680px);
        padding: 24px 0 48px;
    }

    .cart-page-heading {
        align-items: center;
        margin-bottom: 18px;
    }

    .cart-page-heading > a {
        max-width: 130px;
        justify-content: flex-end;
        text-align: right;
    }

    .cart-swipe-action {
        display: flex;
    }

    .cart-item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .cart-item-image {
        width: 76px;
        height: 76px;
        align-self: start;
        border-radius: 11px;
    }

    .cart-item-copy h2 {
        font-size: 14px;
    }

    .cart-item-options {
        gap: 5px 8px;
        font-size: 10px;
    }

    .cart-quantity {
        margin-top: 10px;
    }

    .cart-item-side {
        grid-column: 2;
        min-width: 0;
        align-self: auto;
        align-items: center;
        justify-content: flex-start;
        flex-direction: row;
    }

    .cart-item-side > strong {
        font-size: 14px;
    }

    .cart-desktop-remove {
        display: none;
    }

    .cart-swipe-hint {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 9px;
        color: #93a09b;
        font-size: 9px;
        line-height: 1.35;
    }

    .cart-swipe-hint .material-symbols-outlined {
        font-size: 15px;
    }

    .cart-summary-card {
        padding: 17px;
    }

    .cart-remove-dialog {
        width: 100%;
        max-width: none;
        max-height: min(88dvh, 560px);
        margin: auto 0 0;
        border-radius: 22px 22px 0 0;
    }

    .cart-remove-dialog-shell {
        padding: 20px 16px max(18px, env(safe-area-inset-bottom));
        border-radius: 22px 22px 0 0;
    }

    .cart-remove-dialog-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cart-remove-dialog-actions button {
        width: 100%;
        min-height: 46px;
    }

    .cart-notice {
        right: 14px;
        bottom: 14px;
        left: 14px;
        max-width: none;
    }
}

@media (max-width: 380px) {
    .cart-page-heading {
        align-items: flex-start;
    }

    .cart-page-heading > a {
        max-width: 104px;
        font-size: 11px;
    }

    .cart-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .cart-item-image {
        width: 64px;
        height: 64px;
    }
}
.countertop-length-box {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #dce7e2;
    border-radius: 14px;
    background: #f8fbf9;
}

.countertop-length-box > label {
    display: grid;
    gap: 7px;
    color: #243a33;
    font-size: 13px;
    font-weight: 700;
}

.countertop-length-box input {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cfded7;
    border-radius: 10px;
    outline: 0;
    background: #fff;
}

.countertop-length-box input:focus {
    border-color: #2c715c;
    box-shadow: 0 0 0 3px rgba(36, 104, 82, .1);
}

.countertop-length-meta,
.countertop-price-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.countertop-length-meta span,
.countertop-price-tiers span {
    padding: 6px 8px;
    border-radius: 8px;
    background: #eef5f1;
    color: #5b7168;
    font-size: 11px;
}

.countertop-price-tiers strong {
    margin-left: 5px;
    color: #174d3e;
}

.countertop-length-error {
    color: #b3422d;
    font-size: 12px;
    font-weight: 700;
}
