/* ═══════════════════════════════════════════════════════════════
   MAISON KARU — Shared Component Styles
   Covers: Announcement Bar · Header · Lunar Strip · Newsletter · Footer
   Include on every page: <link rel="stylesheet" href="karu-shared.css">
═══════════════════════════════════════════════════════════════ */

/* ── RESET (scoped to shared components only) ── */
#header-wrapper *,
.lunar-strip *,
.newsletter-section *,
.site-footer * {
  box-sizing: border-box;
}

/* ═══ HEADER WRAPPER ═══ */
#header-wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

#announcement,
#site-header {
  transition: background 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

#header-wrapper * {
  transition-property: color, fill, stroke, border-color, background, filter, opacity;
  transition-duration: 0.42s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

nav a::after,
nav span::after {
  transition: width 0.28s ease, background 0.42s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ═══ ANNOUNCEMENT BAR ═══ */
#announcement {
  background: transparent;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.20);
  color: rgba(255, 255, 255, 0.90);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 28px;
  max-height: 44px;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

#announcement.hide {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.ann-left {
  text-align: left;
  white-space: nowrap;
}

.ann-center {
  text-align: center;
  padding: 0 20px;
  white-space: nowrap;
}

.ann-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  white-space: nowrap;
}

.ann-right a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.90);
  display: flex;
  align-items: center;
}

#header-wrapper.light .ann-right a {
  color: rgba(0, 0, 0, 0.85);
}

.ann-right svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ═══ SITE HEADER ═══ */
#site-header {
  background: transparent;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.20);
  position: relative;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  height: 64px;
}

/* ── Desktop Nav ── */
nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  flex-wrap: nowrap;
  height: 100%;
}

nav>a,
nav>.nav-has-dropdown>span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
  cursor: pointer;
}

nav>a::after,
nav>.nav-has-dropdown>span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: #fff;
}

nav>a:hover::after,
nav>.nav-has-dropdown:hover>span::after {
  width: 100%;
}

.nav-has-dropdown {
  position: static;
  display: flex;
  align-items: center;
  height: 100%;
}

/* ── Collection Dropdown ── */
.collection-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid transparent;
  z-index: 998;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.36s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-dropdown.show {
  max-height: 180px;
  opacity: 1;
  pointer-events: auto;
  border-bottom-color: rgba(0, 0, 0, 0.10);
}

.collection-dropdown-inner {
  padding: 24px 60px 28px;
  text-align: left;
}

.collection-dropdown-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding-bottom: 3px;
}

.collection-dropdown-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: #000;
  transition: width 0.28s ease;
}

.collection-dropdown-links a:hover::after {
  width: 100%;
}

/* ── Light header state ── */
#header-wrapper.light nav>a,
#header-wrapper.light nav>.nav-has-dropdown>span {
  color: #000;
}

#header-wrapper.light nav>a::after,
#header-wrapper.light nav>.nav-has-dropdown>span::after {
  background: #000;
}

/* ── Logo ── */
.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wrap img {
  height: 34px;
  width: auto;
  display: block;
  transition: filter 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

#header-wrapper:not(.light) .logo-wrap img {
  filter: brightness(0) invert(1);
}

/* ── Header Actions (icons) ── */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.icon-btn:hover {
  opacity: 0.55;
}

.icon-btn svg {
  stroke: #fff !important;
  fill: none !important;
}

/* Force outline icons — defeats WPBakery / YellowPencil overrides */
.icon-btn svg path,
.icon-btn svg circle,
.icon-btn svg line,
.icon-btn svg polyline,
.icon-btn svg rect {
  fill: none !important;
  stroke: inherit !important;
}

.cart-wrap {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -3px;
  right: -5px;
  font-size: 8px;
  font-weight: 600;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
}

/* ═══ LANGUAGE SWITCHER ═══ */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  transition: opacity 0.22s;
  white-space: nowrap;
}

.lang-trigger:hover {
  opacity: 0.6;
}

.lang-trigger .lang-chevron {
  width: 8px;
  height: 8px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

#header-wrapper.light .lang-trigger {
  color: #000;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  min-width: 148px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 999;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.15s;
}

.lang-option:hover {
  background: #f5f3ee;
}

.lang-option.active {
  color: #000;
  font-weight: 700;
}

/* ── Light state ── */
#header-wrapper.light #announcement:not(.hide) {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.10);
  color: rgba(0, 0, 0, 0.85);
}

#header-wrapper.light #announcement:not(.hide) .ann-right svg {
  stroke: #000;
}

