:root {
    --warm-white: #faf6ef;
    --cream: #f3ebdd;
    --beige: #e4d5bd;
    --beige-dark: #cdb894;
    --olive: #7a6f4f;
    --olive-brown: #5f5334;
    --brown-deep: #443b26;
    --gold: #c4a253;
    --gold-light: #d8bd80;
    --text: #3a3325;
    --text-soft: #6b6350;
    --white: #ffffff;
    --shadow: 0 12px 40px rgba(68, 59, 38, 0.10);
    --shadow-soft: 0 6px 20px rgba(68, 59, 38, 0.08);
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Jost", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--olive-brown);
    line-height: 1.2;
}

a { color: var(--olive-brown); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

/* ---------- Nagłówek / nawigacja ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 300;
    background: rgba(250, 246, 239, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--beige);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 0;
    position: relative;
}
.brand {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    letter-spacing: 0.06em;
    color: var(--olive-brown);
    font-weight: 600;
}
.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
.main-nav a {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
    font-weight: 400;
}
.main-nav a:hover { color: var(--gold); }

.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 0.6rem 0;
    min-width: 220px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    flex-direction: column;
    gap: 0 !important;
    border-top: 2px solid var(--gold);
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown li { width: 100%; }
.dropdown a {
    display: block;
    padding: 0.5rem 1.4rem;
    text-transform: none;
    letter-spacing: 0.03em;
    font-size: 0.9rem;
}
.dropdown a:hover { background: var(--cream); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.mobile-home { display: none; }
.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--olive-brown);
    transition: 0.3s;
}

/* ---------- Komunikaty ---------- */
.flash {
    padding: 1rem 1.4rem;
    border-radius: 4px;
    margin-top: 1.4rem;
    font-size: 0.95rem;
}
.flash-success { background: #e9efe0; color: #4a5a34; border: 1px solid #c8d6ac; }
.flash-error { background: #f6e5e0; color: #7a3b2c; border: 1px solid #e0b8ac; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(68,59,38,0.28), rgba(68,59,38,0.34)),
        var(--beige);
    /* Gradient wypełnia całość, a obraz (logo) mieści się w całości bez przycięcia. */
    background-size: cover, contain;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-color: var(--beige);
    color: var(--white);
    padding: 4rem 0;
}
.hero.no-image {
    background-color: #f3ebdd;
    background-image:
        var(--weave),
        radial-gradient(120% 90% at 50% 26%, #f9f4ec 0%, #f3ebdd 46%, #efe6d4 74%, #e9ddc7 100%);
    color: var(--olive-brown);
}
.hero-content { max-width: 760px; padding: 0 1rem; display: flex; flex-direction: column; align-items: center; }
.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    color: inherit;
    font-weight: 500;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}
.hero p {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ---------- Przyciski ---------- */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.btn:hover { background: var(--olive-brown); border-color: var(--olive-brown); color: var(--white); }
.btn-outline { background: transparent; color: var(--olive-brown); border-color: var(--olive-brown); }
.btn-outline:hover { background: var(--olive-brown); color: var(--white); }
.hero .btn-outline { color: var(--olive-brown); border-color: var(--olive-brown); }
.hero .btn-outline:hover { background: var(--olive-brown); color: var(--white); border-color: var(--olive-brown); }
.hero-logo-wrap {
    display: inline-block;
    position: relative;
    margin: 0 auto 1.6rem;
}
.hero-logo-wrap::after {
    /* Miękki cień pod logo dla głębi. */
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3%;
    transform: translateX(-50%);
    width: 58%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(68, 59, 38, 0.22), transparent 72%);
    filter: blur(6px);
    z-index: -1;
}
.hero-logo {
    display: block;
    width: auto;
    max-height: 380px;
    max-width: min(500px, 90%);
    margin: 0 auto;
    filter: drop-shadow(0 16px 26px rgba(68, 59, 38, 0.20));
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
@media (max-width: 600px) {
    .hero-logo { max-height: 280px; }
}

/* ---------- Sekcje ---------- */
.section { padding: 5rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.6rem; }
.section-head .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-weight: 400;
}
.section-head p { color: var(--text-soft); max-width: 620px; margin-inline: auto; }
.section-cream {
    background-color: var(--cream);
    background-image: var(--weave);
}

/* ---------- Siatka kart ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream), var(--beige));
    position: relative;
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--beige-dark);
    font-family: var(--font-serif);
    font-size: 3rem;
    letter-spacing: 0.1em;
}
.badge-sold {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--brown-deep);
    color: var(--white);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 2px;
}
.card-body { padding: 1.3rem 1.4rem 1.6rem; text-align: center; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.card-meta { font-size: 0.82rem; color: var(--text-soft); margin-bottom: 0.7rem; }
.card-price { margin-top: auto; font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold); }
.card-price .muted { color: var(--text-soft); font-size: 0.9rem; font-family: var(--font-sans); }

/* ---------- Kolekcje (kafle) ---------- */
.collection-tile {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, var(--olive), var(--olive-brown));
    box-shadow: var(--shadow-soft);
}
.collection-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.collection-tile:hover img { transform: scale(1.06); }
.collection-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(68,59,38,0.7) 0%, rgba(68,59,38,0.05) 60%);
}
.collection-tile .tile-label {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 1.6rem;
    width: 100%;
}
.collection-tile .tile-label h3 { color: var(--white); font-size: 1.7rem; }
.collection-tile .tile-label span {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
}

