/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SMIRWEAR — COLLECTION PAGE (shared)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-size: 16px; background: #080806; overflow-x: hidden; max-width: 100%; }
body {
    font-family: 'Norbert', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    color: #fff;
}

/* BANNER */
.banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: 36px; background: #0a0a08;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.ban-txt { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.ban-flag { font-size: 15px; line-height: 1; }

/* NAV */
.nav {
    position: fixed; top: 36px; left: 0; right: 0; z-index: 90;
    padding: 14px clamp(20px, 5vw, 60px);
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(8,8,6,.92);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-back {
    font-family: 'Norbert', system-ui, sans-serif; font-size: 12px; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5);
    text-decoration: none; display: flex; align-items: center; gap: 6px;
    transition: color .2s;
}
.nav-back:hover { color: rgba(223,165,216,.85); }
.nav-logo { font-family: 'Norbert', system-ui, sans-serif; font-size: 14px; font-weight: 300; letter-spacing: .32em; text-transform: lowercase; color: rgba(255,255,255,.7); }

/* PAGE WRAPPER */
.cpage { padding-top: calc(36px + 56px); min-height: 100vh; }
.cwrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 56px) clamp(18px, 4vw, 48px) clamp(60px, 8vw, 96px);
    align-items: start;
}

/* ━━━ GALLERY / CAROUSEL ━━━ */
.gallery { position: sticky; top: calc(36px + 56px + 24px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.viewport {
    position: relative; width: 100%; aspect-ratio: 3/4;
    border-radius: 16px; overflow: hidden; background: #111009;
    border: 1px solid rgba(255,255,255,.07);
    touch-action: pan-y;
}
.track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.25,.46,.45,.94); }
.slide { min-width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(8,8,6,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff; cursor: pointer; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .2s;
}
.nav-arrow:hover { background: rgba(223,165,216,.85); transform: translateY(-50%) scale(1.05); color: #0a0906; }
.nav-arrow.prev { left: 12px; }
.nav-arrow.next { right: 12px; }

.counter {
    position: absolute; bottom: 12px; right: 14px; z-index: 5;
    font-size: 12px; font-weight: 500; letter-spacing: .08em;
    color: #fff; background: rgba(8,8,6,.55); backdrop-filter: blur(6px);
    padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,.12);
}

.thumbs { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: thin; }
.thumbs::-webkit-scrollbar { height: 6px; }
.thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 6px; }
.thumb {
    flex: 0 0 64px; width: 64px; height: 80px; border-radius: 8px;
    overflow: hidden; cursor: pointer; padding: 0; background: none;
    border: 2px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.active { opacity: 1; border-color: rgba(223,165,216,.85); }
.thumb:hover { opacity: 1; }

/* ━━━ INFO / FORM SIDE ━━━ */
.info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.eyebrow {
    font-size: 11px; font-weight: 600; letter-spacing: .24em;
    text-transform: uppercase; color: rgba(223,165,216,.8);
}
.cname {
    font-family: 'Norbert', system-ui, sans-serif;
    font-size: clamp(34px, 5vw, 56px); font-weight: 600; line-height: 1.04; color: #fff;
}
.cname em { font-style: italic; color: rgba(223,165,216,.9); }
.cprice {
    font-family: 'Norbert', system-ui, sans-serif;
    font-size: clamp(24px, 3vw, 32px); font-weight: 600; color: rgba(223,165,216,.9);
}
.cdesc { font-size: clamp(13px, 1.4vw, 15px); line-height: 1.7; color: rgba(255,255,255,.6); max-width: 46ch; }
.divider { width: 40px; height: 1px; background: rgba(255,255,255,.12); }

.features { display: flex; flex-direction: column; gap: 9px; }
.feature { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.62); }
.feature svg { color: rgba(223,165,216,.8); flex-shrink: 0; }

.opt-label {
    font-size: 11px; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: rgba(255,255,255,.42);
    margin-bottom: 10px; display: block;
}
.opt-label span { color: rgba(223,165,216,.85); margin-left: 6px; }

/* color swatches */
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 6px 12px 6px 8px; border-radius: 30px;
    border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03);
    color: rgba(255,255,255,.7); font-size: 12px; font-weight: 500;
    transition: all .2s;
}
.swatch .dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); }
.swatch.active, .swatch:hover { border-color: rgba(223,165,216,.7); background: rgba(223,165,216,.1); color: rgba(223,165,216,.95); }

/* sizes */
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
    min-width: 46px; height: 46px; padding: 0 8px; border-radius: 8px;
    border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.7); font-family: 'Norbert', system-ui, sans-serif; font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center;
}
.size-btn:hover, .size-btn.active {
    border-color: rgba(223,165,216,.7); background: rgba(223,165,216,.1); color: rgba(223,165,216,.95);
}

