/*
Theme Name: Wazeer Watches
Theme URI: https://example.com/
Author: Wazeer Watches
Description: Arabic RTL luxury watches store with WordPress product and order management.
Version: 1.0.0
Text Domain: wazeer-watches
*/

:root {
  --navy: #1a202c;
  --gold: #d4af37;
  --gold-dark: #917623;
  --ink: #263238;
  --muted: #68727a;
  --paper: #f5f6f7;
  --line: #e5e7eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Cairo", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-header { background: var(--navy); color: white; position: sticky; top: 0; z-index: 20; box-shadow: 0 3px 15px #0002; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { color: var(--gold); font-size: 32px; }
.brand-name { color: var(--gold); font-size: 22px; font-weight: 700; line-height: 1.2; }
.brand-tagline { color: #aab2ba; font-size: 11px; }
.main-nav { display: flex; gap: 24px; font-weight: 600; }
.main-nav a:hover, .header-action:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-action { border: 0; background: transparent; color: white; cursor: pointer; font-size: 18px; }
.cart-link { position: relative; }
.cart-count { position: absolute; top: -10px; right: -10px; background: var(--gold); color: var(--navy); border-radius: 99px; width: 19px; height: 19px; text-align: center; font: 700 11px/19px sans-serif; }
.mobile-toggle { display: none; }
.hero { min-height: 520px; display: flex; align-items: center; color: white; background: linear-gradient(90deg, #1a202cdd, #1a202c55), url('https://images.unsplash.com/photo-1523170335258-f5ed11844a49?auto=format&fit=crop&w=1920&q=85') center/cover; }
.hero-copy { max-width: 650px; padding-block: 84px; }
.hero h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1.2; margin: 0 0 18px; }
.gold { color: var(--gold); }
.hero p { color: #d8dde1; font-size: 18px; line-height: 2; }
.button { border: 0; border-radius: 7px; background: var(--gold); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; font: 700 15px "Cairo", sans-serif; cursor: pointer; transition: .2s; }
.button:hover { background: #ecd06b; transform: translateY(-2px); }
.button-dark { background: var(--navy); color: white; }
.section { padding: 70px 0; }
.section-title { text-align: center; margin: 0 0 36px; color: var(--navy); font-size: 34px; }
.section-title::after { content: ""; display: block; width: 70px; height: 4px; background: var(--gold); margin: 12px auto 0; }
.features { background: white; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fafafa; border: 1px solid var(--line); padding: 28px; text-align: center; }
.feature i { color: var(--gold); font-size: 28px; margin-bottom: 12px; }
.feature h3 { color: var(--navy); margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); line-height: 1.9; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { border: 1px solid var(--line); background: white; color: var(--ink); padding: 9px 20px; border-radius: 99px; cursor: pointer; font-family: inherit; }
.filter.active, .filter:hover { background: var(--navy); color: white; border-color: var(--navy); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: white; border: 1px solid var(--line); overflow: hidden; transition: .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px #1a202c18; }
.product-image { aspect-ratio: 1/1; object-fit: cover; width: 100%; display: block; }
.product-body { padding: 18px; }
.product-brand { color: #89929a; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.product-title { color: var(--navy); font-size: 17px; margin: 7px 0; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { color: var(--navy); font-size: 18px; font-weight: 700; }
.stars { color: var(--gold); font-size: 12px; }
.product-actions { display: flex; gap: 8px; margin-top: 14px; }
.product-actions .button { flex: 1; padding: 9px 10px; font-size: 13px; }
.newsletter { background: white; text-align: center; }
.newsletter-box { border: 1px solid var(--line); padding: 42px 24px; }
.newsletter-form { display: flex; max-width: 560px; margin: 24px auto 0; gap: 8px; }
.newsletter-form input { min-width: 0; flex: 1; border: 1px solid var(--line); padding: 12px 16px; font: 15px "Cairo", sans-serif; }
.site-footer { background: var(--navy); color: white; padding: 58px 0 20px; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: var(--gold); margin-top: 0; }
.site-footer p, .site-footer li { color: #aab2ba; line-height: 2; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom { border-top: 1px solid #ffffff1a; margin-top: 40px; padding-top: 18px; color: #89929a; font-size: 13px; text-align: center; }
.notice { padding: 12px 16px; margin: 16px 0; background: #fff9df; border: 1px solid #ebd47b; }
.single-product { background: white; padding: 60px 0; }
.single-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.single-product-image { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.single-product h1 { color: var(--navy); font-size: 42px; margin: 8px 0; }
.single-product .description { color: var(--muted); line-height: 2; margin: 22px 0; }
.quantity { width: 80px; padding: 11px; border: 1px solid var(--line); margin-inline-end: 8px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: repeat(2, 1fr); } .main-nav { display: none; } .mobile-toggle { display: inline-block; } }
@media (max-width: 600px) { .container { width: min(100% - 24px, 1180px); } .feature-grid, .single-product-grid, .footer-grid { grid-template-columns: 1fr; } .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .product-body { padding: 12px; } .product-actions { flex-direction: column; } .newsletter-form { flex-direction: column; } .hero { min-height: 560px; } .single-product h1 { font-size: 32px; } }

/* Storefront match for the supplied reference page. */
html, body { direction: rtl; }
body { background: #f3f4f6; color: #374151; text-align: right; }
.site-header, .hero, .section, .site-footer, .modal, .cart-drawer { direction: rtl; }
.product-grid, .feature-grid, .footer-grid { direction: rtl; }
.section-heading, .filters, .newsletter-box, .feature { text-align: center; }
.site-header { z-index: 50; }
.header-inner { min-height: 78px; }
.brand > span { display: flex; flex-direction: column; }
.brand-name { letter-spacing: .5px; }
.brand-tagline { display: block; margin-top: 2px; }
.brand-logo { width: auto; max-width: 150px; height: 46px; object-fit: contain; }
.footer-brand .brand-logo { max-width: 125px; height: 40px; }
.header-actions { gap: 15px; }
.header-action { position: relative; padding: 8px; border-radius: 999px; }
.header-action:hover { background: #252c3a; }
.search-wrap { display: flex; align-items: center; position: relative; }
.search-box { width: 0; opacity: 0; overflow: hidden; position: absolute; right: 100%; margin-right: 8px; transition: width .3s ease, opacity .3s ease; background: #252c3a; border: 1px solid #3d4654; border-radius: 999px; display: flex; align-items: center; padding: 8px 14px; }
.search-box.open { width: 240px; opacity: 1; }
.search-box i { color: #9ca3af; margin-left: 8px; }
.search-box input { width: 100%; background: transparent; border: 0; outline: 0; color: white; font: 13px Cairo, sans-serif; }
.mobile-menu { display: none; background: var(--navy); border-top: 1px solid #374151; padding: 8px 16px 14px; }
.mobile-menu a { display: block; padding: 8px; color: white; }
.hero { min-height: 570px; background: linear-gradient(0deg, rgba(26,32,44,.98), rgba(26,32,44,.2)), url('https://images.unsplash.com/photo-1523170335258-f5ed11844a49?auto=format&fit=crop&w=1920&q=85') center/cover; }
.hero-inner { display: flex; align-items: center; justify-content: flex-start; min-height: 570px; direction: rtl; }
.hero-copy { max-width: 650px; padding-block: 70px; text-align: right; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); }
.hero p { max-width: 560px; margin: 0 0 28px; }
.button { border-radius: 999px; }
.features { padding-block: 55px; }
.feature { border-radius: 16px; padding: 25px; transition: box-shadow .25s; }
.feature:hover { box-shadow: 0 8px 18px rgba(26,32,44,.08); }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(212,175,55,.12); }
.feature i { margin: 0; }
.products-section { background: #f3f4f6; }
.section-heading { text-align: center; margin-bottom: 42px; }
.section-title { margin-bottom: 0; }
.filters { margin: 28px 0 0; }
.filter { padding: 9px 24px; font-weight: 700; }
.product-grid { gap: 26px; }
.product-card { border-radius: 16px; position: relative; display: flex; flex-direction: column; }
.product-media { height: 288px; overflow: hidden; position: relative; cursor: pointer; }
.product-image { height: 100%; aspect-ratio: auto; transition: transform .7s; }
.product-card:hover .product-image { transform: scale(1.1); }
.product-tag { position: absolute; right: 15px; top: 15px; z-index: 2; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: white; font-size: 11px; font-weight: 700; }
.product-overlay { position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: center; gap: 10px; padding: 18px; background: linear-gradient(transparent, rgba(0,0,0,.8)); transform: translateY(100%); transition: transform .3s; }
.product-card:hover .product-overlay { transform: translateY(0); }
.product-overlay .button { flex: 1; padding: 9px 12px; font-size: 13px; }
.quick-view { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); cursor: pointer; }
.product-body { padding: 18px; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.product-title { margin: 7px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-title a:hover { color: var(--gold); }
.price { margin-top: 15px; font-size: 20px; }
.price small { color: #6b7280; font-size: 12px; font-weight: 400; }
.empty-state { text-align: center; padding: 48px; color: #9ca3af; }
.empty-state i { display: block; font-size: 38px; margin-bottom: 12px; }
.newsletter { padding-block: 62px; }
.newsletter-box { max-width: 850px; margin: auto; border-radius: 24px; background: #f9fafb; padding: 42px; }
.newsletter-icon { display: block; font-size: 36px; margin-bottom: 16px; }
.newsletter-box h2 { color: var(--navy); font-size: 30px; margin: 0 0 10px; }
.newsletter-box p { color: var(--muted); }
.newsletter-form input { border-radius: 999px; background: white; }
.whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 55; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #25d366; color: white; font-size: 30px; box-shadow: 0 8px 20px #0003; transition: transform .2s; }
.whatsapp:hover { transform: scale(1.1); color: white; }
.site-footer { padding-top: 62px; }
.footer-brand { margin-bottom: 15px; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: #252c3a; border-radius: 50%; }
.socials a:hover { background: var(--gold); color: var(--navy); }
.site-footer h3 { color: white; border-bottom: 1px solid #374151; padding-bottom: 8px; display: inline-block; }
.site-footer li a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom span { font-size: 24px; display: flex; gap: 10px; }
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.quick-view-panel { position: relative; z-index: 1; width: min(850px, 100%); max-height: 90vh; overflow: auto; background: white; border-radius: 24px; box-shadow: 0 20px 50px #0005; }
.modal-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); cursor: pointer; }
.quick-product { display: grid; grid-template-columns: 1fr 1fr; }
.quick-product img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.quick-product-info { padding: 48px 38px; }
.quick-product-info h2 { color: var(--navy); font-size: 30px; margin: 8px 0 14px; }
.quick-product-info .description { color: var(--muted); line-height: 2; margin: 20px 0; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; color: #6b7280; font-size: 11px; text-align: center; }
.trust-row span { display: flex; flex-direction: column; gap: 5px; }
.cart-backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(15,23,42,.48); opacity: 0; pointer-events: none; backdrop-filter: blur(2px); transition: opacity .3s ease; }
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; z-index: 60; inset-block: 0; left: 0; width: min(430px, 100%); display: flex; flex-direction: column; background: white; box-shadow: 14px 0 40px rgba(15,23,42,.25); transform: translateX(-105%); transition: transform .3s ease; }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { order: 0; min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #eef0f3; background: white; }
.drawer-header h2 { margin: 0; color: var(--navy); font-size: 20px; display: flex; align-items: center; gap: 9px; }
.drawer-header button, .drawer-empty button { border: 0; background: transparent; cursor: pointer; color: #6b7280; }
.drawer-header button { width: 34px; height: 34px; border-radius: 50%; }
.drawer-header button:hover { background: #f1f5f9; color: #ef4444; }
.drawer-items { order: 1; flex: 1; overflow-y: auto; padding: 18px; background: #fafbfc; }
.drawer-item { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid #e8ebef; border-radius: 14px; margin-bottom: 12px; background: white; box-shadow: 0 3px 10px rgba(15,23,42,.04); }
.drawer-item img { width: 68px; height: 68px; flex: 0 0 68px; object-fit: cover; border-radius: 10px; background: #f1f5f9; }
.drawer-item-info { flex: 1; }
.drawer-item-info strong { display: block; color: var(--navy); font-size: 13px; line-height: 1.6; }
.drawer-item-info small { color: var(--gold-dark); font-weight: 700; }
.quantity-controls { width: max-content; display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 3px 7px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f8fafc; }
.quantity-controls button { width: 22px; height: 22px; padding: 0; border: 0; background: transparent; color: #64748b; cursor: pointer; }
.quantity-controls button:hover { color: var(--gold-dark); }
.quantity-controls b { min-width: 16px; text-align: center; color: var(--navy); font-size: 13px; }
.remove-item { border: 0; background: transparent; color: #f87171; cursor: pointer; }
.remove-item:hover { color: #dc2626; }
.drawer-empty { flex: 1; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: #9ca3af; }
.drawer-empty i { font-size: 40px; }
.drawer-empty strong { color: #6b7280; }
.drawer-empty button { color: var(--gold-dark); text-decoration: underline; }
.cart-drawer.empty .drawer-items, .cart-drawer.empty .drawer-footer { display: none; }
.cart-drawer.empty .drawer-empty { display: flex; }
.cart-view, .checkout-view { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.cart-view[hidden], .checkout-view[hidden] { display: none !important; }
.cart-view .drawer-items { flex: 1; }
.cart-view .drawer-empty { flex: 1; }
.cart-view .cart-summary { flex: 0 0 auto; }
.checkout-view { overflow-y: auto; padding: 20px; background: white; }
.checkout-view .checkout-panel { display: block; }
.cart-drawer.checkout-mode .drawer-footer { display: none; }
.drawer-footer { order: 2; padding: 18px 20px 20px; border-top: 1px solid #e5e7eb; background: white; box-shadow: 0 -5px 15px rgba(15,23,42,.04); }
.drawer-footer > div { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 18px; }
.drawer-footer form { display: grid; gap: 10px; }
.checkout-start { width: 100%; margin-top: 4px; }
.checkout-panel[hidden] { display: none !important; }
.checkout-panel { animation: checkoutReveal .25s ease-out; }
.checkout-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.checkout-panel-header div { display: grid; gap: 2px; }
.checkout-panel-header span { color: var(--gold-dark); font-size: 11px; font-weight: 700; }
.checkout-panel-header strong { color: var(--navy); font-size: 18px; }
.checkout-panel-header button { border: 0; background: transparent; color: #64748b; cursor: pointer; font: 12px Cairo, sans-serif; }
.checkout-panel-header button:hover { color: var(--gold-dark); }
@keyframes checkoutReveal { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.drawer-footer input, .drawer-footer textarea { width: 100%; border: 1px solid #dfe3e8; border-radius: 10px; padding: 11px 12px; outline: none; font: 13px Cairo, sans-serif; transition: border-color .2s, box-shadow .2s; }
.drawer-footer select { width: 100%; border: 1px solid #dfe3e8; border-radius: 10px; padding: 11px 12px; outline: none; background: white; font: 13px Cairo, sans-serif; }
.drawer-footer input:focus, .drawer-footer textarea:focus, .drawer-footer select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.14); }
.drawer-footer textarea { min-height: 76px; resize: vertical; }
.cart-summary { display: grid; gap: 7px; margin-bottom: 14px; color: #6b7280; font-size: 13px; }
.cart-summary span, .cart-summary b { display: flex; justify-content: space-between; gap: 10px; }
.cart-summary b { color: var(--navy); font-size: 17px; padding-top: 8px; border-top: 1px dashed #dfe3e8; }
.cart-summary strong { color: var(--navy); }
.cart-drawer.checkout-mode .drawer-footer { order: 1; border-top: 0; box-shadow: none; }
.toast { position: fixed; z-index: 80; bottom: 16px; left: 16px; display: flex; gap: 10px; align-items: center; padding: 14px 20px; border-left: 4px solid var(--gold); border-radius: 8px; color: white; background: #111827; box-shadow: 0 10px 25px #0004; transform: translateY(100px); opacity: 0; transition: .3s; }
.toast.show { transform: translateY(0); opacity: 1; }
@media (max-width: 900px) { .profile-action, .search-wrap { display: none; } .main-nav { display: none; } .mobile-toggle { display: inline-block; } .mobile-menu.open { display: block; } }
@media (max-width: 600px) { .hero, .hero-inner { min-height: 580px; } .hero-copy { text-align: center; } .hero h1 { font-size: 42px; } .hero p { font-size: 15px; } .feature-grid { gap: 14px; } .product-grid { gap: 12px; } .product-media { height: 210px; } .product-overlay { transform: none; padding: 10px; } .product-overlay .button { font-size: 11px; padding: 7px; } .product-body { padding: 12px; } .product-title { font-size: 14px; } .price { font-size: 16px; } .newsletter-box { padding: 28px 18px; } .footer-bottom { align-items: flex-start; flex-direction: column; gap: 14px; } .quick-product { grid-template-columns: 1fr; } .quick-product img { min-height: 240px; max-height: 300px; } .quick-product-info { padding: 28px 22px; } .cart-drawer { width: 100%; } .drawer-header { min-height: 64px; padding: 14px 16px; } .drawer-items { padding: 12px; } .drawer-footer { padding: 14px 16px 16px; } .drawer-item { gap: 9px; padding: 10px; } .drawer-item img { width: 58px; height: 58px; flex-basis: 58px; } }

/* Modern cart and checkout presentation. */
.cart-drawer { border-radius: 0 18px 18px 0; overflow: hidden; }
.drawer-header { background: linear-gradient(135deg, #1a202c, #273244); border: 0; color: white; }
.drawer-header h2 { color: white; font-size: 19px; }
.drawer-header h2::after { content: "مراجعة طلبك"; display: block; margin-right: 8px; color: #b8c0cb; font-size: 10px; font-weight: 400; }
.drawer-header h2 { flex-wrap: wrap; }
.drawer-header button { color: #cbd5e1; }
.drawer-header button:hover { background: rgba(255,255,255,.12); color: white; }
.cart-view { background: #f6f8fa; }
.drawer-items { padding: 18px 16px 8px; background: transparent; }
.drawer-item { align-items: flex-start; border: 1px solid #e5e9ef; padding: 12px; margin-bottom: 10px; }
.drawer-item-image { display: block; }
.drawer-item-price { display: block; margin-top: 3px; font-size: 12px; }
.remove-item { margin-top: 2px; width: 28px; height: 28px; border-radius: 7px; }
.remove-item:hover { background: #fff1f2; }
.cart-summary { margin: 8px 16px 12px; padding: 15px; border: 1px solid #e3e8ee; border-radius: 14px; background: white; box-shadow: 0 5px 15px rgba(15,23,42,.05); }
.cart-summary span { color: #64748b; }
.cart-summary span strong { font-weight: 700; }
.cart-summary b { margin-top: 3px; color: #172033; }
.cart-summary b strong { color: var(--gold-dark); font-size: 19px; }
.checkout-start { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: calc(100% - 72px); height: 44px; min-height: 44px; margin: 0 36px 18px; padding: 0 12px; border-radius: 10px; font-size: 13px; line-height: 1; white-space: nowrap; box-shadow: 0 6px 12px rgba(26,32,44,.14); }
.drawer-empty { padding: 30px; background: #f6f8fa; }
.drawer-empty i { width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; border-radius: 24px; background: #e9eef3; color: #94a3b8; font-size: 30px; }
.drawer-empty strong { color: #334155; font-size: 15px; }
.drawer-empty button { padding: 6px 12px; border-radius: 8px; }
.drawer-empty button:hover { background: #fff; }
.checkout-view { padding: 24px 20px; background: linear-gradient(160deg, #e8edf1 0%, #f8fafb 58%, #eef2e5 100%); }
.checkout-panel { width: 100%; }
.checkout-panel-header { position: relative; margin: 0 0 20px; padding: 0 0 18px; border-bottom: 1px solid #e0e6ec; }
.checkout-panel-header span { color: var(--gold-dark); letter-spacing: .2px; }
.checkout-panel-header strong { font-size: 22px; }
.checkout-panel-header button { padding: 7px 9px; border-radius: 8px; }
.checkout-panel-header button:hover { background: white; }
#wz-checkout-form { position: relative; padding: 22px 20px 20px; border: 1px solid #dfe5ea; border-top: 4px solid var(--gold); border-radius: 16px; background: #ffffff; box-shadow: 0 12px 28px rgba(15,23,42,.10); }
#wz-checkout-form::before { display: none; }
#wz-checkout-form { display: grid; gap: 14px; }
.checkout-brand-intro { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid #edf0f3; }
.checkout-brand-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--navy); color: var(--gold); font-size: 20px; }
.checkout-brand-intro div { display: grid; gap: 2px; }
.checkout-brand-intro strong { color: var(--navy); font-size: 15px; }
.checkout-brand-intro small { color: #7b8794; font-size: 11px; }
.checkout-field { display: grid; gap: 6px; }
.checkout-field label { display: flex; align-items: center; gap: 6px; color: #475569; font-size: 12px; font-weight: 700; }
.checkout-field label i { width: 15px; color: var(--gold-dark); text-align: center; }
#wz-checkout-form input, #wz-checkout-form select, #wz-checkout-form textarea { box-sizing: border-box; width: 100%; min-height: 48px; border-color: #d7dee7; background: #fbfcfd; font-size: 13px; }
#wz-checkout-form textarea { min-height: 94px; }
.checkout-field-address textarea { min-height: 96px; }
.checkout-trust-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 11px; border-radius: 10px; background: #f7f9ee; color: #68733b; font-size: 11px; line-height: 1.7; }
.checkout-trust-note i { color: var(--gold-dark); margin-top: 3px; }
#wz-checkout-form .button { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; min-height: 50px; margin-top: 4px; border-radius: 11px; font-size: 14px; line-height: 1; }
@media (max-width: 600px) { .cart-drawer { border-radius: 0; } .drawer-header h2::after { margin-right: 6px; } .checkout-view { padding: 20px 14px; } #wz-checkout-form { padding: 14px; } }

/* Alternate cart direction: editorial luxury checkout panel. */
.cart-drawer { width: min(470px, 100%); border-radius: 0; background: #f1eee7; color: #28303b; box-shadow: 18px 0 48px rgba(15,23,42,.22); }
.drawer-header { position: relative; min-height: 88px; padding: 20px 24px; background: #fffdf9; border-bottom: 1px solid #ded8cc; color: #1a202c; }
.drawer-header h2 { color: #1a202c; font-size: 21px; letter-spacing: .1px; }
.drawer-header h2::after { content: "مراجعة طلبك"; margin-right: 0; color: #9a7b25; font-size: 10px; letter-spacing: .2px; }
.drawer-header h2 i { color: #b5952f; }
.drawer-header button { color: #697381; }
.drawer-header button:hover { background: #ece7dc; color: #1a202c; }
.cart-view { background: #f1eee7; }
.drawer-items { padding: 22px 24px 10px; background: transparent; }
.drawer-item { gap: 14px; align-items: center; margin-bottom: 13px; padding: 11px; border: 0; border-right: 3px solid #c6a63c; border-radius: 4px; background: #fffdf9; box-shadow: 0 5px 14px rgba(55,45,24,.07); }
.drawer-item-image { width: 76px; height: 76px; flex-basis: 76px; border-radius: 3px; }
.drawer-item-info strong { font-size: 14px; font-weight: 700; }
.drawer-item-price { color: #9a7b25; font-size: 13px; }
.quantity-controls { margin-top: 9px; border: 1px solid #d9d2c3; border-radius: 3px; background: #f7f3ea; }
.quantity-controls button:hover { color: #9a7b25; background: #ebe3d3; }
.remove-item { color: #9b6d6d; }
.remove-item:hover { color: #7f3d3d; background: #f4e6e2; }
.cart-summary { margin: 12px 24px 14px; padding: 18px 16px; border: 1px solid #d9d2c3; border-radius: 4px; background: #fffdf9; box-shadow: none; }
.cart-summary span { color: #6c737d; }
.cart-summary b { color: #1a202c; border-color: #ddd5c7; }
.cart-summary b strong { color: #9a7b25; }
.cart-summary #wz-drawer-shipping.is-selected { color: #9a7b25; font-weight: 700; }
.cart-summary #wz-drawer-shipping.is-free { color: #4f6f3a; }
.checkout-start { width: calc(100% - 48px); height: 46px; min-height: 46px; margin: 0 24px 24px; border-radius: 3px; background: #1a202c; color: #fffdf9; box-shadow: none; font-size: 13px; }
.checkout-start:hover { background: #303c4d; transform: none; }
.drawer-empty { background: #f1eee7; }
.drawer-empty i { border-radius: 4px; background: #e4ded1; color: #9a7b25; }
.drawer-empty button { color: #9a7b25; }
.checkout-view { padding: 0; background: #f1eee7; }
.checkout-panel { min-height: 100%; padding: 25px 24px 30px; }
.checkout-panel-header { margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid #d9d2c3; }
.checkout-panel-header span { color: #9a7b25; text-transform: uppercase; }
.checkout-panel-header strong { color: #1a202c; font-size: 24px; }
.checkout-panel-header button { color: #68717b; border-radius: 3px; }
.checkout-panel-header button:hover { background: #e4ded1; }
#wz-checkout-form { padding: 0; border: 0; border-top: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 16px; }
#wz-checkout-form::before { display: none; }
.checkout-brand-intro { padding: 0 0 16px; border-bottom: 0; }
.checkout-brand-icon { width: 38px; height: 38px; border-radius: 3px; background: #1a202c; color: #d4af37; }
.checkout-brand-intro strong { color: #1a202c; }
.checkout-brand-intro small { color: #737b82; }
.checkout-field { gap: 7px; }
.checkout-field label { color: #4c5662; font-size: 11px; }
.checkout-field label i { color: #9a7b25; }
#wz-checkout-form input, #wz-checkout-form select, #wz-checkout-form textarea { min-height: 50px; padding: 12px 13px; border: 1px solid #d5cebf; border-radius: 3px; background: #fffdf9; color: #1a202c; }
#wz-checkout-form input:focus, #wz-checkout-form select:focus, #wz-checkout-form textarea:focus { border-color: #b5952f; box-shadow: 0 0 0 2px rgba(181,149,47,.12); background: white; }
#wz-checkout-form textarea, .checkout-field-address textarea { min-height: 112px; }
.checkout-trust-note { padding: 12px; border-radius: 3px; background: #e8eadf; color: #596142; }
.checkout-shipping-preview { display: grid; gap: 8px; padding: 14px; border: 1px solid #d9d2c3; border-radius: 4px; background: #fffdf9; }
.checkout-shipping-preview > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #69727d; font-size: 12px; }
.checkout-shipping-preview strong { color: #1a202c; }
.checkout-shipping-preview .checkout-final-total { margin-top: 3px; padding-top: 10px; border-top: 1px dashed #d9d2c3; color: #1a202c; font-size: 14px; font-weight: 700; }
.checkout-shipping-preview .checkout-final-total strong { color: #9a7b25; font-size: 18px; }
#wz-checkout-form .button { height: 48px; min-height: 48px; margin-top: 4px; border-radius: 3px; background: #1a202c; color: white; }
#wz-checkout-form .button:hover { background: #303c4d; transform: none; }
@media (max-width: 600px) { .cart-drawer { width: 100%; } .drawer-header { padding: 17px 18px; } .drawer-items { padding-inline: 18px; } .cart-summary { margin-inline: 18px; } .checkout-start { width: calc(100% - 36px); margin-inline: 18px; } .checkout-panel { padding-inline: 18px; } }

.account-page { min-height: calc(100vh - 78px); padding: 70px 16px; background: radial-gradient(circle at 10% 10%, #f3e8bf 0, transparent 30%), #f4f5f7; direction: rtl; }
.account-shell { width: min(760px, 100%); margin: auto; }
.account-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--navy); font-size: 20px; font-weight: 700; }
.account-brand i { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--navy); color: var(--gold); }
.account-brand small { display: block; color: #7b8794; font-size: 11px; font-weight: 400; }
.account-notice { padding: 12px 15px; margin-bottom: 18px; border: 1px solid #d9e8cf; border-radius: 10px; background: #f1f8eb; color: #4d683e; font-size: 13px; }
.account-tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 18px; border-radius: 12px; background: #e7e9ed; }
.account-tab { flex: 1; border: 0; border-radius: 9px; padding: 12px; background: transparent; color: #64748b; cursor: pointer; font: 700 13px Cairo, sans-serif; }
.account-tab.active { background: white; color: var(--navy); box-shadow: 0 3px 10px #17203312; }
.account-form-wrap { padding: 30px; border: 1px solid #e1e5ea; border-radius: 18px; background: white; box-shadow: 0 14px 35px #17203312; }
.account-form-wrap h1 { margin: 0 0 5px; color: var(--navy); font-size: 25px; }
.account-form-wrap > p { margin: 0 0 22px; color: #7b8794; font-size: 13px; }
.account-form-wrap form { display: grid; gap: 14px; }
.account-form-wrap label { display: grid; gap: 7px; color: #475569; font-size: 12px; font-weight: 700; }
.account-form-wrap input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #dce2e8; border-radius: 10px; outline: 0; background: #fbfcfd; font: 13px Cairo, sans-serif; }
.account-form-wrap input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px #d4af3725; background: white; }
.account-form-wrap .button { width: 100%; min-height: 48px; margin-top: 5px; border-radius: 10px; }
.account-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.account-heading span { color: var(--gold-dark); font-size: 12px; font-weight: 700; }
.account-heading h1 { margin: 3px 0; color: var(--navy); font-size: 30px; }
.account-heading p { margin: 0; color: #7b8794; font-size: 13px; }
.account-logout { padding: 9px 13px; border-radius: 9px; color: #9b5555; background: #fff1f1; font-size: 12px; text-decoration: none; }
.account-orders { padding: 22px; border-radius: 18px; background: white; box-shadow: 0 14px 35px #17203312; }
.account-section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.account-section-title h2 { margin: 0; color: var(--navy); font-size: 20px; }
.account-section-title span { color: var(--gold-dark); font-size: 12px; }
.account-order-list { display: grid; gap: 10px; }
.account-order { padding: 15px; border: 1px solid #e7ebef; border-radius: 12px; }
.account-order-top, .account-order-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-order-top strong { color: var(--navy); font-size: 14px; }
.account-order-info { justify-content: flex-start; margin-top: 13px; color: #64748b; font-size: 12px; }
.account-order-info span { display: inline-flex; align-items: center; gap: 5px; }
.account-order-info i { color: var(--gold-dark); }
.account-order-info strong { margin-right: auto; color: var(--navy); }
.account-order-date { display: block; margin-top: 10px; color: #94a3b8; font-size: 10px; }
.account-empty { padding: 45px 15px; text-align: center; color: #94a3b8; }
.account-empty i { display: block; margin-bottom: 12px; color: var(--gold); font-size: 38px; }
.account-empty h3 { margin: 0 0 6px; color: #475569; font-size: 16px; }
.account-empty p { margin: 0 0 18px; font-size: 12px; }
@media (max-width: 600px) { .account-page { padding: 40px 12px; } .account-form-wrap, .account-orders { padding: 20px; } .account-heading { align-items: flex-start; flex-direction: column; } .account-heading h1 { font-size: 25px; } .account-order-info { align-items: flex-start; flex-direction: column; } .account-order-info strong { margin-right: 0; } }
