.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.catalog-nav .nav-menu li {
    margin-left: 16px;
}

.catalog-nav .nav-menu a {
    font-size: 0.89rem;
}

.catalog-hero {
    margin-top: 90px;
    padding: 72px 0;
    background:
        radial-gradient(circle at 6% 18%, rgba(227, 35, 18, 0.09), transparent 30%),
        linear-gradient(135deg, #fbf8f6 0%, #f2ebe7 100%);
    overflow: hidden;
}

.catalog-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    align-items: center;
    gap: 72px;
}

.eyebrow {
    margin: 0 0 15px;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.catalog-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.catalog-hero h1 span {
    display: block;
    margin-top: 12px;
    color: var(--primary-color);
    font-size: 0.52em;
    letter-spacing: 0.02em;
}

.catalog-hero-lead {
    max-width: 620px;
    color: #4d4743;
    font-family: var(--font-secondary);
    font-size: 1.23rem;
    line-height: 1.65;
}

.catalog-hero-actions,
.process-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
}

.text-link {
    color: var(--dark-color);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(227, 35, 18, 0.35);
    text-underline-offset: 5px;
}

.text-link:hover {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

.availability-note {
    margin: 28px 0 0;
    color: #5b5551;
    font-size: 0.9rem;
}

.availability-note i,
.dialog-availability i {
    margin-right: 7px;
    color: #43845b;
}

.catalog-collage {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr;
    grid-template-rows: repeat(2, 210px);
    gap: 14px;
    transform: rotate(1deg);
}

.catalog-collage figure {
    margin: 0;
    border: 7px solid white;
    border-radius: 4px;
    background: white;
    box-shadow: 0 18px 45px rgba(71, 43, 35, 0.16);
    overflow: hidden;
}

.catalog-collage .collage-main {
    grid-row: 1 / span 2;
}

.catalog-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-section {
    padding: 92px 0 105px;
}

.catalog-heading {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    align-items: end;
    gap: 70px;
    margin-bottom: 46px;
}

.catalog-heading h2,
.process-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.025em;
}

.catalog-heading > p {
    max-width: 640px;
    margin: 0;
    color: var(--gray-color);
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px;
    border: 1px solid #e8e2de;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(34, 34, 34, 0.05);
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-button {
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f4f1ef;
    color: #4f4946;
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.filter-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 5px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
}

.filter-button:hover,
.filter-button.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.search-box {
    display: flex;
    align-items: center;
    width: min(310px, 100%);
    padding: 0 15px;
    border: 1px solid #ddd5d0;
    border-radius: 6px;
    background: white;
}

.search-box i {
    color: #8f8884;
}

.search-box input {
    width: 100%;
    padding: 11px 10px;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 35, 18, 0.1);
}

.results-summary {
    margin: 26px 0 18px;
    color: #706965;
    font-size: 0.9rem;
}

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

.product-card {
    position: relative;
    border: 1px solid #eee8e4;
    border-radius: 8px;
    background: white;
    box-shadow: 0 7px 24px rgba(40, 31, 27, 0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 35px rgba(40, 31, 27, 0.13);
}

.product-image-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #eee9e6;
    cursor: pointer;
    overflow: hidden;
}

.product-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.5;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-card-image {
    transform: scale(1.035);
}

.image-count {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(25, 23, 22, 0.76);
    color: white;
    font-size: 0.75rem;
    backdrop-filter: blur(5px);
}

.product-card-body {
    padding: 22px;
}

.product-category {
    margin: 0 0 8px;
    color: var(--primary-color);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.product-card h3 {
    margin-bottom: 8px;
    font-size: 1.65rem;
}

.product-card-description {
    min-height: 46px;
    margin-bottom: 18px;
    color: #69625e;
    font-size: 0.9rem;
    line-height: 1.55;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-top: 15px;
    border-top: 1px solid #eee8e4;
    color: #625b57;
    font-size: 0.82rem;
}

.card-meta i {
    margin-right: 5px;
    color: #9d332c;
}

.product-card .btn {
    width: 100%;
    padding: 10px 20px;
}

.empty-state {
    padding: 75px 20px;
    text-align: center;
}

.empty-state > i {
    margin-bottom: 20px;
    color: #c9c0bb;
    font-size: 3rem;
}

.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--gray-color);
}

.quote-process {
    padding: 90px 0;
    background: #242120;
    color: white;
}

.process-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.process-heading > p:last-child {
    max-width: 680px;
    margin-top: 20px;
    color: #c8c2bf;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0;
    background: rgba(255, 255, 255, 0.12);
}

.process-grid li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 36px 30px;
    background: #242120;
}