#header-wrapper.light #site-header {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.10);
}

#header-wrapper.light .icon-btn svg {
  stroke: #111 !important;
  fill: none !important;
}

#header-wrapper.light .icon-btn svg path,
#header-wrapper.light .icon-btn svg circle,
#header-wrapper.light .icon-btn svg line,
#header-wrapper.light .icon-btn svg polyline {
  fill: none !important;
  stroke: #111 !important;
}

#header-wrapper.light .cart-count {
  background: #000;
  color: #fff;
}

#header-wrapper.light .hamburger span {
  background: #000;
}

#header-wrapper.light .mobile-logo img {
  filter: none;
}

#header-wrapper.light .mobile-right .icon-btn svg {
  stroke: #111 !important;
  fill: none !important;
}

#header-wrapper.light .mobile-right .icon-btn svg path,
#header-wrapper.light .mobile-right .icon-btn svg circle,
#header-wrapper.light .mobile-right .icon-btn svg line,
#header-wrapper.light .mobile-right .icon-btn svg polyline {
  fill: none !important;
  stroke: #111 !important;
}

/* ═══ MOBILE HEADER ═══ */
.mobile-right .lang-trigger {
  color: #fff;
  font-size: 9.5px;
  padding: 4px 1px;
  gap: 3px;
}

#header-wrapper.light .mobile-right .lang-trigger {
  color: #000;
}

.mobile-right .lang-dropdown {
  right: 0;
}

.mobile-header-inner {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 56px;
  position: relative;
}

.mobile-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: #fff;
  border-radius: 2px;
  flex-shrink: 0;
}

.mobile-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.mobile-center a {
  pointer-events: auto;
}

.mobile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mobile-logo img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0px;
  flex-shrink: 0;
}

.mobile-right .lang-switcher {
  margin-left: 4px;
}

.mobile-right .icon-btn {
  padding: 5px;
}

.mobile-right .icon-btn svg {
  width: 17px;
  height: 17px;
  stroke: #fff;
}

/* ═══ MOBILE DRAWER ═══ */
#mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

#mobile-drawer.open {
  pointer-events: auto;
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  inset: 0;
  background: #faf9f6;
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.45s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

#mobile-drawer.open .drawer-panel {
  transform: translate3d(0, 0, 0);
}


.drawer-primary-nav {
  padding: 8px 28px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.drawer-primary-nav>a {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.drawer-primary-nav>a:hover {
  opacity: 0.55;
}

.drawer-primary-nav>a.sale {
  color: #9b1c1c;
}

.drawer-nav-item {
  position: relative;
}

.drawer-nav-item-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  line-height: 1.55;
  letter-spacing: 0.01em;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}

.drawer-nav-item-trigger:hover {
  opacity: 0.55;
}

.drawer-nav-chevron {
  width: 18px;
  height: 18px;
  stroke: #666;
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-left: 10px;
  margin-bottom: 2px;
}

.drawer-nav-item.open .drawer-nav-chevron {
  transform: rotate(180deg);
}

.drawer-nav-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-nav-item.open .drawer-nav-submenu {
  max-height: 300px;
}

.drawer-nav-submenu-inner {
  padding: 2px 0 10px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 2px;
}

.drawer-nav-submenu-inner a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  line-height: 2.8;
  transition: color 0.2s;
}

.drawer-nav-submenu-inner a:hover {
  color: #111;
}

.drawer-top {
  display: flex;
  justify-content: flex-end;
  padding: 22px 22px 10px;
}

.drawer-arrow {
  background: none;
  border: none;
  cursor: pointer;
}

.drawer-arrow svg {
  width: 26px;
  height: 26px;
  stroke: #111;
}

.drawer-arrow:hover {
  opacity: 0.6;
}

.drawer-promo {
  position: relative;
  height: 280px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px 22px;
  flex-shrink: 0;
}

.drawer-promo-img {
  position: absolute;
  left: -40px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
}

.drawer-footer {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-footer a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: #111;
  text-decoration: none;
}

.drawer-footer svg {
  width: 22px;
  height: 22px;
  color: #111;
}

.drawer-promo-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.drawer-promo-cta .arrow {
  font-size: 18px;
  color: #333;
}

.drawer-promo-cta a {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
}

.drawer-promo-cta a:hover {
  opacity: 0.55;
}

/* ═══ SEARCH OVERLAY ═══ */
#search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: #fff;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

#search-overlay.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.search-overlay-top {
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 72px;
  border-bottom: 1px solid #e0ddd8;
  gap: 16px;
}

