/* ============ KOSLLE — Showcase Styles ============ */
:root {
  --plum: #2b1140;
  --plum-2: #4a2178;
  --rose: #9256e8;
  --gold: #b98ae0;
  --cream: #f8f5fc;
  --card: #ffffff;
  --ink: #241a33;
  --muted: #7d6f95;
  --line: #e6dff2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 17, 64, .08);
  --shadow-lg: 0 24px 60px rgba(43, 17, 64, .16);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; background: var(--cream); color: var(--ink); line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 242, .93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 32px; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.logo { font-family: Georgia, serif; font-size: 27px; letter-spacing: .2em; color: var(--plum); font-weight: 800; text-transform: uppercase; }
.logo span { color: var(--gold); }
nav.main { display: flex; gap: 24px; flex: 1; flex-wrap: wrap; }
nav.main a { font-size: 13.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s; }
nav.main a:hover, nav.main a.active { color: var(--plum); border-bottom-color: var(--gold); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.cart-link { position: relative; font-size: 20px; color: var(--plum); line-height: 1; padding: 4px; }
.cart-link .badge { position: absolute; top: -6px; right: -10px; background: var(--rose); color: #fff; border-radius: 999px; font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 4px; font-weight: 700; font-family: "Segoe UI", Arial, sans-serif; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 30px; border-radius: 999px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; transition: all .18s; text-align: center; }
.btn-dark { background: var(--plum); color: #fff; }
.btn-dark:hover { background: var(--plum-2); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #2b1b23; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-outline { border: 1.5px solid var(--plum); color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: #fff; }
.btn-sm { padding: 9px 22px; font-size: 12px; }
.btn-full { width: 100%; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(120deg, #241040 0%, var(--plum-2) 55%, #7a4bd0 100%); color: #fff; padding: 90px 0 100px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(185,138,224,.4), transparent 70%); }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.eyebrow { color: var(--gold); letter-spacing: .3em; text-transform: uppercase; font-size: 12px; margin-bottom: 18px; }
.hero h1 { font-family: Georgia, serif; font-size: clamp(38px, 5.4vw, 64px); font-weight: 500; line-height: 1.12; max-width: 640px; }
.hero p { margin: 22px 0 34px; max-width: 520px; color: #e6d9f7; font-size: 17px; }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
.sec-head h2 { font-family: Georgia, serif; font-size: 32px; font-weight: 500; color: var(--plum); }
.sec-head a { color: var(--rose); font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; text-align: center; transition: all .2s; box-shadow: var(--shadow); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.cat-tile .cat-ic { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; background: linear-gradient(135deg, #efe6fb, #f6effd); }
.cat-tile h3 { font-size: 14.5px; color: var(--plum); font-weight: 600; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .ph { position: relative; cursor: pointer; }
.card .ph svg { width: 100%; height: 230px; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.badge-new, .badge-best { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.badge-new { background: var(--gold); color: #2b1b23; }
.badge-best { background: var(--plum); color: #fff; }
.card .info { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card .cat-lbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.card h3 { font-size: 15.5px; font-weight: 600; color: var(--ink); cursor: pointer; line-height: 1.35; }
.card h3:hover { color: var(--rose); }
.stars { color: var(--gold); font-size: 12.5px; margin: 7px 0; letter-spacing: 2px; }
.stars span { color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.card .row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; }
.price { font-size: 17px; font-weight: 700; color: var(--plum); }
.price s { color: var(--muted); font-weight: 400; font-size: 13.5px; margin-left: 7px; }
.inq-btn { background: var(--plum); color: #fff; border-radius: 999px; padding: 9px 20px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; transition: background .15s; }
.inq-btn:hover { background: var(--rose); }
.link-btn { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.link-btn:hover { color: var(--plum); }
.price-line { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.unit-tag { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.tier-hint { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.tier-hint b { color: var(--plum); }
.tier-hint a { color: var(--rose); }
.save-tag { display: inline-block; background: #efe2fd; color: #6b32c0; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; font-weight: 700; vertical-align: middle; margin-left: 4px; }

/* ---------- Category filter chips ---------- */
.page-title { padding: 44px 0 8px; }
.page-title h1 { font-family: Georgia, serif; font-size: 36px; font-weight: 500; color: var(--plum); }
.page-title p { color: var(--muted); margin-top: 6px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 30px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 20px; font-size: 13px; color: var(--muted); transition: all .15s; }
.chip:hover { border-color: var(--gold); color: var(--plum); }
.chip.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--rose); }

/* ---------- Product detail ---------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 30px 0 70px; align-items: start; }
.detail .ph { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail .ph svg { height: 480px; width: 100%; }
.detail h1 { font-family: Georgia, serif; font-size: 32px; font-weight: 500; color: var(--plum); margin: 8px 0; }
.detail .desc { color: #4f4463; margin: 18px 0 24px; }
.feat { list-style: none; margin: 0 0 30px; }
.feat li { padding: 7px 0 7px 26px; position: relative; color: #4f4463; font-size: 14.5px; }
.feat li::before { content: "✦"; position: absolute; left: 2px; color: var(--gold); }

/* ---------- Buy options (1 pc / 2-10 / 11+) ---------- */
.buy-options { display: flex; flex-direction: column; gap: 12px; }
.buy-opt { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: border .15s; }
.buy-opt:hover { border-color: var(--gold); }
.buy-opt.hl { border-color: var(--plum); box-shadow: 0 8px 24px rgba(43,17,64,.10); }
.bo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.bo-tier { font-size: 14px; font-weight: 700; color: var(--plum); letter-spacing: .02em; }
.bo-note { font-size: 12px; color: var(--muted); margin-top: 2px; }
.bo-price { font-size: 20px; font-weight: 700; color: var(--plum); white-space: nowrap; }
.bo-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.bo-price.quote { font-size: 14px; font-weight: 600; color: var(--rose); }
.qty-row { display: flex; gap: 10px; align-items: center; }
.bo-total { font-size: 12.5px; color: var(--muted); margin-top: 8px; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.qty button { width: 36px; height: 40px; font-size: 17px; color: var(--plum); }
.qty button:hover { background: #f3ebfd; }
.qty span { width: 38px; text-align: center; font-weight: 700; font-size: 14px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; padding: 20px 0 70px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; align-items: center; }
.cart-item svg { width: 100px; height: 78px; border-radius: 8px; }
.cart-item h4 { font-size: 15px; color: var(--plum); cursor: pointer; }
.cart-item .unit { color: var(--muted); font-size: 12.5px; margin: 4px 0 8px; }
.link-danger { color: #a855a8; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.link-danger:hover { color: #7a2f7a; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.summary h3 { font-family: Georgia, serif; font-size: 20px; color: var(--plum); font-weight: 500; margin-bottom: 14px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 7px 0; color: #4f4463; }
.sumrow.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 700; color: var(--plum); }
.free-note { background: #f3ebfd; color: #5b2d99; border-radius: 10px; font-size: 12.5px; padding: 9px 14px; margin: 12px 0; text-align: center; }

/* ---------- Checkout ---------- */
.checkout-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.checkout-form h3 { font-family: Georgia, serif; font-weight: 500; color: var(--plum); margin: 18px 0 12px; font-size: 19px; }
.checkout-form h3:first-child { margin-top: 0; }
.field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: var(--cream); }
.pay-opt { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-opt label { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 13px; cursor: pointer; display: flex; gap: 7px; align-items: center; background: #fff; }
.pay-opt label:has(input:checked) { border-color: var(--plum); background: #f7f0fd; }
.pay-opt input { accent-color: var(--plum); }

/* ---------- About / Contact ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .art svg { height: 360px; width: 100%; }
.prose p { margin: 16px 0; color: #463a5c; font-size: 16px; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 26px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value .ic { font-size: 22px; margin-bottom: 8px; }
.value .ic.ic-svg { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #efe6fb, #f7f1ff); }
.value .ic.ic-svg svg { width: 21px; height: 21px; display: block; fill: none; stroke: var(--plum); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.value h4 { color: var(--plum); font-size: 15.5px; margin-bottom: 5px; }
.value p { font-size: 13.5px; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; padding: 16px 0 70px; align-items: start; }
.inquiry-form, .side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.side-card h3 { font-family: Georgia, serif; font-weight: 500; color: var(--plum); margin-bottom: 14px; font-size: 20px; }
.srow { display: flex; justify-content: space-between; font-size: 14.5px; padding: 9px 0; border-bottom: 1px dashed var(--line); color: #4f4463; }
.srow:last-child { border-bottom: none; }

/* ---------- Timeline (About page) ---------- */
.journey { padding-top: 10px; padding-bottom: 70px; }
.timeline { position: relative; margin-top: 34px; padding: 6px 0 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, rgba(146,86,232,0) 0%, #e2d5f7 9%, #e2d5f7 91%, rgba(146,86,232,0) 100%); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: start; padding: 13px 0; }
.tl-node { grid-row: 1; grid-column: 2; justify-self: center; width: 13px; height: 13px; margin-top: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--rose); box-shadow: 0 0 0 5px rgba(146,86,232,.1); transition: background .18s, box-shadow .18s; position: relative; z-index: 1; }
.tl-item:hover .tl-node { background: var(--rose); box-shadow: 0 0 0 7px rgba(146,86,232,.18); }
.tl-card { position: relative; grid-row: 1; grid-column: 1; justify-self: end; text-align: right; margin-right: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 17px 22px 19px; box-shadow: 0 8px 22px rgba(43,17,64,.05); transition: box-shadow .18s, border-color .18s, transform .18s; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; justify-self: start; text-align: left; margin-right: 0; margin-left: 26px; }
.tl-card::after { content: ""; position: absolute; top: 36.5px; right: -57px; width: 57px; height: 1px; background: #ded2f2; transition: background .18s; }
.tl-item:nth-child(even) .tl-card::after { right: auto; left: -57px; }
.tl-item:hover .tl-card::after { background: var(--rose); }
.tl-item:hover .tl-card { border-color: #ddcdf7; box-shadow: 0 16px 38px rgba(43,17,64,.11); transform: translateY(-2px); }
.tl-year { font-family: Georgia, serif; font-size: 15px; font-weight: 700; color: var(--rose); letter-spacing: .14em; margin-bottom: 7px; }
.tl-body h4 { font-size: 16.5px; color: var(--plum); margin-bottom: 6px; }
.tl-body p { font-size: 14.5px; color: #4f4463; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: var(--cream); transition: border .15s; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }

/* ---------- Inquiry modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(26, 10, 48, .55); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: var(--cream); border-radius: 18px; max-width: 520px; width: 100%; padding: 34px 32px; box-shadow: var(--shadow-lg); position: relative; max-height: 92vh; overflow: auto; }
.modal-box h2 { font-family: Georgia, serif; font-weight: 500; color: var(--plum); font-size: 24px; margin-bottom: 6px; }
.modal-box .sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.modal-x { position: absolute; top: 16px; right: 18px; font-size: 22px; color: var(--muted); }
.modal-x:hover { color: var(--plum); }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 70px 0; color: var(--muted); }

/* ---------- Footer ---------- */
footer.site { background: var(--plum); color: #d5c5ec; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 54px 0 40px; }
.foot-grid h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid a { display: block; font-size: 14px; padding: 5px 0; color: #d5c5ec; }
.foot-grid a:hover { color: var(--gold); }
.foot-brand { font-family: Georgia, serif; font-size: 24px; letter-spacing: .2em; font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 26px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #a493c4; }

/* ---------- Age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(26, 10, 48, .92); backdrop-filter: blur(6px); padding: 20px; }
.gate-box { background: var(--cream); border-radius: 20px; max-width: 460px; width: 100%; padding: 44px 40px; text-align: center; box-shadow: var(--shadow-lg); }
.gate-box .mark { font-family: Georgia, serif; font-size: 24px; letter-spacing: .26em; font-weight: 800; color: var(--plum); margin-bottom: 20px; }
.gate-box h2 { font-family: Georgia, serif; font-weight: 500; color: var(--plum); font-size: 26px; margin-bottom: 12px; }
.gate-box p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.gate-btns { display: flex; gap: 12px; justify-content: center; }

/* ---------- Toast ---------- */
#toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--plum); color: #fff; padding: 13px 26px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 300; box-shadow: var(--shadow-lg); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.main { display: none; }
  .detail, .split, .contact-layout, .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .foot-grid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
}
/* Timeline stacks to a single left-aligned rail on small screens */
@media (max-width: 860px) {
  .timeline::before { left: 7px; margin-left: -1px; }
  .tl-item { grid-template-columns: 14px 1fr; padding: 9px 0; }
  .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 2; grid-row: 1; justify-self: stretch; text-align: left; margin: 0 0 0 20px; }
  .tl-card::after, .tl-item:nth-child(even) .tl-card::after { display: none; }
  .tl-node { position: static; grid-column: 1; grid-row: 1; justify-self: center; margin-top: 25px; }
  .tl-year { font-size: 14px; }
}
@media (max-width: 560px) {
  .hero { padding: 64px 0 72px; }
  .page-title h1 { font-size: 29px; }
}
