/* Fil d'Ariane */
.cavedimedime-breadcrumb-nav {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 2.5rem auto;
  padding: 1.25rem 2.5vw 1.25rem 2.5vw;
  background: var(--color-paper);
  border-radius: 0.5rem;
  box-shadow: 0 0.04rem 0.18rem 0.04rem rgba(123, 60, 19, 0.04), 0 0.12rem 0.56rem 0.10rem rgba(123, 60, 19, 0.06);
  overflow-x: auto;
  display: block;
}

.cavedimedime-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  line-height: 1.7;
}

.cavedimedime-breadcrumb-item {
  display: flex;
  align-items: center;
  font-family: var(--font-family-body);
}

.cavedimedime-breadcrumb-link {
  color: var(--color-primary);
  background: transparent;
  border-radius: 0.25rem;
  transition: color 0.18s cubic-bezier(.5,.1,.15,1), background 0.16s cubic-bezier(.5,.1,.15,1), box-shadow 0.20s cubic-bezier(.5,.1,.15,1);
  padding: 0.18em 0.5em 0.18em 0.5em;
  font-weight: 500;
  text-decoration: none;
  outline: none;
}

.cavedimedime-breadcrumb-link:hover,
.cavedimedime-breadcrumb-link:active,
.cavedimedime-breadcrumb-link:focus {
  color: var(--color-primary-dark);
  background: rgba(179, 155, 115, 0.09);
  box-shadow: 0 0 0 0.12rem rgba(123, 60, 19, 0.15);
  text-decoration: underline;
}

.cavedimedime-breadcrumb-separator {
  color: var(--color-secondary);
  font-size: 1.1em;
  margin: 0 0.15em;
  user-select: none;
  pointer-events: none;
  opacity: 0.64;
  font-weight: 400;
  align-self: flex-end;
  transition: color 0.15s cubic-bezier(.5,.1,.15,1);
}

.cavedimedime-breadcrumb-item:last-child .cavedimedime-breadcrumb-separator {
  display: none;
}

.cavedimedime-breadcrumb-current,
.cavedimedime-breadcrumb-item--active .cavedimedime-breadcrumb-current {
  font-family: var(--font-family-heading);
  color: var(--color-text-secondary);
  background: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.16em 0.5em 0.16em 0.5em;
  border-radius: 0.25rem;
  cursor: default;
  box-shadow: 0 0.02rem 0.12rem 0 rgba(123,60,19,0.05);
}

.cavedimedime-breadcrumb-item--active .cavedimedime-breadcrumb-current {
  color: var(--color-primary);
  background: rgba(179, 155, 115, 0.08);
  box-shadow: 0 0.04rem 0.14rem -0.01rem rgba(123,60,19, 0.07);
}

@media (max-width: 900px) {
  .cavedimedime-breadcrumb-nav {
    padding: 0.85rem 3vw 0.85rem 3vw;
    border-radius: 0.38rem;
    font-size: 0.97rem;
  }
  .cavedimedime-breadcrumb-list {
    font-size: 0.98rem;
  }
  .cavedimedime-breadcrumb-current,
  .cavedimedime-breadcrumb-item--active .cavedimedime-breadcrumb-current {
    font-size: 0.98rem;
    padding: 0.12em 0.28em 0.12em 0.28em;
  }
}

@media (max-width: 600px) {
  .cavedimedime-breadcrumb-nav {
    padding: 0.54rem 2vw 0.54rem 2vw;
    border-radius: 0.22rem;
    margin-bottom: 1.5rem;
  }
  .cavedimedime-breadcrumb-list {
    font-size: 0.93rem;
    gap: 0;
  }
  .cavedimedime-breadcrumb-item {
    min-width: 0;
  }
  .cavedimedime-breadcrumb-link,
  .cavedimedime-breadcrumb-current {
    font-size: 0.93rem;
    padding-left: 0.2em;
    padding-right: 0.2em;
  }
}

/* Pied de page */
.footer-cavedeladime {
  background: var(--color-paper);
  padding: 0;
  box-shadow: 0 -2px 32px 0 rgba(50, 36, 28, 0.06);
  border-radius: 1.5rem 1.5rem 0 0;
  overflow: hidden;
  position: relative;
}

