/* =========================
   1. RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-weight: var(--fw-regular);
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.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;
}



/* =========================
   2. VARIABLES
========================= */
:root {
    --font-main: "Manrope", sans-serif;

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Colors */
    --primary: #f5b400;
    --primary-hover: #d89f00;

    --dark: #222;
    --text: #444;
    --muted: #777;

    --white: #fff;
    --light: #f7f7f7;
    --light-gray: #ececec;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 30px;


    /* ---------- SHADOWS ---------- */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, .08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, .12);
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, .15);


    /* ---------- CONTAINER ---------- */
    --container-width: 1500px;
}



/* =========================
   3. GLOBAL ELEMENTS
========================= */
.container {
    width: 94%;
    max-width: var(--container-width);
    margin: 0 auto;
}

section {
    padding: 50px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: var(--fw-extrabold);
    line-height: 1.15;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--muted);
}



/* =========================
   4. BUTTONS
========================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    height: 54px;
    padding: 0 28px;

    font-family: var(--font-main);
    font-size: 16px;
    font-weight: var(--fw-bold);
    text-decoration: none;

    background: var(--white);
    color: var(--dark);

    border: 2px solid var(--primary);
    border-radius: 999px;

    cursor: pointer;

    transition:
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.btn:hover {
    background: var(--primary);
    color: var(--dark);

    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}


/* ---------- CTA (galben) ---------- */
.btn-filled {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.btn-filled:hover {
    background: var(--primary-hover);
    color: var(--white);
}

.projects .btn {
    display: flex;
    width: fit-content;
    margin: 40px auto 0;
}



/* =========================
   5. HEADER
========================= */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 50px 0 0;
    background-color: transparent;
}

.header-card {
    background: var(--white);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 20px 35px;

    border-radius: 32px;

    box-shadow: var(--shadow-md);
}

.mobile-search-toggle {
    display: none;
}



/* ---------- LOGO ---------- */
.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 110px;
    width: auto;
}


/* ---------- MENIU ---------- */
.nav-wrapper {
    flex: 1;
    min-width: 0;
    background: var(--white);
    border-radius: 28px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, .08);
    padding: 8px 20px;
    transition: margin-right .3s ease;
}

.nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    list-style: none;
    white-space: nowrap;
}

.nav a {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    color: var(--dark);
    font-size: 20px;
    font-weight: var(--fw-bold);
    position: relative;
    transition: .3s;
}

.nav a:hover {
    color: var(--primary);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background: var(--primary);
    border-radius: 20px;
    transition: .35s;
}

.nav a:hover::after {
    width: 100%;
}


/* =========================
   SITE SEARCH
========================= */
.site-search {
    position: relative;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    z-index: 1003;
    margin-left: 0;
}


/* ---------- BUTON SEARCH ---------- */
.site-search-box {
    position: absolute;
    top: 0;
    right: 0;

    height: 58px;
    width: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;
    padding: 0;

    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 999px;

    cursor: pointer;

    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);

    transition:
        width .3s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


/* ---------- ICON ---------- */
.site-search-icon {
    flex: 0 0 auto;
    font-size: 18px;
    color: var(--dark);

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    transition: color .25s ease, transform .25s ease;
}


/* ---------- INPUT ---------- */
#siteSearchInput {
    width: 0;
    min-width: 0;

    padding: 0;
    border: 0;
    outline: none;

    background: transparent;

    font-family: var(--font-main);
    font-size: 16px;
    color: var(--dark);

    opacity: 0;
    pointer-events: none;

    transition:
        width .3s ease,
        opacity .2s ease;
}

#siteSearchInput::placeholder {
    color: #777;
}


/* ---------- EXPANDARE LA HOVER ---------- */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 35px;
    flex: 0 0 auto;
}


.site-search:hover .site-search-box {
    width: 280px;
    justify-content: flex-start;
    padding: 0 16px;
    right: 0;
}

.site-search:hover .site-search-results {
    width: 280px;
    right: 0;
    left: auto;
}

.site-search:hover #siteSearchInput {
    width: 100%;
    opacity: 1;
    pointer-events: auto;
}

.site-search:hover .site-search-icon {
    position: static;
    transform: none;
    color: var(--primary);
}


/* ---------- SEARCH RĂMÂNE DESCHIS CU TEXT ---------- */
.site-search.is-open .site-search-box {
    width: 280px;
    justify-content: flex-start;
    padding: 0 16px;
    right: 0;
}

.site-search.is-open .site-search-results {
    width: 280px;
    right: 0;
    left: auto;
}

.site-search.is-open #siteSearchInput {
    width: 100%;
    opacity: 1;
    pointer-events: auto;
}

.site-search.is-open .site-search-icon {
    position: static;
    transform: none;
    color: var(--primary);
}



/* ---------- CLEAR ---------- */
.site-search-clear {
    display: none;

    flex: 0 0 auto;

    width: 26px;
    height: 26px;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: var(--light-gray);

    color: #777;
    font-size: 12px;

    cursor: pointer;
}

#siteSearchInput::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.site-search-clear:hover {
    background: var(--primary);
    color: var(--dark);
}



/* ---------- REZULTATE ---------- */
.site-search-results {
    position: absolute;

    top: calc(100% + 10px);
    left: 0;
    right: 0;

    background: var(--white);

    border-radius: 18px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, .16);

    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

    z-index: 1100;
}

.search-results-list {
    max-height: 470px;
    overflow-y: auto;
}

