/* === Modern surfaces / typography === */
body.collection-page {
    font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-optical-sizing: auto;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Softer, more "premium" canvas */
    background: radial-gradient(1200px 700px at 20% 0%, #ffffff 0%, #f6f7fa 45%, #f3f4f7 100%);
    color: #121316;
}

html.fonts-ready body.collection-page {
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* === Typographic emphasis helpers === */
.collection-page strong {
    font-weight: 900;
}
.collection-page .text-accent {
    color: var(--collection-accent2);
    font-weight: 800;
}
.collection-page .text-muted {
    color: rgba(18, 19, 22, 0.68);
}


.collection-page {
    --surface: #ffffff;
    --surface-2: #f5f6fa;
    --surface-3: #eef1f7;
    --stroke: rgba(14, 18, 24, 0.08);
    --stroke-weak: rgba(14, 18, 24, 0.06);
    --shadow-1: 0 14px 40px rgba(0,0,0,0.08);
    --shadow-2: 0 26px 80px rgba(0,0,0,0.16);
    --radius-lg: 22px;
    --radius-md: 18px;
    --copy-size: clamp(20px, 1.35vw, 23px);
    --copy-size-sm: clamp(17px, 1.15vw, 19px);
    --copy-line: 1.8;
}

.collection-page .content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 80px; /* fără padding-top ca hero-ul să înceapă imediat sub meniu */
    box-sizing: border-box;
}

.collection-section {
    margin-bottom: 64px;
}

@media (min-width: 1024px) {
    .collection-page .content-container {
        padding: 0 24px 120px;
    }
    .collection-section {
        margin-bottom: 80px;
    }
}

/* === HERO full-bleed cu parallax === */
.collection-hero {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    min-height: 80vh;
    padding: 120px clamp(24px, 11vw, 144px);
    overflow: hidden;
    color: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .collection-hero {
        min-height: 100vh;
    }
}

@media (max-width: 768px) {
    .collection-hero {
        padding: 96px 20px 96px;
        min-height: 75vh;
    }
}

.collection-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;   /* cheia: imaginea are întotdeauna 100% din înălțimea hero-ului */
    background-color: #000;       /* pentru eventualele margini laterale */
    will-change: transform;
    filter: brightness(1.08);
}

@media (max-width: 768px) {
    .collection-hero-bg {
        background-size: cover;
        background-position: center;
    }
}

.collection-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0 0, rgba(0,0,0,0.45), transparent 60%),
        linear-gradient(90deg, rgba(0,0,0,0.64) 0%, rgba(0,0,0,0.32) 48%, rgba(0,0,0,0.08) 100%);
}

.collection-hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.collection-hero.align-left .collection-hero-content {
    margin-right: auto;
}

.collection-hero.align-center .collection-hero-content {
    margin: 0 auto;
    text-align: center;
    align-items: center;
}

.collection-hero.align-right .collection-hero-content {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
}

.collection-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(10px);
}

.collection-title {
    font-size: clamp(46px, 6.2vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    font-weight: 900;
    margin: 6px 0 0;
}

.collection-subtitle {
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 600;
    opacity: 0.92;
    margin: 0;
    letter-spacing: -0.01em;
}

.collection-text {
    /* bigger + consistent body copy (requested) */
    font-size: var(--copy-size);
    line-height: var(--copy-line);
    max-width: 580px;
    opacity: 0.92;
    margin: 10px 0 0;
}

.collection-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* === Buttons (modern, contrast-safe) === */
.collection-page {
    --collection-accent: #2EC4D3;
    --collection-accent2: #27A9B6;
}

/* Base button */
.collection-page .collection-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 22px;
    min-height: 40px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;

    border: 1px solid transparent;
    background: transparent;

    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        transform 0.12s ease,
        box-shadow 0.20s ease,
        filter 0.20s ease;
    white-space: nowrap;
}

.collection-page .collection-btn:focus-visible {
    outline: 2px solid rgba(46, 196, 211, 0.85);
    outline-offset: 3px;
}

/* Ensure global link styles don't override button contrast */
.collection-page a.collection-btn {
    color: inherit;
}
.collection-page a.collection-btn.collection-btn-secondary,
.collection-page a.collection-btn.collection-btn-secondary:hover {
    color: inherit;
}
.collection-page a.collection-btn.collection-btn-primary,
.collection-page a.collection-btn.collection-btn-primary:hover {
    color: #071416;
}


