/* Exelient Store theme - colors taken from the logo (navy -> royal blue) */
:root {
  --brand: #0B2A5B;
  --brand-deep: #021338;
  --brand-blue: #03417A;
  --accent: #1E5FA8;
  --tint: #EAF1FA;
  --gold: #C9A24A;
  --sale: #D64545;
  --text: #1A2233;
  --muted: #6B7689;
  --bg: #F6F8FB;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(2, 19, 56, .08);
}
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: #fff; }
body.rtl, body.rtl .btn, body.rtl input, body.rtl select { font-family: 'Noto Nastaliq Urdu', 'Inter', sans-serif; line-height: 2; }
h1, h2, h3, h4, h5, .brand-text, .section-title { font-family: 'Montserrat', sans-serif; }
a { color: var(--accent); }
.text-sale { color: var(--sale) !important; }
.btn-brand { background: linear-gradient(135deg, var(--brand-deep), var(--brand-blue)); color: #fff; border: 0; }
.btn-brand:hover, .btn-brand:focus { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; border: 0; }
.btn-gold:hover { background: #b38d38; color: #fff; }
.btn-outline-brand { border: 1.5px solid var(--brand); color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

/* top areas */
.announce { background: var(--brand-deep); color: #fff; letter-spacing: .3px; }
.topbar { background: var(--tint); padding: 6px 0; }
.topbar a { color: var(--brand); text-decoration: none; }
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(2, 19, 56, .06); z-index: 1030; }
.brand img { object-fit: contain; }
.brand-text { font-weight: 800; font-size: 1.35rem; color: var(--brand); margin-inline-start: 8px; letter-spacing: -.3px; white-space: nowrap; }
.brand-text span { font-weight: 600; color: var(--accent); }
.search { max-width: 640px; margin: 0 auto; border: 2px solid var(--brand); border-radius: 50px; overflow: hidden; }
.search .form-select { max-width: 170px; border: 0; border-inline-end: 1px solid #dde3ec; border-radius: 0; background-color: var(--tint); font-size: .9rem; }
.search .form-control { border: 0; border-radius: 0; box-shadow: none; }
.search .btn { border-radius: 0; padding: 0 22px; }
.icon-link { font-size: 1.5rem; color: var(--brand); text-decoration: none; display: flex; }
.cart-badge { position: absolute; top: -4px; inset-inline-end: -10px; background: var(--sale); color: #fff; font-size: .7rem; min-width: 19px; height: 19px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 600; }

.mainnav { border-top: 1px solid #edf0f5; }
.mainnav .nav-link { color: var(--text); font-weight: 600; font-size: .92rem; padding: 12px 16px; font-family: 'Montserrat', sans-serif; }
.mainnav .nav-link:hover { color: var(--accent); }
.has-mega { position: static; }
.mainnav .container { position: relative; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--accent); padding: 24px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 1000; border-radius: 0 0 var(--radius) var(--radius); }
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega-title { display: block; font-weight: 700; color: var(--brand); text-decoration: none; margin-bottom: 8px; font-size: .92rem; }
.mega-link { display: block; color: var(--muted); text-decoration: none; font-size: .87rem; padding: 3px 0; }
.mega-link:hover { color: var(--accent); padding-inline-start: 4px; transition: .15s; }
.mobile-menu .list-group-item { border-left: 0; border-right: 0; color: var(--text); }

/* hero */
.hero .carousel-item { height: 520px; background-size: cover; background-position: center; background-color: var(--brand-deep); }
.hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,19,56,.88) 0%, rgba(3,65,122,.55) 45%, rgba(0,0,0,0) 80%); }
.rtl .hero .overlay { background: linear-gradient(270deg, rgba(2,19,56,.88) 0%, rgba(3,65,122,.55) 45%, rgba(0,0,0,0) 80%); }
.hero .caption { position: relative; z-index: 2; color: #fff; max-width: 560px; }
.hero .eyebrow { color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; font-size: .8rem; }
.hero h2 { font-size: 3rem; font-weight: 800; line-height: 1.1; }
.hero p { font-size: 1.15rem; opacity: .9; }
@media (max-width: 767px) { .hero .carousel-item { height: 380px; } .hero h2 { font-size: 2rem; } }

.features { background: var(--bg); }
.feature { display: flex; align-items: center; gap: 12px; }
.feature i { font-size: 1.8rem; color: var(--accent); background: #fff; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); flex-shrink: 0; }
.feature strong { display: block; font-size: .95rem; }
.feature small { color: var(--muted); }

.section { padding: 56px 0 8px; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; gap: 12px; }
.section-title { font-weight: 800; font-size: 1.75rem; margin: 0; color: var(--brand-deep); position: relative; }
.section-title::after { content: ''; display: block; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--gold)); margin-top: 8px; }
.section-sub { color: var(--muted); margin: 4px 0 0; }

/* category circles */
.cat-card { display: block; text-align: center; text-decoration: none; color: var(--text); }
.cat-card .img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--tint), #fff); box-shadow: var(--shadow); margin-bottom: 10px; border: 3px solid #fff; outline: 2px solid var(--tint); display: flex; align-items: center; justify-content: center; transition: .25s; }
.cat-card .img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .img i { font-size: 2.4rem; color: var(--accent); }
.cat-card:hover .img { outline-color: var(--accent); transform: translateY(-4px); }
.cat-card span { font-weight: 600; font-size: .9rem; }

/* product card */
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid #eef1f6; transition: .25s; position: relative; }
.product-card:hover { box-shadow: 0 14px 34px rgba(2,19,56,.13); transform: translateY(-4px); border-color: transparent; }
.product-card .thumb { position: relative; aspect-ratio: 1; background: var(--bg); overflow: hidden; display: block; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.badge-sale, .badge-new, .badge-hot { font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 20px; color: #fff; }
.badge-sale { background: var(--sale); } .badge-new { background: var(--accent); } .badge-hot { background: var(--gold); }
.product-card .quick { position: absolute; bottom: 10px; left: 10px; right: 10px; opacity: 0; transform: translateY(10px); transition: .25s; z-index: 2; }
.product-card:hover .quick { opacity: 1; transform: none; }
.product-card .body { padding: 12px 14px 16px; display: flex; flex-direction: column; flex-grow: 1; }
.product-card .cat { font-size: .72rem; text-transform: uppercase; color: var(--muted); letter-spacing: .5px; }
.product-card .title { font-size: .92rem; font-weight: 600; color: var(--text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; margin: 4px 0 8px; }
.product-card .title:hover { color: var(--accent); }
.price { font-weight: 800; color: var(--brand); font-size: 1.05rem; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: .85rem; margin-inline-start: 6px; }
@media (hover: none) { .product-card .quick { opacity: 1; transform: none; position: static; padding: 0 14px 12px; } }

/* promo tiles */
.promo-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; display: flex; align-items: end; padding: 24px; color: #fff; text-decoration: none; background-size: cover; background-position: center; background-color: var(--brand); }
.promo-tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,19,56,.85), rgba(2,19,56,.1)); transition: .3s; }
.promo-tile:hover::before { background: linear-gradient(0deg, rgba(3,65,122,.9), rgba(3,65,122,.2)); }
.promo-tile > * { position: relative; }
.promo-tile h3 { font-weight: 800; margin-bottom: 4px; }
.promo-tile .link { color: var(--gold); font-weight: 600; }

.deal-banner { background: linear-gradient(120deg, var(--brand-deep), var(--brand-blue) 60%, var(--accent)); border-radius: var(--radius); color: #fff; padding: 40px; position: relative; overflow: hidden; }
.deal-banner::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); right: -80px; top: -120px; }
.countdown span { background: rgba(255,255,255,.12); border-radius: 10px; padding: 10px 14px; font-weight: 800; font-size: 1.4rem; display: inline-block; min-width: 64px; text-align: center; }
.countdown small { display: block; font-size: .65rem; font-weight: 500; opacity: .75; }

