/*
Theme Name: Martin's Leather
Theme URI: https://martinsleather.com
Author: Antigravity
Description: Rzemieślniczy motyw WordPress premium.
Version: 1.6.0
Text Domain: martins-leather
*/

/* =====================================================
   FONTS
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Lato:wght@300;400;700&family=Great+Vibes&display=swap');

@font-face {
    font-family: 'Bancher';
    src: url('./fonts/Bancher.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
    --dark-base:       #181513;
    --dark-surface:    #221e1b;
    --light-parchment: #EFEBE0;
    --text-light:      #D5CFC4;
    --accent-gold:     #C29B57;
    --accent-hover:    #D8B778;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--dark-base);
    color: var(--text-light);
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 400; color: #fff; line-height: 1.2; }

/* =====================================================
   NOISE OVERLAY (Removed)
   ===================================================== */
.noise-bg { display: none; }

/* =====================================================
   TYPOGRAPHY HELPERS
   ===================================================== */
.script-text {
    font-family: 'Great Vibes', cursive;
    color: var(--accent-gold);
    font-size: 2.8rem;
    line-height: 1;
    font-weight: normal;
    display: block;
    margin-bottom: 0.5rem;
}
.ml-hero__content .script-text {
    font-family: 'Bancher', cursive;
}

/* =====================================================
   CONTENT TYPOGRAPHY (Edytor Kodu — globalne style)
   ===================================================== */