/* Primary: accent gradient (stays visible on any background) */
.collection-page .collection-btn.collection-btn-primary {
    background: linear-gradient(135deg, var(--collection-accent2), var(--collection-accent));
    color: #071416;
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}

.collection-page .collection-btn.collection-btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.34), 0 0 0 1px rgba(46,196,211,0.35);
}

.collection-page .collection-btn.collection-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

/* Secondary (LIGHT context default): avoids “alb pe alb” */
.collection-page .collection-btn.collection-btn-secondary {
    background: rgba(0,0,0,0.04);
    color: #111111;
    border-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(14, 18, 24, 0.14);
}

.collection-page .collection-btn.collection-btn-secondary:hover {
    background: rgba(46,196,211,0.18);
    color: #071416;
    border-color: transparent;
    box-shadow: 0 14px 34px rgba(0,0,0,0.14), inset 0 0 0 1px rgba(46,196,211,0.60);
    transform: translateY(-1px);
}

.collection-page .collection-btn.collection-btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* Secondary (DARK contexts like hero / fullwidth): glassy + crisp */
.collection-hero .collection-btn.collection-btn-secondary,
.collection-fullwidth .collection-btn.collection-btn-secondary {
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,0.34);
    backdrop-filter: blur(12px);
}

.collection-hero .collection-btn.collection-btn-secondary:hover,
.collection-fullwidth .collection-btn.collection-btn-secondary:hover {
    background: rgba(46,196,211,0.22);
    color: #ffffff;
    border-color: rgba(46,196,211,0.70);
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.26);
}

/* Card look pentru split & product-line */
.collection-split,
.collection-product-line {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-1);
}
@media (min-width: 900px) {
    .collection-split,
    .collection-product-line {
        padding: 32px 32px;
    }
}

/* Split section layout */
.collection-split {
    display: grid;
    gap: 24px;
    align-items: center;
}

@media (min-width: 900px) {
    .collection-split {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 40px;
    }
    .collection-split.image-left {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }
}

.split-media img,
.split-media video,
.split-media iframe {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.split-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.split-title {
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0;
}

.split-text {
    font-size: var(--copy-size);
    line-height: var(--copy-line);
    margin: 0;
    color: #2f3137;
}

.split-bullets {
    margin: 10px 0 0;
    padding-left: 18px;
    font-size: var(--copy-size);
    line-height: var(--copy-line);
    color: rgba(18, 19, 22, 0.72);
}

.split-bullets li + li {
    margin-top: 4px;
}

.collection-link {
    font-size: 13px;
    text-decoration: none;
    color: #0066cc;
    border-bottom: 1px solid rgba(0,102,204,0.2);
    display: inline-block;
    margin-top: 8px;
    padding-bottom: 1px;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.collection-link:hover {
    border-color: #0066cc;
    color: #004999;
}

/* Mosaic */
.collection-mosaic {
    /* let the mosaic breathe on wide screens (requested) */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 24px;
}

.collection-mosaic .mosaic-header {
    margin-bottom: 24px;
}

.mosaic-title {
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}

.mosaic-subtitle {
    font-size: 18px;
    margin: 0;
    line-height: 1.6;
    color: rgba(18, 19, 22, 0.68);
    font-weight: 500;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    /* wider working area, still centered */
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.mosaic-item {
    position: relative;
    display: block;
    text-decoration: none;
    color: #ffffff;
    /* subtler rounding (requested) */
    border-radius: 22px;
    overflow: hidden;
    min-height: 330px;
    background: #000;
    box-shadow: 0 18px 52px rgba(0,0,0,0.18);
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.mosaic-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.05));
    pointer-events: none;
    z-index: 1;
}

.mosaic-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mosaic-image-wrapper img,
.mosaic-image-wrapper video,
.mosaic-image-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mosaic-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 72px rgba(0,0,0,0.26);
}

.mosaic-item:hover .mosaic-image-wrapper img,
.mosaic-item:hover .mosaic-image-wrapper video,
.mosaic-item:hover .mosaic-image-wrapper iframe {
    transform: scale(1.05);
}

