/* =========================================
   chouette clair - layout / header / footer
   scope: .cc-shell
========================================= */

/* announcement */
.cc-shell .announcement-bar {
  background: #0f0f0f;
  color: #ffffff;
  text-align: center;
  padding: 10px 20px;
  position: relative;
  z-index: 40;
}

.cc-shell .announcement-bar p {
  margin: 0;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* header */
.cc-shell #header {
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.cc-shell .header-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 88px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.cc-shell .header-left,
.cc-shell .header-right {
  display: flex;
  align-items: center;
}

.cc-shell .header-right {
  justify-content: flex-end;
  gap: 22px;
}

.cc-shell .nav-primary,
.cc-shell .nav-secondary {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cc-shell .nav-link {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  transition: opacity .25s ease;
}

.cc-shell .nav-link:hover {
  opacity: 0.65;
}

.cc-shell .header-logo {
  text-align: center;
}

.cc-shell .header-logo a {
  text-decoration: none;
  color: #111;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cc-shell .cc-brand-logo,
.cc-shell .logo-main {
  font-size: 34px;
  line-height: 1;
}

.cc-shell .logo-sub {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.cc-shell .header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-shell .icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  cursor: pointer;
  position: relative;
  border-radius: 50%;
}

.cc-shell .icon-btn:hover {
  background: rgba(17, 17, 17, 0.05);
}

.cc-shell .cart-count {
  position: absolute;
  top: 5px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cc-shell .menu-toggle {
  display: none;
}

.cc-shell .hamburger,
.cc-shell .hamburger::before,
.cc-shell .hamburger::after {
  width: 16px;
  height: 1.5px;
  background: #111;
  display: block;
  content: "";
  transition: transform .25s ease, opacity .25s ease;
}

.cc-shell .hamburger {
  position: relative;
}

.cc-shell .hamburger::before {
  position: absolute;
  top: -5px;
  left: 0;
}

.cc-shell .hamburger::after {
  position: absolute;
  top: 5px;
  left: 0;
}

/* search overlay */
.cc-shell .search-overlay {
  position: absolute;
  inset: 100% 0 auto 0;
  background: rgba(247, 243, 238, 0.98);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all .3s ease;
  pointer-events: none;
}

.cc-shell .search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.cc-shell .search-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cc-shell .search-input {
  flex: 1;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  outline: none;
  font-size: 14px;
}

.cc-shell .search-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* mobile menu */
.cc-shell .mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 420px);
  height: 100vh;
  background: #f7f3ee;
  z-index: 60;
  transform: translateX(100%);
  transition: transform .35s ease;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.10);
}

.cc-shell .mobile-menu.is-open {
  transform: translateX(0);
}

.cc-shell .mobile-menu-inner {
  padding: 96px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.cc-shell .mobile-menu li + li {
  margin-top: 20px;
}

.cc-shell .mobile-menu a {
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: #111;
}

.cc-shell .mobile-menu-footer p {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
}

.cc-shell .menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.cc-shell .menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* footer */
.cc-shell .cc-footer {
  background: #f2ece5;
  border-top: 1px solid rgba(17,17,17,0.08);
  padding: 72px 0 28px;
}

.cc-shell .cc-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.cc-shell .cc-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.cc-shell .cc-footer-brand {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
  color: #111;
}

.cc-shell .cc-footer-copy {
  font-size: 13px;
  line-height: 1.9;
  color: #6c645d;
  max-width: 320px;
}

.cc-shell .cc-footer-title {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
}

.cc-shell .cc-footer-links li + li {
  margin-top: 10px;
}

.cc-shell .cc-footer-links a {
  text-decoration: none;
  color: #5d554f;
  font-size: 14px;
}

.cc-shell .cc-footer-links a:hover {
  color: #111;
}

.cc-shell .cc-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(17,17,17,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cc-shell .cc-footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: #7a726b;
}

/* generic page header */
.cc-shell .cc-page-header {
  padding: 56px 0 24px;
}

.cc-shell .cc-page-header__title {
  margin: 0;
}

.cc-shell .cc-page-header__lead {
  margin-top: 14px;
  max-width: 760px;
}

/* responsive */
@media (max-width: 980px) {
  .cc-shell .header-left,
  .cc-shell .nav-secondary {
    display: none;
  }

  .cc-shell .header-inner {
    grid-template-columns: 1fr auto auto;
    min-height: 74px;
    padding: 0 16px;
    gap: 12px;
  }

  .cc-shell .menu-toggle {
    display: inline-flex;
  }

  .cc-shell .logo-main,
  .cc-shell .cc-brand-logo {
    font-size: 26px;
  }

  .cc-shell .logo-sub {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .cc-shell .cc-footer-inner {
    padding: 0 16px;
  }

  .cc-shell .cc-footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .cc-shell .announcement-bar p {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .cc-shell .cc-footer-top {
    grid-template-columns: 1fr;
  }

  .cc-shell .cc-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}