.process-grid li > span {
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.process-grid h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.process-grid p {
    margin: 0;
    color: #bbb5b2;
    font-size: 0.9rem;
}

.quote-process .text-link {
    color: white;
}

.product-dialog {
    width: min(1120px, calc(100% - 36px));
    max-height: calc(100vh - 36px);
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: white;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    overflow: auto;
}

.product-dialog::backdrop {
    background: rgba(20, 17, 16, 0.76);
    backdrop-filter: blur(4px);
}

.dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #292524;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.dialog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    min-height: 650px;
}

.dialog-gallery {
    padding: 24px;
    background: #eee9e6;
}

.dialog-main-image {
    position: relative;
    display: grid;
    place-items: center;
    height: 550px;
    background: #e5dfdb;
    overflow: hidden;
}

.dialog-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #292524;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    transform: translateY(-50%);
}

.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }

.thumbnail-list {
    display: flex;
    gap: 9px;
    margin-top: 12px;
    padding-bottom: 3px;
    overflow-x: auto;
}

.thumbnail-button {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

.thumbnail-button.active {
    border-color: var(--primary-color);
}

.thumbnail-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dialog-content {
    padding: 58px 48px 44px;
}

.dialog-content h2 {
    margin-bottom: 10px;
    font-size: 2.8rem;
}

.dialog-description {
    color: #625b57;
}

.dialog-availability {
    display: inline-flex;
    align-items: center;
    margin: 2px 0 25px;
    padding: 8px 12px;
    border-radius: 4px;
    background: #eef7f0;
    color: #376c49;
    font-size: 0.82rem;
    font-weight: 600;
}

.technical-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 0 28px;
    border-top: 1px solid #e8e2df;
}

.technical-details div {
    padding: 15px 8px 15px 0;
    border-bottom: 1px solid #e8e2df;
}

.technical-details dt {
    margin-bottom: 4px;
    color: #8a827e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.technical-details dd {
    margin: 0;
    color: #3f3936;
    font-size: 0.86rem;
    line-height: 1.45;
}

.variant-section h3 {
    margin-bottom: 11px;
    font-size: 1rem;
}

.variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 28px;
}

.variant-chip {
    padding: 7px 10px;
    border: 1px solid #ddd5d1;
    border-radius: 4px;
    color: #5c5551;
    font-size: 0.75rem;
}

.btn-whatsapp {
    width: 100%;
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
}

.btn-whatsapp i {
    margin-right: 7px;
}

.quote-note {
    margin: 12px 0 0;
    color: #7b7470;
    font-size: 0.75rem;
    text-align: center;
}

@media (max-width: 1120px) {
    .catalog-nav .nav-menu li { margin-left: 10px; }
    .catalog-nav .nav-menu a { font-size: 0.8rem; }
    .catalog-hero-grid { gap: 40px; }
}

@media (max-width: 992px) {
    .catalog-nav .nav-menu a { font-size: 1rem; }
    .catalog-nav .nav-menu li { margin: 15px 0; }
    .catalog-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .catalog-collage { grid-template-rows: repeat(2, 240px); }
    .catalog-heading { grid-template-columns: 1fr; gap: 20px; }
    .catalog-toolbar { align-items: stretch; flex-direction: column; }
    .search-box { width: 100%; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dialog-layout { grid-template-columns: 1fr; }
    .dialog-main-image { height: min(65vh, 600px); }
    .process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .catalog-hero { padding: 52px 0 42px; }
    .catalog-hero h1 { font-size: 2.75rem; }
    .catalog-hero-lead { font-size: 1.05rem; }
    .catalog-hero-actions,
    .process-actions { align-items: stretch; flex-direction: column; }
    .catalog-hero-actions .btn,
    .process-actions .btn { width: 100%; }
    .catalog-collage {
        grid-template-columns: 1.15fr 0.85fr;
        grid-template-rows: repeat(2, 145px);
        gap: 8px;
    }
    .catalog-collage figure { border-width: 4px; }
    .catalog-section { padding: 65px 0 75px; }
    .filter-list {
        flex-wrap: nowrap;
        margin: 0 -18px;
        padding: 0 18px 7px;
        overflow-x: auto;
    }
    .filter-button { flex: 0 0 auto; }
    .product-grid { grid-template-columns: 1fr; gap: 22px; }
    .product-card-description { min-height: auto; }
    .quote-process { padding: 68px 0; }
    .process-grid li { padding: 28px 18px; }
    .product-dialog {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    .dialog-gallery { padding: 12px; }
    .dialog-main-image { height: 56vh; }
    .dialog-content { padding: 34px 20px 32px; }
    .dialog-content h2 { font-size: 2.2rem; }
    .technical-details { grid-template-columns: 1fr; }
    .dialog-close { top: 10px; right: 10px; }
}