/* ---------- Nagłówek strony ---------- */
.page-hero {
    background-color: var(--beige);
    background-image: var(--weave), linear-gradient(135deg, var(--cream), var(--beige));
    padding: 4rem 0 3.2rem;
    text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: var(--text-soft); max-width: 640px; margin: 1rem auto 0; }
.breadcrumb { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.8rem; }
.breadcrumb a { color: var(--text-soft); }

/* ---------- Karta produktu (detal) ---------- */
.product { padding: 4rem 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.product-gallery .main-photo {
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, var(--cream), var(--beige));
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.product-gallery .main-photo img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 0.8rem; margin-top: 0.9rem; flex-wrap: wrap; }
.thumbs img {
    width: 84px; height: 84px; object-fit: cover; border-radius: 3px; cursor: pointer;
    border: 2px solid transparent; transition: border-color 0.25s ease;
}
.thumbs img:hover, .thumbs img.active { border-color: var(--gold); }
.product-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.6rem; }
.product-info .collection-tag {
    font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.product-price { font-family: var(--font-serif); font-size: 2.2rem; color: var(--olive-brown); margin: 1.4rem 0; }
.product-meta { list-style: none; margin: 1.6rem 0; border-top: 1px solid var(--beige); }
.product-meta li { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--beige); font-size: 0.95rem; }
.product-meta li span:first-child { color: var(--text-soft); }
.product-desc { margin: 1.4rem 0 2rem; color: var(--text-soft); }
.availability { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.4rem; }
.availability.in { color: #5b7a34; }
.availability.out { color: #a05a3c; }

/* ---------- Formularz ---------- */
.form-wrap { max-width: 640px; margin-inline: auto; }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.4rem; }
.form-field input, .form-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--beige-dark);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 0.98rem;
    color: var(--text);
    border-radius: 3px;
    transition: border-color 0.25s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-field .errorlist { list-style: none; color: #a0402c; font-size: 0.85rem; margin-top: 0.3rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 0.6rem; color: var(--text-soft); }

/* ---------- O mnie ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; }
.about-photo img { border-radius: 4px; box-shadow: var(--shadow); width: 100%; }
.about-photo .placeholder {
    aspect-ratio: 3/4; border-radius: 4px;
    background: linear-gradient(135deg, var(--cream), var(--beige));
    display: flex; align-items: center; justify-content: center;
    color: var(--beige-dark); font-family: var(--font-serif); font-size: 4rem;
}
.about-text p { margin-bottom: 1.1rem; color: var(--text-soft); white-space: pre-line; }

.cta-band { background-color: var(--olive-brown); background-image: var(--weave), linear-gradient(135deg, var(--olive), var(--olive-brown)); color: var(--white); text-align: center; padding: 4.5rem 0; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.cta-band p { max-width: 560px; margin: 0 auto 2rem; opacity: 0.92; }

.empty-note { text-align: center; color: var(--text-soft); padding: 3rem 0; grid-column: 1 / -1; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--brown-deep); color: var(--cream); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-footer h3, .site-footer h4 { color: var(--gold-light); margin-bottom: 1rem; }
.footer-brand { font-size: 1.7rem; }
.site-footer p { color: rgba(243, 235, 221, 0.8); font-size: 0.92rem; margin-bottom: 0.5rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(243, 235, 221, 0.85); font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold-light); }
.social { display: flex; gap: 1.2rem; margin-top: 0.6rem; }
.footer-bottom { padding-top: 1.5rem; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: rgba(243, 235, 221, 0.6); }

/* ---------- Responsywność ---------- */
@media (max-width: 900px) {
    .product-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--warm-white);
        border-bottom: 1px solid var(--beige);
        box-shadow: var(--shadow-soft);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .main-nav.open { max-height: 80vh; overflow-y: auto; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0; }
    .main-nav li { border-bottom: 1px solid var(--beige); }
    .main-nav a { display: block; padding: 0.9rem 1.2rem; }
    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: var(--cream);
        min-width: auto;
        border-top: none;
        padding: 0;
    }
    .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Dopracowanie graficzne — ramki 3D, cienie, akcenty kobiece
   ========================================================= */
