/* ==========================================================================
   SALLY COVER — base design system (loaded in <head>)
   Palette: Beige #D8C3A5 · Cream #F5F0E8 · Sand #C9B69C · Brown #554538
            Olive #7C8060 · White · Charcoal #292929
   ========================================================================== */

/* ---------- Page frame ---------- */
html { overflow-x: clip; }
body.sc-body {
  padding: 0;
  background: var(--color-background);
  color: var(--sc-charcoal);
  font: 400 15px/1.75 var(--font-family);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.sc-body > [layout="main"] {
  width: 100%;
  max-width: var(--sc-max);
  margin-inline: auto;
  padding-inline: var(--sc-gutter);
  gap: 0;
}

.sc-body img { max-width: 100%; display: block; }
.sc-body a { color: inherit; }
.sc-body :focus-visible { outline: 2px solid var(--sc-brown); outline-offset: 2px; }

.sc-h2,
.sc-hero__title,
.sc-pd__title,
.sc-col-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--sc-brown);
  text-wrap: balance;
}

.sc-h2 { font-size: clamp(24px, 4.6vw, 36px); line-height: 1.35; }
.sc-lead { font-size: 16px; line-height: 1.85; color: #5d5148; max-width: 60ch; }
.sc-muted { color: #7a6d61; }

.sc-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sc-olive);
  margin-block-end: 8px;
}

.sc-wordmark {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 18px;
  color: var(--sc-brown);
}

