.celliv-announcement-bar {
  background: #5a443a;
  color: #fff8ec;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  padding: 0.65rem 0;
  text-align: center;
  text-transform: uppercase;
}

.celliv-header-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.menu-item {
  list-style: none;
}

#mobile-navigation .menu-item {
  border-bottom: 1px solid rgba(90, 68, 58, 0.1);
}

#mobile-navigation .menu-item:last-child {
  border-bottom: 0;
}

#mobile-navigation .menu-item a {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  padding: 1rem 0;
}

.celliv-cart-link {
  align-items: center;
  border: 1px solid rgba(90, 68, 58, 0.16);
  border-radius: 999px;
  color: #5a443a;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.55rem;
  letter-spacing: 0.12em;
  padding: 0.72rem 1rem;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.celliv-cart-link:hover {
  border-color: rgba(216, 185, 122, 0.72);
  color: #9a6b1f;
  transform: translateY(-1px);
}

.celliv-cart-link span {
  background: #d8b97a;
  border-radius: 999px;
  color: #3b2a24;
  min-width: 1.45rem;
  padding: 0.18rem 0.38rem;
  text-align: center;
}

.celliv-offer-banner {
  background: #fff8ec;
  border-bottom: 1px solid rgba(216, 185, 122, 0.28);
  color: #5a443a;
  padding: 0.85rem 0;
  text-align: center;
}

.celliv-offer-banner p {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wp-block-gallery,
.gallery {
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: #5a443a;
  border-radius: 999px;
  color: #fff8ec;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.95rem 1.35rem;
  text-transform: uppercase;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #d8b97a;
  color: #3b2a24;
}

.woocommerce ul.products li.product,
.celliv-shop-product {
  background: rgba(255, 248, 236, 0.72);
  border: 1px solid rgba(216, 185, 122, 0.25);
  border-radius: 1.75rem;
  overflow: hidden;
  padding: 1rem;
}

.woocommerce div.product div.images img,
.woocommerce ul.products li.product img {
  border-radius: 1.35rem;
}

.celliv-page-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 243, 196, 0.42), transparent 34%),
    linear-gradient(135deg, #fff8ec, #f2e9d6);
  border-bottom: 1px solid rgba(216, 185, 122, 0.24);
  padding: clamp(5rem, 8vw, 8rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  text-align: center;
}

.celliv-page-hero h1 {
  color: #5a443a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 0.98;
  margin: 1rem auto 0;
  max-width: 820px;
}

.celliv-page-hero p:last-child {
  color: rgba(90, 68, 58, 0.72);
  line-height: 1.8;
  margin: 1.25rem auto 0;
  max-width: 620px;
}

.celliv-home-panel {
  background: rgba(255, 248, 236, 0.72);
  border-bottom: 1px solid rgba(216, 185, 122, 0.18);
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.celliv-home-panel-soft {
  background:
    radial-gradient(circle at 82% 20%, rgba(216, 185, 122, 0.14), transparent 32%),
    linear-gradient(180deg, #fff8ec, rgba(242, 233, 214, 0.66));
}

.celliv-section-head {
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  max-width: 720px;
  text-align: center;
}

.celliv-section-head .section-title {
  margin-top: 0.85rem;
}

.celliv-product-rotator-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 243, 196, 0.42), transparent 32%),
    radial-gradient(circle at 84% 40%, rgba(216, 185, 122, 0.18), transparent 34%),
    linear-gradient(135deg, #fff8ec 0%, #f7e7b7 50%, #f2e9d6 100%);
  border-bottom: 1px solid rgba(216, 185, 122, 0.2);
  overflow: hidden;
  padding: clamp(4.5rem, 7vw, 7.5rem) 0;
}

.celliv-product-rotator-layout {
  align-items: center;
  display: grid;
  gap: clamp(2.75rem, 5vw, 5.75rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
}

.celliv-product-rotator-copy {
  max-width: 540px;
}

.celliv-product-rotator-copy .section-title {
  color: #5a443a;
  margin-top: 1rem;
}

.celliv-product-rotator-copy p:not(.eyebrow) {
  color: rgba(90, 68, 58, 0.72);
  line-height: 1.85;
  margin-top: 1.35rem;
}

.celliv-product-rotator-cta {
  align-items: center;
  background: #5a443a;
  border-radius: 999px;
  color: #fff8ec;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.75rem;
  letter-spacing: 0.14em;
  margin-top: 2rem;
  padding: 0.9rem 1.35rem;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.celliv-product-rotator-cta:hover {
  background: #d8b97a;
  color: #3b2a24;
  transform: translateY(-2px);
}

.celliv-product-rotator.moisturizer-hero-slider {
  align-self: center;
  height: clamp(520px, 62vw, 680px);
  justify-self: center;
  max-width: 760px;
  overflow: visible;
  position: relative;
  width: min(100%, 680px);
}

.celliv-product-rotator-track {
  background: transparent;
  border-radius: 2.5rem;
  height: 100%;
  overflow: visible;
  position: relative;
  width: 100%;
  z-index: 2;
}

.celliv-product-rotator-slide {
  display: grid;
  inset: 0;
  opacity: 0.1;
  place-items: center;
  pointer-events: none;
  position: absolute;
  transform: translateX(0) scale(0.78);
  transition: opacity 760ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 900ms ease;
  visibility: visible;
  z-index: 1;
}

.celliv-product-rotator-slide.is-active {
  filter: none;
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 5;
}

.celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(1).is-active) .celliv-product-rotator-slide:nth-child(2),
.celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(2).is-active) .celliv-product-rotator-slide:nth-child(3),
.celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(3).is-active) .celliv-product-rotator-slide:nth-child(1) {
  opacity: 0.52;
  transform: translateX(33%) scale(0.88);
  z-index: 3;
}

.celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(1).is-active) .celliv-product-rotator-slide:nth-child(3),
.celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(2).is-active) .celliv-product-rotator-slide:nth-child(1),
.celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(3).is-active) .celliv-product-rotator-slide:nth-child(2) {
  opacity: 0.44;
  transform: translateX(-33%) scale(0.88);
  z-index: 3;
}

.celliv-product-rotator-card {
  background:
    radial-gradient(circle at 22% 14%, rgba(255, 243, 196, 0.5), transparent 34%),
    linear-gradient(145deg, rgba(255, 248, 236, 0.96), rgba(242, 233, 214, 0.9));
  border: 1px solid rgba(216, 185, 122, 0.36);
  border-radius: clamp(1.7rem, 3vw, 2.6rem);
  box-shadow: 0 34px 90px rgba(90, 68, 58, 0.16), 0 0 48px rgba(216, 185, 122, 0.14);
  height: 100%;
  overflow: hidden;
  position: relative;
  width: min(70%, 430px);
}

.celliv-product-rotator-slide:not(.is-active) .celliv-product-rotator-card {
  box-shadow: 0 22px 54px rgba(90, 68, 58, 0.11);
}

.celliv-product-rotator-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 900ms ease;
  width: 100%;
}

.celliv-product-rotator-slide.is-active .celliv-product-rotator-card img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.045);
}

.celliv-product-rotator-label {
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.08), rgba(255, 248, 236, 0.9));
  bottom: 0;
  color: #5a443a;
  left: 0;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.1rem, 2vw, 1.55rem) clamp(1.2rem, 2vw, 1.65rem);
  position: absolute;
  right: 0;
  text-align: center;
}

.celliv-product-rotator-label span,
.celliv-product-rotator-label p {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.celliv-product-rotator-label h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
  margin: 0.55rem auto 0.4rem;
  max-width: 15rem;
}

.celliv-product-rotator-label p {
  color: rgba(90, 68, 58, 0.65);
}

.celliv-product-rotator-arrow {
  align-items: center;
  background: rgba(255, 248, 236, 0.88);
  border: 1px solid rgba(216, 185, 122, 0.32);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(90, 68, 58, 0.12);
  color: #5a443a;
  display: flex;
  height: 3.75rem;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
  width: 3.75rem;
  z-index: 8;
}

.celliv-product-rotator-arrow:hover {
  background: #fff8ec;
  transform: translateY(-50%) scale(1.05);
}

.celliv-product-rotator-arrow svg {
  fill: none;
  height: 1.35rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 1.35rem;
}

.celliv-product-rotator-arrow--prev {
  left: 4%;
}

.celliv-product-rotator-arrow--next {
  right: 4%;
}

.celliv-product-rotator-dots {
  bottom: -2rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 9;
}

.celliv-product-rotator-dots button {
  background: rgba(90, 68, 58, 0.28);
  border-radius: 999px;
  height: 0.42rem;
  transition: background 180ms ease, transform 180ms ease, width 180ms ease;
  width: 0.42rem;
}

