/* ===========================================================
   Jewels by Alghousia — additions (v1)
   logo, uniform product images, product note, auto-scrolling
   product + review strips, contact form, full-site Urdu polish
   =========================================================== */

/* ---------- Logo ---------- */
.brand-logo.brand-logo-img { width: auto; height: 74px; max-width: 100%; display: block; object-fit: contain; }
.brand picture { display: block; line-height: 0; }
@media (max-width: 980px) { .brand-logo.brand-logo-img { height: 56px; } }
@media (max-width: 560px) { .brand-logo.brand-logo-img { height: 46px; } }

.brand-mark picture { display: block; line-height: 0; }
.mark-logo-img { height: 78px; width: auto; display: block; margin: 0 auto; }
.site-footer .brand-mark {
  background: #FEF5EE; border-radius: 12px; padding: 6px 14px; display: inline-block;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.site-footer .mark-logo-img { height: 54px; }
.lang-card .brand-mark { display: flex; justify-content: center; }

/* ---------- Every product picture: the same square size ---------- */
.product-media, .bs-media, .mq-media {
  aspect-ratio: 1 / 1 !important; height: auto !important;
  position: relative; overflow: hidden;
}
.product-media > img, .bs-media > img, .mq-media > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.product-page-gallery .product-page-media { aspect-ratio: 1 / 1 !important; }
.qv-thumb { width: 64px; height: 64px; flex: 0 0 64px; }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-media { width: 72px; height: 72px; flex: 0 0 72px; }

/* ---------- Product note (under the free-delivery line) ---------- */
.product-note {
  font-size: .68rem; line-height: 1.4; color: var(--ink-soft);
  font-style: italic; margin-top: 4px;
}
.product-page-info .free-delivery-tag { margin-bottom: 4px !important; }
.product-page-info .product-note { font-size: .84rem; margin: 0 0 16px; }
@media (max-width: 700px) { .product-note { font-size: .6rem; } }

/* ---------- Auto-scrolling strips (right to left) ---------- */
.mq-section { padding: 36px 0 8px; overflow: hidden; }
.mq-viewport {
  overflow: hidden; direction: ltr; margin-top: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.mq-track {
  display: flex; width: max-content;
  padding: 6px 0 16px;
  animation: mq-scroll var(--mq-duration, 40s) linear infinite;
  will-change: transform;
}
.mq-viewport:hover .mq-track, .mq-viewport:focus-within .mq-track { animation-play-state: paused; }
@keyframes mq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.mq-card {
  flex: 0 0 auto; width: 220px; margin-right: 18px;
  background: var(--ivory-deep); border: 1px solid rgba(180,138,45,.22); border-radius: 10px;
  box-shadow: 0 3px 12px rgba(70,45,10,.08); overflow: hidden; text-align: center;
  text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s;
}
.mq-card:hover { box-shadow: 0 12px 26px rgba(70,45,10,.16); transform: translateY(-3px); }
.mq-media {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); font-family: var(--font-display); font-size: 1.3rem;
}
.mq-name {
  font-family: var(--font-serif); font-size: .92rem; color: var(--ink);
  padding: 12px 12px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mq-price { font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; color: #1F1710; padding: 0 12px 14px; }
@media (max-width: 700px) { .mq-card { width: 150px; margin-right: 12px; } .mq-name { font-size: .8rem; } .mq-price { font-size: .92rem; } }

/* ---------- Customer reviews ---------- */
.reviews-section { padding: 30px 0 52px; overflow: hidden; }
.review-card {
  flex: 0 0 auto; width: 330px; margin: 0 18px 0 0; padding: 20px 22px 18px;
  background: #fff; border: 1px solid rgba(180,138,45,.28); border-radius: 12px;
  box-shadow: 0 3px 14px rgba(70,45,10,.08); white-space: normal;
  display: flex; flex-direction: column;
}
.review-stars { color: #F5B301; font-size: 1.3rem; letter-spacing: 3px; line-height: 1.2; }
.review-stars i { font-style: normal; color: #E6D9BE; }
.review-card blockquote {
  margin: 10px 0 14px; font-family: var(--font-serif); font-size: .95rem; line-height: 1.65; color: var(--ink); flex: 1;
}
.review-card figcaption { border-top: 1px solid rgba(180,138,45,.25); padding-top: 10px; }
.review-card figcaption strong { display: block; font-family: var(--font-serif); color: var(--gold-dark); }
.review-card figcaption span { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: 2px; }
.review-card { margin-left: 0; margin-block: 0; }
@media (max-width: 700px) { .review-card { width: 270px; margin-right: 12px; padding: 16px; } }

/* ---------- Contact page ---------- */
.contact-form-card h2 { margin-top: 0; }
.form-intro { margin: -4px 0 18px; color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }
.cf-field { margin-bottom: 14px; }
.cf-field label {
  display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-soft); font-weight: 600; margin-bottom: 6px;
}
.cf-field input, .cf-field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .97rem; color: var(--ink);
  background: #fff; border: 1px solid rgba(180,138,45,.45); border-radius: 10px;
}
.cf-field textarea { resize: vertical; min-height: 110px; }
.cf-field input:focus, .cf-field textarea:focus { outline: 2px solid rgba(180,138,45,.5); outline-offset: 1px; border-color: var(--gold-dark); }
.cf-msg { padding: 10px 14px; border-radius: 10px; font-size: .9rem; line-height: 1.55; margin-bottom: 14px; }
.cf-msg[hidden] { display: none; }
.cf-msg.err { background: #FBEAE8; color: #9A2A20; border: 1px solid #F0C4BE; }
.cf-msg.ok { background: #E8F4EA; color: #1F6B35; border: 1px solid #BFE0C6; }
.cf-submit { font-size: 1rem; padding: 14px 26px; }

/* ---------- Urdu (whole site) ---------- */
body.urdu, body.urdu :is(h1,h2,h3,h4,p,a,span,li,div,button,label,input,textarea,strong,em,b,blockquote,figcaption,small,nav) {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Inter', serif;
}
body.urdu { line-height: 1.9; }
body.urdu :is(p, li, blockquote) { line-height: 2.1; }
body.urdu :is(h1,h2,h3,h4) { line-height: 1.8; letter-spacing: 0 !important; }
body.urdu .site-footer .brand-en { display: block; }
body.urdu .topbar-item { line-height: 1.9; letter-spacing: 0; }
body.urdu .main-nav a, body.urdu .chip, body.urdu .btn, body.urdu .btn-hero { letter-spacing: 0; line-height: 1.9; }
body.urdu .hero-eyebrow, body.urdu .page-eyebrow, body.urdu .banner-brand, body.urdu .collection-label { letter-spacing: 0 !important; text-transform: none; }
body.urdu .page-eyebrow, body.urdu .contact-label, body.urdu .cf-field label, body.urdu .footer-col-title { text-transform: none; letter-spacing: 0; }
body.urdu .hero-slide { max-width: 640px; }
body.urdu .review-card, body.urdu .mq-card { direction: rtl; }
body.urdu .review-card blockquote { text-align: right; }
body.urdu .cf-field input[type=email], body.urdu .cf-field input[type=tel] { text-align: right; }
body.urdu .contact-row, body.urdu .support-list li { text-align: right; }

/* Urdu hero: keep text on the plain side, not over the photo */
body.urdu .hero-inner { direction: ltr; }
body.urdu .hero-slide { direction: rtl; text-align: right; align-items: flex-end; }
body.urdu .hero-eyebrow { flex-direction: row-reverse; }
body.urdu .hero-ornament { align-self: flex-end; }
@media (max-width: 980px) { body.urdu .hero-slide { align-items: flex-end; } }
@media (max-width: 560px) {
  body.urdu .sec-title.has-link { gap: 8px; }
  body.urdu .sec-title.has-link h2 { font-size: 1.15rem; }
  body.urdu .sec-title.has-link .sec-line { min-width: 0; flex: 1 1 8px; }
}

/* ---------- Hero image slider ---------- */
.hero-banner { background: #F8F0EA; }
.hb-wrap { position: relative; width: 100%; max-width: 1920px; margin: 0 auto; aspect-ratio: 1600 / 548; overflow: hidden; }
.hs { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hs.active { opacity: 1; visibility: visible; z-index: 1; }
.hs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner .hero-dots { bottom: 10px; z-index: 3; }
@media (max-width: 560px) { .hb-wrap { aspect-ratio: 1600 / 600; } .hero-banner .hero-dots { bottom: 5px; gap: 6px; } .hero-banner .hero-dots button { width: 9px; height: 9px; } .hero-banner .hero-dots button.active { width: 20px; } }

/* ---------- Slimmer footer ---------- */
.site-footer { padding: 16px 0 6px !important; }
.site-footer .footer-inner-expanded { gap: 10px 36px; align-items: flex-start; }
.site-footer .footer-brand { gap: 10px; }
.site-footer .mark-logo-img { height: 42px; }
.site-footer .brand-mark { padding: 4px 10px; }
.site-footer .brand-en { font-size: 1.2rem; }
.site-footer .footer-col-title { margin: 0 0 6px; font-size: 1.02rem; }
.site-footer .footer-links { gap: 2px; }
.site-footer .footer-links li, .site-footer .footer-contact-line { line-height: 1.35; }
.site-footer .footer-bottom-row { margin-top: 6px; padding-top: 6px; }
.site-footer .brand-mark { flex: 0 0 auto; }
.site-footer .mark-logo-img { width: auto; max-width: none; flex-shrink: 0; }
.site-footer .footer-links { display: grid; grid-template-columns: repeat(2, auto); column-gap: 28px; justify-content: start; }
@media (max-width: 640px) { .site-footer .footer-links { grid-template-columns: 1fr 1fr; column-gap: 12px; } }
.site-footer .footer-brand .brand-mark { width: auto !important; height: auto !important; }