/* ━━━ ORDER FORM ━━━ */
.order-form { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.field input {
    width: 100%; padding: 14px 16px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
    color: #fff; font-family: 'Norbert', system-ui, sans-serif; font-size: 15px; transition: border-color .2s, background .2s;
}
.field input::placeholder { color: rgba(255,255,255,.3); }
.field input:focus { outline: none; border-color: rgba(223,165,216,.7); background: rgba(223,165,216,.06); }
.field.invalid input { border-color: #e05a4e; background: rgba(224,90,78,.07); }
.field .err { font-size: 11px; color: #e98379; display: none; }
.field.invalid .err { display: block; }

.submit-btn {
    margin-top: 6px; width: 100%; border: none; cursor: pointer;
    background: linear-gradient(180deg, rgba(223,165,216,1), rgba(199,118,188,1));
    color: #0a0906; border-radius: 50px;
    padding: clamp(17px, 2.2vw, 21px); font-family: 'Norbert', system-ui, sans-serif;
    font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; letter-spacing: .03em;
    box-shadow: 0 8px 30px rgba(223,165,216,.28); transition: transform .2s, box-shadow .2s;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(223,165,216,.42); }
.submit-btn:active { transform: translateY(0); }

.order-note { font-size: 11px; color: rgba(255,255,255,.4); text-align: center; letter-spacing: .04em; }

.form-err {
    display: none;
    font-size: 12.5px;
    color: #e98379;
    text-align: center;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(224, 90, 78, .08);
    border: 1px solid rgba(224, 90, 78, .35);
}
.submit-btn:disabled { opacity: .65; cursor: progress; }

/* success state */
.order-success {
    display: none; flex-direction: column; gap: 14px; align-items: center; text-align: center;
    padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px);
    border-radius: 16px; border: 1px solid rgba(223,165,216,.4);
    background: rgba(223,165,216,.07);
}
.order-success.show { display: flex; }
.order-form.hide { display: none; }
.success-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(223,165,216,.15); color: rgba(223,165,216,.95);
    display: flex; align-items: center; justify-content: center;
}
.success-title { font-family: 'Norbert', system-ui, sans-serif; font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; color: #fff; }
.success-text { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; max-width: 38ch; }
.success-summary {
    width: 100%; margin-top: 4px; padding: 16px 18px; border-radius: 10px;
    background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08);
    font-size: 13px; color: rgba(255,255,255,.75); display: flex; flex-direction: column; gap: 7px; text-align: left;
}
.success-summary .row { display: flex; justify-content: space-between; gap: 12px; }
.success-summary .row span:first-child { color: rgba(255,255,255,.45); letter-spacing: .04em; }
.success-summary .row span:last-child { color: #fff; font-weight: 500; }

/* trust */
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,.38); letter-spacing: .05em; }
.trust-item svg { color: rgba(223,165,216,.6); }

/* MOBILE */
@media (max-width: 820px) {
    .cwrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .gallery { position: static; }
    .viewport { max-width: 100%; margin: 0 auto; }
    .thumbs { justify-content: flex-start; }
}

/* pink active-state contrast */
.size-btn:hover, .size-btn.active, .swatch:hover, .swatch.active { color: #a8459c; }

/* ━━━ TESTIMONIALS ━━━ */

/* ━━━ TESTIMONIALS (branded review cards) ━━━ */
.testi { background: #c5f4fc; padding: clamp(54px,7vw,96px) clamp(16px,5vw,70px); }
.testi-inner { max-width: 1120px; margin: 0 auto; }
.testi-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: clamp(28px,4vw,46px); }
.testi-title { font-family: 'Norbert', system-ui, sans-serif; font-size: clamp(28px,5vw,48px); font-weight: 800; letter-spacing: -0.035em; color: #0a1618; line-height: 1.05; }
.testi-title em { font-style: normal; color: #a8459c; }
.testi-rule { width: 42px; height: 2px; background: #dfa5d8; }
.testi-sub { font-size: clamp(12px,1.4vw,14px); color: rgba(10,22,24,.55); }
.testi-masonry { columns: 3; column-gap: 16px; }
.ctesti .testi-masonry { columns: 2; }
.tcard { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 16px; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(10,22,24,.08); border-top: 3px solid #dfa5d8; box-shadow: 0 8px 24px rgba(8,55,63,.08); }
.tcard-head { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-bottom: 1px solid rgba(10,22,24,.06); }
.tcard-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#dfa5d8,#a8459c); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; font-family: 'Norbert', sans-serif; }
.tcard-id { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.tcard-name { font-size: 12.5px; font-weight: 700; color: #0a1618; display: inline-flex; align-items: center; gap: 5px; }
.tcard-verif { color: #25D366; display: inline-flex; }
.tcard-stars { font-size: 11px; color: #dfa5d8; letter-spacing: 1.5px; }
.tcard img { width: 100%; height: auto; display: block; }
.ctesti { background: #c5f4fc; padding: 0 clamp(18px,4vw,48px) clamp(56px,8vw,92px); }
.ctesti-inner { max-width: 760px; margin: 0 auto; }
@media (max-width: 820px) { .testi-masonry { columns: 2; } }
@media (max-width: 560px) { .testi-masonry, .ctesti .testi-masonry { columns: 1; max-width: 380px; margin: 0 auto; } }