.site-search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ---------- REZULTAT ---------- */
.search-result {
    display: flex;
    align-items: center;
    gap: 14px;

    width: 100%;

    padding: 12px 15px;

    text-decoration: none;
    color: var(--dark);

    border-bottom: 1px solid var(--light-gray);

    transition: background-color .2s ease;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background: #fafafa;
}

.search-result-image {
    width: 58px;
    height: 58px;

    flex: 0 0 auto;

    object-fit: cover;

    border-radius: 10px;

    background: var(--light);
}

.search-result-info {
    min-width: 0;
    flex: 1;
}

.search-result-name {
    display: block;

    font-size: 14px;
    font-weight: var(--fw-bold);

    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 12px;
}

.search-result-arrow {
    color: var(--muted);
    font-size: 13px;
}


/* ---------- TOATE REZULTATELE ---------- */
.search-results-all {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 16px;

    border-top: 1px solid var(--light-gray);

    color: var(--dark);

    font-size: 13px;
    font-weight: var(--fw-bold);

    text-decoration: none;

    transition: background-color .2s ease;
}

.search-results-all:hover {
    background: var(--light);
}

.search-results-all i {
    color: var(--primary-hover);
}


/* ---------- FĂRĂ REZULTATE ---------- */
.search-no-results {
    padding: 22px 18px;

    text-align: center;

    color: var(--muted);

    font-size: 14px;
}

.search-no-results strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}



/* ---------- BUTON ---------- */
.header-btn {
    padding: 18px 34px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(245, 180, 0, .30);
}

.header-btn:hover {
    transform: translateY(-2px);
}


/* ---------- BURGER ---------- */
.menu-toggle {
    display: none;
}

.menu-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .45);

    opacity: 0;
    visibility: hidden;

    transition: .3s;

    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}



/* =========================
   6. HERO
========================= */
.hero {
    background: var(--light-gray);
    margin-top: -50px;
    padding-top: 50px;
    position: relative;
    z-index: 1;
}

.hero-bg {
    background: url("../img/hero/hero.webp") center top / 100% auto no-repeat;

    aspect-ratio: 1500 / 750;
}



/* =========================
   7. PRODUCTS
========================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;

    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    /* poți regla: 180–240px */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h3 {
    margin: 15px 0 10px;
}



/* =========================
   8. PRODUCT HERO
========================= */
.product-category {
    display: block;
    color: var(--primary);
    font-size: 16px;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-hero {
    padding: 120px 0 80px;
    margin-top: 150px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

/* DREAPTA */
.product-info {
    padding: 10px 0;
}

.product-info h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}

.product-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 35px;
}

/* BENEFICII */
.product-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 28px;
    list-style: none;
    padding: 0;
    margin: 0 0 50px;
}

.product-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
}

.benefit-icon {
    width: 46px;
    height: 46px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 18px;
}

.benefit-content {
    display: flex;
    flex-direction: column;
}

.benefit-content strong {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 4px;
}

.benefit-content span {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

/* BUTON */
.product-info .btn {
    width: 280px;
    height: 56px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 30px auto 0;
}



/* =========================
  9. FILTER PRODUCTS BY BRAND
========================= */
.brand-filter-btn {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-filter-btn img {
    width: 140px;
    height: 42px;
    object-fit: contain;
}


.catalog-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.brand-filter {
    position: sticky;
    top: 110px;
    background: #fff;
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.brand-filter h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.brand-filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-filter-btn {
    width: 100%;
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #222;
    border-radius: 10px;
    padding: 11px 13px;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.brand-filter-btn:hover {
    border: 2px solid #f5b400;
    transform: translateY(-1px);
}

.brand-filter-btn.active {
    background: #f5b400;
    border-color: #f5b400;
    color: #222;
}

.product-card.is-hidden {
    display: none;
}


/* =========================
   ANIMAȚIE FILTRARE PRODUSE
========================= */

.product-card {
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.product-card.filter-exit {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
    pointer-events: none;
}

.product-card.filter-enter {
    animation: brandFilterEnter 0.35s ease forwards;
}

@keyframes brandFilterEnter {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}



/* =========================
  9. SPECIFICAȚII PRODUS
========================= */
.product-specs {
    padding: 70px 0;
}

.product-specs .container {
    background: var(--white);
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.product-specs h2 {
    text-align: left;
    font-size: 36px;
    margin-bottom: 10px;
}

.product-specs h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: var(--primary);
    border-radius: 50px;
    margin-top: 12px;
}

.specs-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.specs-table td {
    padding: 18px 22px;
    font-size: 15px;
    vertical-align: middle;
    border: 1px solid var(--light-gray);
}

.specs-table td:first-child {
    width: 42%;
    font-weight: var(--fw-bold);
    color: var(--dark);
    background: var(--background);
}

.specs-table td:last-child {
    color: var(--muted);
}

.specs-table tr:hover td {
    background: var(--background);
}



/* =========================
   PRODUCT COLORS
========================= */

.product-colors {
    padding: 70px 0;
}

.product-colors .container {
    background: var(--white);
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.product-colors h2 {
    text-align: left;
    font-size: 36px;
    margin-bottom: 10px;
}

.product-colors h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: var(--primary);
    border-radius: 50px;
    margin-top: 12px;
    margin-bottom: 40px;
}

.colors-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.colors-layout.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.color-card {
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 15px;
    transition: all .3s ease;

    display: flex;
    flex-direction: column;
}

.color-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-sm);
}

.color-card h3 {
    font-size: 26px;
    font-weight: var(--fw-bold);
    margin-bottom: 8px;
}

.color-card p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.product-colors-note {
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
}

.product-colors-note i {
    color: var(--primary);
    font-size: 16px;
}

.color-chart {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transition: transform .3s ease;
}



/* =========================
   10. PRODUCT GALLERY
========================= */

.product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* IMAGINE PRINCIPALĂ */

.main-image {
    width: 92%;
}

.main-image img {
    width: 100%;
    aspect-ratio: 13 / 10;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform .35s ease;
}

.main-image img:hover {
    cursor: pointer;
    transform: scale(1.03);
}


/* THUMBNAILS */
.thumbnail-row {
    width: 92%;
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    margin-top: 20px;
}


.thumbnail-item {
    width: 84px;
    height: 84px;
    padding: 5px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    transition: all .25s ease;
    cursor: pointer;
}

.thumbnail-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    opacity: .7;
    transition: .25s ease;
    border: none;
    box-shadow: none;
}

.thumbnail-item:hover img {
    opacity: 1;
}

.thumbnail-item.active-thumb {
    border-color: var(--primary);
}

.thumbnail-item.active-thumb img {
    opacity: 1;
}



/* =========================
   11. COLOR SELECTOR
========================= */

.color-selector {
    width: 92%;
    margin-top: 28px;
}

.color-selector span {
    display: block;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: var(--fw-bold);
    color: var(--dark);
}

.color-options {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.color-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--light-gray);
    cursor: pointer;
    transition: all .25s ease;
    flex-shrink: 0;
}

.color-dot:hover {
    transform: scale(1.12);
    border-color: var(--primary);
}

.active-color {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(242, 195, 0, .18);
}



/* =========================
  12. PRODUCT DESCRIPTION CARD
========================= */
.page-header h1,
.page-header p,
.page-header .page-image {
    display: none;
}

.page-header {
    min-height: 200px;
}

.page-content {
    padding: 70px 0;
}

.page-content .container {
    background: var(--white);
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.description-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.description-text {
    display: block;
}

.description-text h2 {
    text-align: left;
    font-size: 36px;
    margin-bottom: 35px;
    position: relative;
}

.description-text h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: var(--primary);
    border-radius: 999px;
    margin-top: 14px;
}

.description-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 18px;
}

