/* LOE & Thebattle.club shop — brand: #4d0608 (bordeaux) + #ffb232 (amber), Manrope */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --brand: #4d0608;
  --brand-dark: #350405;
  --amber: #ffb232;
  --bg: #faf7f2;
  --card: #ffffff;
  --ink: #241b1b;
  --muted: #7a6a6a;
  --border: #eadfd6;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Manrope', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* topbar */
.topbar { background: #2b0304; color: #d9c2c2; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }

/* header */
header.site { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(45, 3, 4, .35); }
header.site .container { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .3px; }
.logo .mark { width: 40px; height: 40px; border-radius: 10px; display: block; }
.logo small { display: block; font-size: 11px; font-weight: 600; color: #e8c9c9; letter-spacing: 1px; text-transform: uppercase; }
nav.main { display: flex; gap: 22px; font-weight: 600; font-size: 15px; margin-left: auto; }
nav.main a:hover { color: var(--amber); }
.cart-btn { background: var(--amber); color: var(--brand); border: none; font: inherit; font-weight: 800; padding: 10px 18px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.cart-btn:hover { filter: brightness(1.06); }

/* hero */
.hero { background: linear-gradient(120deg, #4d0608 0%, #7a0d10 55%, #4d0608 100%); color: #fff; padding: 56px 0; }
.hero .container { display: flex; align-items: center; gap: 40px; }
.hero h1 { font-size: 42px; line-height: 1.12; font-weight: 800; }
.hero h1 span { color: var(--amber); }
.hero p { margin: 16px 0 24px; color: #efd9d9; max-width: 520px; }
.hero .art { width: min(440px, 42vw); margin-left: auto; border-radius: 24px; filter: drop-shadow(0 16px 36px rgba(0,0,0,.4)); }
.hero .art.photo { width: min(400px, 40vw); object-fit: cover; aspect-ratio: 4/5; max-height: 460px; }
/* about */
section.about { padding: 54px 20px 10px; }
section.about h2 { font-size: 28px; font-weight: 800; margin-bottom: 22px; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.ab { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.ab-ico { font-size: 30px; margin-bottom: 10px; }
.ab h3 { font-size: 16px; margin-bottom: 8px; }
.ab p { font-size: 13.5px; color: var(--muted); }
.ab a { color: var(--brand); font-weight: 700; }
.btn { display: inline-block; background: var(--amber); color: var(--brand); font-weight: 800; padding: 13px 26px; border-radius: 999px; border: none; font: inherit; font-weight: 800; cursor: pointer; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--amber); border: 2px solid var(--amber); margin-left: 12px; }

/* catalog */
section.catalog { padding: 48px 0 64px; }
.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.section-head h2 { font-size: 28px; font-weight: 800; }
.filters { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.filters button { border: 1.5px solid var(--border); background: var(--card); font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.filters button.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(77, 6, 8, .12); }
.thumb { background: linear-gradient(145deg, #fdf3e3, #f7e2c0); display: grid; place-items: center; font-size: 72px; height: 200px; position: relative; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card:hover .thumb img { transform: scale(1.04); }
.ci .em img { width: 54px; height: 40px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--brand); color: var(--amber); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.card .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 15.5px; font-weight: 700; min-height: 42px; }
.card .desc { font-size: 13px; color: var(--muted); flex: 1; }
.price-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.price { font-size: 19px; font-weight: 800; color: var(--brand); }
.old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.add { background: var(--brand); color: #fff; border: none; font: inherit; font-weight: 700; padding: 10px; border-radius: 10px; cursor: pointer; }
.add:hover { background: #6b090c; }

/* stripe */
.stripe { background: var(--amber); padding: 26px 0; }
.stripe .container { display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; font-weight: 700; color: var(--brand); }

/* cart drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(430px, 100vw); background: #fff; z-index: 100; box-shadow: -12px 0 40px rgba(0,0,0,.25); transform: translateX(105%); transition: transform .25s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer header { background: var(--brand); color: #fff; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; }
.drawer header button { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
.drawer .items { flex: 1; overflow: auto; padding: 16px 22px; }
.ci { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.ci .em { font-size: 30px; }
.ci .t { flex: 1; font-size: 14px; font-weight: 600; }
.ci .qty { display: flex; align-items: center; gap: 8px; }
.ci .qty button { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-weight: 800; }
.drawer footer { padding: 18px 22px; border-top: 2px solid var(--border); }
.total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; margin-bottom: 14px; }

/* checkout */
.checkout-form { display: none; padding: 0 22px 22px; overflow: auto; }
.checkout-form.visible { display: block; }
.checkout-form label { display: block; font-size: 13px; font-weight: 700; margin: 10px 0 4px; }
.checkout-form input, .checkout-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 10px; font: inherit; font-size: 14px; }
.note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.pay-badges { display: flex; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); align-items: center; }
.pay-badges span { border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; font-weight: 700; }

/* footer */
footer.site { background: #2b0304; color: #cfb6b6; padding: 44px 0 30px; margin-top: 20px; }
footer.site .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; }
footer.site h4 { color: var(--amber); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
footer.site a { display: block; font-size: 14px; margin: 6px 0; }
footer.site a:hover { color: #fff; }
footer.site .fine { grid-column: 1 / -1; border-top: 1px solid #4a1516; margin-top: 22px; padding-top: 16px; font-size: 12.5px; color: #a98f8f; }

/* legal pages */
.page { max-width: 820px; margin: 40px auto 70px; padding: 0 20px; }
.page h1 { font-size: 30px; margin-bottom: 6px; color: var(--brand); }
.page h2 { font-size: 20px; margin: 26px 0 8px; }
.page p, .page li { font-size: 15px; }
.page ul { padding-left: 22px; }
.req-table { border-collapse: collapse; margin: 14px 0; width: 100%; }
.req-table td { border: 1px solid var(--border); padding: 9px 12px; font-size: 14px; }
.req-table td:first-child { font-weight: 700; background: #fdf6ec; width: 40%; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 200; }
.toast.show { opacity: 1; }

/* product page */
.product-page { padding: 26px 20px 60px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--brand); font-weight: 600; }
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
.product-photo { position: relative; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: linear-gradient(145deg, #fdf3e3, #f7e2c0); }
.product-photo img { width: 100%; display: block; }
.product-photo .badge { position: absolute; top: 14px; left: 14px; background: var(--brand); color: var(--amber); font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.product-info h1 { font-size: 28px; line-height: 1.2; margin-bottom: 14px; }
.price-row.big .price { font-size: 32px; }
.price-row.big .old { font-size: 17px; }
.stock { color: #1d7a3d; font-weight: 600; font-size: 14px; margin: 12px 0 18px; }
.product-info .btn { margin-right: 10px; }
.perks { list-style: none; padding: 0; margin-top: 24px; border-top: 1px solid var(--border); }
.perks li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.perks a { color: var(--brand); font-weight: 700; }
.related { margin-top: 50px; }
.related h2 { font-size: 22px; margin-bottom: 16px; }
a.card { color: inherit; }
@media (max-width: 760px) { .product-layout { grid-template-columns: 1fr; } }

/* chat widget */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 300; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-fab { width: 58px; height: 58px; border-radius: 50%; border: none; background: var(--brand); color: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 8px 24px rgba(45, 3, 4, .4); transition: transform .15s; }
.chat-fab:hover { transform: scale(1.07); }
.chat-panel { width: 280px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: 0 16px 44px rgba(45, 3, 4, .25); }
.chat-head { font-weight: 800; margin-bottom: 6px; }
.chat-panel p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.chat-link { display: block; border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-top: 8px; }
.chat-link b { display: block; font-size: 12px; color: var(--muted); }
.chat-link.tg { border-color: var(--amber); background: #fff7e8; }
.chat-link:hover { border-color: var(--brand); }

/* checkout np select */
.checkout-form select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 10px; font: inherit; font-size: 14px; background: #fff; }

/* order summary on thanks page */
.order-box { max-width: 460px; margin: 18px auto; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.order-box .row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.order-box .row:last-child { border-bottom: none; font-weight: 800; }

@media (max-width: 860px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero .art { margin: 0; }
  nav.main { display: none; }
  footer.site .container { grid-template-columns: 1fr 1fr; }
}

/* ---- product page: variants ---- */
.pdesc { font-size: 15px; color: #4a3f3f; margin: 14px 0 20px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb-btn { flex: 1; max-width: 96px; padding: 0; border: 2px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; line-height: 0; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumb-btn.on { border-color: var(--brand); }
.opt { margin: 18px 0; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 9px; }
.opt-head b { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 14.5px; }
.opt-head a { color: var(--brand); text-transform: none; letter-spacing: 0; font-weight: 600; text-decoration: underline; }
.swatches { display: flex; gap: 10px; }
.sw { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border); background: var(--sw); cursor: pointer; position: relative; transition: transform .12s; }
.sw:hover { transform: scale(1.08); }
.sw.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(77, 6, 8, .15); }
.sw.on::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; mix-blend-mode: difference; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 52px; padding: 11px 8px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.size:hover { border-color: var(--brand); }
.size.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.sizes.need { animation: shake .3s; }
.sizes.need .size { border-color: #c62828; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.btn.buy { width: 100%; margin: 8px 0 4px; padding: 15px; font-size: 16px; }
.spec-h { font-size: 17px; margin: 26px 0 10px; }
.specs { list-style: none; padding: 0; }
.specs li { position: relative; padding: 7px 0 7px 22px; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.specs li::before { content: '—'; position: absolute; left: 0; color: var(--amber); font-weight: 800; }

/* catalog card: variant hint */
.mini-sw { display: flex; align-items: center; gap: 6px; margin: 2px 0 6px; }
.mini-sw i { width: 15px; height: 15px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0,0,0,.18); }
.mini-sw span { font-size: 11.5px; color: var(--muted); margin-left: 4px; letter-spacing: .3px; }
a.add { display: block; text-align: center; text-decoration: none; }
.ci .t em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 500; }
