:root {
    --bg-color: #fbf9f6;
    --primary-dark: #1b1815;
    --accent-gold: #c5a059;
    --text-muted: #6b635b;
    --border-color: #e6dfd5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-dark);
    line-height: 1.5;
}

.container {
    max-width: 100% !important;
    padding-left: 4vw;
    padding-right: 4vw;
}

/* Górny pasek */
.top-bar {
    background-color: var(--primary-dark);
    color: #fff;
    font-size: 0.85rem;
    padding: 0.5rem 0;
}
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Nawigacja */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-circle {
    width: 45px;
    height: 45px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    color: var(--accent-gold);
}
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a.active {
    border-bottom: 2px solid var(--primary-dark);
    padding-bottom: 2px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.search-input {
    background: #f4f0eb;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
}
.icon-btn {
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 1.2rem;
    position: relative;
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-gold);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* HERO */
.hero-section {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 0;
    min-height: 680px;
    overflow: hidden;
    background-color: #faf9f7;
}

.hero-grid {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(52%, 680px);
    padding-left: calc(max(3rem, (100vw - 1380px) / 2 + 3rem));
    padding-right: 2rem;
}

/* Zdjęcie nie jest już „kartą”, tylko tłem po prawej */
.hero-image-area {
    position: absolute;
    z-index: 1;
    inset: 0 0 0 auto;
    width: min(68vw, 1100px);
    height: 100%;
    display: block;
    pointer-events: none;
}

.hero-planner-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 680px;
    object-fit: cover;
    object-position: center;

    /* bez ramki, zaokrągleń i cienia */
    border-radius: 0;
    box-shadow: none;

    /* łagodne zanikanie obrazu od lewej pod tekstem */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.15) 15%,
        #000 43%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.15) 15%,
        #000 43%
    );
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}
.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}
.btn-primary {
    background: var(--primary-dark);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}
.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
}
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
/* Zdjęcie w sekcji Hero */
.hero-image-area {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-planner-img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 12px;
    /* Opcjonalny, delikatny cień dodający głębi */
    box-shadow: 0 20px 40px rgba(27, 24, 21, 0.08);
}
/* Statystyki */
.stats-section {
    background: #f4ede2;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}
.stat-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
}
.stat-box p {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 0.3rem;
}
.stars {
    color: #e5a93e;
    letter-spacing: 3px;
    margin-bottom: 0.2rem;
}
@media (max-width: 768px) {
    .hero-section,
    .hero-grid {
        min-height: auto;
    }

    .hero-grid {
        display: block;
        padding: 4rem 0 0;
    }

    .hero-content {
        width: 100%;
        padding: 0 2rem 3rem;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        text-align: left;
    }

    .hero-image-area {
        position: relative;
        width: 100%;
        height: 420px;
    }

    .hero-planner-img {
        min-height: 0;
        height: 100%;
        object-position: center;
        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            #000 22%
        );
        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            #000 22%
        );
    }
}

/* Sekcja Produktów */
.products-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(27, 24, 21, 0.05);
}

.product-card-img {
    width: 100%;
    height: 250px;          /* Wysokość zdjęcia */
    background-color: #f9f7f4; /* Bardzo jasne tło pod samo zdjęcie (opcjonalnie) */
    border: none;           /* Upewniamy się, że nie ma ramki */
    border-radius: 12px;    /* Zaokrąglone rogi samego zdjęcia */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-bottom: 0.5rem;  /* Subtelny odstęp od tytułu */
    overflow: hidden;       /* Żeby zdjęcie nie wychodziło poza rogi */
}
/* Jeśli używasz w środku tagu <img>, dodaj to, żeby zdjęcia były responsywne */
.product-card-img img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;      /* Lub contain, zależnie od potrzeb */
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-dark);
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    font-weight: 500;
}
.product-badge.secondary {
    background: var(--accent-gold);
}

.product-image-placeholder {
    width: 100%;
    height: 280px;
    background: #f4ede2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-info {
    padding: 1.5rem;
}
.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}
.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    min-height: 40px;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}
.price {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-dark);
}
.btn-buy {
    background: var(--primary-dark);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s;
}
.btn-buy:hover {
    background: var(--accent-gold);
}

/* Responsywność produktów dla mniejszych ekranów */
@media (max-width: 968px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}
/* Stopka */
.main-footer-section {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 5rem 0 0 0;
    margin-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    color: #fff;
}
.footer-desc {
    color: #b0a8a0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.75rem;
}
.footer-col ul li a {
    color: #b0a8a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: #fff;
}
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}
.newsletter-form input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    outline: none;
    flex: 1;
}
.newsletter-form input::placeholder {
    color: #8c837b;
}
.newsletter-form button {
    background: var(--accent-gold);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}
.newsletter-form button:hover {
    opacity: 0.9;
}
.footer-bottom {
    padding: 1.5rem 0;
    background-color: #141210;
    font-size: 0.85rem;
    color: #8c837b;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsywność stopki */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
/* Sekcja Opinii */
.testimonials-section {
    padding: 5rem 0;
    background-color: #f4ede2;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-top: 4rem;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0;
    font-style: italic;
}
.client-name {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    color: var(--primary-dark);
    font-size: 1rem;
}

/* Responsywność opinii */
@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Styl powiadomienia o dodaniu do koszyka */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-dark);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(27, 24, 21, 0.15);
    font-size: 0.9rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Układ karty produktu */