.nav-pills-brand .nav-link { border-radius: 30px; color: var(--brand); font-weight: 600; padding: 8px 20px; }
.nav-pills-brand .nav-link.active { background: var(--brand); }

/* shop page */
.page-hero { background: linear-gradient(120deg, var(--brand-deep), var(--brand-blue)); color: #fff; padding: 36px 0; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb a { text-decoration: none; }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }
.filter-box { background: var(--bg); border-radius: var(--radius); padding: 18px; }
.filter-box a { display: block; color: var(--text); text-decoration: none; padding: 4px 0; font-size: .92rem; }
.filter-box a.active, .filter-box a:hover { color: var(--accent); font-weight: 600; }

/* product page + zoom */
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); aspect-ratio: 1; cursor: zoom-in; border: 1px solid #eef1f6; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .1s ease-out; transform-origin: center; }
.gallery-main.zooming img { transform: scale(2.4); }
.zoom-hint { position: absolute; bottom: 10px; inset-inline-end: 10px; background: rgba(255,255,255,.9); border-radius: 20px; font-size: .75rem; padding: 4px 10px; color: var(--muted); pointer-events: none; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; background: var(--bg); flex-shrink: 0; }
.thumbs img.active { border-color: var(--accent); }
.lightbox { position: fixed; inset: 0; background: rgba(2,19,56,.95); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; cursor: zoom-in; transition: transform .2s; }
.lightbox img.big { transform: scale(2); cursor: zoom-out; }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.4rem; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; } .lightbox .lb-next { right: 20px; }
.product-title { font-weight: 800; font-size: 1.8rem; color: var(--brand-deep); }
.product-price .price { font-size: 1.9rem; }
.qty-box { display: inline-flex; border: 1.5px solid #d7dde8; border-radius: 40px; overflow: hidden; }
.qty-box button { border: 0; background: var(--bg); width: 40px; font-size: 1.1rem; }
.qty-box input { width: 54px; border: 0; text-align: center; font-weight: 600; }
.trust-list li { padding: 4px 0; color: var(--muted); font-size: .9rem; }
.trust-list i { color: var(--accent); margin-inline-end: 6px; }
.product-desc img { max-width: 100%; height: auto; }

/* checkout */
.checkout-card, .summary-card { background: #fff; border: 1px solid #eef1f6; border-radius: var(--radius); padding: 24px; }
.summary-card { background: var(--bg); position: sticky; top: 140px; }
.form-label .req { color: var(--sale); }
.pay-option { border: 1.5px solid #dde3ec; border-radius: 12px; padding: 12px 14px; cursor: pointer; display: block; }
.pay-option:has(input:checked) { border-color: var(--accent); background: var(--tint); }

/* footer */
.site-footer { background: var(--brand-deep); color: #fff; }
.site-footer h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; margin-bottom: 14px; }
.site-footer a { display: block; color: rgba(255,255,255,.72); text-decoration: none; font-size: .9rem; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-logo { background: #fff; border-radius: 50%; padding: 4px; }
.social a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); align-items: center; justify-content: center; font-size: 1.1rem; }
.pay-icons span { background: rgba(255,255,255,.1); border-radius: 6px; padding: 3px 8px; font-size: .72rem; }
.footer-bottom { background: rgba(0,0,0,.25); }

/* floating buttons + chatbot */
.wa-float { position: fixed; bottom: 92px; inset-inline-end: 22px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 1040; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.chatbot { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 1050; }
.chat-toggle { width: 58px; height: 58px; border-radius: 50%; border: 0; color: #fff; font-size: 1.7rem; background: linear-gradient(135deg, var(--brand-deep), var(--accent)); box-shadow: 0 8px 24px rgba(2,19,56,.35); animation: pulse 2.5s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(30,95,168,.45); } 50% { box-shadow: 0 0 0 12px rgba(30,95,168,0); } }
.chat-panel { position: absolute; bottom: 72px; inset-inline-end: 0; width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 120px); background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(2,19,56,.3); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { background: linear-gradient(135deg, var(--brand-deep), var(--brand-blue)); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.45; word-wrap: break-word; }
.msg.bot { background: #fff; align-self: flex-start; border-end-start-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.msg.user { background: var(--accent); color: #fff; align-self: flex-end; border-end-end-radius: 4px; }
.msg.typing { color: var(--muted); font-style: italic; }
.chat-prod { display: flex; gap: 8px; background: var(--bg); border-radius: 10px; padding: 6px; margin-top: 6px; text-decoration: none; color: var(--text); align-items: center; }
.chat-prod img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.chat-prod b { color: var(--brand); font-size: .85rem; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-quick button { border: 1px solid var(--accent); color: var(--accent); background: #fff; border-radius: 20px; font-size: .78rem; padding: 4px 10px; }
.chat-quick button:hover { background: var(--accent); color: #fff; }
.chat-input { display: flex; border-top: 1px solid #eef1f6; }
.chat-input input { flex: 1; border: 0; padding: 14px; outline: none; }
.chat-input button { border: 0; background: none; color: var(--accent); font-size: 1.2rem; padding: 0 16px; }

.empty-state { text-align: center; padding: 50px 20px; background: var(--bg); border-radius: var(--radius); color: var(--muted); }
.empty-state i { font-size: 3rem; color: var(--accent); }

/* Google translate widget tidy */
.goog-te-banner-frame { display: none !important; } body { top: 0 !important; }
#google_translate_element select { font-size: .85rem; padding: 4px; border-radius: 6px; }
