:root {
  --ink: #17211c;
  --muted: #6e7973;
  --brand: #194f3e;
  --brand-2: #2f735b;
  --cream: #f5f0e6;
  --line: #e5e8e5;
  --soft: #f7f9f7;
  --accent: #ef8c45;
  --white: #ffffff;
  --danger: #a5342d;
  --shadow: 0 12px 34px rgba(23, 33, 28, 0.1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.ssada-is-locked {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.ssada-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.ssada-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

.ssada-skip:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.ssada-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ssada-icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  line-height: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.ssada-icon-button > i,
.ssada-icon-button > svg,
.ssada-icon-wrap > i,
.ssada-icon-wrap > svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
}

.ssada-icon-wrap {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  line-height: 0;
  border-radius: 4px;
}

.ssada-count {
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 5px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
}

.ssada-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  color: var(--white);
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.ssada-button:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
}

.ssada-button--light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.ssada-button--outline {
  color: var(--brand);
  background: var(--white);
  border-color: var(--brand);
}

.ssada-button--accent {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.ssada-button--dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.ssada-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.ssada-link > svg {
  display: block;
  width: 17px;
  height: 17px;
}

.ssada-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.ssada-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.ssada-section-head h2 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.25;
}

.ssada-section-head p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.ssada-data-note {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  color: var(--brand);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.ssada-product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.ssada-product-card[hidden] {
  display: none;
}

.ssada-product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}

.ssada-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.ssada-product-card:hover .ssada-product-media img {
  transform: scale(1.025);
}

.ssada-product-label {
  position: absolute;
  top: 10px;
  left: 10px;
  min-height: 25px;
  padding: 5px 8px;
  color: var(--white);
  background: var(--ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
}

.ssada-product-copy {
  padding: 17px;
}

.ssada-product-copy small {
  display: block;
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.ssada-product-copy h3 {
  min-height: 44px;
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.4;
}

.ssada-product-copy p {
  min-height: 38px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ssada-product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ssada-product-action strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ssada-product-action .ssada-icon-button {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  color: var(--brand);
  border-color: var(--brand);
}

.ssada-empty {
  display: grid;
  min-height: 170px;
  place-items: center;
  padding: 28px;
  text-align: center;
}

.ssada-empty .ssada-icon-wrap {
  margin: 0 auto 12px;
  color: var(--brand);
  background: var(--cream);
}

.ssada-empty h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.ssada-empty p {
  max-width: 360px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.ssada-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ssada-policy {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 25px 22px;
  border-right: 1px solid var(--line);
}

.ssada-policy:last-child {
  border-right: 0;
}

.ssada-policy .ssada-icon-wrap {
  width: 44px;
  height: 44px;
  color: var(--brand);
  background: var(--cream);
}

.ssada-policy h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.ssada-policy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ssada-faq {
  border-top: 1px solid var(--line);
}

.ssada-faq-item {
  border-bottom: 1px solid var(--line);
}

.ssada-faq-button {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  padding: 0 2px 0 0;
  text-align: left;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 800;
}

.ssada-faq-button .ssada-icon-wrap {
  width: 44px;
  height: 44px;
}

.ssada-faq-button[aria-expanded="true"] .ssada-icon-wrap {
  transform: rotate(45deg);
}

.ssada-faq-answer {
  padding: 0 54px 22px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.ssada-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
}

.ssada-drawer[aria-hidden="false"] {
  visibility: visible;
}

.ssada-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 33, 28, 0.62);
  opacity: 0;
  transition: opacity 180ms ease;
}

.ssada-drawer[aria-hidden="false"] .ssada-drawer-backdrop {
  opacity: 1;
}

.ssada-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(90vw, 390px);
  height: 100%;
  overflow-y: auto;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.ssada-drawer[aria-hidden="false"] .ssada-drawer-panel {
  transform: translateX(0);
}

.ssada-drawer-head {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.ssada-drawer-head strong {
  color: var(--brand);
  font-size: 21px;
}

.ssada-drawer-nav {
  display: grid;
  padding: 14px 20px;
}

.ssada-drawer-nav a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 800;
}

.ssada-drawer-foot {
  padding: 16px 20px 28px;
}

.ssada-drawer-foot .ssada-button {
  width: 100%;
}

.ssada-search-sheet {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  align-items: start;
  visibility: hidden;
  padding-top: 80px;
  background: rgba(23, 33, 28, 0.66);
  opacity: 0;
  transition: opacity 180ms ease;
}

.ssada-search-sheet[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.ssada-search-dialog {
  width: min(calc(100% - 40px), 680px);
  margin-inline: auto;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.ssada-search-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ssada-search-dialog-head h2 {
  margin: 0;
  font-size: 21px;
}

.ssada-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  border: 2px solid var(--brand);
}

.ssada-search-form input {
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  border: 0;
  outline: 0;
}

.ssada-search-form button {
  border: 0;
  color: var(--white);
  background: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.ssada-search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ssada-search-hints button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--brand);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.ssada-cart-panel {
  padding: 20px;
}

.ssada-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 130;
  min-width: 260px;
  max-width: calc(100vw - 48px);
  padding: 14px 16px;
  color: var(--white);
  background: var(--ink);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.ssada-toast[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0);
}

.ssada-mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  display: none;
  height: 66px;
  padding: 6px 10px max(6px, env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 22px rgba(23, 33, 28, 0.08);
}

.ssada-mobile-bar button,
.ssada-mobile-bar a {
  display: grid;
  min-width: 0;
  place-items: center;
  gap: 3px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 10px;
  font-weight: 800;
}

.ssada-mobile-bar svg {
  display: block;
  width: 20px;
  height: 20px;
}

.ssada-footer {
  color: var(--white);
  background: var(--ink);
  padding: 52px 0 44px;
}

.ssada-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
}

.ssada-footer-brand {
  margin: 0 0 13px;
  font-size: 26px;
  font-weight: 900;
}

.ssada-footer-lead {
  max-width: 410px;
  margin: 0;
  color: #c7d0cb;
  font-size: 14px;
  line-height: 1.7;
}

.ssada-footer-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 20px;
  margin: 0;
  color: #c7d0cb;
  font-size: 12px;
  line-height: 1.65;
}

.ssada-footer-info dt,
.ssada-footer-info dd {
  display: inline;
  margin: 0;
}

.ssada-footer-info dt {
  margin-right: 6px;
  color: var(--white);
  font-weight: 800;
}

.ssada-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  color: #aeb8b3;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
}

.ssada-footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 900px) {
  .ssada-policy-grid {
    grid-template-columns: 1fr;
  }

  .ssada-policy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ssada-policy:last-child {
    border-bottom: 0;
  }

  .ssada-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 66px;
  }

  .ssada-section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .ssada-section-head h2 {
    font-size: 27px;
  }

  .ssada-search-sheet {
    padding-top: 34px;
  }

  .ssada-search-dialog {
    width: calc(100% - 28px);
    padding: 18px;
  }

  .ssada-search-form {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .ssada-mobile-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .ssada-toast {
    right: 16px;
    bottom: 82px;
    left: 16px;
    max-width: none;
  }

  .ssada-footer {
    padding: 42px 0 32px;
  }

  .ssada-footer-info {
    grid-template-columns: 1fr;
  }

  .ssada-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