.product-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.product-image-placeholder {
    width: 100%;
    height: 450px;
    background-color: var(--card-bg);
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}
.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin: 0.5rem 0 1rem 0;
}
.product-price-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.product-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
}
.product-short-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}
.product-actions-box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}
.quantity-selector input {
    width: 60px;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
}
.add-to-cart-btn {
    border: none;
    cursor: pointer;
    flex: 1;
    padding: 0.9rem;
}
.product-perks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.product-description-section {
    background-color: #fff;
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}
.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Responsywność strony produktu */
@media (max-width: 868px) {
    .product-page-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Style dla modalu podglądu wnętrza */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 24, 21, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: #fff;
    width: 90%;
    max-width: 700px;
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-dark);
    cursor: pointer;
    line-height: 1;
}
.modal-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.modal-img-placeholder {
    width: 100%;
    height: 220px;
    background-color: var(--card-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

/* Style dla karuzeli w modalu */
.slider-container {
    display: flex;
    align-items: center;
    position: relative;
    gap: 1rem;
}
.slider-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
}
.slider-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}
.slide-item {
    min-width: 100%;
    box-sizing: border-box;
}
.modal-img-placeholder {
    width: 100%;
    height: 260px;
    background-color: var(--card-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}
.slider-btn {
    background-color: var(--primary-dark);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10;
}
.slider-btn:hover {
    background-color: #332d28;
    transform: scale(1.05);
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active {
    background-color: var(--primary-dark);
}

/* --- STYL DLA TYTUŁÓW PRODUKTÓW (LINKÓW) W BESTSELLERACH --- */

/* Zwykły stan linku - kolor tekstu jak reszta, bez podkreślenia */
.product-card h3 a {
    text-decoration: none;            /* Usuwa brzydkie podkreślenie */
    color: var(--primary-dark);       /* Ustawia kolor na Twój ciemny brąz/szary */
    transition: color 0.3s ease;      /* Płynne przejście przy najechaniu */
    font-weight: inherit;             /* Zachowuje grubość czcionki h3 */
}

/* Stan po najechaniu myszką (hover) - np. na beżowy */
.product-card h3 a:hover {
    color: #c5a880;                   /* Zmienia kolor na Twój beżowy/złoty */
}

/* --- POPRAWKA DLA STOPKI NA WSZYSTKICH PODSTRONACH --- */
.main-footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.main-footer-section li {
    list-style: none !important;
    padding-left: 0 !important;
}

.main-footer-section li::before {
    content: none !important; /* Usuwa wszelkie ozdobniki kropkowe */
}

/* Zakładka sklep*/

.dropdown {
    position: relative;
    display: inline-block;
}

/* Styl bazowy linku Sklep (taki jak pozostałe w menu) */
.dropdown > a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* Złoty kolor tylko po najechaniu na link lub na całe menu rozwijane */
.dropdown:hover > a {
    color: #c5a880 !important;
}



.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    min-width: 170px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 6px;
    z-index: 100;
    padding: 0.5rem 0;
    border: 1px solid #eee;
    text-align: left;
}

.dropdown-content a {
    color: #333 !important;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 400 !important;
}

.dropdown-content a:hover {
    background-color: #f9f7f5;
    color: #c5a880 !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Przycisk główny (np. Kup teraz / czarny) */
.btn-primary, .btn-details {
    background-color: #1a1a1a;
    color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover, .btn-details:hover {
    background-color: #c5a880 !important;
    border-color: #c5a880 !important;
    color: #fff !important;
}

/* Przycisk z obramowaniem (np. Zobacz wnętrze / przezroczysty) */
.btn-secondary {
    background-color: transparent;
    border: 1px solid #ddd;
    color: #1a1a1a;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #c5a880 !important;
    border-color: #c5a880 !important;
    color: #fff !important;
}

/* HERO — pełna szerokość i szersza kolumna tekstu */
.hero-section .hero-grid {
    width: 100vw !important;
    max-width: none !important;
    min-height: 680px;
    margin: 0 !important;
}

.hero-section .hero-content {
    flex: 0 0 48% !important;
    width: 48% !important;
    max-width: 720px;
    padding-left: clamp(5rem, 9vw, 10rem);
    padding-right: 2rem;
}

.hero-section .hero-image-area {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62vw;
    max-width: none;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-section .hero-planner-img {
    width: 100%;
    max-width: none !important;
    height: 100%;
    min-height: 680px;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Węższa, wygodna do czytania kolumna na stronie „O marce” */
.about-section .container {
    max-width: 860px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Złote podświetlenie wszystkich pozycji głównej nawigacji */
.nav-links > a,
.dropdown > a {
    transition: color 0.2s ease;
}

.nav-links > a:hover,
.dropdown:hover > a {
    color: #c5a880 !important;
}

/* Elegancka ikona „Moje konto” */
.account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-icon svg {
    width: 21px;
    height: 21px;
    stroke: var(--primary-dark);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

/* Subtelne, liniowe ikony w sekcji hero */
.hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.hero-features .feature-item svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    stroke: var(--accent-gold);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

/* Statystyki bliżej siebie */
.stats-section .stats-grid {
    width: calc(100% - 4rem);
    max-width: 1320px !important;
    margin-left: auto;
    margin-right: auto;
}

/* Cztery równe karty bestsellerów na dużych ekranach */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Sekcja bestsellerów */
.bestsellers-section {
    padding: 4rem 0;
}

.bestsellers-section .section-subtitle {
    display: block;
    text-align: center;
}

.bestsellers-section h2 {
    margin: 0.5rem 0 3rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
}

.bestsellers-section .products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.bestsellers-section .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.bestsellers-section .product-card h3 {
    min-height: 3.4em;
    margin: 0;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 550;
    line-height: 1.4;
}

.bestsellers-section .product-card-price {
    margin: 0.8rem 0 1.15rem;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
}

.bestsellers-section .btn-buy {
    width: 100%;
    margin-top: auto;
    text-align: center;
}

@media (max-width: 1199px) {
    .bestsellers-section .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bestsellers-section .products-grid {
        grid-template-columns: 1fr;
    }

    .bestsellers-section h2 {
        font-size: 2rem;
    }
}

/* Hero: klasyczny nagłówek z odręcznym akcentem */
.hero-content h1 {
    margin-bottom: 1.3rem;
}

.hero-title-script {
    display: block;
    margin-top: 0.2em;
    color: var(--accent-gold);
    font-family: 'Great Vibes', cursive;
    font-size: 1.35em;
    font-weight: 400;
    line-height: 0.95;
}

/* Lżejszy, bardziej luksusowy opis pod nagłówkiem */
.hero-content p {
    max-width: 470px;
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.005em;
}

/* Galeria wnętrza planera */
body.modal-open {
    overflow: hidden;
}

.planner-modal {
    width: min(94vw, 940px);
    max-width: 940px;
    padding: 2.5rem;
    text-align: center;
}

.planner-modal .section-subtitle {
    display: block;
    margin-bottom: 0.55rem;
}

.planner-modal h2 {
    margin: 0 0 1.5rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.planner-gallery {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    gap: 1.25rem;
}

.planner-stage {
    display: grid;
    height: min(56vh, 520px);
    min-height: 360px;
    place-items: center;
    overflow: hidden;
    background: #f8f5f0;
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.planner-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.18s ease;
}

.planner-stage img.is-changing {
    opacity: 0;
}

.gallery-arrow {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    background: var(--primary-dark);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.gallery-arrow:hover {
    background: var(--accent-gold);
    transform: scale(1.06);
}

.planner-gallery__caption {
    max-width: 620px;
    margin: 1.4rem auto 1.25rem;
}

.planner-gallery__caption span {
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.planner-gallery__caption h3 {
    margin: 0.4rem 0;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 500;
}

.planner-gallery__caption p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

.planner-thumbnails {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    overflow-x: auto;
    padding: 0.35rem;
}

.planner-thumbnail {
    width: 62px;
    height: 78px;
    flex: 0 0 auto;
    padding: 2px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.62;
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.planner-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 5px;
}

.planner-thumbnail:hover,
.planner-thumbnail.active {
    border-color: var(--accent-gold);
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 650px) {
    .planner-modal {
        padding: 2.25rem 1rem 1.25rem;
    }

    .planner-gallery {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 0.5rem;
    }

    .planner-stage {
        height: 48vh;
        min-height: 300px;
    }

    .gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }
}

/* Podgląd pełnej, pionowej strony planera */
.planner-gallery {
    grid-template-columns: 46px minmax(0, 430px) 46px;
    justify-content: center;
}

.planner-stage {
    width: 100%;
    height: min(62vh, 650px);
    min-height: 430px;
    margin: 0 auto;
    background: #f8f5f0;
}

.planner-stage img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 650px) {
    .planner-gallery {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
    }

    .planner-stage {
        height: 58vh;
        min-height: 360px;
    }
}

/* Gdy modal jest wysoki, zaczyna się od góry ekranu zamiast być ucięty */
.modal-overlay {
    align-items: flex-start;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.planner-modal {
    margin: auto;
}

/* Korekta wyrównania nagłówka oraz układu kategorii */
.shop-header {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 4rem auto 2.5rem !important;
    padding: 0 1.5rem !important;
    text-align: center !important;
}

.shop-header h1 {
    width: 100% !important;
    margin: 0 0 0.7rem !important;
    color: var(--primary-dark) !important;
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(2.4rem, 4vw, 3.25rem) !important;
    font-weight: 500 !important;
    text-align: center !important;
}

.shop-header p {
    width: 100% !important;
    margin: 0 !important;
    color: var(--text-muted) !important;
    font-size: 1.02rem !important;
    text-align: center !important;
}

.shop-layout {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 5rem !important;
    padding: 0 1.5rem !important;
}

.category-products {
    align-items: start;
}

.category-products .product-card {
    max-width: 430px;
}

/* Wyśrodkowany zestaw: menu kategorii + produkt */
.shop-layout {
    grid-template-columns: 240px 500px !important;
    justify-content: center !important;
    gap: 3.5rem !important;
}

.category-products {
    display: block !important;
}

.category-products .product-card {
    width: 100%;
    max-width: none !important;
}

.product-image {
    height: 310px;
}

@media (max-width: 800px) {
    .shop-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Spokojniejszy, proporcjonalny układ kategorii */
.shop-layout {
    grid-template-columns: 220px 430px !important;
    justify-content: center !important;
    gap: 3rem !important;
}

.category-products .product-card {
    width: 430px !important;
    max-width: 100% !important;
}

.product-image {
    height: 270px !important;
}

@media (max-width: 800px) {
    .shop-layout {
        grid-template-columns: 1fr !important;
    }

    .category-products .product-card {
        width: 100% !important;
    }
}

/* Sklep: menu po lewej i trzy produkty w wierszu */
.shop-layout {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    max-width: 1400px !important;
    justify-content: initial !important;
    gap: 2.5rem !important;
}

.category-products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
}

.category-products .product-card {
    width: auto !important;
    max-width: none !important;
    min-height: 390px;
}

.product-image {
    height: 220px !important;
}

.product-image-placeholder {
    display: grid;
    place-items: center;
    background: #f8f5f0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.product-placeholder .btn-details {
    cursor: default;
}

@media (max-width: 1100px) {
    .category-products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 800px) {
    .shop-layout {
        grid-template-columns: 1fr !important;
    }

    .category-products {
        grid-template-columns: 1fr !important;
    }
}
/* Puste karty: normalna czarna typografia i aktywny przycisk */
.product-placeholder {
    opacity: 1;
}

.product-placeholder .product-title {
    color: var(--primary-dark) !important;
}

.product-placeholder .btn-details {
    display: block;
    background: var(--primary-dark) !important;
    color: #fff !important;
    opacity: 1 !important;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.product-placeholder .btn-details:hover {
    background: var(--accent-gold) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.product-image-placeholder {
    color: #a79d92;
    border: 1px dashed var(--border-color);
}

.auth-success {
    display: none;
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    background: #f4f0e8;
    border: 1px solid #d9c49b;
    border-radius: 9px;
    color: var(--primary-dark);
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: center;
}

.auth-error {
    display: none;
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    background: #fff4f2;
    border: 1px solid #e6b4ad;
    border-radius: 9px;
    color: #8a3329;
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: center;
}

.auth-success {
    display: none;
    margin: -1.25rem 0 1.8rem;
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

/* Klikalne tytuły bestsellerów */
.bestsellers-section .product-card h3 a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.25s ease;
}

.bestsellers-section .product-card h3 a:hover {
    color: var(--accent-gold);
}

.bestsellers-section .product-card h3 a {
    position: relative;
    z-index: 2;
    display: inline;
    cursor: pointer;
}

/* ===== STRONY PRODUKTÓW ===== */

.product-page {
    width: min(1320px, calc(100% - 8vw));
    margin: 0 auto;
    padding: 3.5rem 0 6rem;
}

.product-page__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2.8rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.product-page__breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-page__breadcrumbs a:hover {
    color: var(--accent-gold);
}

.product-details {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 7rem);
}

.product-gallery {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #fff;
    padding: 1rem;
}

.product-gallery img,
.product-gallery__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 11px;
    object-fit: cover;
}

.product-gallery__placeholder {
    display: grid;
    place-items: center;
    border: 1px dashed var(--border-color);
    background: #f8f5f0;
    color: #a79d92;
    font-size: 0.92rem;
}

.product-details__eyebrow {
    display: block;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.product-details h1 {
    margin: 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 550;
    line-height: 1.08;
}

.product-details__price {
    margin: 1.25rem 0 1.6rem;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
}

.product-details__intro {
    max-width: 540px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.product-details__quantity {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 2rem 0 1.1rem;
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.quantity-control {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 999px;
}

.quantity-control button,
.quantity-control span {
    display: grid;
    width: 2.5rem;
    height: 2.3rem;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--primary-dark);
    font: inherit;
}

.quantity-control button {
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.quantity-control button:hover {
    background: #f5efe6;
    color: var(--accent-gold);
}

.product-details__add {
    width: min(100%, 440px);
    margin-top: 0;
}

.product-details__benefits {
    display: grid;
    gap: 1rem;
    margin-top: 2.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.product-details__benefits > div {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.product-details__benefits > div > span {
    color: var(--accent-gold);
    font-size: 1.15rem;
    line-height: 1.4;
}

.product-details__benefits p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.product-details__benefits strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.87rem;
    font-weight: 600;
}

.product-description {
    margin-top: 6rem;
    padding-top: 5rem;
    border-top: 1px solid var(--border-color);
}

.product-description__heading {
    max-width: 650px;
    margin: 0 auto 3rem;
    text-align: center;
}

.product-description__heading h2 {
    margin: 0.7rem 0 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 550;
}

.product-description__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.product-description__grid > div {
    padding: 1.8rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: #fff;
}

.product-description__grid h3 {
    margin: 0 0 0.85rem;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: 1.28rem;
    font-weight: 550;
}

.product-description__grid p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 850px) {
    .product-page {
        width: min(100% - 2.5rem, 700px);
        padding-top: 2rem;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-description {
        margin-top: 4rem;
        padding-top: 3.5rem;
    }

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

/* ===== WYBÓR KART KATEGORII ===== */

.product-details__price span {
    color: var(--text-muted);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
}

.product-card-choice {
    margin-top: 2rem;
    padding: 1.4rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #fff;
}

.product-card-choice p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.product-card-choice__button {
    width: 100%;
    margin: 1rem 0 0.8rem;
}

.product-card-choice .product-card-choice__summary {
    color: var(--accent-gold);
    font-size: 0.84rem;
    font-weight: 600;
    text-align: center;
}

.product-details__add:disabled,
.categories-modal .btn-buy:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
}

.categories-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: none;
    place-items: center;
    padding: 1.5rem;
}

.categories-modal.is-open {
    display: grid;
}

.categories-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(27, 24, 21, 0.62);
    backdrop-filter: blur(3px);
}

.categories-modal__content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(780px, calc(100vh - 3rem));
    overflow-y: auto;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(27, 24, 21, 0.2);
    text-align: center;
}

.categories-modal__content h2 {
    margin: 0.65rem 0 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 550;
}

.categories-modal__intro {
    max-width: 530px;
    margin: 1rem auto 2rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.categories-modal__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    border: 0;
    background: transparent;
    color: var(--primary-dark);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.categories-modal__close:hover {
    color: var(--accent-gold);
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    text-align: left;
}

.categories-list label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.categories-list label:hover {
    border-color: var(--accent-gold);
    background: #fcfaf6;
}

.categories-list input {
    width: 17px;
    height: 17px;
    accent-color: var(--accent-gold);
    cursor: pointer;
}

.categories-list label:has(input:checked) {
    border-color: var(--accent-gold);
    background: #fcf7ed;
}

.categories-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.categories-modal__footer p {
    margin: 0;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
}

.categories-modal__footer .btn-buy {
    min-width: 210px;
}

.modal-open {
    overflow: hidden;
}

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

    .categories-modal__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .categories-modal__footer .btn-buy {
        width: 100%;
    }
}

/* ===== KARTY KATEGORII – NOWY WYGLĄD ===== */

.product-page {
    padding-top: 2.5rem;
}

.product-details {
    align-items: center;
    gap: clamp(3rem, 7vw, 8rem);
}

.product-gallery.category-product-visual {
    position: relative;
    display: flex;
    min-height: 510px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e6d8c5;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.82), rgba(248,240,226,0.75)),
        #f4ebde;
    padding: clamp(2.2rem, 5vw, 4rem);
}

.category-product-visual::before,
.category-product-visual::after {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(197, 160, 89, 0.24);
    border-radius: 50%;
    content: "";
}

.category-product-visual::before {
    top: -170px;
    right: -130px;
}

.category-product-visual::after {
    bottom: -175px;
    left: -150px;
}

.category-product-visual__brand,
.category-product-visual h2,
.category-product-visual p,
.category-product-visual__price {
    position: relative;
    z-index: 1;
}

.category-product-visual__brand {
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.category-product-visual h2 {
    margin: 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 550;
    line-height: 0.92;
}

.category-product-visual p {
    max-width: 280px;
    margin: 1.7rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.category-product-visual__price {
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
}

.category-product-visual__price span {
    color: var(--text-muted);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.78rem;
}

.category-product-visual__ornament {
    position: absolute;
    right: 2.2rem;
    bottom: 2rem;
    color: var(--accent-gold);
    font-size: 2.1rem;
}

.product-details h1 {
    max-width: 530px;
    font-size: clamp(2.7rem, 4.2vw, 4.4rem);
}

.product-card-choice {
    margin-top: 1.8rem;
    border: 0;
    border-radius: 14px;
    background: #f5efe6;
    padding: 1.5rem;
}

.product-card-choice__button {
    margin: 1.15rem 0 0.7rem;
}

.product-details__add {
    margin-top: 1rem;
}

.product-details__benefits {
    gap: 0.8rem;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
}

/* Ładniejsze okienko wyboru */

.categories-modal__content {
    width: min(680px, 100%);
    border-radius: 22px;
}

.categories-list {
    gap: 0.65rem;
}

.categories-list label {
    min-height: 46px;
    border-radius: 8px;
    font-size: 0.84rem;
}

.categories-modal__footer {
    margin-top: 1.5rem;
}

@media (max-width: 850px) {
    .product-gallery.category-product-visual {
        min-height: 390px;
    }
}

.product-card-choice__button {
    border: none !important;
    outline: none;
    box-shadow: none;
}

.product-card-choice__button:hover,
.product-card-choice__button:focus {
    border: none !important;
    outline: none;
    box-shadow: none;
}

/* Karty kategorii – dopracowanie proporcji */

.product-details h1 {
    max-width: 480px;
    font-size: clamp(2.4rem, 3.6vw, 3.7rem);
    line-height: 1.05;
}

.product-card-choice,
.product-details__add {
    width: 100%;
    max-width: 566px;
    box-sizing: border-box;
}

.product-details__add {
    display: block;
    margin-top: 1rem;
    border: none !important;
    outline: none;
    box-shadow: none;
}

.product-details__add:hover,
.product-details__add:focus,
.product-details__add:focus-visible {
    border: none !important;
    outline: none;
    box-shadow: none;
}

/* Okienko wyboru kategorii – stały przycisk na dole */

.categories-modal__content {
    display: flex;
    max-height: min(760px, calc(100vh - 3rem));
    flex-direction: column;
    overflow: hidden;
}

.categories-list {
    max-height: min(440px, 48vh);
    overflow-y: auto;
    padding-right: 0.5rem;
}

.categories-modal__footer {
    flex-shrink: 0;
    margin-top: 1.25rem;
    padding: 1.25rem 0 0;
    background: #fff;
}

.categories-modal__footer .btn-buy {
    border: none !important;
    outline: none;
    box-shadow: none;
}

.categories-modal__footer .btn-buy:hover,
.categories-modal__footer .btn-buy:focus,
.categories-modal__footer .btn-buy:focus-visible {
    border: none !important;
    outline: none;
    box-shadow: none;
}

/* Komunikat po dodaniu do koszyka */

.cart-toast {
    position: fixed;
    z-index: 2000;
    bottom: 2rem;
    left: 50%;
    max-width: calc(100% - 2rem);
    transform: translate(-50%, 1.2rem);
    padding: 1rem 1.45rem;
    border-radius: 9px;
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 14px 35px rgba(27, 24, 21, 0.22);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cart-toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

/* Wkłady Simple Gold – karta zastępcza */

.product-gallery.sg-product-visual {
    position: relative;
    display: flex;
    min-height: 510px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e6d8c5;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 236, 216, 0.78)),
        #f4ebde;
    padding: clamp(2.2rem, 5vw, 4rem);
}

.sg-product-visual::before,
.sg-product-visual::after {
    position: absolute;
    border: 1px solid rgba(197, 160, 89, 0.25);
    content: "";
    transform: rotate(-28deg);
}

.sg-product-visual::before {
    width: 420px;
    height: 270px;
    top: -80px;
    right: -145px;
}

.sg-product-visual::after {
    width: 380px;
    height: 245px;
    bottom: -115px;
    left: -180px;
}

.sg-product-visual__brand,
.sg-product-visual h2,
.sg-product-visual p {
    position: relative;
    z-index: 1;
}

.sg-product-visual__brand {
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.sg-product-visual h2 {
    margin: 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(3.4rem, 6vw, 5.7rem);
    font-weight: 550;
    line-height: 0.88;
}

.sg-product-visual p {
    max-width: 290px;
    margin: 1.7rem 0 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.sg-product-visual__ornament {
    position: absolute;
    right: 2.2rem;
    bottom: 2rem;
    color: var(--accent-gold);
    font-size: 2.1rem;
}

.product-details__add {
    border: none !important;
    outline: none;
    box-shadow: none;
}

.product-details__add:hover,
.product-details__add:focus,
.product-details__add:focus-visible {
    border: none !important;
    outline: none;
    box-shadow: none;
}

/* Wkłady Simple Gold – spokojniejszy tytuł */

.sg-product-visual + .product-details__content h1 {
    max-width: 590px;
    font-size: clamp(2.1rem, 3vw, 3.15rem);
    line-height: 1.1;
}
/* Wyzwanie 100 kopert – karta zastępcza */

.product-gallery.challenge-product-visual {
    position: relative;
    display: flex;
    min-height: 510px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e6d8c5;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(248, 237, 218, 0.82)),
        #f4ebde;
    padding: clamp(2.2rem, 5vw, 4rem);
}

.challenge-product-visual::before,
.challenge-product-visual::after {
    position: absolute;
    border: 1px solid rgba(197, 160, 89, 0.28);
    content: "";
    transform: rotate(45deg);
}

.challenge-product-visual::before {
    top: -80px;
    right: -90px;
    width: 270px;
    height: 270px;
}

.challenge-product-visual::after {
    bottom: -135px;
    left: -105px;
    width: 240px;
    height: 240px;
}

.challenge-product-visual__brand,
.challenge-product-visual h2,
.challenge-product-visual p {
    position: relative;
    z-index: 1;
}

.challenge-product-visual__brand {
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.challenge-product-visual h2 {
    margin: 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(3.4rem, 6vw, 5.7rem);
    font-weight: 550;
    line-height: 0.88;
}

.challenge-product-visual p {
    position: relative;
    z-index: 1;
    max-width: 260px;
    margin: 1.7rem 0 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.challenge-product-visual__ornament {
    position: absolute;
    right: 2.2rem;
    bottom: 2rem;
    color: var(--accent-gold);
    font-size: 2.1rem;
}

/* Gra Urodzinowa Przygoda – karta zastępcza */

.product-gallery.birthday-product-visual {
    position: relative;
    display: flex;
    min-height: 510px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e6d8c5;
    border-radius: 20px;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.75) 0 7%, transparent 7.5%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(248, 237, 218, 0.82)),
        #f4ebde;
    padding: clamp(2.2rem, 5vw, 4rem);
}

.birthday-product-visual::before,
.birthday-product-visual::after {
    position: absolute;
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 50%;
    content: "";
}

.birthday-product-visual::before {
    top: -135px;
    right: -105px;
    width: 320px;
    height: 320px;
}

.birthday-product-visual::after {
    bottom: -165px;
    left: -125px;
    width: 270px;
    height: 270px;
}

.birthday-product-visual__brand,
.birthday-product-visual h2,
.birthday-product-visual p {
    position: relative;
    z-index: 1;
}

.birthday-product-visual__brand {
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.birthday-product-visual h2 {
    margin: 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 5.4vw, 5.1rem);
    font-weight: 550;
    line-height: 0.9;
}

.birthday-product-visual p {
    max-width: 290px;
    margin: 1.7rem 0 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.birthday-product-visual__ornament {
    position: absolute;
    right: 2.2rem;
    bottom: 2rem;
    color: var(--accent-gold);
    font-size: 2.1rem;
}

/* ===== REGULAMIN I STRONY PRAWNE ===== */

.legal-page {
    width: min(100% - 3rem, 1120px);
    margin: 0 auto;
    padding: 4.5rem 0 6rem;
}

.legal-page__hero {
    max-width: 720px;
    margin: 0 auto 2.3rem;
    text-align: center;
}

.legal-page__hero h1 {
    margin: 0.65rem 0 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 550;
    line-height: 1.1;
}

.legal-page__hero p {
    max-width: 590px;
    margin: 1rem auto 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-page__content {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.4rem);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(27, 24, 21, 0.045);
}

.legal-page__updated {
    margin: 0 0 2.2rem;
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-page__content h2 {
    margin: 2.6rem 0 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 550;
    line-height: 1.25;
}

.legal-page__content h2:first-of-type {
    margin-top: 0;
}

.legal-page__content p,
.legal-page__content li {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.8;
}

.legal-page__content p {
    margin: 0 0 1.15rem;
}

.legal-page__content ol,
.legal-page__content ul {
    margin: 0 0 1.3rem;
    padding-left: 1.4rem;
}

.legal-page__content li {
    margin-bottom: 0.55rem;
    padding-left: 0.25rem;
}

.legal-page__content li::marker {
    color: var(--accent-gold);
    font-weight: 600;
}

.legal-page__content strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.legal-page__content a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-page__content a:hover {
    color: var(--primary-dark);
}

@media (max-width: 650px) {
    .legal-page {
        width: min(100% - 2rem, 650px);
        padding: 3rem 0 4rem;
    }

    .legal-page__content {
        padding: 1.5rem;
        border-radius: 14px;
    }

    .legal-page__content h2 {
        margin-top: 2.1rem;
    }
}

/* ===== STRONA GŁÓWNA SKLEPU – KATEGORIE ===== */

.shop-categories-page {
    width: min(1320px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 4.5rem 0 6rem;
}

.shop-categories-hero {
    max-width: 690px;
    margin: 0 auto 3.2rem;
    text-align: center;
}

.shop-categories-hero h1 {
    margin: 0.65rem 0 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.6rem, 4.5vw, 4.3rem);
    font-weight: 550;
    line-height: 1.08;
}

.shop-categories-hero p {
    max-width: 590px;
    margin: 1rem auto 0;
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.75;
}

.shop-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.shop-category-card {
    display: flex;
    min-height: 440px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #fff;
    color: var(--primary-dark);
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.shop-category-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 18px 35px rgba(27, 24, 21, 0.08);
    transform: translateY(-5px);
}

.shop-category-card__visual {
    position: relative;
    display: flex;
    min-height: 245px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
    background: linear-gradient(135deg, #fffdf9, #f3e7d3);
}

.shop-category-card__visual::before,
.shop-category-card__visual::after {
    position: absolute;
    border: 1px solid rgba(197, 160, 89, 0.28);
    content: "";
}

.shop-category-card__visual::before {
    width: 235px;
    height: 235px;
    top: -100px;
    right: -85px;
    border-radius: 50%;
}

.shop-category-card__visual::after {
    width: 205px;
    height: 205px;
    bottom: -125px;
    left: -90px;
    transform: rotate(35deg);
}

.shop-category-card--zestawy .shop-category-card__visual {
    background: linear-gradient(135deg, #fffdf9, #f6eddf);
}

.shop-category-card--zestawy .shop-category-card__visual::before,
.shop-category-card--zestawy .shop-category-card__visual::after {
    border-radius: 0;
    transform: rotate(45deg);
}

.shop-category-card--akcesoria .shop-category-card__visual {
    background: linear-gradient(135deg, #fffdf9, #f1e5d2);
}

.shop-category-card--akcesoria .shop-category-card__visual::after {
    border-radius: 50%;
}

.shop-category-card__eyebrow,
.shop-category-card__visual h2 {
    position: relative;
    z-index: 1;
}

.shop-category-card__eyebrow {
    margin-bottom: 0.8rem;
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.shop-category-card__visual h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.3rem, 3.8vw, 3.5rem);
    font-weight: 550;
    line-height: 0.95;
}

.shop-category-card__ornament {
    position: absolute;
    z-index: 1;
    right: 1.7rem;
    bottom: 1.35rem;
    color: var(--accent-gold);
    font-size: 1.7rem;
}

.shop-category-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.7rem;
}

.shop-category-card__content h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    font-weight: 550;
}

.shop-category-card__content p {
    margin: 0.8rem 0 1.4rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.shop-category-card__link {
    margin-top: auto;
    color: var(--accent-gold);
    font-size: 0.86rem;
    font-weight: 600;
}

.shop-category-card__link span {
    display: inline-block;
    margin-left: 0.2rem;
    transition: transform 0.2s ease;
}

.shop-category-card:hover .shop-category-card__link span {
    transform: translateX(4px);
}

@media (max-width: 850px) {
    .shop-categories-page {
        width: min(100% - 2.5rem, 650px);
        padding: 3rem 0 4rem;
    }

    .shop-categories-grid {
        grid-template-columns: 1fr;
    }

    .shop-category-card {
        min-height: 0;
    }
}

.shop-categories-page {
    padding-top: 3rem;
}

.shop-categories-hero {
    margin-bottom: 2.4rem;
}

.shop-categories-hero h1 {
    font-size: clamp(2.3rem, 4vw, 3.6rem);
}

.shop-categories-all {
    display: inline-flex;
    gap: 0.45rem;
    margin-top: 1.3rem;
    color: var(--accent-gold);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.shop-categories-all:hover {
    color: var(--primary-dark);
}

.shop-categories-all span {
    transition: transform 0.2s ease;
}

.shop-categories-all:hover span {
    transform: translateX(4px);
}

/* ===== WSZYSTKIE PRODUKTY ===== */

.all-products-page {
    width: min(1320px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 3rem 0 6rem;
}

.all-products-hero {
    max-width: 720px;
    margin: 0 auto 2.7rem;
    text-align: center;
}

.all-products-hero h1 {
    margin: 0.65rem 0 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    font-weight: 550;
}

.all-products-hero p {
    margin: 1rem auto 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.all-products-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.8rem;
}

.all-products-filters a {
    padding: 0.65rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.83rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.all-products-filters a:hover,
.all-products-filters a.is-active {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    color: #fff;
}

.all-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.all-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.all-product-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 16px 32px rgba(27, 24, 21, 0.08);
    transform: translateY(-4px);
}

.all-product-card__visual {
    position: relative;
    display: flex;
    min-height: 245px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 1.6rem;
    background: linear-gradient(135deg, #fffdf9, #f3e7d3);
    color: var(--primary-dark);
    text-decoration: none;
}

.all-product-card__visual::before,
.all-product-card__visual::after {
    position: absolute;
    border: 1px solid rgba(197, 160, 89, 0.28);
    content: "";
}

.all-product-card__visual::before {
    width: 190px;
    height: 190px;
    top: -85px;
    right: -70px;
    border-radius: 50%;
}

.all-product-card__visual::after {
    width: 160px;
    height: 160px;
    bottom: -90px;
    left: -70px;
    transform: rotate(35deg);
}

.all-product-card__visual--koperty::before,
.all-product-card__visual--koperty::after {
    border-radius: 0;
    transform: rotate(45deg);
}

.all-product-card__visual--urodziny::after {
    border-radius: 50%;
}

.all-product-card__visual span,
.all-product-card__visual strong {
    position: relative;
    z-index: 1;
}

.all-product-card__visual span {
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.all-product-card__visual strong {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 550;
    line-height: 0.9;
}

.all-product-card__visual i {
    position: absolute;
    right: 1.4rem;
    bottom: 1.15rem;
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-style: normal;
}

.all-product-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.4rem;
}

.all-product-card__category {
    color: var(--accent-gold);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.all-product-card__content h2 {
    margin: 0.65rem 0 0;
    font-family: "Playfair Display", serif;
    font-size: 1.18rem;
    font-weight: 550;
    line-height: 1.35;
}

.all-product-card__content h2 a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.all-product-card__content h2 a:hover {
    color: var(--accent-gold);
}

.all-product-card__price {
    margin: 1rem 0 1.3rem;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.15rem;
}

.all-product-card__price small {
    color: var(--text-muted);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.7rem;
}

.all-product-card__button {
    display: block;
    margin-top: auto;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.all-product-card__button:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .all-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .all-products-page {
        width: min(100% - 2rem, 550px);
        padding: 2.5rem 0 4rem;
    }

    .all-products-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ULUBIONE ===== */

.favourites-page {
    min-height: 65vh;
    padding: 5.5rem 0 6rem;
}

.favourites-hero {
    max-width: 680px;
    margin: 0 auto 3.25rem;
    padding: 0 1.5rem;
    text-align: center;
}

.favourites-hero h1 {
    margin: 0.55rem 0 0.85rem;
    font-size: clamp(2.6rem, 4.8vw, 4.5rem);
}

.favourites-hero p {
    margin: 0;
    color: #746c65;
}

.favourites-content {
    max-width: 1200px;
}

.favourites-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.favourite-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.35rem;
    border: 1px solid #e7ddd1;
    border-radius: 18px;
    background: #fff;
}

.favourite-product-card__image {
    display: grid;
    min-height: 235px;
    place-items: center;
    border-radius: 12px;
    background: #f7f3ee;
    color: #9b938a;
    text-decoration: none;
}

.favourite-product-card__category {
    margin: 1.25rem 0 0.45rem;
    color: var(--accent-gold);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.favourite-product-card h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 550;
    line-height: 1.35;
}

.favourite-product-card h2 a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.favourite-product-card h2 a:hover {
    color: var(--accent-gold);
}

.favourite-product-card__price {
    margin: 1rem 0 1.15rem;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
}

.favourite-product-card__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    margin-top: auto;
    border-radius: 999px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.favourite-product-card__button:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.favourite-remove {
    position: absolute;
    z-index: 2;
    top: 2.15rem;
    right: 2.15rem;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--accent-gold);
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
    box-shadow: 0 5px 18px rgba(27, 24, 21, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.favourite-remove:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: scale(1.06);
}

.empty-favourites {
    display: none;
    max-width: 620px;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 4.25rem 2rem;
    border: 1px solid #e7ddd1;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.empty-favourites__heart {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: #f7f0e5;
    color: var(--accent-gold);
    font-size: 2.8rem;
    line-height: 1;
}

.empty-favourites h2 {
    margin: 0 0 0.75rem;
    font-size: 1.8rem;
}

.empty-favourites p {
    max-width: 430px;
    margin: 0 0 1.6rem;
    color: #746c65;
    line-height: 1.7;
}

.empty-favourites .btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.45rem;
    border-radius: 999px;
    text-decoration: none;
}

.favourite-nav-icon.active {
    color: var(--accent-gold);
}

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

@media (max-width: 600px) {
    .favourites-page {
        padding: 3.5rem 0 4rem;
    }

    .favourites-grid {
        grid-template-columns: 1fr;
    }
}

/* Serduszko na karcie produktu */

.product-card {
    position: relative;
}

.favourite-toggle {
    position: absolute;
    z-index: 3;
    top: 1.2rem;
    right: 1.2rem;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 1.55rem;
    line-height: 1;
    box-shadow: 0 5px 18px rgba(27, 24, 21, 0.12);
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.favourite-toggle:hover,
.favourite-toggle.is-favourite {
    color: var(--accent-gold);
    transform: scale(1.08);
}

.favourite-toggle.is-favourite {
    background: #fffaf1;
}

.favourites-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 4.5vw, 4.1rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

/* ===== WYSUWANY KOSZYK ===== */

.cart {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cart-backdrop {
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(27, 24, 21, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.cart-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    display: flex;
    width: min(465px, 100%);
    height: 100dvh;
    flex-direction: column;
    background: var(--bg-color);
    box-shadow: -14px 0 40px rgba(27, 24, 21, 0.14);
    transform: translateX(105%);
    transition: transform 0.32s ease;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid #e4d9cd;
}

.cart-drawer__header h2 {
    margin: 0;
    font-size: 2.1rem;
    font-weight: 500;
}

.cart-drawer__close {
    border: 0;
    background: transparent;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

.cart-drawer__content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.cart-empty {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #746c65;
    text-align: center;
}

.cart-empty__icon {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cart-empty p {
    margin: 0 0 1rem;
}

.cart-empty__link {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #e4d9cd;
}

.cart-item__image {
    display: grid;
    width: 82px;
    height: 96px;
    place-items: center;
    border-radius: 10px;
    background: #f4ede3;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
}

.cart-item__category {
    margin: 0 0 0.3rem;
    color: var(--accent-gold);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cart-item h3 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
}

.cart-item__variant {
    margin: 0.35rem 0 0;
    color: #746c65;
    font-size: 0.8rem;
}

.cart-item__price {
    margin: 0.45rem 0 0.7rem;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
}

.cart-item__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item__quantity {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #e4d9cd;
    border-radius: 999px;
}

.cart-item__quantity button {
    width: 30px;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 1.05rem;
}

.cart-item__quantity span {
    min-width: 22px;
    text-align: center;
    font-size: 0.85rem;
}

.cart-item__remove {
    border: 0;
    background: transparent;
    color: #817870;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    text-decoration: underline;
}

.cart-item__remove:hover {
    color: var(--accent-gold);
}

.cart-drawer__summary {
    padding: 1.45rem 2rem 1.7rem;
    border-top: 1px solid #e4d9cd;
}

.cart-drawer__total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.cart-drawer__total strong {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.cart-drawer__checkout {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border: 0;
    border-radius: 10px;
    background: var(--primary-dark);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cart-drawer__checkout:hover:not(:disabled) {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.cart-drawer__checkout:disabled {
    background: #a6a39f;
    cursor: not-allowed;
}

.cart-drawer__note {
    margin: 0.85rem 0 0;
    color: #817870;
    font-size: 0.72rem;
    line-height: 1.5;
    text-align: center;
}

.cart-toast {
    position: fixed;
    z-index: 1100;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    background: var(--primary-dark);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.cart-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .cart-drawer__header,
    .cart-drawer__content,
    .cart-drawer__summary {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }
}

.cart-toast {
    width: auto;
    max-width: calc(100vw - 2rem);
    min-height: 0;
    padding: 1rem 1.35rem;
    border-radius: 10px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

body .cart-toast {
    position: fixed !important;
    z-index: 9999 !important;
    right: 1.5rem !important;
    bottom: 1.5rem !important;
    left: auto !important;

    display: inline-block !important;
    width: fit-content !important;
    max-width: calc(100vw - 3rem) !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 1rem 1.35rem !important;

    border: 0 !important;
    border-radius: 10px !important;
    background: var(--primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(27, 24, 21, 0.2) !important;

    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;

    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

body .cart-toast.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.main-header {
    position: sticky;
    z-index: 900;
    top: 0;
    box-shadow: 0 5px 18px rgba(27, 24, 21, 0.06);
}

/* ===== FINALIZACJA ZAMÓWIENIA ===== */

.checkout-page {
    padding: 4.5rem 0 6rem;
}

.checkout-hero {
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    text-align: center;
}

.checkout-hero h1 {
    margin: 0.55rem 0 0.8rem;
    font-size: clamp(2.7rem, 4.8vw, 4.2rem);
    font-weight: 500;
}

.checkout-hero p {
    margin: 0;
    color: #746c65;
}

.checkout-layout {
    display: grid;
    max-width: 1120px;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2rem;
    align-items: start;
}

.checkout-form-card,
.checkout-summary {
    border: 1px solid #e7ddd1;
    border-radius: 18px;
    background: #fff;
}

.checkout-form-card {
    padding: 2rem;
}

.checkout-form-card h2,
.checkout-summary h2 {
    margin: 0 0 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.checkout-form-card h2:not(:first-child) {
    margin-top: 2.5rem;
}

.checkout-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.checkout-fields--address {
    grid-template-columns: 1fr 0.42fr 0.8fr;
}

.checkout-fields label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 600;
}

.checkout-fields input {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    border: 1px solid #e4d9cd;
    border-radius: 9px;
    padding: 0 0.9rem;
    background: #fff;
    color: var(--primary-dark);
    font: inherit;
    font-size: 0.9rem;
}

.checkout-fields input:focus {
    outline: 1px solid var(--accent-gold);
    border-color: var(--accent-gold);
}

.checkout-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkout-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    align-items: center;
    border: 1px solid #e7ddd1;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
}

.checkout-option:has(input:checked) {
    border-color: var(--accent-gold);
    background: #fffaf1;
}

.checkout-option input {
    accent-color: var(--accent-gold);
}

.checkout-option span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.checkout-option strong {
    font-size: 0.9rem;
}

.checkout-option small {
    color: #746c65;
    font-size: 0.76rem;
}

.checkout-option b {
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    font-weight: 500;
}

.checkout-checkbox {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 2rem;
    color: #746c65;
    font-size: 0.8rem;
    line-height: 1.6;
}

.checkout-checkbox input {
    margin-top: 0.25rem;
    accent-color: var(--accent-gold);
}

.checkout-checkbox a {
    color: var(--accent-gold);
}

.checkout-summary {
    position: sticky;
    top: 110px;
    padding: 1.6rem;
}

.checkout-summary__items {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid #e7ddd1;
}

.checkout-summary__item,
.checkout-summary__line,
.checkout-summary__total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-summary__item {
    color: #746c65;
    font-size: 0.83rem;
    line-height: 1.45;
}

.checkout-summary__item strong {
    color: var(--primary-dark);
    font-size: 0.85rem;
    white-space: nowrap;
}

.checkout-summary__item small {
    color: var(--accent-gold);
}

.checkout-summary__line {
    margin-top: 0.8rem;
    color: #746c65;
    font-size: 0.88rem;
}

.checkout-summary__line strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.checkout-summary__total {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e7ddd1;
    font-size: 1.05rem;
}

.checkout-summary__total strong {
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    font-weight: 600;
}

.checkout-submit {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.5rem;
    border: 0;
    border-radius: 10px;
    background: var(--primary-dark);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.checkout-submit:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.checkout-summary__note {
    margin: 0.9rem 0 0;
    color: #817870;
    font-size: 0.73rem;
    line-height: 1.5;
    text-align: center;
}

.checkout-empty {
    margin: 0;
    color: #746c65;
    font-size: 0.88rem;
}

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

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 600px) {
    .checkout-page {
        padding-top: 3rem;
    }

    .checkout-form-card,
    .checkout-summary {
        padding: 1.25rem;
    }

    .checkout-fields,
    .checkout-fields--address {
        grid-template-columns: 1fr;
    }
}
/* Delikatniejsza typografia strony zamówienia */

.checkout-page {
    font-family: "Plus Jakarta Sans", sans-serif;
}

.checkout-page h1,
.checkout-page h2,
.checkout-summary__total strong {
    font-family: "Playfair Display", serif;
}

.checkout-form-card h2,
.checkout-summary h2 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

.checkout-fields label,
.checkout-option strong,
.checkout-submit {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
}

.checkout-fields input,
.checkout-option small,
.checkout-summary__item,
.checkout-summary__line,
.checkout-checkbox {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 400;
}
.cart-drawer__header h2 {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.cart-drawer__total {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
}

/* ===== WYSZUKIWARKA ===== */

.search-form {
    margin: 0;
}

.search-form .search-input {
    width: 100%;
}

.search-page {
    min-height: 65vh;
    padding: 5rem 0 6rem;
}

.search-hero {
    max-width: 720px;
    margin: 0 auto 3.25rem;
    padding: 0 1.5rem;
    text-align: center;
}

.search-hero h1 {
    margin: 0.55rem 0 1.5rem;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 4.8vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.search-page__form {
    display: flex;
    overflow: hidden;
    border: 1px solid #e4d9cd;
    border-radius: 12px;
    background: #fff;
}

.search-page__form input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 1rem 1.1rem;
    color: var(--primary-dark);
    font: inherit;
}

.search-page__form button {
    min-width: 110px;
    border: 0;
    background: var(--primary-dark);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: background 0.2s ease;
}

.search-page__form button:hover {
    background: var(--accent-gold);
}

.search-results {
    max-width: 1200px;
}

.search-results__info {
    margin: 0 0 1.5rem;
    color: #746c65;
}

.search-results__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.search-product-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 1.35rem;
    border: 1px solid #e7ddd1;
    border-radius: 18px;
    background: #fff;
}

.search-product-card__image {
    display: grid;
    min-height: 220px;
    place-items: center;
    border-radius: 12px;
    background: #f7f3ee;
    color: #9b938a;
    text-decoration: none;
}

.search-product-card__category {
    margin: 1.2rem 0 0.45rem;
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.search-product-card h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.35;
}

.search-product-card h2 a {
    color: var(--primary-dark);
    text-decoration: none;
}

.search-product-card h2 a:hover {
    color: var(--accent-gold);
}

.search-product-card__price {
    margin: 1rem 0 1.2rem;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
}

.search-product-card__button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border-radius: 999px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-product-card__button:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.search-empty {
    max-width: 560px;
    margin: 3rem auto;
    padding: 3.5rem 2rem;
    border: 1px solid #e7ddd1;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.search-empty span {
    color: var(--accent-gold);
    font-size: 2.5rem;
}

.search-empty h2 {
    margin: 0.7rem 0;
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

.search-empty p {
    color: #746c65;
}

.search-empty a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
}

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

@media (max-width: 560px) {
    .search-page {
        padding-top: 3.2rem;
    }

    .search-page__form button {
        min-width: 90px;
    }

    .search-results__grid {
        grid-template-columns: 1fr;
    }
}

/* Podpowiedzi wyszukiwania */

.search-form {
    position: relative;
}

.search-suggestions {
    position: absolute;
    z-index: 950;
    top: calc(100% + 0.65rem);
    right: 0;
    display: none;
    width: min(420px, 86vw);
    overflow: hidden;
    border: 1px solid #e7ddd1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(27, 24, 21, 0.14);
}

.search-suggestions.is-visible {
    display: block;
}

.search-suggestions__item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #f0e9e1;
    color: var(--primary-dark);
    text-decoration: none;
    transition: background 0.2s ease;
}

.search-suggestions__item:last-child {
    border-bottom: 0;
}

.search-suggestions__item:hover {
    background: #fffaf1;
}

.search-suggestions__image {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #f5eee4;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
}

.search-suggestions__item span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.2rem;
}

.search-suggestions__item small {
    color: var(--accent-gold);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-suggestions__item strong {
    overflow: hidden;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestions__item b {
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 0.86rem;
    font-weight: 500;
    white-space: nowrap;
}

.search-suggestions__empty {
    padding: 1rem;
    color: #746c65;
    font-size: 0.82rem;
    text-align: center;
}

/* ===== WKŁADY SIMPLE GOLD — WIDOK PRODUKTU ===== */

.product-details__content h1 {
    max-width: 560px;
    margin: 0.65rem 0 1.15rem;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.35rem, 3.65vw, 3.75rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.product-details__content h1 span {
    display: block;
    margin-top: 0.15rem;
    color: #5f564e;
    font-size: 0.66em;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.product-gallery {
    min-height: 680px;
}

.product-gallery img {
    display: block;
    width: 100%;
    height: 680px;
    border-radius: 12px;
    object-fit: cover;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 0 1.35rem;
}

.product-price__topline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-price__badge {
    display: inline-flex;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #f5e7cd;
    color: #9a722e;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-price__regular {
    color: #8c837a;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.76rem;
}

.product-price__regular del {
    color: #8c837a;
    text-decoration-color: #b89a62;
    text-decoration-thickness: 1px;
}

.product-price__current {
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.product-specifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.3rem 0;
}

.product-specifications span {
    padding: 0.45rem 0.7rem;
    border: 1px solid #e7d9c8;
    border-radius: 999px;
    color: #746c65;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.72rem;
}

.product-preorder-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1.3rem 0 1.6rem;
    padding: 0.85rem 1rem;
    border: 1px solid #ead9ba;
    border-radius: 10px;
    background: #fffaf1;
}

.product-preorder-info__label {
    color: var(--accent-gold);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.product-preorder-info p {
    margin: 0;
    color: #70675f;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.78rem;
}

.product-preorder-info strong {
    color: var(--primary-dark);
    font-weight: 600;
}

@media (max-width: 900px) {
    .product-gallery,
    .product-gallery img {
        min-height: 0;
        height: auto;
    }
}

.product-description__grid ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 1rem 0 0;
    padding-left: 1.05rem;
    color: #746c65;
    font-size: 0.88rem;
    line-height: 1.55;
}

.product-description__grid li::marker {
    color: var(--accent-gold);
}

.cart-item__image {
    overflow: hidden;
    background: #f4ede3;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-suggestions__image {
    overflow: hidden;
}

.search-suggestions__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Poprawka układu podpowiedzi wyszukiwania */

.search-suggestions {
    width: min(420px, 86vw);
}

.search-suggestions__item {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) auto !important;
    gap: 0.75rem !important;
    align-items: center !important;
    padding: 0.75rem !important;
}

.search-suggestions__item > .search-suggestions__image {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f5eee4 !important;
}

.search-suggestions__item > .search-suggestions__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.search-suggestions__item > span:nth-child(2) {
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
}

.search-suggestions__item > span:nth-child(2) small {
    display: block !important;
    color: var(--accent-gold) !important;
    font-size: 0.62rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.search-suggestions__item > span:nth-child(2) strong {
    display: block !important;
    overflow: hidden !important;
    color: var(--primary-dark) !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 0.76rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.search-suggestions__item > b {
    display: block !important;
    margin: 0 !important;
    color: var(--accent-gold) !important;
    font-family: "Playfair Display", serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

/* Nowy, stabilny układ podpowiedzi wyszukiwania */

.search-result-preview {
    display: flex !important;
    min-height: 66px !important;
    align-items: center !important;
    gap: 0.7rem !important;
    padding: 0.7rem !important;
    border-bottom: 1px solid #eee6dc !important;
    background: #fff !important;
    color: var(--primary-dark) !important;
    text-decoration: none !important;
}

.search-result-preview:last-child {
    border-bottom: 0 !important;
}

.search-result-preview:hover {
    background: #fffaf1 !important;
}

.search-result-preview__image {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f5eee4 !important;
}

.search-result-preview__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.search-result-preview__details {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 !important;
    flex-direction: column !important;
    gap: 0.18rem !important;
}

.search-result-preview__details p {
    margin: 0 !important;
    color: var(--accent-gold) !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 0.61rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.search-result-preview__details strong {
    display: block !important;
    overflow: hidden !important;
    color: var(--primary-dark) !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 0.76rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.search-result-preview__price {
    flex: 0 0 auto !important;
    color: var(--accent-gold) !important;
    font-family: "Playfair Display", serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.product-card-img {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.product-card-img img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.product-card__eyebrow,
.product-card__presale {
    display: block;
    margin-top: 1rem;
    color: var(--accent-gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-card h3 a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card h3 a:hover {
    color: var(--accent-gold);
}

.product-card__price {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.product-card__price-current {
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
}

.product-card__price del {
    color: #9a9188;
    font-size: 0.85rem;
}

.product-card__presale {
    margin-top: 0.45rem;
    font-size: 0.62rem;
}
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .btn-buy {
    margin-top: auto;
}

.product-card .btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.search-product-card__image {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #f7f3ee;
}

.search-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-card__image {
    height: 230px;
}

.search-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
    .search-product-card__image {
        height: 190px;
    }
}

.product-details__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.8rem 0 1.25rem;
}

.product-details__price-current {
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 500;
}

.product-details__price-unit {
    color: #746c65;
    font-size: 0.85rem;
}

.product-details__price-regular {
    color: #9b928a;
    font-size: 0.9rem;
    text-decoration-thickness: 1px;
}

.product-details__presale-note {
    margin: 1.25rem 0 1.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid #ead4ae;
    border-radius: 12px;
    background: #fffaf1;
    color: #655c54;
    font-size: 0.88rem;
}

.product-details__presale-note span {
    margin-right: 0.45rem;
    color: var(--accent-gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.categories-modal__personalization {
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid #e8ddd0;
}

.categories-modal__personalization p {
    margin: 0 0 0.7rem;
    color: #746c65;
    font-size: 0.9rem;
}

.category-option--personalization {
    background: #fffaf1;
    border-color: #d2a957;
    color: var(--primary-dark);
}

.categories-modal__personalization {
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid #e8ddd0;
    text-align: center;
}

.categories-modal__personalization p {
    margin: 0 0 0.55rem;
    color: #746c65;
    font-size: 0.9rem;
}

.categories-modal__personalization-link {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.categories-modal__personalization-link:hover {
    color: var(--primary-dark);
}

.product-details__pricing {
    margin: 0.9rem 0 1.4rem;
}

.product-details__price {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
}

.product-details__price-current {
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 500;
}

.product-details__price-unit {
    color: #746c65;
    font-size: 0.85rem;
}

.product-details__price-regular {
    margin: 0.3rem 0 0;
    color: #8d847b;
    font-size: 0.8rem;
}

.product-details__price-regular del {
    color: #8d847b;
    text-decoration-thickness: 1px;
}

.product-gallery {
    overflow: hidden;
    border: 1px solid #e8ddd0;
    border-radius: 20px;
    background: #fff;
}

.product-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.category-products--single {
    grid-template-columns: minmax(0, 560px);
}

.shop-category-card__visual {
    overflow: hidden;
}

.shop-category-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.shop-category-card:hover .shop-category-card__visual img {
    transform: scale(1.04);
}

.shop-category-card__visual {
    height: 245px;
}

.shop-category-card__visual img {
    height: 100%;
    object-fit: cover;
}

.product-details__content h1 .product-title-variant {
    display: block;
    margin-top: 0.15em;
    color: #8d7250;
    font-size: 0.58em;
    font-weight: 400;
    line-height: 1.1;
}

.personalized-card-picker {
    margin-top: 1.75rem;
    padding: 1.4rem;
    border-radius: 16px;
    background: #f5eee3;
}

.personalized-card-picker p {
    margin: 0 0 1rem;
}

.personalized-card-picker__open {
    width: 100%;
}

.personalized-card-picker__status {
    margin: 0.9rem 0 0 !important;
    color: var(--accent-gold);
    font-size: 0.88rem;
    text-align: center;
}

.product-details__add:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.personalization-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.personalization-modal.is-open {
    display: flex;
}

.personalization-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(27, 24, 21, 0.62);
}

.personalization-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(650px, 100%);
    max-height: min(760px, calc(100vh - 2.5rem));
    overflow-y: auto;
    padding: 2.5rem;
    border-radius: 20px;
    background: #fffdfa;
    box-shadow: 0 25px 70px rgba(27, 24, 21, 0.25);
}

.personalization-modal__dialog h2 {
    margin: 0.45rem 0 0.75rem;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 500;
}

.personalization-modal__intro {
    max-width: 510px;
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}

.personalization-modal__close {
    position: absolute;
    top: 1.15rem;
    right: 1.35rem;
    border: 0;
    background: transparent;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

.personalization-fields {
    display: grid;
    gap: 0.7rem;
}

.personalization-field {
    display: flex;
    gap: 0.65rem;
}

.personalization-field input {
    min-width: 0;
    flex: 1;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    color: var(--primary-dark);
    font: inherit;
}

.personalization-field input:focus {
    border-color: var(--accent-gold);
    outline: none;
}

.personalization-field__remove {
    width: 44px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 1.35rem;
}

.personalization-field__remove:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.personalization-add-field {
    margin-top: 1rem;
    border: 0;
    background: transparent;
    color: var(--accent-gold);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.personalization-modal__error {
    min-height: 1.3rem;
    margin: 0.8rem 0 0;
    color: #9b3939;
    font-size: 0.85rem;
}

.personalization-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.personalization-modal__footer p {
    margin: 0;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.08rem;
}

@media (max-width: 560px) {
    .personalization-modal__dialog {
        padding: 2.25rem 1.25rem 1.4rem;
    }

    .personalization-modal__footer {
        align-items: stretch;
        flex-direction: column;
    }
}

.product-price__unit {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-muted);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.35;
}

/* Wyrównanie kart produktów w kategorii */
.category-products .product-card {
    display: flex;
    flex-direction: column;
}

.category-products .product-card h3,
.category-products .product-card .product-title {
    min-height: 5rem;
    margin-bottom: 1rem;
}

.category-products .product-card .btn-details {
    margin-top: auto;
}

.product-card__presale {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 0.7rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: #f3e5c9;
    color: #9a6d29;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

/* Elegantsze nazwy produktów w kartach */
.category-products .product-title,
.category-products .product-card h3 a {
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: 1.22rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.category-products .product-image {
    display: block;
    overflow: hidden;
    border-radius: 14px;
}

.category-products .product-image img {
    display: block;
    width: 100%;
    border-radius: inherit;
}

/* Modal kategorii otwierany z bestsellerów */
#bestsellerCategoriesModal .categories-modal__content {
    width: min(680px, calc(100vw - 2rem));
    max-height: min(780px, calc(100vh - 2rem));
    padding: 2.6rem 3.2rem;
}

#bestsellerCategoriesModal .categories-modal__content > p {
    max-width: 510px;
    margin: 0.75rem auto 1.6rem;
    color: #6f6860;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.94rem;
    line-height: 1.6;
    text-align: center;
}

#bestsellerCategoriesModal .categories-modal__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    max-height: 330px;
    padding-right: 0.45rem;
    overflow-y: auto;
}

#bestsellerCategoriesModal .category-choice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #e8dccb;
    border-radius: 10px;
    background: #fffdfa;
    color: #2b2723;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

#bestsellerCategoriesModal .category-choice:hover {
    border-color: #c5a059;
    background: #fdf8ef;
}

#bestsellerCategoriesModal .category-choice:has(input:checked) {
    border-color: #c5a059;
    background: #fbf3e4;
}

#bestsellerCategoriesModal .category-choice input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: #c5a059;
    cursor: pointer;
}

#bestsellerCategoriesModal .categories-modal__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid #e8dccb;
    color: #b48740;
    font-family: "Playfair Display", serif;
    font-size: 1rem;
}

#bestsellerCategoriesModal .categories-modal__summary .btn-buy {
    width: auto;
    min-width: 190px;
    padding: 0.82rem 1.3rem;
    border: 0;
    outline: 0;
    box-shadow: none;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
}

#bestsellerCategoriesModal .categories-modal__summary .btn-buy:disabled {
    background: #aaa7a2;
    color: #fff;
    cursor: not-allowed;
    opacity: 1;
}

@media (max-width: 600px) {
    #bestsellerCategoriesModal .categories-modal__content {
        padding: 2.2rem 1.25rem 1.4rem;
    }

    #bestsellerCategoriesModal .categories-modal__options {
        grid-template-columns: 1fr;
        max-height: 300px;
    }

    #bestsellerCategoriesModal .categories-modal__summary {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    #bestsellerCategoriesModal .categories-modal__summary .btn-buy {
        width: 100%;
    }
}

.product-details__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.45rem 0;
}

.product-details__tags span {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.78rem;
    border: 1px solid #e8dccb;
    border-radius: 999px;
    color: #6f6860;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.78rem;
    line-height: 1;
}

.product-details__presale-note {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1.2rem 0 1.8rem;
    padding: 0.8rem 1rem;
    border: 1px solid #e7c98d;
    border-radius: 10px;
    background: #fffaf0;
    color: #5f5447;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.85rem;
}

.product-details__presale-note strong {
    color: #b27d28;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.all-products-grid .product-card h3,
.all-products-grid .product-card h3 a {
    font-family: "Playfair Display", serif;
    font-size: 1.28rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--primary-dark);
}

.all-products-grid .product-card h3 a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.all-products-grid .product-card h3 a:hover {
    color: var(--accent-gold);
}

/* Gra Urodzinowa – pokaż całe zdjęcie bez przycinania */
.product-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #f7f1e8;
}

/* Gra Urodzinowa – zdjęcie bez pustej ramki */
.product-gallery--birthday {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 18px;
}

.product-gallery--birthday img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: initial;
    background: transparent;
    border-radius: 18px;
}

/* Karuzela zdjęć – Gra Urodzinowa */
.product-gallery--birthday {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
}

.birthday-carousel {
    position: relative;
}

.birthday-carousel > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.birthday-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 2.8rem;
    height: 2.8rem;
    border: 0;
    border-radius: 50%;
    background: var(--primary-dark);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.birthday-carousel__arrow:hover {
    background: var(--accent-gold);
    transform: translateY(-50%) scale(1.06);
}

.birthday-carousel__arrow--prev {
    left: 1rem;
}

.birthday-carousel__arrow--next {
    right: 1rem;
}

.birthday-carousel__thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.birthday-carousel__thumb {
    width: 4.8rem;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.birthday-carousel__thumb.is-active {
    border-color: var(--accent-gold);
}

@media (max-width: 700px) {
    .birthday-carousel__arrow {
        width: 2.4rem;
        height: 2.4rem;
    }
}

/* Poprawka miniatur w karuzeli Urodzinowej Przygody */
.product-gallery--birthday .birthday-carousel__thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.product-gallery--birthday .birthday-carousel__thumb {
    flex: 0 0 4.8rem;
    width: 4.8rem;
    height: 4.8rem;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.product-gallery--birthday .birthday-carousel__thumb img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto;
    object-fit: cover !important;
    border-radius: 8px;
}

.product-gallery--birthday .birthday-carousel__thumb.is-active {
    border-color: var(--accent-gold);
}

.product-gallery--birthday .birthday-carousel__thumb {
    flex: 0 0 4.8rem;
    width: 4.8rem;
    height: 4.8rem;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #f7f0e4;
    cursor: pointer;
}

.product-gallery--birthday .birthday-carousel__thumb img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center;
    border-radius: 8px;
}

.product-gallery__note {
    margin: 0.75rem 0 0;
    color: #847d75;
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
}

.product-details__price-wrap {
    margin-bottom: 1rem;
}

.product-details__intro {
    margin-top: 0;
}

/* Miniatury karuzeli — Gra Urodzinowa */
.product-gallery--birthday .birthday-carousel__thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.product-gallery--birthday .birthday-carousel__thumb {
    display: block;
    flex: 0 0 4.8rem;
    width: 4.8rem;
    height: 4.8rem;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #f7f0e4;
    cursor: pointer;
}

.product-gallery--birthday .birthday-carousel__thumb.is-active {
    border-color: var(--accent-gold);
}

.product-gallery--birthday .birthday-carousel__thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
}

.product-gallery--birthday .birthday-carousel__thumb {
    flex: 0 0 4.8rem;
    width: 4.8rem;
    height: 4.8rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    background-color: #f7f0e4;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}

.product-gallery--birthday .birthday-carousel__thumb.is-active {
    border-color: var(--accent-gold);
}

/* Urodzinowa Przygoda 600 — ciaśniejszy układ ceny i opisu */
.product-page .product-details__price {
    margin: 0.2rem 0 0.2rem;
}

.product-page .product-details__intro {
    margin: 0;
}

/* Wyzwanie 100 kopert — galeria produktu */

.challenge-carousel {
    min-width: 0;
}

.challenge-carousel__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
    padding: 1rem;
    overflow: hidden;
    background: #f7f2ea;
    border: 1px solid #e4d8c8;
    border-radius: 18px;
}

.challenge-carousel__stage img {
    display: block;
    width: 100%;
    height: 650px;
    object-fit: contain;
    border-radius: 12px;
}

.challenge-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #fff;
    font-size: 1.25rem;
    background: #1b1815;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.challenge-carousel__arrow:hover {
    color: #1b1815;
    background: #c5a059;
    transform: translateY(-50%) scale(1.06);
}

.challenge-carousel__arrow--previous {
    left: 18px;
}

.challenge-carousel__arrow--next {
    right: 18px;
}

.challenge-carousel__note {
    margin: 0.75rem 0 0;
    color: #81776e;
    font-size: 0.82rem;
    text-align: center;
}

.challenge-carousel__thumbnails {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.challenge-carousel__thumbnail {
    width: 76px;
    height: 76px;
    padding: 4px;
    overflow: hidden;
    background: #f7f2ea;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
}

.challenge-carousel__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.challenge-carousel__thumbnail.is-active {
    border-color: #c5a059;
    box-shadow: 0 0 0 1px #c5a059;
}

.product-title-variant {
    display: block;
    color: #a67c38;
    font-size: 0.68em;
    font-weight: 400;
}

.product-sale-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-sale-badge {
    padding: 0.4rem 0.75rem;
    color: #9b6d26;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    background: #f7e9c9;
    border-radius: 999px;
}

.product-regular-price {
    color: #81776e;
    font-size: 0.86rem;
}

.product-presale-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    padding: 0.9rem 1rem;
    border: 1px solid #dfc18c;
    border-radius: 12px;
}

.product-presale-note span {
    color: #b17a2b;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.product-presale-note p {
    margin: 0;
}

@media (max-width: 768px) {
    .challenge-carousel__stage {
        min-height: 430px;
        padding: 0.6rem;
    }

    .challenge-carousel__stage img {
        height: 430px;
    }

    .challenge-carousel__arrow {
        width: 38px;
        height: 38px;
    }

    .challenge-carousel__arrow--previous {
        left: 10px;
    }

    .challenge-carousel__arrow--next {
        right: 10px;
    }

    .challenge-carousel__thumbnail {
        width: 64px;
        height: 64px;
    }

    .product-presale-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }
}

/* Karuzela – Wyzwanie 100 kopert */

.challenge-carousel {
    width: 100%;
    min-width: 0;
}

.challenge-carousel__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(480px, 62vw, 650px);
    padding: 18px;
    overflow: hidden;
    background: #f7f1e7;
    border: 1px solid #e6d8c4;
    border-radius: 22px;
}

.challenge-carousel__stage > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
}

.challenge-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    background: #1b1815;
    border: 0;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.challenge-carousel__arrow:hover {
    color: #1b1815;
    background: #c5a059;
    transform: translateY(-50%) scale(1.06);
}

.challenge-carousel__arrow--prev {
    left: 18px;
}

.challenge-carousel__arrow--next {
    right: 18px;
}

.challenge-carousel__note {
    margin: 14px 0 12px;
    color: #85796f;
    font-size: 0.85rem;
    text-align: center;
}

.challenge-carousel__thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.challenge-carousel__thumb {
    width: 76px;
    height: 86px;
    padding: 5px;
    overflow: hidden;
    background: #f7f1e7;
    border: 1px solid transparent;
    border-radius: 13px;
    outline: none;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.challenge-carousel__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

.challenge-carousel__thumb:hover,
.challenge-carousel__thumb.is-active {
    border-color: #c5a059;
    box-shadow: 0 5px 16px rgba(197, 160, 89, 0.18);
    transform: translateY(-2px);
}

.challenge-carousel__thumb:focus-visible,
.challenge-carousel__arrow:focus-visible {
    outline: 2px solid #c5a059;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .challenge-carousel__stage {
        height: 520px;
        padding: 12px;
        border-radius: 16px;
    }

    .challenge-carousel__arrow {
        width: 40px;
        height: 40px;
    }

    .challenge-carousel__arrow--prev {
        left: 10px;
    }

    .challenge-carousel__arrow--next {
        right: 10px;
    }

    .challenge-carousel__thumb {
        width: 64px;
        height: 74px;
    }
}

/* Galeria – Wyzwanie 100 kopert */
.challenge-carousel {
    width: 100%;
    min-width: 0;
}

.challenge-carousel__stage {
    position: relative;
    width: 100%;
    height: clamp(500px, 61vw, 650px);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7d9c8;
    border-radius: 18px;
}

.challenge-carousel__stage > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

.challenge-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    background: #1b1815;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(27, 24, 21, 0.18);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.challenge-carousel__arrow:hover {
    background: #c5a059;
    transform: translateY(-50%) scale(1.05);
}

.challenge-carousel__arrow:focus-visible {
    outline: 2px solid #c5a059;
    outline-offset: 3px;
}

.challenge-carousel__arrow--prev {
    left: 28px;
}

.challenge-carousel__arrow--next {
    right: 28px;
}

.challenge-carousel__note {
    margin: 14px 0 0;
    color: #8b8178;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

/* Miniaturki są poza ramką głównego zdjęcia */
.challenge-carousel__thumbnails {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 0 4px;
}

.challenge-carousel__thumb {
    width: 76px;
    height: 88px;
    padding: 5px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7d9c8;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.72;
    transition:
        opacity 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.challenge-carousel__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 7px;
}

.challenge-carousel__thumb:hover {
    opacity: 1;
    border-color: #c5a059;
    transform: translateY(-2px);
}

.challenge-carousel__thumb.is-active {
    opacity: 1;
    border: 2px solid #c5a059;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.16);
}

.challenge-carousel__thumb:focus-visible {
    outline: 2px solid #c5a059;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .challenge-carousel__stage {
        height: clamp(430px, 100vw, 610px);
    }
}

@media (max-width: 600px) {
    .challenge-carousel__stage {
        height: 490px;
        padding: 10px;
        border-radius: 14px;
    }

    .challenge-carousel__arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .challenge-carousel__arrow--prev {
        left: 18px;
    }

    .challenge-carousel__arrow--next {
        right: 18px;
    }

    .challenge-carousel__thumbnails {
        justify-content: center;
        gap: 9px;
        margin-top: 15px;
    }

    .challenge-carousel__thumb {
        width: 66px;
        height: 76px;
    }
}

/* Galeria produktu – Wyzwanie 100 kopert */

.challenge-gallery {
    width: 100%;
    max-width: 500px;
    min-width: 0;
    justify-self: center;
}

.challenge-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 0.94;
    padding: 12px;
    overflow: hidden;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e6d9ca;
    border-radius: 18px;
}

.challenge-carousel__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f8f4ee;
    border-radius: 12px;
}

.challenge-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    background: #1b1815;
    border: 0;
    border-radius: 50%;
    outline: 0;
    box-shadow: 0 7px 18px rgba(27, 24, 21, 0.17);
    transform: translateY(-50%);
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.challenge-carousel__arrow:hover {
    color: #ffffff;
    background: #c5a059;
    transform: translateY(-50%) scale(1.06);
}

.challenge-carousel__arrow:focus,
.challenge-carousel__arrow:focus-visible {
    border: 0;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
}

.challenge-carousel__arrow--previous {
    left: 16px;
}

.challenge-carousel__arrow--next {
    right: 16px;
}

.challenge-gallery__note {
    margin: 12px 0 0;
    color: #8a8179;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.challenge-carousel__thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.challenge-carousel__thumbnail {
    width: 66px;
    height: 78px;
    padding: 4px;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #e6d9ca;
    border-radius: 11px;
    outline: 0;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.challenge-carousel__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 7px;
}

.challenge-carousel__thumbnail:hover {
    border-color: #c5a059;
    transform: translateY(-2px);
}

.challenge-carousel__thumbnail.is-active {
    border: 2px solid #c5a059;
    box-shadow: 0 5px 14px rgba(197, 160, 89, 0.16);
}

.challenge-carousel__thumbnail:focus,
.challenge-carousel__thumbnail:focus-visible {
    outline: 0;
}

@media (max-width: 900px) {
    .challenge-gallery {
        max-width: 540px;
        margin-inline: auto;
    }
}

@media (max-width: 600px) {
    .challenge-carousel {
        padding: 8px;
        border-radius: 14px;
    }

    .challenge-carousel__arrow {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .challenge-carousel__arrow--previous {
        left: 12px;
    }

    .challenge-carousel__arrow--next {
        right: 12px;
    }

    .challenge-carousel__thumbnail {
        width: 58px;
        height: 68px;
    }
}

/* Galeria produktu — samo zdjęcie bez ramki */
.challenge-gallery {
    max-width: 500px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.challenge-carousel {
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.challenge-carousel__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    border-radius: 16px;
}

/* Miniaturki nadal osobno pod zdjęciem */
.challenge-gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.challenge-gallery__thumb {
    width: 66px;
    height: 78px;
    padding: 3px;
    overflow: hidden;
    background: transparent;
    border: 1px solid #e6dac9;
    border-radius: 11px;
}

.challenge-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.challenge-gallery__thumb.is-active {
    border-color: var(--accent-gold);
}

/* Powiększanie zdjęcia produktu */
.js-product-zoom {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 6000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
    background: rgba(27, 24, 21, 0.9);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease;
}

.image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-lightbox__image {
    display: block;

    width: auto;
    height: auto;
    max-width: min(92vw, 1100px);
    max-height: 90vh;

    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.image-lightbox__close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 1;

    width: 44px;
    height: 44px;

    padding: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;

    background: #ffffff;
    color: #1b1815;

    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 1;

    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.image-lightbox__close:hover {
    color: #ffffff;
    background: #c5a059;
    transform: scale(1.05);
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .image-lightbox {
        padding: 14px;
    }

    .image-lightbox__image {
        max-width: 94vw;
        max-height: 84vh;
        border-radius: 10px;
    }

    .image-lightbox__close {
        top: 12px;
        right: 12px;
    }
}

/* ==================================================
   KATEGORIA — STATUSY FINANSOWE
================================================== */

.status-category-page {
    width: min(1420px, calc(100% - 48px));
    margin: 0 auto;
    padding: 76px 0 110px;
}

.status-category-hero {
    max-width: 820px;
    margin: 0 auto 54px;
    text-align: center;
}

.status-category-hero .section-subtitle {
    display: block;
    margin-bottom: 18px;
    color: var(--accent-gold);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.status-category-hero h1 {
    margin: 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
}

.status-category-hero p {
    max-width: 700px;
    margin: 22px auto 0;
    color: #71665e;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

.status-category-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 38px;
}

/* Panel kategorii */

.status-category-sidebar {
    position: sticky;
    top: 150px;
    padding: 28px 24px;
    border: 1px solid #e5d8c9;
    border-radius: 18px;
    background: #fff;
}

.status-category-sidebar h2 {
    margin: 0 0 20px;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.status-category-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.status-category-sidebar a {
    display: block;
    padding: 13px 15px;
    border-radius: 10px;
    color: #75685f;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.92rem;
    line-height: 1.35;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.status-category-sidebar a:hover {
    color: var(--primary-dark);
    background: #f6efe5;
    transform: translateX(3px);
}

.status-category-sidebar a.is-active {
    color: #fff;
    background: var(--primary-dark);
    font-weight: 600;
}

/* Siatka produktów */

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

.status-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5d8c9;
    border-radius: 18px;
    background: #fff;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.status-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.55);
    box-shadow: 0 18px 38px rgba(27, 24, 21, 0.08);
}

.status-product-card__visual {
    display: grid;
    min-height: 320px;
    margin: 20px 20px 0;
    place-items: center;
    overflow: hidden;
    border: 1px dashed #dfd0bf;
    border-radius: 14px;
    color: #a29488;
    background:
        linear-gradient(
            145deg,
            rgba(197, 160, 89, 0.08),
            rgba(255, 255, 255, 0.5)
        ),
        #f8f4ee;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.9rem;
}

.status-product-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.status-product-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px;
}

.status-product-card__category {
    margin-bottom: 13px;
    color: var(--accent-gold);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.status-product-card h2 {
    margin: 0;
    color: var(--primary-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 500;
    line-height: 1.25;
}

.status-product-card__description {
    margin: 17px 0 0;
    color: #70645c;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.92rem;
    line-height: 1.75;
}

.status-product-card__variants {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
}

.status-product-card__variants span {
    padding: 8px 12px;
    border: 1px solid #e2d2bf;
    border-radius: 999px;
    color: #786a60;
    background: #fcfaf7;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.75rem;
}

.status-product-card__price {
    margin: auto 0 18px;
    padding-top: 12px;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-size: 1.15rem;
}

.status-product-card__button {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: var(--primary-dark);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.status-product-card__button:not([aria-disabled="true"]):hover {
    color: var(--primary-dark);
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.status-product-card__button[aria-disabled="true"] {
    cursor: default;
    opacity: 0.6;
    pointer-events: none;
}

/* Tablet */

@media (max-width: 1050px) {
    .status-category-page {
        width: min(100% - 36px, 920px);
        padding-top: 58px;
    }

    .status-category-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px;
    }

    .status-products-grid {
        grid-template-columns: 1fr;
    }

    .status-product-card__visual {
        min-height: 360px;
    }
}

/* Telefon */

@media (max-width: 760px) {
    .status-category-page {
        width: min(100% - 28px, 620px);
        padding: 42px 0 72px;
    }

    .status-category-hero {
        margin-bottom: 34px;
    }

    .status-category-hero p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .status-category-layout {
        display: block;
    }

    .status-category-sidebar {
        position: static;
        margin-bottom: 26px;
        padding: 20px;
    }

    .status-category-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .status-category-sidebar a {
        padding: 11px 10px;
        text-align: center;
    }

    .status-products-grid {
        grid-template-columns: 1fr;
    }

    .status-product-card__visual {
        min-height: 270px;
        margin: 14px 14px 0;
    }

    .status-product-card__visual img {
        min-height: 270px;
    }

    .status-product-card__content {
        padding: 24px 21px;
    }
}

@media (max-width: 440px) {
    .status-category-sidebar nav {
        grid-template-columns: 1fr;
    }
}

.product-variants {
    margin: 1.5rem 0;
}

.variants-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.variants-options {
    display: flex;
    gap: 10px;
}

.variant-btn {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    background-color: transparent;
    cursor: pointer;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.variant-btn:hover {
    border-color: #c5a880;
}

.variant-btn.active {
    border-color: #c5a880;
    box-shadow: 0 0 0 1px #c5a880;
    font-weight: 500;
}

/* KONTENER OBRAZKA - zmieniamy na pionowy prostokąt! */
.search-result-preview__image {
    width: 50px;  /* Węższy */
    height: 70px; /* Wyższy - proporcje dopasowane do wkładek i kart */
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff; /* Zmieniamy na biały, żeby całość wyglądała lżej */
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    padding: 2px; /* Dajemy odrobinę oddechu wokół produktu */
}

/* SAM OBRAZEK */
.search-result-preview__image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Gwarantuje, że cały produkt będzie widoczny */
    object-position: top center; /* Trzyma się górnej krawędzi, gdzie są nazwy */
    display: block;
}

/* Pudełko informacyjne dla planerów */
.product-notice-box {
    background-color: #fcfbfa;
    border: 1px solid #e8e1d7;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-notice-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: #4a4a4a;
    line-height: 1.4;
}

.product-notice-item svg {
    color: #c5a880; /* Twój elegancki odcień złotego/beżu */
    flex-shrink: 0;
    margin-top: 2px;
}

/* Delikatna modyfikacja dla wyzwań / ważnych informacji o braku elementów */
.product-notice-box--warning {
    border-color: #dfd3c3;
    background-color: #fffdf9;
}

/* Styl dla pustych / nadchodzących kategorii */
.empty-category-notice {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 40px auto;
    background-color: #fcfbfa;
    border: 1px solid #e8e1d7;
    border-radius: 12px;
}

.empty-category-icon {
    color: #c5a880;
    margin-bottom: 15px;
}

.empty-category-notice h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.empty-category-notice p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-back-to-shop {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.btn-back-to-shop:hover {
    background-color: #c5a880;
}

/* Dopasowanie serduszka do stylu kontrolki ilości */
.product-page-wishlist {
    position: static !important;
    width: 48px;  /* Szerokość dopasowana do wysokości */
    height: 48px; /* Taka sama wysokość jak selektor ilości */
    background-color: #fffdf9; /* Ten sam ciepły, jasny odcień tła */
    border: 1px solid #e8e1d7; /* Ta sama subtelna beżowa ramka */
    border-radius: 24px; /* Zaokrąglenia pasujące do stylów strony */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #4a4a4a;
}

/* Delikatny efekt po najechaniu myszką */
.product-page-wishlist:hover {
    border-color: #c5a880;
    color: #c5a880;
}

/* Stan aktywny (polubiony) – spójny ze złotym akcentem sklepu */
.product-page-wishlist.active {
    background-color: #c5a880;
    border-color: #c5a880;
    color: #fff;
}

.product-page-wishlist.active svg {
    fill: currentColor;
}

/* Styl przycisku ulubionych obok ilości */
.product-page-wishlist {
    position: static !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    background-color: #fffdf9;
    border: 1px solid #e8e1d7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #4a4a4a;
    flex-shrink: 0;
}

.product-page-wishlist:hover {
    border-color: #c5a880;
    color: #c5a880;
}

/* Stan aktywny (po kliknięciu) */
.product-page-wishlist.active {
    background-color: #c5a880;
    border-color: #c5a880;
    color: #fff;
}

.product-page-wishlist.active svg {
    fill: currentColor; /* Wypełnia serduszko na złoto/biało */
}

/* Styl okrągłego przycisku ulubionych (takiego samego jak na kafelkach) */
.product-page-wishlist-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    color: #c5a880; /* Złoty kolor serduszka */
    z-index: 5;
    padding: 0;
}

.product-page-wishlist-badge:hover {
    transform: scale(1.05);
}

/* Stan aktywny (po kliknięciu - wypełnione serduszko lub złoty akcent) */
.product-page-wishlist-badge.active {
    background-color: #ffffff;
}

.product-page-wishlist-badge.active svg {
    fill: #c5a880; /* Wypełnia serce na złoto */
}

/* Styl kontenera listy kategorii w modalu */
.categories-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Dwie kolumny na start */
    gap: 12px 20px; /* Odstępy między elementami */
    max-height: 320px; /* Ograniczenie wysokości, żeby pojawił się scroll, jeśli kafelków jest dużo */
    overflow-y: auto;
    padding: 10px 5px;
    margin: 20px 0;
}

/* Pojedyncza opcja z checkboxem */
.categories-list .category-option,
.categories-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
}

/* Styl samego checkboxa (opcjonalnie dla spójności) */
.categories-list input[type="checkbox"] {
    accent-color: #c5a880; /* Dopasowanie koloru do Twojego motywu (złoty/beż) */
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media (min-width: 640px) {
    .categories-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* Możesz zmienić na 3, jeśli wolisz drobniejszy układ */
    }
}

/* ==================================================
   FIX — MODAL KARUZELI PLANERA
================================================== */

.modal-overlay {
    align-items: flex-start !important;
    overflow-y: auto !important;
    padding: 16px !important;
}

.planner-modal {
    width: min(94vw, 940px) !important;
    max-width: 940px !important;

    /* modal nigdy nie wyższy niż ekran */
    max-height: calc(100dvh - 32px) !important;
    overflow-y: auto !important;

    margin: auto !important;
    padding: 24px 32px !important;
    box-sizing: border-box !important;
}

/* GŁÓWNY WINOWAJCA */
.planner-stage {
    width: 100% !important;
    height: min(52dvh, 520px) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
}

.planner-stage img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* trochę mniej pustego miejsca pod zdjęciem */
.planner-gallery__caption {
    margin: 1rem auto 0.8rem !important;
}

/* niskie ekrany laptopów */
@media (max-height: 800px) {
    .planner-stage {
        height: 48dvh !important;
        min-height: 0 !important;
    }

    .planner-modal {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    .planner-gallery__caption {
        margin-top: 0.7rem !important;
        margin-bottom: 0.6rem !important;
    }
}

/* telefon */
@media (max-width: 650px) {
    .modal-overlay {
        padding: 8px !important;
    }

    .planner-modal {
        max-height: calc(100dvh - 16px) !important;
        padding: 16px 12px !important;
    }

    .planner-stage {
        height: 48dvh !important;
        min-height: 0 !important;
    }
}

/* GLOBALNY FIX — SKLEP W MENU */

.main-header .nav-links .dropdown > a {
    color: var(--primary-dark, #1b1815) !important;
}

.main-header .nav-links .dropdown > a.active {
    color: var(--primary-dark, #1b1815) !important;
}

.main-header .nav-links .dropdown:hover > a {
    color: var(--accent-gold, #c5a059) !important;
}

.logout-btn {
    display: inline-block;
    padding: 0.85rem 1.4rem;
    background: var(--primary-dark);
    color: #fff;
    border-radius: 28px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.logout-btn:hover {
    background: var(--accent-gold);
    color: #fff;
    transform: translateY(-2px);
}

.profile-order {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.profile-order > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.profile-order p {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.profile-order span {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.profile-order__details {
    margin-top: 0.5rem;
    padding: 0.55rem 1rem;
    background: transparent;
    border: 1px solid var(--accent-gold);
    border-radius: 24px;
    color: var(--primary-dark);
    cursor: pointer;
}

.order-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

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

.order-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.order-modal__content {
    position: relative;
    z-index: 1;
    width: min(620px, calc(100% - 2rem));
    max-height: 80vh;
    overflow-y: auto;
    margin: 10vh auto;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
}

.order-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
}

.order-modal__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-modal__item p,
.order-modal__item small {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
}

.order-modal__total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

.checkout-summary__presale {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e3d2b8;
    border-radius: 10px;
    background: #faf6ef;
    color: #6f5a3d;
    line-height: 1.55;
}

.checkout-summary__presale strong {
    color: #9a6a2f;
    font-weight: 700;
}

.checkout-summary__edit {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    color: #8a6a3f;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkout-summary__edit:hover {
    opacity: 0.75;
    transform: translateX(-2px);
}

.checkout-summary__edit:focus-visible {
    outline: 2px solid #c5a880;
    outline-offset: 3px;
    border-radius: 4px;
}

.checkout-phone {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 0.65rem;
    margin-top: 0.45rem;
}

.checkout-phone select,
.checkout-phone input {
    width: 100%;
    box-sizing: border-box;
}

.checkout-phone select {
    cursor: pointer;
}

.checkout-field-error {
    display: block;
    min-height: 1.2em;
    margin-top: 0.35rem;
    color: #a4473d;
    font-size: 0.76rem;
    line-height: 1.4;
}

.checkout-country-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: -0.4rem 0 1.2rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e5d8c4;
    border-radius: 9px;
    background: #faf6ef;
    color: #6f5a3d;
    font-size: 0.88rem;
}

.checkout-country-field strong {
    color: #2d2925;
    font-weight: 600;
}

@media (max-width: 600px) {
    .checkout-phone {
        grid-template-columns: 105px minmax(0, 1fr);
    }
}

.checkout-phone {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 0.75rem;
    margin-top: 0.45rem;
}

.checkout-phone select,
.checkout-phone input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    border: 1px solid #e5d8c4;
    border-radius: 10px;
    background: #fffdf9;
    padding: 0 0.95rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.9rem;
    color: #2d2925;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.checkout-phone select {
    cursor: pointer;
    appearance: auto;
}

.checkout-phone select:focus,
.checkout-phone input:focus {
    border-color: #c5a880;
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.12);
    background: #fff;
}

.checkout-field-error {
    display: block;
    min-height: 1.15em;
    margin-top: 0.35rem;
    color: #a4473d;
    font-size: 0.75rem;
    line-height: 1.4;
}

.checkout-country-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: -0.25rem 0 1.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e5d8c4;
    border-radius: 10px;
    background: #faf6ef;
}

.checkout-country-info__icon {
    display: flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    font-size: 1rem;
}

.checkout-country-info strong,
.checkout-country-info small {
    display: block;
}

.checkout-country-info strong {
    margin-bottom: 0.15rem;
    color: #2d2925;
    font-size: 0.88rem;
    font-weight: 600;
}

.checkout-country-info small {
    color: #7c6d5d;
    font-size: 0.78rem;
    line-height: 1.45;
}

@media (max-width: 600px) {
    .checkout-phone {
        grid-template-columns: 115px minmax(0, 1fr);
    }
}

.checkout-address-autocomplete__wrapper {
    position: relative;
}

.checkout-address-suggestions {
    position: absolute;
    z-index: 50;
    top: calc(100% + 6px);
    left: 0;

    display: none;
    width: 100%;
    max-height: 260px;

    overflow-y: auto;

    border: 1px solid #e5d8c4;
    border-radius: 10px;
    background: #fff;

    box-shadow: 0 14px 35px rgba(35, 29, 22, 0.12);
}

.checkout-address-suggestions.is-visible {
    display: block;
}

.checkout-address-suggestion {
    display: block;
    width: 100%;

    border: 0;
    border-bottom: 1px solid #f0e7db;
    background: transparent;

    padding: 0.85rem 1rem;

    text-align: left;
    font: inherit;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #2d2925;

    cursor: pointer;
}

.checkout-address-suggestion:last-child {
    border-bottom: 0;
}

.checkout-address-suggestion:hover,
.checkout-address-suggestion:focus {
    background: #faf6ef;
    outline: none;
}

.checkout-address-suggestions__empty {
    padding: 0.9rem 1rem;
    color: #7c6d5d;
    font-size: 0.82rem;
}

/* =========================
   POTWIERDZENIE ZAMÓWIENIA
========================= */

.order-confirmation-page {
    padding-bottom: 5rem;
}

.order-confirmation-hero {
    max-width: 760px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2.8rem;
    text-align: center;
}

.order-confirmation-hero h1 {
    margin: 0.6rem 0 1rem;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.08;
}

.order-confirmation-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: #7c6d5d;
    line-height: 1.7;
}


/* UKŁAD */

.order-confirmation {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.8fr);
    gap: 2rem;
    align-items: start;
}

.order-confirmation__main {
    display: grid;
    gap: 1.5rem;
}

.order-confirmation__card,
.order-confirmation__section,
.order-confirmation__payment {
    border: 1px solid #eadfce;
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.92);
    padding: 1.7rem;
    box-shadow: 0 8px 24px rgba(63, 48, 29, 0.035);
}

.order-confirmation__card {
    background: linear-gradient(
        135deg,
        rgba(250, 246, 239, 0.96),
        rgba(255, 253, 249, 0.96)
    );
}


/* NUMER ZAMÓWIENIA */

.order-confirmation__label {
    display: block;
    margin-bottom: 0.4rem;
    color: #9b794e;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.order-confirmation__number {
    display: block;
    margin-top: 0.15rem;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: #211c17;
}

.order-confirmation__status {
    display: inline-flex;
    align-items: center;
    margin-top: 0.9rem;
    border: 1px solid #ead8b8;
    border-radius: 999px;
    background: #fbf4e7;
    padding: 0.42rem 0.75rem;
    color: #8a642d;
    font-size: 0.76rem;
    font-weight: 600;
}


/* TWOJE ZAMÓWIENIE */

.order-confirmation__section h2,
.order-confirmation__payment h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
}

.order-confirmation__section h2 {
    margin-bottom: 1.15rem;
}

/* To daje większy oddech między
   "Twoje zamówienie" a pierwszym produktem */
.order-confirmation__items {
    display: grid;
    gap: 0.95rem;
}

.order-confirmation-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee3d5;
}

.order-confirmation-item strong {
    line-height: 1.45;
}

.order-confirmation-item small {
    display: block;
    margin-top: 0.3rem;
    color: #8c7a67;
}


/* SUMY */

.order-confirmation__totals {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.order-confirmation__totals > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.order-confirmation__grand-total {
    margin-top: 0.45rem;
    padding-top: 1rem;
    border-top: 1px solid #e5d8c4;
    font-size: 1.1rem;
}


/* PŁATNOŚĆ */

.order-confirmation__payment {
    display: block;
}

.order-confirmation__payment h2 {
    margin-top: 1rem;
    margin-bottom: 0.7rem;
}

/* Zdanie o 3 dniach */
.order-confirmation__payment > p:not(.order-confirmation__deadline):not(.order-confirmation__presale):not(.order-confirmation__payment-note) {
    margin: 0 0 0.35rem;
}

/* Termin płatności bliżej poprzedniego tekstu */
.order-confirmation__deadline {
    margin: 0.35rem 0 0;
    color: #6f5c49;
    font-size: 0.82rem;
}

.order-confirmation__payment-note {
    margin: 0.45rem 0 0;
    color: #7b6957;
    font-size: 0.82rem;
    line-height: 1.5;
}


/* CZARNY BOX PRZELEWU */

.bank-transfer-box {
    display: grid;
    gap: 0;
    margin-top: 1.5rem;
    border-radius: 14px;
    background: #211d19;
    padding: 1.35rem;
    color: #fff;
    box-shadow: 0 12px 28px rgba(25, 20, 15, 0.10);
}

.bank-transfer-box > div {
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.bank-transfer-box > div:first-child {
    padding-top: 0;
}

.bank-transfer-box > div:last-of-type {
    padding-bottom: 0;
    border-bottom: 0;
}

.bank-transfer-box span {
    color: #cfc3b4;
    font-size: 0.72rem;
}

.bank-transfer-box strong {
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-word;
}


/* KOPIOWANIE */

.bank-transfer-copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bank-copy-button {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    padding: 0.42rem 0.75rem;
    color: #f7eee3;
    font-family: inherit;
    font-size: 0.7rem;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.bank-copy-button:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.28);
}

.bank-copy-button:active {
    transform: scale(0.97);
}

.bank-copy-button.is-copied {
    border-color: #f2e4c9;
    background: #f2e4c9;
    color: #30271f;
}

.bank-copy-message {
    min-height: 0;
    margin: 0.65rem 0 0;
    color: #7e6a54;
    font-size: 0.74rem;
}


/* INFORMACJA O WYSYŁCE */

.order-confirmation__presale {
    display: block;
    margin: 1.5rem 0 0;
    border: 1px solid #eee0cb;
    border-radius: 10px;
    background: #faf6ef;
    padding: 1rem;
    color: #725f49;
    font-size: 0.78rem;
    line-height: 1.6;
}


/* MOBILE */

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

@media (max-width: 600px) {
    .order-confirmation-hero {
        padding-top: 3rem;
    }

    .order-confirmation__card,
    .order-confirmation__section,
    .order-confirmation__payment {
        padding: 1.3rem;
    }

    .order-confirmation-item {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .order-confirmation-item > span {
        display: none;
    }

    .bank-transfer-copy-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.6rem;
    }
}

/* =========================
   AUTOPAY – POWRÓT
========================= */

.autopay-result-page {
    min-height: 70vh;
    padding-bottom: 5rem;
}

.autopay-result-hero {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
    text-align: center;
}

.autopay-result-hero h1 {
    margin: 1rem 0 0.8rem;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.08;
}

.autopay-result-hero p {
    max-width: 580px;
    margin: 0 auto;
    color: #7c6d5d;
    line-height: 1.7;
}


/* STATUS ICON */

.autopay-status-icon {
    display: flex;
    width: 58px;
    height: 58px;
    margin: 1.5rem auto 0;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 1.7rem;
    font-weight: 600;
}

.autopay-status-icon.is-loading {
    background: #faf2e4;
}

.autopay-status-icon.is-loading span {
    width: 22px;
    height: 22px;

    border: 2px solid #ddc59f;
    border-top-color: #9d7540;
    border-radius: 50%;

    animation: autopay-spin 0.8s linear infinite;
}

@keyframes autopay-spin {
    to {
        transform: rotate(360deg);
    }
}

.autopay-status-icon.is-success {
    border: 1px solid #bed3bd;
    background: #edf5ec;
    color: #50714e;
}

.autopay-status-icon.is-failure {
    border: 1px solid #dfbbb3;
    background: #faeeeb;
    color: #a44e40;
}

.autopay-status-icon.is-warning {
    border: 1px solid #ead8b8;
    background: #fbf4e7;
    color: #9a6d31;
}


/* CARD */

.autopay-result {
    max-width: 720px;
}

.autopay-result__card {
    border: 1px solid #eadfce;
    border-radius: 18px;

    background: #fffdf9;

    padding: 2rem;

    box-shadow:
        0 12px 32px rgba(63, 48, 29, 0.05);
}

.autopay-result__order {
    padding-bottom: 1.4rem;
    border-bottom: 1px solid #eee3d5;
}

.autopay-result__label {
    display: block;

    margin-bottom: 0.4rem;

    color: #9b794e;

    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.autopay-result__order strong {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
}


/* DETAILS */

.autopay-result__details {
    display: grid;
    gap: 0.9rem;

    padding: 1.4rem 0;

    border-bottom: 1px solid #eee3d5;
}

.autopay-result__details > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.autopay-result__details span {
    color: #756554;
}


/* MESSAGE */

.autopay-result__message {
    margin-top: 1.4rem;

    border-radius: 12px;

    background: #faf6ef;

    padding: 1rem 1.1rem;

    color: #705d49;

    font-size: 0.88rem;
    line-height: 1.6;
}

.autopay-result__message p {
    margin: 0;
}

.autopay-result__message p + p {
    margin-top: 0.6rem;
}


/* BUTTONS */

.autopay-result__actions {
    display: flex;
    gap: 0.8rem;

    margin-top: 1.6rem;
}

.autopay-result__button {
    display: inline-flex;

    min-height: 46px;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    padding: 0.75rem 1.2rem;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 600;
}

.autopay-result__button--primary {
    background: #211d19;
    color: #fff;
}

.autopay-result__button--secondary {
    border: 1px solid #dfd0bc;
    background: transparent;
    color: #5f4f3e;
}

@media (max-width: 600px) {

    .autopay-result__card {
        padding: 1.4rem;
    }

    .autopay-result__actions {
        flex-direction: column;
    }

    .autopay-result__button {
        width: 100%;
    }
}

.checkout-notes {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.checkout-notes textarea {
    width: 100%;
    min-height: 130px;
    border: 1px solid #e5d8c4;
    border-radius: 14px;
    background: #fffdf9;
    padding: 1rem 1.1rem;

    color: #211c17;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.20;

    resize: vertical;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.checkout-notes textarea::placeholder {
    color: #a79784;
}

.checkout-notes textarea:focus {
    border-color: #c9a56d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 165, 109, 0.10);
}

.checkout-notes__hint {
    color: #8c7a67;
    font-size: 0.78rem;
    line-height: 1.4;
}

.checkout-notes {
    display: block;
    margin-top: 1rem;
}

.checkout-notes textarea {
    width: 100%;
    min-height: 100px;
    margin-top: 0.45rem;

    border: 1px solid #e5d8c4;
    border-radius: 10px;
    background: #fff;

    padding: 0.85rem 1rem;

    color: #211c17;
    font-family: inherit;
    font-size: 0.75rem;
    line-height: 1.5;

    resize: vertical;
    outline: none;
}

.checkout-notes textarea::placeholder {
    color: #9b8d7e;
}

.checkout-notes textarea:focus {
    border-color: #c69b56;
}

.checkout-notes {
    display: block;
    margin-top: 1rem;

    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #211c17;
}