@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&display=swap');

.asw {
  --asw-ink: #1e1e1e;
  --asw-muted: #5c5a55;
  --asw-soft: #a7a298;
  --asw-paper: #f5f1ea;
  --asw-card: #efeae0;
  --asw-media: #e6e0d1;
  background: var(--asw-paper);
  color: var(--asw-ink);
  font-family: 'Jost', sans-serif !important;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: normal;
  min-height: 70vh;
}

.asw *, .asw *::before, .asw *::after { box-sizing: border-box; }
.asw :where(h1, h2, h3, p, a, span, button, div) { font-family: 'Jost', sans-serif !important; }
.asw button, .asw a { font-family: inherit !important; }

.asw__header,
.asw__filters,
.asw__main {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 40px;
}

.asw__header { padding-top: 72px; padding-bottom: 36px; }
.asw__eyebrow {
  margin: 0 0 14px;
  color: var(--asw-soft);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.asw__title {
  margin: 0;
  color: var(--asw-ink);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: .06em;
  line-height: 1.25;
}
.asw__intro { max-width: 600px; margin-top: 16px; color: var(--asw-muted); font-size: 15px; line-height: 1.7; letter-spacing: normal; }
.asw--yusol .asw__intro { max-width: 560px; }
.asw__intro p { margin: 0; }

.asw__filter-shell {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 20;
  background: rgba(245, 241, 234, .96);
  box-shadow: 0 8px 16px -12px rgba(30, 30, 30, .18);
  backdrop-filter: blur(10px);
}
.asw__filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.asw--yusol .asw__filters { gap: 10px; }
.asw__filter {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 0;
  border: 1px solid #d9d2c4;
  border-radius: 999px;
  background: transparent;
  color: var(--asw-muted);
  padding: 8px 20px;
  cursor: pointer;
  font-size: 13px;
  line-height: normal;
  letter-spacing: .04em;
  box-shadow: none;
  appearance: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.asw__filter::before, .asw__filter::after { display: none !important; }
.asw--nature-k .asw__filter { padding-inline: 18px; }
.asw__filter:hover, .asw__filter[aria-pressed="true"] { border-color: var(--asw-ink); background: var(--asw-ink); color: var(--asw-paper); }
.asw__count { margin-left: auto; color: var(--asw-soft); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

.asw__main { padding-top: 12px; padding-bottom: 96px; }
.asw__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; align-items: start; }
.asw__column { min-width: 0; }
.asw__card {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  overflow: hidden;
  break-inside: avoid;
  border: 0;
  border-radius: 12px;
  background: var(--asw-card);
  box-shadow: 0 0 0 rgba(30,30,30,0);
  cursor: pointer;
  transition: box-shadow .35s ease, transform .35s ease;
}
.asw__card:hover { box-shadow: 0 14px 34px rgba(30,30,30,.12); transform: translateY(-2px); }
.asw__media { position: relative; overflow: hidden; background: var(--asw-media); }
.asw__media img, .asw__media video { display: block; width: 100%; height: auto; }
.asw__media img { transition: transform .6s ease; }
.asw__card:hover .asw__media > img { transform: scale(1.025); }
.asw__media video { min-height: 200px; background: var(--asw-ink); }
.asw__badge, .asw__play {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(30,30,30,.58);
  color: var(--asw-paper);
}
.asw__badge { padding: 3px 9px; font-size: 11px; letter-spacing: .06em; }
.asw__play { display: grid; place-items: center; width: 28px; height: 28px; }
.asw__play img { width: 12px; height: 12px; filter: brightness(0) invert(1); }
.asw__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(245,241,234,.65);
  box-shadow: 0 1px 4px rgba(30,30,30,.15);
  opacity: .8;
  cursor: pointer;
}
.asw__arrow--prev { left: 8px; }
.asw__arrow--next { right: 8px; }
.asw__arrow img { width: 14px; height: 14px; }
.asw__arrow--prev img { transform: rotate(180deg); }
.asw__body { padding: 12px 14px 13px; }
.asw__card-title { display: -webkit-box; margin: 0; overflow: hidden; color: var(--asw-ink); font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: normal; text-wrap: pretty; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.asw__card-tag { margin-top: 6px; color: var(--asw-soft); font-size: 11px; line-height: 1.55; letter-spacing: .1em; text-transform: uppercase; }
.asw__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.asw__brand { display: flex; align-items: center; gap: 7px; color: var(--asw-soft); font-size: 12px; line-height: 1.55; letter-spacing: normal; }
.asw__brand-mark { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #3e5a5e; color: var(--asw-paper); font-size: 10px; }
.asw__likes { display: flex; align-items: center; gap: 4px; color: var(--asw-soft); font-size: 12px; line-height: 1.55; letter-spacing: normal; }
.asw__likes img { width: 13px; height: 13px; opacity: .7; }

.asw__modal[hidden] { display: none; }
.asw__modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 32px; }
.asw__modal-scrim { position: absolute; inset: 0; border: 0; background: rgba(30,30,30,.6); cursor: pointer; }
.asw__modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1180px, 94vw);
  height: min(760px, 90vh);
  overflow: hidden;
  border-radius: 18px;
  background: var(--asw-paper);
  box-shadow: 0 30px 80px rgba(30,30,30,.35);
}
.asw__modal-viewer { position: relative; display: flex; flex: 1.35; min-width: 0; align-items: center; justify-content: center; overflow: hidden; background: #141311; }
.asw__modal-viewer > img, .asw__modal-viewer > video { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.asw__modal-position { position: absolute; top: 16px; right: 18px; padding: 4px 12px; border-radius: 999px; background: rgba(30,30,30,.55); color: var(--asw-paper); font-size: 12px; letter-spacing: .08em; }
.asw__modal-side { display: flex; width: 400px; flex-shrink: 0; flex-direction: column; min-height: 0; }
.asw__modal-content { flex: 1; min-height: 0; overflow-y: auto; padding: 26px 28px 0; }
.asw__modal-top { display: flex; align-items: center; justify-content: space-between; }
.asw__modal-brand { display: flex; align-items: center; gap: 10px; }
.asw__modal-brand-mark { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 999px; background: #3e5a5e; color: var(--asw-paper); font-size: 13px; }
.asw__modal-brand-name { display: block; font-size: 13px; font-weight: 500; }
.asw__modal-brand-sub { display: block; color: var(--asw-soft); font-size: 11px; letter-spacing: .08em; }
.asw__close { width: 32px; height: 32px; padding: 8px; border: 1px solid #d9d2c4; border-radius: 999px; background: transparent; color: var(--asw-muted); cursor: pointer; }
.asw__close img { display: block; width: 100%; height: 100%; }
.asw__modal-tag { margin: 22px 0 8px; color: var(--asw-soft); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.asw__modal-title { margin: 0; font-size: 22px; font-weight: 400; letter-spacing: .02em; line-height: 1.4; }
.asw__modal-desc { margin: 14px 0 0; color: var(--asw-muted); font-size: 14px; line-height: 1.75; white-space: pre-line; }
.asw__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.asw__chip { border: 0; border-radius: 999px; background: #e6e0d1; padding: 4px 12px; color: #3e5a5e; font-size: 12px; }
.asw__products-shell { border-top: 1px solid #d9d2c4; background: var(--asw-card); padding: 18px 28px 22px; }
.asw__products-heading { margin: 0 0 12px; color: var(--asw-soft); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.asw__products { display: flex; max-height: 230px; flex-direction: column; gap: 10px; overflow-y: auto; }
.asw__product { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #e6e0d1; border-radius: 12px; background: var(--asw-paper); padding: 10px 16px 10px 10px; color: var(--asw-ink); text-decoration: none; box-shadow: 0 1px 2px rgba(30,30,30,.04); }
.asw__product-thumb { display: flex; width: 56px; height: 56px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 10px; background: #e6e0d1; color: var(--asw-muted); }
.asw__product-thumb img { display: block; width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.asw__product-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.asw__product-name { font-size: 15px; font-weight: 500; }
.asw__product-action { color: #3e5a5e; font-size: 11px; line-height: 1.5; text-decoration: underline; text-underline-offset: 2px; }
.asw__product-detail { color: var(--asw-soft); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.asw__product-cta { display: flex; width: 30px; height: 30px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 999px; background: #3e5a5e; }
.asw__product-cta img { width: 13px; height: 13px; filter: brightness(0) invert(1); }
.asw__modal-nav { position: absolute; top: 50%; width: 40px; height: 40px; background: rgba(245,241,234,.92); opacity: 1; }
.asw__modal-nav.asw__arrow--prev { left: 14px; }
.asw__modal-nav.asw__arrow--next { right: 14px; }
.asw__modal-dots { position: absolute; right: 0; bottom: 16px; left: 0; display: flex; justify-content: center; gap: 6px; }
.asw__modal-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(245,241,234,.45); cursor: pointer; }
.asw__modal-dot[aria-current="true"] { width: 20px; background: var(--asw-paper); }
.asw__noscript { max-width: 1280px; margin: 0 auto; padding: 30px 40px; }

@media (max-width: 799px) {
  .asw__modal { padding: 12px; }
  .asw__modal-panel { width: calc(100vw - 24px); height: calc(100vh - 24px); flex-direction: column; overflow-y: auto; }
  .asw__modal-viewer { min-height: 42vh; flex: 0 0 42vh; }
  .asw__modal-side { width: 100%; overflow: visible; }
  .asw__modal-content { overflow: visible; }
}

@media (max-width: 1100px) {
  .asw__grid { display: block; columns: 4 260px; column-gap: 20px; }
  .asw__column { display: contents; }
}

@media (max-width: 520px) {
  .asw__modal-content { padding: 24px 20px 34px; }
}

body:has(.asw) .arcaya-quiz-float,
body:has(.asw) [id^="ArcayaQuizFloat-"] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .asw *, .asw *::before, .asw *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