.ml-content p { margin-bottom: 1.2rem; line-height: 1.8; font-size: 1.05rem; }
.ml-content p:last-child { margin-bottom: 0; }
.ml-content strong { color: #fff; font-weight: 700; }
.ml-content h2 { font-size: 2rem; margin: 2rem 0 1rem; }
.ml-content h3 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; color: var(--accent-gold); font-family: 'Lato', sans-serif; font-weight: 700; }
.ml-content ul, .ml-content ol { margin: 1rem 0 1.5rem 1.5rem; list-style: disc; }
.ml-content ol { list-style: decimal; }
.ml-content li { margin-bottom: 0.6rem; line-height: 1.7; }
.ml-content a { color: var(--accent-gold); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.ml-content a:hover { border-bottom-color: var(--accent-gold); }

/* Wariant jasne tło */
.bg-parchment .ml-content p { color: #4a443e; }
.bg-parchment .ml-content strong { color: var(--dark-base); }
.bg-parchment .ml-content h2,
.bg-parchment .ml-content h3 { color: var(--dark-base); }

/* =====================================================
   NAVBAR
   ===================================================== */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 1.5rem 5vw;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(24, 21, 19, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(213, 207, 196, 0.06);
}
.logo {
    display: flex;
    align-items: center;
}
.text-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; letter-spacing: 4px;
    color: var(--text-light); text-transform: uppercase;
    text-decoration: none;
}
.custom-logo {
    max-height: 45px; /* Możesz kontrolować wielkość logo zdejmując domyślne parametry */
    width: auto;
    object-fit: contain;
}
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a, .nav-links li a {
    color: var(--text-light); font-size: 0.8rem;
    letter-spacing: 2.5px; text-transform: uppercase;
    transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links li a:hover { color: var(--accent-gold); }
.nav-links li { display: inline-block; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
    font-weight: 700; border-radius: 2px; border: 1px solid transparent;
    cursor: pointer; transition: all 0.4s ease; text-align: center;
    font-family: 'Lato', sans-serif;
}
.btn-gold         { background: var(--accent-gold);  color: var(--dark-base); border-color: var(--accent-gold); }
.btn-gold:hover   { background: transparent; color: var(--accent-gold); }
.btn-outline-gold { background: transparent; color: var(--accent-gold); border-color: var(--accent-gold); }
.btn-outline-gold:hover { background: var(--accent-gold); color: var(--dark-base); }
.btn-outline-dark { background: transparent; color: var(--dark-base); border-color: var(--dark-base); }
.btn-outline-dark:hover { background: var(--dark-base); color: var(--light-parchment); }

/* =====================================================
   SECTION GLOBALS
   ===================================================== */
.ml-section { padding: 8rem 5vw; }
section { padding: 8rem 5vw; }

.section-header { text-align: center; margin-bottom: 5rem; }
.section-header .script-text { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header h2 { font-size: 3rem; margin-bottom: 1rem; color: #fff; }
.section-header p  { color: var(--text-light); max-width: 500px; margin: 0 auto; opacity: 0.75; }

/* =====================================================
   BACKGROUNDS
   ===================================================== */
.bg-dark     { background-color: var(--dark-base); }
.bg-surface  { background-color: var(--dark-surface); }
.bg-parchment {
    background-color: var(--light-parchment);
    color: var(--dark-base);
}
.bg-parchment h1,
.bg-parchment h2,
.bg-parchment h3 { color: var(--dark-base); }
.bg-parchment p  { color: #4a443e; }
.bg-parchment .script-text { color: var(--accent-gold); }

/* =====================================================
   PAGE HEADER (blok ML - Nagłówek Podstrony)
   ===================================================== */
.ml-page-header {
    padding: 10rem 5vw 5rem;
    text-align: center;
    border-bottom: 1px solid rgba(213, 207, 196, 0.06);
}
.ml-page-header h1 { font-size: 4rem; color: #fff; margin-bottom: 1rem; }
.ml-page-header p  { max-width: 600px; margin: 0 auto; opacity: 0.8; }

/* =====================================================
   HERO (blok ML - Nagłówek Hero)
   ===================================================== */
.ml-hero {
    min-height: 75vh; display: flex; align-items: center;
    position: relative; padding: 0 5vw; overflow: hidden;
    background-color: var(--dark-base);
}
.ml-hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center top;
    opacity: 0.7;
}
.ml-hero__overlay {
    position: absolute; inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(24,21,19,0.4) 0%, rgba(24,21,19,0.85) 85%),
        linear-gradient(to bottom, rgba(24,21,19,0) 65%, rgba(24,21,19,1) 100%);
}
.ml-hero__content {
    position: relative; z-index: 2;
    max-width: 680px; margin-top: 4rem;
}
.ml-hero__content h1 {
    font-size: 4.8rem; line-height: 1.05;
    margin-bottom: 1.5rem; color: #fff;
}
.ml-hero__desc {
    font-size: 1.1rem; opacity: 0.8;
    margin-bottom: 3rem; max-width: 460px; font-weight: 300;
}
.ml-hero__cta {
    display: flex; gap: 1rem; flex-wrap: wrap;
}

/* =====================================================
   SPLIT SECTION (blok ML - Media i Tekst)
   ===================================================== */
.ml-split {
    display: flex; align-items: center;
    gap: 6rem; max-width: 1200px; margin: 0 auto; flex-wrap: wrap;
}
.ml-split--reverse { flex-direction: row-reverse; }
.ml-split__img { flex: 1 1 320px; }
.ml-split__img img {
    width: 100%; height: 520px; object-fit: cover;
    border: 8px solid var(--light-parchment);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    filter: sepia(20%) brightness(0.95);
}
.ml-split__content { flex: 1 1 320px; }
.ml-split__content h2 { font-size: 3rem; margin-bottom: 1.5rem; }
.ml-split__content p  { font-size: 1.05rem; margin-bottom: 1.5rem; line-height: 1.8; }

/* =====================================================
   FEATURES (blok ML - 3 Cechy)
   ===================================================== */
.ml-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 4rem; text-align: center;
    max-width: 1100px; margin: 0 auto;
}
.ml-feature__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 80px; height: 80px; border-radius: 50%;
    border: 1px dashed var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(194,155,87,0.08);
    margin-bottom: 1.5rem;
}
.ml-feature__icon img {
    width: 40px; height: 40px; object-fit: contain;
}
.bg-parchment .ml-feature__icon { color: var(--dark-base); }
.ml-features h3 { font-size: 1.4rem; margin-bottom: 0.75rem; letter-spacing: 1px; }

/* =====================================================
   PRODUCTS GRID (blok ML - Portfolio)
   ===================================================== */
.ml-products { max-width: 1300px; margin: 0 auto; }
.ml-products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.ml-product-card {
    background: var(--dark-surface); padding: 1.5rem;
    border: 1px solid transparent; flex: 1 1 300px; max-width: 380px;
    transition: all 0.4s ease; display: block; color: inherit;
}
.ml-product-card:hover { transform: translateY(-5px); border-color: rgba(194,155,87,0.4); }
.ml-product-card img {
    width: 100%; height: 360px; object-fit: cover;
    margin-bottom: 1.5rem;
    filter: sepia(30%) brightness(0.9) contrast(1.1);
    transition: filter 0.5s ease;
}
.ml-product-card:hover img { filter: sepia(0%) brightness(1); }
.ml-product-info  { text-align: center; }
.ml-product-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: #fff; }
.ml-product-price   { color: var(--accent-gold); font-size: 0.95rem; letter-spacing: 1px; font-weight: 700; }
.ml-product-badge {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    border: 1px solid rgba(194,155,87,0.3);
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.75rem;
    border-radius: 2px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}
.ml-products-cta    { text-align: center; margin-top: 4rem; }

/* =====================================================
   SWATCHES PREMIUM CAROUSEL (blok ML - Próbniki Skór)
   ===================================================== */
.ml-swatches-wrapper {
    position: relative;
    max-width: 1400px; /* Szeroki kontener by widzieć krawędzie innych kart */
    margin: 0 auto;
    padding: 0 4rem; /* Miejsce na kółka nawigacyjne */
}

.ml-swatches-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 2rem;
    scrollbar-width: none; /* Firefox */
}
.ml-swatches-carousel::-webkit-scrollbar { display: none; } /* Safari/Chrome */

.ml-swatch { 
    flex: 0 0 340px; /* Duże, czytelne karty */
    scroll-snap-align: center;
    background: var(--dark-surface); 
    border: 1px solid rgba(213,207,196,0.08); 
    padding: 1.8rem; 
    text-align: center; 
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.5s ease, opacity 0.5s ease, border-color 0.3s ease;
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* Klasa dodawana przez JS dla kart opuszczających centrum */
.ml-swatch.is-blurred {
    filter: blur(5px) brightness(0.6);
    opacity: 0.4;
    transform: scale(0.9);
}

.ml-swatch:hover:not(.is-blurred) { 
    border-color: rgba(194,155,87,0.4); 
    transform: translateY(-5px); 
}

.ml-swatch img { width: 100%; height: 220px; object-fit: cover; margin-bottom: 1.5rem; filter: sepia(10%); border-radius: 4px; }
.ml-swatch h4 { font-family: 'Lato', sans-serif; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); }
.ml-swatch__desc { font-size: 0.9rem; line-height: 1.6; color: var(--text-light); opacity: 0.8; margin-top: 1rem; text-align: left; }
.ml-swatch-btn { margin-top: 1.5rem; width: 100%; border-width: 1px; padding: 0.6rem 0; font-size: 0.8rem; text-transform: uppercase; font-family: 'Lato', sans-serif; letter-spacing: 1px; display: inline-block; }

.ml-slider-arrow {
    position: absolute;
    top: calc(50% - 1.5rem);
    transform: translateY(-50%);
    background: var(--dark-surface);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.ml-slider-arrow:hover { background: var(--accent-gold); color: var(--dark-base); transform: translateY(-50%) scale(1.1); }
.ml-slider-arrow.prev { left: 1rem; }
.ml-slider-arrow.next { right: 1rem; }

/* =====================================================
   GALLERY (blok ML - Galeria)
   ===================================================== */
/* Style dla galerii zostały przeniesione bezpośrednio do bloku HTML, 
   aby zapewnić pełnoprawny widok z karuzelą i IntersectionObserver */

/* =====================================================
   FAQ (blok ML - FAQ)
   ===================================================== */
.ml-faq-list { max-width: 780px; margin: 0 auto; }
.ml-faq-item {
    border-bottom: 1px solid rgba(213,207,196,0.1);
    padding: 2rem 0;
}
.ml-faq-item h3 {
    font-size: 1.1rem; color: #fff;
    margin-bottom: 1rem; font-family: 'Lato', sans-serif; font-weight: 700;
}
.ml-faq-item p { opacity: 0.8; }

/* =====================================================
   CONTACT BOX (blok ML - Kontakt)
   ===================================================== */
.ml-contact-box {
    background: var(--dark-surface);
    border: 1px solid rgba(194,155,87,0.25);
    padding: 3rem; max-width: 640px; margin: 0 auto;
}
.ml-contact-box h2 { font-size: 2.2rem; margin-bottom: 2rem; }
.ml-field { margin-bottom: 1.5rem; }
.ml-label {
    display: block; margin-bottom: 0.5rem;
    font-size: 0.78rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--accent-gold);
}
.ml-input, .ml-textarea {
    width: 100%; padding: 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(213,207,196,0.15);
    color: #fff; font-family: 'Lato', sans-serif; font-size: 1rem;
    transition: border-color 0.3s ease;
}
.ml-input:focus, .ml-textarea:focus { outline: none; border-color: var(--accent-gold); }
.ml-textarea { resize: vertical; min-height: 140px; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
    padding: 4rem 5vw;
    border-top: 1px solid rgba(213,207,196,0.06);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(213,207,196,0.45);
}
footer .logo { margin-bottom: 1rem; color: var(--text-light); display: inline-block; }

/* =====================================================
   BESPOKE CTA (blok ML - Bespoke CTA)
   ===================================================== */
.ml-bespoke-cta { background: var(--dark-base); text-align: center; }
.ml-bespoke-cta__inner { max-width: 700px; margin: 0 auto; padding: 1rem 0; }
.ml-bespoke-cta h2 { font-size: 2.8rem; margin-bottom: 1.5rem; color: #fff; }
.ml-bespoke-cta__body {
    font-size: 1.1rem; line-height: 1.8;
    opacity: 0.8; margin-bottom: 2.5rem; color: var(--text-light);
}
.ml-bespoke-cta--dark { background: #0e0c0a; }

/* =====================================================
   REVIEWS / OPINIE (blok ML - Opinie) — centered premium
   ===================================================== */
.ml-reviews-section {
    background: #0e0c0a;
    padding: 8rem 5vw;
}
.ml-reviews-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* --- header: nagłówek i agregat --- */
.ml-reviews-header {
    margin-bottom: 4rem;
}
.ml-reviews-title {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
}
.ml-reviews-aggregate {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.ml-reviews-aggregate .stars {
    font-size: 1.4rem;
    color: var(--accent-gold);
    letter-spacing: 6px;
}
.ml-reviews-aggregate .score {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--accent-gold);
    line-height: 1;
    margin: 0.5rem 0;
}
.ml-reviews-aggregate .count {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(213,207,196,0.6);
}

/* --- wycentrowany układ siatki --- */
.ml-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .ml-reviews-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
}

@media (min-width: 1024px) {
    .ml-reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.ml-review-card {
    background: rgba(213,207,196,0.02);
    border: 1px solid rgba(194,155,87,0.15);
    padding: 2.2rem 1.8rem;
    position: relative;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    text-align: center;
    border-radius: 4px;
}
.ml-review-card:hover {
    border-color: rgba(194,155,87,0.4);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.r-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: rgba(213,207,196,0.95);
    margin: 0 0 1.5rem;
    position: relative;
}

.r-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(194,155,87,0.12);
}
.r-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
}
.r-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    opacity: 0.8;
}