.footer-cavedeladime__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem 2.5rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2.25rem 2rem;
}

.footer-cavedeladime__brand-column {
  flex: 1 1 260px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.footer-cavedeladime__logo-link {
  display: inline-block;
  border-radius: 1rem;
  transition: filter 0.28s cubic-bezier(.55,.02,.65,.92);
}

.footer-cavedeladime__logo-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.footer-cavedeladime__logo {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 1rem;
  background: var(--color-background);
  box-shadow: 0 3px 16px 0 rgba(179, 161, 132, 0.09);
  transition: filter 0.28s cubic-bezier(.55,.02,.65,.92);
}

.footer-cavedeladime__logo-link:hover .footer-cavedeladime__logo {
  filter: brightness(0.92) contrast(1.10);
}

.footer-cavedeladime__tagline {
  margin: 0 0 0.1rem 0;
  color: var(--color-text-secondary);
  font-size: 1.08rem;
  font-family: var(--font-family-body);
  max-width: 320px;
  line-height: 1.5;
  font-style: italic;
}

.footer-cavedeladime__socials {
  margin-top: 0.25rem;
  display: flex;
  gap: 0.5rem 0.65rem;
}

.footer-cavedeladime__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--color-background);
  color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 2px 10px 0 rgba(138,28,74,0.07);
  font-size: 1.275rem;
  transition: background 0.24s, color 0.24s, transform 0.19s cubic-bezier(.5,.44,.55,.93);
}

.footer-cavedeladime__social-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.footer-cavedeladime__social-btn:hover,
.footer-cavedeladime__social-btn:focus-visible {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  transform: translateY(-2px) scale(1.07);
}

.footer-cavedeladime__links-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 2.2rem;
  flex: 3 1 600px;
  min-width: 340px;
}

.footer-cavedeladime__column {
  display: flex;
  flex-direction: column;
  gap: 0.40rem;
  min-width: 150px;
}

.footer-cavedeladime__column-title {
  font-family: var(--font-family-heading);
  font-size: 1.10rem;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  font-weight: 700;
  margin: 0 0 0.7rem 0;
  line-height: 1.3;
}

.footer-cavedeladime__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.30rem;
}

.footer-cavedeladime__link {
  color: var(--color-text-secondary);
  font-size: 1rem;
  padding: 0.06rem 0.05rem;
  border-radius: 0.5rem;
  transition: color 0.19s, background 0.19s;
  font-family: var(--font-family-body);
  line-height: 1.66;
  display: inline-block;
}

.footer-cavedeladime__link:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 2px;
  background: var(--color-secondary-light);
  color: var(--color-primary-dark);
}

.footer-cavedeladime__link:hover,
.footer-cavedeladime__link:active {
  color: var(--color-primary-dark);
  background: var(--color-secondary-light);
  text-decoration: none;
}

.footer-cavedeladime__newsletter {
  flex: 1 1 230px;
  min-width: 230px;
  padding: 1.1rem 1.2rem;
  background: var(--color-background);
  border-radius: 1.2rem;
  box-shadow: 0 3px 16px 0 rgba(114, 110, 76, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.80rem;
  max-width: 320px;
  align-self: flex-start;
}

.footer-cavedeladime__newsletter-desc {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  margin: 0 0 0.65rem 0;
  line-height: 1.5;
}

.footer-cavedeladime__newsletter-form {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 100%;
  align-items: flex-end;
}

.footer-cavedeladime__newsletter-input {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-family-body);
  font-size: 1rem;
  padding: 0.60rem 1.05rem;
  border: none;
  border-radius: 0.9rem;
  background: var(--color-paper);
  color: var(--color-text-primary);
  box-shadow: 0 2px 8px 0 rgba(138,28,74,0.04);
  transition: box-shadow 0.24s, background 0.17s;
}

.footer-cavedeladime__newsletter-input:focus {
  background: var(--color-background);
  outline: 2px solid var(--color-secondary);
  box-shadow: 0 2px 12px 0 rgba(114, 110, 76, 0.11);
}

