/* PAGE-SPECIFIC STYLES FOR THE HOME PAGE */
/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbs {
    padding: var(--sectionPadding);
  }
  #sbs .cs-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: 80rem;
    width: 100%;
    row-gap: 2.5rem;
  }
  #sbs .cs-left {
    position: relative;
    height: 39.75em;
    /* using ems so we can use font size to scale the whole section */
    width: 39.4375em;
    /* scaling the font size with the view width */
    font-size: min(2.31vw, 0.7em);
  }
  #sbs .cs-picture {
    position: absolute;
    display: block;
    border-radius: 1.5em;
    /* clips img tag corners */
    overflow: hidden;
  }
  #sbs .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* makes image act like a background image */
    object-fit: cover;
  }
  #sbs .cs-picture1 {
    top: 0;
    left: 0;
    height: 36.3125em;
    width: 32.625em;
  }
  #sbs .cs-picture2 {
    bottom: 0;
    right: 0;
    /* 6px - 12px */
    border: clamp(0.375em, 1.5vw, 0.75em) solid var(--background);
    background-color: var(--background);
    height: 25em;
    width: 25.875em;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 40px;
  }
  #sbs .cs-right {
    margin: auto;
    max-width: 33.875rem;
  }
  #sbs .cs-topper {
    margin-bottom: 0.25rem;
    text-align: left;
  }
  #sbs .cs-title {
    max-width: 50rem;
    text-align: left;
  }
  #sbs .cs-text {
    margin-bottom: 1rem;
    max-width: 46.875rem;
    text-align: left;
  }
  #sbs .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbs .cs-flex-group {
    position: relative;
    border-radius: 1rem;
    background-color: #f7f7f7;
    /* 16px - 32px */
    padding: clamp(1rem, 3vw, 2rem);
  }
  #sbs .cs-flex-p {
    margin: 0 0 1rem;
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    color: #353535;
  }
  #sbs .cs-name {
    display: block;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1.2em;
    font-weight: bold;
    color: var(--headerColor);
  }
  #sbs .cs-job {
    display: block;
    font-size: 0.875rem;
    line-height: 1.5em;
    color: #353535;
  }
  #sbs .cs-quote-icon {
    position: absolute;
    bottom: 0rem;
    /* 16px - 32px */
    right: clamp(1rem, 4vw, 2rem);
    height: auto;
    /* 60px - 136px */
    width: clamp(3.75rem, 10vw, 8.5rem);
  }
  #sbs .cs-button-solid {
    margin-top: 2rem;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #sbs .cs-container {
    flex-flow: row;
    justify-content: space-between;
    gap: 3.25rem;
  }
  #sbs .cs-left {
    font-size: min(1.2vw, 1em);
    flex: none;
  }
  #sbs .cs-right {
    margin: 0;
  }
}
/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbs-r {
    padding: var(--sectionPadding);
  }
  #sbs-r .cs-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: 80rem;
    width: 100%;
    row-gap: 2.5rem;
  }
  #sbs-r .cs-left {
    position: relative;
    height: 39.75em;
    /* using ems so we can use font size to scale the whole section */
    width: 39.4375em;
    /* scaling the font size with the view width */
    font-size: min(2.31vw, 0.7em);
  }
  #sbs-r .cs-picture {
    position: absolute;
    display: block;
    border-radius: 1.5em;
    /* clips img tag corners */
    overflow: hidden;
  }
  #sbs-r .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* makes image act like a background image */
    object-fit: cover;
  }
  #sbs-r .cs-picture1 {
    top: 0;
    right: 0;
    height: 36.3125em;
    width: 32.625em;
  }
  #sbs-r .cs-picture2 {
    bottom: 0;
    left: 0;
    /* 6px - 12px */
    border: clamp(0.375em, 1.5vw, 0.75em) solid var(--background);
    background-color: var(--background);
    height: 25em;
    width: 25.875em;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 40px;
  }
  #sbs-r .cs-right {
    margin: auto;
    max-width: 33.875rem;
  }
  #sbs-r .cs-topper {
    margin-bottom: 0.25rem;
    text-align: left;
  }
  #sbs-r .cs-title {
    max-width: 50rem;
    text-align: left;
  }
  #sbs-r .cs-text {
    margin-bottom: 1rem;
    max-width: 46.875rem;
    text-align: left;
  }
  #sbs-r .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbs-r .cs-flex-group {
    position: relative;
    border-radius: 1rem;
    background-color: #f7f7f7;
    /* 16px - 32px */
    padding: clamp(1rem, 3vw, 2rem);
  }
  #sbs-r .cs-flex-p {
    margin: 0 0 1rem;
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    color: #353535;
  }
  #sbs-r .cs-name {
    display: block;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1.2em;
    font-weight: bold;
    color: var(--headerColor);
  }
  #sbs-r .cs-job {
    display: block;
    font-size: 0.875rem;
    line-height: 1.5em;
    color: #353535;
  }
  #sbs-r .cs-quote-icon {
    position: absolute;
    bottom: 0rem;
    /* 16px - 32px */
    right: clamp(1rem, 4vw, 2rem);
    height: auto;
    /* 60px - 136px */
    width: clamp(3.75rem, 10vw, 8.5rem);
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #sbs-r .cs-container {
    flex-flow: row;
    justify-content: space-between;
    gap: 3.25rem;
  }
  #sbs-r .cs-left {
    /* sends it to the right */
    order: 2;
    font-size: min(1.2vw, 1em);
    flex: none;
  }
  #sbs-r .cs-right {
    margin: 0;
  }
}
/*-- -------------------------- -->
<---          Gallery           -->
<--- -------------------------- -*/
/* Mobile - 360px - Contains hover animation */
@media only screen and (min-width: 0rem) {
  #gallery {
    position: relative;
    /* Prevents overflow from the image going off screen */
    overflow: hidden;
    padding: var(--sectionPadding);
    /* Centers button */
    text-align: center;
  }
  #gallery .cs-container {
    margin: auto;
    max-width: 82.625em;
    width: 100%;
  }
  #gallery .cs-topper {
    margin-bottom: 1rem;
    text-align: center;
  }
  #gallery .cs-title {
    margin-bottom: 2.5rem;
    max-width: 38.8125rem;
    text-align: center;
  }
  #gallery .cs-image-group {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto 3.75rem;
    max-width: 82.625em;
    width: 100%;
    padding: 0;
    /* used rem so it doesn't scale with the font size of on parent */
    font-size: min(1.1vw, 1em);
    gap: 1.875em;
  }
  #gallery .cs-row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.875em;
  }
  #gallery .cs-picture {
    position: relative;
    display: block;
  }
  #gallery .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #gallery .cs-row-1 .cs-picture1 {
    height: 35.4375em;
    width: 26.25em;
  }
  #gallery .cs-row-1 .cs-picture2 {
    height: 39.3125em;
    width: 26.25em;
  }
  #gallery .cs-row-1 .cs-picture3 {
    height: 32em;
    width: 26.25em;
  }
  #gallery .cs-row-2 .cs-picture1 {
    height: 30.75em;
    width: 26.25em;
  }
  #gallery .cs-row-2 .cs-picture2 {
    height: 32.3125em;
    width: 26.25em;
  }
  #gallery .cs-row-2 .cs-picture3 {
    height: 39.3125em;
    width: 26.25em;
  }
  #gallery .cs-row-3 .cs-picture1 {
    height: 39.0625em;
    width: 26.25em;
  }
  #gallery .cs-row-3 .cs-picture2 {
    height: 28.25em;
    width: 26.25em;
  }
  #gallery .cs-row-3 .cs-picture3 {
    height: 39.3125em;
    width: 26.25em;
  }
}
/*-- -------------------------- -->
<---          Reviews           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #reviews {
    padding: var(--sectionPadding);
    /* Centers the button */
    text-align: center;
  }
  #reviews .cs-container {
    margin: auto;
    max-width: 69rem;
    width: 100%;
  }
  #reviews .cs-topper {
    margin-bottom: 1rem;
    text-align: center;
  }
  #reviews .cs-title {
    max-width: 43.75rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  #reviews .cs-text {
    /* 88px - 104px */
    margin-bottom: clamp(5.5em, 10.2vw, 6.5em);
    max-width: 40.625rem;
    text-align: center;
  }
  #reviews .cs-card-group {
    /* 48px - 64px */
    margin: clamp(3rem, 5vw, 4rem) auto clamp(3rem, 5vw, 4rem);
    padding: 0;
  }
  #reviews .cs-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.25rem;
    margin: 0 auto 4rem;
    background-color: var(--background);
    max-width: 33.875rem;
    width: 100%;
    /* Prevents padding from affecting height & width */
    box-sizing: border-box;
    /* Padding L & R - 16px - 32px */
    padding: 3.75rem clamp(1rem, 3.2vw, 2rem) 0;
    /* 32px - 40px */
    padding-bottom: clamp(2rem, 5.4vw, 2.5rem);
    list-style: none;
    text-align: left;
    box-shadow: 0px 20px 39px 0px rgba(0, 0, 0, 0.05);
  }
  #reviews .cs-item:last-of-type {
    margin-bottom: 0;
  }
  #reviews .cs-item-img {
    position: absolute;
    top: -2.5rem;
    height: 5rem;
    width: 5rem;
  }
  #reviews .cs-item-p {
    border-bottom: 1px solid #e8e9ec;
    margin: 0 0 1.25rem;
    padding-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.5em;
    color: var(--bodyTextColor);
  }
  #reviews .cs-reviewer {
    display: block;
    margin: 0 auto 0 0;
    width: 40%;
    font-size: 1rem;
    line-height: 1.5em;
    font-weight: 700;
    color: var(--headerColor);
  }
  #reviews .cs-desc {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(#353535);
  }
  #reviews .cs-item-stars {
    height: 1rem;
    width: 6rem;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #reviews .cs-card-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  #reviews .cs-item {
    /* reset margin so it won't interfere with flexbox */
    margin: 0;
  }
}
/* Stats Bar */
.stats-bar {
  background-color: var(--brandBlue);
  /* Pronounced sandpaper grain texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-blend-mode: overlay;
  border-top: 4px solid;
  border-bottom: 4px solid;
  border-image-source: var(--goldGradient);
  border-image-slice: 1;
  color: var(--bodyTextColorWhite);
  text-align: center;
  padding: 1rem 0;
  font-size: 1.1rem;
  overflow: visible; /* Allow flowers to overlap */
  position: relative;
  z-index: 5;
}

