/* کم‌اسمورز — استایل سایت فروشگاه */
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazirmatn.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Lalezar'; src: url('/fonts/Lalezar-arabic.woff2') format('woff2'); font-display: swap; unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Lalezar'; src: url('/fonts/Lalezar-latin.woff2') format('woff2'); font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --cream: #FFF8F1; --cream-2: #FDEFE3; --white: #fff;
  --blush: #F7C8D0; --blush-2: #FCE4E8; --coral: #EE7A80; --coral-d: #D9616A;
  --lavender: #D9D0F1; --lavender-2: #EEE9FA; --mint: #CBE8D7; --mint-2: #E6F4EC;
  --choco: #4A2C2A; --choco-2: #6B4743; --muted: #8C6F6B; --line: #F1E2D6;
  --radius: 22px; --shadow: 0 10px 30px -12px rgba(74, 44, 42, .18); --shadow-sm: 0 4px 14px -6px rgba(74, 44, 42, .18);
  --display: 'Lalezar', 'Vazirmatn', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Vazirmatn', Tahoma, sans-serif; background: var(--cream); color: var(--choco); line-height: 1.85; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .5em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: 28px 20px; }
.wrap.section { padding-left: 20px; padding-right: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--coral); color: #fff; border: 0; border-radius: 999px; padding: 13px 30px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px -10px var(--coral); transition: background .2s, transform .15s; }
.btn:hover { background: var(--coral-d); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn .arrow { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--coral); display: inline-grid; place-items: center; font-size: 1.1rem; line-height: 1; }
.btn-wide { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--choco-2); color: var(--choco); background: transparent; border-radius: 999px; padding: 8px 20px; text-decoration: none; cursor: pointer; font-size: .95rem; white-space: nowrap; }
.btn-ghost:hover { background: var(--white); }

