/* SnapToTops — Wear your memories. Matches the editable boutique storefront. */

:root {
  --st-paper: #f4eee6;
  --st-paper-deep: #e8dfd2;
  --st-cream: #fbf7f1;
  --st-ink: #1c1612;
  --st-espresso: #2a221c;
  --st-muted: #6f6359;
  --st-line: #d9d0c4;
  --st-rose: #a45c4e;
  --st-rose-deep: #7c3f36;
  --st-rose-soft: #ead7d1;
  --st-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --st-body: Outfit, "Segoe UI", system-ui, sans-serif;
  --st-shadow:
    0 0 0 1px rgba(28, 22, 18, 0.06),
    0 1px 2px -1px rgba(28, 22, 18, 0.06),
    0 8px 24px -12px rgba(28, 22, 18, 0.12);
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  background: var(--st-paper);
  color: var(--st-ink);
}

body {
  background: var(--st-paper);
  color: var(--st-ink);
  font-family: var(--st-body);
  margin: 0;
}

h1, h2, h3, h4, .wp-block-site-title, .wp-block-heading {
  font-family: var(--st-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  font-family: var(--st-body);
  cursor: pointer;
}

.wp-block-button__link {
  background: var(--st-ink) !important;
  color: var(--st-cream) !important;
  border-radius: 999px !important;
  padding: 0.85rem 1.6rem !important;
  letter-spacing: 0.02em;
  font-size: 0.9rem !important;
  font-weight: 500;
  text-decoration: none !important;
  border: 1px solid var(--st-ink);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--st-ink) !important;
  border: 1px solid var(--st-line) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--st-paper-deep) !important;
}

.st-cta-band .wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--st-cream) !important;
  border-color: rgba(251, 247, 241, 0.4) !important;
}

.st-cta-band .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--st-cream) !important;
  color: var(--st-ink) !important;
  border-color: var(--st-cream) !important;
}

/* Announcement */
.st-announce {
  background: var(--st-ink);
  color: var(--st-cream);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.st-announce p { margin: 0; }

/* Header */
.st-header {
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--st-line);
  background: color-mix(in srgb, var(--st-paper) 90%, transparent);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
}

.st-header .wp-block-group.alignwide {
  min-height: 4rem;
}

.st-header .wp-block-site-title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

.st-header .wp-block-site-title a {
  text-decoration: none;
}

.st-header .wp-block-navigation-item__label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.st-header .wp-block-navigation a:hover {
  color: var(--st-rose);
}

/* Hero */
.st-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.st-hero {
  padding: 2.5rem 1rem 3rem;
}

@media (min-width: 782px) {
  .st-hero { padding: 4rem 1rem; }
}

.st-hero .wp-block-columns {
  align-items: center;
  gap: 2.5rem;
}

.st-kicker {
  font-size: 0.75rem !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--st-rose);
  margin: 0 0 1rem !important;
  font-family: var(--st-body) !important;
  font-weight: 400 !important;
}

.st-hero h1 {
  font-size: clamp(3.1rem, 7vw, 4.5rem) !important;
  line-height: 0.95 !important;
  margin: 0 0 1.4rem !important;
}

.st-hero h1 em {
  font-style: italic;
  color: var(--st-rose);
  font-weight: 500;
}

.st-hero-copy > p:not(.st-kicker):not(.st-note) {
  color: var(--st-muted);
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.65;
}

.st-note {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-muted);
  margin-top: 1.4rem !important;
}

.st-hero-photos {
  position: relative;
}

.st-hero-photos .wp-block-image img,
.st-hero-main img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border-radius: 12px;
}

.st-hero-float {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 8.5rem;
  background: var(--st-cream);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--st-shadow);
  transform: rotate(-4deg);
  z-index: 2;
}

@media (min-width: 600px) {
  .st-hero-float {
    width: 11rem;
    bottom: -1.5rem;
    left: -2rem;
  }
}

.st-hero-float img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  display: block;
}

.st-hero-float figcaption,
.st-hero-float p {
  padding: 0.5rem 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-muted);
  margin: 0 !important;
}

/* Section headers */
.st-section {
  padding: 4rem 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.st-section h2 {
  margin: 0.35rem 0 0.8rem;
}

.st-lede {
  color: var(--st-muted);
  max-width: 36rem;
}

/* Featured cards */
.st-card {
  margin: 0;
}

.st-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.st-card .st-cat {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-muted);
  margin: 0.85rem 0 0.15rem !important;
}

.st-card h3 {
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
}

.st-card .st-price {
  font-size: 0.9rem;
  color: var(--st-muted);
  margin: 0 0 0.75rem !important;
}