.sc-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--sc-cream);
  color: var(--sc-sand);
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.sc-btn--primary { background: var(--sc-brown); color: #fff !important; }
.sc-btn--primary:hover { background: #46382d; }
.sc-btn--ghost { background: rgba(255, 255, 255, 0.92); color: var(--sc-brown) !important; }
.sc-btn--ghost:hover { background: #fff; }
.sc-btn--outline { border-color: var(--sc-brown); color: var(--sc-brown) !important; background: transparent; }
.sc-btn--outline:hover { background: var(--sc-brown); color: #fff !important; }
.sc-btn--block { width: 100%; }

/* ---------- Announcement ---------- */
.sc-announce[layout="announcement-bar"] {
  width: 100%;
  border-radius: 0;
  background: var(--sc-brown);
  color: var(--sc-cream);
  padding: 9px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */
#youcan-section--header { width: 100%; }
#youcan-section--header:has(.sc-header[data-sticky]) {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
}
.sc-header[layout="header"] {
  height: auto;
  padding: 0;
  display: block;
  /* NOTE: no backdrop-filter/transform/filter here — they turn the header into the containing
     block of the fixed cart/menu drawers, which then render on-page (mobile overflow bug v1.0.0). */
  background: #FBF8F3;
  border-block-end: 1px solid var(--color-outline-variant);
  border-radius: 0;
}
.sc-header__inner {
  max-width: var(--sc-max);
  margin-inline: auto;
  height: 64px;
  padding-inline: var(--sc-gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.sc-header__start { display: flex; justify-content: flex-start; }
.sc-header__logo { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.sc-header__logo img { height: auto; max-height: 48px; object-fit: contain; }
.sc-header__nav { display: none; }
.sc-header__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}
.sc-header .actions > li:last-child { display: flex; }
.sc-icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--sc-brown) !important;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.sc-icon-btn:hover { background: var(--sc-cream); }
.sc-cart-count {
  position: absolute;
  inset-block-start: 6px;
  inset-inline-end: 4px;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--sc-olive);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 600;
}

@media (min-width: 1025px) {
  .sc-header__inner { grid-template-columns: auto 1fr auto; height: 76px; }
  .sc-header__start { display: none; }
  .sc-header__logo { justify-content: flex-start; }
  .sc-header__nav { display: block; }
  .sc-header__nav ul { display: flex; justify-content: center; gap: 32px; }
  .sc-header__nav a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--sc-charcoal);
    padding-block: 6px;
    border-block-end: 1.5px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
  }
  .sc-header__nav a:hover,
  .sc-header__nav a[aria-current="page"] { color: var(--sc-brown); border-color: var(--sc-beige); }
}

.sc-drawer-note {
  margin-block-start: 24px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--sc-cream);
  color: var(--sc-brown);
  font-size: 13px;
}

/* ---------- Sections ---------- */
.sc-section { padding-block: 56px; }
.sc-section__head { text-align: center; margin-block-end: 28px; display: grid; justify-items: center; gap: 6px; }
.sc-section__foot { display: flex; justify-content: center; margin-block-start: 28px; }

/* Hero */
.sc-hero {
  position: relative;
  margin-inline: calc(var(--sc-gutter) * -1);
  min-height: min(82svh, 720px);
  display: grid;
  overflow: hidden;
  background: var(--sc-cream);
}
.sc-hero__media, .sc-hero__media picture { position: absolute; inset: 0; }
.sc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.sc-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(41, 41, 41, 0) 35%, rgba(41, 41, 41, 0.55) 100%);
}
.sc-hero__content {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 32px var(--sc-gutter) 40px;
  color: #fff;
  max-width: 640px;
}
.sc-hero__content .sc-eyebrow { color: var(--sc-beige); }
.sc-hero__title { color: #fff; font-size: clamp(30px, 8vw, 56px); line-height: 1.3; margin-block-end: 12px; }
.sc-hero__sub { font-size: 16px; line-height: 1.8; opacity: 0.94; margin-block-end: 24px; max-width: 46ch; }
.sc-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-hero__ctas .sc-btn { flex: 1 1 160px; }
.sc-hero:not(:has(img)) .sc-hero__content { color: var(--sc-brown); }
.sc-hero:not(:has(img)) .sc-hero__title { color: var(--sc-brown); }
.sc-hero:not(:has(img)) .sc-hero__media::after { display: none; }

@media (min-width: 900px) {
  .sc-hero { margin-inline: 0; margin-block-start: 20px; border-radius: 24px; min-height: 620px; }
  .sc-hero__content { align-self: center; padding: 64px; }
  .sc-hero__media::after { background: linear-gradient(270deg, rgba(41, 41, 41, 0.55) 0%, rgba(41, 41, 41, 0) 65%); }
  .sc-hero__ctas .sc-btn { flex: 0 0 auto; }
  [dir="ltr"] .sc-hero__media::after { background: linear-gradient(90deg, rgba(41, 41, 41, 0.55) 0%, rgba(41, 41, 41, 0) 65%); }
}

/* Trust bar */
.sc-trust { padding-block: 20px 0; }
.sc-trust__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sc-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid var(--color-outline-variant);
  border-radius: 14px;
  min-width: 0;
}
.sc-trust__icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sc-cream);
  color: var(--sc-brown);
}
.sc-trust__text { display: grid; line-height: 1.4; min-width: 0; }
.sc-trust__text strong { font-size: 13px; font-weight: 600; color: var(--sc-charcoal); }
.sc-trust__text small { font-size: 12px; color: #7a6d61; }
@media (min-width: 900px) {
  .sc-trust__list { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .sc-trust__item { padding: 18px; }
  .sc-trust__text strong { font-size: 14px; }
}

/* Collections */
.sc-collections__grid { display: grid; gap: 16px; }
.sc-col-card__link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  text-decoration: none;
  aspect-ratio: 4 / 5;
  background: var(--sc-cream);
}
.sc-col-card__media, .sc-col-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-col-card__media img { transition: transform 0.6s ease; }
.sc-col-card__link:hover .sc-col-card__media img { transform: scale(1.03); }
.sc-col-card__body {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 12px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(6px);
  display: grid;
  gap: 4px;
}
.sc-col-card__label { font-size: 12px; color: var(--sc-olive); font-weight: 600; letter-spacing: 0.08em; }
.sc-col-card__title { font-size: 24px; line-height: 1.3; }
.sc-col-card__desc { font-size: 14px; color: #5d5148; line-height: 1.7; }
.sc-col-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sc-brown); margin-block-start: 6px; }
.sc-col-card--2 .sc-col-card__link { background: #E7E4DA; }
@media (min-width: 700px) {
  .sc-collections__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .sc-col-card__body { inset-inline: 20px; inset-block-end: 20px; padding: 24px; }
}

/* Product grid & card */
.sc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
}
@media (min-width: 900px) { .sc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; } }