.description-image {
    display: flex;
    align-items: center;
    height: 100%;
}

.description-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    border-radius: 16px;
    box-shadow: var(--shadow-md);
}



/* =========================
   METIGLA COLORS LAYOUT
========================= */
.metigla-colors .colors-layout {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 24px;
}


/* ------ 1ST ROW ------ */
.metigla-colors .color-card:first-child {
    grid-column: 1 / -1;
}


/* ------ 2ND ROW ------ */
.metigla-colors .color-card:nth-child(2),
.metigla-colors .color-card:nth-child(3) {
    grid-column: span 12;
}


/* ------ 3RD ROW ------ */
.metigla-colors .color-card:nth-child(4) {
    grid-column: span 21;
}

/* ------ 4TH ROW ------ */
.metigla-colors .color-card:nth-child(5) {
    grid-column: span 3;
    padding: 19px 2px;
    text-align: center;
}



/* =========================
   METIGLA TECK - PALETAR
========================= */
.metigla-colors .teck-colors-layout {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 24px;
}

.metigla-colors .teck-colors-layout .color-card:nth-child(1),
.metigla-colors .teck-colors-layout .color-card:nth-child(2) {
    grid-column: span 12 !important;
}



/* =========================
   13. PROJECTS
========================= */
.projects {
    background-color: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: .35s;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .15);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-tag {
    position: absolute;
    top: 18px;
    left: 18px;

    background: var(--primary);
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 50px;

    font-size: 14px;
    font-weight: 700;
}

.project-info {
    padding: 24px;
    text-align: center;
}

.project-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;

    margin: 18px 0 28px;

    color: var(--muted);
}



/* =========================
   14. PROJECT PAGE
========================= */

/* HERO */
.project-hero {
    padding: 60px 0 80px;
}

.project-cover {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto 40px;
}

.project-cover img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    height: 700px;

    display: block;
}

.project-header {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.project-header h1 {
    font-size: 46px;
    margin: 18px 0;
}

.project-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;

    margin-top: 25px;

    color: var(--muted);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 16px;
    font-weight: 600;
}

.project-meta i {
    color: var(--primary);
}


/* DESCRIERE */
.project-description .container {
    background: var(--white);

    padding: 60px;

    border-radius: 20px;

    box-shadow: var(--shadow-sm);
}

.project-description h2 {
    margin-bottom: 30px;
}

.project-description p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 18px;
}


/* MATERIALE */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.material-card {
    background: var(--white);

    padding: 30px;

    border-radius: 18px;

    box-shadow: var(--shadow-sm);

    text-align: center;

    transition: .3s;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.material-card i {
    font-size: 34px;
    color: var(--primary);

    margin-bottom: 18px;
}

.material-card span {
    font-weight: 700;
    line-height: 1.6;
}


/* GALERIE */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4/3;

    object-fit: cover;

    border-radius: 18px;

    cursor: pointer;

    box-shadow: var(--shadow-sm);

    transition: .35s;
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}


/* CTA */
.project-cta .container {
    background: var(--white);

    padding: 60px;

    border-radius: 20px;

    text-align: center;

    box-shadow: var(--shadow-sm);
}

.project-cta h2 {
    margin-bottom: 20px;
}

.project-cta p {
    max-width: 650px;

    margin: 0 auto 35px;

    color: var(--muted);
}

.project-cta .btn {
    margin: auto;
}



/* =========================
   14. WHY US
========================= */

.why-us {
    padding: 100px 0;
}

