/* shop.css : header, footer, WhatsApp button and shared home/page pieces. Brand: purple #561373 + gold #c8951a */
:root { --brand: #561373; --brand-dark: #3f0d56; --gold: #c8951a; --ink: #222; --muted: #6b6b6b; --line: #e6e6e6; }
body { font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }

.topbar { background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 8px 32px; letter-spacing: .3px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { background: #fff; display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; padding: 12px 32px; border-bottom: 1px solid var(--line); }
.site-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.site-header .brand img { width: 64px; height: 64px; display: block; }
.site-header .brand b { font-size: 19px; font-weight: 800; line-height: 1.15; }
.site-header .brand small { display: block; font-size: 11.5px; font-weight: 600; color: var(--gold); letter-spacing: .6px; text-transform: uppercase; }
.search { display: flex; flex: 1; min-width: 240px; max-width: 520px; border: 1.5px solid #d9d9d9; border-radius: 8px; overflow: hidden; }
.search:focus-within { border-color: var(--brand); }
.search select { border: 0; background: #f1f1f1; padding: 0 10px; font: inherit; font-size: 13.5px; max-width: 130px; }
.search input { flex: 1; min-width: 0; border: 0; padding: 11px 12px; font: inherit; font-size: 14px; outline: none; }
.search button { border: 0; background: var(--brand); color: #fff; padding: 0 18px; cursor: pointer; font-size: 16px; }
.hdr-links { display: flex; align-items: center; gap: 6px 18px; margin-left: auto; flex-wrap: wrap; }
.hdr-links a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.hdr-links a:hover { color: var(--brand); }
.hdr-links .cart-btn { background: var(--brand); color: #fff !important; font-weight: 600; padding: 9px 16px; border-radius: 8px; white-space: nowrap; }
.hdr-links .cart-btn:hover { background: var(--brand-dark); }
@media (max-width: 760px) {
  .topbar { padding: 7px 14px; justify-content: center; text-align: center; }
  .site-header { padding: 10px 14px; }
  .site-header .brand img { width: 52px; height: 52px; }
  .site-header .brand b { font-size: 16px; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .hdr-links { gap: 6px 14px; }
  .hdr-links .hide-m { display: none; }
}

/* footer */
.site-footer { background: #1f0a2b; color: #d9cfe0; margin-top: 50px; font-size: 14px; }
.site-footer .fcols { max-width: 1240px; margin: 0 auto; padding: 38px 24px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; letter-spacing: .4px; }
.site-footer a { color: #d9cfe0; text-decoration: none; } .site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; } .site-footer li { margin-bottom: 8px; }
.site-footer .about img { width: 76px; height: 76px; display: block; margin-bottom: 10px; }
.site-footer .about p { margin: 0; line-height: 1.6; max-width: 340px; }
.site-footer .pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.site-footer .pay span { border: 1px solid #5b3a70; border-radius: 6px; padding: 3px 10px; font-size: 12px; color: #fff; }
.site-footer .copy { border-top: 1px solid #3a1f4d; text-align: center; padding: 14px; font-size: 13px; color: #a999b5; }
@media (max-width: 860px) { .site-footer .fcols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .fcols { grid-template-columns: 1fr; padding: 28px 18px 16px; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; align-items: center; gap: 8px; background: #25d366; color: #fff !important; font-weight: 600; font-size: 14px;
            padding: 11px 16px; border-radius: 30px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.wa-float:hover { filter: brightness(.93); }

@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 13px; } }

/* ---------- home page sections ---------- */
.home-wrap { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.sec { margin-top: 38px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { font-size: 22px; margin: 0; color: #1a1a2e; }
.sec-head a { color: var(--brand); font-weight: 600; text-decoration: none; font-size: 14px; } .sec-head a:hover { text-decoration: underline; }
.note { background: #fff; border: 1px dashed #ccc; border-radius: 12px; padding: 36px 20px; text-align: center; color: var(--muted); }
.note.err { border-color: #e0a0a0; color: #b00020; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.trust div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; display: flex; gap: 12px; align-items: center; }
.trust .ic { font-size: 28px; line-height: 1; }
.trust b { display: block; font-size: 14.5px; color: #1a1a2e; } .trust span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .trust { grid-template-columns: 1fr; } }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.cats a { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); text-align: center; transition: box-shadow .15s, transform .15s; }
.cats a:hover { box-shadow: 0 8px 22px rgba(0,0,0,.10); transform: translateY(-2px); }
.cats .cimg { aspect-ratio: 1 / 1; background: linear-gradient(135deg, #f4ecf8, #fbf5e6); display: grid; place-items: center; font-size: 54px; overflow: hidden; }
.cats .cimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cats b { display: block; padding: 11px 8px 2px; font-size: 14.5px; } .cats small { display: block; padding: 0 8px 12px; color: var(--muted); font-size: 12px; }

.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.offer { background: linear-gradient(135deg, #561373, #8a2fb0); color: #fff; border-radius: 14px; padding: 16px 18px; position: relative; overflow: hidden; }
.offer small { opacity: .85; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; }
.offer b { display: block; font-size: 18px; margin: 4px 0 8px; }
.offer .code { display: inline-block; border: 1.5px dashed #f5d98a; color: #f5d98a; border-radius: 6px; padding: 3px 10px; font-weight: 700; letter-spacing: 1px; font-size: 14px; }
.offer i { display: block; font-style: normal; font-size: 12px; opacity: .85; margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; position: relative; }
.steps div::before { counter-increment: s; content: counter(s); position: absolute; top: -12px; left: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.steps b { display: block; margin: 4px 0 4px; font-size: 15px; } .steps span { color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

.why { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; line-height: 1.7; color: #444; font-size: 14.5px; }
.why h2 { margin: 0 0 8px; color: #1a1a2e; font-size: 21px; }
.why ul { margin: 8px 0 0; padding-left: 20px; }
@media (max-width: 760px) { .home-wrap { padding: 0 12px; } }
