/*
 * Phase 1 storefront screens (F3 closed banner, F6 pay page, F7 COD confirm, F13 WhatsApp button)
 * use a few utility classes that the prebuilt main.css (Tailwind) does not contain. They are defined
 * here so those screens look right without rebuilding main.css. Values match Tailwind v4 defaults.
 */
.bg-\[\#25D366\] { background-color: #25D366; }
.text-amber-900 { color: #7b3306; }
.text-green-900 { color: #0d542b; }
.text-red-900 { color: #82181a; }
.border-green-200 { border-color: #b9f8cf; }
.border-red-200 { border-color: #ffc9c9; }
.select-all { -webkit-user-select: all; user-select: all; }
.whitespace-pre-line { white-space: pre-line; }
.wa-float { bottom: 10rem; background-color: #25D366; }
@media (min-width: 640px) {
  .sm\:hidden { display: none; }
}
@media (min-width: 768px) {
  .wa-float { bottom: 7rem; }
}

/* F9 product reviews: star colours, the item page review grid and the order "rate your items" form. */
.text-amber-400 { color: #ffb900; }
.fill-amber-400 { fill: #ffb900; }
.bg-amber-400 { background-color: #ffb900; }
.hover\:text-amber-400:hover { color: #ffb900; }
.peer:checked ~ .peer-checked\:text-amber-400 { color: #ffb900; }
.rating-stars .peer:focus-visible + label { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.flex-row-reverse { flex-direction: row-reverse; }
.gap-x-3 { column-gap: 0.75rem; }
.gap-y-1 { row-gap: 0.25rem; }
.mx-6 { margin-left: 1.5rem; margin-right: 1.5rem; }

/* P11 bookings: the storefront booking page, its confirmation and "My bookings". */
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.min-h-\[3rem\] { min-height: 3rem; }
.booking-service:focus-within, .booking-member:focus-within { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (min-width: 640px) {
  .sm\:items-end { align-items: flex-end; }
  .sm\:text-right { text-align: right; }
}
@media (min-width: 768px) {
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
}

/* P13 payment link pages. */
.break-all { word-break: break-all; }

/* P14 promotions (checkout gift card / store credit). */
.min-w-0 { min-width: 0; }
.accent-black { accent-color: #010203; }

/* P7 storefront language switcher (header dropdown on desktop, pills in the mobile menu). */
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary::marker { content: ""; }
.lang-switch-code { margin-left: 0.25rem; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; }
.lang-switch-menu { position: absolute; right: 0; top: 100%; margin-top: 0.5rem; min-width: 11rem; max-height: 70vh; overflow-y: auto; padding: 0.5rem; list-style: none; background-color: var(--color-surface); border: 1px solid var(--color-border); border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); z-index: 60; }
.lang-option { display: block; padding: 0.5rem 0.75rem; border-radius: 0.75rem; font-size: 0.875rem; white-space: nowrap; }
.lang-option:hover, .lang-option:focus-visible { background-color: var(--color-muted); color: var(--color-accent); }
.lang-option[aria-current="true"], .lang-pill[aria-current="true"] { color: var(--color-accent); font-weight: 700; }
.lang-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lang-pill { padding: 0.5rem 1rem; border: 1px solid var(--color-border); border-radius: 1rem; background-color: var(--color-muted); font-size: 0.875rem; }
.lang-pill[aria-current="true"] { border-color: var(--color-accent); }

/* P12 digital products: the download page and "Your downloads" on order pages. */
.dl-code-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.25rem; letter-spacing: 0.4em; text-align: center; }
.dl-file { background-color: var(--color-surface); }
.order-downloads a { text-decoration: none; }
