/* Beauty of Papers Blocks Styles */

.bop-section {
  padding: var(--wp--preset--spacing--60) 0;
}

.bop-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--wp--preset--spacing--30);
}

.bop-section__header {
  text-align: center;
  margin-bottom: var(--wp--preset--spacing--50);
}

.bop-section__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--wp--preset--spacing--10);
}

.bop-section__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--wp--preset--font-family--playfair-display);
  margin: 0;
}

/* Hero Section */
.bop-hero {
  display: flex;
  align-items: center;
}

.bop-hero .bop-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wp--preset--spacing--50);
  align-items: center;
}

.bop-hero--full-width .bop-container {
  grid-template-columns: 1fr;
}

.bop-hero--image-left .bop-hero__content {
  order: 2;
}

.bop-hero--image-left .bop-hero__image {
  order: 1;
}

.bop-hero__content {
  max-width: 600px;
}

.bop-hero__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--wp--preset--spacing--10);
}

.bop-hero__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--wp--preset--font-family--playfair-display);
  margin: 0 0 var(--wp--preset--spacing--20);
  line-height: 1.2;
}

.bop-hero__description {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: var(--wp--preset--spacing--40);
}

.bop-hero__buttons {
  display: flex;
  gap: var(--wp--preset--spacing--20);
  flex-wrap: wrap;
}

.bop-btn {
  display: inline-block;
  padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bop-btn--primary {
  background-color: #f26a5a;
  color: #ffffff;
}

.bop-btn--primary:hover {
  background-color: #e05545;
}

.bop-btn--secondary {
  background-color: transparent;
  color: inherit;
  border: 2px solid;
}

.bop-btn--secondary:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.bop-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* About Section */
.bop-about .bop-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wp--preset--spacing--50);
  align-items: center;
}

.bop-about--image-left .bop-about__content {
  order: 2;
}

.bop-about--image-left .bop-about__image {
  order: 1;
}

.bop-about__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--wp--preset--spacing--10);
}

.bop-about__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--wp--preset--font-family--playfair-display);
  margin: 0 0 var(--wp--preset--spacing--20);
  line-height: 1.2;
}

.bop-about__description {
  font-size: 1.1rem;
  line-height: 1.65;
}

.bop-about__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Features Section */
.bop-features__grid {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), 1fr);
  gap: var(--wp--preset--spacing--40);
}

.bop-feature {
  text-align: center;
  padding: var(--wp--preset--spacing--30);
}

.bop-feature__icon {
  font-size: 3rem;
  margin-bottom: var(--wp--preset--spacing--20);
}

.bop-feature__title {
  font-family: var(--wp--preset--font-family--playfair-display);
  font-size: 1.25rem;
  margin: 0 0 var(--wp--preset--spacing--10);
}

.bop-feature__description {
  margin: 0;
  color: var(--bop-muted-text);
}

/* Newsletter Section */
.bop-newsletter .bop-container {
  text-align: center;
  max-width: 800px;
}

.bop-newsletter__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--wp--preset--spacing--10);
}

.bop-newsletter__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--wp--preset--font-family--playfair-display);
  margin: 0 0 var(--wp--preset--spacing--20);
  line-height: 1.2;
}

.bop-newsletter__description {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: var(--wp--preset--spacing--40);
}

.bop-newsletter__form {
  display: flex;
  gap: var(--wp--preset--spacing--20);
  max-width: 600px;
  margin: 0 auto;
}

.bop-newsletter__input {
  flex: 1;
  padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  color: inherit;
}

.bop-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.bop-newsletter__button {
  padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: #ffffff;
  color: #f26a5a;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bop-newsletter__button:hover {
  background-color: #f5f5f5;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .bop-hero .bop-container,
  .bop-about .bop-container {
    grid-template-columns: 1fr;
  }
  
  .bop-features__grid {
    grid-template-columns: 1fr;
  }
  
  .bop-newsletter__form {
    flex-direction: column;
  }
}