.footer-cavedeladime__newsletter-btn {
  display: flex;
  align-items: center;
  gap: 0.37em;
  border: none;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  padding: 0.63rem 1.13rem;
  font-size: 1rem;
  font-family: var(--font-family-body);
  border-radius: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 9px 0 rgba(138,28,74,0.09);
  transition: background 0.19s, color 0.19s, box-shadow 0.21s, transform 0.14s;
}

.footer-cavedeladime__newsletter-btn:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 2px;
}

.footer-cavedeladime__newsletter-btn:hover,
.footer-cavedeladime__newsletter-btn:active {
  background: var(--color-accent-dark);
  color: var(--color-accent-contrast);
  box-shadow: 0 3px 16px 0 rgba(82, 8, 41, 0.10);
  transform: translateY(-1.5px) scale(1.03);
}

.footer-cavedeladime__newsletter-btn i {
  font-size: 1.13em;
  display: inline-block;
}

.footer-cavedeladime__bottom {
  border-top: 1px solid rgba(179, 161, 132, 0.19);
  margin: 0;
  padding: 1.35rem 2rem 1.55rem 2rem;
  background: var(--color-paper);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.footer-cavedeladime__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.15rem;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.footer-cavedeladime__legal-link {
  color: var(--color-text-secondary);
  transition: color 0.21s;
  font-size: 1rem;
  position: relative;
  padding: 0 0.08em;
  border-radius: 0.5em;
}

.footer-cavedeladime__legal-link:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 2px;
  background: var(--color-secondary-light);
  color: var(--color-primary-dark);
}

.footer-cavedeladime__legal-link:hover {
  color: var(--color-primary-dark);
}

.footer-cavedeladime__legal-sep {
  color: var(--color-secondary-dark);
  user-select: none;
}

.footer-cavedeladime__copy {
  color: var(--color-text-disabled);
  font-size: var(--font-size-small);
  text-align: right;
  flex-grow: 1;
  min-width: 120px;
}

@media (max-width: 1024px) {
  .footer-cavedeladime__top {
    flex-direction: column;
    align-items: stretch;
    padding: 2.5rem 1.1rem 1.55rem 1.1rem;
    gap: 2.3rem 1.4rem;
  }
  .footer-cavedeladime__links-columns {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 1.7rem 1.25rem;
    margin-top: 0.7rem;
    margin-bottom: 0.65rem;
  }
  .footer-cavedeladime__newsletter {
    max-width: unset;
    margin-top: 1.3rem;
    align-self: stretch;
  }
}

@media (max-width: 650px) {
  .footer-cavedeladime {
    border-radius: 1.1rem 1.1rem 0 0;
  }
  .footer-cavedeladime__top {
    flex-direction: column;
    padding: 1.4rem 0.65rem 1.15rem 0.65rem;
    gap: 1.65rem 0.65rem;
  }
  .footer-cavedeladime__brand-column {
    align-items: flex-start;
    min-width: 0;
  }
  .footer-cavedeladime__links-columns {
    grid-template-columns: 1fr;
    gap: 0.83rem 0;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
  }
  .footer-cavedeladime__column {
    min-width: 0;
  }
  .footer-cavedeladime__newsletter {
    padding: 0.7rem 0.7rem;
    margin-top: 0.75rem;
    border-radius: 1rem;
  }
  .footer-cavedeladime__newsletter-form {
    flex-direction: column;
    gap: 0.55rem 0;
    align-items: stretch;
  }
  .footer-cavedeladime__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 0.65rem 1.2rem 0.65rem;
    gap: 0.6rem 0;
  }
  .footer-cavedeladime__copy {
    text-align: left;
    margin-top: 0.2rem;
  }
  .footer-cavedeladime__legal {
    gap: 0.23rem 0.55rem;
    font-size: 0.97rem;
  }
}

/* En-tête */
/****** HEADER STYLES ******/
.cave-header {
  position: relative;
  background: var(--color-paper);
  box-shadow: 0 4px 16px 0 rgba(50,36,28,0.05);
  z-index: 1000;
}
.cave-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 2rem 1.5rem 2rem;
}
.cave-header__logo img {
  display: block;
  height: 48px;
  border-radius: 0.5rem;
  transition: box-shadow .24s;
  box-shadow: 0 2px 6px 0 rgba(50,36,28,0.06);
  background: var(--color-background);
}
.cave-header__logo:hover img {
  box-shadow: 0 6px 18px 0 rgba(123,60,19,0.15);
}

