@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700;800&family=Nunito+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --nuby-plum: #9f4287;
  --nuby-orange: #cf492a;
  --nuby-orange-dark: #b63f24;
  --nuby-blue: #4d80bf;
  --nuby-blue-dark: #4774ae;
  --nuby-cream: #f9f4ef;
  --nuby-mint: #e3f5f2;
  --nuby-text: #6d6f75;
  --nuby-heading: #54565a;
  --nuby-border: #d7d5d1;
  --nuby-line: #ece7e2;
  --nuby-page: min(1376px, calc(100vw - 64px));
}

.nuby-page,
.nuby-theme-preview {
  margin: 0;
  color: var(--nuby-text);
  font-family: 'Nunito Sans', sans-serif;
  background: #fff;
}

.nuby-page *,
.nuby-theme-preview * {
  box-sizing: border-box;
}

.nuby-shell {
  overflow-x: clip;
}

.nuby-container {
  width: var(--nuby-page);
  margin-inline: auto;
}

.nuby-title {
  margin: 0;
  color: var(--nuby-heading);
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.nuby-kicker {
  margin: 0;
  color: var(--nuby-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.nuby-copy {
  color: var(--nuby-text);
  font-size: 1rem;
  line-height: 1.55;
}

.nuby-pill-button,
.nuby-link-button,
.nuby-newsletter__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nuby-pill-button:hover,
.nuby-link-button:hover,
.nuby-newsletter__button:hover {
  transform: translateY(-1px);
}

.nuby-pill-button {
  background: var(--nuby-orange);
  color: #fff;
}

.nuby-link-button {
  background: var(--nuby-blue);
  color: #fff;
}

.nuby-section {
  padding: 52px 0;
}

.nuby-announcement {
  background: var(--nuby-plum);
  color: #fff;
}

.nuby-announcement__inner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 16px;
}

.nuby-announcement__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: opacity 0.3s ease;
}

.nuby-announcement__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.nuby-announcement__slide a,
.nuby-announcement__slide span {
  color: inherit;
  text-decoration: none;
}

.nuby-announcement__nav {
  display: none;
}

.nuby-header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(215, 213, 209, 0.85);
}

.nuby-header__utility {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0 12px;
}

.nuby-header__brand,
.nuby-header__logo {
  display: inline-flex;
  align-items: center;
}

.nuby-header__logo img {
  display: block;
  width: 114px;
  max-width: 100%;
  height: auto;
}

.nuby-header__search {
  flex: 1 1 516px;
  max-width: 516px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 3px;
  border: 1px solid var(--nuby-border);
  border-radius: 999px;
  background: #fff;
}

.nuby-header__search input {
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: var(--nuby-heading);
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
}

.nuby-header__search input::placeholder {
  color: #7e8188;
}

.nuby-header__search button {
  min-width: 145px;
  min-height: 34px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--nuby-orange);
  box-shadow: inset 0 0 0 2px #fff;
  color: #fff;
  font: inherit;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.nuby-header__links,
.nuby-header__icons,
.nuby-header__nav,
.nuby-header__nav-list,
.nuby-header__mobile-icons {
  display: flex;
  align-items: center;
}

.nuby-header__links {
  gap: 20px;
  margin-inline-start: auto;
}

.nuby-header__links a,
.nuby-header__nav a,
.nuby-header__drawer a {
  color: var(--nuby-heading);
  text-decoration: none;
}

.nuby-header__links a {
  font-size: 0.98rem;
  font-weight: 500;
}

.nuby-header__icons {
  gap: 16px;
}

.nuby-header__icons a,
.nuby-header__icons button,
.nuby-header__mobile-icons a,
.nuby-header__mobile-icons button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nuby-heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nuby-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nuby-icon svg,
.nuby-search-button__icon svg,
.nuby-safety__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nuby-search-button__icon {
  width: 18px;
  height: 18px;
}

.nuby-header__nav {
  padding: 0 0 18px;
}