.mosaic-body {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mosaic-label {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.mosaic-text {
    font-size: var(--copy-size);
    margin: 0;
    max-width: 360px;
    line-height: var(--copy-line);
    color: rgba(255,255,255,0.90);
}

.mosaic-cta {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .mosaic-body {
        padding: 20px 18px 18px;
    }

    .mosaic-label {
        font-size: 16px;
    }

    .mosaic-text {
        max-width: none;
    }
}
/* Audience / Who it's for */
.collection-audience .audience-header {
    margin-bottom: 24px;
}

.audience-title {
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}

.audience-subtitle {
    font-size: 18px;
    margin: 0;
    line-height: 1.6;
    color: rgba(18, 19, 22, 0.68);
    font-weight: 500;
}

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

.audience-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 18px 18px 20px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

.audience-label {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.005em;
}

.audience-text {
    font-size: var(--copy-size);
    margin: 0;
    line-height: var(--copy-line);
    color: rgba(18, 19, 22, 0.70);
}

@media (max-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }
}

/* Finishes & customisation */
.collection-finishes .collection-finishes-inner {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-1);
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
}

.finishes-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

.finishes-body {
    font-size: var(--copy-size);
    line-height: var(--copy-line);
    margin: 0 0 12px;
    color: rgba(18, 19, 22, 0.78);
}

.finishes-bullets {
    margin: 0;
    padding-left: 18px;
    font-size: var(--copy-size);
    line-height: var(--copy-line);
    color: rgba(18, 19, 22, 0.72);
}

.finishes-bullets li {
    margin-bottom: 4px;
}

.finishes-swatches {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: center;
}

.finishes-swatch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.finishes-swatch-dot {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ccc, #eee);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}

.finishes-swatch-label {
    color: #222;
}

@media (max-width: 768px) {
    .collection-finishes .collection-finishes-inner {
        grid-template-columns: 1fr;
        padding: 22px 18px;
    }

    .finishes-swatches {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .finishes-swatch {
        min-width: 46%;
    }
}

/* Technical features / arguments */
.collection-features .features-header {
    margin-bottom: 22px;
}

.features-title {
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}

.features-subtitle {
    font-size: 18px;
    margin: 0;
    line-height: 1.6;
    color: rgba(18, 19, 22, 0.68);
    font-weight: 500;
}

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

.feature-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 18px 18px 20px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

.feature-label {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.005em;
}

.feature-text {
    font-size: var(--copy-size);
    margin: 0;
    line-height: var(--copy-line);
    color: rgba(18, 19, 22, 0.70);
}

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

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Resources / helpful links */
.collection-resources .resources-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px 22px 26px;
    box-shadow: var(--shadow-1);
}

.resources-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

.resources-text {
    font-size: var(--copy-size);
    line-height: var(--copy-line);
    margin: 0 0 12px;
    color: rgba(18, 19, 22, 0.78);
}

.resources-links {
    margin: 0;
    padding-left: 16px;
    font-size: 15px;
    line-height: 1.9;
}

.resources-links li {
    margin-bottom: 4px;
}

.resources-link {
    font-weight: 500;
}

/* Products grid – carduri */
.collection-products .products-header {
    margin-bottom: 22px;
}

.products-title {
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}

.products-subtitle {
    font-size: 18px;
    margin: 0;
    line-height: 1.6;
    color: rgba(18, 19, 22, 0.68);
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Products as carousel (for >4 items) */
.collection-products.is-carousel {
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 24px 40px;
}

.collection-products.is-carousel .products-header {
    text-align: center;
}

/* In carousel mode, cards live in .carousel-track; we just control card width */
.product-carousel-card {
    /* ~10% larger cards (requested) */
    flex: 0 0 55%;
    max-width: 270px;
}

/* === Product carousel: full-bleed image + text overlay (4:3) === */
.collection-products.is-carousel .product-card {
    position: relative;
    display: block;
    /* square cards (requested) */
    aspect-ratio: 1 / 1;
    min-height: unset;
    transform: translateZ(0);
}

.collection-products.is-carousel .product-image-wrapper {
    position: absolute;
    inset: 0;
    height: 100%;
    background: #000;
}

.collection-products.is-carousel .product-image-wrapper img,
.collection-products.is-carousel .product-image-wrapper video,
.collection-products.is-carousel .product-image-wrapper iframe,
.collection-products.is-carousel .product-image-wrapper .collection-slider,
.collection-products.is-carousel .product-image-wrapper .collection-slider-track,
.collection-products.is-carousel .product-image-wrapper .collection-slider-item,
.collection-products.is-carousel .product-image-wrapper .collection-slider-item > * {
    width: 100%;
    height: 100%;
}

.collection-products.is-carousel .product-body,
.collection-products.is-carousel .product-footer {
    display: none;
}

.product-overlay {
    position: absolute;
    inset: 0;
    padding: 18px 18px 16px;
    /* keep name pinned; details appear without shifting layout */
    display: block;
    color: rgba(255,255,255,0.96);
}

.product-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 320px at 30% 0%, rgba(0,0,0,0.25), transparent 55%),
        linear-gradient(to top, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.28) 46%, rgba(0,0,0,0.06) 100%);
    opacity: 0.92;
    transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.product-overlay-head, .product-overlay-details {
    position: relative;
    z-index: 1;
}

