/* =========================================================
   SHOP PAGE
========================================================= */

@font-face {
  font-family: "Lilita One";
  src: url("../../fonts/lilita-one/LilitaOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.shop-page {
  background:
    radial-gradient(
      circle at top,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 244, 223, 0.92) 28%,
      rgba(255, 228, 198, 0.85) 100%
    );
}

.shop-page .site-header,
.shop-page .site-header .navbar,
.shop-page .site-header .navbar-collapse {
  background: #FFFBF3;
  border: 0;
  box-shadow: none;
}

.shop-page .site-header .nav-link,
.shop-page .site-header .cart-icon {
  color: #FF914D;
  
}

.shop-page .site-header .nav-link.active::after {
  background: #ffbd16;
}

.shop-page .site-header .nav-link:hover,
.shop-page .site-header .nav-link:focus-visible {
  color: var(--color-text);
  background: rgba(255, 227, 207, 0.618);
  transform: none;
}

.shop-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-link {
  position: relative;

  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--color-text);
  text-decoration: none;

  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-text);
  outline-offset: 4px;
}

.shop-hero {
  --shop-hero-yellow: #ffbd16;
  --shop-hero-pink: #e57cbd;
  position: relative;

  padding: 0;

  background: #e57cbd url("../../img/shopimgs/hero-desktop.png") center / cover no-repeat;

  overflow: hidden;
}

.shop-hero::after {
  content: none;

  position: absolute;
  right: -140px;
  bottom: -120px;

  width: 420px;
  height: 420px;

  background:
    radial-gradient(
      circle,
      rgba(255, 140, 43, 0.13),
      rgba(255, 140, 43, 0)
    );

  pointer-events: none;
}

.shop-hero-shell {
  position: relative;

  display: flex;
  align-items: center;
  min-height: 56.2225vw;
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.shop-copy {
  position: relative;

  max-width: min(480px, 45%);
}

.shop-copy h1 {
    margin-bottom: 1rem;
    color: #F9AD55;
    font-family: "Lilita One", "Arial Rounded MT Bold", sans-serif;
    font-weight: 400;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    -webkit-text-stroke: 1px #ffff;
    text-shadow: -2px 1px #fff;
}

.shop-copy h1 span {
  display: block;

  margin-top: 0.35rem;

  color: inherit;
}

.shop-copy p {
  max-width: 360px;
  margin: 0;

  color: #FFFBF3;

  font-family: "Lilita One", "Arial Rounded MT Bold", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  text-shadow: -2px 2px #999999;
}

.shop-underline {
  width: 230px;
  height: 10px;

  margin-bottom: 1.6rem;

  border-radius: var(--radius-pill);

  background:
    radial-gradient(circle, var(--shop-hero-yellow) 30%, transparent 31%)
    left center / 20px 10px repeat-x;
}

.shop-spark,
.shop-flower {
  position: absolute;

  line-height: 1;
}

.shop-spark {
  color: #FFFBF3;
  font-size: 2rem;
}

.shop-flower {
  color: var(--shop-hero-yellow);
  font-size: 3.2rem;
}

.shop-spark-top {
  top: -1.6rem;
  left: -2.6rem;
}

.shop-spark-left {
  top: 5.5rem;
  right: 4rem;
}

.shop-spark-mid {
  top: 10rem;
  left: -1rem;
}

.shop-hero-art {
  position: relative;

  min-height: 560px;
}
.shop-hero-cookie{
  position: absolute;
  bottom: 0;
  right: 0;

  width: min(480px, 60vw);
}

.shop-wave {
  position: absolute;
  top: -2rem;
  right: -6rem;

  width: min(380px, 52vw);
  height: min(460px, 68vw);

  border-radius: 0 0 0 220px;

  background:
    repeating-linear-gradient(
      -28deg,
      rgba(255, 169, 78, 0.98) 0 26px,
      rgba(255, 169, 78, 0) 26px 42px,
      rgba(255, 116, 61, 0.95) 42px 68px,
      rgba(255, 116, 61, 0) 68px 84px,
      rgba(243, 77, 119, 0.96) 84px 110px,
      rgba(243, 77, 119, 0) 110px 126px
    );

  opacity: 0.95;
}

.shop-cookie {
  position: absolute;

  width: min(470px, 78%);

  filter: drop-shadow(0 24px 30px rgba(95, 43, 15, 0.28));
}

.shop-cookie-back {
  top: 0;
  right: 2.5rem;

  transform: rotate(8deg);
}

.shop-cookie-front {
  right: 8rem;
  bottom: 1rem;

  transform: rotate(-10deg);
}

.shop-spark-right {
  top: 2rem;
  right: 10rem;
}

.shop-flower-right {
  right: 0;
  bottom: 10rem;

  font-size: 4rem;
}

.baked-stamp {
  position: absolute;
  right: 1.5rem;
  bottom: 0.5rem;

  width: 172px;
  aspect-ratio: 1;

  display: grid;
  place-items: center;

  border: 4px solid rgba(255, 244, 223, 0.82);
  border-radius: 50%;

  background:
    radial-gradient(circle at 30% 30%, #ff9c79, #f24a62);
  box-shadow: 0 18px 24px rgba(201, 74, 76, 0.22);

  color: var(--color-cream);

  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.baked-stamp span {
  display: block;

  font-size: 2rem;
}

.shop-catalog {
  position: relative;
}

.shop-catalog::before {
  content: "";

  position: absolute;
  top: -1rem;
  right: 0;
  left: 0;

  height: 26px;

  background:
    radial-gradient(circle at 13px 0, rgba(255, 249, 238, 0) 13px, var(--color-cream-light) 14px)
    0 0 / 26px 26px repeat-x;
}

.shop-category-toggle {
  display: none;
}

.shop-category-icon {
  width: 22px;
  height: 16px;
  border-block: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.shop-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  margin-bottom: 2rem;
  padding: 1rem 0 1.5rem;
}

.shop-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0.8rem 1.35rem;

  border: 1px solid rgba(241, 173, 101, 0.52);
  border-radius: var(--radius-pill);

  background: rgba(255, 249, 238, 0.75);
  color: #73401e;

  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.shop-filter.is-active,
.shop-filter:hover,
.shop-filter:focus-visible {
  border-color: var(--color-primary-hover);
  background: var(--color-primary-hover);
  color: var(--color-white);
}

.shop-section-heading {
  margin-bottom: 1rem;
}

.shop-status {
  min-height: 1.5rem;

  margin-bottom: 1.5rem;

  color: var(--color-text-muted);

  font-size: 0.98rem;
  font-weight: 600;

  text-align: center;
}

.shop-status.is-error {
  color: var(--color-heading);
}

.shop-status .btn {
  margin-left: 0.75rem;
}

#shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.5rem;
  margin: 0;
}

#shop-grid > div {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

@media (max-width: 575.98px) {
  #shop-grid {
    gap: 0.75rem;
  }

  #shop-grid .shop-product-card {
    grid-template-rows: minmax(6rem, 1fr) 150px auto;
  }

  #shop-grid .shop-product-title {
    padding: 0.75rem 0.5rem;
    font-size: 1.15rem;
  }

  #shop-grid .shop-product-media {
    min-height: 0;
    padding: 0.5rem;
    text-align: center;
  }

  #shop-grid .shop-product-media img {
    max-height: 134px;
  }

  #shop-grid .shop-product-copy {
    min-height: 160px;
    padding: 0.75rem 0.5rem;
  }

  #shop-grid .shop-price {
    font-size: 1.15rem;
  }

  #shop-grid .shop-product-copy .btn {
    padding: 0.65rem 0.35rem;
    font-size: 0.8rem;
  }

  #shop-grid .shop-variation-select {
    min-width: 0;
    padding-inline: 0.25rem;
    font-size: 0.8rem;
  }
}