:root {
    --blush: #e9cfc9;
    --rose: #c68a86;
    --rose-soft: #f3e2df;
    --shadow-lift: 0 22px 55px rgba(68, 59, 38, 0.18);
    --shadow-frame: 0 3px 6px rgba(68,59,38,0.25), 0 20px 45px rgba(68,59,38,0.26);
    /* Równy, jednolity splot płótna (nitka ciemna + jasny refleks) */
    --weave:
        repeating-linear-gradient(0deg, rgba(90,78,50,0.032) 0, rgba(90,78,50,0.032) 1px, rgba(255,255,255,0.11) 1px, rgba(255,255,255,0.11) 2px, transparent 2px, transparent 7px),
        repeating-linear-gradient(90deg, rgba(90,78,50,0.032) 0, rgba(90,78,50,0.032) 1px, rgba(255,255,255,0.11) 1px, rgba(255,255,255,0.11) 2px, transparent 2px, transparent 7px);
}

/* Tło strony z równą fakturą płótna */
body {
    background-color: var(--warm-white);
    background-image:
        var(--weave),
        radial-gradient(1200px 600px at 100% -5%, rgba(233,207,201,0.28), transparent 60%),
        radial-gradient(1000px 500px at -10% 10%, rgba(216,189,128,0.18), transparent 55%);
    background-attachment: fixed;
}

/* Ozdobny dywanik pod nagłówkami sekcji */
.section-head .eyebrow::before,
.section-head .eyebrow::after {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    vertical-align: middle;
    margin: 0 10px;
    background: linear-gradient(90deg, transparent, var(--rose));
}
.section-head .eyebrow::after {
    background: linear-gradient(90deg, var(--rose), transparent);
}

/* ---------- Ramka 3D obrazu (passe-partout + złota rama) ---------- */
.artframe {
    position: relative;
    display: block;
    padding: clamp(10px, 1.5vw, 18px);
    border-radius: 6px;
    background:
        linear-gradient(135deg, #e7cf98 0%, #b8965a 30%, #d9bd82 52%, #a9863f 78%, #cdae6c 100%);
    box-shadow: var(--shadow-frame);
    overflow: visible;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.artframe::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35),
                inset 0 0 12px rgba(68,59,38,0.35);
    pointer-events: none;
}
.artframe-inner {
    display: block;
    position: relative;
    background: #fffdf9;
    padding: clamp(8px, 1.1vw, 14px);
    border-radius: 2px;
    box-shadow: inset 0 2px 10px rgba(68,59,38,0.14);
}
.artframe-inner img,
.artframe-inner .card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 1px;
    box-shadow: 0 2px 8px rgba(68,59,38,0.32);
}