.search-overlay-top svg {
  flex-shrink: 0;
  stroke: #aaa;
  width: 18px;
  height: 18px;
}

#search-overlay-input {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #111;
  border: none;
  outline: none;
  background: transparent;
  text-transform: uppercase;
}

#search-overlay-input::placeholder {
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.search-overlay-close {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.search-overlay-close:hover {
  opacity: 1;
}

.search-overlay-close svg {
  width: 20px;
  height: 20px;
  stroke: #111;
  fill: none;
  stroke-width: 1.6;
}

.search-overlay-body {
  padding: 32px 40px 40px;
  display: grid;
  grid-template-columns: 200px auto;
  gap: 0 32px;
  justify-content: start;
}

.search-suggestions {
  flex-shrink: 0;
}

.search-suggestions-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 20px;
}

.search-suggestions-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.search-suggestion-link {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #222;
  text-decoration: none;
  line-height: 2.1;
  transition: opacity 0.18s;
}

.search-suggestion-link:hover {
  opacity: 0.45;
}

.search-products-preview {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.search-product-thumb {
  width: 130px;
  height: 160px;
  flex-shrink: 0;
  background: #f2ede4;
  overflow: hidden;
  position: relative;
}

.search-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.search-product-thumb:hover img {
  transform: scale(1.04);
}

body.search-open {
  overflow: hidden;
}

/* ═══ CART SLIDE-IN PANEL ═══ */
#cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

#cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

#cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 100vw;
  background: #faf9f6;
  z-index: 9000;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.50s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -6px 0 48px rgba(0, 0, 0, 0.13);
}

#cart-panel.open {
  transform: translate3d(0, 0, 0);
}

.cart-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px 32px 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  flex-shrink: 0;
}

.cart-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #111;
  line-height: 0.95;
  text-transform: uppercase;
}

.cart-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.40;
  transition: opacity 0.2s;
  flex-shrink: 0;
  margin-top: 6px;
}

.cart-panel-close:hover {
  opacity: 1;
}

.cart-panel-close svg {
  width: 18px;
  height: 18px;
  stroke: #111;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.cart-panel-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

.cart-panel-body::-webkit-scrollbar {
  width: 4px;
}

.cart-panel-body::-webkit-scrollbar-track {
  background: transparent;
}

.cart-panel-body::-webkit-scrollbar-thumb {
  background: #d4d2cc;
  border-radius: 2px;
}

.cart-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px 64px;
  text-align: center;
  gap: 28px;
}

.cart-empty-icon {
  width: 48px;
  height: 48px;
  opacity: 0.18;
}

.cart-empty-icon svg {
  width: 100%;
  height: 100%;
  stroke: #111;
  fill: none;
  stroke-width: 1.2;
}

.cart-empty-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
}

.cart-continue-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  border: 1.5px solid #111;
  padding: 15px 40px;
  transition: background 0.24s, color 0.24s;
  cursor: pointer;
  background: transparent;
}

.cart-continue-btn:hover {
  background: #111;
  color: #fff;
}

.cart-items-list {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: flex-start;
}

.cart-item-img-wrap {
  width: 90px;
  height: 112px;
  background: #f2ede4;
  overflow: hidden;
  flex-shrink: 0;
}

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

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}

.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #111;
  line-height: 1.1;
}

.cart-item-variant {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #999;
  text-transform: uppercase;
  margin-top: 2px;
}

.cart-item-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #111;
  margin-top: 6px;
}

.cart-item-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #d4d2cc;
}

.cart-qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #555;
  transition: background 0.18s, color 0.18s;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
}

.cart-qty-btn:hover {
  background: #111;
  color: #fff;
}

.cart-qty-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #111;
  min-width: 28px;
  text-align: center;
  padding: 0 4px;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  padding: 0;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: #ff2727;
}

.cart-item+.cart-item {
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.cart-panel-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  padding: 24px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cart-subtotal-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777;
}

.cart-subtotal-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.02em;
}

.cart-checkout-btn {
  width: 100%;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 18px 20px;
  transition: background 0.24s;
}

.cart-checkout-btn:hover {
  background: #2a2a2a;
}

.cart-shipping-note {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.10em;
  color: #bbb;
  text-align: center;
  text-transform: uppercase;
}

body.cart-open {
  overflow: hidden;
}

/* Wishlist uses SAME style as cart */
#wishlist-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s;
}

#wishlist-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

#wishlist-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 100vw;
  background: #faf9f6;
  z-index: 9000;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.5s cubic-bezier(.22, .61, .36, 1);
  display: flex;
  flex-direction: column;
}