.why-us h2 {
    text-align: center;
    margin-bottom: 60px;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit {

    background: var(--white);

    padding: 15px;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    text-align: center;

    display: flex;
    flex-direction: column;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}

.benefit:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.benefit-top {
    min-height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

}

.benefit-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.benefit-number {

    font-size: 62px;

    font-weight: 800;

    color: var(--primary);

    line-height: 1;

    margin: 0;

}

.benefit-title {

    font-size: 24px;
    font-weight: 700;

    line-height: 1.3;

    color: var(--dark);

    margin-top: 0;

}

.benefit p {
    margin-top: 15px;
    font-size: 16px;

    line-height: 1.7;

    color: var(--muted);

}

.benefit strong {

    color: var(--dark);

}



/* ====================================
   15. WHY US
==================================== */
.why-wrapper {
    background: var(--white);
    border-radius: 32px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}



/* ======================================
   16. PAYMENT SECTION
====================================== */
.payment-section {
    margin-top: 40px;
}

.payment-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    align-items: stretch;

}

.payment-info,
.payment-card {
    background: var(--white);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    padding: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;

    height: 100%;

    transition: all .3s ease;
}

.payment-info-icon {
    margin-bottom: 25px;
    width: 72px;
    height: 72px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(245, 180, 0, .08);

    border: 2px solid rgba(245, 180, 0, .18);
}

.payment-info:hover,
.payment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.payment-info h3 {

    font-size: 32px;
    margin-bottom: 18px;

}

.payment-info p {
    color: var(--muted);
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 0px;
}

.benefit-icon {

    width: 72px;
    height: 72px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(245, 180, 0, .08);

    border: 2px solid rgba(245, 180, 0, .18);
}

.benefit-icon i,
.payment-info-icon i {

    color: var(--primary);
    font-size: 34px;
}


/* CARDURI BANCI */
.payment-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);

}

.payment-card img {

    height: 75px;

    width: auto;

    margin: 0 auto 25px;

}

.payment-card h4 {

    font-size: 28px;

    margin-bottom: 15px;

}

.payment-card p {

    color: var(--muted);

    line-height: 1.7;

    margin-bottom: 30px;

}

.payment-card .btn {

    width: 100%;

}



/* =========================
   17. TESTIMONIALS
========================= */
.testimonial {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-style: italic;
}



/* =========================
   18. CONTACT
========================= */
.contact-box {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}



/* =========================
   19. FOOTER
========================= */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 0px;
    margin-top: 70px;
}

.footer .container {
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr);
}

.footer-brand,
.footer-feature {
    padding: 20px;

}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;

}

.footer-brand img {
    max-width: 220px;

}

.footer-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;

    border-left: 1px solid rgba(255, 255, 255, .08);

}

.footer-feature i {
    font-size: 34px;
    color: var(--primary);
    flex-shrink: 0;

}

.footer-feature h4 {
    margin-bottom: 8px;
    font-size: 20px;

}

.footer-feature p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;

}

.footer-middle {
    display: grid;
    grid-template-columns: 1fr 1.5fr .8fr;

    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-nav,
.footer-contact,
.footer-follow {
    padding: 10px;
}

.footer-contact {
    border-left: 1px solid rgba(255, 255, 255, .08);
    border-right: 1px solid rgba(255, 255, 255, .08);

}

.footer-middle h4 {
    font-size: 22px;
    margin-bottom: 25px;

}

.footer-nav {
    display: flex;
    flex-direction: column;

}


.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: .3s;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
    width: 18px;
    text-align: center;
}


.footer-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: var(--primary);

    transition: width .3s ease;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 16px;

}

.footer-contact i {
    color: var(--primary);
    width: 18px;

}

.footer-social {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.footer-social a {
    width: 52px;
    height: 52px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 2px solid var(--primary);
    border-radius: 50%;

    background: transparent;
    text-decoration: none;

    transition: all .3s ease;
}

.footer-social i {
    color: var(--light);
    font-size: 20px;
    transition: color .3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-social a:hover i {
    color: var(--dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 15px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--text);
    font-size: 15px;
}

.footer-bottom strong {
    color: var(--primary);
}

.footer-bottom span {
    margin: 0 14px;
    color: var(--light-gray);
}



/* =========================
  20. LIGHTBOX
========================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

body.lightbox-open {
    overflow: hidden;
    touch-action: none;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
}

#lightboxImage {

    display: block;

    max-width: 90vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 16px;

}

.lightbox-close {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 48px;
    height: 48px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: rgba(20, 20, 20, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 2px solid var(--primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .35);

    cursor: pointer;

    font-size: 22px;

    transition: .25s;
}

.lightbox-prev,
.lightbox-next {

    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 56px;
    height: 56px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: rgba(20, 20, 20, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 2px solid var(--primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .35);

    cursor: pointer;

    font-size: 22px;

    transition: .25s;
}

.lightbox-prev {
    left: 11px;
}

.lightbox-next {
    right: 11px;
}

.lightbox-prev:hover,
.lightbox-next:hover {

    transform: translateY(-50%) scale(1.08);
}

.lightbox-close:hover {

    transform: scale(1.08);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    color: var(--white);
}

.lightbox-counter {

    position: absolute;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    padding: 8px 18px;

    border-radius: 999px;

    background: rgba(20, 20, 20, .15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 2px solid var(--primary);

    color: var(--white);
    ;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: .5px;
}



/* =========================
   BACK TO TOP
========================= */

.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 110px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
    color: var(--primary);

    border: 2px solid var(--primary);
    border-radius: 999px;

    cursor: pointer;
    overflow: hidden;

    transition: all .35s ease;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    transition: .35s ease;
}

.back-to-top span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;

    opacity: 0;
    white-space: nowrap;
    margin-left: 35px;
    transition: .25s ease;
}