@media (min-width: 1200px) {
  #shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.shop-product-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(8rem, 1fr) 220px auto;
  height: 100%;
  min-width: 0;

  overflow: hidden;

  border: 1px solid rgba(241, 173, 101, 0.3);
  border-radius: 1.3rem;

  background: rgba(255, 252, 246, 0.92);
  box-shadow: 0 10px 24px rgba(132, 73, 53, 0.08);
}

.shop-product-card.is-sold-out {
  opacity: 0.78;
}

.shop-weekly-ribbon {
  position: absolute;
  top: 25px;
  left: -38px;
  z-index: 1;
  width: 190px;
  padding: 0.5rem 0.75rem;
  transform: rotate(-30deg);
  border-block: 2px solid #e57cbd;
  background: #ffbd16;
  color: #542a23;
  box-shadow: 0 3px 5px rgba(84, 42, 35, 0.14);
  font-family: "Lilita One", sans-serif;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}

#shop-grid .has-weekly-ribbon .shop-product-title {
  padding-top: 5.5rem;
}

.shop-product-copy .shop-product-note {
  min-height: 0;
  margin: 0 0 0.65rem;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.ordering-notice {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;

  border: 1px solid rgba(241, 173, 101, 0.68);
  border-radius: var(--radius-md);

  background: rgba(255, 249, 238, 0.96);
  color: var(--color-heading);
  box-shadow: 0 10px 24px rgba(132, 73, 53, 0.08);

  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.ordering-notice.is-error {
  border-color: rgba(200, 61, 74, 0.35);
}

.ordering-notice-cart {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  text-align: left;
}

.shop-product-title {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1.2rem 1.2rem 0.85rem;

  color: #FF914D;

  font-size: 1.75rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
}

.shop-product-media {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 220px;
  padding: 1rem;
}

.shop-product-media.is-pink {
  background:
    linear-gradient(
      135deg,
      #f88ba5,
      #f6a1b0
    );
}

.shop-product-media.is-orange {
  background:
    linear-gradient(
      135deg,
      #ff9a2f,
      #ffb548
    );
}

.shop-product-media img {
  width: 100%;
  height: 100%;
  max-height: 190px;

  object-fit: contain;
}

.shop-product-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 170px;
  padding: 1.45rem 1.2rem 1.3rem;

  text-align: center;
}

.shop-product-copy p {
  min-height: 52px;
  margin-bottom: 1rem;

  color: var(--color-text);

  font-size: 0.98rem;
  line-height: 1.45;
}

.shop-price {
  margin: 0;

  color: var(--color-primary);

  font-size: 1.45rem;
  font-weight: 900;
}

.shop-product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.shop-product-copy .btn {
  width: 100%;
  min-width: 0;
  white-space: normal;
}

.shop-product-copy .btn:disabled {
  opacity: 1;

  border-color: rgba(84, 42, 35, 0.2);

  background: rgba(84, 42, 35, 0.12);
  color: var(--color-text);
}

.shop-variation-select {
  width: 100%;
  min-height: 44px;
  margin-bottom: 0.85rem;
  padding: 0.6rem 0.75rem;

  border: 1px solid rgba(241, 173, 101, 0.62);
  border-radius: var(--radius-sm);

  background: var(--color-cream-light);
  color: var(--color-text);
}

.custom-order-banner {
  margin-top: 2.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);

  border: 1px solid rgba(241, 173, 101, 0.34);
  border-radius: 1.75rem;

  background:
    linear-gradient(
      135deg,
      rgba(255, 233, 207, 0.95),
      rgba(255, 248, 236, 0.92)
    );
  box-shadow: 0 14px 34px rgba(132, 73, 53, 0.1);
}