#wishlist-panel.open {
  transform: translate3d(0, 0, 0);
}

/* ═══ LUNAR STRIP ═══ */
.lunar-strip {
  background: #f5f3ee;
  border-top: 1px solid #dddbd5;
  border-bottom: 1px solid #dddbd5;
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.ls-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(196, 147, 90, 0.55);
  text-align: center;
  padding: 0 24px;
}

.ls-phases-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.ls-phases-wrapper::-webkit-scrollbar {
  display: none;
}

.ls-phases {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: max-content;
  padding: 8px 60px 8px;
}

.ls-phase {
  flex: 0 0 160px;
  text-align: center;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s;
  position: relative;
  padding: 0 12px;
}

.ls-phase+.ls-phase::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 1px;
  height: 28px;
  background: rgba(196, 147, 90, 0.2);
}

.ls-phase.active {
  opacity: 1;
}

.ls-phase:hover {
  opacity: 0.8;
}

.ls-moon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.ls-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: #111;
  display: block;
  margin-bottom: 5px;
}

.ls-status {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(196, 147, 90, 0.55);
  display: block;
}

.ls-active-status {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C8A050;
  display: block;
}

/* ═══ NEWSLETTER ═══ */
.newsletter-section {
  background: #f5f3ee;
  padding: 44px 60px 36px;
  border-bottom: 1px solid #dddbd5;
}

.newsletter-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.newsletter-info-col {
  padding: 0 24px;
}

.newsletter-info-col+.newsletter-info-col {
  border-left: 1px solid #d4d2cc;
}

.newsletter-info-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 5px;
}

.newsletter-info-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #555;
  text-transform: uppercase;
}

.newsletter-info-sub a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.newsletter-form-wrap {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #aaa8a2;
  padding-bottom: 10px;
}

.newsletter-form-wrap .mail-icon {
  flex-shrink: 0;
  width: 24px;
  height: 18px;
  stroke: #666;
  fill: none;
  stroke-width: 1.3;
}

.newsletter-form-wrap input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #333;
}

.newsletter-form-wrap input[type="email"]::placeholder {
  color: #aaa;
}

.newsletter-submit {
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #111;
  transition: opacity 0.2s;
}

.newsletter-submit:hover {
  opacity: 0.5;
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: #f5f3ee;
  border-top: 1px solid #dddbd5;
  padding: 48px 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #dddbd5;
}

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #444;
  text-decoration: none;
  line-height: 2.0;
}

.footer-col a:hover {
  color: #111;
}

.footer-bottom {
  text-align: center;
  padding: 18px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #888;
}

/* ── Footer Accordion (mobile) ── */
.footer-accordion {
  display: none;
}

.footer-acc-item {
  border-bottom: 1px solid #dddbd5;
}

.footer-acc-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
}