.product-overlay-head {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(0,0,0,0.16);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


.product-overlay-name {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0;
    text-shadow: 0 10px 24px rgba(0,0,0,0.52);
}

.product-overlay-subtitle {
    margin: 5px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    text-shadow: 0 10px 24px rgba(0,0,0,0.45);
}
.product-overlay-details {
    /* sits above the name block; reveal via fade + blur (no layout shift) */
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 92px; /* keeps it above the head without pushing it */
    opacity: 0;
    transform: translateY(8px);
    filter: blur(10px);
    pointer-events: none;
    will-change: opacity, transform, filter;
    transition:
        opacity 360ms ease,
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-overlay-text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,0.9);
}

.product-overlay-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.24);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), background 260ms ease, border-color 260ms ease;
}

.product-overlay-cta:hover {
    transform: translateY(-1px);
    background: rgba(46,196,211,0.22);
    border-color: rgba(46,196,211,0.7);
}

/* Hover reveal (desktop) */
@media (hover: hover) and (pointer: fine) {
    /* subtle zoom on hover (requested), works for img/video/slider */
    .collection-products.is-carousel .product-image-wrapper > img,
    .collection-products.is-carousel .product-image-wrapper > video,
    .collection-products.is-carousel .product-image-wrapper > iframe,
    .collection-products.is-carousel .product-image-wrapper > .collection-slider {
        transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
    }
    .collection-products.is-carousel .product-card:hover .product-image-wrapper > img,
    .collection-products.is-carousel .product-card:hover .product-image-wrapper > video,
    .collection-products.is-carousel .product-card:hover .product-image-wrapper > iframe,
    .collection-products.is-carousel .product-card:hover .product-image-wrapper > .collection-slider {
        transform: scale(1.04);
    }

    .collection-products.is-carousel .product-card:hover .product-overlay::before {
        opacity: 0.98;
    }

    .collection-products.is-carousel .product-card:hover .product-overlay-details {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
        pointer-events: auto;
    }
}

/* Touch devices: no hover → keep details visible */
@media (hover: none) {
    .product-overlay-details {
        opacity: 1;
        transform: none;
        filter: none;
        pointer-events: auto;
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .collection-products.is-carousel .product-image-wrapper > img,
    .collection-products.is-carousel .product-image-wrapper > video,
    .collection-products.is-carousel .product-image-wrapper > iframe,
    .collection-products.is-carousel .product-image-wrapper > .collection-slider,
    .product-overlay::before,
    .product-overlay-head,
    .product-overlay-details {
        transition: none !important;
    }
}


@media (min-width: 720px) {
    .product-carousel-card {
        /* ~10% larger on tablet */
        flex: 0 0 calc(32% - 12px);
        max-width: none;
    }
}

@media (min-width: 1100px) {
    .product-carousel-card {
        /* ~10% larger on wide */
        flex: 0 0 calc(21.5% - 12px);
    }
}

@media (min-width: 720px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: none;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: var(--shadow-1);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--surface-2);
    height: 220px;
}

@media (max-width: 720px) {
    .product-image-wrapper {
        height: 190px;
    }
}