.nuby-header__nav-list {
  width: 100%;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nuby-header__nav-item {
  position: relative;
}

.nuby-header__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.nuby-header__nav-caret {
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.24s ease;
}

.nuby-header__nav-item:hover .nuby-header__nav-caret,
.nuby-header__nav-item:focus-within .nuby-header__nav-caret {
  transform: rotate(45deg);
}

.nuby-header__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 30;
  min-width: 720px;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid rgba(215, 213, 209, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 60px rgba(35, 18, 32, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease,
    transform 0.24s ease;
}

.nuby-header__nav-item:nth-last-child(-n + 2) .nuby-header__dropdown {
  left: auto;
  right: 0;
}

.nuby-header__nav-item:hover .nuby-header__dropdown,
.nuby-header__nav-item:focus-within .nuby-header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nuby-header__dropdown-column {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.nuby-header__dropdown-column--single {
  gap: 0;
}

.nuby-header__submenu-title {
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nuby-header__submenu-link {
  color: var(--nuby-heading);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
}

.nuby-header__submenu-link:hover,
.nuby-header__submenu-link:focus-visible {
  color: var(--nuby-orange);
}

.nuby-header__submenu-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nuby-header__submenu-list a {
  color: #626672;
  font-size: 0.94rem;
  line-height: 1.35;
}

.nuby-header__submenu-list a:hover,
.nuby-header__submenu-list a:focus-visible {
  color: var(--nuby-heading);
}

.nuby-header__mobile-row,
.nuby-header__drawer {
  display: none;
}

.nuby-header__drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 24;
  background: rgba(35, 26, 32, 0.34);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.nuby-header__drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(84vw, 360px);
  z-index: 25;
  padding: 22px 20px;
  background: #fff;
  box-shadow: 24px 0 56px rgba(35, 18, 32, 0.18);
  transform: translateX(-102%);
  transition: transform 0.28s ease;
}

.nuby-header__drawer.is-open,
.nuby-header__drawer-backdrop.is-open {
  display: block;
}

.nuby-header__drawer.is-open {
  transform: translateX(0);
}

.nuby-header__drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.nuby-header__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.nuby-header__drawer-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--nuby-border);
  border-radius: 999px;
  background: #fff;
  color: var(--nuby-heading);
  font-size: 1.25rem;
}

.nuby-header__drawer-search {
  margin-bottom: 18px;
}

.nuby-header__drawer-list,
.nuby-header__drawer-submenu,
.nuby-header__drawer-utility {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nuby-header__drawer nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 15px;
  border-radius: 18px;
  background: var(--nuby-cream);
  font-weight: 700;
}

.nuby-header__drawer-details,
.nuby-header__drawer-subdetails {
  overflow: hidden;
  border-radius: 20px;
  background: var(--nuby-cream);
}

.nuby-header__drawer-details summary,
.nuby-header__drawer-subdetails summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.nuby-header__drawer-details summary::-webkit-details-marker,
.nuby-header__drawer-subdetails summary::-webkit-details-marker {
  display: none;
}

.nuby-header__drawer-chevron {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nuby-header__drawer-details[open] > summary .nuby-header__drawer-chevron,
.nuby-header__drawer-subdetails[open] > summary .nuby-header__drawer-chevron {
  transform: rotate(45deg);
}

.nuby-header__drawer-panel,
.nuby-header__drawer-subpanel {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.nuby-header__drawer-groups {
  display: grid;
  gap: 10px;
}

.nuby-header__drawer-parent-link {
  justify-content: center;
  border: 1px solid var(--nuby-border);
  background: #fff;
  color: var(--nuby-heading);
}

.nuby-header__drawer-parent-link--sub {
  justify-content: flex-start;
}

.nuby-header__drawer-leaf {
  padding-inline: 18px;
}

.nuby-header__drawer-utility {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--nuby-line);
}

.nuby-hidden-mobile {
  display: block;
}

.nuby-only-mobile {
  display: none;
}

.nuby-hero {
  padding: 0;
}

.nuby-hero .nuby-container {
  width: 100%;
  max-width: none;
}

.nuby-hero__card {
  position: relative;
  min-height: 563px;
  overflow: hidden;
  background: #b6e0eb;
}

.nuby-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nuby-hero__overlay {
  position: relative;
  z-index: 1;
  min-height: 563px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 min(7vw, 120px);
}

.nuby-hero__content {
  width: min(390px, 31vw);
  text-align: left;
}

.nuby-hero__content .nuby-kicker {
  display: none;
}

.nuby-hero__content .nuby-title {
  color: #fff;
  font-size: clamp(3rem, 3.4vw, 4rem);
}

.nuby-hero__cta {
  min-width: 302px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--nuby-heading);
}

.nuby-usp {
  padding: 0;
  background: var(--nuby-plum);
  color: #fff;
}

.nuby-usp__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nuby-usp__item {
  min-height: 74px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.nuby-usp__icon {
  width: 56px;
  height: 42px;
  flex: 0 0 56px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.nuby-usp__icon svg {
  display: none;
}

.nuby-usp__item:nth-child(1) .nuby-usp__icon {
  background-image: url('https://us.nuby.com/cdn/shop/files/01a.png?height=84&v=1712777049');
}

.nuby-usp__item:nth-child(2) .nuby-usp__icon {
  background-image: url('https://us.nuby.com/cdn/shop/files/02b.png?height=84&v=1712777063');
}

.nuby-usp__item:nth-child(3) .nuby-usp__icon {
  background-image: url('https://us.nuby.com/cdn/shop/files/03a.png?height=84&v=1712777074');
}

.nuby-usp__item:nth-child(3) span:last-child {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.nuby-categories {
  background: var(--nuby-cream);
  padding: 48px 0 58px;
}

.nuby-categories__head {
  margin-bottom: 34px;
  text-align: center;
}

.nuby-categories__head .nuby-title {
  font-size: clamp(2.15rem, 2.4vw, 2.8rem);
}

.nuby-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.nuby-category-card {
  text-align: center;
}

.nuby-category-card a {
  color: inherit;
  text-decoration: none;
}

.nuby-category-card__image {
  width: 210px;
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
}

.nuby-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  transform-origin: center;
}

.nuby-category-card:nth-child(1) .nuby-category-card__image img {
  object-position: 48% 50%;
}

.nuby-category-card:nth-child(2) .nuby-category-card__image img {
  object-position: 56% 44%;
}

.nuby-category-card:nth-child(3) .nuby-category-card__image img {
  object-position: 50% 42%;
}

.nuby-category-card:nth-child(4) .nuby-category-card__image img {
  object-position: 52% 38%;
}

.nuby-category-card__title {
  margin: 0;
  color: var(--nuby-heading);
  font-size: 1.06rem;
  font-weight: 700;
}

.nuby-categories__cta {
  margin-top: 34px;
  text-align: center;
}

.nuby-categories__cta .nuby-link-button {
  min-width: 300px;
}

.nuby-feature {
  padding: 0;
  background: transparent;
}

.nuby-feature .nuby-container {
  width: 100%;
  max-width: none;
}

.nuby-feature__card {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  min-height: 358px;
  overflow: hidden;
}

.nuby-feature__content {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px min(4.2vw, 48px) 42px min(2.2vw, 32px);
  background-color: #a9c9ea !important;
}

.nuby-feature__content .nuby-kicker {
  display: none;
}

.nuby-feature__content .nuby-title,
.nuby-feature__content .nuby-copy {
  color: #fff;
}

.nuby-feature__content .nuby-title {
  max-width: 420px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 3vw, 3.3rem);
}

.nuby-feature__content .nuby-copy {
  max-width: 405px;
  font-size: 1rem;
  line-height: 1.42;
}

.nuby-feature__actions {
  margin-top: 28px;
}

.nuby-feature__actions .nuby-pill-button {
  min-width: 300px;
  background: var(--nuby-blue);
}

.nuby-feature__media {
  order: 2;
}

.nuby-feature__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.nuby-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 358px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nuby-carousel {
  position: relative;
}

.nuby-carousel__head {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 44px;
  margin-bottom: 28px;
  text-align: center;
}

.nuby-carousel__intro {
  max-width: 560px;
}

.nuby-carousel__intro .nuby-kicker,
.nuby-carousel__intro .nuby-copy,
.nuby-carousel__view-all {
  display: none;
}

.nuby-carousel__intro .nuby-title {
  font-size: clamp(2.1rem, 2.5vw, 2.8rem);
}

.nuby-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.nuby-carousel__viewport::-webkit-scrollbar,
.nuby-social__grid::-webkit-scrollbar,
.nuby-usp__list::-webkit-scrollbar {
  display: none;
}

.nuby-carousel__track {
  display: flex;
  gap: 1.5rem;
}

.nuby-carousel__item {
  scroll-snap-align: start;
}

.nuby-carousel__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nuby-carousel--gift .nuby-carousel__controls {
  position: absolute;
  top: 0;
  right: 0;
}

.nuby-carousel__arrows {
  display: flex;
  gap: 10px;
}

.nuby-carousel__arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #cfcfcf;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.nuby-carousel__arrow:last-child:not([disabled]) {
  background: var(--nuby-orange);
}

.nuby-carousel__arrow[disabled] {
  pointer-events: none;
  opacity: 1;
}

.nuby-carousel__status,
.nuby-carousel__dots {
  display: none;
}

.nuby-product-card {
  width: clamp(164px, 13vw, 182px);
  min-width: clamp(164px, 13vw, 182px);
  background: transparent;
  border: 0;
}

.nuby-product-card--compact {
  width: 154px;
  min-width: 154px;
}

.nuby-product-card__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.nuby-product-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.nuby-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nuby-product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: var(--nuby-orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.nuby-product-card__quick,
.nuby-product-card__rating {
  display: none;
}

.nuby-product-card__body {
  padding-top: 14px;
}

.nuby-product-card__title {
  margin: 0;
  color: var(--nuby-heading);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.16;
}

.nuby-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.nuby-carousel__empty {
  padding: 28px 0 10px;
}

.nuby-carousel__empty p {
  margin: 0;
  color: var(--nuby-text);
  font-size: 0.98rem;
  line-height: 1.45;
}

.nuby-product-card__description {
  margin: 10px 0 0;
  color: var(--nuby-text);
  font-size: 0.84rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.nuby-product-card__meta {
  display: block;
  margin-top: 10px;
}

.nuby-product-card__age {
  display: block;
  color: var(--nuby-orange);
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.nuby-product-card__price {
  display: block;
  color: var(--nuby-text);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.nuby-product-card__price s,
.nuby-product-card__price del {
  color: #9fa1a5;
  font-weight: 600;
}

.nuby-product-card__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.nuby-product-card__swatch {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(84, 86, 90, 0.25);
  display: inline-flex;
  font-size: 0;
}

.nuby-product-card__swatch:nth-child(1) {
  background: #59b4be;
}

.nuby-product-card__swatch:nth-child(2) {
  background: #f2b4c5;
}

.nuby-product-card__swatch:nth-child(3) {
  background: #e5deda;
}

.nuby-product-card__swatch:nth-child(4) {
  background: #98ab93;
}

.nuby-social {
  background: var(--nuby-cream);
  padding: 28px 0 22px;
}

.nuby-social__head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.nuby-social__head .nuby-kicker {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 700;
}

.nuby-social__head .nuby-title {
  color: #1b33df;
  font-size: 1.28rem;
}

.nuby-social__text-link {
  display: none;
}

.nuby-social__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.nuby-social__tile {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
}

.nuby-social__tile:nth-child(n + 5) {
  display: none;
}

.nuby-social__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nuby-social__label,
.nuby-social__pagination {
  display: none;
}

.nuby-richtext {
  padding: 20px 0 32px;
  background: #fff;
}

.nuby-richtext__card {
  max-width: 1110px;
  margin: 0 auto;
  text-align: left;
}

.nuby-richtext__card .nuby-kicker {
  display: none;
}

.nuby-richtext__card .nuby-title {
  margin-bottom: 18px;
  font-size: clamp(2rem, 2.7vw, 2.65rem);
}

.nuby-richtext__content {
  position: relative !important;
  max-height: 164px !important;
  overflow: hidden !important;
  transition: max-height 0.28s ease;
}

.nuby-richtext__content::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 85%);
  pointer-events: none;
}

.nuby-richtext__content.is-expanded {
  max-height: 999px !important;
}

.nuby-richtext__content.is-expanded::after {
  display: none;
}

.nuby-richtext__action {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nuby-text);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
  display: inline-flex;
}

.nuby-safety {
  padding: 0;
}

.nuby-safety__inner {
  background: var(--nuby-blue-dark);
}

.nuby-safety__content {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nuby-safety__icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nuby-newsletter {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--nuby-blue);
}

.nuby-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 404px;
}

.nuby-newsletter__spacer {
  min-height: 1px;
}

.nuby-newsletter__content {
  width: min(470px, 100%);
  justify-self: end;
  padding: 64px 0 64px 24px;
}

.nuby-newsletter__content .nuby-kicker {
  display: none;
}

.nuby-newsletter__content .nuby-title,
.nuby-newsletter__content .nuby-copy {
  color: #fff;
}

.nuby-newsletter__content .nuby-title {
  font-size: clamp(2.4rem, 3.6vw, 3.5rem);
}

.nuby-newsletter__content .nuby-copy {
  margin-top: 18px;
  font-size: 1.1rem;
  line-height: 1.45;
}

.nuby-newsletter__helper-link {
  display: inline-flex;
  margin-top: 16px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.nuby-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.nuby-newsletter__form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--nuby-heading);
  font: inherit;
}