.celliv-product-rotator-dots button.is-active,
.celliv-product-rotator-dots button[aria-current="true"] {
  background: #5a443a;
  width: 1.35rem;
}

.celliv-card-grid {
  display: grid;
  gap: clamp(1.2rem, 2.2vw, 2rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.celliv-editorial-card {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(216, 185, 122, 0.24);
  border-radius: 1.75rem;
  box-shadow: 0 24px 70px rgba(90, 68, 58, 0.1);
  overflow: hidden;
}

.celliv-editorial-media {
  display: block;
  overflow: hidden;
}

.celliv-editorial-media img {
  display: block;
  height: clamp(18rem, 32vw, 28rem);
  object-fit: cover;
  width: 100%;
}

.celliv-editorial-copy {
  padding: clamp(1.35rem, 2.6vw, 2.25rem);
}

.celliv-editorial-copy h2,
.celliv-editorial-copy h3 {
  color: #5a443a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.05;
  margin: 0.55rem 0 0.85rem;
}

.celliv-editorial-copy p:last-child {
  color: rgba(90, 68, 58, 0.72);
  line-height: 1.75;
}

.celliv-gallery-grid {
  display: grid;
  gap: clamp(0.95rem, 1.8vw, 1.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.celliv-gallery-card {
  background: #fff8ec;
  border: 1px solid rgba(216, 185, 122, 0.26);
  border-radius: 1.5rem;
  box-shadow: 0 20px 55px rgba(90, 68, 58, 0.1);
  overflow: hidden;
}

.celliv-gallery-card a {
  align-items: center;
  aspect-ratio: 1 / 1;
  color: #5a443a;
  display: flex;
  justify-content: center;
  text-align: center;
}

.celliv-gallery-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.celliv-entry-layout {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.celliv-entry-media {
  border: 1px solid rgba(216, 185, 122, 0.26);
  border-radius: 1.75rem;
  box-shadow: 0 24px 70px rgba(90, 68, 58, 0.12);
  margin: 0 0 2.5rem;
  overflow: hidden;
}

.celliv-entry-media img {
  display: block;
  height: auto;
  width: 100%;
}

.celliv-product-tab-copy {
  color: rgba(90, 68, 58, 0.76);
  line-height: 1.85;
  max-width: 820px;
}

.celliv-product-size {
  color: #9a6b1f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: -0.35rem 0 1rem;
  text-transform: uppercase;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #5a443a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .celliv-card-grid,
  .celliv-gallery-grid {
    grid-template-columns: 1fr;
  }

  .celliv-product-rotator-layout {
    grid-template-columns: 1fr;
  }

  .celliv-product-rotator-copy {
    margin: 0 auto;
    text-align: center;
  }

  .celliv-product-rotator.moisturizer-hero-slider {
    height: clamp(460px, 118vw, 640px);
    width: min(100%, 560px);
  }

  .celliv-product-rotator-card {
    width: min(72%, 390px);
  }
}

@media (max-width: 560px) {
  .celliv-product-rotator-section {
    padding-bottom: 5.5rem;
  }

  .celliv-product-rotator.moisturizer-hero-slider {
    height: clamp(420px, 132vw, 560px);
  }

  .celliv-product-rotator-card {
    width: 74%;
  }

  .celliv-product-rotator-arrow {
    height: 3.1rem;
    width: 3.1rem;
  }

  .celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(1).is-active) .celliv-product-rotator-slide:nth-child(2),
  .celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(2).is-active) .celliv-product-rotator-slide:nth-child(3),
  .celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(3).is-active) .celliv-product-rotator-slide:nth-child(1) {
    transform: translateX(22%) scale(0.86);
  }

  .celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(1).is-active) .celliv-product-rotator-slide:nth-child(3),
  .celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(2).is-active) .celliv-product-rotator-slide:nth-child(1),
  .celliv-product-rotator-track:has(.celliv-product-rotator-slide:nth-child(3).is-active) .celliv-product-rotator-slide:nth-child(2) {
    transform: translateX(-22%) scale(0.86);
  }
}

@media (prefers-reduced-motion: reduce) {
  .celliv-product-rotator-slide,
  .celliv-product-rotator-card img,
  .celliv-product-rotator-arrow,
  .celliv-product-rotator-dots button {
    transition: none !important;
  }
}