.back-to-top:hover {
    width: 175px;
    background: var(--primary);
    color: var(--white);
}

.back-to-top:hover i {
    left: 22px;
    transform: none;
}

.back-to-top:hover span {
    opacity: 1;
}


/* =========================
  21. WHATSAPP BUTTON
========================= */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 999px;

    padding: 0;

    overflow: hidden;
    text-decoration: none;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .20);

    transition: all .35s ease;

    z-index: 9998;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, .28);
}

.whatsapp-float i {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    width: 46px;
    height: 46px;

    font-size: 32px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: #25D366;
    color: #fff;

    transition: .35s ease;
}

.whatsapp-text {
    display: flex;
    flex-direction: column;

    opacity: 0;

    white-space: nowrap;

    margin-left: 55px;

    transition: opacity .25s ease;
}

.whatsapp-text strong {
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
}

.whatsapp-text span {
    color: var(--muted);
    font-size: 14px;
}

.whatsapp-float:hover {
    width: 195px;
}

.whatsapp-float:hover i {
    left: 22px;
    transform: none;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}



/* =========================
  22. COOKIES
========================= */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100%;
    max-width: 380px;
    background: var(--white);
    color: var(--dark);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .2);
    border: 1px solid rgba(0, 0, 0, .08);
    z-index: 9999;

    display: flex;
    flex-direction: column;
    gap: 18px;

    animation: cookieShow .35s ease;
}

.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(3px);
    z-index: 9998;
}

body.cookies-open {
    overflow: hidden;
}

.cookie-content h3 {
    margin: 0;
    font-size: 1.4rem;
}

.cookie-content p {
    margin: 12px 0 18px;
    line-height: 1.7;
    color: var(--text);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.cookie-actions button {
    flex: 1;
    height: 46px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 700;
    transition: .25s;
}

#accept-cookies {
    background: var(--primary);
    color: var(--dark);
    border: 2px solid var(--primary);
}

#accept-cookies:hover {
    transform: translateY(-2px);
    filter: brightness(.95);
}

#refuse-cookies {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--light-gray);
}

#refuse-cookies:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.cookie-more {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.cookie-more:hover {
    text-decoration: underline;
}

@keyframes cookieShow {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: none;
    }

}



/* =========================================================
  23. COOKIES PAGE
========================================================= */
body.cookies-page {
    font-family: 'Manrope', sans-serif;
    background: var(--light-gray);
    color: var(--dark);
    margin: 0;
}

.cookies-layout {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
}

.cookies-content {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .08);
}