.footer-acc-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer-acc-icon::before,
.footer-acc-icon::after {
  content: '';
  position: absolute;
  background: #111;
  border-radius: 1px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-acc-icon::before {
  width: 14px;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.footer-acc-icon::after {
  width: 1.5px;
  height: 14px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.footer-acc-item.open .footer-acc-icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.footer-acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-acc-item.open .footer-acc-body {
  max-height: 400px;
}

.footer-acc-body-inner {
  padding-bottom: 14px;
}

.footer-acc-body a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #444;
  text-decoration: none;
  line-height: 2.2;
}

.footer-acc-body a:hover {
  color: #111;
}

/* ═══════════════════════════════════════
   RESPONSIVE — SHARED COMPONENTS
═══════════════════════════════════════ */

/* Tablet breakpoint */
@media (max-width: 860px) {
  .header-inner {
    display: none !important;
  }

  .mobile-header-inner {
    display: flex !important;
  }

  #announcement {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 7px 16px;
  }

  .ann-left,
  .ann-right {
    display: none;
  }

  .ann-center {
    padding: 0;
  }

  .newsletter-section {
    padding: 36px 28px 28px;
  }

  .search-overlay-top {
    padding: 0 20px;
    height: 60px;
  }

  .search-overlay-body {
    grid-template-columns: 1fr;
    padding: 24px 20px 32px;
    gap: 28px 0;
    justify-content: stretch;
  }

  .search-suggestions-cols {
    grid-template-columns: 1fr 1fr;
  }

  .search-products-preview {
    gap: 6px;
  }

  .search-product-thumb {
    width: 100px;
    height: 125px;
  }

  /* Lunar */
  .ls-phases {
    justify-content: flex-start;
    padding: 8px 24px 16px;
  }

  .ls-phase {
    flex: 0 0 130px;
  }
}

/* =========================
   OVERLAY SAFETY FIX
========================= */
#search-overlay:not(.open),
#cart-backdrop:not(.open),
#wishlist-backdrop:not(.open),
#mobile-drawer:not(.open) {
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Mobile breakpoint */
@media (max-width: 680px) {
  .lunar-strip {
    padding: 44px 0;
    gap: 28px;
  }

  .ls-phases {
    padding: 8px 20px 16px;
  }

  .ls-phase {
    flex: 0 0 110px;
  }

  .ls-moon {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .ls-name {
    font-size: 13px;
  }

  .ls-status,
  .ls-active-status {
    font-size: 8px;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 600px) {
  .newsletter-section {
    padding: 32px 20px 24px;
  }

  .newsletter-info {
    grid-template-columns: 1fr;
    gap: 18px 0;
    max-width: 100%;
  }

  .newsletter-info-col+.newsletter-info-col {
    border-left: none;
    border-top: 1px solid #d4d2cc;
    padding-top: 18px;
  }

  .newsletter-form-wrap {
    max-width: 100%;
  }

  .site-footer {
    padding: 0 20px;
    border-top: 1px solid #dddbd5;
  }

  .footer-grid {
    display: none !important;
  }

  .footer-accordion {
    display: block;
  }

  .footer-bottom {
    border-top: 1px solid #dddbd5;
  }
}

@media (max-width: 480px) {
  #cart-panel {
    width: 100vw;
    right: 0;
    left: auto;
  }

  .cart-panel-header {
    padding: 28px 20px 18px;
  }

  .cart-panel-title {
    font-size: 36px;
  }

  .cart-items-list {
    padding: 20px 20px;
  }

  .cart-panel-footer {
    padding: 20px 20px 32px;
  }

  .search-product-thumb {
    width: 85px;
    height: 105px;
  }
}

/* ════════════════════════════════════════════════════════════════
   MAISON KARU — My Account
════════════════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.woocommerce-account .woocommerce {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 24px;
  font-family: 'Montserrat', sans-serif;
}

/* ── Page title ── */
.woocommerce-account h1.page-title,
.woocommerce-account h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  color: #0f0f0f;
  margin: 40px 24px 32px;
}

/* ── Navigation tabs ── */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #e2e0db;
  padding-bottom: 16px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  color: #0f0f0f;
}

/* ── Body text and links ── */
.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content address {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  line-height: 1.8;
  color: #555;
}

.woocommerce-account .woocommerce-MyAccount-content a {
  color: #0f0f0f;
  font-weight: 600;
}

/* ── Orders table ── */
.woocommerce-account .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.woocommerce-account .woocommerce-orders-table th {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  padding: 0 0 12px;
  border-bottom: 1px solid #e2e0db;
  text-align: left;
}

.woocommerce-account .woocommerce-orders-table td {
  padding: 16px 0;
  border-bottom: 1px solid #e2e0db;
  color: #0f0f0f;
}

.woocommerce-account .woocommerce-orders-table .button {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: #0f0f0f;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* ── Address section ── */
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0f0f0f;
  margin-bottom: 12px;
}