.cave-header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/****** NAVIGATION STYLES ******/
.cave-nav {
  margin-left: 2.5rem;
  flex: 1;
}
.cave-nav__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cave-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}
.cave-nav__link {
  display: flex;
  align-items: center;
  gap: 0.25em;
  font-family: var(--font-family-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  padding: 0.5rem 1.1rem;
  border-radius: 0.6rem;
  background: none;
  transition: background .2s, color .18s;
  font-weight: 500;
  position: relative;
}
.cave-nav__link:hover,
.cave-nav__link:focus {
  background: var(--color-primary-light);
  color: var(--color-primary-contrast);
  text-decoration: none;
}

/****** DROPDOWN STYLES ******/
.cave-nav__item--has-children:hover > .cave-nav__submenu,
.cave-nav__item--has-children:focus-within > .cave-nav__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cave-nav__submenu {
  display: block;
  min-width: 210px;
  background: var(--color-paper);
  box-shadow: 0 8px 32px 0 rgba(50,36,28,.10);
  border-radius: 0.9rem;
  padding: 0.6rem 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .18s, transform .18s;
  z-index: 60;
}
.cave-nav__submenu--right {
  left: 100%;
  top: 0;
  box-shadow: 0 8px 32px 0 rgba(123,60,19,0.09);
}
.cave-nav__submenu-item {
  position: relative;
}
.cave-nav__submenu-link, .cave-nav__submenu .cave-nav__link--parent {
  display: flex;
  align-items: center;
  gap: 0.25em;
  font-size: 1rem;
  color: var(--color-text-secondary);
  background: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1.1rem;
  font-weight: 400;
  transition: background .2s, color .16s;
  white-space: nowrap;
}
.cave-nav__submenu-link:hover,
.cave-nav__submenu-link:focus,
.cave-nav__submenu .cave-nav__link--parent:hover {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}
.cave-nav__icon {
  font-size: 1rem;
  margin-left: 0.15em;
  opacity: 0.74;
  transition: transform .17s;
}
/* Affichage du chevron parent en rotation si ouvert */
.cave-nav__link[aria-expanded="true"] .cave-nav__icon {
  transform: rotate(180deg);
}

/****** SEARCH STYLES ******/
.cave-search {
  display: flex;
  align-items: center;
  background: var(--color-background);
  border-radius: 2rem;
  box-shadow: 0 1px 4px 0 rgba(180,155,115,0.08);
  padding: 0.15rem 0.9rem 0.15rem 1rem;
  margin-right: 1rem;
  transition: box-shadow .18s;
}
.cave-search:focus-within {
  box-shadow: 0 2px 10px 0 rgba(123,60,19,.10);
}
.cave-search__input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: var(--color-text-primary);
  padding: 0.35rem 0.5rem 0.35rem 0;
  font-family: var(--font-family-body);
  width: 10ch;
  min-width: 4ch;
  transition: width .22s cubic-bezier(.52,0,.23,1), color .12s;
}
.cave-search__input:focus {
  color: var(--color-primary);
  width: 18ch;
}
.cave-search__btn {
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 0.2rem 0.25rem 0.2rem 0.35rem;
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
}
.cave-search__btn:hover,
.cave-search__btn:focus {
  background: var(--color-primary-light);
  color: var(--color-primary-contrast);
}

/****** CTA BUTTON HEADER ******/
.cave-cta__btn {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 0.85rem;
  box-shadow: 0 2px 8px 0 rgba(123,60,19,0.06);
  transition: background .16s, box-shadow .17s;
  text-decoration: none;
  outline: none;
  border: none;
}
.cave-cta__btn:active {
  box-shadow: 0 1px 4px 0 rgba(123,60,19,0.03);
}
.cave-cta__btn:hover,
.cave-cta__btn:focus {
  background: var(--color-primary-dark);
  color: var(--color-primary-contrast);
  text-decoration: none;
}