.cookies-content h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cookies-content h2 {
    margin-top: 45px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.cookies-content p,
.cookies-content li {
    line-height: 1.8;
    color: var(--text);
}

.cookies-content ul {
    padding-left: 22px;
}

.cookies-content .btn {
    margin-top: 35px;
}



/* =========================
   24. RESPONSIVE
========================= */
@media (min-width: 1025px) and (max-width: 1440px) {

    .header-card:has(.site-search:hover) .nav ul,
    .header-card:has(.site-search.is-open) .nav ul {
        gap: 20px;
    }

    .header-card:has(.site-search:hover) .nav ul li a,
    .header-card:has(.site-search.is-open) .nav ul li a {
        font-size: 18px;
    }

    .header-card {
        width: 95%;
    }

}

@media (min-width: 1025px) {

    .header-card:has(.site-search:hover) .nav-wrapper,
    .header-card:has(.site-search.is-open) .nav-wrapper {
        margin-right: 222px;
    }

}


/* TABLET 768px - 1024px */
@media (min-width:768px) and (max-width:1024px) {

    .header {
        padding: 20px 0;
    }

    .header-btn {
        display: none !important;
    }

    .header-card {
        padding: 18px 30px;
        border-radius: 28px;
        min-height: 100px;
    }

    .logo img {
        height: 90px;
    }

    .nav-wrapper {
        padding: 0;
    }

    .nav {
        height: 72px;
        padding: 0 30px;
        border-radius: 22px;
    }

    .nav-wrapper.active .nav {
        height: auto;
        padding: 0;
        border-radius: 0;
    }

    .nav ul {
        gap: 30px;
    }

    .nav ul li a {
        font-size: 18px;
    }


    /* ---------- TABLET SEARCH ---------- */
    .site-search {
        position: relative;
        flex: 0 0 58px;
        width: 58px;
        height: 58px;
    }

    .site-search-box {
        top: 0;
        right: 0;
        width: 58px;
    }


    /* SEARCH DESCHIS - TABLET */
    .header-card:has(.site-search:hover) .nav-wrapper,
    .header-card:has(.site-search.is-open) .nav-wrapper {
        margin-right: 142px;
    }

    .header-card:has(.site-search:hover) .nav ul,
    .header-card:has(.site-search.is-open) .nav ul {
        gap: 18px;
    }


    .site-search:hover .site-search-box,
    .site-search.is-open .site-search-box {
        width: 230px;
    }

    .hero {
        margin-top: -35px;
        padding-top: 80px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .product-card {
        padding: 22px;
    }

    .product-card img {
        height: 180px;
    }

    .product-card h3 {
        font-size: 20px;
    }

    .product-card p {
        font-size: 16px;
        line-height: 1.5;
    }

    .product-card .btn {
        width: 100%;
        font-size: 16px;
        padding: 12px 18px;
    }

    .page-content .container,
    .product-specs .container {
        padding: 36px;
    }


    .catalog-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 24px;
    }

    .brand-filter {
        padding: 18px 14px;
    }


    /* PRODUCT DESCRIPTION */
    .description-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .description-image {
        order: 1;
    }

    .description-text {
        order: 2;
    }

    .description-image img {
        height: auto;
    }

    .description-text h2,
    .product-specs h2,
    .product-colors h2 {
        font-size: 34px;
    }



    /* PRODUCT PAGE */
    .product-layout {
        gap: 40px;
        grid-template-columns: 1fr 0.95fr;
    }

    .product-info h1 {
        font-size: 42px;
    }

    .product-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .product-benefits {
        gap: 24px 20px;
        margin-bottom: 30px;
    }

    .benefit-icon {
        width: 42px;
        height: 42px;
    }

    .benefit-icon i {
        font-size: 16px;
    }

    .benefit-content strong {
        font-size: 15px;
    }

    .benefit-content span {
        font-size: 13px;
        line-height: 1.45;
    }

    .product-info .btn {
        width: 240px;
        height: 52px;
    }



    /* SPECIFICATIONS */
    .specs-layout {
        grid-template-columns: 1fr;
    }



    /* PROJECT PAGE */
    .project-header h1 {
        font-size: 36px;
    }

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .whatsapp-float {
        transform: scale(.85);
        transform-origin: bottom right;
        right: 18px;
        bottom: 50px;
    }

    .footer-brand,
    .footer-feature,
    .footer-nav,
    .footer-contact,
    .footer-follow {
        padding: 10px;
    }

    .footer-brand img {
        max-width: 210px;
    }

    .back-to-top {
        height: 42px;
        width: 42px;
        top: auto;
        right: 22px;
    }
}



/* TABLET PORTRAIT 769px - 900px */
@media (min-width:768px) and (max-width:900px) {
    /* SEARCH - TABLET PORTRAIT */

    .header-card:has(.site-search:hover) .nav-wrapper,
    .header-card:has(.site-search.is-open) .nav-wrapper {
        margin-right: 0;
    }

    .site-search:hover .site-search-box,
    .site-search.is-open .site-search-box {
        width: 330px;
        top: 66px;
        right: 0;
    }

    .site-search:hover .site-search-results,
    .site-search.is-open .site-search-results {
        width: 330px;
        top: 134px;
        right: 0;
        left: auto;
    }


    /* PRODUCT PAGE */
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }

    .product-info {
        order: 1;
    }

    .product-gallery {
        order: 2;
    }

    .product-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-info .btn {
        width: 100%;
        max-width: 320px;
        margin: 30px auto 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-layout {
        padding: 30px;
    }

    .hero {
        margin-top: 0px;
        padding-top: 70px;
    }

    .header-card {
        padding: 16px 22px;
    }


    .catalog-layout {
        display: block;
    }

    .brand-filter {
        position: static;
        margin-bottom: 24px;
        padding: 14px;
        overflow: hidden;
    }

    .brand-filter h3 {
        margin-bottom: 10px;
        font-size: 17px;
    }

    .brand-filter-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 3px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .brand-filter-btn {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        text-align: center;
        padding: 10px 16px;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .benefit-card {
        padding: 30px 22px;
    }

    .logo img {
        height: 75px;
    }

    .nav {
        height: 64px;
        padding: 0 22px;
    }

    .nav ul {
        gap: 20px;
    }

    .nav ul li a {
        font-size: 16px;
    }

    /* COLORS */
    .colors-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand,
    .footer-nav {
        display: none;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .footer-feature {
        border: none;
        padding: 22px 20px;

        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;

    }

    .footer-middle {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact {
        border: none;

        display: flex;
        flex-wrap: wrap;

        justify-content: center;
        align-items: center;

        gap: 20px;

    }

    .footer-contact h4 {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 12px;

    }

    .footer-contact p {
        display: flex;
        align-items: center;
        gap: 10px;

        margin: 0;

        white-space: nowrap;

    }

    .footer-follow {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 80px;
    }

    .back-to-top {
        height: 42px;
        width: 42px;
        bottom: 140px;
        right: 23px;
    }

}



/* MOBILE <= 767px */
@media (max-width: 767px) {
    .header {
        position: relative;
        padding: 20px 0;
    }

    .page-header {
        display: none;
    }

    .header-card {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0;
        padding: 5px 14px;
    }


    /* =========================
   SEARCH MOBILE
========================= */

    .header-card {
        position: relative;
    }


    /* ---------- BUTON LUPĂ ---------- */
    .mobile-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 52px;
        height: 52px;

        margin-left: auto;
        margin-right: 8px;

        flex: 0 0 52px;

        background: var(--white);
        border: 1px solid var(--light-gray);
        border-radius: 50%;

        box-shadow: 0 8px 20px rgba(0, 0, 0, .08);

        color: var(--dark);

        cursor: pointer;

        z-index: 1004;

        transition:
            opacity .25s ease,
            transform .25s ease;
    }

    .mobile-search-toggle i {
        font-size: 17px;
    }


    /* ---------- SEARCH CONTAINER ---------- */
    .site-search {
        display: block;

        position: absolute;

        left: 16px;
        right: 76px;
        top: 50%;

        width: auto;
        height: 52px;

        margin: 0;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-50%) scaleX(.96);

        z-index: 1004;

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease;
    }

    .site-search.mobile-search-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(-50%) scaleX(1);
    }


    /* ---------- SEARCH BOX ---------- */
    .site-search-box {
        position: relative;

        width: 100%;
        height: 52px;

        padding: 0 16px;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        background: var(--white);

        border: 1px solid var(--light-gray);
        border-radius: 28px;

        box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    }


    /* ---------- LUPA DIN SEARCH ---------- */
    .site-search-icon {
        position: static;

        flex: 0 0 auto;

        font-size: 17px;

        color: var(--primary);

        margin-right: 10px;

        transform: none;
    }


    /* ---------- INPUT ---------- */
    .site-search #siteSearchInput {
        width: 100%;
        min-width: 0;
        height: 100%;

        padding: 0;

        border: none;
        outline: none;

        background: transparent;

        color: var(--dark);

        opacity: 1;
        pointer-events: auto;

        font-family: var(--font-main);
        font-size: 16px;
    }


    /* ---------- X ---------- */
    .site-search-clear {
        display: none;

        flex: 0 0 auto;

        align-items: center;
        justify-content: center;

        width: 32px;
        height: 32px;

        margin-left: 8px;
        padding: 0;

        border: none;
        background: transparent;

        color: var(--dark);

        cursor: pointer;
    }


    /* ---------- LOGO + LUPĂ DISPAR ---------- */
    .logo {
        transition:
            opacity .25s ease,
            transform .25s ease;
    }

    .header-card:has(.site-search.mobile-search-open) .logo {
        opacity: 0;
        transform: translateX(-10px);
        pointer-events: none;
    }

    .header-card:has(.site-search.mobile-search-open) .mobile-search-toggle {
        opacity: 0;
        transform: scale(.85);
        pointer-events: none;
    }


    /* ---------- REZULTATE ---------- */
    .site-search-results {
        position: absolute;

        top: 62px;
        left: -16px;
        right: -80px;

        width: auto;

        transform: translateY(-6px);

        z-index: 1005;
    }

    /* REZULTATE - MOBILE */
    .site-search.mobile-search-open .site-search-results {
        width: auto;

        left: -16px;
        right: -76px;
    }

    .site-search-results.active {
        transform: translateY(0);
    }


    /* BRAND FILTER */
    .brand-filter {
        margin-bottom: 20px;
    }

    .catalog-layout {
        display: block;
    }

    .brand-filter {
        position: static;
        margin-bottom: 24px;
        padding: 14px;
        overflow: hidden;
    }

    .brand-filter h3 {
        margin-bottom: 10px;
        font-size: 17px;
    }

    .brand-filter-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 3px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .brand-filter-btn {
        flex: 0 0 auto;
        width: auto;
        height: 52px;
        white-space: nowrap;
        text-align: center;
        padding: 6px 10px;
    }


    .brand-filter-btn img {
        width: 105px;
        height: 32px;
    }

    .logo img {
        height: 70px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;

        width: 52px;
        height: 52px;
        margin-left: 0;
        flex: 0 0 52px;

        background: var(--primary);
        border: 1px solid var(--light-gray);
        border-radius: 50%;

        box-shadow: 0 8px 20px rgba(0, 0, 0, .08);

        cursor: pointer;

        z-index: 1002;

        transition: all .25s ease;
    }

    .menu-toggle.active {
        background: var(--white);
        border-color: var(--primary);
    }

    .menu-toggle.active span {
        background: var(--dark);
    }

    .menu-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(0, 0, 0, .12);
    }

    .menu-toggle span {
        width: 22px;
        height: 2.5px;

        background: var(--dark);
        border-radius: 20px;

        transition: all .3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-wrapper {
        position: fixed;

        top: 115px;
        left: 20px;
        right: 20px;

        background: var(--white);
        border-radius: 28px;
        padding: 30px;

        box-shadow: 0 20px 50px rgba(0, 0, 0, .20);

        z-index: 1001;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-15px);

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s;
    }

    .nav-wrapper.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav {
        position: static;
        display: block;
    }

    .nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    .nav ul li {
        list-style: none;
        border-bottom: 2px solid var(--light-gray);
    }

    .nav ul li:last-child {
        border-bottom: none;
    }

    .nav ul li a {
        display: block;

        padding: 18px 0;

        text-align: center;

        text-decoration: none;

        color: var(--dark);

        font-size: 20px;

        font-weight: 700;

        transition: .25s;
    }

    .nav ul li a:hover {
        color: var(--primary);
    }

    .header-btn {
        display: none;
    }



    /* ---------- HERO ---------- */
    .hero {
        margin-top: -130px;
        padding-top: 30px;
    }

    .hero-bg {
        background: url("../img/hero/hero-mobile.webp") center 0 / cover no-repeat;
    }

    .product-hero {
        margin-top: 0;
        padding: 30px 0 50px;
    }



    /* ----- PAGINI PRODUSE ------ */
    .products {

        padding-top: 40px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-layout {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }

    .page-content .container,
    .product-specs .container {
        padding: 30px 20px;
    }

    .main-image {
        width: 100%;
    }

    .thumbnail-row {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 18px;
    }

    .thumbnail {
        flex: 1;
        max-width: 72px;
        aspect-ratio: 1;
    }

    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }



    /* PRODUCT PAGE */
    .product-info {
        order: 1;
    }

    .product-gallery {
        order: 2;
    }

    .product-info h1 {
        font-size: 39px;
        line-height: 1.1;
    }

    .product-subtitle {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .product-benefits {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 30px;
    }

    .product-benefits li {
        align-items: center;
    }

    .benefit-icon {
        width: 56px;
        height: 56px;
    }

    .benefit-content strong {
        font-size: 18px;
    }

    .benefit-content span {
        font-size: 15px;
    }

    .product-info .btn {
        width: 100%;
        max-width: 320px;
        margin: 25px auto 35px;
    }


    /* PRODUCT DESCRIPTION */
    .description-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .description-text {
        order: 2;
    }

    .description-image {
        order: 1;
    }

    .description-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .description-text h2,
    .product-specs h2,
    .product-colors h2 {
        font-size: 30px;
    }

    .description-text p {
        font-size: 15px;
        line-height: 1.7;
    }


    /* METIGLA COLORS LAYOUR */
    .metigla-colors .color-card:nth-child(5) {
        text-align: center;
    }

    .metigla-colors .colors-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metigla-colors .color-card:first-child,
    .metigla-colors .color-card:nth-child(2),
    .metigla-colors .color-card:nth-child(3),
    .metigla-colors .color-card:nth-child(4),
    .metigla-colors .color-card:nth-child(5) {
        grid-column: 1;
    }


    /* SPECIFICATIONS */
    .specs-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .specs-table td {
        padding: 14px 16px;
        font-size: 14px;
    }

    .product-specs .container {
        padding: 30px 20px;
    }


    /* THUMBNAILS */
    .thumbnail-item {
        width: 70px;
        height: 70px;
        padding: 4px;
    }


    /* COLORS */
    .colors-layout,
    .colors-layout.columns-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .color-card {
        padding: 22px;
    }

    .color-card h3 {
        font-size: 24px;
    }

    .color-card p {
        font-size: 14px;
    }

    .color-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .product-colors .container {
        padding: 30px 20px;
    }

    .product-colors-note {
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }



    /* ------ PROJECTS ------ */

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        width: 100%;
    }



    /* ------ PROJECT PAGE ------ */
    .project-hero {
        padding: 30px 0 50px;
    }

    .project-cover {
        width: 100%;
        margin-bottom: 25px;
    }

    .project-cover img {
        width: 100%;
        height: 20px;
        object-fit: cover;
        object-position: center;
    }

    .project-header {
        text-align: center;
    }

    .project-header h1 {
        font-size: 28px;
    }

    .project-meta {
        flex-direction: column;
        gap: 12px;
    }

    .project-meta span {
        justify-content: center;
        font-size: 15px;
    }

    .project-description .container,
    .project-cta .container {
        padding: 30px 20px;
    }

    .materials-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .material-card {
        padding: 22px;
    }

    .gallery-grid {
        gap: 16px;
    }



    /* ------ WHY US ------ */
    .benefits {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .benefit {
        padding: 20px 15px;
    }



    /* ------ PAYMENT SECTION ------ */
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .payment-info,
    .payment-card {
        padding: 22px 18px;
    }

    .payment-info h3 {
        font-size: 28px;
    }

    .payment-card h4 {
        font-size: 24px;
    }

    .payment-card img {
        height: 70px;
        margin-bottom: 18px;
    }

    .payment-info p,
    .payment-card p {
        font-size: 15px;
    }

    .payment-card .btn {
        width: 100%;
    }

    .payment-info ul {
        margin: 18px auto 0;
    }



    /* ------ FOOTER ------ */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-top,
    .footer-middle {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-nav {
        display: none;
    }

    .footer-feature {

        border: none;
        border-top: 1px solid rgba(255, 255, 255, .08);

        flex-direction: column;

        justify-content: center;
        align-items: center;

        text-align: center;

        padding: 22px 20px;

    }

    .footer-feature i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .footer-feature h4 {
        font-size: 18px;
    }

    .footer-feature p {
        font-size: 14px;
    }

    .footer-contact {

        border: none;

        display: flex;
        flex-direction: column;
        align-items: center;

        text-align: center;

        padding: 28px 20px;
    }

    .footer-contact h4 {
        margin-bottom: 18px;
    }

    .footer-contact p {

        justify-content: center;

        margin-bottom: 14px;
    }

    .footer-follow {

        border-top: 1px solid rgba(255, 255, 255, .08);

        text-align: center;

        padding: 28px 20px;

    }

    .footer-social {

        justify-content: center;

    }



    /* ------ WHATSAPP ----- */
    .whatsapp-float {
        right: 12px;
        bottom: 25px;

        padding: 8px 14px;

        gap: 10px;
    }

    .whatsapp-float img {
        width: 38px;
    }

    .whatsapp-float strong {
        font-size: 16px;
    }

    .whatsapp-float small {
        display: none;
    }

    .back-to-top {
        height: 46px;
        width: 46px;
        bottom: 95px;
        right: 19px;
    }



    /* ------ BACK TO TOP ----- */
    .back-to-top:hover {
        width: 46px;
        background: var(--white);
        color: var(--primary);
    }

    .back-to-top:hover i {
        left: 50%;
        transform: translateX(-50%);
    }

    .back-to-top:hover span {
        opacity: 0;
    }



    /* LIGHTBOX MOBILE */
    .lightbox-prev,
    .lightbox-next {
        width: 30px;
        height: 30px;

        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        width: 30px;
        height: 30px;

        top: 10px;
        right: 10px;

        font-size: 24px;
    }

    .lightbox-counter {
        bottom: 10px;

        padding: 4px 12px;

        min-width: 54px;
        height: 30px;

        font-size: 13px;
        font-weight: 700;

        border-width: 1.5px;
    }



    /* ------ COOKIES ------ */
    .cookie-banner {

        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
        width: auto;

    }

    .cookie-actions {
        gap: 14px;
        flex-direction: column;
    }

    .cookie-actions button {
        min-height: 54px;
        padding: 0 20px;
    }

    .cookies-layout {
        margin: 30px auto;
    }

    .cookies-content {
        padding: 30px 25px;
    }

    .cookies-content h1 {
        font-size: 2rem;
    }
}