/** Shopify CDN: Minification failed

Line 27:0 All "@import" rules must come first

**/
/* Petal & Pen Brand Customization */
/* Colors: Primary #B33C6A · Light pink #DD93AC · Taupe #BCA68F · Dark brown #513726 · Caramel #A16E4F · Deep #362D1E */

:root {
  --color-primary: #B33C6A;
  --color-primary-light: #DD93AC;
  --color-taupe: #BCA68F;
  --color-dark-brown: #513726;
  --color-caramel: #A16E4F;
  --color-deep: #362D1E;
  --color-cream: #f9f7f4;
  --color-cream-alt: #f3ece2;
  --color-text: #513726;
  --color-text-muted: #8a7568;
  --color-border: #e8dcd0;
  --color-bg: #f9f7f4;
}

/* Import fonts from Google Fonts */
/* Lato (body). Gosford (headings) is self-hosted via @font-face in snippets/stylesheets.liquid */
/* Playfair Display kept only as a fallback in the heading stack */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');

/* Apply Lato to body / general text */
body,
.section__text,
p,
.product__price,
.product__description {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
}

/* Apply Gosford (brand heading font) — falls back to Playfair Display then Georgia */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading-1, .heading-2, .heading-3,
.product__title,
.collection__title,
.section__title {
  font-family: 'Gosford', 'Playfair Display', 'Georgia', serif;
  color: var(--color-dark-brown);
  font-weight: 600;
}

/* Primary color for accents & CTAs */
.button,
.button--primary,
a.button,
.product__add-to-cart,
[type="submit"],
.link--accent,
.link--primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.button:hover,
.button--primary:hover,
a.button:hover,
[type="submit"]:hover {
  background-color: #a02952;
  border-color: #a02952;
}

/* Links and accents */
a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: #a02952;
}

/* Background colors */
body {
  background-color: var(--color-bg);
}

section,
.section {
  background-color: var(--color-bg);
}

/* Corduroy/line texture on feature sections (optional) */
.section--corduroy,
.section--feature {
  background-color: var(--color-cream-alt);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(81, 55, 38, 0.05) 0px,
    rgba(81, 55, 38, 0.05) 1px,
    transparent 1px,
    transparent 7px
  );
}

/* Card styles with subtle shadows */
.card,
.product-card,
.collection-card,
.section-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(81, 55, 38, 0.06);
  transition: transform 0.28s, box-shadow 0.28s;
}

.card:hover,
.product-card:hover,
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(179, 60, 106, 0.14);
  border-color: #dfc0d1;
}

/* Stars/testimonials color */
.stars,
.rating,
.review__stars {
  color: var(--color-primary);
}

/* Footer */
footer,
.footer {
  background-color: var(--color-dark-brown);
  color: #ffffff;
}

footer a,
.footer a {
  color: var(--color-primary-light);
}

footer a:hover,
.footer a:hover {
  color: #ffffff;
}

/* Subscription/popup */
.popup,
.modal,
.newsletter-signup {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
}

.popup__button,
.modal__button,
.newsletter-signup button {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Early access banner */
.banner--early-access,
.banner--subscriber {
  background-color: var(--color-cream-alt);
  border-top: 3px solid var(--color-primary);
}

/* Collection page polish */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.collection-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(179, 60, 106, 0.14);
  border-color: #dfc0d1;
}

.collection-card-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  width: 100%;
}

.collection-card-title {
  font-family: 'Gosford', 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  padding: 16px;
  color: var(--color-dark-brown);
}

/* Product grid polish */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s;
}

.product-card:hover {
  box-shadow: 0 8px 16px rgba(81, 55, 38, 0.1);
}

.product-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  display: block;
}

.product-info {
  padding: 12px;
}

.product-title {
  font-family: 'Gosford', 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark-brown);
  margin-bottom: 6px;
}

.product-price {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

/* Quick add button */
.product-quick-add {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 0;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: background-color 0.2s;
}

.product-quick-add:hover {
  background-color: #a02952;
}

/* ===== HEADER OVERRIDES — Mockup Alignment ===== */

/* Hide Horizon's duplicate logo section (using custom petal-pen-header-brand instead) */
header-component .header-logo,
.logo-section[class*="header"] {
  display: none !important;
}

/* Header container styling */
header-component,
.header {
  background-color: var(--color-cream);
  border-bottom: none; /* Remove border since custom brand section handles it */
  position: sticky;
  top: 0;
  z-index: 20;
}

/* Logo section — center alignment */
.logo-section,
.logo-section--center {
  text-align: center;
  justify-content: center;
  margin: 0 auto;
  padding: 30px 0 18px !important;
}

.logo-section__image-wrapper {
  display: flex;
  justify-content: center;
}

.logo-section__image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Logo text (fallback for shop name) */
.logo-section .jumbo-text {
  font-family: 'Lato', sans-serif;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-text);
}

/* Header row styling */
.header__row--top {
  justify-content: center;
  display: flex;
  align-items: center;
}

/* Navigation menu — centered layout */
.header__menu,
.header-menu {
  display: flex;
  justify-content: center;
  flex: 1;
}

.header-menu ul,
.header-menu nav,
.header-menu menu {
  display: flex;
  justify-content: center;
  gap: 34px;
  align-items: center;
}