.nuby-newsletter__button {
  min-width: 180px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  cursor: pointer;
}

.nuby-newsletter__message {
  width: 100%;
  margin: 4px 0 0;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.45;
}

.nuby-newsletter__message--error {
  color: #fef1d1;
}

.nuby-newsletter__message ul {
  margin: 0;
  padding-left: 1.1rem;
}

.nuby-footer {
  background: #fff;
}

.nuby-footer__logo {
  display: none;
}

.nuby-footer__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 42px 0 38px;
}

.nuby-footer__column {
  max-width: 320px;
}

.nuby-footer__column-title {
  margin: 0 0 16px;
  color: var(--nuby-orange);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
}

.nuby-footer__links {
  display: grid;
  gap: 10px;
}

.nuby-footer__links a {
  color: var(--nuby-text);
  font-size: 0.98rem;
  line-height: 1.25;
  text-decoration: none;
}

.nuby-footer__text-link {
  color: var(--nuby-text);
  font-size: 0.98rem;
  line-height: 1.25;
}

.nuby-footer__accordion {
  display: none;
}


.nuby-footer__socials a:nth-child(1)::before {
  content: '♪';
}

.nuby-footer__socials a:nth-child(2)::before {
  content: '◎';
}

.nuby-footer__socials a:nth-child(3)::before {
  content: 'f';
  font-size: 1.08rem;
}