.cave-cta__icon {
  display: flex;
  align-items: center;
  font-size: 1.18em;
  margin-right: 0.25em;
}

/****** MOBILE MENU ******/
.cave-burger {
  display: none;
  background: none;
  border: none;
  outline: none;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  border-radius: 0.75rem;
  transition: background .14s;
}
.cave-burger:focus, .cave-burger:hover {
  background: var(--color-primary-light);
}
.cave-burger__box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cave-burger__line {
  width: 22px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 6px;
  position: relative;
  box-shadow: 0 1px 3px 0 rgba(123,60,19,0.08);
  transition: background .22s, transform .22s;
}

/* Hamburger icon open animation */
.cave-burger[aria-expanded="true"] .cave-burger__line {
  background: var(--color-primary-dark);
  transform: rotate(45deg);
}
.cave-burger[aria-expanded="true"] .cave-burger__box::after,
.cave-burger[aria-expanded="true"] .cave-burger__box::before {
  content: '';
  position: absolute;
  left: 3px;
  width: 22px;
  height: 3px;
  background: var(--color-primary-dark);
  border-radius: 6px;
  transition: transform .22s;
}
.cave-burger[aria-expanded="true"] .cave-burger__box::before {
  top: 10px;
  transform: rotate(-45deg);
}
.cave-burger[aria-expanded="true"] .cave-burger__box::after {
  top: 10px;
  transform: rotate(-45deg);
}

.cave-mobile-overlay {
  position: fixed;
  z-index: 1111;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(50,36,28,0.19);
  opacity: 1;
  transition: opacity .3s;
}
.cave-mobile-overlay[hidden] {
  opacity: 0;
  pointer-events: none;
}

/****** MOBILE NAVIGATION PANEL ******/
.cave-mobile-nav {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  height: 100vh;
  width: 94vw;
  max-width: 325px;
  background: var(--color-paper);
  box-shadow: 4px 0 32px 0 rgba(50,36,28,0.16);
  transform: translateX(-105%);
  opacity: 0;
  pointer-events: none;
  transition: transform .26s cubic-bezier(.77,0,.23,1), opacity .19s;
  overflow-y: auto;
  overflow-x: hidden;
  border-top-right-radius: 1.5em;
  border-bottom-right-radius: 1.5em;
}
.cave-mobile-nav[aria-hidden="false"], 
.cave-mobile-nav:not([hidden]) {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.cave-mobile-nav__scroll {
  padding: 2.2rem 1.3rem 2rem 1.3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 2rem;
}
.cave-mobile-nav__list,
.cave-mobile-nav__submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cave-mobile-nav__item {
  margin-bottom: 0.3rem;
}
.cave-mobile-nav__link,
.cave-mobile-nav__expand {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-family-body);
  font-size: 1.01rem;
  color: var(--color-text-primary);
  padding: 0.65rem 1rem 0.65rem 0.2rem;
  border-radius: 0.7rem;
  text-align: left;
  gap: 0.65em;
  cursor: pointer;
  font-weight: 500;
  transition: background .18s, color .17s;
}
.cave-mobile-nav__link:hover,
.cave-mobile-nav__link:focus,
.cave-mobile-nav__expand:hover,
.cave-mobile-nav__expand:focus {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  text-decoration: none;
}
.cave-mobile-nav__expand .bi {
  transition: transform .21s cubic-bezier(.77,0,.23,1);
  margin-left: auto;
}
.cave-mobile-nav__expand[aria-expanded="true"] .bi {
  transform: rotate(180deg);
}

/* Nested submenu (mobile) */
.cave-mobile-nav__submenu {
  margin-left: 1.2rem;
  margin-top: 0.12rem;
  display: none;
  padding-left: 0.35rem;
  border-left: 2px solid var(--color-background);
}
.cave-mobile-nav__item--has-children > .cave-mobile-nav__submenu {
  /* shown by script on .js-cave-mobile-expand[aria-expanded="true"] + .cave-mobile-nav__submenu */
}
.cave-mobile-nav__expand[aria-expanded="true"] + .cave-mobile-nav__submenu {
  display: block;
  animation: caveMobileIn .17s ease;
}
@keyframes caveMobileIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cave-mobile-nav__submenu-link {
  display: block;
  font-size: 0.99rem;
  color: var(--color-text-secondary);
  background: none;
  border-radius: 0.5rem;
  padding: 0.58rem 1rem 0.58rem 0.25rem;
  font-weight: 400;
  transition: background .16s, color .16s;
}
.cave-mobile-nav__submenu-link:hover,
.cave-mobile-nav__submenu-link:focus {
  background: var(--color-secondary);
  color: var(--color-secondary-contrast);
  text-decoration: none;
}