.st-spotlight {
  grid-column: 1 / -1;
  min-width: 0;
  width: 85%;
  margin-inline: auto;
}
.st-spotlight img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  border-radius: 10px;
}
.st-spotlight-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.st-spotlight .st-cat {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-muted);
  margin: 0 0 0.15rem !important;
}
.st-spotlight h3 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin: 0 0 0.25rem;
}
.st-spotlight .st-price {
  font-size: 0.9rem;
  color: var(--st-muted);
  margin: 0 !important;
}

.st-center {
  text-align: center;
  margin-top: 2.5rem;
}

/* How */
.st-how {
  background: var(--st-cream);
  padding: 4rem 1rem;
}

.st-how-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.st-step-num {
  font-family: var(--st-display);
  font-size: 3.5rem;
  color: var(--st-rose-soft);
  line-height: 1;
  margin: 0 !important;
}

.st-how-cta {
  margin-top: 3.5rem;
  text-align: center;
}
.st-how-cta-text {
  font-family: var(--st-display);
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  line-height: 1.15;
  font-weight: 500;
  margin: 0 !important;
  text-wrap: balance;
}
.st-how-cta .st-buttons {
  justify-content: center;
  margin-top: 1.5rem;
}

/* Fabric */
.st-fabric-card {
  background: var(--st-cream);
  border-radius: 12px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--st-shadow);
}

.st-swatch {
  display: inline-block;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--st-line);
  margin-right: 0.4rem;
}

/* Worn */
.st-worn {
  background: var(--st-ink);
  color: var(--st-cream);
  padding: 4rem 1rem;
}

.st-worn .st-kicker { color: var(--st-rose-soft) !important; }
.st-worn h2, .st-worn p { color: var(--st-cream); }
.st-worn .st-lede { color: rgba(251, 247, 241, 0.7); }

.st-worn img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  border-radius: 10px;
}

.st-quote {
  font-size: 0.9rem;
  color: rgba(251, 247, 241, 0.9);
  margin: 1rem 0 0.4rem !important;
}

.st-who {
  font-size: 0.75rem;
  color: rgba(251, 247, 241, 0.55);
  margin: 0 !important;
}

/* Story */
.st-story {
  padding: 4rem 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.st-story img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 12px;
}

/* CTA band */
.st-cta-band {
  background: var(--st-rose);
  color: var(--st-cream);
  text-align: center;
  padding: 4rem 1rem;
}

.st-cta-band h2,
.st-cta-band p {
  color: var(--st-cream);
}

.st-cta-inner {
  max-width: 40rem;
  margin: 0 auto;
}

/* Footer */
.st-footer {
  background: var(--st-espresso);
  color: var(--st-cream);
  padding: 3.5rem 1.5rem 1.2rem;
}

.st-footer a {
  color: var(--st-cream);
  text-decoration: none;
}

.st-footer a:hover { color: var(--st-rose-soft); }

.st-footer h3 {
  font-family: var(--st-body) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 247, 241, 0.5);
  margin: 0 0 1rem !important;
}

.st-footer .wp-block-site-title {
  color: var(--st-cream);
  font-size: 1.85rem;
}

.st-legal {
  border-top: 1px solid rgba(251, 247, 241, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.75rem;
  color: rgba(251, 247, 241, 0.5);
}

.st-social {
  margin-top: 1.35rem;
}
.st-social-heading {
  font-family: var(--st-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 247, 241, 0.5);
  margin: 0 0 0.7rem !important;
}
.st-social ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.st-social a {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 247, 241, 0.2);
  border-radius: 999px;
  color: var(--st-cream) !important;
  text-decoration: none;
  transition: background 150ms cubic-bezier(0.22, 1, 0.36, 1), border-color 150ms cubic-bezier(0.22, 1, 0.36, 1), color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.st-social a:hover {
  background: rgba(251, 247, 241, 0.1);
  border-color: rgba(251, 247, 241, 0.4);
  color: var(--st-rose-soft) !important;
}
.st-social-on-paper {
  margin-top: 1.75rem;
}
.st-social-on-paper .st-social-heading {
  color: var(--st-muted);
}
.st-social-on-paper a {
  color: var(--st-ink) !important;
  border-color: var(--st-line);
}
.st-social-on-paper a:hover {
  background: var(--st-paper-deep);
  border-color: var(--st-rose);
  color: var(--st-rose) !important;
}
@media (prefers-reduced-motion: reduce) {
  .st-social a { transition: none; }
}

/* WooCommerce */
.woocommerce-products-header__title,
.woocommerce h1.page-title {
  font-family: var(--st-display);
  font-weight: 500;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.1rem;
}

@media (min-width: 782px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin: 0 0 0.7rem;
  border-radius: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--st-display);
  font-size: 1.25rem !important;
  font-weight: 500;
  padding: 0 !important;
}

