* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { font-family: Vazirmatn, Tahoma, sans-serif; margin: 0; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.top-line { height: 3px; background: #b90035; }
.site-header { background: #fff; box-shadow: 0 3px 16px rgba(15, 23, 42, .08); position: sticky; top: 0; z-index: 30; }
.header-main { height: 58px; display: grid; grid-template-columns: 240px minmax(180px, 1fr) 120px; gap: 22px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 14px; }
.logo { color: #e73570; font-weight: 900; line-height: 1; display: inline-flex; flex-direction: row; align-items: center; gap: 9px; justify-content: flex-start; min-width: 0; }
.logo-mark { width: 42px; height: 42px; border: 1px solid #f4b4c8; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #e73570; font-size: 21px; overflow: hidden; flex: 0 0 auto; }
.logo-name { color: #e73570; font-size: 22px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.search-box { height: 36px; background: #f0f0f2; display: flex; flex-direction: row-reverse; align-items: center; padding: 0 12px; }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 12px; }
.search-box span { color: #7b8190; font-size: 22px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.login-link { color: #687083; font-size: 12px; font-weight: 800; }
.mobile-menu-toggle, .mobile-search-toggle, .mobile-drawer-head, .mobile-menu-overlay, .drawer-login-link { display: none; }
.mobile-menu-toggle, .mobile-search-toggle, .mobile-cart-toggle { width: 42px; height: 42px; border: 1px solid #f1d6df; background: #fff; align-items: center; justify-content: center; padding: 0; color: #e73570; }
.mobile-menu-toggle { flex-direction: column; gap: 5px; }
.mobile-search-toggle { font-size: 23px; line-height: 1; }
.mobile-menu-toggle span { width: 20px; height: 2px; border-radius: 999px; background: #e73570; display: block; }
.header-nav { border-top: 1px solid #eef0f4; min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 18px; color: #4b5563; font-size: 12px; font-weight: 800; overflow: visible; }
.category-menu, .category-submenu { list-style: none; padding: 0; margin: 0; }
.category-menu { display: flex; align-items: center; justify-content: center; gap: 4px; }
.category-menu li { position: relative; }
.category-menu a, .category-submenu a { display: flex; align-items: center; min-height: 34px; padding: 0 12px; white-space: nowrap; }
.category-menu a:hover, .category-submenu a:hover { color: #e73570; background: #fff5f8; }
.category-submenu { position: absolute; top: 100%; right: 0; min-width: 210px; background: #fff; border: 1px solid #f1d6df; box-shadow: 0 14px 28px rgba(15,23,42,.14); display: none; padding: 8px; z-index: 60; }
.category-submenu .category-submenu { top: -8px; right: 100%; }
.category-menu li:hover > .category-submenu, .category-menu li:focus-within > .category-submenu { display: grid; gap: 3px; }
.cart-btn { border: 1px solid #2ab673; color: #16965c; background: #fff; padding: 7px 12px; font-weight: 900; }
.cart-btn span { display: inline-flex; min-width: 19px; height: 19px; border-radius: 50%; background: #e73570; color: #fff; align-items: center; justify-content: center; margin-right: 6px; font-size: 10px; }
.story-strip { max-width: 1200px; margin: 14px auto; padding: 0 8px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 18px; overflow-x: auto; scrollbar-width: none; }
.story-strip::-webkit-scrollbar { display: none; }
.story-item { appearance: none; border: 0; background: transparent; padding: 0; text-align: center; color: #343946; font-size: 10px; font-weight: 800; min-width: 0; }
.story-item span { width: 66px; height: 66px; border: 2px solid #e73570; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 7px; padding: 3px; background: #fff; }
.story-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.story-item b { display: block; line-height: 1.7; height: 34px; overflow: hidden; }
.story-item.is-seen span { border-color: #cbd5e1; opacity: .72; }
.story-viewer-open { overflow: hidden; }
.story-viewer { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 28px); background: rgba(2,6,23,.88); backdrop-filter: blur(14px); direction: rtl; }
.story-viewer.open { display: flex; }
.story-viewer-card { position: relative; width: min(430px, 100%); height: min(860px, calc(100dvh - 24px)); max-height: 100dvh; border-radius: 28px; overflow: hidden; background: #020617; box-shadow: 0 28px 90px rgba(0,0,0,.45); }
.story-viewer-progress { position: absolute; top: 14px; right: 14px; left: 14px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.25); z-index: 4; overflow: hidden; }
.story-viewer-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: #fff; }
.story-viewer-close { position: absolute; top: 26px; left: 16px; z-index: 5; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(15,23,42,.58); color: #fff; font-size: 30px; line-height: 1; }
.story-viewer-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-viewer-copy { position: absolute; right: 0; left: 0; bottom: 0; z-index: 3; padding: 90px 22px 22px; color: #fff; background: linear-gradient(180deg, transparent, rgba(2,6,23,.86)); }
.story-viewer-copy h3 { margin: 0; font-size: 20px; line-height: 1.7; font-weight: 900; }
.story-viewer-copy p { margin: 8px 0 0; color: #e2e8f0; font-size: 13px; line-height: 1.9; font-weight: 800; }
.story-viewer-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; margin-top: 14px; padding: 0 18px; border-radius: 999px; background: #fff; color: #0f172a; font-weight: 900; }
.story-viewer-nav { position: absolute; top: 76px; bottom: 92px; width: 38%; border: 0; background: transparent; z-index: 2; }
.story-viewer-prev { right: 0; }
.story-viewer-next { left: 0; }
.hero-slider { max-width: 1200px; min-height: 435px; margin: 18px auto 22px; background: #fff; box-shadow: 0 2px 12px rgba(15, 23, 42, .14); position: relative; overflow: hidden; }
.hero-stage { min-height: 435px; position: relative; background: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-link { display: block; width: 100%; height: 435px; }
.hero-art { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-dots { position: absolute; right: 0; left: 0; bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 7px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #f39aad; transition: width .2s ease, background .2s ease; }
.hero-dots button.active { width: 22px; background: #e73570; }
.service-row { max-width: 1200px; margin: 0 auto 20px; display: grid; grid-template-columns: repeat(var(--service-count, 5), minmax(0, 1fr)); gap: 12px; }
.service-row div { background: #fff; min-height: 46px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(15, 23, 42, .1); border-right: 4px solid #f04b82; font-size: 12px; font-weight: 900; }
.promo-grid { max-width: 1200px; margin: 0 auto 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promo-card { min-height: 220px; background: #f8c3ca; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; box-shadow: 0 2px 8px rgba(15,23,42,.12); }
.promo-card:nth-child(even) { background: #fff; }
.promo-card img { max-width: 100%; max-height: 190px; object-fit: contain; margin: auto; }
.promo-card div { padding: 18px; text-align: center; }
.promo-card span { color: #a43e4e; font-weight: 900; font-size: 10px; }
.promo-card h3 { font-size: 21px; line-height: 1.5; margin: 8px 0 18px; }
.promo-card b { background: #fff; padding: 6px 22px; font-size: 12px; }
.deal-band { max-width: 1200px; margin: 0 auto 24px; background: #fff; display: grid; grid-template-columns: 320px 1fr; min-height: 320px; box-shadow: 0 2px 10px rgba(15,23,42,.12); overflow: hidden; }
.deal-list { padding: 16px; display: grid; gap: 8px; align-content: start; border-left: 1px solid #eef0f4; }
.deal-list a { background: #f2f3f7; padding: 13px; font-size: 12px; font-weight: 800; color: #5d6472; }
.deal-list a.active, .deal-list a:hover { color: #e73570; background: #fff5f8; }
.deal-stage { position: relative; min-height: 320px; overflow: hidden; }
.deal-main { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 320px; align-items: center; gap: 22px; padding: 18px 36px 32px; overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.deal-main.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.deal-copy, .deal-image { position: relative; z-index: 2; }
.deal-bg { position: absolute; inset: -28px; background-size: cover; background-position: center; filter: blur(28px); opacity: .13; transform: scale(1.08); z-index: 0; pointer-events: none; }
.deal-main::after { content: "٪۷۱ تخفیف"; position: absolute; top: 18px; left: -50px; transform: rotate(-45deg); background: #e73570; color: #fff; font-size: 12px; font-weight: 900; padding: 8px 60px; }
.deal-rotator .deal-main::after { display: none; }
.deal-main span { color: #e73570; font-weight: 900; }
.deal-main h2 { font-size: 20px; margin: 14px 0; }
.deal-prices { display: grid; gap: 6px; margin: 14px 0; }
.deal-prices del { color: #b7bbc5; font-size: 13px; font-weight: 800; }
.deal-prices strong { color: #1f2937; font-size: 24px; font-weight: 900; }
.deal-main button, .form-stack button, .product-info button, .product-card button { border: 1px solid #e73570; background: #fff; color: #e73570; padding: 10px 24px; font-weight: 900; }
.deal-image { position: relative; display: flex; align-items: center; justify-content: center; min-height: 250px; }
.deal-image img { max-width: 100%; max-height: 260px; object-fit: contain; }
.deal-image b { position: absolute; top: 8px; right: 8px; min-width: 46px; height: 46px; border-radius: 50% 50% 50% 0; background: #e73570; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; }
.deal-progress { position: absolute; right: 36px; left: 36px; bottom: 16px; height: 5px; background: #eef0f4; overflow: hidden; }
.deal-progress span { display: block; width: 0; height: 100%; background: #e73570; }
@keyframes dealProgress { from { width: 0; } to { width: 100%; } }
.product-section, .weekly-section, .category-board, .page-grid, .checkout-layout, .product-page, .state-card { max-width: 1200px; margin: 0 auto 26px; }
.product-section { background: #fff; padding: 18px; box-shadow: 0 2px 10px rgba(15,23,42,.12); }
.empty-products { text-align: center; color: #b7bbc5; font-weight: 900; padding: 44px 16px; border: 2px dashed #eef0f4; }
.weekly-section { padding: 18px 0 28px; background-color: #f5f5f5; background-image: radial-gradient(#dedee3 1px, transparent 1px); background-size: 22px 22px; }
.product-section header, .weekly-section header { display: flex; justify-content: flex-end; align-items: center; gap: 12px; border-bottom: 2px solid #e73570; margin-bottom: 18px; }
.product-section h2, .weekly-section h2 { font-size: 18px; font-weight: 900; margin: 0 0 8px; }
.product-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.pagination a { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: #fff5f8; border: 1px solid #f1d6df; color: #e73570; font-size: 12px; font-weight: 900; }
.pagination a.active, .pagination a:hover { background: #e73570; color: #fff; }
.section-header button { border: 1px solid #f5b3c8; background: #fff; color: #e73570; width: 34px; height: 34px; font-size: 22px; line-height: 1; }
.discount-slider-section { overflow: hidden; }
.product-slider { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 4px 2px 12px; }
.product-slider .product-card { flex: 0 0 220px; scroll-snap-align: start; }
.product-card { position: relative; background: #fff; min-height: auto; padding: 10px; text-align: center; box-shadow: 0 2px 8px rgba(15,23,42,.1); display: flex; flex-direction: column; align-items: stretch; overflow: hidden; }
.product-card .badge { position: absolute; top: 10px; right: 10px; background: #e73570; color: #fff; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 3px 8px; font-size: 9px; font-weight: 900; line-height: 1; white-space: nowrap; max-width: calc(100% - 20px); }
.product-img { aspect-ratio: 1 / 1; display: block; width: 100%; overflow: hidden; background: #fff5f8; }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card h3 { font-size: 13px; line-height: 1.8; min-height: 48px; margin: 10px 0; color: #333846; }
.mini-timer { display: flex; gap: 4px; color: #e73570; font-size: 10px; margin-bottom: 8px; flex-wrap: wrap; justify-content: center; }
.card-price { margin-top: auto; display: grid; gap: 4px; font-size: 12px; }
.card-price del, .price-row del { color: #b7bbc5; font-size: 11px; }
.card-price strong { color: #1f2937; }
.product-card button { margin-top: 10px; padding: 7px 18px; font-size: 12px; }
.category-children { max-width: 1200px; margin: 14px auto 22px; background: #fff; box-shadow: 0 2px 10px rgba(15,23,42,.12); padding: 18px; }
.category-children h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; }
.category-child-list { display: flex; flex-wrap: wrap; gap: 10px; }
.category-child-list a { background: #fff5f8; color: #e73570; border: 1px solid #f1d6df; padding: 9px 16px; font-size: 12px; font-weight: 900; }
.category-child-list a:hover { background: #e73570; color: #fff; }
.category-board { background: #fff; display: flex; flex-wrap: wrap; justify-content: center; box-shadow: 0 2px 10px rgba(15,23,42,.12); }
.category-board a { flex: 0 0 calc(100% / var(--category-columns, 6)); min-height: 170px; padding: 24px; border-left: 1px solid #e5e7eb; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; }
.category-board h3 { margin: 0; font-size: 18px; font-weight: 900; }
.category-board span { color: #e73570; font-size: 12px; font-weight: 800; }
.site-footer { margin-top: 42px; background: #fff; border-top: 3px solid #e73570; color: #5d6472; padding: 0; box-shadow: 0 -2px 16px rgba(15,23,42,.06); overflow: hidden; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 42px 18px 32px; display: grid; grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr)); gap: 28px; text-align: right; }
.footer-brand { display: grid; gap: 15px; align-content: start; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; color: #e73570; font-size: 23px; font-weight: 900; min-width: 0; }
.footer-logo-mark { width: 52px; height: 52px; border: 1px solid #f1d6df; background: #fff5f8; display: inline-flex; align-items: center; justify-content: center; color: #e73570; overflow: hidden; flex: 0 0 auto; }
.footer-logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.footer-brand p { margin: 0; max-width: 440px; line-height: 2; color: #6b7280; font-size: 13px; font-weight: 700; }
.footer-trust-title, .footer-col h3 { margin: 0 0 12px; color: #333846; font-size: 14px; font-weight: 900; }
.footer-col h3 { border-bottom: 2px solid #e73570; padding-bottom: 8px; }
.footer-service-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-service-chips span { border: 1px solid #f1d6df; background: #fff5f8; color: #e73570; padding: 8px 12px; font-size: 11px; font-weight: 900; }
.footer-col { display: grid; align-content: start; gap: 10px; min-width: 0; }
.footer-col a, .footer-contact p { color: #687083; font-size: 13px; font-weight: 800; line-height: 1.9; margin: 0; }
.footer-col a:hover { color: #e73570; }
.footer-contact b { color: #333846; }
.footer-bottom { border-top: 1px solid #eef0f4; max-width: 1200px; margin: 0 auto; padding: 16px 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #8a909d; font-size: 12px; font-weight: 900; }
.page-grid, .checkout-layout, .product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; }
.panel, .summary-panel, .state-card { background: #fff; padding: 28px; box-shadow: 0 2px 10px rgba(15,23,42,.1); }
.form-stack { display: grid; gap: 14px; }
.form-stack input, .form-stack textarea { width: 100%; border: 1px solid #e5e7eb; background: #f8fafc; padding: 14px; outline: none; font-family: inherit; }
.notice { padding: 12px; font-weight: 900; font-size: 13px; }
.notice.ok { background: #ecfdf5; color: #047857; }
.notice.bad { background: #fff1f2; color: #be123c; }
.order-list { display: grid; gap: 10px; }
.order-list > div, .order-details-card summary, .summary-row, .summary-total { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eef0f4; padding: 12px 0; }
.order-details-card summary { cursor: pointer; font-weight: 900; list-style: none; }
.order-details-card summary::-webkit-details-marker { display: none; }
.customer-invoice-wrap { padding-top: 14px; overflow-x: auto; }
.shop-invoice { direction: rtl; color: #333846; border: 1px solid #f1d6df; padding: 16px; background: #fff; }
.invoice-head, .invoice-parties, .invoice-totals div { display: flex; justify-content: space-between; gap: 12px; }
.invoice-head { align-items: flex-start; border-bottom: 1px solid #eef0f4; padding-bottom: 12px; margin-bottom: 12px; }
.invoice-kicker { color: #e73570; font-weight: 900; font-size: 11px; margin: 0 0 6px; }
.invoice-head h3 { margin: 0; font-weight: 900; font-size: 18px; }
.invoice-head p, .invoice-meta span, .invoice-parties span, .invoice-notes { color: #6b7280; font-size: 12px; font-weight: 700; }
.invoice-meta { display: grid; gap: 4px; text-align: left; direction: ltr; }
.invoice-meta b { font-size: 18px; font-weight: 900; color: #333846; }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.invoice-parties div { display: grid; gap: 6px; background: #f8fafc; padding: 12px; }
.invoice-table-wrap { overflow-x: auto; }
.invoice-table { width: 100%; border-collapse: collapse; min-width: 540px; font-size: 12px; }
.invoice-table th, .invoice-table td { border-bottom: 1px solid #eef0f4; padding: 10px; text-align: right; }
.invoice-table th { color: #6b7280; font-size: 11px; font-weight: 900; background: #f8fafc; }
.invoice-totals { display: grid; gap: 7px; max-width: 300px; margin: 14px 0 0 auto; font-size: 12px; }
.invoice-totals b { font-weight: 900; }
.grand-total { color: #e73570; font-size: 15px; border-top: 1px solid #eef0f4; padding-top: 8px; }
.invoice-notes { margin: 12px 0 0; background: #f8fafc; padding: 12px; }
.summary-total { font-size: 20px; font-weight: 900; color: #e73570; }
.summary-items { display: grid; gap: 10px; margin: 18px 0; }
.summary-item { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; background: #f8fafc; padding: 10px; }
.summary-item img { width: 52px; height: 52px; object-fit: contain; background: #fff; }
.choice-option { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: #f8fafc; border: 1px solid #f1d6df; padding: 14px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.choice-option:hover { background: #fff; border-color: #e73570; box-shadow: 0 8px 18px rgba(231,53,112,.1); }
.choice-option > input[type="radio"] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; pointer-events: none !important; appearance: none !important; }
.choice-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #f1a8bf; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.choice-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #e73570; transform: scale(0); transition: transform .16s ease; }
.choice-option:has(input:checked) { border-color: #e73570; background: #fff5f8; }
.choice-option:has(input:checked) .choice-dot { border-color: #e73570; }
.choice-option:has(input:checked) .choice-dot::after { transform: scale(1); }
.choice-body { display: grid; gap: 4px; min-width: 0; }
.choice-body b, .choice-option strong { color: #333846; font-size: 13px; font-weight: 900; line-height: 1.8; }
.choice-body small { color: #6b7280; font-size: 11px; line-height: 1.8; font-weight: 700; overflow-wrap: anywhere; }
.choice-option strong { white-space: nowrap; color: #e73570; }
.ship-option { justify-content: initial; }
.payment-option { grid-template-columns: 22px 1fr; }
.payment-proof-panel { display: grid; gap: 10px; background: #fff5f8; border: 1px solid #f1d6df; padding: 14px; }
.payment-proof-panel.hidden { display: none !important; }
.payment-proof-panel h3 { margin: 0; color: #333846; font-size: 15px; font-weight: 900; }
.payment-proof-panel p { margin: 0; color: #7b8495; font-size: 12px; font-weight: 700; line-height: 1.9; }
.product-photo, .product-info { background: #fff; padding: 28px; box-shadow: 0 2px 10px rgba(15,23,42,.1); }
.product-photo img { width: 100%; max-height: 520px; object-fit: contain; }
.product-info h1 { font-size: 30px; line-height: 1.5; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 22px 0; }
.price-row strong { color: #e73570; font-size: 25px; }
.back-link { color: #e73570; font-weight: 900; }
.state-card { margin-top: 60px; text-align: center; }
.state-card a { display: inline-block; margin-top: 18px; background: #e73570; color: #fff; padding: 12px 28px; font-weight: 900; }
.payment-page { max-width: 760px; text-align: right; }
.payment-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.payment-detail-grid div { background: #fff5f8; border: 1px solid #f1d6df; padding: 16px; }
.payment-detail-grid span { display: block; color: #7b8495; font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.payment-detail-grid b { display: block; color: #333846; font-size: 17px; font-weight: 900; overflow-wrap: anywhere; }
.payment-reference-form { margin-top: 18px; }
#cartSidebar.open { transform: translateX(0); }
@media (max-width: 900px) {
  html { direction: rtl; }
  body { direction: rtl; }
  .site-header { position: relative; top: auto; width: 100vw; max-width: 100vw; overflow: visible; }
  body, main, .site-footer { width: 100vw; max-width: 100vw; overflow-x: hidden; }
  .site-header, main, .site-footer { direction: rtl; }
  input, textarea, select { font-size: 16px; }
  .header-main { direction: ltr; display: flex; flex-wrap: nowrap; grid-template-columns: none; height: auto; padding: 14px; gap: 10px; width: 100%; max-width: 100%; overflow: hidden; }
  .logo { direction: ltr; order: 2; flex: 1 1 0; width: auto; min-width: 0; justify-content: flex-end; flex-direction: row-reverse; overflow: hidden; }
  .logo-name { max-width: calc(100vw - 145px); font-size: 19px; }
  .logo-mark { width: 42px; height: 42px; }
  .header-actions { order: 1; flex: 0 0 auto; gap: 8px; }
  .header-actions .login-link { display: none; }
  .mobile-menu-toggle, .mobile-search-toggle { display: inline-flex; }
  .search-box { direction: rtl; order: 3; position: absolute; top: calc(100% + 8px); right: 14px; left: 14px; width: auto; height: 48px; padding: 0 12px; margin: 0; transform: translateY(-8px); overflow: hidden; opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease; box-shadow: 0 12px 28px rgba(15,23,42,.12); z-index: 70; }
  .search-box.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu-overlay { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.5); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 980; }
  .mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }
  .header-nav { position: fixed; top: 0; right: 0; width: min(86vw, 340px); height: 100vh; overflow-y: auto; overscroll-behavior: contain; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 12px; padding: 16px; background: #fff; border-top: 0; border-left: 1px solid #f1d6df; box-shadow: -24px 0 46px rgba(15,23,42,.24); z-index: 990; -webkit-overflow-scrolling: touch; }
  .header-nav.open { display: flex; }
  .mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #f1d6df; }
  .mobile-drawer-head strong { font-size: 17px; font-weight: 900; color: #e73570; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-drawer-head button { width: 40px; height: 40px; border: 0; background: #fff5f8; color: #e73570; font-size: 24px; line-height: 1; }
  .drawer-login-link { display: flex; align-items: center; min-height: 44px; padding: 0 12px; background: #fff5f8; color: #687083; font-weight: 900; }
  .category-menu, .category-submenu { display: grid; gap: 6px; width: 100%; }
  .category-menu { justify-content: stretch; flex-wrap: initial; }
  .category-menu li { width: 100%; }
  .category-menu a, .category-submenu a { min-height: 44px; padding: 0 12px; background: #fff5f8; white-space: normal; line-height: 1.6; }
  .category-submenu, .category-menu li:hover > .category-submenu, .category-menu li:focus-within > .category-submenu { position: static; display: grid; min-width: 0; box-shadow: none; border: 0; margin: 6px 12px 0 0; padding: 0; background: transparent; }
  .category-submenu a { min-height: 38px; font-size: 12px; background: #fff; border: 1px solid #f1d6df; }
  .cart-btn { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
  .story-strip { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .story-item { flex: 0 0 78px; }
  .hero-slider, .hero-stage, .hero-link { min-height: 280px; height: 280px; }
  .service-row { display: none; }
  .promo-grid, .category-board, .page-grid, .checkout-layout, .product-page { grid-template-columns: 1fr; padding-left: 12px; padding-right: 12px; }
  .product-section, .weekly-section, .category-children, .state-card { margin-left: 12px; margin-right: 12px; max-width: calc(100% - 24px); }
  .deal-band { grid-template-columns: 1fr; margin-left: 12px; margin-right: 12px; }
  .deal-list { display: none; }
  .deal-stage { min-height: 520px; }
  .deal-main { grid-template-columns: 1fr; text-align: center; padding: 20px 18px 34px; }
  .deal-image { min-height: 220px; order: -1; }
  .deal-progress { right: 18px; left: 18px; bottom: 14px; }
  .product-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; }
  .product-card { min-height: auto; padding: 8px; }
  .product-card h3 { font-size: 12px; }
  .product-slider { direction: ltr; }
  .product-slider .product-card { flex-basis: min(82vw, 300px); }
  .product-slider .product-card { direction: rtl; }
  .product-info h1 { font-size: 22px; }
  .price-row { flex-wrap: wrap; }
  .panel, .summary-panel, .product-photo, .product-info, .state-card { padding: 18px; }
  .payment-detail-grid { grid-template-columns: 1fr; }
  .invoice-head, .invoice-parties { grid-template-columns: 1fr; display: grid; }
  .invoice-meta { text-align: right; direction: rtl; }
  .summary-item { grid-template-columns: 46px 1fr auto; }
  .choice-option { grid-template-columns: 22px 1fr; }
  .choice-option strong { grid-column: 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 34px 18px 24px; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 16px 18px 20px; }
}
@media (max-width: 480px) {
  .service-row, .category-board { grid-template-columns: 1fr; }
  .category-board a { flex-basis: 100%; }
  .hero-slider, .hero-stage, .hero-link { min-height: 220px; height: 220px; }
  .promo-card { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-card { min-height: auto; padding: 7px; }
  .product-card button { width: calc(100% - 18px); padding: 9px 8px; }
  .discount-slider-section .product-card { flex-basis: min(84vw, 310px); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-logo { font-size: 20px; }
}
.product-card-link { display: inline-block; margin-top: 10px; padding: 8px 16px; font-size: 12px; background: #e73570; color: #fff; font-weight: 900; }
.variant-picker { display: grid; gap: 8px; margin: 18px 0; }
.variant-picker label { font-size: 12px; font-weight: 900; color: #7b8495; }
.variant-picker select { width: 100%; border: 1px solid #f1d6df; background: #fff5f8; padding: 12px; font-weight: 900; outline: none; }
.variant-picker p { margin: 0; font-size: 12px; color: #7b8495; font-weight: 800; }
