@font-face {
    font-family: 'IRANYekan';
    src: url('https://mezonkoodak.ir/wp-content/plugins/elementor-pro/abzarwp/fonts/all/fonts/woff/IRANYekanWebRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --gold: #c9a227;
    --gold-soft: #f6efd8;
    --ink: #171717;
    --muted: #7d7d7d;
    --line: #ece9e2;
    --bg: #fbfaf8;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 10px 35px rgba(16, 16, 16, .07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    font-family: 'IRANYekan', Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    direction: rtl;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
button, a { font: inherit; }
a { color: inherit; }

.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 5px 25px rgba(0,0,0,.035);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.header-container {
    position: relative;
    width: min(100%, 760px);
    height: 76px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 16px;
}
.logo-link { justify-self: center; line-height: 0; }
.logo {
    display: block;
    width: auto;
    height: 44px;
    max-width: 150px;
    object-fit: contain;
}
.header-action {
    border: 0;
    background: transparent;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 70px;
    justify-content: center;
    padding: 10px 11px;
    border: 1px solid var(--line);
    border-radius: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.header-action:active { transform: scale(.97); }
.header-action:hover { border-color: #ddd5bf; background: #fff; }
.header-action svg, .menu-list a span, .archive-button span {
    width: 16px;
    height: 16px;
}
.header-action svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-trigger { justify-self: start; }
.account-action { justify-self: end; }

/* Side menu */
.side-menu { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; }
.side-menu.is-open { visibility: visible; pointer-events: auto; }
.menu-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0;
    transition: opacity .22s ease;
}
.side-menu.is-open .menu-overlay { opacity: 1; }
.menu-panel {
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: min(86vw, 360px);
    background: #fff;
    padding: max(18px, env(safe-area-inset-top)) 18px 22px;
    box-shadow: -20px 0 60px rgba(0,0,0,.15);
    transform: translateX(102%);
    transition: transform .28s cubic-bezier(.22,.61,.36,1);
    display: flex;
    flex-direction: column;
}
.side-menu.is-open .menu-panel { transform: translateX(0); }
.menu-topbar { display:flex; align-items:center; justify-content:space-between; padding: 8px 4px 18px; }
.menu-topbar strong { font-size: 18px; }
.menu-close {
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 13px;
    background: #fff; font-size: 29px; line-height: 1; cursor:pointer; color:#666;
}
.menu-list { display: grid; gap: 9px; }
.menu-list a {
    display:flex; align-items:center; justify-content:space-between; gap: 10px;
    padding: 15px 13px;
    text-decoration:none;
    border:1px solid var(--line);
    border-radius:14px;
    background: #fff;
    font-size: 14px;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.menu-list a:hover { background:#fbf8f0; border-color:#e8dfc9; }
.menu-list a:active { transform: translateX(-2px); }
.menu-list a span { display:grid; place-items:center; color:var(--gold); font-size:22px; }
.menu-home-link { margin-top:auto; padding:15px; text-align:center; border-radius:14px; background:var(--ink); color:#fff; text-decoration:none; font-size:13px; }

.app-main { width:min(100%, 760px); margin:0 auto; padding: 24px 14px 36px; }
.hero-intro { padding: 10px 2px 26px; }
.eyebrow, .section-kicker { color: var(--gold); letter-spacing: 1.8px; font-size:10px; font-weight:700; }
.hero-intro h1 { margin-top:7px; font-size: 28px; line-height:1.35; letter-spacing:-.5px; }
.hero-intro p { margin-top:9px; color:var(--muted); line-height:1.9; font-size:12.5px; max-width:610px; }

.product-section {
    margin-top: 24px;
    padding: 18px 14px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    content-visibility: auto;
    contain-intrinsic-size: 430px;
    opacity: .3;
    transform: translateY(18px);
    transition: opacity .48s ease, transform .48s ease;
}
.product-section.is-visible { opacity:1; transform:none; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom: 16px; }
.section-head h2 { margin-top: 4px; font-size: 17px; line-height: 1.45; }
.gender-switch {
    flex:0 0 auto; display:flex; gap:4px; padding:4px; background:#f7f5f0; border:1px solid var(--line); border-radius:12px;
}
.gender-tab {
    border:0; background:transparent; color:#777; border-radius:9px; padding:7px 10px; font-size:11px; cursor:pointer; transition: all .18s ease;
}
.gender-tab.is-active { color:var(--ink); background:#fff; box-shadow:0 3px 12px rgba(0,0,0,.07); }

.slider-shell { min-height: 235px; }
.slider-loading { display:flex; align-items:center; justify-content:center; min-height:220px; color:#9b9b9b; font-size:12px; background:linear-gradient(90deg,#faf9f7,#fff,#faf9f7); border-radius:16px; }
.products-slider {
    display:flex;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    padding: 2px 2px 14px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
}
.products-slider::-webkit-scrollbar { display:none; }
.products-slider.is-hidden, .is-hidden { display:none !important; }

.product-card {
    position:relative;
    flex: 0 0 clamp(152px, 44vw, 190px);
    scroll-snap-align:start;
    border:1px solid #eeeae1;
    border-radius:17px;
    overflow:hidden;
    background:#fff;
    text-decoration:none;
    color:var(--ink);
    box-shadow:0 5px 20px rgba(0,0,0,.045);
    animation: cardIn .46s ease both;
}
@keyframes cardIn { from {opacity:0; transform:translateY(12px);} to {opacity:1; transform:none;} }
.product-image-wrap { position:relative; aspect-ratio:1/1.08; background:#f7f6f3; overflow:hidden; }
.product-image-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
.product-title { padding: 11px 11px 4px; font-size:11.5px; line-height:1.7; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; min-height:51px; }
.price-reveal {
    display:flex; align-items:center; justify-content:center; gap:6px;
    margin: 0 10px 10px; padding: 8px 9px;
    border:1px solid #eadfbe; border-radius:10px; background:#fcfaf4; color:#9a7a13;
    font-size:11px; cursor:pointer;
}
.price-reveal svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.7; }
.price-value { display:none; font-weight:700; }
.product-card.price-open .price-reveal { background: var(--gold-soft); }
.product-card.price-open .price-label { display:none; }
.product-card.price-open .price-value { display:inline; }
.product-card:hover .price-reveal { border-color:#e4d5aa; }

.section-footer { margin-top: 2px; }
.archive-button {
    display:flex; align-items:center; justify-content:center; gap:8px;
    width:100%; min-height:44px; padding:10px 12px;
    border-radius:13px; border:1px solid #dfd6bf; background:#fffdf7;
    color:#745b11; text-decoration:none; font-size:12px; font-weight:700;
}
.archive-button span { display:grid; place-items:center; font-size:18px; }

.offline-msg {
    margin: 0 0 12px; padding: 10px 12px; border:1px solid #eadfbf; border-radius:12px; background:#fffaf0; color:#77651e; font-size:11px; text-align:center;
}

.app-footer {
    width:min(100%, 760px); margin: 8px auto 0; padding: 24px 14px 30px; text-align:center; border-top:1px solid var(--line);
}
.app-footer p { font-size:13px; font-weight:700; margin-bottom:14px; }
.social-links { display:flex; justify-content:center; gap:9px; }
.social-btn { min-width:90px; padding:10px 8px; color:#fff; text-decoration:none; font-size:11px; border-radius:11px; }
.instagram { background:#b42868; }
.telegram { background:#1288c7; }
.whatsapp { background:#25a95b; }

@media (min-width: 640px) {
    .header-container { height:82px; padding:0 22px; }
    .logo { height:49px; }
    .app-main { padding-inline:18px; }
    .product-section { padding:20px 18px 16px; }
    .product-card { flex-basis:180px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior:auto; }
    *, *::before, *::after { animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}
