/* ============================================
   Shared preview base styles
   (Simulates Prestige theme defaults for local preview)
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.7;
  font-size: 15px;
  font-weight: 400;
}

.Heading {
  font-family: 'Georgia', 'Times New Roman', serif;
  text-transform: uppercase;
}

.Container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.u-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* ---- Announcement Bar ---- */
.AnnouncementBar {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
}

/* ---- Header ---- */
.shopify-section--header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}

.Header__Wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 48px;
  gap: 32px;
}

.Header__FlexItem { display: flex; align-items: center; }
.Header__FlexItem--fill:first-child { justify-content: flex-start; }
.Header__FlexItem--fill:last-child { justify-content: flex-end; }

.Header__LogoLink { text-decoration: none; color: inherit; }
.Header__LogoLink .Heading { font-size: 26px; letter-spacing: 0.2em; white-space: nowrap; }

.HorizontalList {
  list-style: none;
  display: flex;
  gap: 28px;
}

.HorizontalList--spacingLoose { gap: 20px; }

.HorizontalList__Item a {
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
}

.HorizontalList__Item.is-active a {
  border-bottom: 1.5px solid #000;
  padding-bottom: 2px;
}

.u-h6 { font-size: 13px; }
.u-h8 { font-size: 12px; }
.u-h5 { font-size: 16px; }
.u-h4 { font-size: 20px; }
.u-h3 { font-size: 26px; }
.u-h2 { font-size: 32px; }
.u-h1 { font-size: 56px; }

.Header__SecondaryNav {
  display: flex;
  justify-content: flex-end;
}

.Text--subdued { color: #555; font-weight: 400; }

.Header__Icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: inherit;
  font-size: 20px;
}

/* ---- Hero / Slideshow ---- */
.shopify-section--slideshow { position: relative; }
.Slideshow { position: relative; overflow: hidden; }
.Slideshow--fullscreen { height: 85vh; min-height: 500px; }

.Slideshow__Slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.Slideshow__ImageContainer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}

.Image--contrast::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.Slideshow__Content {
  position: absolute;
  bottom: 0; left: 0;
  padding: 80px;
  color: #fff;
  z-index: 2;
  max-width: 700px;
}

.Slideshow__Content--middleCenter {
  bottom: 50%; left: 50%;
  transform: translate(-50%, 50%);
  text-align: center;
  max-width: 800px;
}

/* ---- Section styling ---- */
.shopify-section { padding: 100px 0; }

.SectionHeader {
  text-align: center;
  margin-bottom: 48px;
}