.header-menu a,
.header-menu li a {
  font-family: 'Lato', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

/* Underline hover effect (grows from left to right) */
.header-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background-color: var(--color-primary);
  transition: width 0.25s ease-out;
}

.header-menu a:hover::after {
  width: 100%;
}

.header-menu a:hover {
  color: var(--color-primary);
}

/* Navigation icons (search, cart) positioning */
.header__icons,
.header-actions,
.header-icons-container {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__icons svg,
.header-actions svg,
.header-icons-container svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.header__icons button,
.header-actions button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Hide localization and language selectors (not in mockup) */
.header-localization,
.localization-selector,
.header-language,
.header-country {
  display: none !important;
}

/* Section wrapper consistency */
.header .section-wrapper,
.header .container,
header-component .container {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

/* Mobile header adjustments */
@media (max-width: 768px) {
  .logo-section {
    padding: 20px 0 15px !important;
  }

  .logo-section .jumbo-text {
    font-size: 32px;
  }

  .header-menu ul,
  .header-menu menu {
    gap: 16px;
  }

  .header-menu a {
    font-size: 12px;
  }

  .header__icons,
  .header-actions {
    right: 20px;
    gap: 16px;
  }

  .header__icons svg,
  .header-actions svg {
    width: 18px;
    height: 18px;
  }
}

/* ===== END HEADER OVERRIDES ===== */

/* ===== SECTION SPACING & TYPOGRAPHY CONSISTENCY ===== */

/* Hero section padding */
.hero {
  padding: 56px 0 10px !important;
}

.hero-section,
section[class*="hero"] {
  padding: 56px 40px 10px !important;
  max-width: 1240px;
  margin: 0 auto;
}

/* Wrap/container consistency across all sections */
.wrap,
.section-wrapper,
.page-width,
.container {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

/* Best Sellers grid styling */
.product-list__grid,
.best-sellers-grid,
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px !important;
}

.product-card,
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s;
}

.product-card:hover,
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(44, 42, 39, 0.1);
  border-color: #dfc0d1;
}

.product-card .thumb,
.card .thumb {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #f0dde0, #e7d3cc);
}

/* Best Sellers title */
.section__title {
  font-family: 'Gosford', 'Playfair Display', serif;
  font-weight: 500;
  font-size: 52px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 46px;
}

.section__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: var(--color-taupe);
  margin: 20px auto 0;
}

/* Instagram feed grid */
.instagram-grid,
.insta-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px !important;
}

.instagram-item,
.ig {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(160deg, #f1dfe1, #e6d1cb);
  transition: all 0.25s;
}

.instagram-item:hover,
.ig:hover {
  background: linear-gradient(160deg, #f1dfe1, #e6d1cb);
  box-shadow: inset 0 0 0 1000px rgba(44, 42, 39, 0.12);
}

/* Newsletter section */
.newsletter,
.news {
  background-color: var(--color-cream-alt) !important;
  border-top: 1px solid var(--color-border) !important;
  border-bottom: 1px solid var(--color-border) !important;
  padding: 62px 40px !important;
  text-align: center;
}

.newsletter h3,
.news h3 {
  font-family: 'Gosford', 'Playfair Display', serif;
  font-weight: 500;
  font-size: 36px;
  color: var(--color-text);
  margin: 8px 0 10px;
}

.newsletter input,
.news input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 18px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: var(--color-text);
  outline: none;
}

.newsletter button,
.news button {
  background: var(--color-text);
  color: var(--color-cream);
  border: 0;
  padding: 0 26px;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Reviews section */
.reviews {
  background-color: var(--color-cream-alt) !important;
  border-top: 1px solid var(--color-border) !important;
}

.reviews h3 {
  font-family: 'Gosford', 'Playfair Display', serif;
  font-weight: 500;
  font-size: 36px;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 46px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.review {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 26px 20px;
  box-shadow: 0 2px 8px rgba(81, 55, 38, 0.06);
}

.review .stars {
  font-size: 14px;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .product-list__grid,
  .best-sellers-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .instagram-grid,
  .insta-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 0 !important;
  }

  .section__title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .newsletter,
  .news {
    padding: 40px 20px !important;
  }

  .newsletter h3,
  .news h3 {
    font-size: 28px;
  }

  .wrap,
  .section-wrapper,
  .page-width {
    padding: 0 20px !important;
  }
}

/* ===== END SECTION SPACING & TYPOGRAPHY ===== */

/* Carousel enhancements */
.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.carousel-track::-webkit-scrollbar {
  height: 4px;
}

.carousel-track::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

/* Hide duplicate Horizon footer newsletter section */
.footer-newsletter,
[class*="footer-email"],
[id*="footer"] [class*="newsletter"] {
  display: none !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 28px;
  }

  h2, .h2 {
    font-size: 24px;
  }

  body {
    font-size: 16px;
  }

  .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-title {
    font-size: 12px;
  }

  .product-price {
    font-size: 12px;
  }

  .product-quick-add {
    padding: 6px 12px;
    font-size: 10px;
  }

  /* Stack on very small screens */
  @media (max-width: 480px) {
    .product-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .collection-grid {
      grid-template-columns: 1fr;
    }
  }
}
