/* ==========================================================================
   Customer-service stylesheet.
   Serves contact.html, faqs.html, store-locator.html, shipping-returns.html,
   terms.html and privacy.html — six pages that share one panel / form /
   accordion / policy-column language, so they share one file.
   ========================================================================== */

/* ============================ SHARED SHELL ============================ */

.page-intro { max-width: 660px; margin-bottom: 30px; }
.page-intro h1 { margin-bottom: 12px; }
.page-intro h2 { margin-bottom: 12px; }
.page-intro p { color: var(--grey-1); line-height: 1.85; margin-bottom: 0; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.panel-head { margin-bottom: 22px; }
.panel-head h2 { font-size: 28px; margin-bottom: 8px; }
.panel-head p { color: var(--grey-2); line-height: 1.75; margin-bottom: 0; }

.link-inline {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-inline:hover { color: var(--gold-dark); }

/* icon slots filled by support.js from Ajmal.ICON */
.ic { display: inline-flex; align-items: center; justify-content: center; color: currentColor; }
.ic svg { display: block; }

@media (max-width: 640px) {
  .panel { padding: 22px 18px; }
  .panel-head h2 { font-size: 23px; }
}

/* ============================ FORM PIECES ============================ */

.form-row { margin-bottom: 18px; }
.form-row:last-child { margin-bottom: 0; }

.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field.is-invalid { border-color: var(--sale); }

.field-error {
  display: none;
  margin: 7px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--sale);
}

.field-error.is-shown { display: block; }

.field-hint {
  margin: 7px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--grey-3);
}

.field-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--grey-3);
}

.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--grey-1);
  cursor: pointer;
}

.check input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.form-sent {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--cream-light);
  border-left: 3px solid var(--success);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
}

.form-sent.is-shown { display: flex; }

/* ============================ CONTACT ============================ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: start;
  gap: 30px;
}

.contact-card {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.contact-card > h2 { font-size: 26px; margin-bottom: 8px; }
.contact-card > p { color: var(--grey-1); line-height: 1.75; margin-bottom: 22px; }

.detail-list { display: grid; gap: 20px; }

.detail { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }

.detail-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--gold-tint);
  color: var(--gold);
}

.detail-body h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 5px;
}

.detail-body p,
.detail-body address {
  margin: 0;
  font-style: normal;
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--ink);
}

.detail-body a { color: var(--ink); transition: color var(--dur-fast) var(--ease); }
.detail-body a:hover { color: var(--gold); }
.detail-body small { display: block; font-size: var(--fs-sm); color: var(--grey-2); margin-top: 3px; }

.detail-hours { display: grid; gap: 4px; }
.detail-hours span { display: flex; justify-content: space-between; gap: 16px; max-width: 260px; font-size: var(--fs-base); }
.detail-hours span b { font-weight: 500; }
.detail-hours .closed { color: var(--grey-2); }

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.contact-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.help-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.help-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--gold-tint-strong); }
.help-card h3 { font-size: var(--fs-h3); }
.help-card p { color: var(--grey-1); line-height: 1.75; margin-bottom: 0; }
.help-card .more { margin-top: auto; padding-top: 12px; font-size: var(--fs-base); font-weight: 500; color: var(--gold); }
.help-card:hover h3 { color: var(--gold); }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .form-duo { grid-template-columns: 1fr; gap: 18px; }
  .help-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-card { padding: 22px 18px; }
  .help-card { padding: 22px 18px; }
}

/* ============================ SEARCH INPUT ============================ */

.search-field { position: relative; }

.search-field .ic {
  position: absolute;
  top: 0;
  left: 16px;
  height: 48px;
  color: var(--grey-3);
  pointer-events: none;
}

.search-field .field { padding-left: 44px; padding-right: 44px; }

.search-clear {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  place-items: center;
  width: 44px;
  height: 48px;
  color: var(--grey-2);
}

.search-clear:hover { color: var(--sale); }
.search-field.has-value .search-clear { display: grid; }