/* ── Edit address form fields ── */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields select {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #0f0f0f;
  background: #fff;
  border: 1px solid #ccc9c3;
  border-radius: 0;
  padding: 13px 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.18s;
  box-shadow: none;
  display: block;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields input:focus,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields select:focus {
  border-color: #0f0f0f;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields .form-row {
  margin-bottom: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields label {
  font-family: 'Montserrat', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  display: block;
  margin-bottom: 6px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields label .required {
  display: none;
}

/* ── Account details form fields ── */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row,
.woocommerce-account .woocommerce-MyAccount-content fieldset {
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-content label {
  font-family: 'Montserrat', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  display: block;
  margin-bottom: 6px;
}

.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"] {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #0f0f0f;
  background: #fff;
  border: 1px solid #ccc9c3;
  border-radius: 0;
  padding: 13px 14px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.18s;
  box-shadow: none;
  display: block;
}

.woocommerce-account .woocommerce-MyAccount-content input:focus {
  border-color: #0f0f0f;
}

/* ── Fieldset legend (Password change) ── */
.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0f0f0f;
  margin-bottom: 16px;
  padding: 0;
}

/* ── Save / submit buttons ── */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"] {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: #0f0f0f;
  color: #fff;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  border-radius: 0;
  margin-top: 8px;
  transition: background 0.18s;
}

.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover {
  background: #2a2a2a;
}

/* ── Order details page ── */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details {
  margin-bottom: 40px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0f0f0f;
  margin-bottom: 16px;
}

/* Order status line */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-overview,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-overview li {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  color: #555;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  line-height: 1.8;
}

/* Order details table */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details thead th {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  padding: 0 12px 12px 0;
  border-bottom: 1px solid #e2e0db;
  text-align: left;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tbody td,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot td {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid #e2e0db;
  color: #0f0f0f;
  vertical-align: middle;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr:last-child td {
  font-weight: 700;
  border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details .product-name a {
  color: #0f0f0f;
  text-decoration: none;
  font-weight: 500;
}

/* Billing address on order page */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  line-height: 1.9;
  color: #555;
  font-style: normal;
  border: 1px solid #e2e0db;
  padding: 20px 24px;
  margin-top: 12px;
}

/* ── Info notices ── */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  color: #555;
  border-left: 3px solid #7a6a5a;
  padding: 14px 16px;
  background: #faf9f6;
  list-style: none;
  margin: 0;
}

/* ════════════════════════════════════════
   MY ACCOUNT — LOGIN & REGISTER FORMS
════════════════════════════════════════ */

/* Hide WC's default "Login" h2 heading */
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account:not(.logged-in) .woocommerce > h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  color: #0f0f0f;
  margin-bottom: 32px;
  text-align: center;
}

/* Two-column login/register layout on desktop */
.woocommerce-account:not(.logged-in) .woocommerce {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 24px;
}

.woocommerce-account:not(.logged-in) .woocommerce .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 680px) {
  .woocommerce-account:not(.logged-in) .woocommerce .col2-set {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Section headings — Login / Register */
.woocommerce-account:not(.logged-in) .woocommerce h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0f0f0f;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e0db;
}

/* Form labels */
.woocommerce-account:not(.logged-in) .woocommerce label {
  font-family: 'Montserrat', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  display: block;
  margin-bottom: 6px;
}

.woocommerce-account:not(.logged-in) .woocommerce label .required {
  display: none;
}

/* Text inputs */
.woocommerce-account:not(.logged-in) .woocommerce input[type="text"],
.woocommerce-account:not(.logged-in) .woocommerce input[type="email"],
.woocommerce-account:not(.logged-in) .woocommerce input[type="password"] {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #0f0f0f;
  background: #fff;
  border: 1px solid #ccc9c3;
  border-radius: 0;
  padding: 13px 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.18s;
  box-shadow: none;
  display: block;
}

.woocommerce-account:not(.logged-in) .woocommerce input:focus {
  border-color: #0f0f0f;
}

/* Form row spacing */
.woocommerce-account:not(.logged-in) .woocommerce .form-row {
  margin-bottom: 16px;
}

/* Remember me checkbox row */
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #888;
  text-transform: none;
  cursor: pointer;
  margin-bottom: 20px;
}

.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form__label-for-checkbox input {
  width: 14px;
  height: 14px;
  accent-color: #0f0f0f;
  flex-shrink: 0;
}

/* Login / Register buttons */
.woocommerce-account:not(.logged-in) .woocommerce button[type="submit"],
.woocommerce-account:not(.logged-in) .woocommerce input[type="submit"] {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: #0f0f0f;
  color: #fff;
  border: none;
  padding: 16px 32px;
  cursor: pointer;
  border-radius: 0;
  width: 100%;
  transition: background 0.18s;
  margin-top: 4px;
}

.woocommerce-account:not(.logged-in) .woocommerce button[type="submit"]:hover,
.woocommerce-account:not(.logged-in) .woocommerce input[type="submit"]:hover {
  background: #2a2a2a;
}

/* Lost password link */
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-LostPassword a,
.woocommerce-account:not(.logged-in) .woocommerce a {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  color: #888;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-account:not(.logged-in) .woocommerce a:hover {
  color: #0f0f0f;
}

