@font-face {
  font-family: Plex;
  src: url("/assets/fonts/plex-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F;
}
@font-face {
  font-family: Plex;
  src: url("/assets/fonts/plex-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-024F;
}
@font-face {
  font-family: Plex;
  src: url("/assets/fonts/plex-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Plex;
  src: url("/assets/fonts/plex-arabic-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
:root {
  --ink: #182245;
  --blue: #213d9c;
  --muted: #535c71;
  --line: #d9dce4;
  --pale: #f0f3ff;
  --warm: #fff8ed;
  --surface: #fff;
  --radius: 16px;
  color: var(--ink);
  background: var(--surface);
  font-family: Plex, Arial, sans-serif;
  font-size: 100%;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
.action {
  cursor: pointer;
}
button {
  border: 0;
}
a {
  color: var(--blue);
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
}
h1,
h2 {
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}
h3 {
  font-size: 1.35rem;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  letter-spacing: 0;
  line-height: 1.45;
}
.wrap {
  max-width: 77rem;
  width: calc(100% - 5rem);
  margin-inline: auto;
}
.bar,
.foot,
.sectiontitle,
.offer-bottom,
.feature-top,
.brandtitle,
.jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
header {
  border-bottom: 1px solid var(--line);
  background: white;
}
.bar {
  min-height: 4.65rem;
}
.bar nav,
.foot > div {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.brand-link {
  text-decoration: none !important;
  color: var(--ink);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-size: 1.48rem;
  letter-spacing: -0.07em;
}
.wordmark strong span {
  font-weight: 400;
}
.bar nav a,
.foot a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.bar nav .lang {
  border: 1px solid var(--line);
  border-radius: 20rem;
  padding: 0.25rem 0.95rem;
  font-size: 0.95rem;
}
.bar nav a:hover,
.foot a:hover {
  text-decoration: underline;
}
.skip,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.skip:focus {
  z-index: 5;
  top: 0;
  inset-inline-start: 1rem;
  padding: 1rem;
  background: white;
  width: auto;
  height: auto;
  clip-path: none;
}
:focus-visible {
  outline: 3px solid #d45030;
  outline-offset: 3px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.75rem;
  background: var(--pale);
  border-radius: 24px;
  overflow: hidden;
}
.hero > div:first-child {
  padding: clamp(2.2rem, 4.6vw, 4.2rem);
  align-self: center;
}
.locale {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue);
}
.locale::before {
  content: "";
  width: 1.25rem;
  height: 0.78rem;
  border-radius: 2px;
  background:
    linear-gradient(90deg, #bc2333 0 26%, transparent 26%),
    linear-gradient(#00874f 0 33%, white 33% 66%, #161d22 66%);
  box-shadow: 0 0 0 1px #18224512;
}
.hero h1 {
  font-size: clamp(3.2rem, 5.8vw, 5.5rem);
  margin: 0.7rem 0 0.9rem;
  line-height: 0.98;
  letter-spacing: -0.066em;
}
.hero h1 span {
  color: #e26543;
}
.hero p {
  max-width: 37ch;
  font-size: 1.12rem;
  line-height: 1.5;
  color: #3d4964;
}
.hero .hero-img {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  background: #f6a16c;
}
.hero-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero form {
  display: flex;
  max-width: 27rem;
  margin-top: 1.65rem;
  border: 1px solid #b7c1dc;
  background: white;
  border-radius: 9px;
  padding: 0.28rem;
  gap: 0.25rem;
}
.hero input {
  border: 0;
  min-width: 0;
  width: 100%;
  background: none;
  padding: 0.5rem 0.7rem;
}
.hero button,
.action,
.report button {
  background: var(--blue);
  color: white;
  border-radius: 6px;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
}
.hero button:hover,
.action:hover,
.report button:hover {
  background: #14276b;
}
.spotlight,
.directory {
  margin-top: 3.25rem;
}
.sectiontitle {
  margin-bottom: 1.35rem;
  align-items: baseline;
}
.sectiontitle a,
.terms-link,
.text-link {
  font-weight: 700;
}
.sectiontitle > span {
  color: var(--muted);
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.feature {
  display: flex;
  flex-direction: column;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-top: 5px solid #ebb638;
  border-radius: var(--radius);
  background: #fff;
}
.feature.iherb {
  border-top-color: #6a9230;
}
.feature.namshi {
  border-top-color: #d9819b;
}
.feature-top {
  justify-content: flex-start;
  gap: 0.75rem;
}
.feature-top a {
  text-decoration: none;
  color: var(--ink);
}
.feature h3 {
  font-size: 1.55rem;
}
.logo,
.initial {
  width: 3rem;
  height: 3rem;
  border-radius: 0.7rem;
  object-fit: contain;
  background: white;
}
.initial {
  display: grid;
  place-items: center;
  font-weight: bold;
  color: var(--blue);
  background: var(--pale);
  font-size: 1.35rem;
}
.feature > p {
  font-size: 1.03rem;
  margin: 0.8rem 0 1rem;
  flex: 1;
}
.ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed #a2afd5;
  border-radius: 7px;
  background: var(--pale);
  gap: 0.65rem;
  padding: 0.42rem 0.7rem;
  min-height: 2.9rem;
}
.code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  direction: ltr;
  font-weight: 700;
  word-break: break-word;
}
.ticket .code {
  font-size: 1.1rem;
  color: #193788;
}
.copy {
  background: transparent;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.3rem;
}
.copy:hover {
  text-decoration: underline;
}
.terms-link {
  font-size: 0.92rem;
  margin-top: 0.75rem;
  align-self: flex-start;
}
.directory {
  padding-bottom: 3rem;
}
.filter {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.2rem;
}
.filter label {
  font-weight: 700;
}
.filter input,
.report input,
.report textarea,
#estimate input,
#estimate select {
  border: 1px solid #a4adbd;
  border-radius: 7px;
  background: white;
  padding: 0.55rem 0.7rem;
}
.store-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1.4rem;
}
.store {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid var(--line);
  min-height: 4.7rem;
  min-width: 0;
}
.store .logo,
.store .initial {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}
.store strong,
.store small {
  display: block;
}
.store small {
  color: var(--muted);
  font:
    0.83rem ui-monospace,
    monospace;
  direction: ltr;
  text-align: start;
}
.chev {
  margin-inline-start: auto;
  font-size: 1.5rem;
  color: #778298;
}
html[dir="rtl"] .chev {
  transform: rotate(180deg);
}
[hidden] {
  display: none !important;
}
footer {
  background: #f4f5f9;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}
footer p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.pagehead {
  background: var(--pale);
  padding: 1.5rem 0 2.3rem;
}
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}
.crumb a {
  color: var(--blue);
}
.brandtitle {
  justify-content: flex-start;
}
.brandtitle .logo,
.brandtitle .initial {
  width: 4.1rem;
  height: 4.1rem;
  padding: 0.2rem;
}
.pagehead h1,
.prose h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}
.pagehead > .wrap > p {
  margin-top: 1.2rem;
  max-width: 76ch;
  font-size: 1.15rem;
  line-height: 1.58;
}
.jump {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.jump a {
  font-weight: 700;
  font-size: 0.92rem;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 21rem);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: 2.5rem 0 4rem;
}
.article > section + section,
.prose h2 {
  margin-top: 2.3rem;
}
.article h2,
.prose h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}
.article p + p,
.prose p + p {
  margin-top: 0.65rem;
}
.offer,
.record,
.aside-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
}
.offer + .offer,
.record + .record {
  margin-top: 0.65rem;
}
.offer-head small,
.record small,
.observations small {
  color: var(--muted);
  font-size: 0.9rem;
}
.offer-head h3 {
  margin: 0.35rem 0 0.5rem;
}
.offer-bottom {
  margin-top: 1rem;
  flex-wrap: wrap;
}
.offer-bottom .ticket {
  min-width: 14rem;
}
.offer-bottom > a {
  font-size: 0.95rem;
}
.aside-box {
  position: sticky;
  top: 1rem;
  background: var(--warm);
}
.aside-box h2 {
  font-size: 1.6rem;
}
.aside-box p {
  color: var(--muted);
  margin: 0.4rem 0 1rem;
}
.aside-box > a {
  display: block;
  margin-top: 0.8rem;
}
.action {
  text-align: center;
  text-decoration: none;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.99rem;
}
th,
td {
  text-align: start;
  vertical-align: top;
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--line);
}
thead th {
  background: var(--pale);
}
tbody th {
  min-width: 7.5rem;
}
.estimate {
  padding: 1.3rem;
  background: var(--warm);
  border-radius: var(--radius);
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 0.8rem;
}
.estimate h3,
.estimate small,
.estimate output {
  grid-column: 1/-1;
}
.estimate label,
.report label {
  display: grid;
  gap: 0.25rem;
  font-weight: bold;
}
.estimate input,
.estimate select {
  width: 100%;
  min-width: 0;
}
.estimate output {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--blue);
}
.observations {
  list-style: none;
  padding: 0;
}
.observations li {
  padding: 0.85rem 0 0.85rem 1.1rem;
  border-inline-start: 3px solid #c3cfee;
  padding-inline-start: 1rem;
}
.observations li + li {
  margin-top: 0.5rem;
}
.observations p {
  margin: 0.1rem 0 0.3rem;
}
.observations a {
  font-size: 0.9rem;
}
.prose {
  max-width: 52rem;
  padding-block: 2.4rem 4rem;
}
.prose h1 {
  margin-bottom: 1.2rem;
}
.prose .record {
  margin-top: 1rem;
}
.prose .record h2 {
  margin: 0.35rem 0;
}
.prose .record p {
  margin-bottom: 0.6rem;
}
.prose .report {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
.report button {
  justify-self: start;
}
.record ul {
  padding-inline-start: 1.5rem;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
details p {
  margin-top: 0.55rem;
}
#notice {
  position: fixed;
  bottom: 1.25rem;
  inset-inline: 1rem;
  margin: auto;
  text-align: center;
  width: max-content;
  max-width: 90vw;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
}
#notice.visible {
  opacity: 1;
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 2.5rem);
  }
  .hero > div:first-child {
    padding: 2rem;
  }
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .store-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .features {
    gap: 0.7rem;
  }
  .feature {
    padding: 1rem;
  }
  .columns {
    gap: 1.4rem;
  }
  .bar nav,
  .foot > div {
    gap: 1.1rem;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 2rem);
  }
  .bar {
    min-height: 3.8rem;
  }
  .bar .wide {
    display: none;
  }
  .bar nav {
    gap: 0.75rem;
  }
  .bar nav a {
    font-size: 0.9rem;
  }
  .wordmark {
    font-size: 1.17rem;
  }
  .wordmark img {
    width: 1.8rem;
    height: 1.8rem;
  }
  .hero {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    border-radius: 14px;
  }
  .hero > div:first-child {
    padding: 1.5rem;
    width: 100%;
  }
  .hero h1 {
    font-size: 3.1rem;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 br::after {
    content: " ";
  }
  .hero-img {
    order: -1;
  }
  .hero .hero-img {
    min-height: 0;
    height: 10rem;
  }
  .hero-img img {
    object-position: 50% 53%;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero form {
    margin-top: 1rem;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0.5rem 0.75rem;
  }
  .feature .feature-top {
    grid-column: 1;
  }
  .feature > p {
    grid-column: 1/-1;
    grid-row: 2;
    margin: 0.1rem 0;
  }
  .feature .ticket {
    grid-column: 1/-1;
    grid-row: 3;
  }
  .feature .terms-link {
    align-self: center;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    text-align: end;
  }
  .feature .logo {
    width: 2.35rem;
    height: 2.35rem;
  }
  .feature h3 {
    font-size: 1.25rem;
  }
  .spotlight,
  .directory {
    margin-top: 2rem;
  }
  .store-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 0.75rem;
  }
  .store strong {
    font-size: 0.93rem;
    overflow-wrap: anywhere;
  }
  .store small {
    overflow-wrap: anywhere;
  }
  .chev {
    display: none;
  }
  .foot {
    display: grid;
  }
  .foot > div {
    flex-wrap: wrap;
    font-size: 0.92rem;
  }
  .columns {
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
  }
  .aside-box {
    position: static;
  }
  .brandtitle {
    align-items: flex-start;
  }
  .brandtitle .logo,
  .brandtitle .initial {
    width: 3rem;
    height: 3rem;
  }
  .pagehead > .wrap > p {
    font-size: 1.04rem;
  }
  .estimate {
    display: flex;
    flex-direction: column;
  }
  .offer {
    padding: 1rem;
  }
  .offer-bottom .ticket {
    flex: 1;
    min-width: 0;
  }
  .hero h1 br {
    display: initial;
  }
  .table-scroll {
    font-size: 0.9rem;
  }
  .sectiontitle {
    gap: 0.6rem;
  }
  .sectiontitle a {
    font-size: 0.94rem;
  }
}
@media (max-width: 365px) {
  .wrap {
    width: calc(100% - 1.25rem);
  }
  .brandtitle {
    gap: 0.5rem;
  }
  .store-list {
    grid-template-columns: 1fr;
  }
  .hero button {
    padding: 0.5rem 0.7rem;
  }
  .offer-bottom {
    display: grid;
  }
  .features .feature {
    padding: 0.8rem;
  }
  .feature .terms-link {
    font-size: 0.82rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.gallery figure {
  margin: 0;
}
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.gallery figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.jump .mobileshop {
  display: none;
}
@media (max-width: 640px) {
  .jump .mobileshop {
    display: inline-flex;
    border-radius: 5px;
    text-decoration: none;
    background: var(--blue);
    color: white;
    padding: 0.35rem 0.75rem;
  }
}