.SectionHeader__SubHeading {
  font-size: 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.SectionHeader__Heading {
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.SectionHeader__Heading--emphasize { font-style: italic; }

.SectionHeader__Description {
  font-size: 15px;
  margin-top: 14px;
  line-height: 1.8;
  font-weight: 400;
  color: #555;
}

/* ---- Buttons ---- */
.ButtonGroup {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.Button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', sans-serif;
  cursor: pointer;
  border: 1.5px solid #fff;
  color: #fff;
  background: transparent;
}

.Button--dark {
  border-color: #000;
  color: #000;
}

/* ---- flickity dots ---- */
.flickity-page-dots {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  background: #fff;
  border: none;
  cursor: pointer;
  border-radius: 2px;
}

/* ---- Product Grid ---- */
.ProductList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ProductItem { cursor: pointer; }

.ProductItem__ImageWrapper {
  position: relative;
  background: #f5f3ef;
  padding-top: 133%;
}

.ProductItem__ImageWrapper img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.ProductItem__Label {
  position: absolute;
  top: 12px; left: 12px;
  text-transform: uppercase;
  z-index: 2;
}

.ProductItem__Info { padding: 14px 0 0; }

.ProductItem__Title {
  font-family: 'Helvetica Neue', sans-serif;
  text-transform: none;
  font-size: 14px;
  line-height: 1.4;
}

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

.ProductItem__Price {
  color: #555;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
}

/* ---- Collection Items ---- */
.CollectionList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.CollectionItem {
  position: relative;
  background: #f5f3ef;
  overflow: hidden;
}

.CollectionItem__Image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.CollectionItem__Content {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 24px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  text-transform: uppercase;
  font-size: 14px;
  text-align: center;
}

/* ---- Testimonials ---- */
.Testimonial {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.Testimonial__Author {
  margin-top: 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #777;
}

/* ---- Newsletter ---- */
.Newsletter {
  text-align: center;
  background: #f5f3ef;
}

.Newsletter__Form {
  display: flex;
  max-width: 480px;
  margin: 32px auto 0;
  gap: 12px;
  align-items: stretch;
}

.Newsletter .Form__Input {
  flex: 1;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  padding: 0 18px;
  height: 48px;
}

.Newsletter .Form__Submit {
  background: #000;
  color: #fff;
  border: none;
  padding: 0 32px;
  height: 48px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 100px;
}

/* ---- Footer ---- */
.Footer {
  background: #1a1a1a;
  color: #ccc;
}

.Footer__Inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.Footer__Title {
  color: #fff;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
}

.Footer .Linklist { list-style: none; }

.Footer .Linklist__Item a {
  color: #aaa;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}

.Footer .Linklist__Item a:hover { color: #fff; }

.Footer__Aside {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.Footer__Copyright {
  color: #777;
  text-align: center;
}

.Footer__Newsletter .Form__Input {
  width: 100%;
  margin-bottom: 12px;
}

.Footer__Newsletter .Form__Submit {
  width: 100%;
  cursor: pointer;
}

/* ---- Page Banner ---- */
.PageBanner {
  background: linear-gradient(160deg, #1a1a1a 0%, #333 50%, #222 100%);
  color: #fff;
  text-align: center;
  padding: 100px 48px 80px;
}

.PageBanner__Title {
  font-size: 48px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.PageBanner__Subtitle {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

/* ---- Breadcrumb ---- */
.Breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: #777;
  border-bottom: 1px solid #eaeaea;
}

.Breadcrumb a {
  color: #777;
  text-decoration: none;
}

.Breadcrumb a:hover { color: #000; }
.Breadcrumb__Sep { margin: 0 8px; }

/* ---- Placeholders ---- */
.placeholder-hero { background: linear-gradient(160deg, #1a1a1a 0%, #3a3a3a 40%, #2a2a2a 100%); }
.placeholder-product { background: linear-gradient(160deg, #e8e4de, #d5d0c8); }
.placeholder-collection-1 { background: linear-gradient(135deg, #3a3630, #6b6357); }
.placeholder-collection-2 { background: linear-gradient(135deg, #4a4540, #7b7367); }
.placeholder-collection-3 { background: linear-gradient(135deg, #2a2520, #5b5347); }

/* ---- Preview badge ---- */
.preview-badge {
  position: fixed;
  bottom: 20px; right: 20px;
  background: #000;
  color: #fff;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 9999;
  font-family: 'Helvetica Neue', sans-serif;
}

/* ---- Accessibility ---- */
:focus-visible {
  outline: 3px solid #5e9ed6;
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.PageSkipLink {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  background: #000;
  color: #fff;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 100px 100px;
  transition: top 0.2s ease;
}
.PageSkipLink:focus { top: 0; }

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

/* ---- Responsive ---- */
@media screen and (max-width: 1007px) {
  .hidden-pocket { display: none !important; }
  .hidden-lap { display: none !important; }
  .Header__Wrapper { grid-template-columns: auto 1fr auto; gap: 16px; padding: 16px 24px; }
  .ProductList { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .CollectionList { grid-template-columns: repeat(2, 1fr); }
  .CollectionItem__Image { height: 320px; }
  .Footer__Inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .shopify-section { padding: 72px 0; }
  .PageBanner { padding: 72px 24px 56px; }
  .PageBanner__Title { font-size: 36px; }
}

@media screen and (max-width: 640px) {
  .Header__Wrapper { grid-template-columns: 1fr; justify-items: center; padding: 14px 20px; }
  .Header__FlexItem--fill:first-child, .Header__FlexItem--fill:last-child { display: none; }
  .ProductList { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .CollectionList { grid-template-columns: 1fr; }
  .CollectionItem__Image { height: 280px; }
  .Footer__Inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .Slideshow--fullscreen { height: 75vh; min-height: 420px; }
  .Slideshow__Content { padding: 28px 24px; max-width: 100%; }
  .SectionHeader__Heading { font-size: 26px !important; }
  .SectionHeader { margin-bottom: 32px; }
  .Newsletter__Form { flex-direction: column; }
  .Header__MainNav { display: none; }
  .shopify-section { padding: 56px 0; }
  .Container { padding: 0 20px !important; }
  .PageBanner { padding: 56px 20px 44px; }
  .PageBanner__Title { font-size: 28px; }
}