/* Configurable homepage section blocks */
.bop-announcement-bar {
  background: #3d3d3d;
  color: #ffffff;
  font-family: var(--wp--preset--font-family--space-grotesk, Arial, sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  overflow: hidden;
  width: 100%;
}

.bop-announcement-bar__track {
  display: flex;
  transition: transform 420ms ease;
  width: 100%;
}

.bop-announcement-bar__slide {
  align-items: center;
  display: flex;
  flex: 0 0 100%;
  gap: 0.75rem;
  justify-content: center;
  min-height: 42px;
  padding: 0.6rem 1.25rem;
  text-align: center;
}

.bop-announcement-bar a {
  color: #f5ebdd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bop-section-container {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.bop-section-intro {
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  max-width: 720px;
  text-align: center;
}

.bop-section-intro h2,
.bop-newsletter-section h2 {
  color: #3d3d3d !important;
  font-family: var(--wp--preset--font-family--playfair-display, Georgia, serif) !important;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  margin: 0;
}

.bop-section-intro p {
  color: #686868;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.7;
  margin: 0.85rem auto 0;
}

.bop-section-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--space-grotesk, Arial, sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 46px;
  padding: 0.82rem 1.35rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.bop-section-btn:hover {
  transform: translateY(-1px);
}

.bop-section-btn--primary {
  background: #c75b39;
  color: #ffffff;
}

.bop-section-btn--primary:hover {
  background: #a94d30;
  color: #ffffff;
}

.bop-section-btn--secondary {
  background: transparent;
  border-color: rgba(61, 61, 61, 0.26);
  color: #3d3d3d;
}

.bop-section-btn--secondary:hover {
  background: #ffffff;
  border-color: #c75b39;
  color: #c75b39;
}

.bop-hero-section {
  background: #f5f0e8;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.bop-hero-section__container {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.bop-hero-section__image-wrapper {
  border-radius: 16px;
  box-shadow: 0 22px 54px rgba(58, 46, 42, 0.14);
  height: min(70vh, 680px);
  min-height: 480px;
  overflow: hidden;
}

.bop-hero-section__image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.bop-hero-section__image--mobile {
  display: none;
}

.bop-hero-section__content {
  max-width: 560px;
}

.bop-hero-section__eyebrow,
.bop-newsletter-section__offer,
.bop-product-tile__collection {
  color: #c75b39;
  font-family: var(--wp--preset--font-family--space-grotesk, Arial, sans-serif);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.bop-hero-section__title {
  color: #3d3d3d !important;
  font-family: var(--wp--preset--font-family--playfair-display, Georgia, serif) !important;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.96;
  margin: 0;
}

.bop-hero-section__description {
  color: #575757;
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  line-height: 1.72;
  margin: 1.35rem 0 0;
}

.bop-hero-section__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.bop-features-section,
.bop-product-grid-section,
.bop-testimonials {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.bop-features-section {
  background: #fffaf3;
}

.bop-features-section__grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(var(--bop-feature-columns, 3), minmax(0, 1fr));
}

.bop-feature-card {
  background: #ffffff;
  border: 1px solid rgba(58, 46, 42, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(58, 46, 42, 0.07);
  padding: clamp(1.35rem, 2.4vw, 2rem);
  text-align: center;
}

.bop-feature-card__icon {
  align-items: center;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  height: 72px;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 72px;
}

.bop-feature-card__icon svg {
  fill: none;
  height: 34px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 34px;
}

.bop-feature-card h3 {
  color: #3d3d3d !important;
  font-family: var(--wp--preset--font-family--playfair-display, Georgia, serif) !important;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  margin: 0;
}

.bop-feature-card p {
  color: #686868;
  font-size: 0.98rem;
  line-height: 1.68;
  margin: 0.75rem 0 0;
}

.bop-product-grid-section {
  background: #f5f0e8;
}

.bop-product-grid-section__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
}

.bop-product-grid-section__tab {
  background: #fffaf3;
  border: 1px solid rgba(61, 61, 61, 0.16);
  border-radius: 999px;
  color: #3d3d3d;
  cursor: pointer;
  font-family: var(--wp--preset--font-family--space-grotesk, Arial, sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  min-height: 40px;
  padding: 0.65rem 1rem;
  text-transform: uppercase;
}

.bop-product-grid-section__tab.is-active,
.bop-product-grid-section__tab:hover {
  background: #3d3d3d;
  border-color: #3d3d3d;
  color: #ffffff;
}

.bop-product-grid-section__grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(var(--bop-product-desktop-cols, 3), minmax(0, 1fr));
}

.bop-product-tile {
  background: #ffffff;
  border: 1px solid rgba(58, 46, 42, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(58, 46, 42, 0.07);
  overflow: hidden;
}

.bop-product-tile[hidden] {
  display: none !important;
}

.bop-product-tile__image-link,
.bop-product-tile__images {
  display: block;
}

.bop-product-tile__images {
  aspect-ratio: 1 / 1;
  background: #eadbc6;
  overflow: hidden;
  position: relative;
}

.bop-product-tile__img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: opacity 240ms ease, transform 240ms ease;
  width: 100%;
}

.bop-product-tile__img--secondary {
  opacity: 0;
}

.bop-product-tile:hover .bop-product-tile__img--primary {
  transform: scale(1.025);
}

.bop-product-tile:hover .bop-product-tile__img--secondary {
  opacity: 1;
}

.bop-product-tile__body {
  padding: 1.15rem;
}

.bop-product-tile__collection {
  margin-bottom: 0.45rem;
}

.bop-product-tile__title {
  font-family: var(--wp--preset--font-family--playfair-display, Georgia, serif) !important;
  font-size: clamp(1.22rem, 1.7vw, 1.5rem);
  line-height: 1.18;
  margin: 0;
}

.bop-product-tile__title a {
  color: #3d3d3d;
  text-decoration: none;
}

.bop-product-tile__title a:hover {
  color: #c75b39;
}

.bop-product-tile__price {
  color: #3d3d3d;
  font-weight: 800;
  margin-top: 0.8rem;
}

.bop-product-tile__add-to-cart {
  align-items: center;
  background: #c75b39;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-family: var(--wp--preset--font-family--space-grotesk, Arial, sans-serif);
  font-size: 0.76rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.07em;
  margin-top: 1rem;
  min-height: 40px;
  padding: 0.66rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.bop-product-tile__add-to-cart:hover {
  background: #a94d30;
  color: #ffffff;
}

.bop-product-grid-section__view-all {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.bop-testimonials {
  background: #fffaf3;
}

.bop-testimonials__viewport {
  margin: 0 auto;
  max-width: 780px;
  overflow: hidden;
}

.bop-testimonials__track {
  display: flex;
  transition: transform 420ms ease;
}

.bop-testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(58, 46, 42, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(58, 46, 42, 0.07);
  flex: 0 0 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.bop-testimonial-card__stars {
  color: #c75b39;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.bop-testimonial-card__quote {
  color: #3d3d3d;
  font-family: var(--wp--preset--font-family--playfair-display, Georgia, serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  margin: 1.25rem 0 0;
}

.bop-testimonial-card__author {
  color: #686868;
  font-weight: 800;
  margin: 1rem 0 0;
}

.bop-newsletter-section {
  background: #3d3d3d;
  color: #ffffff;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.bop-newsletter-section__inner {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
}

.bop-newsletter-section h2 {
  color: #ffffff !important;
}

.bop-newsletter-section__offer {
  color: #f5ebdd;
}

.bop-newsletter-section__description {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.7;
  margin: 1rem auto 0;
  max-width: 660px;
}

.bop-newsletter-section__form {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 2rem auto 0;
  max-width: 620px;
}

.bop-newsletter-section__form input {
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #3d3d3d;
  font-size: 1rem;
  min-height: 50px;
  padding: 0 1.15rem;
  width: 100%;
}

.bop-newsletter-section__form button {
  background: #c75b39;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-family: var(--wp--preset--font-family--space-grotesk, Arial, sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  min-height: 50px;
  padding: 0 1.35rem;
  text-transform: uppercase;
}

.bop-newsletter-section__form button:hover {
  background: #e87a6e;
}

.bop-newsletter-section__message {
  color: #f5ebdd;
  font-weight: 700;
  margin: 1rem 0 0;
  min-height: 1.4em;
}

.bop-newsletter-section__message.is-error {
  color: #f7b4aa;
}

@media (max-width: 900px) {
  .bop-hero-section__container {
    grid-template-columns: 1fr;
  }

  .bop-hero-section__image-wrapper {
    height: var(--bop-hero-mobile-height, 60vh);
    min-height: 360px;
    order: 1;
  }

  .bop-hero-section__content {
    max-width: none;
    order: 2;
  }

  .bop-hero-section__image--desktop {
    display: none;
  }

  .bop-hero-section__image--mobile {
    display: block;
  }

  .bop-features-section__grid {
    grid-template-columns: 1fr;
  }

  .bop-product-grid-section__grid {
    grid-template-columns: repeat(var(--bop-product-mobile-cols, 2), minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .bop-announcement-bar__slide {
    align-items: center;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 52px;
  }

  .bop-hero-section__buttons {
    flex-direction: column;
  }

  .bop-newsletter-section__form {
    grid-template-columns: 1fr;
  }

  .bop-hero-section__buttons .bop-section-btn,
  .bop-newsletter-section__form button {
    width: 100%;
  }

  .bop-product-grid-section__tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    overflow-x: auto;
    padding: 0 1.25rem 0.2rem;
  }

  .bop-product-grid-section__tab {
    flex: 0 0 auto;
  }

  .bop-product-tile__body {
    padding: 0.9rem;
  }
}