.nuby-footer__socials a:nth-child(4)::before {
  content: '▶';
  font-size: 0.78rem;
}

.nuby-footer__socials a:nth-child(5)::before {
  content: 'p';
  font-size: 1.05rem;
}

.nuby-footer__countries-bar {
  background: var(--nuby-mint);
}

.nuby-footer__countries-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 0;
}

.nuby-footer__copyright {
  color: var(--nuby-text);
  font-size: 0.95rem;
}

@media (max-width: 989px) {
  :root {
    --nuby-page: calc(100vw - 32px);
  }

  .nuby-hidden-mobile {
    display: none;
  }

  .nuby-only-mobile {
    display: block;
  }

  .nuby-header__utility,
  .nuby-header__nav {
    display: none;
  }

  .nuby-header__mobile-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 0 12px;
  }

  .nuby-header__mobile-icons {
    gap: 16px;
    justify-content: end;
  }

  .nuby-header__mobile-search {
    padding-bottom: 18px;
  }

  .nuby-header__mobile-search .nuby-header__search {
    max-width: none;
  }

  .nuby-header__drawer {
    overflow-y: auto;
  }

  .nuby-hero__card,
  .nuby-hero__overlay {
    min-height: 460px;
  }

  .nuby-hero__overlay {
    justify-content: center;
    padding: 0 18px 24px;
  }

  .nuby-hero__content {
    width: min(360px, 100%);
    text-align: center;
  }

  .nuby-hero__content .nuby-title {
    font-size: clamp(2.4rem, 8vw, 3.4rem);
  }

  .nuby-hero__cta {
    min-width: 0;
    width: min(300px, 100%);
    margin-top: 20px;
  }

  .nuby-usp__list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .nuby-usp__item {
    min-width: 100%;
    scroll-snap-align: start;
  }

  .nuby-categories__grid {
    gap: 22px 16px;
  }

  .nuby-category-card__image {
    width: min(24vw, 190px);
  }

  .nuby-feature__card {
    position: relative;
    display: block;
    min-height: 520px;
  }

  .nuby-feature__media {
    position: absolute;
    inset: 0;
  }

  .nuby-feature__media img {
    min-height: 520px;
    object-position: 52% 12%;
    transform: scale(1.12);
    transform-origin: center;
  }

  .nuby-feature__content {
    position: relative;
    z-index: 1;
    min-height: 520px;
    padding: 126px 16px 0;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    background: transparent !important;
  }

  .nuby-feature__content .nuby-title {
    width: 100%;
    max-width: none;
    margin-bottom: 32px;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-shadow: none;
  }

  .nuby-feature__content .nuby-copy {
    max-width: none;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: none;
  }

  .nuby-feature__actions {
    margin-top: 32px;
  }

  .nuby-feature__actions .nuby-pill-button {
    width: 300px;
    max-width: 100%;
    min-width: 0;
    min-height: 50px;
    font-size: 0.875rem;
    font-weight: 700;
  }

  .nuby-carousel__track {
    gap: 1.35rem;
  }

  .nuby-product-card {
    width: 204px;
    min-width: 204px;
  }

  .nuby-social__grid,
  .nuby-newsletter__inner {
    grid-template-columns: 1fr;
  }

  .nuby-newsletter__content {
    justify-self: stretch;
    width: 100%;
    padding: 44px 0;
    text-align: center;
  }

  .nuby-newsletter__content .nuby-copy {
    max-width: 560px;
    margin-inline: auto;
  }

  .nuby-newsletter__form {
    justify-content: center;
  }

  .nuby-newsletter__spacer {
    display: none;
  }

  .nuby-footer__contact-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .nuby-footer__contact,
  .nuby-footer__socials {
    grid-column: auto;
    justify-self: center;
  }

  .nuby-footer__countries-inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 749px) {
  .nuby-container {
    width: calc(100vw - 32px);
  }

  .nuby-section {
    padding: 38px 0;
  }

  .nuby-feature.nuby-section {
    padding: 0;
  }

  .nuby-announcement__inner {
    min-height: 42px;
  }

  .nuby-announcement__slide {
    font-size: 0.92rem;
  }

  .nuby-header__logo img {
    width: 78px;
  }

  .nuby-header__search {
    gap: 8px;
    min-height: 44px;
    padding: 3px;
  }

  .nuby-header__search button {
    min-width: 66px;
    min-height: 38px;
  }

  .nuby-search-button__label {
    display: none;
  }

  .nuby-hero__card,
  .nuby-hero__overlay {
    min-height: 406px;
  }

  .nuby-hero__overlay {
    align-items: center;
    padding: 0 16px 18px;
  }

  .nuby-hero__content {
    max-width: 342px;
  }

  .nuby-hero__content .nuby-title {
    font-size: clamp(2.05rem, 7.1vw, 2.45rem);
  }

  .nuby-usp__item {
    padding: 15px 18px;
    gap: 10px;
  }

  .nuby-categories {
    padding: 42px 0 50px;
  }

  .nuby-categories__head {
    margin-bottom: 24px;
  }

  .nuby-categories__head .nuby-title {
    font-size: 2rem;
  }

  .nuby-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .nuby-category-card__image {
    width: min(42vw, 170px);
    margin-bottom: 14px;
  }

  .nuby-category-card__image img {
    transform: scale(1.1);
  }

  .nuby-category-card__title {
    font-size: 0.96rem;
  }

  .nuby-categories__cta .nuby-link-button {
    min-width: 0;
    width: 100%;
  }

  .nuby-feature__content .nuby-title {
    font-size: 1.7rem;
  }

  .nuby-feature__content .nuby-copy {
    font-size: 1rem;
  }

  .nuby-carousel__head {
    min-height: 0;
    margin-bottom: 22px;
  }

  .nuby-carousel__intro .nuby-title {
    font-size: 2rem;
  }

  .nuby-carousel--gift {
    position: relative;
    overflow: visible;
  }

  .nuby-carousel--gift::before,
  .nuby-carousel--gift::after {
    content: '';
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .nuby-carousel--gift::before {
    top: 18px;
    left: -6px;
    width: 92px;
    height: 182px;
    background-image: url('https://us.nuby.com/cdn/shop/files/product-carousel-top-left-mobile.png?crop=center&height=290&v=1653477201&width=146');
  }

  .nuby-carousel--gift::after {
    top: 76px;
    right: -10px;
    width: 82px;
    height: 78px;
    background-image: url('https://us.nuby.com/cdn/shop/files/product-carousel-bottom-right-mobile.png?crop=center&height=130&v=1653477215&width=138');
  }

  .nuby-carousel--gift .nuby-carousel__head,
  .nuby-carousel--gift .nuby-carousel__viewport {
    position: relative;
    z-index: 1;
  }

  .nuby-carousel--gift .nuby-carousel__controls {
    display: none;
  }

  .nuby-carousel__viewport {
    overflow-x: auto;
  }

  .nuby-product-card {
    width: 212px;
    min-width: 212px;
  }

  .nuby-product-card__title {
    font-size: 0.9rem;
  }

  .nuby-product-card__description {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }

  .nuby-social {
    padding: 30px 0 26px;
  }

  .nuby-social__head {
    display: block;
    margin-bottom: 16px;
  }

  .nuby-social__head .nuby-title {
    display: inline;
    margin-inline-start: 4px;
  }

  .nuby-social__grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .nuby-social__tile {
    display: block;
    width: 92px;
    min-width: 92px;
    scroll-snap-align: start;
  }

  .nuby-social__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .nuby-social__pagination button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(84, 86, 90, 0.2);
  }

  .nuby-social__pagination button.is-active {
    background: var(--nuby-heading);
  }

  .nuby-richtext__card .nuby-title {
    font-size: 1.82rem;
  }

  .nuby-richtext__content {
    max-height: 182px !important;
  }

  .nuby-richtext__content::after {
    height: 50px;
  }

  .nuby-newsletter::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 59px;
    height: 112px;
    background: url('https://us.nuby.com/cdn/shop/files/newsletter-sign-up-bottom-right-mobile-1.png?crop=center&height=224&v=1653665985&width=118') center / contain no-repeat;
    pointer-events: none;
  }

  .nuby-newsletter__content {
    padding: 28px 0 36px;
  }

  .nuby-newsletter__content .nuby-title {
    font-size: 2.2rem;
  }

  .nuby-newsletter__content .nuby-copy {
    font-size: 0.98rem;
  }

  .nuby-newsletter__helper-link {
    margin-top: 14px;
    font-size: 0.92rem;
  }

  .nuby-newsletter__form {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .nuby-newsletter__button {
    width: 100%;
  }

  .nuby-footer__columns {
    display: none;
  }

  .nuby-footer__accordion {
    display: block;
    padding-top: 6px;
  }

  .nuby-footer__accordion-item {
    border-top: 1px solid var(--nuby-border);
  }

  .nuby-footer__accordion-toggle {
    width: 100%;
    padding: 16px 0;
    border: 0;
    background: transparent;
    color: var(--nuby-orange);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
  }

  .nuby-footer__accordion-plus {
    font-size: 1.15rem;
    line-height: 1;
  }

  .nuby-footer__accordion-panel {
    padding: 0 0 16px;
  }

  .nuby-footer__columns {
    max-width: none;
  }
}