/* ============================ FAQ ============================ */

.faq-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.faq-bulk { display: flex; gap: 10px; }

.faq-status {
  margin: 18px 0 26px;
  font-size: var(--fs-base);
  color: var(--grey-2);
}

.faq-status b { color: var(--ink); font-weight: 700; }

.faq-groups { display: grid; gap: 34px; }
.faq-group[hidden] { display: none; }

.faq-group-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.faq-group-title span {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item[hidden] { display: none; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 4px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}

.faq-q:hover { color: var(--gold); }

.faq-q .ic {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--cream-light);
  color: var(--gold);
  transition: transform var(--dur) var(--ease), background var(--dur-fast) var(--ease);
}

.faq-q[aria-expanded="true"] { color: var(--gold); }
.faq-q[aria-expanded="true"] .ic { transform: rotate(180deg); background: var(--gold-tint); }

.faq-a { padding: 0 44px 22px 4px; }
.faq-a p {
  margin: 0;
  color: var(--grey-1);
  line-height: 1.85;
  animation: faq-reveal 0.24s var(--ease);
}

@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-empty { display: none; }
.faq-empty.is-shown { display: block; }

.faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.faq-cta h2 { font-size: 28px; margin-bottom: 8px; }
.faq-cta p { max-width: 560px; color: var(--grey-1); line-height: 1.75; margin-bottom: 0; }
.faq-cta .faq-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 820px) {
  .faq-toolbar { grid-template-columns: 1fr; }
  .faq-bulk { justify-content: flex-start; }
  .faq-q { font-size: var(--fs-md); gap: 12px; }
  .faq-a { padding-right: 4px; }
  .faq-cta { padding: 24px 18px; }
}

/* ============================ STORE LOCATOR ============================ */

.loc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: start;
  gap: 30px;
}

.loc-controls { display: grid; gap: 16px; margin-bottom: 20px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding-inline: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--grey-1);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--white); }

.loc-status { margin-bottom: 18px; font-size: var(--fs-base); color: var(--grey-2); }
.loc-status b { color: var(--ink); font-weight: 700; }

.store-list { display: grid; gap: 16px; }

.store-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.store-card:hover { box-shadow: var(--shadow); border-color: var(--gold-tint-strong); }

.store-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.store-card-head h3 { font-size: var(--fs-xl); line-height: 1.3; }

.store-city {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding-inline: 12px;
  border-radius: var(--radius-pill);
  background: var(--gold-tint);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold);
}

.store-rows { display: grid; gap: 9px; }

.store-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--grey-1);
}

.store-row .ic { color: var(--gold); margin-top: 1px; }
.store-row a { color: var(--grey-1); }
.store-row a:hover { color: var(--gold); }

.store-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }

.map-panel {
  position: sticky;
  top: 24px;
  padding: 24px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.map-panel h2 { font-size: var(--fs-h3); margin-bottom: 6px; }
.map-panel > p { font-size: var(--fs-base); color: var(--grey-1); line-height: 1.7; margin-bottom: 18px; }

.map-canvas {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(188, 139, 87, 0.16) 0%, rgba(188, 139, 87, 0) 58%),
    linear-gradient(160deg, var(--beige) 0%, var(--cream) 100%);
  border: 1px solid var(--line);
}

.map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(43, 40, 38, 0.05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(43, 40, 38, 0.05) 0 1px, transparent 1px 34px);
}

/* a suggestion of coastline, purely decorative */
.map-canvas::after {
  content: "";
  position: absolute;
  left: -32%;
  top: -14%;
  width: 92%;
  height: 96%;
  border-radius: 50% 42% 58% 46%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset -1px -1px 0 rgba(188, 139, 87, 0.35);
}

.map-pin {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translate(-50%, -50%);
  transition: opacity var(--dur) var(--ease);
}

.map-pin i {
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(188, 139, 87, 0.22);
}

