/* ============================
   Page Hero
   ============================ */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%); padding: 60px 20px; text-align: center; }
.page-hero-inner { max-width: 600px; margin: 0 auto; }
.page-hero-icon { font-size: 52px; margin-bottom: 16px; }
.page-hero h1 { font-size: 32px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.65); }

/* ============================
   Page Container
   ============================ */
.page-container { max-width: 900px; margin: 0 auto; padding: 48px 20px 80px; }

/* ============================
   Wishlist page container أوسع
   ============================ */
.wishlist-page { max-width: 1200px; margin: 0 auto; padding: 48px 20px 80px; }

/* ============================
   Policy Cards
   ============================ */
.policy-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 48px; }
.policy-card { background: var(--white); border-radius: var(--rl); padding: 24px 16px; text-align: center; border: 1px solid var(--gray); box-shadow: var(--shadow); transition: transform .2s; }
.policy-card:hover { transform: translateY(-4px); }
.policy-card-icon { font-size: 32px; margin-bottom: 10px; }
.policy-card h3 { font-size: 18px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.policy-card p { font-size: 12.5px; color: var(--text3); }

/* ============================
   Policy Section
   ============================ */
.policy-section { margin-bottom: 40px; }
.policy-section h2 { font-size: 20px; font-weight: 900; color: var(--navy); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); display: inline-block; }
.policy-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.policy-item { background: var(--white); border-radius: var(--rl); padding: 24px; border: 1px solid var(--gray); display: flex; gap: 14px; }
.policy-item.green { border-top: 3px solid var(--green); }
.policy-item.red { border-top: 3px solid var(--red); }
.policy-item-icon { font-size: 24px; flex-shrink: 0; }
.policy-item strong { display: block; font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.policy-item ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.policy-item ul li { font-size: 13.5px; color: var(--text2); padding-right: 16px; position: relative; }
.policy-item ul li::before { content: '•'; position: absolute; right: 0; color: var(--orange); font-weight: 900; }

/* ============================
   Steps
   ============================ */
.steps-list { display: flex; flex-direction: column; gap: 16px; }
.step-item { display: flex; align-items: flex-start; gap: 16px; background: var(--white); border-radius: var(--rl); padding: 20px; border: 1px solid var(--gray); box-shadow: var(--shadow); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; flex-shrink: 0; }
.step-content h4 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.step-content p { font-size: 13.5px; color: var(--text2); line-height: 1.7; }

/* ============================
   CTA
   ============================ */
.policy-cta { background: linear-gradient(135deg, var(--navy), var(--navy3)); border-radius: var(--rl); padding: 40px; text-align: center; margin-top: 48px; }
.policy-cta h3 { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.policy-cta p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.policy-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp-cta { background: #25D366; color: #fff; padding: 12px 28px; border-radius: var(--r); font-size: 14px; font-weight: 700; transition: all .2s; }
.btn-whatsapp-cta:hover { background: #1da851; transform: translateY(-2px); }
.btn-phone-cta { background: rgba(255,255,255,0.1); color: #fff; padding: 12px 28px; border-radius: var(--r); font-size: 14px; font-weight: 700; border: 1.5px solid rgba(255,255,255,0.3); transition: all .2s; }
.btn-phone-cta:hover { background: rgba(255,255,255,0.2); }

/* ============================
   FAQ
   ============================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--rl); border: 1px solid var(--gray); overflow: hidden; }
.faq-question { padding: 18px 20px; font-size: 15px; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: space-between; transition: background .2s; }
.faq-question:hover { background: var(--off); }
.faq-question.active { background: var(--orange-light); color: var(--orange); }
.faq-arrow { font-size: 18px; transition: transform .3s; }
.faq-question.active .faq-arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; }
.faq-answer.open { padding: 16px 20px; max-height: 300px; }
.faq-answer p { font-size: 14px; color: var(--text2); line-height: 1.8; }

/* ============================
   Contact Form
   ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: var(--rl); padding: 18px; border: 1px solid var(--gray); }
.contact-info-icon { width: 44px; height: 44px; border-radius: var(--r); background: var(--orange-light); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info-text strong { display: block; font-size: 13px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.contact-info-text span { font-size: 13px; color: var(--text2); }
.contact-form { background: var(--white); border-radius: var(--rl); padding: 28px; border: 1px solid var(--gray); }
.contact-form h3 { font-size: 18px; font-weight: 900; color: var(--navy); margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--text); }
.form-group input, .form-group textarea, .form-group select { padding: 11px 14px; border: 1.5px solid var(--gray); border-radius: var(--r); font-family: 'Tajawal', sans-serif; font-size: 14px; color: var(--text); background: var(--off); outline: none; transition: border-color .2s; width: 100%; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--orange); background: var(--white); }
.form-group textarea { resize: none; }
.btn-submit { width: 100%; background: var(--orange); color: #fff; padding: 13px; border-radius: var(--r); font-size: 15px; font-weight: 800; border: none; cursor: pointer; font-family: 'Tajawal', sans-serif; transition: all .2s; }
.btn-submit:hover { background: var(--navy); }

/* ============================
   Contact Social Buttons
   ============================ */
.contact-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.social-btn { padding: 8px 16px; border-radius: var(--r); font-size: 13px; font-weight: 700; color: #fff; transition: all .2s; }
.social-btn:hover { transform: translateY(-2px); opacity: .9; }
.social-btn.fb { background: #1877F2; }
.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.tk { background: #000; }
.social-btn.yt { background: #FF0000; }

/* ============================
   Track Order
   ============================ */
.track-form-wrap { background: var(--white); border-radius: var(--rl); padding: 32px; border: 1px solid var(--gray); box-shadow: var(--shadow); text-align: center; max-width: 600px; margin: 0 auto 32px; }
.track-form-wrap h2 { font-size: 20px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.track-form-wrap p { font-size: 13.5px; color: var(--text3); margin-bottom: 24px; }
.track-form { display: flex; gap: 10px; }
.track-input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--gray); border-radius: var(--r); font-family: 'Tajawal', sans-serif; font-size: 14px; outline: none; transition: border-color .2s; }
.track-input:focus { border-color: var(--orange); }
.btn-track { background: var(--orange); color: #fff; padding: 12px 24px; border-radius: var(--r); font-size: 14px; font-weight: 700; border: none; cursor: pointer; font-family: 'Tajawal', sans-serif; white-space: nowrap; transition: background .2s; }
.btn-track:hover { background: var(--navy); }
.order-result { background: var(--white); border-radius: var(--rl); border: 1px solid var(--gray); overflow: hidden; max-width: 600px; margin: 0 auto; }
.order-result-header { background: var(--navy); padding: 20px; }
.order-result-num { font-size: 18px; font-weight: 900; color: #fff; }
.order-result-date { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.order-timeline { padding: 24px; display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; right: 19px; top: 36px; bottom: 0; width: 2px; background: var(--gray); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; border: 2px solid var(--gray); background: var(--white); }
.timeline-dot.done { background: var(--green); border-color: var(--green); }
.timeline-dot.current { background: var(--orange); border-color: var(--orange); }
.timeline-content h4 { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.timeline-content p { font-size: 12.5px; color: var(--text3); }

/* ============================
   Privacy
   ============================ */
.privacy-content { background: var(--white); border-radius: var(--rl); padding: 40px; border: 1px solid var(--gray); }
.privacy-content h2 { font-size: 18px; font-weight: 900; color: var(--navy); margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--gray); }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p { font-size: 14px; color: var(--text2); line-height: 2; margin-bottom: 12px; }
.privacy-content ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; padding-right: 8px; }
.privacy-content ul li { font-size: 14px; color: var(--text2); padding-right: 20px; position: relative; }
.privacy-content ul li::before { content: '←'; position: absolute; right: 0; color: var(--orange); font-weight: 900; }

/* ============================
   Wishlist — صفحة المفضلة
   ============================ */
.wishlist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wishlist-card { background: var(--white); border-radius: var(--rl); border: 1px solid var(--gray); overflow: hidden; transition: all .2s; }
.wishlist-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.wishlist-img-wrap { display: block; position: relative; height: 200px; overflow: hidden; }
.wishlist-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.wishlist-card:hover .wishlist-img { transform: scale(1.05); }
.wishlist-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; background: var(--off); }
.wishlist-badge { position: absolute; top: 10px; right: 10px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 800; }
.badge-sale { background: var(--red); color: #fff; }
.badge-new { background: var(--green); color: #fff; }
.badge-hot { background: var(--orange); color: #fff; }
.wishlist-info { padding: 14px; }
.wishlist-name { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; line-height: 1.5; }
.wishlist-name:hover { color: var(--orange); }
.wishlist-price { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.price-current { font-size: 16px; font-weight: 900; color: var(--orange); }
.price-old { font-size: 12px; color: var(--text3); text-decoration: line-through; }
.price-save { font-size: 11px; font-weight: 700; color: var(--green); background: rgba(22,163,74,0.1); padding: 2px 6px; border-radius: 10px; }
.wishlist-actions { display: flex; gap: 8px; }
.wishlist-add-form { flex: 1; }
.btn-add-to-cart { flex: 1; background: var(--navy); color: #fff; padding: 9px; border-radius: var(--r); font-size: 13px; font-weight: 700; border: none; cursor: pointer; font-family: 'Tajawal', sans-serif; transition: all .2s; width: 100%; }
.btn-add-to-cart:hover { background: var(--orange); }
.btn-remove-wishlist { background: rgba(220,38,38,0.08); color: var(--red); padding: 9px 12px; border-radius: var(--r); font-size: 14px; border: 1px solid rgba(220,38,38,0.2); cursor: pointer; transition: all .2s; }
.btn-remove-wishlist:hover { background: var(--red); color: #fff; }

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
    .policy-cards { grid-template-columns: repeat(2,1fr); }
    .policy-list { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .track-form { flex-direction: column; }
    .wishlist-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .policy-cards { grid-template-columns: 1fr 1fr; }
    .page-hero h1 { font-size: 24px; }
    .wishlist-grid { grid-template-columns: 1fr 1fr; }
}