.product-image-wrapper img,
.product-image-wrapper video,
.product-image-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-body {
    padding: 16px 18px 12px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-name {
    font-size: 17px;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.01em;
}

.product-subtitle {
    font-size: 13.5px;
    font-weight: 500;
    margin: 0;
    color: rgba(18, 19, 22, 0.60);
}

.product-text {
    font-size: var(--copy-size);
    margin: 8px 0 0;
    line-height: var(--copy-line);
    color: rgba(18, 19, 22, 0.72);
}

.product-footer {
    padding: 0 18px 14px 18px;
}

.product-link {
    font-size: 14.5px;
}

/* Product line layout */
.collection-product-line {
    display: grid;
    gap: 24px;
    align-items: center;
}

@media (min-width: 900px) {
    .collection-product-line {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 40px;
    }
    .collection-product-line.image-right {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }
}

.product-line-media img,
.product-line-media video,
.product-line-media iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-line-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-line-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #f2f2f7;
    border: 1px solid rgba(0,0,0,0.06);
}

.product-line-name {
    font-size: 24px;
    margin: 0;
}

.product-line-subtitle {
    font-size: 14px;
    margin: 0;
    color: #666;
}

.product-line-text {
    font-size: 15.5px;
    line-height: 1.7;
    margin: 4px 0 0;
    color: #444;
}

.product-line-bullets {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.7;
}

.product-line-bullets li + li {
    margin-top: 4px;
}

.product-line-cta {
    margin-top: 12px;
}

/* Fullwidth banner */
.collection-fullwidth {
    position: relative;
    width: 100%;
    min-height: 320px;
    border-radius: 32px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 22px 60px rgba(0,0,0,0.18);
    background: #000;
}

.fullwidth-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.fullwidth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.2) 100%);
}

.fullwidth-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    width: 100%;
    max-width: 880px; /* mai lat, să pară fullwidth în container */
    text-align: center;
}

.collection-fullwidth.align-left .fullwidth-content {
    text-align: left;
    margin-left: min(6vw, 64px);
}

.collection-fullwidth.align-right .fullwidth-content {
    text-align: right;
    margin-right: min(6vw, 64px);
    margin-left: auto;
}

.fullwidth-text {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 14px;
}

/* Animatie reveal */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease-out, transform 0.55s ease-out;
}

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

/* Hero content - animatie un pic mai lentă și cu întârziere mică la intrare */
.collection-hero-content.reveal {
    transform: translateY(20px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
    transition-delay: 0.12s;
}

.collection-hero-content.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Slider */
.collection-slider {
    position: relative;
    overflow: hidden;
}

.collection-slider-track {
    position: relative;
}

.collection-slider-item {
    display: none;
}

.collection-slider-item.is-active {
    display: block;
}

.collection-slider img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.collection-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: background-color 0.16s ease, transform 0.16s ease;
}

.collection-slider-nav:hover {
    background: rgba(0,0,0,0.7);
    transform: translateY(-50%) scale(1.06);
}

.collection-slider-prev {
    left: 12px;
}

.collection-slider-next {
    right: 12px;
}

.collection-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}

.collection-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.collection-slider-dot.is-active {
    background: #fff;
    transform: scale(1.25);
}

/* Popup întrebare */
.inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.inquiry-modal.is-open {
    display: block;
}