.map-pin span {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.map-pin.is-dim { opacity: 0.3; }
.map-pin.is-on i { background: var(--ink); box-shadow: 0 0 0 5px rgba(43, 40, 38, 0.18); }

/* decorative pin placement — an impression of the emirates, not a survey */
.map-pin.at-ajman { left: 72%; top: 17%; }
.map-pin.at-sharjah { left: 66%; top: 26%; }
.map-pin.at-dubai { left: 58%; top: 36%; }
.map-pin.at-al-ain { left: 60%; top: 74%; }
.map-pin.at-abu-dhabi { left: 30%; top: 60%; }

.map-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--grey-2);
}

.map-note strong { color: var(--ink); }

.loc-empty { display: none; }
.loc-empty.is-shown { display: block; }

@media (max-width: 1024px) {
  .loc-layout { grid-template-columns: 1fr; }
  .map-panel { position: static; order: -1; }
  .map-canvas { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .store-card { padding: 20px 16px; }
  .map-panel { padding: 20px 16px; }
  .map-pin span { font-size: 11px; }
  .store-actions .btn { width: 100%; }
}

/* ============================ POLICY PAGES ============================ */

.policy-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}

.policy-aside { position: sticky; top: 24px; }

.policy-nav-title {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 14px;
}

.policy-nav ol { display: grid; gap: 2px; counter-reset: policy; }

.policy-nav a {
  display: block;
  padding: 8px 12px 8px 14px;
  border-left: 2px solid var(--line);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--grey-2);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.policy-nav a:hover { color: var(--gold); border-left-color: var(--gold-tint-strong); }

.policy-nav a.is-active {
  color: var(--ink);
  font-weight: 700;
  border-left-color: var(--gold);
  background: var(--cream-light);
}

.policy-aside .btn { margin-top: 22px; }

.policy-body { max-width: 78ch; }

.policy-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--grey-2);
  background: var(--cream-light);
}

.policy-updated .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.policy-section { scroll-margin-top: 120px; }
.policy-section + .policy-section { margin-top: 40px; }
.policy-section > h2:first-child { margin-top: 0; }

.policy-callout {
  margin: 22px 0;
  padding: 20px 22px;
  background: var(--cream-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  color: var(--grey-1);
  line-height: 1.8;
}

.policy-callout strong { color: var(--ink); }
.policy-callout p:last-child { margin-bottom: 0; }

.table-scroll { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: var(--radius); }

.rate-table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: var(--fs-base); }
.rate-table th,
.rate-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.rate-table thead th {
  background: var(--cream-light);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey-2);
}
.rate-table tbody tr:last-child th,
.rate-table tbody tr:last-child td { border-bottom: 0; }
.rate-table tbody th { font-family: var(--font-sans); font-weight: 500; color: var(--ink); }
.rate-table td { color: var(--grey-1); }

.policy-contact {
  margin-top: 26px;
  padding: 24px;
  background: var(--cream-light);
  border-radius: var(--radius-lg);
}

.policy-contact h3 { margin-top: 0; }
.policy-contact ul { list-style: none; padding-left: 0; }
.policy-contact li { margin-bottom: 8px; color: var(--grey-1); }

@media (max-width: 1024px) {
  .policy-layout { grid-template-columns: 1fr; gap: 28px; }
  .policy-aside { position: static; }
  .policy-nav { padding: 20px; background: var(--cream-light); border-radius: var(--radius-lg); }
  .policy-nav ol { grid-template-columns: 1fr 1fr; display: grid; gap: 2px 18px; }
  .policy-body { max-width: none; }
  .policy-section { scroll-margin-top: 96px; }
}

@media (max-width: 560px) {
  .policy-nav ol { grid-template-columns: 1fr; }
}

/* ---- phone-width safety: long tokens (emails) must never widen the layout ---- */
.policy-layout > * { min-width: 0; }
.policy-contact a,
.policy-contact li { overflow-wrap: anywhere; }