/* --- przycisk akcji --- */
.ml-reviews-action {
    display: flex;
    justify-content: center;
    margin-top: 4.5rem;
}

/* --- WSPARCIE DLA JASNEGO TŁA (bg-parchment) --- */
.bg-parchment .ml-reviews-section { background: transparent; }
.bg-parchment .ml-reviews-title { color: var(--dark-base); }
.bg-parchment .ml-reviews-aggregate .count { color: var(--dark-base); opacity: 0.6; }
.bg-parchment .ml-review-card { 
    background: transparent;
    border-color: rgba(24, 21, 19, 0.15); 
}
.bg-parchment .ml-review-card:hover { border-color: rgba(24, 21, 19, 0.45); }
.bg-parchment .r-text { color: var(--dark-surface); }
.bg-parchment .r-author { border-color: rgba(24, 21, 19, 0.1); }


/* =====================================================
   ML - ANATOMIA PRODUKTU (BLOK 12)
   ===================================================== */
.ml-anatomy {
    padding: 7rem 5vw;
    text-align: center;
}
.ml-anatomy__header {
    margin-bottom: 3.5rem;
}
.ml-anatomy__sub {
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}
.ml-anatomy__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #fff;
    line-height: 1.15;
}
.ml-anatomy__stage {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: visible;
    display: block;
    font-size: 0;    /* eliminuje gap pod img spowodowany line-height */
    line-height: 0;
}
.ml-anatomy__photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    filter: brightness(0.92);
    user-select: none;
}