.stats-bar-marquee {
  overflow: hidden; /* Move overflow hidden here */
  width: 100%;
}

.stats-bar-container {
  display: flex;
  white-space: nowrap;
  width: max-content;
  gap: 4rem; /* Increased spacing */
  animation: scroll-stats 30s linear infinite; /* Slower for readability */
}

@keyframes scroll-stats {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* Perfect seamless loop with duplicated content */
}
.stats-bar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stats-bar .stats-divider {
  color: var(--primary);
}

/* Wildflower decorations - concentrated bouquet clusters */
.stats-flower {
  position: absolute;
  width: clamp(50px, 10vw, 100px);
  height: auto;
  color: var(--primary);
  opacity: 0.7;
  pointer-events: none;
  z-index: 10;
}

/* Left Bouquet Cluster */
.stats-flower--1 {
  left: 1%;
  bottom: -30px;
  transform: rotate(-5deg);
}

.stats-flower--2 {
  left: 4%;
  top: -20px;
  transform: rotate(15deg) scale(0.8);
}

.stats-flower--3 {
  left: 2%;
  bottom: -50px;
  transform: rotate(-20deg) scale(1.2);
}

/* Right Bouquet Cluster */
.stats-flower--4 {
  right: 1%;
  top: -25px;
  transform: rotate(10deg);
}

