* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --pink:#e0567d; --pink-d:#c23d66; --ink:#2b2d42; --muted:#8d99ae; --bg:#fbf7f8; --line:#efe3e7; }
body { font-family: Vazirmatn, Tahoma, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* topbar */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { opacity: .85; }

/* header */
header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.site .container { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--pink-d); }
.logo .mark { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,var(--pink),#f7a8c4); display: grid; place-items: center; color: #fff; }
.search { flex: 1; display: flex; }
.search input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; font-family: inherit; outline: none; }
.search input:focus { border-color: var(--pink); }
.hicons { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.hicons .cart { background: var(--pink); color: #fff; padding: 9px 16px; border-radius: 10px; font-weight: 600; }

/* nav */
nav.cats { background: #fff; border-bottom: 1px solid var(--line); }
nav.cats .container { display: flex; gap: 26px; height: 48px; align-items: center; font-size: 14px; overflow-x: auto; }
nav.cats a { color: var(--muted); white-space: nowrap; }
nav.cats a:hover, nav.cats a.active { color: var(--pink-d); font-weight: 600; }

/* hero */
.hero { background: linear-gradient(120deg,#fde2e9,#f7d9ff); margin: 20px 0; border-radius: 18px; padding: 44px 40px; }
.hero h1 { font-size: 30px; margin-bottom: 10px; }
.hero p { color: #6b5560; max-width: 540px; }
.hero .btn { display: inline-block; margin-top: 18px; background: var(--pink); color: #fff; padding: 12px 26px; border-radius: 12px; font-weight: 600; }

/* section */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; margin: 28px 0 16px; }
.sec-head h2 { font-size: 22px; }
.sec-head a { color: var(--pink-d); font-size: 14px; }

/* products */
.grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 28px rgba(190,60,100,.12); transform: translateY(-3px); }
.thumb { height: 180px; display: grid; place-items: center; position: relative; }
.thumb .bottle { width: 64px; height: 92px; border-radius: 12px 12px 16px 16px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; background: #fff; color: var(--pink-d); font-size: 11px; padding: 3px 9px; border-radius: 20px; font-weight: 700; }
.card .body { padding: 13px 14px 16px; }
.card .brand { color: var(--muted); font-size: 12px; }
.card .pname { font-size: 14px; font-weight: 600; min-height: 46px; margin: 4px 0 8px; }
.card .row { display: flex; justify-content: space-between; align-items: center; }
.card .price { font-weight: 800; color: var(--ink); }
.card .price small { color: var(--muted); font-weight: 400; font-size: 11px; }
.card .add { background: #fff0f4; color: var(--pink-d); border: 1px solid #f6d3df; border-radius: 10px; padding: 7px 12px; font-family: inherit; font-weight: 600; cursor: pointer; font-size: 13px; }
.card .add:hover { background: var(--pink); color: #fff; border-color: var(--pink); }

/* footer */
footer.site { background: var(--ink); color: #cfd3dc; margin-top: 46px; padding: 40px 0 24px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 26px; }
footer.site h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
footer.site a { display: block; opacity: .8; margin-bottom: 7px; }
footer.site .copy { text-align: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid #3a3c52; opacity: .7; }

/* auth */
.auth-wrap { min-height: calc(100vh - 110px); display: grid; place-items: center; padding: 30px 16px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px; width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 22px; margin-bottom: 4px; }
.auth-card p.sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.auth-card label { display: block; font-size: 13px; margin: 14px 0 6px; color: #55606e; }
.auth-card input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; outline: none; }
.auth-card input:focus { border-color: var(--pink); }
.auth-card .btn { width: 100%; margin-top: 22px; background: var(--pink); color: #fff; border: 0; padding: 13px; border-radius: 12px; font-weight: 700; font-family: inherit; font-size: 15px; cursor: pointer; }
.auth-card .btn:hover { background: var(--pink-d); }
.auth-card .alt { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }
.auth-card .alt a { color: var(--pink-d); }