/* Privacy notice text on register form */
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-privacy-policy-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  color: #aaa;
  line-height: 1.7;
  margin-top: 16px;
}
/* ── Register form — password notice text ── */
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-privacy-policy-text,
.woocommerce-account:not(.logged-in) .woocommerce p:not(.woocommerce-form-row) {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ── My Account — mobile responsive ── */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce {
    margin: 32px auto;
    padding: 0 16px;
  }

  /* Page title */
  .woocommerce-account h1.page-title {
    font-size: 28px;
    margin: 24px 16px 20px;
  }

  /* Navigation tabs — scroll horizontally */
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 20px;
    padding-bottom: 14px;
    margin-bottom: 28px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li {
    flex-shrink: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a {
    font-size: 8.5px;
    white-space: nowrap;
  }

  /* Content area */
  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 0;
  }

  /* Orders table — horizontal scroll on mobile */
  .woocommerce-account .woocommerce-orders-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 10px;
  }

  .woocommerce-account .woocommerce-orders-table th,
  .woocommerce-account .woocommerce-orders-table td {
    padding: 12px 8px 12px 0;
    white-space: nowrap;
  }

  /* Address form fields full width */
  .woocommerce-account .woocommerce-MyAccount-content input[type="text"],
  .woocommerce-account .woocommerce-MyAccount-content input[type="email"],
  .woocommerce-account .woocommerce-MyAccount-content input[type="password"],
  .woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
  .woocommerce-account .woocommerce-MyAccount-content select {
    max-width: 100%;
  }

  /* Two-column address grid collapses */
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address {
    width: 100%;
    margin-bottom: 24px;
  }

  /* Login/Register forms on mobile */
  .woocommerce-account:not(.logged-in) .woocommerce .col2-set {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Buttons full width */
  .woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
  .woocommerce-account .woocommerce-MyAccount-content input[type="submit"] {
    width: 100%;
    padding: 16px 24px;
  }

  /* Dashboard text */
  .woocommerce-account .woocommerce-MyAccount-content p {
    font-size: 10.5px;
    line-height: 1.85;
  }

  /* Order details table on mobile */
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-details {
    display: block;
    overflow-x: auto;
  }

  /* Billing address on order page */
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address {
    padding: 16px;
  }

  /* Info notices */
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
    font-size: 10px;
    padding: 12px 14px;
  }
}

/* ═══════════════════════════════════════
   MAISON KARU — Reset Password
═══════════════════════════════════════ */
.woocommerce-lost-password,
.woocommerce-reset-password {
  max-width: 520px;
  margin: 120px auto 100px;
  padding: 0 24px;
  font-family: 'Montserrat', sans-serif;
}

.woocommerce-lost-password h1,
.woocommerce-reset-password h1,
.woocommerce-lost-password h2,
.woocommerce-reset-password h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500;
  line-height: 0.95;
  color: #111;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.woocommerce-lost-password p,
.woocommerce-reset-password p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 22px;
}

.woocommerce-lost-password label,
.woocommerce-reset-password label {
  display: block;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
}

.woocommerce-lost-password input[type="password"],
.woocommerce-lost-password input[type="text"],
.woocommerce-lost-password input[type="email"],
.woocommerce-reset-password input[type="password"],
.woocommerce-reset-password input[type="text"],
.woocommerce-reset-password input[type="email"] {
  width: 100%;
  height: 54px;
  border: 1px solid #d8d5cf;
  background: #fff;
  padding: 0 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #111;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 18px;
  transition: border-color 0.2s ease;
}

.woocommerce-lost-password input:focus,
.woocommerce-reset-password input:focus {
  border-color: #111;
}