.inquiry-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.inquiry-modal-dialog {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    padding: 26px 26px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.inquiry-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: var(--surface-2);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inquiry-modal-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

.inquiry-modal-intro {
    font-size: 15px;
    margin: 0 0 14px;
    line-height: 1.65;
    color: rgba(18, 19, 22, 0.68);
}

.inquiry-form-row {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inquiry-form-row label {
    font-size: 12.5px;
    color: rgba(18, 19, 22, 0.72);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.inquiry-form-row input,
.inquiry-form-row textarea {
    font-size: 14.5px;
    padding: 11px 12px;
    border-radius: 12px;
    border: none;
    background: var(--surface-2);
    box-shadow: inset 0 0 0 1px var(--stroke);
    outline: none;
    box-sizing: border-box;
    transition: box-shadow 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.inquiry-form-row input::placeholder,
.inquiry-form-row textarea::placeholder {
    color: rgba(18, 19, 22, 0.42);
}

.inquiry-form-row input:focus,
.inquiry-form-row textarea:focus {
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(46, 196, 211, 0.18),
        inset 0 0 0 1px rgba(46, 196, 211, 0.78);
}

.inquiry-form-row textarea {
    min-height: 90px;
    resize: vertical;
}

.inquiry-modal-actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.inquiry-modal-status {
    font-size: 12px;
    min-height: 16px;
    margin-top: 4px;
}

.inquiry-error {
    color: #b00020;
}

.inquiry-success {
    color: #137333;
}

.inquiry-modal .collection-btn-primary {
    padding-inline: 18px;
}

@media (max-width: 480px) {
    .collection-fullwidth {
        border-radius: 18px;
    }
    .inquiry-modal-dialog {
        max-width: 94vw;
        border-radius: 18px;
        padding-inline: 18px;
    }
}

/* Video placeholder & play button */
.video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

/* Flat, minimal play button */
.video-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.18);
    background: rgba(255,255,255,0.92);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.video-play-button::before {
    content: "";
    display: block;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #111111;
    margin-left: 2px;
}

.video-play-button:hover {
    background: rgba(255,255,255,0.98);
    border-color: rgba(0,0,0,0.26);
}

.video-play-button.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Stable media containers: same size before and after play */
.split-media,
.product-line-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

/* Slider media (images + videos) fills slide area */
.collection-slider img,
.collection-slider video,
.collection-slider iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* === Standalone inquiry page (full page form, no modal) === */
.inquiry-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 64px;
    box-sizing: border-box;
}

.inquiry-page-card {
    max-width: 640px;
    width: 100%;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    padding: 28px 24px 22px;
    box-sizing: border-box;
}

.inquiry-page-title {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
}

.inquiry-page-intro {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 20px;
    color: rgba(18, 19, 22, 0.72);
}

.inquiry-page .inquiry-form-row label {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .inquiry-page-card {
        border-radius: 12px;
        padding: 22px 18px 18px;
        box-shadow: 0 16px 40px rgba(0,0,0,0.32);
    }

    .inquiry-page-title {
        font-size: 20px;
    }
}

/* Ensure video/iframe inside video-placeholder fills container */
.video-placeholder video,
.video-placeholder iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

/* Make sliders fill the media wrappers so play button is centered */
.product-image-wrapper .collection-slider,
.product-image-wrapper .collection-slider-track,
.product-image-wrapper .collection-slider-item,
.product-image-wrapper .collection-slider-item > * {
    height: 100%;
}

.product-line-media {
    position: relative;
    overflow: hidden;
    background: #f4f4f6;
    border-radius: 18px;
    min-height: 260px;
}

@media (min-width: 900px) {
    .product-line-media {
        min-height: 320px;
    }
}

.product-line-media .collection-slider,
.product-line-media .collection-slider-track,
.product-line-media .collection-slider-item,
.product-line-media .collection-slider-item > * {
    height: 100%;
}


/* === Horizontal carousel (multi-card) === */
.collection-carousel {
    position: relative;
    /* full-viewport width */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 24px 40px;
}

.collection-carousel .carousel-header {
    text-align: center;
    margin-bottom: 22px;
}

.collection-carousel .carousel-title {
    font-size: clamp(24px, 2.3vw, 32px);
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}

.collection-carousel .carousel-subtitle {
    font-size: 17px;
    margin: 0;
    line-height: 1.6;
    color: rgba(18, 19, 22, 0.68);
    font-weight: 500;
}

.carousel-track-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin: 0 -8px;
    /* ascundem bara de scroll, folosim doar săgeți + puncte */
    scrollbar-width: none; /* Firefox */
}
.carousel-track-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-track {
    display: flex;
    gap: 14px;
    padding: 8px;
}

.carousel-card {
    position: relative;
    flex: 0 0 78%;
    max-width: 320px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 0;
}

.carousel-card:hover {
    transform: none;
    box-shadow: 0 24px 60px rgba(0,0,0,0.24);
}

@media (min-width: 720px) {
    .carousel-card {
        flex: 0 0 calc(26.666% - 12px);
        max-width: none;
    }
}

@media (min-width: 1100px) {
    .carousel-card {
        flex: 0 0 calc(25% - 12px);
    }
}

.carousel-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #000;
}