/* --- Pinezki --- */
.ml-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}
.ml-pin__ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(194,155,87,0.45);
    transform: translate(-50%, -50%);
    transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
    animation: ml-pin-pulse 2.5s ease-in-out infinite;
}
.ml-pin__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(194,155,87,0.7);
    transition: all 0.3s ease;
    position: relative; z-index: 2;
}
.ml-pin:hover .ml-pin__ring,
.ml-pin.is-active .ml-pin__ring {
    width: 46px; height: 46px;
    border-color: var(--accent-gold);
    background: rgba(194,155,87,0.1);
    animation: none;
}
.ml-pin:hover .ml-pin__dot,
.ml-pin.is-active .ml-pin__dot {
    background: var(--accent-gold);
    box-shadow: 0 0 14px rgba(194,155,87,0.5);
}

/* --- Karta pinu --- */
.ml-pin__card {
    position: absolute;
    bottom: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    background: var(--dark-surface);
    border: 1px solid rgba(194,155,87,0.22);
    border-radius: 4px;
    padding: 1.2rem 1.4rem;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
    transform: translateX(-50%) translateY(8px);
    z-index: 30;
}
.ml-pin.is-active .ml-pin__card,
.ml-pin:hover .ml-pin__card {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.ml-pin__card-title {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.ml-pin__card-desc {
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-light);
    opacity: 0.85;
}
.ml-pin__card-line {
    margin-top: 0.9rem;
    width: 28px; height: 1px;
    background: var(--accent-gold);
    opacity: 0.4;
}

@keyframes ml-pin-pulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
    50%       { transform: translate(-50%,-50%) scale(1.45); opacity: 0.15; }
}