.sc-card { min-width: 0; }
.sc-card__link { display: grid; gap: 10px; text-decoration: none; color: inherit; height: 100%; grid-template-rows: auto 1fr; }
.sc-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sc-cream);
}
.sc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sc-card__link:hover .sc-card__media img { transform: scale(1.03); }
.sc-card__badge {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--sc-brown);
  font-size: 12px;
  font-weight: 600;
}
.sc-card__badge--muted { background: var(--sc-charcoal); color: #fff; inset-inline-start: auto; inset-inline-end: 10px; }
.sc-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sc-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--sc-charcoal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.1em;
}
.sc-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sc-price { font-weight: 600; color: var(--sc-brown); font-size: 16px; }
.sc-compare { color: #9b8f83; font-size: 13px; }
.sc-card__opts { display: grid; gap: 2px; font-size: 12px; color: #6b5d50; }
.sc-card__opts li { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sc-card__opt-name { font-weight: 500; white-space: nowrap; }
.sc-swatches { display: inline-flex; gap: 4px; }
.sc-swatches i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw, var(--sc-sand)); border: 1px solid rgba(0, 0, 0, 0.12); }
.sc-card__stock { font-size: 12px; display: flex; align-items: center; gap: 6px; color: var(--sc-olive); }
.sc-card__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sc-card__stock[data-available="false"] { color: #9b8f83; }
.sc-card__cta { margin-block-start: auto; min-height: 44px; font-size: 14px; padding-inline: 12px; }
@media (max-width: 380px) { .sc-card__cta { font-size: 13px; } }

/* Story */
.sc-story { display: grid; gap: 28px; align-items: center; }
.sc-story__media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sc-cream); }
.sc-story__media img { width: 100%; height: 100%; object-fit: cover; }
.sc-story__content { display: grid; gap: 14px; justify-items: start; }
.sc-story__sig { font-family: var(--font-heading); color: var(--sc-olive); font-size: 14px; }
@media (min-width: 900px) {
  .sc-story { grid-template-columns: 1fr 1fr; gap: 64px; }
  .sc-story__content { padding-inline: 24px; }
}

/* Before / After */
.sc-ba__frame {
  --pos: 50%;
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--sc-cream);
  user-select: none;
  touch-action: pan-y;
}
.sc-ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.sc-ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
}
.sc-ba__handle [ui-icon] {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  background: #fff;
  color: var(--sc-brown);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.sc-ba__tag {
  position: absolute;
  top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(41, 41, 41, 0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}
.sc-ba__tag--before { left: 12px; }
.sc-ba__tag--after { right: 12px; }
.sc-ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.sc-ba__empty { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sc-ba__empty .sc-placeholder { aspect-ratio: 3 / 4; border-radius: 16px; }
.sc-ba__note { text-align: center; font-size: 12px; color: #7a6d61; margin-block-start: 12px; }
@media (min-width: 900px) { .sc-ba__frame { max-width: 960px; margin-inline: auto; aspect-ratio: 16 / 9; } }

/* Accordion (FAQ + product info) */
.sc-faq__list { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.sc-acc {
  background: #fff;
  border: 1px solid var(--color-outline-variant);
  border-radius: 14px;
  overflow: hidden;
}
.sc-acc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  min-height: 56px;
  font-weight: 600;
  font-size: 15px;
  color: var(--sc-charcoal);
}
.sc-acc > summary::-webkit-details-marker { display: none; }
.sc-acc > summary [ui-icon] { color: var(--sc-brown); transition: rotate 0.25s ease; }
.sc-acc[open] > summary [ui-icon] { rotate: 45deg; }
.sc-acc__body { padding: 0 18px 18px; color: #5d5148; line-height: 1.85; }

/* ---------- Footer ---------- */
#youcan-section--footer { width: 100%; }
.sc-footer[layout="footer"] {
  display: block;
  margin-block-start: 56px;
  padding: 0;
  border-radius: 0;
  background: var(--sc-brown);
  color: #EDE4D6;
}
.sc-footer__inner {
  max-width: var(--sc-max);
  margin-inline: auto;
  padding: 48px var(--sc-gutter) 24px;
  display: grid;
  gap: 32px;
}
.sc-footer__logo { display: inline-flex; text-decoration: none; }
.sc-footer__logo .sc-wordmark { color: #fff; }
.sc-footer__bio { margin-block: 12px 16px; max-width: 42ch; font-size: 14px; line-height: 1.85; opacity: 0.85; }
.sc-footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-footer__social a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(237, 228, 214, 0.35);
  text-decoration: none;
  font-size: 13px;
}
.sc-footer__title { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: #fff; margin-block-end: 14px; }
.sc-footer__col ul { display: grid; gap: 10px; font-size: 14px; }
.sc-footer__col a { text-decoration: none; opacity: 0.85; }
.sc-footer__col a:hover { opacity: 1; text-decoration: underline; }
.sc-footer__meta { display: flex; align-items: center; gap: 8px; }
.sc-footer__meta [ui-icon] { color: var(--sc-beige); }
.sc-footer__bottom {
  max-width: var(--sc-max);
  margin-inline: auto;
  padding: 18px var(--sc-gutter) 28px;
  border-block-start: 1px solid rgba(237, 228, 214, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  opacity: 0.75;
}
@media (min-width: 900px) {
  .sc-footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; padding-block: 64px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-body * { transition: none !important; animation: none !important; }
}

/* Hide the legacy rotating promo bar injected by store-level custom code (.slideshow-container) */
body.sc-body > .slideshow-container { display: none !important; }
.sc-header__logo img { max-height: 56px; width: auto; }