/****** MOBILE SEARCH + CTA ******/
.cave-mobile-search {
  display: flex;
  align-items: center;
  background: var(--color-background);
  border-radius: 2rem;
  box-shadow: 0 1px 4px 0 rgba(180,155,115,0.07);
  padding: 0.15rem 0.9rem 0.15rem 1rem;
  margin: 0.4rem 0 1.2rem 0;
}
.cave-mobile-search__input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: var(--color-text-primary);
  padding: 0.35rem 0.5rem 0.35rem 0;
  font-family: var(--font-family-body);
  width: 14ch;
  min-width: 4ch;
  transition: width .22s cubic-bezier(.52,0,.23,1), color .12s;
}
.cave-mobile-search__input:focus {
  color: var(--color-primary);
  width: 22ch;
}
.cave-mobile-search__btn {
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 0.2rem 0.25rem 0.2rem 0.35rem;
  display: flex;
  align-items: center;
  font-size: 1.11rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
}
.cave-mobile-search__btn:hover,
.cave-mobile-search__btn:focus {
  background: var(--color-primary-light);
  color: var(--color-primary-contrast);
}
.cave-mobile-cta {
  display: flex;
  align-items: center;
  gap: 0.65em;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.82rem 1.35rem 0.82rem 0.7rem;
  font-size: 1rem;
  border-radius: 0.82em;
  box-shadow: 0 1px 4px 0 rgba(123,60,19,0.05);
  background: var(--color-primary-light);
  text-decoration: none;
  margin-top: 0.6rem;
  transition: background .15s, color .12s;
}
.cave-mobile-cta:hover,
.cave-mobile-cta:focus {
  background: var(--color-primary-dark);
  color: var(--color-primary-contrast);
}
.cave-mobile-cta .bi {
  font-size: 1.22em;
}

/****** RESPONSIVE STYLES ******/
@media (max-width: 1100px) {
  .cave-header__container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    max-width: 100vw;
  }
  .cave-nav {
    margin-left: 1rem;
  }
}
@media (max-width: 900px) {
  .cave-header__container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .cave-nav__list {
    gap: 1rem;
  }
  .cave-cta__btn {
    padding: 0.5rem 1rem;
  }
  .cave-header__logo img {
    height: 40px;
  }
}

@media (max-width: 768px) {
  .cave-header__container {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
  .cave-nav {
    display: none;
  }
  .cave-header__right {
    gap: 0.7rem;
  }
  .cave-cta__btn {
    font-size: 0.98rem;
    padding: 0.48rem 0.85rem;
  }
  .cave-search {
    margin-right: 0.4rem;
    padding-right: 0.45rem;
  }
  .cave-burger {
    display: inline-flex;
    margin-left: 0.3rem;
  }
}

@media (max-width: 640px) {
  .cave-header__container {
    padding-left: 0.4rem;
    padding-right: 0.7rem;
  }
  .cave-header__logo img {
    height: 32px;
    border-radius: 0.32rem;
  }
  .cave-header__right {
    gap: 0.28rem;
  }
  .cave-cta__btn {
    font-size: 0.95rem;
    padding: 0.4rem 0.66rem;
    border-radius: 0.54rem;
  }
  .cave-search {
    padding-left: 0.7rem;
    padding-right: 0.25rem;
  }
}

@media (max-width: 480px) {
  .cave-header__right {
    gap: 0.18rem;
  }
  .cave-header__container {
    flex-wrap: wrap;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .cave-search {
    padding-left: 0.25rem;
    margin-right: 0.18rem;
    font-size: 0.93rem;
  }
  .cave-cta__btn {
    display: none;
  }
}