/* Nadpisania dla kart w siatce, które korzystają z ramki */
.card-media.artframe {
    aspect-ratio: auto;
    overflow: visible;
    background: linear-gradient(135deg, #e7cf98 0%, #b8965a 30%, #d9bd82 52%, #a9863f 78%, #cdae6c 100%);
}
.card { background: transparent; box-shadow: none; border-radius: 0; }
.card:hover { transform: none; box-shadow: none; }
.card:hover .artframe { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card:hover .card-media img { transform: none; }
.card .card-body {
    background: var(--white);
    border-radius: 0 0 6px 6px;
    box-shadow: var(--shadow-soft);
    margin: 0 6px;
}

/* ---------- Przyciski: subtelny relief ---------- */
.btn {
    box-shadow: 0 6px 16px rgba(196,162,83,0.30);
}
.btn:hover { box-shadow: 0 10px 22px rgba(95,83,52,0.30); transform: translateY(-2px); }
.btn-pay {
    background: linear-gradient(135deg, var(--gold) 0%, #b48f3f 100%);
    border-color: transparent;
}
.btn-pay:hover { background: linear-gradient(135deg, var(--olive-brown), var(--brown-deep)); }

.product-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.5rem; }

/* ---------- Kafle kolekcji: głębszy cień 3D ---------- */
.collection-tile { box-shadow: var(--shadow-frame); border-radius: 8px; }
.collection-tile:hover { box-shadow: var(--shadow-lift); }

/* ---------- Realizacja zamówienia (checkout) ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.checkout-form {
    background: var(--white);
    padding: 2.2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--gold);
}
.form-section-title { font-size: 1.5rem; margin-bottom: 1.4rem; color: var(--olive-brown); }
.checkout-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.checkout-form .form-section-title,
.checkout-form .btn-pay,
.checkout-form .pay-note,
.checkout-form > .form-field:not(.half) { grid-column: 1 / -1; }
.pay-note { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.8rem; }

.order-summary {
    background: var(--white);
    padding: 1.6rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    position: sticky;
    top: 100px;
}
.order-summary h3 { margin: 1.2rem 0 0.3rem; }
.summary-card { max-width: 220px; margin: 0 auto; }
.summary-total {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--beige);
}
.summary-total span { color: var(--text-soft); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }
.summary-total strong { font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold); }

/* ---------- Strona statusu płatności ---------- */
.status-box {
    max-width: 620px; margin: 2rem auto; text-align: center;
    background: var(--white); padding: 3rem 2.5rem; border-radius: 10px;
    box-shadow: var(--shadow);
}
.status-icon {
    width: 84px; height: 84px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; margin: 0 auto 1.4rem; color: #fff;
    box-shadow: var(--shadow-soft);
}
.status-icon.success { background: linear-gradient(135deg, #8bb06a, #5b7a34); }
.status-icon.pending { background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.status-icon.error { background: linear-gradient(135deg, #d99a86, #a0543c); }
.status-box h1 { margin-bottom: 1rem; }
.status-box p { color: var(--text-soft); margin-bottom: 1.6rem; }
.status-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .order-summary { position: static; }
}
@media (max-width: 560px) {
    .checkout-form { grid-template-columns: 1fr; }
    .checkout-form > .form-field.half { grid-column: 1 / -1; }
}

/* =========================================================
   Dekoracje roślinne / malarskie — delikatne akcenty
   ========================================================= */

/* Hero: pędzel za nagłówkiem + gałązka w rogu */
.hero { overflow: hidden; }
.hero::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%);
    width: min(720px, 82%);
    height: 200px;
    background: url("../img/brush-stroke.svg") center/contain no-repeat;
    opacity: 0.16;
    z-index: 1;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    left: -8px;
    bottom: -18px;
    width: 148px;
    height: 250px;
    background: url("../img/botanical-sprig.svg") left bottom/contain no-repeat;
    opacity: 0.22;
    transform: rotate(-6deg);
    z-index: 1;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

/* Nagłówki podstron: gałązka w rogu */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
    content: "";
    position: absolute;
    right: -22px;
    top: -28px;
    width: 140px;
    height: 220px;
    background: url("../img/botanical-sprig.svg") right top/contain no-repeat;
    opacity: 0.16;
    transform: scaleX(-1) rotate(-8deg);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }

/* Jasne sekcje: subtelny znak wodny liści w rogu */
.section-cream { position: relative; overflow: hidden; }
.section-cream::before {
    content: "";
    position: absolute;
    left: -46px;
    bottom: -46px;
    width: 280px;
    height: 280px;
    background: url("../img/leaf-cluster.svg") left bottom/contain no-repeat;
    opacity: 0.06;
    pointer-events: none;
}
.section-cream .container { position: relative; z-index: 2; }

/* Pasek CTA (ciemne tło): gałązka w rogu */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -26px;
    width: 160px;
    height: 250px;
    background: url("../img/botanical-sprig.svg") right bottom/contain no-repeat;
    opacity: 0.26;
    pointer-events: none;
}
.cta-band .container { position: relative; z-index: 2; }

/* Stopka: gałązka w rogu */
.site-footer { position: relative; overflow: hidden; }
.site-footer::after {
    content: "";
    position: absolute;
    right: 8px;
    top: -6px;
    width: 140px;
    height: 220px;
    background: url("../img/botanical-sprig.svg") right top/contain no-repeat;
    opacity: 0.13;
    pointer-events: none;
}
.site-footer .container { position: relative; z-index: 2; }

/* Ornament roślinny pod nagłówkiem sekcji */
.section-head::after {
    content: "";
    display: block;
    width: 140px;
    height: 26px;
    margin: 1.1rem auto 0;
    background: url("../img/leaf-divider.svg") center/contain no-repeat;
    opacity: 0.9;
}

@media (max-width: 760px) {
    .hero::after,
    .page-hero::after,
    .site-footer::after { width: 104px; height: 170px; opacity: 0.16; }
    .section-cream::before { width: 190px; height: 190px; }
}

/* =========================================================
   Logo, tło katalogu (kontury), zgody, cookies, strony prawne
   ========================================================= */

/* Logo w nagłówku */
.brand-logo {
    height: 58px;
    width: auto;
    display: block;
}
@media (max-width: 760px) {
    .brand-logo { height: 46px; }
}

/* Tło katalogu — subtelne kontury w kolorystyce strony */
.collection-section { position: relative; overflow: hidden; }
.collection-section > .container { position: relative; z-index: 2; }
.collection-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: url("#ka-contour");
    opacity: 0.16;
    z-index: 0;
    pointer-events: none;
}
/* Delikatne rozjaśnienie krawędzi, by kolory strony dominowały */
.collection-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(120% 80% at 50% 40%, transparent 0%, rgba(250,246,239,0.55) 100%);
    pointer-events: none;
}

/* Pola zgód (checkbox) */
.consent-field { margin-top: 0.4rem; }
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-soft);
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.4;
}
.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
    flex-shrink: 0;
}