.woocommerce-lost-password button[type="submit"],
.woocommerce-reset-password button[type="submit"],
.woocommerce-lost-password .button,
.woocommerce-reset-password .button {
  width: 100%;
  height: 56px;
  border: none;
  background: #111;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.woocommerce-lost-password button:hover,
.woocommerce-reset-password button:hover {
  opacity: 0.82;
}

.woocommerce-password-strength {
  margin-top: -8px;
  margin-bottom: 18px;
  font-size: 11px;
  color: #777;
}

@media (max-width: 600px) {
  .woocommerce-lost-password,
  .woocommerce-reset-password {
    margin: 90px auto 70px;
    padding: 0 20px;
  }

  .woocommerce-lost-password h1,
  .woocommerce-reset-password h1 {
    font-size: 52px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MAISON KARU — Lost Password & Reset Password Page Fix
   
   These are WooCommerce endpoints on the My Account page, not
   separate pages. WC adds body classes we can target:
   
   Lost password:   .woocommerce-account + URL contains lost-password endpoint
   Set password:    .woocommerce-account + body has reset-password query
   New account set: .woocommerce-account + ?action=newaccount
   
   The safest cross-version selector is the data WC puts on <body>:
   - Lost password page renders .woocommerce-lost-password class on the form
   - Reset password page renders .woocommerce-ResetPassword on the form
   
   We detect these by checking if those form classes exist inside
   .woocommerce using the :has() selector (supported in all modern browsers),
   OR we use the woocommerce-account body class + JS to add a helper class.
═══════════════════════════════════════════════════════════════ */

/* ── Strategy 1: CSS :has() — hides chrome when the password forms are present ── */

/* Lost Password page */
body.woocommerce-account:has(.woocommerce-ResetPassword.lost_reset_password:not([action*="reset_password"])),
body.woocommerce-account:has(form.lost_reset_password) {
  --pw-page: 1;
}

/* Both lost + reset password forms share .lost_reset_password class */
body.woocommerce-account:has(form.lost_reset_password) #header-wrapper,
body.woocommerce-account:has(form.lost_reset_password) .lunar-strip,
body.woocommerce-account:has(form.lost_reset_password) .newsletter-section,
body.woocommerce-account:has(form.lost_reset_password) .site-footer {
  display: none !important;
}

/* ── Minimal centered layout when on password pages ── */
body.woocommerce-account:has(form.lost_reset_password) {
  background: #faf9f6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.woocommerce-account:has(form.lost_reset_password) .woocommerce-account {
  flex: 1;
}

/* Hide WC my-account nav tabs on password pages */
body.woocommerce-account:has(form.lost_reset_password) .woocommerce-MyAccount-navigation,
body.woocommerce-account:has(form.lost_reset_password) h1.page-title {
  display: none !important;
}

/* Center the form content */
body.woocommerce-account:has(form.lost_reset_password) .woocommerce {
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 80px 24px 100px !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.woocommerce-account:has(form.lost_reset_password) .woocommerce-MyAccount-content {
  padding: 0 !important;
}

/* ── Strategy 2: JS-added helper class (fallback for older browsers) ──
   The JS snippet below adds .karu-pw-page to <body> when it detects
   the password form. Add the snippet to karu-shared.js or inline in footer. */

body.karu-pw-page #header-wrapper,
body.karu-pw-page .lunar-strip,
body.karu-pw-page .newsletter-section,
body.karu-pw-page .site-footer {
  display: none !important;
}

body.karu-pw-page .woocommerce-MyAccount-navigation,
body.karu-pw-page h1.page-title {
  display: none !important;
}

body.karu-pw-page .woocommerce {
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 80px 24px 100px !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.karu-pw-page .woocommerce-MyAccount-content {
  padding: 0 !important;
}

/* ── Fake minimal header (logo only) on password pages ── */
body.karu-pw-page::before,
body.woocommerce-account:has(form.lost_reset_password)::before {
  content: '';
  /* The logo is injected via JS — this just reserves the header space */
}

/* Injected logo header */
.karu-pw-logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: #faf9f6;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.karu-pw-logo-bar img {
  height: 28px;
  width: auto;
  display: block;
}

body.karu-pw-page .woocommerce,
body.woocommerce-account:has(form.lost_reset_password) .woocommerce {
  padding-top: 120px !important; /* account for fixed logo bar */
}

/* ── My Account Dashboard ── */
.karu-dashboard {
    padding: 0;
}

.karu-dashboard-welcome {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: #111;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
}

.karu-dashboard-welcome strong {
    font-weight: 500;
}

.karu-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.karu-dashboard-card {
    border: 1px solid #e2e0db;
    padding: 24px 28px;
}

.karu-dashboard-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e0db;
}

.karu-dash-order {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0ede8;
}

.karu-dash-order-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.karu-dash-order-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #111;
    letter-spacing: 0.04em;
}

.karu-dash-order-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    color: #999;
    letter-spacing: 0.04em;
}

.karu-dash-order-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.karu-dash-order-status {
    font-family: 'Montserrat', sans-serif;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a6a5a;
}

.karu-dash-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    transition: opacity 0.18s;
}

.karu-dash-link:hover {
    opacity: 0.5;
}

.karu-dash-all {
    display: inline-block;
    margin-top: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #111;
    text-decoration: none;
    transition: opacity 0.18s;
}

.karu-dash-all:hover {
    opacity: 0.5;
}

.karu-dash-empty {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: #999;
    margin: 0 0 12px;
}

.karu-dash-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0ede8;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #444;
    text-decoration: none;
    transition: color 0.18s;
}

.karu-dash-nav-link:hover {
    color: #111;
}

.karu-dash-logout {
    color: #999;
    border-bottom: none;
}

.karu-dash-logout:hover {
    color: #111;
}

@media (max-width: 600px) {
    .karu-dashboard-grid {
        grid-template-columns: 1fr;
    }
}