/* =====================================================
   ML - EWOLUCJA SKÓRY (BLOK 13)
   ===================================================== */
.ml-patina {
    padding: 7rem 5vw;
    text-align: center;
}
.ml-patina__header {
    margin-bottom: 4rem;
}
.ml-patina__sub {
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}
.ml-patina__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #fff;
}
.ml-patina__timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}
.ml-patina__track {
    position: relative;
    height: 56px;
    margin-bottom: 2.5rem;
}
.ml-patina__track::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 2px;
    background: rgba(194,155,87,0.12);
    transform: translateY(-50%);
}
.ml-patina__fill {
    position: absolute;
    top: 50%; left: 0;
    height: 2px;
    width: 0%;
    background: var(--accent-gold);
    transform: translateY(-50%);
    transition: width 0.5s ease, background 0.5s ease;
}
.ml-patina__node {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.ml-patina__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative; z-index: 2;
}
.ml-patina__node.is-active .ml-patina__dot {
    width: 18px; height: 18px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 20px currentColor;
}
.ml-patina__node-label {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    opacity: 0.5;
    white-space: nowrap;
    margin-top: 22px;
    position: absolute;
    top: 100%;
    transition: opacity 0.3s;
}
.ml-patina__node.is-active .ml-patina__node-label { opacity: 1; color: var(--accent-gold); }

/* Info panel pod osią */
.ml-patina__info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    padding: 2rem;
    background: rgba(213,207,196,0.03);
    border: 1px solid rgba(194,155,87,0.1);
    border-radius: 4px;
    margin-top: 3rem;
    transition: border-color 0.4s ease;
}
.ml-patina__info-swatch {
    width: 44px; height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}
.ml-patina__info-label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 0.4rem;
    transition: color 0.4s ease;
}
.ml-patina__info-desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-light);
    opacity: 0.8;
}

/* =====================================================
   ML - KOLEKCJA (BLOK 13) — siatka 6 produktów
   ===================================================== */
.ml-kolekcja {
    padding: 7rem 5vw;
}
.ml-kolekcja__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4.5rem;
}
.ml-kolekcja__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 1rem;
}
.ml-kolekcja__desc {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.75;
    line-height: 1.7;
}
.ml-kolekcja__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
}
.ml-kolekcja__footer {
    text-align: center;
    margin-top: 4rem;
}

/* --- Karta produktu --- */
.ml-kol-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.ml-kol-card:hover {
    transform: translateY(-6px);
}

/* --- Kontener zdjęcia --- */
.ml-kol-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;          /* Portretowe, jak modowe lookbooki */
    background: var(--dark-surface);
    border-radius: 2px;
    margin-bottom: 1.4rem;
}
.ml-kol-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease;
    filter: sepia(15%) brightness(0.95);
}
.ml-kol-card:hover .ml-kol-card__img-wrap img {
    transform: scale(1.04);
    filter: sepia(0%) brightness(1);
}

/* --- Odznaka (badge) --- */
.ml-kol-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--dark-base);
    color: var(--accent-gold);
    border: 1px solid rgba(194,155,87,0.4);
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    line-height: 1;
}
.ml-kol-card__badge--ready {
    background: rgba(194,155,87,0.15);
    border-color: var(--accent-gold);
}

/* --- Treść pod zdjęciem --- */
.ml-kol-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.ml-kol-card__leather {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    opacity: 0.85;
}
.ml-kol-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}
.ml-kol-card__price {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.75;
    margin-top: 0.2rem;
}

/* --- Responsive --- */
@media (max-width: 960px) {
    .ml-kolekcja__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 560px) {
    .ml-kolekcja__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {

    .ml-split { gap: 3rem; }
    .ml-gallery { columns: 2; }
    .ml-pin__card { width: 190px; }
}
@media (max-width: 640px) {
    .ml-hero__content h1 { font-size: 3rem; }
    .ml-page-header h1   { font-size: 2.4rem; }
    .section-header h2   { font-size: 2.2rem; }
    .nav-links           { display: none; }
    .ml-gallery          { columns: 1; }
    .ml-patina__node-label { font-size: 0.55rem; }
}
