/* ═══ استایل‌های پایه فروشگاه ═══ */
.shop-header { background: #fff; border-bottom: 1px solid #eaded2; padding: 14px 20px; position: sticky; top: 0; z-index: 100; }
.shop-header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.shop-header-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.shop-header-brand img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #d4a437; }
.shop-header-brand-text strong { display: block; color: #1a4d2e; font-size: 16px; font-weight: 900; }
.shop-header-brand-text span { display: block; color: #d4a437; font-size: 11px; font-weight: 800; }
.shop-header-actions { display: flex; gap: 10px; }
.shop-header-link { text-decoration: none; color: #1a4d2e; font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 8px; border: 1.5px solid #1a4d2e; transition: 0.2s; }
.shop-header-link:hover { background: #1a4d2e; color: #fff; }
.shop-header-link.gold { background: #d4a437; color: #0f3320; border-color: #d4a437; }
.shop-header-link.gold:hover { background: #f0c75e; }

.shop-breadcrumb { max-width: 1200px; margin: 15px auto; padding: 0 20px; font-size: 13px; color: #8a7565; }
.shop-breadcrumb a { color: #d4a437; text-decoration: none; font-weight: bold; }

.shop-hero { max-width: 1200px; margin: 20px auto; padding: 0 20px; }
.shop-hero-card { background: linear-gradient(135deg, #1a4d2e, #0f3320); border-radius: 20px; padding: 40px 20px; text-align: center; color: #fff; }
.shop-hero-card h1 { margin: 0 0 10px; font-size: 24px; font-weight: 900; color: #ffe57a; }
.shop-hero-card p { margin: 0; font-size: 14px; line-height: 1.8; color: #d4e0d4; }

.shop-section { max-width: 1200px; margin: 0 auto; padding: 20px; }
.shop-section-title { text-align: center; margin-bottom: 30px; }
.shop-section-title h2 { font-size: 24px; font-weight: 900; margin: 0 0 10px; }
.shop-section-title p { color: #765a43; font-size: 14px; margin: 0; }

/* ═══ تقویم مدرن ═══ */
.dj-calendar-wrap { background: #fff; border-radius: 16px; padding: 20px; border: 1px solid #eaded2; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-top: 20px; }
.dj-calendar-title { text-align: center; font-size: 15px; font-weight: 900; color: #1a4d2e; margin-bottom: 20px; }
.dj-calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; direction: rtl; }
.dj-cal-day { background: #fff; border: 1.5px solid #e5d8cc; border-radius: 12px; padding: 12px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; font-family: inherit; position: relative; }
.dj-cal-day:hover:not(:disabled) { border-color: #d4a437; box-shadow: 0 4px 12px rgba(212,164,55,0.15); transform: translateY(-2px); }
.dj-cal-day.dj-cal-selected { background: #1a4d2e; color: #fff; border-color: #1a4d2e; box-shadow: 0 6px 16px rgba(26,77,46,0.3); }
.dj-cal-day.dj-cal-selected .dj-cal-weekday, .dj-cal-day.dj-cal-selected .dj-cal-month, .dj-cal-day.dj-cal-selected .dj-cal-num { color: #fff; }
.dj-cal-day.dj-cal-full { background: #fce8e8; border-color: #f5c6c6; cursor: not-allowed; opacity: 0.9; }
.dj-cal-day.dj-cal-limited { background: #fff8e6; border-color: #f0ddaa; }
.dj-cal-day:disabled { cursor: not-allowed; opacity: 0.7; }
.dj-cal-weekday { font-size: 10px; font-weight: 700; color: #8a7565; margin-bottom: 4px; }
.dj-cal-num { font-size: 18px; font-weight: 900; color: #1a4d2e; line-height: 1; }
.dj-cal-month { font-size: 10px; font-weight: 700; color: #8a7565; margin-top: 4px; }
.dj-cal-today { font-size: 9px; background: #d4a437; color: #0f3320; padding: 2px 6px; border-radius: 6px; margin-top: 4px; font-weight: 900; }
.dj-cal-full-label { font-size: 9px; color: #c0392b; font-weight: 900; margin-top: 4px; }
.dj-calendar-legend { display: flex; justify-content: center; gap: 15px; margin-top: 20px; font-size: 11px; color: #765a43; flex-wrap: wrap; }
.dj-leg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 5px; vertical-align: middle; }
.dj-leg-available { background: #fff; border: 1.5px solid #e5d8cc; }
.dj-leg-limited { background: #fff8e6; border: 1.5px solid #f0ddaa; }
.dj-leg-full { background: #fce8e8; border: 1.5px solid #f5c6c6; }

@media (max-width: 600px) {
  .dj-calendar-days { gap: 5px; }
  .dj-cal-day { padding: 8px 2px; border-radius: 8px; }
  .dj-cal-num { font-size: 14px; }
  .dj-cal-weekday, .dj-cal-month { font-size: 8px; }
  .dj-cal-today { font-size: 7px; padding: 1px 3px; }
}

/* ═══ پاپ‌آپ لاگین ═══ */
.auth-modal-overlay { position: fixed !important; inset: 0 !important; background: rgba(15, 51, 32, 0.85) !important; backdrop-filter: blur(8px) !important; z-index: 999999 !important; display: none !important; align-items: center !important; justify-content: center !important; padding: 20px !important; }
.auth-modal-overlay.active { display: flex !important; }
.auth-modal { background: #ffffff !important; border-radius: 24px !important; padding: 30px 24px !important; width: 100% !important; max-width: 420px !important; box-shadow: 0 25px 60px rgba(0,0,0,0.5) !important; position: relative !important; text-align: center !important; max-height: 90vh !important; overflow-y: auto !important; margin: auto !important; }
.auth-modal-close { position: absolute !important; top: 15px !important; left: 15px !important; background: #f4f1ed !important; border: none !important; width: 32px !important; height: 32px !important; border-radius: 50% !important; font-size: 16px !important; color: #8a7565 !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.auth-modal-logo img { width: 70px !important; height: 70px !important; border-radius: 50% !important; border: 3px solid #d4a437 !important; object-fit: cover !important; margin-bottom: 10px !important; }
.auth-modal h2 { color: #1a4d2e !important; font-size: 20px !important; font-weight: 900 !important; margin: 0 0 5px !important; }
.auth-modal-subtitle { color: #8a7565 !important; font-size: 13px !important; margin-bottom: 20px !important; line-height: 1.6 !important; }
.auth-tabs { display: flex !important; background: #f4f1ed !important; border-radius: 12px !important; padding: 4px !important; margin-bottom: 20px !important; }
.auth-tab { flex: 1 !important; padding: 10px !important; border: none !important; background: transparent !important; font-family: inherit !important; font-size: 13.5px !important; font-weight: 800 !important; color: #8a7565 !important; border-radius: 8px !important; cursor: pointer !important; transition: 0.2s !important; }
.auth-tab.active { background: #fff !important; color: #1a4d2e !important; box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important; }
.auth-form { display: none !important; text-align: right !important; }
.auth-form.active { display: block !important; animation: fadeIn 0.3s !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.auth-field { margin-bottom: 12px !important; }
.auth-field label { display: block !important; font-size: 12px !important; font-weight: 800 !important; color: #4a3220 !important; margin-bottom: 5px !important; }
.auth-field input { width: 100% !important; padding: 11px 14px !important; border: 1.5px solid #e5d8cc !important; border-radius: 10px !important; font-family: inherit !important; font-size: 14px !important; background: #fdfbf9 !important; outline: none !important; transition: 0.2s !important; }
.auth-field input:focus { border-color: #d4a437 !important; background: #fff !important; }
.auth-submit { width: 100% !important; padding: 13px !important; border: none !important; border-radius: 10px !important; background: linear-gradient(135deg, #1a4d2e, #0f3320) !important; color: #fff !important; font-family: inherit !important; font-size: 14.5px !important; font-weight: 900 !important; cursor: pointer !important; margin-top: 5px !important; transition: 0.2s !important; box-shadow: 0 4px 12px rgba(26,77,46,0.2) !important; }
.auth-hint { font-size: 11px !important; color: #8a7565 !important; margin-top: 10px !important; text-align: center !important; }
.otp-inputs { display: flex !important; justify-content: center !important; gap: 8px !important; direction: ltr !important; margin-bottom: 15px !important; }
.otp-inputs input { width: 42px !important; height: 48px !important; text-align: center !important; font-size: 20px !important; font-weight: 900 !important; border: 2px solid #e5d8cc !important; border-radius: 10px !important; background: #fdfbf9 !important; outline: none !important; }
.modal-quick-links { margin-top: 20px !important; border-top: 1px dashed #e5d8cc !important; padding-top: 15px !important; }
.modal-quick-title { font-size: 11.5px !important; font-weight: 800 !important; color: #8a7565 !important; margin-bottom: 12px !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; }
.modal-quick-title::before, .modal-quick-title::after { content: '' !important; height: 1px !important; background: #e5d8cc !important; flex: 1 !important; }
.modal-links-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
.modal-link-btn { background: #f7f2ed !important; border-radius: 10px !important; padding: 10px 5px !important; text-decoration: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: 5px !important; transition: 0.2s !important; }
.modal-link-btn .icon { font-size: 20px !important; }
.modal-link-btn .text { font-size: 10.5px !important; font-weight: 800 !important; color: #1a4d2e !important; text-align: center !important; line-height: 1.3 !important; }

/* ═══ فوتر ═══ */
.shop-footer { background: #0f3320; color: #d8c9b8; padding: 40px 20px 20px; border-top: 3px solid #d4a437; margin-top: 50px; text-align: center; }
.shop-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.shop-footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.shop-footer-brand img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #d4a437; }
.shop-footer-brand strong { font-size: 18px; font-weight: 900; color: #ffe57a; }
.shop-footer-brand span { font-size: 11px; color: #b8c9b8; display: block; margin-top: 2px; }
.shop-footer-desc { font-size: 13px; line-height: 1.9; color: #b8c9b8; max-width: 500px; margin: 0 auto; }
.shop-footer-links { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.shop-footer-links a { color: #d8c9b8; text-decoration: none; font-size: 13px; font-weight: bold; transition: 0.2s; }
.shop-footer-links a:hover { color: #ffe57a; }
.shop-footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; color: #8a9a8a; width: 100%; }

/* ═══ استایل تب‌بندی فروشگاه (حرفه‌ای) ═══ */
.shop-tabs-wrapper { text-align: center; margin-bottom: 35px; }
.shop-tabs { display: inline-flex; background: #f4f1ed; border-radius: 30px; padding: 6px; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05); flex-wrap: wrap; justify-content: center; }
.shop-tab { background: transparent; border: none; padding: 12px 24px; border-radius: 24px; font-family: inherit; font-size: 14.5px; font-weight: 800; color: #765a43; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; }
.shop-tab:hover { color: #1a4d2e; }
.shop-tab.active { background: #1a4d2e; color: #fff; box-shadow: 0 4px 15px rgba(26,77,46,0.25); }