.woocommerce ul.products li.product .price {
  color: var(--st-muted);
  font-size: 0.9rem;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  background: var(--st-ink);
  color: var(--st-cream);
  border-radius: 999px;
  font-weight: 500;
}

.woocommerce div.product .product_title {
  font-family: var(--st-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
}

.woocommerce div.product p.price { color: var(--st-ink); }

.woocommerce div.product form.cart .button,
.woocommerce #place_order,
.woocommerce a.checkout-button {
  background: var(--st-ink) !important;
  color: var(--st-cream) !important;
  border-radius: 999px !important;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  background: var(--st-cream);
  border-top-color: var(--st-ink);
}

.woocommerce .quantity .qty {
  border: 1px solid var(--st-line);
  padding: 0.5rem;
  border-radius: 8px;
}

.woocommerce-page .content-area,
.st-shop {
  padding: 3rem 1.5rem 5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.st-page {
  padding: 3.5rem 1.5rem 5rem;
  max-width: 44rem;
  margin: 0 auto;
}

.st-page h1 { margin-top: 0; }

/* Classic theme layout (header, grids, buttons) */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.st-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.st-brand { display: flex; align-items: center; gap: 0.6rem; }
.st-site-title { font-family: var(--st-display); font-size: 1.5rem; margin: 0; font-weight: 500; }
.st-site-title a { text-decoration: none; }
.st-nav-list {
  display: flex;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.st-nav-list a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.st-nav-list a:hover { color: var(--st-rose); }
.st-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.st-header-tools { display: flex; align-items: center; gap: 0.2rem; }
.st-icon-link {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: var(--st-ink);
}
.st-icon-link:hover { color: var(--st-rose); }

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--st-ink);
  color: var(--st-cream) !important;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none !important;
  border: 1px solid var(--st-ink);
  font-family: var(--st-body);
}
.st-btn-outline {
  background: transparent;
  color: var(--st-ink) !important;
  border: 1px solid var(--st-line);
}
.st-btn-outline:hover { background: var(--st-paper-deep); }
.st-cta-band .st-btn-outline { color: var(--st-cream) !important; border-color: rgba(251,247,241,0.4); }
.st-cta-band .st-btn:not(.st-btn-outline) {
  background: var(--st-cream);
  color: var(--st-ink) !important;
  border-color: var(--st-cream);
}
.st-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.st-center-buttons { justify-content: center; }

.st-hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 782px) {
  .st-hero { grid-template-columns: 1fr 1fr; padding: 4rem 1rem; }
}
.st-hero h1 {
  font-size: clamp(3.1rem, 7vw, 4.5rem);
  line-height: 0.95;
  margin: 0 0 1.4rem;
}
.st-hero-copy > p:not(.st-kicker):not(.st-note) {
  color: var(--st-muted);
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.65;
}
.st-hero-photos { position: relative; }
.st-hero-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border-radius: 12px;
}

.st-cards, .st-worn-grid, .st-fabrics, .st-steps, .st-story {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 782px) {
  .st-cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.1rem; }
  .st-worn-grid, .st-steps { grid-template-columns: repeat(3, 1fr); }
  .st-fabrics, .st-story { grid-template-columns: 1fr 1fr; align-items: center; }
}
.st-how h2, .st-section h2, .st-worn h2, .st-story h2, .st-cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0.35rem 0 0.8rem;
}
.st-footer-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 782px) {
  .st-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.st-footer-title { font-family: var(--st-display); font-size: 1.85rem; margin: 0 0 0.75rem; }
.st-footer ul { list-style: none; margin: 0; padding: 0; }
.st-footer li { margin: 0 0 0.5rem; }
.st-legal { max-width: 72rem; margin-left: auto; margin-right: auto; }

@media (max-width: 781px) {
  .st-nav-toggle { display: inline-flex; }
  .st-nav-list { display: none; flex-direction: column; position: absolute; left: 0; right: 0; background: var(--st-paper); padding: 1rem 1.5rem 1.25rem; border-bottom: 1px solid var(--st-line); }
  .st-nav.is-open .st-nav-list { display: flex; }
  .st-nav { position: static; }
  .st-header { position: sticky; }
}

.woocommerce ul.products li.product .button { margin-top: 0.6rem; }
