/* Customer-facing language, checkout, tracking, and location upgrades. */
.language-picker {
  position: relative;
  z-index: 80;
}

.detail-trust-note {
  align-items: flex-start;
  background: color-mix(in srgb, var(--brand, #0f8a52) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand, #0f8a52) 28%, transparent);
  border-radius: 8px;
  display: flex;
  gap: 11px;
  margin-top: 18px;
  padding: 14px;
}

.detail-trust-note svg {
  flex: none;
  height: 20px;
  width: 20px;
}

.detail-trust-note p {
  margin: 4px 0 0;
}

.policy-page {
  padding-block: 30px 70px;
}

.policy-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-grid article {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #dfe3e8);
  border-radius: 8px;
  padding: 22px;
}

.policy-grid article > svg {
  color: var(--brand, #0f8a52);
  height: 26px;
  width: 26px;
}

.policy-grid h2 {
  font-size: 21px;
  margin: 14px 0 9px;
}

.policy-grid p {
  color: var(--muted, #667085);
  line-height: 1.9;
}

@media (max-width: 700px) {
  .policy-grid { grid-template-columns: 1fr; }
  .policy-grid article { padding: 18px; }
}

.variant-choice-grid { display: grid !important; gap: 9px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.variant-choice { align-items: center; background: var(--card, #fff); border: 2px solid var(--line, #dbe2e8); border-radius: 7px; color: inherit; display: flex; gap: 12px; justify-content: space-between; min-height: 66px; padding: 10px 12px; text-align: start; }
.variant-choice span { display: grid; gap: 3px; min-width: 0; }
.variant-choice b { overflow-wrap: anywhere; }
.variant-choice small { color: var(--muted, #64748b); font-size: 11px; }
.variant-choice strong { color: #087443; flex: 0 0 auto; white-space: nowrap; }
.variant-choice.active { background: #effbf5; border-color: #12945a; box-shadow: 0 0 0 2px rgba(18, 148, 90, 0.12); }
.variant-choice:disabled { cursor: not-allowed; opacity: 0.46; }
html[data-theme="dark"] .variant-choice { background: #111b24; border-color: #33434f; }
html[data-theme="dark"] .variant-choice.active { background: #102d22; border-color: #35b779; }

.track-delivery-panel { background: #f4f8fb; border: 1px solid #dce5ec; border-radius: 8px; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 14px 0; padding: 14px; }
.track-delivery-panel > div { align-items: flex-start; display: flex; gap: 9px; }
.track-delivery-panel > div > svg { color: #0d8050; flex: 0 0 auto; height: 20px; width: 20px; }
.track-delivery-panel span { display: grid; gap: 2px; }
.track-delivery-panel small { color: #61717d; }
.track-delivery-panel em { color: #52616c; font-size: 12px; font-style: normal; }
.track-delivery-panel a { color: #087443; font-weight: 800; }
.track-delivery-panel > p { align-items: center; background: #fff; border-radius: 6px; display: flex; gap: 8px; grid-column: 1 / -1; margin: 0; padding: 9px; }
.track-delivery-panel > p svg { height: 18px; width: 18px; }
html[data-theme="dark"] .track-delivery-panel { background: #111b24; border-color: #30414d; }
html[data-theme="dark"] .track-delivery-panel > p { background: #182630; }

.pwa-install-button { position: relative; }
.pwa-install-button[hidden] { display: none !important; }

@media (max-width: 700px) {
  .variant-choice-grid { grid-template-columns: minmax(0, 1fr); }
  .track-delivery-panel { grid-template-columns: minmax(0, 1fr); }
}

.checkout-review-dialog {
  background: transparent;
  border: 0;
  color: inherit;
  max-height: calc(100dvh - 24px);
  max-width: 680px;
  padding: 0;
  width: calc(100% - 24px);
}

.checkout-review-dialog::backdrop {
  background: rgba(10, 15, 22, 0.78);
  backdrop-filter: blur(4px);
}

.checkout-review-dialog > section {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #dfe3e8);
  border-radius: 8px;
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 20px;
}

.checkout-review-dialog header,
.checkout-review-dialog footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.checkout-review-dialog h2 { margin: 2px 0 0; }
.checkout-review-dialog footer { margin-top: 18px; }

.checkout-review-products {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.checkout-review-products article {
  align-items: center;
  background: var(--soft-surface, #f6f8fa);
  border-radius: 8px;
  display: flex;
  gap: 11px;
  padding: 9px;
}

.checkout-review-products img {
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  width: 58px;
}

.checkout-review-products span { display: grid; gap: 3px; min-width: 0; }
.checkout-review-products strong { overflow-wrap: anywhere; }
.checkout-review-products small { color: var(--muted, #667085); }

.checkout-review-details {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
}

.checkout-review-details div {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line, #dfe3e8);
}

.checkout-review-details dt { color: var(--muted, #667085); }
.checkout-review-details dd { font-weight: 800; margin: 0; text-align: end; }
.checkout-review-details .total { font-size: 18px; }

html[data-theme="dark"] .checkout-review-dialog > section {
  background: #111111;
  border-color: #3d3d3d;
  color: #f8fafc;
}

html[data-theme="dark"] .checkout-review-products article {
  background: #202020;
  border: 1px solid #3d3d3d;
  color: #f8fafc;
}

html[data-theme="dark"] .checkout-review-products small,
html[data-theme="dark"] .checkout-review-details dt {
  color: #c7cdd6;
}

html[data-theme="dark"] .checkout-review-details div {
  border-bottom-color: #3d3d3d;
}

.checkout-review-next {
  align-items: flex-start;
  background: color-mix(in srgb, var(--brand, #0f8a52) 8%, transparent);
  border-radius: 8px;
  display: flex;
  gap: 9px;
  margin-top: 14px;
  padding: 12px;
}

@media (max-width: 520px) {
  .checkout-review-dialog > section { padding: 16px; }
  .checkout-review-dialog footer { display: grid; grid-template-columns: 1fr; }
  .checkout-review-dialog footer button { width: 100%; }
}

.gallery-zoom-trigger { background: transparent; border: 0; cursor: zoom-in; display: grid; height: 100%; padding: 0; place-items: center; width: 100%; }
.gallery-zoom-trigger img { height: 100%; max-height: 620px; object-fit: contain; width: 100%; }
.image-zoom-dialog { background: rgba(5, 8, 12, .96); border: 0; height: 100dvh; margin: 0; max-height: none; max-width: none; padding: 48px; width: 100vw; }
.image-zoom-dialog::backdrop { background: rgba(0,0,0,.9); }
.image-zoom-dialog img { height: 100%; object-fit: contain; width: 100%; }
.image-zoom-dialog button { background: #fff; border: 0; border-radius: 50%; cursor: pointer; display: grid; height: 42px; inset: 14px 14px auto auto; place-items: center; position: fixed; width: 42px; z-index: 2; }
.product-variants { border-block: 1px solid var(--line); margin-block: 18px; padding-block: 16px; }
.product-variants h2 { font-size: 17px; margin: 0 0 12px; }
.product-variants > div { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-variants label { color: var(--muted); display: grid; font-size: 13px; font-weight: 800; gap: 6px; }
.product-variants select { background: var(--surface-2); border: 1px solid var(--line); border-radius: 7px; color: var(--text); min-height: 44px; padding: 8px; }
.offer-countdown { align-items: center; background: #fff4e5; border: 1px solid #ffc36f; border-radius: 7px; color: #8a4500; display: flex; gap: 8px; margin-top: 10px; padding: 9px 11px; }
.offer-card-end { align-items: center; color: #b45309; display: flex; font-weight: 800; gap: 5px; margin-top: 6px; }
.offer-card-end svg { height: 14px; width: 14px; }
html[data-theme="dark"] .offer-countdown { background: #2b1c0c; border-color: #6d4618; color: #ffc979; }
.product-watch-card { align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; display: flex; gap: 12px; margin-top: 18px; padding: 14px; }
.product-watch-card > svg { color: var(--cyan); flex: 0 0 auto; }
.product-watch-card > div { flex: 1; min-width: 0; }
.product-watch-card form { display: grid; gap: 8px; grid-template-columns: minmax(0,1fr) auto; margin-top: 10px; }
.product-watch-card input, .warranty-claim-panel :is(input,select,textarea) { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; color: var(--text); min-height: 42px; padding: 9px 11px; width: 100%; }
.warranty-claim-panel summary { cursor: pointer; font-weight: 850; }
.warranty-claim-panel form { display: grid; gap: 9px; margin-top: 12px; }
.product-card-favorite { align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); cursor: pointer; display: inline-flex; flex: 0 0 auto; height: 34px; justify-content: center; padding: 0; width: 34px; }
.product-card-favorite.active { background: #e11d48; border-color: #e11d48; color: #fff; }
.product-card-favorite svg { height: 16px; width: 16px; }
.catalog-personal-tools { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; bottom: 78px; box-shadow: var(--shadow); display: flex; gap: 4px; inset-inline-end: 16px; padding: 6px; position: fixed; z-index: 85; }
.catalog-personal-tools a { align-items: center; color: var(--text); display: flex; gap: 6px; padding: 8px 10px; text-decoration: none; }
.catalog-personal-tools b { background: var(--cyan); border-radius: 999px; color: #111; min-width: 22px; padding: 2px 6px; text-align: center; }
.favorites-page { min-height: 70vh; }
.favorites-grid { margin-top: 20px; }
.favorite-remove-button { margin: 0 12px 12px; }
.enable-order-alerts { margin-top: 14px; width: 100%; }
.warranty-claim-panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; margin-top: 14px; padding: 14px; }
.warranty-claim-panel label { display: grid; gap: 6px; }
@media (max-width: 700px) {
  .product-variants > div { grid-template-columns: 1fr; }
  .product-watch-card form { grid-template-columns: 1fr; }
  .image-zoom-dialog { padding: 40px 6px 6px; }
  .catalog-personal-tools span { display: none; }
}

.language-toggle {
  gap: 5px;
  width: auto !important;
  min-width: 48px;
  padding-inline: 9px !important;
}

.language-toggle span {
  font-size: 11px;
  font-weight: 900;
}

.language-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: fixed;
  z-index: 10000;
}

.language-modal[hidden] { display: none; }
.language-modal-open { overflow: hidden; }

.language-dialog {
  background: rgba(17, 24, 39, 0.98);
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.18);
  color: #fff;
  max-width: 384px;
  padding: 28px 24px 24px;
  position: relative;
  width: 100%;
}

.language-dialog h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 22px;
  text-align: center;
}

.language-dialog-close {
  align-items: center;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 50%;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  left: 16px;
  padding: 0;
  position: absolute;
  top: 16px;
  width: 34px;
}

.language-dialog-close:hover { color: #fff; }
.language-dialog-close svg { height: 17px; width: 17px; }

.language-dialog-label {
  color: #9ca3af;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 10px;
  text-align: start;
}

.language-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.language-grid button {
  align-items: center;
  background: #1f2937;
  border: 1px solid #4b5563;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 82px;
  padding: 12px;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.language-grid button:hover,
.language-grid button.active {
  background: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.16);
}

.language-grid img {
  border-radius: 4px;
  height: 24px;
  object-fit: cover;
  width: 32px;
}

.language-apply {
  background: linear-gradient(90deg, #d97706, #facc15);
  border: 0;
  border-radius: 8px;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  margin-top: 22px;
  min-height: 48px;
  padding: 10px 16px;
  width: 100%;
}

.language-apply:hover { background: linear-gradient(90deg, #f59e0b, #fde047); }

.store-location {
  background: #101820;
  color: #f8fafc;
  margin-top: 36px;
  padding: 42px 20px;
  position: relative;
}

.store-location::before {
  background: #f59e0b;
  content: "";
  height: 3px;
  inset-inline: 0;
  position: absolute;
  top: 0;
}

.store-location-inner {
  align-items: stretch;
  background: #17232d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  margin: 0 auto;
  max-width: 1200px;
  overflow: hidden;
  padding: 12px;
}

.store-location-copy {
  align-content: center;
  display: grid;
  gap: 12px;
  padding: 24px;
}

.store-location .eyebrow {
  align-items: center;
  color: #ffad42;
  display: inline-flex;
  gap: 8px;
  width: fit-content;
}

.store-location .eyebrow svg { height: 18px; width: 18px; }

.store-location h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  margin: 0;
}

.store-location p { color: #cbd5e1; margin: 0; }

.store-contact-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.store-contact-grid a {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #fff;
  display: flex;
  gap: 9px;
  min-height: 46px;
  padding: 9px 12px;
  text-decoration: none;
}

.store-contact-grid a:first-child { background: #f59e0b; border-color: #f59e0b; color: #111827; }
.store-contact-grid a:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.28); }
.store-contact-grid a:first-child:hover { background: #fbbf24; border-color: #fbbf24; }
.store-contact-grid svg { flex: 0 0 auto; height: 19px; width: 19px; }

.store-location iframe {
  border: 0;
  border-radius: 8px;
  min-height: 340px;
  width: 100%;
}

.site-footer [data-contact-ready] a {
  align-items: center;
  display: flex;
  gap: 7px;
}

.site-footer [data-contact-ready] svg { height: 15px; width: 15px; }

.home-footer-compact .footer-grid {
  grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(160px, 1fr));
}

.home-footer-compact .footer-location-contact {
  display: none;
}

.checkout-form .form-heading {
  align-items: flex-start;
  display: flex;
  gap: 13px;
}

.form-heading-icon {
  align-items: center;
  background: #e8f4fc;
  border-radius: 7px;
  color: #0877bd;
  display: flex;
  flex: 0 0 46px;
  height: 46px;
  justify-content: center;
}

.form-heading-icon svg { height: 23px; width: 23px; }

.checkout-fieldset {
  border: 0;
  border-top: 1px solid var(--line, #e2e8f0);
  margin: 4px 0 0;
  padding: 18px 0 0;
}

.checkout-fieldset legend {
  align-items: center;
  color: var(--text, #17212b);
  display: flex;
  font-size: 15px;
  font-weight: 900;
  gap: 8px;
  padding-inline-end: 12px;
}

.checkout-fieldset legend svg { color: #0877bd; height: 18px; width: 18px; }
.checkout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkout-wide-field { grid-column: 1 / -1; }

.checkout-form select {
  appearance: auto;
  min-height: 48px;
  width: 100%;
}

.checkout-notes-field { margin-top: 2px; }

.checkout-assurance {
  align-items: center;
  background: #effaf4;
  border-inline-start: 3px solid #138a55;
  color: #11643f;
  display: flex;
  font-size: 13px;
  font-weight: 750;
  gap: 9px;
  padding: 11px 13px;
}

.checkout-assurance svg { flex: 0 0 auto; height: 19px; width: 19px; }
.tracking-code { direction: ltr; display: inline-block; font-size: 22px; letter-spacing: 2px !important; }

.recent-track {
  align-items: center;
  background: #edf8f3;
  border: 1px solid #c6e9d8;
  border-radius: 7px;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 13px;
}

.recent-track.hidden { display: none; }
.recent-track > div { align-items: center; display: flex; font-weight: 850; gap: 8px; }
.recent-track svg { color: #138a55; height: 20px; width: 20px; }

.legacy-track {
  border-top: 1px solid var(--line, #e2e8f0);
  margin-top: 22px;
  padding-top: 16px;
}

.legacy-track summary { color: #55636f; cursor: pointer; font-size: 13px; font-weight: 800; }
.legacy-track[open] summary { margin-bottom: 14px; }
.legacy-track .track-form { margin-top: 0; }
.error-state { border-color: #fecaca; color: #b42318; }

.track-order-items span {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.track-order-items img {
  aspect-ratio: 1;
  border-radius: 5px;
  object-fit: cover;
  width: 48px;
}

.track-order-items b { min-width: 0; }
.track-order-items em { font-style: normal; }
.status-card.order-status-received { --order-status-color: #2563eb; }
.status-card.order-status-confirmed { --order-status-color: #7c3aed; }
.status-card.order-status-preparing { --order-status-color: #c56b08; }
.status-card.order-status-shipped { --order-status-color: #0891b2; }
.status-card.order-status-delivered { --order-status-color: #118650; }
.status-card.order-status-cancelled { --order-status-color: #dc2626; }
.status-card[class*="order-status-"] { border-top: 4px solid var(--order-status-color); }

.order-current-status {
  align-items: center;
  background: color-mix(in srgb, var(--status-color) 13%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--status-color) 32%, transparent);
  border-radius: 7px;
  color: var(--status-color) !important;
  display: inline-flex;
  font-size: 17px;
  gap: 8px;
  min-height: 38px;
  padding: 6px 11px;
}

.order-current-status i { background: currentColor; border-radius: 50%; height: 9px; width: 9px; }
.timeline-item[class*="status-"] { border-inline-start: 4px solid var(--status-color); }
.timeline-item[class*="status-"]::before { background: var(--status-color); box-shadow: 0 0 0 1px var(--status-color); }
.timeline-item.current { background: color-mix(in srgb, var(--status-color) 9%, var(--surface-2)); border-color: var(--status-color); }
.timeline-item.current h3 { color: var(--status-color); }

html[data-theme="dark"] .form-heading-icon { background: #18394c; color: #64b5e8; }
html[data-theme="dark"] .checkout-assurance,
html[data-theme="dark"] .recent-track { background: #17352c; border-color: #285844; color: #a7e7c8; }

@media (max-width: 860px) {
  .store-location {
    display: none;
  }

  .anas-footer .footer-brand .brand {
    display: none;
  }

  .anas-footer .footer-grid,
  .home-footer-compact .footer-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anas-footer .footer-brand {
    align-items: start;
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .anas-footer .footer-brand p {
    display: block;
    max-width: 52ch;
  }

  .anas-footer .footer-grid > div:nth-child(2),
  .anas-footer .footer-grid > div:nth-child(3) {
    display: grid;
  }

  .anas-footer .footer-grid > div:nth-child(4),
  .home-footer-compact .footer-location-contact {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.brand-strip .brand-logo-link {
  min-height: 76px;
  padding: 8px;
}

.brand-logo-frame {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e6eb;
  border-radius: 6px;
  display: flex;
  height: 58px;
  justify-content: center;
  padding: 7px;
  width: 100%;
}

.brand-logo-frame img {
  height: 44px;
  max-width: 100%;
  object-fit: contain;
  width: 88px;
}

.brand-strip .brand-logo-link.active .brand-logo-frame {
  border-color: #171717;
  box-shadow: 0 0 0 2px #ff9818;
}

@media (max-width: 560px) {
  .brand-strip .brand-logo-link {
    min-height: 68px;
    padding: 6px;
  }

  .brand-logo-frame {
    height: 52px;
  }

  .brand-logo-frame img {
    height: 38px;
    width: 76px;
  }
}

@media (max-width: 760px) {
  .language-toggle { min-width: 42px; padding-inline: 7px !important; }
  .language-toggle span { font-size: 9px; }
  .language-dialog { max-width: 352px; padding: 24px 18px 20px; }
  .language-dialog h2 { font-size: 20px; margin-bottom: 18px; }
  .language-grid { gap: 10px; }
  .language-grid button { min-height: 76px; padding: 10px; }
  .language-apply { margin-top: 18px; }

  .store-location { margin-top: 22px; padding: 22px 10px; }
  .store-location-inner { gap: 8px; grid-template-columns: 1fr; padding: 8px; }
  .store-location-copy { padding: 14px 6px 6px; }
  .store-location h2 { font-size: 24px; }
  .store-location iframe { min-height: 220px; order: -1; }
  .store-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-contact-grid a { font-size: 12px; min-width: 0; padding: 8px; }
  .home-footer-compact .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-footer-compact .footer-location-contact { display: grid; }

  .checkout-steps { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .checkout-steps span { font-size: 11px; min-width: 0; padding-inline: 5px; text-align: center; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-wide-field { grid-column: auto; }
  .checkout-form { padding: 16px !important; }
  .checkout-form .form-heading { gap: 10px; }
  .form-heading-icon { flex-basis: 40px; height: 40px; }
  .checkout-fieldset { padding-top: 15px; }
  .checkout-assurance { font-size: 12px; }

  .recent-track { align-items: stretch; flex-direction: column; }
  .recent-track .primary-button { justify-content: center; width: 100%; }
  .track-panel { padding: 17px !important; }
  .track-form { grid-template-columns: 1fr !important; }
  .track-order-items span { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .track-order-items img { width: 42px; }
}

/* Full-screen product gallery navigation */
.image-zoom-dialog[open] {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  padding: clamp(54px, 6vw, 76px) clamp(58px, 7vw, 96px) clamp(48px, 5vw, 68px);
}

.image-zoom-stage {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.image-zoom-dialog .image-zoom-stage img {
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.image-zoom-dialog .image-zoom-close,
.image-zoom-dialog .image-zoom-arrow {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
  display: inline-flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: fixed;
  z-index: 4;
}

.image-zoom-dialog .image-zoom-close {
  background: #fff;
  color: #111;
  height: 44px;
  inset: 14px 14px auto auto;
  width: 44px;
}

.image-zoom-dialog .image-zoom-arrow {
  background: rgba(10, 12, 15, 0.84);
  color: #fff;
  height: 50px;
  inset: 50% auto auto auto;
  transform: translateY(-50%);
  width: 50px;
}

.image-zoom-dialog .image-zoom-previous { left: 14px; }
.image-zoom-dialog .image-zoom-next { right: 14px; }
.image-zoom-dialog .image-zoom-arrow[hidden] { display: none; }
.image-zoom-dialog :is(.image-zoom-close, .image-zoom-arrow) svg { height: 24px; stroke: currentColor; width: 24px; }

.image-zoom-counter {
  background: rgba(10, 12, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  bottom: 12px;
  color: #fff;
  direction: ltr;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  left: 50%;
  padding: 5px 12px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 4;
}

/* Product condition labels stay visible next to the price. */
.product-condition-badge {
  align-items: center;
  background: #e8edf2;
  border: 1px solid #c8d1da;
  border-radius: 5px;
  color: #334155;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  justify-content: center;
  line-height: 1;
  min-height: 28px;
  padding: 5px 9px;
  white-space: nowrap;
}

.product-condition-badge.condition-new { background: #dcfce7; border-color: #86efac; color: #166534; }
.product-condition-badge.condition-like_new { background: #dbeafe; border-color: #93c5fd; color: #1d4ed8; }
.product-condition-badge.condition-open_box { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.product-condition-badge.condition-used { background: #e2e8f0; border-color: #94a3b8; color: #334155; }
.product-condition-badge.condition-refurbished { background: #ede9fe; border-color: #c4b5fd; color: #6d28d9; }
.home-product-price { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; }

html[data-theme="dark"] .product-condition-badge.condition-new { background: #123822; border-color: #267a48; color: #86efac; }
html[data-theme="dark"] .product-condition-badge.condition-like_new { background: #142d55; border-color: #2d62a8; color: #93c5fd; }
html[data-theme="dark"] .product-condition-badge.condition-open_box { background: #442d0b; border-color: #8b6419; color: #fcd34d; }
html[data-theme="dark"] .product-condition-badge.condition-used { background: #263442; border-color: #64748b; color: #e2e8f0; }
html[data-theme="dark"] .product-condition-badge.condition-refurbished { background: #30235a; border-color: #634ca3; color: #c4b5fd; }

@media (max-width: 700px) {
  .image-zoom-dialog[open] { padding: 54px 44px 48px; }
  .image-zoom-dialog .image-zoom-arrow { height: 42px; width: 42px; }
  .image-zoom-dialog .image-zoom-previous { left: 4px; }
  .image-zoom-dialog .image-zoom-next { right: 4px; }
  .image-zoom-dialog .image-zoom-close { height: 40px; right: 9px; top: 9px; width: 40px; }
  .product-condition-badge { font-size: 11px; min-height: 26px; padding: 5px 8px; }
}

/* Notification opt-in stays useful after the first invitation is dismissed. */
.shop-notification-section {
  margin: clamp(26px, 5vw, 58px) auto;
  max-width: 1240px;
  padding: 0 clamp(14px, 3vw, 28px);
}

.shop-notification-card {
  align-items: center;
  background: linear-gradient(135deg, #eef6ff, #f8fbff 58%, #edfdf5);
  border: 1px solid #cddceb;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: clamp(18px, 3vw, 28px);
}

.shop-notification-mark {
  align-items: center;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  flex: 0 0 auto;
  height: 66px;
  justify-content: center;
  position: relative;
  width: 66px;
}

.shop-notification-mark img { height: 48px; object-fit: contain; width: 48px; }
.shop-notification-mark svg {
  background: #087443;
  border: 2px solid #fff;
  border-radius: 999px;
  bottom: -5px;
  color: #fff;
  height: 25px;
  padding: 5px;
  position: absolute;
  right: -5px;
  width: 25px;
}

.shop-notification-copy .eyebrow { color: #087443; margin: 0 0 3px; }
.shop-notification-copy h2 { color: #0f172a; font-size: clamp(18px, 2vw, 25px); margin: 0; }
.shop-notification-copy > p:not(.eyebrow) { color: #526172; line-height: 1.75; margin: 6px 0 0; }
.shop-notification-status { color: #087443; display: block; font-weight: 850; margin-top: 6px; }

.shop-notification-enable,
.shop-notification-later {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
}

.shop-notification-enable { background: #087443; border: 1px solid #087443; color: #fff; }
.shop-notification-enable:hover { background: #075e38; }
.shop-notification-enable:disabled { cursor: default; opacity: 0.64; }
.shop-notification-enable.is-enabled { background: #166534; border-color: #166534; }
.shop-notification-later { background: transparent; border: 1px solid #344456; color: #d9e2ec; }

.shop-notification-invite {
  align-items: flex-end;
  background: rgba(7, 12, 19, 0.58);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 16px;
  pointer-events: none;
  position: fixed;
  transition: opacity 220ms ease;
  z-index: 1000;
}

.shop-notification-invite[hidden] { display: none; }
.shop-notification-invite.is-visible { opacity: 1; pointer-events: auto; }
.shop-notification-dialog {
  background: linear-gradient(145deg, #15202b, #090d13);
  border: 1px solid #344456;
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.52);
  color: #fff;
  max-width: 520px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  transform: translateY(18px);
  transition: transform 220ms ease;
  width: 100%;
}

.shop-notification-dialog::before { background: linear-gradient(90deg, #087443, #67b58c); content: ""; height: 3px; inset: 0 0 auto; position: absolute; }
.shop-notification-invite.is-visible .shop-notification-dialog { transform: translateY(0); }
.shop-notification-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #d9e2ec;
  display: flex;
  height: 34px;
  inset: 14px auto auto 14px;
  justify-content: center;
  position: absolute;
  width: 34px;
}
.shop-notification-dialog-head { align-items: flex-start; display: flex; gap: 15px; padding-inline-end: 30px; }
.shop-notification-dialog-head h2 { font-size: 21px; line-height: 1.4; margin: 1px 0 0; }
.shop-notification-dialog-head p:not(.eyebrow) { color: #b8c5d1; font-size: 14px; line-height: 1.75; margin: 7px 0 0; }
.shop-notification-dialog-head .eyebrow { color: #86d5aa; margin: 0; }
.shop-notification-benefits { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.shop-notification-benefits span {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  color: #e7edf3;
  display: flex;
  font-size: 13px;
  font-weight: 850;
  gap: 8px;
  min-height: 46px;
  padding: 9px 11px;
}
.shop-notification-benefits svg { color: #67b58c; height: 18px; width: 18px; }
.shop-notification-actions { display: grid; gap: 9px; grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr); margin-top: 17px; }

html[data-theme="dark"] .shop-notification-card { background: linear-gradient(135deg, #172330, #101820); border-color: #344456; box-shadow: none; }
html[data-theme="dark"] .shop-notification-copy h2 { color: #f4f7fa; }
html[data-theme="dark"] .shop-notification-copy > p:not(.eyebrow) { color: #b8c5d1; }

@media (min-width: 720px) {
  .shop-notification-invite { align-items: center; }
}

@media (max-width: 719px) {
  .shop-notification-section { margin-block: 24px; }
  .shop-notification-card { align-items: start; gap: 13px; grid-template-columns: auto minmax(0, 1fr); padding: 17px; }
  .shop-notification-card > .shop-notification-enable { grid-column: 1 / -1; width: 100%; }
  .shop-notification-mark { height: 54px; width: 54px; }
  .shop-notification-mark img { height: 39px; width: 39px; }
  .shop-notification-dialog { max-height: calc(100dvh - 24px); overflow-y: auto; padding: 18px; }
  .shop-notification-dialog-head { gap: 12px; padding-inline-end: 25px; }
  .shop-notification-dialog-head h2 { font-size: 18px; }
  .shop-notification-dialog-head p:not(.eyebrow) { font-size: 13px; }
  .shop-notification-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-notification-invite, .shop-notification-dialog { transition: none; }
}