.carousel-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.carousel-card-media video,
.carousel-card-media iframe {
    width: 100%;
    height: 100%;
    display: block;
    /* iframe ignores object-fit, but keeps layout consistent */
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.carousel-card-media video,
.carousel-card-media iframe,
.carousel-card-media .collection-slider {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .carousel-card:hover .carousel-card-media img,
    .carousel-card:hover .carousel-card-media video,
    .carousel-card:hover .carousel-card-media iframe,
    .carousel-card:hover .carousel-card-media .collection-slider {
        transform: scale(1.05);
    }
}


.carousel-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #000;
    color: #fff;
    padding: 10px 14px;
    text-align: center;
}

.carousel-card-label {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* text suplimentar (item.text în config) */
.carousel-card-text {
    display: block;
    margin: 6px 0 0;
    font-size: var(--copy-size-sm);
    line-height: 1.55;
    color: rgba(255,255,255,0.92);
}

/* Link deasupra întregului card (dacă există URL) */
.carousel-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Butoane nav stânga / dreapta */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.55);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(0,0,0,0.3);
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.carousel-nav:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.06);
}

.carousel-prev {
    left: 32px;
}

.carousel-next {
    right: 32px;
}

/* Ascunde butoanele pe ecrane foarte mici (scroll cu degetul) */
@media (max-width: 640px) {
    .carousel-nav {
        display: none;
    }
}


.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
}

.carousel-dot.is-active {
    background: rgba(0,0,0,0.7);
}

/* =============================
   Video Wide section (text above + big video + text after)
   ============================= */

.collection-video-wide {
    padding-top: 10px;
}

.video-wide-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    max-width: 1160px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .video-wide-card {
        padding: 32px 32px;
    }
}

.video-wide-header {
    max-width: 860px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-wide-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(18, 19, 22, 0.62);
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(18, 19, 22, 0.04);
    box-shadow: inset 0 0 0 1px rgba(18, 19, 22, 0.06);
}

.video-wide-title {
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0;
}

.video-wide-text {
    font-size: var(--copy-size);
    line-height: var(--copy-line);
    margin: 0;
    color: rgba(18, 19, 22, 0.78);
}

.video-wide-media {
    margin-top: 18px;
    border-radius: 18px;
    overflow: hidden;
    /* keeps the video big and consistent */
    aspect-ratio: 16 / 9;
    background: rgba(0,0,0,0.08);
}

.video-wide-media .video-placeholder,
.video-wide-media video,
.video-wide-media iframe {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 18px;
    object-fit: cover;
}

.video-wide-after {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Keep copy blocks readable, but allow galleries to go full width inside the card */
.video-wide-after-title,
.video-wide-after-text,
.video-wide-bullets,
.video-wide-after .secret-callout {
    max-width: 900px;
}

.video-wide-gallery {
    width: 100%;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 720px) {
    .video-wide-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.video-wide-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,0.08);
    aspect-ratio: 16 / 9;
}

.video-wide-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-wide-after-title {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0;
}

.video-wide-after-text {
    font-size: var(--copy-size);
    line-height: var(--copy-line);
    margin: 0;
    color: rgba(18, 19, 22, 0.78);
}

.video-wide-bullets {
    margin: 6px 0 0;
    padding-left: 18px;
    font-size: var(--copy-size);
    line-height: calc(var(--copy-line) + 0.1);
    color: rgba(18, 19, 22, 0.78);
}

.secret-callout {
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(46,196,211,0.08);
    border: 1px solid rgba(46,196,211,0.22);
}

.secret-callout-title {
    font-size: 17px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.65);
    margin-bottom: 6px;
    font-weight: 900;
}

.secret-callout-text {
    margin: 0;
    font-size: var(--copy-size-sm);
    line-height: 1.7;
    color: #222;
}


/* Products carousel: whole card is the link */
.collection-products.is-carousel a.product-card {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.collection-products.is-carousel a.product-card:focus-visible {
    outline: 3px solid rgba(46, 196, 211, 0.45);
    outline-offset: 4px;
}
.collection-products.is-carousel .product-overlay-cta {
    pointer-events: none;
}