.stats-flower--5 {
  right: 4%;
  bottom: -40px;
  transform: rotate(-15deg) scale(0.9);
}

.stats-flower--6 {
  right: 2%;
  top: -10px;
  transform: rotate(25deg) scale(1.1);
}

/* Disable marquee on larger screens where it fits */
@media (min-width: 64rem) {
  .stats-bar-marquee {
    overflow: visible;
  }
  .stats-bar-container {
    animation: none;
    width: 100%;
    justify-content: center;
    padding-left: 0;
  }
}
/* Product Sizes */
#products-home {
  padding: var(--sectionPadding);
}

#products-home .cs-container {
  text-align: center;
  max-width: 80rem;
  margin: auto;
}

#products-home .cs-topper,
#products-home .cs-title,
#products-home .cs-text {
  margin-left: auto;
  margin-right: auto;
}

#products-home .size-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1300px; /* Increased to fit 4 cards + gaps */
  margin-left: auto;
  margin-right: auto;
}

.size-card {
  flex: 0 1 280px; /* Prefer 280px, don't grow */
  background-color: var(--background);
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Ensure 4 across on desktop specifically */
@media (min-width: 64rem) {
  .size-card {
    flex: 0 1 calc(25% - 2rem); /* Force 4 columns if container is wide enough */
    min-width: 250px;
  }
}
.size-icon-wrap img {
  display: block;
  margin: 0 auto 1rem;
}

.size-weight {
  font-family: "Fraunces", serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: bold;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.size-price {
  font-family: "Caveat Brush", cursive;
  font-size: 2.5rem;
  color: var(--headerColor);
  font-weight: 400;
  transform: rotate(-3deg);
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* Trust Strip */
#trust-strip {
  background-color: var(--brandBlue);
  /* Pronounced sandpaper grain texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-blend-mode: overlay;
  border-top: 4px solid;
  border-bottom: 4px solid;
  border-image-source: var(--goldGradient);
  border-image-slice: 1;
  padding: 4rem 1rem;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: visible;
}

#trust-strip .cs-container {
  max-width: 80rem;
  margin: auto;
}

.trust-grid {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-item img {
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.trust-item h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.trust-item p {
  color: #e5e5e5;
  font-size: 1rem;
  line-height: 1.5;
}

/* About Teaser */
#about-teaser {
  padding: var(--sectionPadding);
}

#about-teaser .cs-container {
  max-width: 80rem;
  margin: auto;
}

.about-split {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1.2;
  min-width: 300px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 30px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  flex: 1;
  text-align: left;
}

.about-quote {
  font-family: "Caveat Brush", cursive;
  font-size: 2rem;
  line-height: 1.2em;
  color: var(--primary);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  transform: rotate(-1deg);
}

.about-content .cs-text {
  margin-bottom: 1.5rem;
}

.about-content .cs-button-solid {
  margin-top: 1rem;
}

/* Wildflower corner decorations on trust-strip (8-petal daisy, bleeds down) */
.ts-wildflower {
  position: absolute;
  bottom: -110px;
  width: 72px;
  height: auto;
  color: var(--primary);
  opacity: 0.35;
  pointer-events: none;
  z-index: 2;
}

.ts-wildflower--l {
  left: 2%;
  transform: rotate(-7deg);
}

.ts-wildflower--r {
  right: 2%;
  transform: rotate(6deg) scaleX(-1);
}

@media (max-width: 48rem) {
  .ts-wildflower {
    display: none;
  }
}
/* Stats bar: 6-petal flowers bleeding into products section */
.stats-bar {
  position: relative;
}

.stats-flower {
  position: absolute;
  bottom: -90px;
  width: 58px;
  height: auto;
  color: var(--primary);
  opacity: 0.28;
  pointer-events: none;
  z-index: 2;
}

.stats-flower--l {
  left: 10%;
  transform: rotate(12deg);
}

.stats-flower--r {
  right: 10%;
  transform: rotate(-9deg) scaleX(-1);
}

@media (max-width: 48rem) {
  .stats-flower {
    display: none;
  }
}
/* About-teaser: 5-petal accent flowers */
#about-teaser {
  position: relative;
}

.about-flower {
  position: absolute;
  width: 90px;
  height: 90px;
  color: var(--primary);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.about-flower--tl {
  top: 2rem;
  left: 1rem;
  transform: rotate(-15deg);
}

.about-flower--br {
  bottom: 2rem;
  right: 1rem;
  transform: rotate(20deg);
}

@media (max-width: 48rem) {
  .about-flower {
    display: none;
  }
}