.custom-art {
  position: relative;
  display: grid;
  place-items: center;

  min-height: 220px;
}

.custom-art-circle {
  position: absolute;

  border-radius: 50%;

  background: rgba(243, 77, 119, 0.82);
}

.custom-art-circle-lg {
  top: 0;
  left: 0;

  width: 170px;
  height: 170px;
}

.custom-art-circle-sm {
  bottom: 0;
  left: -1rem;

  width: 100px;
  height: 100px;

  opacity: 0.75;
}

.custom-cookie {
  display: block;

  z-index: 2;

  width: 260px;
  max-width: 100%;
  height: auto;

  transform: rotate(-6deg);

  filter: drop-shadow(0 10px 18px rgba(95, 43, 15, 0.18));
}

.custom-card-stack {
  position: absolute;
  top: 1.8rem;
  left: 5rem;

  width: 140px;
  height: 170px;
}

.custom-card-stack span {
  position: absolute;
  inset: 0;

  border-radius: 1rem;

  background: #ffd287;
  box-shadow: 0 10px 24px rgba(132, 73, 53, 0.12);
}

.custom-card-stack span:nth-child(1) {
  transform: rotate(-10deg);
  background: #ffc46a;
}

.custom-card-stack span:nth-child(2) {
  transform: rotate(7deg) translate(8px, -4px);
  background: #ffbe5b;
}

.custom-card-stack span:nth-child(3) {
  display: grid;
  place-items: center;

  background: #ffdca1;
  transform: rotate(-4deg) translate(5px, 8px);
}

.custom-card-stack span:nth-child(3)::before {
  content: "\2665";

  color: var(--color-primary);

  font-size: 4rem;
  line-height: 1;
}

.custom-copy h2 {
  margin-bottom: 0.85rem;

  color: #6c3b16;

  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.92;
}

.custom-copy h2 span {
  display: block;

  color: var(--color-primary);
}

.custom-order-banner .custom-heading-first-line {
  color: inherit;
}

@media (min-width: 992px) {
  .custom-order-banner {
    padding-block: 1.75rem;
  }

  .custom-order-banner .custom-copy {
    container-type: inline-size;
  }

  .custom-order-banner .custom-copy h2 {
    font-size: clamp(2rem, 11cqi, 4.5rem);
  }

  .custom-order-banner .custom-heading-first-line {
    white-space: nowrap;
  }
}

.custom-copy p {
  max-width: 420px;
  margin-bottom: 1.4rem;

  font-size: 1.02rem;
  line-height: 1.6;
}

.custom-feature-list {
  display: grid;
  gap: 1rem;
}

.custom-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.custom-feature-icon {
  width: 64px;
  height: 64px;

  flex: 0 0 64px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--color-white);
  box-shadow: 0 8px 18px rgba(132, 73, 53, 0.12);

  color: var(--color-primary);

  font-size: 1.8rem;
  font-weight: 700;
}

.custom-feature h3 {
  margin-bottom: 0.4rem;

  color: #6c3b16;

  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 900;
}

.custom-feature p {
  margin: 0;

  color: var(--color-text);
  font-size: 0.98rem;
}