/* Baner cookie */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1.2rem;
    transform: translateX(-50%);
    width: min(880px, 94%);
    background: rgba(68, 59, 38, 0.96);
    color: var(--cream);
    display: none;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.4rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lift);
    z-index: 400;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--cream); }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner .btn { flex-shrink: 0; padding: 0.6rem 1.5rem; }
@media (max-width: 560px) {
    .cookie-banner { flex-direction: column; text-align: center; gap: 0.8rem; }
}

/* Strony prawne (regulamin, polityka) */
.legal-content {
    max-width: 820px;
    margin-inline: auto;
    color: var(--text-soft);
}
.legal-content h2 {
    font-size: 1.7rem;
    margin: 2rem 0 0.8rem;
    color: var(--olive-brown);
}
.legal-content h3 { font-size: 1.25rem; margin: 1.4rem 0 0.5rem; color: var(--olive-brown); }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1rem 1.4rem; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-content strong { color: var(--text); }

/* =========================================================
   Delikatna faktura płótna malarskiego na całej stronie
   ========================================================= */
/* =========================================================
   Zdjęcia obrazów zawsze czyste (bez faktury na fotografiach)
   ========================================================= */
.card-media.artframe,
.product-gallery .main-photo.artframe,
.collection-tile,
.thumbs img {
    position: relative;
    z-index: 1;
}

/* =========================================================
   Mobile: hamburger niżej, po prawej, w kolorystyce tła
   ========================================================= */
@media (max-width: 760px) {
    .site-header {
        background: rgba(228, 213, 189, 0.97);
        backdrop-filter: none;
        border-bottom: 1px solid var(--beige-dark);
        box-shadow: 0 4px 14px rgba(68, 59, 38, 0.10);
    }
    .header-inner {
        justify-content: space-between;
        padding: 1.5rem 0 0.9rem;
    }
    .mobile-home {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(228, 213, 189, 0.92);
        box-shadow: 0 6px 16px rgba(68, 59, 38, 0.20);
        z-index: 120;
    }
    .mobile-home svg {
        width: 23px;
        height: 23px;
        stroke: var(--olive-brown);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .nav-toggle {
        background: rgba(228, 213, 189, 0.92);
        border-radius: 50%;
        padding: 12px;
        box-shadow: 0 6px 16px rgba(68, 59, 38, 0.20);
        z-index: 120;
    }
    .nav-toggle span { background: var(--olive-brown); }
    /* Menu rozwijane w kolorystyce tła */
    .main-nav {
        background: rgba(243, 235, 221, 0.98);
        backdrop-filter: blur(6px);
        border-top: 1px solid var(--beige-dark);
    }
}