/* topbar + header */
.topbar { background: var(--choco); color: var(--cream); text-align: center; font-size: .88rem; padding: 7px 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 241, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo img { width: 150px; height: auto; }
.main-nav { display: flex; gap: 6px; margin-inline: auto; }
.main-nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; transition: background .2s; }
.main-nav a:hover { background: var(--blush-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: var(--blush-2); }
.cart-btn { display: flex; align-items: center; gap: 8px; background: var(--blush); border-radius: 18px; padding: 10px 18px; text-decoration: none; font-weight: 600; transition: transform .2s; }
.cart-btn:hover { background: #f4b9c3; }
.cart-btn.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.cart-count { background: var(--choco); color: #fff; min-width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; font-size: .8rem; padding: 0 6px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--choco); }

/* hero */
.swirl { width: 46px; height: 12px; color: var(--coral); display: inline-block; vertical-align: middle; }
.hero { overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 30px; padding-top: 30px; padding-bottom: 50px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.25; margin: 0; }
.hero-text > .swirl { margin: 6px 0 14px; width: 56px; }
.hero p { font-size: 1.12rem; color: var(--choco-2); max-width: 30em; margin: 0 0 26px; }
.hero-img { position: relative; }
.hero-img::before { content: ''; position: absolute; inset: 8% -30% -10% 6%; background: var(--blush); border-radius: 50%; opacity: .55; z-index: -1; }
.hero-img img { width: 100%; border-radius: 30px; box-shadow: var(--shadow); aspect-ratio: 766 / 418; object-fit: cover; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -20px; position: relative; padding: 10px; }
.feature { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.feature + .feature { border-inline-start: 1px solid var(--line); }
.feature h3 { font-size: 1.08rem; margin: 0 0 2px; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.ficon { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: var(--choco-2); }
.ficon svg { width: 36px; height: 36px; }
.t-blush { background: var(--blush-2); color: #c25562; } .t-lavender { background: var(--lavender-2); color: #6a54a8; } .t-mint { background: var(--mint-2); color: #3d8a5e; } .t-cream { background: var(--cream-2); color: #b5772f; }

/* section head */
.section-head { display: flex; align-items: center; justify-content: center; position: relative; margin: 26px 0 22px; gap: 16px; }
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0; display: flex; align-items: center; gap: 12px; text-align: center; }
.section-head .btn-ghost { position: absolute; inset-inline-end: 0; }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { position: relative; display: block; aspect-ratio: 5 / 4; background: var(--cream-2); margin: 10px 10px 0; border-radius: 16px; overflow: hidden; }
.card-img img, .card-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--coral); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge.out { background: var(--choco); inset-inline-start: auto; inset-inline-end: 10px; }
.card-body { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.08rem; margin: 0 0 2px; font-weight: 700; }
.card h3 a { text-decoration: none; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: .88rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price b { font-size: 1.1rem; }
.price small { color: var(--muted); font-size: .8rem; }
.price del { color: var(--muted); font-size: .85rem; margin-inline-end: 4px; }
.btn-add { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--blush); color: var(--choco); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; text-decoration: none; transition: background .2s, transform .15s; }
.btn-add:hover { background: var(--coral); color: #fff; }
.ph { background: linear-gradient(135deg, var(--blush-2), var(--lavender-2)); aspect-ratio: 1; width: 100%; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.cat { background: var(--white); border-radius: var(--radius); padding: 10px; text-align: center; text-decoration: none; box-shadow: var(--shadow-sm); font-weight: 600; }
.cat img, .cat .ph { border-radius: 16px; aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 8px; }

/* banner */
.banner { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; border-radius: 28px; overflow: hidden; }
.banner.t-blush { background: var(--blush-2); } .banner.t-lavender { background: var(--lavender-2); } .banner.t-mint { background: var(--mint-2); } .banner.t-choco { background: var(--choco); color: var(--cream); }
.banner-text { padding: 40px; }
.banner h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.banner p { color: inherit; opacity: .85; margin: 0 0 20px; }
.banner-img { align-self: stretch; }
.banner-img img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; }

/* prose */
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.2em; } .prose h3 { font-size: 1.2rem; margin-top: 1em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose blockquote { margin: 1em 0; padding: 14px 20px; background: var(--blush-2); border-radius: 14px; border-inline-start: 4px solid var(--coral); }
.prose img { border-radius: 16px; margin: 1em 0; }
.prose a { color: var(--coral-d); }
.prose.center { text-align: center; }
.figure { margin: 0; } .figure img { border-radius: var(--radius); width: 100%; } .figure figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* faq */
.faq details { background: var(--white); border-radius: 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--coral); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .prose { padding: 0 20px 14px; color: var(--choco-2); }

/* page head + crumbs */
.page-head { padding: 26px 0 6px; }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 6px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--coral-d); }
.intro { color: var(--choco-2); max-width: 46em; }

/* listing toolbar */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.chips, .sort { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .sort a { text-decoration: none; padding: 6px 16px; border-radius: 999px; background: var(--white); font-size: .92rem; box-shadow: var(--shadow-sm); }
.sort a { box-shadow: none; background: transparent; color: var(--muted); padding: 6px 10px; }
.chips a.on { background: var(--choco); color: #fff; }
.sort a.on { color: var(--choco); font-weight: 700; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pager a, .pager span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; background: var(--white); }
.pager .on { background: var(--choco); color: #fff; }
.empty { text-align: center; padding: 50px 20px; background: var(--white); border-radius: var(--radius); }
.search-form { display: flex; gap: 10px; margin-bottom: 24px; }
.search-form input { flex: 1; }

/* product page */
.product { padding-top: 20px; }
.product-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.gallery-main { background: var(--white); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--white); }
.thumbs button.on { border-color: var(--coral); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy-box h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 0 0 6px; }
.lead { color: var(--choco-2); font-size: 1.05rem; }
.buy-price { margin: 14px 0 18px; } .buy-price b { font-size: 1.6rem; }
.variants { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.variants legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.variants label { cursor: pointer; position: relative; margin: 0; }
.variants input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; top: 0; right: 0; margin: 0; }
.variants span { display: inline-block; padding: 9px 20px; border-radius: 999px; background: var(--white); border: 2px solid var(--line); transition: all .15s; }
.variants input:checked + span { border-color: var(--coral); background: var(--blush-2); font-weight: 700; }
.variants input:focus-visible + span { outline: 2px solid var(--choco); outline-offset: 2px; }
.variants .disabled span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.qty-row { display: flex; gap: 12px; }
.qty { display: flex; align-items: center; background: var(--white); border-radius: 999px; border: 2px solid var(--line); flex: none; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: 0; background: none; padding: 0; -moz-appearance: textfield; font-weight: 700; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.out-note { background: var(--white); padding: 12px 18px; border-radius: 14px; color: var(--coral-d); font-weight: 600; }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 12px; color: var(--choco-2); }
.perks svg { width: 30px; height: 30px; color: var(--coral); flex: none; }
.product-desc { background: var(--white); border-radius: var(--radius); padding: 26px 30px; margin-top: 40px; box-shadow: var(--shadow-sm); }
.product-desc > h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }

/* forms */
input, select, textarea { width: 100%; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px var(--blush-2); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--coral-d); background: #fff6f6; }
label { display: block; font-size: .92rem; font-weight: 500; margin-bottom: 14px; }
label > input, label > select, label > textarea { margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.box { background: var(--white); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 20px; box-shadow: var(--shadow-sm); border: 0; }
.box legend, .box > h3 { font-weight: 700; font-size: 1.1rem; padding: 0; margin-bottom: 14px; float: right; width: 100%; }
.box legend + * { clear: both; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; margin-bottom: 10px; }
.radio-card:has(input:checked) { border-color: var(--coral); background: var(--blush-2); }
.radio-card input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--coral); flex: none; }
.radio-card span { display: flex; flex-direction: column; flex: 1; }
.radio-card small { color: var(--muted); }
.radio-card .ship-cost { font-weight: 700; white-space: nowrap; }
.form-error { color: var(--coral-d); font-weight: 600; white-space: pre-line; margin: 8px 0; }
.form-error:empty { display: none; }
.warn { color: var(--coral-d); }
.fine { font-size: .85rem; color: var(--muted); }

/* cart + checkout */
.cart-layout, .checkout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.summary { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.summary h3 { margin-top: 0; }
.summary dl { margin: 16px 0; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; font-weight: 600; text-align: left; }
.summary dt.grand, .summary dd.grand { font-size: 1.15rem; color: var(--choco); font-weight: 800; border-top: 1px dashed var(--line); padding-top: 10px; }
.coupon { display: flex; gap: 8px; }
.coupon-msg { font-size: .88rem; margin: 6px 0 0; } .coupon-msg.ok { color: #3d8a5e; } .coupon-msg.err { color: var(--coral-d); }
.coupon-msg:empty { display: none; }
.line { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 12px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.line img, .line .ph { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; }
.line h3 { font-size: 1rem; margin: 0; } .line h3 a { text-decoration: none; }
.line .meta { color: var(--muted); font-size: .88rem; }
.line .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line .qty button { width: 34px; height: 36px; } .line .qty input { width: 34px; }
.remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .85rem; text-decoration: underline; }
.issues { background: #fff3e6; border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; color: #8a4b12; }
.mini-lines { display: grid; gap: 10px; margin-bottom: 14px; }
.mini-line { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.mini-line img, .mini-line .ph { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.mini-line span { flex: 1; } .mini-line b { white-space: nowrap; }
.loading { padding: 30px; text-align: center; color: var(--muted); }

/* order page */
.order-view h1 { font-family: var(--display); font-weight: 400; font-size: 2rem; margin-bottom: 0; }
.status-line { color: var(--muted); }
.st { display: inline-block; padding: 2px 12px; border-radius: 999px; font-weight: 700; font-size: .88rem; background: var(--cream-2); color: var(--choco); }
.st-processing, .st-shipped, .st-delivered { background: var(--mint); color: #24583a; }
.st-pending, .st-on-hold { background: #ffecc7; color: #7a4f00; }
.st-cancelled, .st-failed, .st-refunded { background: #fde0e0; color: #9b2c2c; }
.alert { padding: 16px 20px; border-radius: 16px; margin: 0 0 18px; }
.alert.ok { background: var(--mint); } .alert.err { background: #fde0e0; } .alert.info { background: var(--lavender-2); } .alert.warn { background: #fff1d6; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th, .order-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: right; }
.order-table td:last-child, .order-table th:last-child { text-align: left; white-space: nowrap; }
.order-table tfoot td { border: 0; padding: 6px; color: var(--muted); }
.order-table tfoot .grand td { color: var(--choco); font-weight: 800; font-size: 1.1rem; border-top: 2px solid var(--line); padding-top: 12px; }
.card-no { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; text-align: center; background: var(--cream); border-radius: 14px; padding: 10px; }
.receipt-form { display: flex; gap: 10px; }
.track-form { max-width: 460px; margin: 0 auto; }
.test-gw { text-align: center; } .test-gw .big { font-size: 2rem; font-weight: 800; } .row-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.err-page { padding: 70px 20px; } .err-code { font-family: var(--display); font-size: 6rem; color: var(--blush); margin: 0; line-height: 1; }
.contact-box { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }

/* footer */
.site-footer { background: var(--choco); color: var(--cream); margin-top: 60px; padding-top: 46px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 30px; }
.footer-logo { filter: brightness(0) invert(.96) sepia(.15); width: 140px; margin-bottom: 12px; }
.site-footer p { color: #e9d8cc; font-size: .92rem; margin: 0 0 8px; }
.site-footer h4 { margin: 0 0 12px; font-size: 1.05rem; color: var(--blush); }
.site-footer a { display: block; text-decoration: none; color: #e9d8cc; padding: 3px 0; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 14px; margin-top: 6px; } .social a { display: inline; }
.trust img { background: #fff; border-radius: 12px; padding: 4px; }
.copy { text-align: center; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 34px; padding: 16px; font-size: .85rem; color: #cbb3a6; }

/* toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--choco); color: #fff; padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow); z-index: 100; transition: transform .3s, visibility .3s; visibility: hidden; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--blush); font-weight: 700; white-space: nowrap; }

/* responsive */
@media (max-width: 960px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(300px, 82vw); flex-direction: column; background: var(--cream); padding: 90px 20px 20px; transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow); margin: 0; z-index: 60; }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 12px 16px; font-size: 1.05rem; }
  .menu-toggle { display: flex; z-index: 61; position: relative; }
  .header-in { gap: 10px; min-height: 70px; }
  .logo { margin-inline-end: auto; } .logo img { width: 120px; }
  .cart-btn span { display: none; } .cart-btn { padding: 10px 14px; }
  .hero-in { grid-template-columns: 1fr; text-align: center; padding-top: 10px; }
  .hero-text { order: 2; } .hero p { margin-inline: auto; }
  .hero-img::before { inset: 10% -10% -8% -10%; }
  .features { margin-top: 0; }
  .feature + .feature { border-inline-start: 0; border-top: 1px solid var(--line); }
  .product-grid, .cart-layout, .checkout { grid-template-columns: 1fr; gap: 24px; }
  .summary { position: static; }
  .banner { grid-template-columns: 1fr; } .banner-img { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; gap: 10px; } .section-head .btn-ghost { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .wrap, .wrap.section { padding-left: 16px; padding-right: 16px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 10px 12px 14px; } .card h3 { font-size: .95rem; } .card p { display: none; }
  .card-img { margin: 6px 6px 0; border-radius: 12px; } .price b { font-size: .98rem; } .btn-add { width: 36px; height: 36px; font-size: 1.3rem; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .line { grid-template-columns: 70px 1fr; } .line img, .line .ph { width: 70px; height: 70px; } .line .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .qty-row { flex-direction: column; } .qty { align-self: flex-start; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; } .social { justify-content: center; } .footer-logo { margin-inline: auto; }
  .box { padding: 18px 16px; } .banner-text { padding: 26px 22px; }
  .receipt-form, .search-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
