/* ============================================================
   Świat Skarpet — light editorial redesign v3 (2026-08-01)
   Language: warm paper palette (white / cream / peach / mint),
   terracotta accent, Manrope display + Inter text.
   Every section has its own layout: announcement strip, sticker-hero,
   tile grid, receipt, photo strip, chips, polaroids, timeline,
   FAQ bubbles, stamp banner, framed form, dark footer.
   ============================================================ */

:root {
    --ink: #23201c;
    --muted: #6f6a62;
    --cream: #faf5ee;
    --peach: #fdeee2;
    --mint: #eaf6ef;
    --line: #e8e1d6;
    --accent: #e35316;
    --accent-dark: #c74410;
    --green: #1e7a4d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, .display { font-family: 'Manrope', 'Inter', sans-serif; }

.main_wrapper { max-width: 480px; margin: 0 auto; background: #fff; min-height: 100vh; position: relative; }

/* ---------- 1. announcement strip (dark, fade-rotating) ---------- */
.announce-bar {
    background: var(--ink);
    color: #f5f1ea;
    text-align: center;
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .2px;
}
.announce-bar span { transition: opacity .35s ease; display: inline-block; }

/* ---------- 2. hero: cream zone, sticker price on photo ---------- */
.hero-section {
    background: var(--cream);
    padding: 22px 18px 26px;
    border-bottom: 1px solid var(--line);
}
.hero-kicker {
    display: inline-block;
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 5px 12px;
    text-transform: uppercase;
}
.hero-section h1 {
    font-size: 27px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.4px;
    margin-top: 12px;
}
.hero-section h1 em { font-style: normal; color: var(--accent); }
.hero-rating {
    display: flex; align-items: center; gap: 7px;
    margin-top: 9px; font-size: 13px; color: var(--muted); font-weight: 600;
}
.hero-rating .stars { color: #f0a500; letter-spacing: 1px; }

.hero-photo { position: relative; margin-top: 16px; }
.hero-photo > img {
    width: 100%; max-height: 320px; object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(35, 32, 28, .16);
}
.disc-sticker {
    position: absolute; top: -10px; right: 10px;
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Manrope', sans-serif; font-size: 19px; font-weight: 800;
    transform: rotate(7deg);
    box-shadow: 0 6px 16px rgba(199, 68, 16, .38);
    border: 3px solid #fff;
}
.price-tag {
    position: absolute; left: 12px; bottom: 12px;
    background: #fff; border-radius: 14px;
    padding: 8px 14px 9px;
    box-shadow: 0 8px 22px rgba(35, 32, 28, .22);
    display: flex; align-items: baseline; gap: 9px;
}
.price-tag .old { font-size: 14px; color: #a39c90; text-decoration: line-through; font-weight: 600; }
.price-tag .new { font-family: 'Manrope', sans-serif; font-size: 31px; font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.price-tag .new small { font-size: 17px; }

.hero-sub { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 14px; font-weight: 600; }
.omnibus-note { text-align: center; font-size: 11.5px; color: #a39c90; margin-top: 3px; }

.cta-btn {
    display: block; width: 100%;
    background: linear-gradient(180deg, #ef6524, var(--accent-dark));
    color: #fff; text-align: center; text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 17px; font-weight: 800; letter-spacing: .3px;
    padding: 17px 12px; border: none; border-radius: 14px;
    box-shadow: 0 10px 26px rgba(227, 83, 22, .32);
    cursor: pointer; margin-top: 14px;
    transition: transform .12s ease;
}
.cta-btn:active { transform: scale(.985); }

.cutoff-pill {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    width: fit-content; margin: 12px auto 0;
    background: #fff; border: 1.5px dashed var(--green);
    color: var(--green); border-radius: 999px;
    font-size: 13px; font-weight: 700; padding: 7px 15px;
}

/* ---------- shared section scaffolding ---------- */
.sec { padding: 34px 18px 30px; }
.sec-kicker {
    font-size: 11px; font-weight: 800; letter-spacing: 2px;
    color: var(--accent); text-transform: uppercase; margin-bottom: 6px;
}
.sec-title { font-size: 23px; font-weight: 800; letter-spacing: -.4px; line-height: 1.2; margin-bottom: 18px; }

/* ---------- 3. benefits: tile grid 2x2 + wide ---------- */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.benefit-tile {
    background: var(--cream);
    border-radius: 16px;
    padding: 15px 13px 14px;
}
.benefit-tile.wide { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; }
.benefit-tile .b-ico { font-size: 25px; line-height: 1; }
.benefit-tile h4 { font-size: 14.5px; font-weight: 800; margin: 8px 0 4px; font-family: 'Manrope', sans-serif; }
.benefit-tile.wide h4 { margin-top: 0; }
.benefit-tile p { font-size: 12.8px; color: var(--muted); line-height: 1.45; }

/* ---------- 4. receipt (ROI math) on mint ---------- */
.roi-zone { background: var(--mint); padding: 34px 18px 38px; }
.receipt {
    position: relative;
    background: #fff;
    max-width: 340px; margin: 0 auto;
    padding: 22px 20px 24px;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    box-shadow: 0 12px 30px rgba(35, 32, 28, .12);
}
.receipt::before, .receipt::after {
    content: ''; position: absolute; left: 0; right: 0; height: 12px;
    background-repeat: repeat-x; background-size: 18px 12px;
}
.receipt::before { top: -11px; background-image: radial-gradient(circle at 9px 12px, #fff 7px, transparent 7.5px); }
.receipt::after  { bottom: -11px; background-image: radial-gradient(circle at 9px 0px, #fff 7px, transparent 7.5px); }
.receipt-head {
    text-align: center; font-size: 12px; letter-spacing: 2.5px; font-weight: 700;
    border-bottom: 1.5px dashed #cfc8bb; padding-bottom: 10px; margin-bottom: 12px;
}
.receipt-row {
    display: flex; justify-content: space-between; gap: 10px;
    font-size: 13px; padding: 5px 0; color: #4a463f;
}
.receipt-row b { font-weight: 700; color: var(--ink); white-space: nowrap; }
.receipt-row.minus b { text-decoration: line-through; color: #a39c90; }
.receipt-total {
    border-top: 1.5px dashed #cfc8bb; margin-top: 10px; padding-top: 12px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14.5px; font-weight: 800;
}
.receipt-total b { color: var(--green); font-size: 19px; }
.receipt-note { text-align: center; font-size: 11px; color: #a39c90; margin-top: 12px; font-family: 'Inter', sans-serif; }

/* ---------- 5. gallery: horizontal snap strip ---------- */
.strip-zone { padding: 34px 0 30px; }
.strip-zone .sec-kicker, .strip-zone .sec-title { padding: 0 18px; }
.photo-strip {
    display: flex; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 18px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip img {
    flex: 0 0 76%;
    height: 300px; object-fit: cover;
    border-radius: 16px;
    scroll-snap-align: center;
    cursor: zoom-in;
    box-shadow: 0 10px 24px rgba(35, 32, 28, .13);
}
.strip-hint { text-align: center; font-size: 12px; color: #a39c90; }

/* ---------- 6. specs: chips ---------- */
.chips-zone { background: var(--cream); padding: 26px 18px 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chips-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.chip {
    background: #fff; border: 1.5px solid var(--line);
    border-radius: 999px; padding: 9px 8px;
    font-size: 11.8px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    white-space: nowrap; min-width: 0;
}
.chip span { color: var(--muted); font-weight: 600; }

/* ---------- 7. reviews: polaroids ---------- */
.reviews-summary {
    display: flex; align-items: center; gap: 14px;
    background: var(--peach); border-radius: 16px;
    padding: 14px 16px; margin-bottom: 20px;
}
.rs-big { font-family: 'Manrope', sans-serif; font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.rs-right { flex: 1; }
.rs-stars { color: #f0a500; font-size: 15px; letter-spacing: 2px; }
.rs-count { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.rs-bars { margin-top: 7px; }
.rs-bar-row { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); margin-bottom: 3px; }
.rs-bar-row .lbl { width: 20px; font-weight: 700; }
.rs-track { flex: 1; height: 5px; background: rgba(35,32,28,.1); border-radius: 999px; overflow: hidden; }
.rs-fill { height: 100%; background: #f0a500; border-radius: 999px; }
.rs-pct { width: 30px; font-weight: 600; }

.polaroid {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 12px 12px 14px;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(35, 32, 28, .09);
}
.polaroid:nth-of-type(odd) { transform: rotate(.5deg); }
.polaroid:nth-of-type(even) { transform: rotate(-.5deg); }
.polaroid.expanded { transform: rotate(0); }
.polaroid.hidden { display: none; }
.pol-photo { margin: -12px -12px 12px; }
.pol-photo img { width: 100%; height: 150px; object-fit: cover; border-radius: 4px 4px 0 0; cursor: pointer; }
.polaroid.expanded .pol-photo img { height: auto; max-height: 360px; }
.pol-head { display: flex; align-items: center; gap: 9px; }
.pol-ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.pol-name { font-size: 14px; font-weight: 800; font-family: 'Manrope', sans-serif; }
.pol-meta { font-size: 11px; color: #a39c90; margin-top: 1px; }
.pol-meta .ver { color: var(--green); font-weight: 700; }
.pol-stars { margin-left: auto; color: #f0a500; font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.pol-text { font-size: 13.5px; color: #4a463f; margin-top: 9px; }
.pol-more { display: inline-block; font-size: 12.5px; color: var(--accent); font-weight: 700; cursor: pointer; margin-top: 6px; }

.reviews-show-more {
    display: block; width: 100%; background: #fff;
    border: 1.5px solid var(--ink); color: var(--ink);
    font-family: 'Manrope', sans-serif;
    font-size: 14.5px; font-weight: 800; padding: 13px;
    border-radius: 999px; cursor: pointer; margin-top: 6px;
}

/* ---------- 8. steps: vertical timeline on peach ---------- */
.steps-zone { background: var(--peach); padding: 34px 18px 30px; }
.timeline { list-style: none; counter-reset: step; }
.timeline li {
    position: relative;
    padding: 0 0 22px 52px;
    counter-increment: step;
}
.timeline li::before {
    content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--ink); color: #fff;
    font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.timeline li::after {
    content: ''; position: absolute; left: 16px; top: 38px; bottom: 2px;
    width: 2px; background: rgba(35, 32, 28, .18);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.tl-label { font-family: 'Manrope', sans-serif; font-size: 14.5px; font-weight: 800; letter-spacing: .4px; }
.tl-text { font-size: 13.3px; color: #6f5f52; margin-top: 2px; }
.tl-label .tl-ico { margin-right: 5px; }

/* ---------- 9. FAQ: rows + peach bubbles ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
    padding: 15px 30px 15px 0; font-size: 15px; font-weight: 700; color: var(--ink);
    cursor: pointer; position: relative; font-family: 'Manrope', sans-serif;
}
.faq-question::after {
    content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    color: var(--accent); font-size: 22px; font-weight: 600; transition: transform .2s;
}
.faq-item.active .faq-question::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.active .faq-answer { max-height: 280px; }
.faq-answer-inner {
    background: var(--peach); border-radius: 12px;
    padding: 12px 14px; margin: 0 0 15px;
    font-size: 13.6px; color: #5d5348;
}

/* ---------- 10. guarantee: mint banner + stamp ---------- */
.guarantee-banner {
    background: var(--mint);
    display: flex; gap: 16px; align-items: center;
    padding: 24px 18px;
    border-top: 1px solid #d8ebdf; border-bottom: 1px solid #d8ebdf;
}
.stamp {
    flex: 0 0 auto;
    width: 88px; height: 88px; border-radius: 50%;
    border: 2.5px dashed var(--green);
    color: var(--green);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: 'Manrope', sans-serif; font-weight: 800;
    transform: rotate(-8deg);
    background: rgba(255, 255, 255, .55);
}
.stamp .st-num { font-size: 26px; line-height: 1; }
.stamp .st-txt { font-size: 10px; letter-spacing: 1.5px; }
.guarantee-banner h4 { font-size: 16.5px; font-weight: 800; font-family: 'Manrope', sans-serif; }
.guarantee-banner p { font-size: 13.3px; color: #4c5f53; margin-top: 3px; }

/* ---------- 11. order form: framed card, offset shadow ---------- */
.order-section { padding: 36px 18px 40px; background: #fff; }
.order-form-wrapper {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 18px;
    padding: 24px 18px 20px;
    box-shadow: 0 12px 30px rgba(35, 32, 28, .1);
}
.order-form-wrapper h3 { font-size: 21px; font-weight: 800; text-align: center; }
.form-subtitle { text-align: center; font-size: 13px; color: var(--muted); margin: 4px 0 18px; }

.form-group { margin-bottom: 13px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.form-group input {
    width: 100%; padding: 13px 14px; font-size: 16px; font-family: inherit;
    border: 1.5px solid #d8d2c6; border-radius: 11px; background: #fff; color: var(--ink);
    outline: none; transition: border-color .15s;
}
.form-group input:focus { border-color: var(--accent); }
.form-group input.error { border-color: #d63a2f; }
.form-group input.valid { border-color: var(--green); }
.error-msg { display: none; font-size: 12px; color: #d63a2f; margin-top: 4px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }

.size-select-group { margin-bottom: 13px; }
.size-select-group > label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.size-options, .color-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-option, .color-option {
    flex: 1; min-width: calc(50% - 8px); text-align: center;
    padding: 11px 8px; font-size: 14px; font-weight: 700;
    border: 1.5px solid #d8d2c6; border-radius: 999px; background: #fff;
    cursor: pointer; transition: all .15s;
}
.size-options .size-option { min-width: 0; }
.size-option.selected, .color-option.selected {
    border-color: var(--accent); color: var(--accent-dark); background: var(--peach);
}

.order-summary {
    border: 1.5px dashed #cfc8bb; border-radius: 12px;
    padding: 12px 14px; margin-top: 16px;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
.os-row { display: flex; justify-content: space-between; font-size: 13px; color: #4a463f; padding: 3px 0; }
.os-row.grand { font-size: 15.5px; font-weight: 800; color: var(--ink); border-top: 1.5px dashed #cfc8bb; margin-top: 6px; padding-top: 9px; }
.os-row.grand span:last-child { color: var(--accent); }
.order-omnibus { font-size: 11px; color: #a39c90; text-align: center; margin-top: 7px; }

.submit-btn {
    width: 100%; margin-top: 14px;
    background: linear-gradient(180deg, #ef6524, var(--accent-dark));
    color: #fff; font-size: 16.5px; font-weight: 800; letter-spacing: .3px;
    font-family: 'Manrope', sans-serif;
    padding: 17px 12px; border: none; border-radius: 14px; cursor: pointer;
    box-shadow: 0 10px 24px rgba(227, 83, 22, .3);
}
.form-trust { display: flex; justify-content: center; gap: 16px; margin-top: 13px; font-size: 12px; color: var(--muted); font-weight: 600; flex-wrap: wrap; }

/* ---------- 12. footer: dark ---------- */
.footer-section { background: var(--ink); padding: 28px 18px 96px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 18px; margin-bottom: 10px; }
.footer-links a { color: #b5aea3; font-size: 13px; text-decoration: none; }
.footer-section p { font-size: 12px; color: #857e72; }

/* ---------- 13. sticky CTA: white bar ---------- */
.sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
    max-width: 480px; margin: 0 auto;
    display: flex; align-items: center; gap: 12px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(35, 32, 28, .12);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    transition: transform .25s ease;
}
.sticky-cta.sticky-hidden { transform: translateY(110%); }
.sticky-price .old { font-size: 12px; color: #a39c90; text-decoration: line-through; font-weight: 600; }
.sticky-price .new { font-family: 'Manrope', sans-serif; font-size: 21px; color: var(--accent); font-weight: 800; }
.sticky-btn {
    flex: 1; background: linear-gradient(180deg, #ef6524, var(--accent-dark));
    color: #fff; text-align: center; text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 15px; font-weight: 800; padding: 13px 10px; border-radius: 12px;
}

/* ---------- lightbox ---------- */
.img-lightbox {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(20, 18, 15, .9);
    align-items: center; justify-content: center; padding: 20px;
}
.img-lightbox.open { display: flex; }
.img-lightbox img { max-width: 100%; max-height: 88vh; border-radius: 12px; background: #fff; }
.img-lightbox-close { position: absolute; top: 14px; right: 20px; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }

/* ---------- desktop ---------- */
@media (min-width: 700px) {
    body { background: var(--cream); }
    .main_wrapper { box-shadow: 0 0 50px rgba(35, 32, 28, .12); }
}
