/* ═══════════════════════════════════════════════════════════════════
   KAKOARA ACCOUNT OVERLAY — Centered Modal Auth
   Injected into any page via kakoara-account-overlay.js
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Overlay Container (Backdrop + Flex Centering) ─── */
.kb-account-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  animation: acBackdropIn 0.3s ease-out;
}
.kb-account-overlay.is-open { display: flex; }

@keyframes acBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Modal Box ─── */
.ac-modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 960px;
  max-height: 85vh;
  max-height: 85dvh;
  background: #F5F0E8;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: acModalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes acModalIn {
  from { opacity: 0; transform: scale(0.93) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════
   SPLIT SCREEN CONTAINER (inside modal)
   ═══════════════════════════════════════════════════════════════════ */
.ac-split {
  display: flex;
  flex: 1;
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

/* ═══ COMPACT TOP BAR (inside modal) ═══ */
.ac-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: linear-gradient(180deg, rgba(26,26,26,0.55) 0%, transparent 100%);
  pointer-events: none;
}
.ac-topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.ac-topbar__logo {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.9;
}
.ac-topbar__brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.ac-topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
}
.ac-topbar__link {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.ac-topbar__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--logo-teal, #33C9BA);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ac-topbar__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.ac-topbar__link:hover::after {
  width: 60%;
}
.ac-topbar__link:active {
  transform: translateY(0) scale(0.96);
}
.ac-topbar__shop {
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.ac-topbar__shop::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212,168,83,0.3), rgba(200,148,59,0.1));
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ac-topbar__shop:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--logo-teal, #33C9BA);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 16px rgba(212,168,83,0.2);
}
.ac-topbar__shop:hover::before {
  opacity: 1;
}
.ac-topbar__shop:active {
  transform: translateY(0) scale(0.97);
}

/* ─── Topbar entrance stagger animation ─── */
.ac-topbar__left {
  animation: acSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.ac-topbar__right {
  animation: acSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.ac-topbar__right > * {
  animation: acFadeUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.ac-topbar__right > *:nth-child(1) { animation-delay: 0.2s; }
.ac-topbar__right > *:nth-child(2) { animation-delay: 0.25s; }
.ac-topbar__right > *:nth-child(3) { animation-delay: 0.3s; }
.ac-topbar__right > *:nth-child(4) { animation-delay: 0.35s; }

@keyframes acSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.ac-topbar__close {
  pointer-events: auto;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-topbar__close:hover {
  color: #fff;
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════════
   LEFT PANEL — Brand Experience
   ═══════════════════════════════════════════════════════════════════ */
.ac-brand {
  flex: 0 0 52%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A1A1A;
}

.ac-brand__carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ac-brand__slide {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.ac-brand__slide.is-active { opacity: 1; }
.ac-brand__slide:nth-child(2) { object-position: center 40%; }
.ac-brand__slide:nth-child(3) { object-position: center 50%; }

.ac-brand__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,26,0.15) 0%,
    rgba(26,26,26,0.4) 40%,
    rgba(26,26,26,0.85) 100%
  );
  z-index: 1;
}

.ac-carousel__dots {
  position: absolute;
  bottom: 24px;
  left: 60px;
  z-index: 4;
  display: flex;
  gap: 10px;
}
.ac-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ac-carousel__dot.is-active {
  background: #fff;
  width: 28px;
  border-radius: 4px;
}

.ac-brand__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}
.ac-brand__orb--1 {
  width: 400px;
  height: 400px;
  background: #C8943B;
  top: -10%;
  right: -15%;
  animation: acOrbFloat 12s ease-in-out infinite;
}
.ac-brand__orb--2 {
  width: 300px;
  height: 300px;
  background: #B84A62;
  bottom: -10%;
  left: -10%;
  animation: acOrbFloat 16s ease-in-out infinite reverse;
}
.ac-brand__orb--3 {
  width: 200px;
  height: 200px;
  background: var(--logo-teal, #33C9BA);
  top: 40%;
  right: 20%;
  animation: acOrbFloat 10s ease-in-out infinite 2s;
}

@keyframes acOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.ac-float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.15;
  animation: acFloatDrift 20s ease-in-out infinite;
}
.ac-float--diamond {
  width: 24px;
  height: 24px;
  border: 2px solid #D4A853;
  transform: rotate(45deg);
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}
.ac-float--circle {
  width: 40px;
  height: 40px;
  border: 1px solid #F5F0E8;
  border-radius: 50%;
  top: 65%;
  right: 10%;
  animation-delay: 3s;
}
.ac-float--dot {
  width: 8px;
  height: 8px;
  background: var(--logo-teal, #33C9BA);
  border-radius: 50%;
  top: 35%;
  left: 60%;
  animation-delay: 6s;
}
.ac-float--ring {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(245,240,232,0.8);
  border-radius: 50%;
  top: 15%;
  right: 25%;
  animation-delay: 9s;
}
.ac-float--ring-inner {
  width: 30px;
  height: 30px;
  border: 1px solid #D4A853;
  border-radius: 50%;
  top: 75%;
  left: 30%;
  animation-delay: 2s;
}

@keyframes acFloatDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
  25% { transform: translateY(-20px) rotate(5deg); opacity: 0.2; }
  50% { transform: translateY(10px) rotate(-3deg); opacity: 0.12; }
  75% { transform: translateY(-10px) rotate(2deg); opacity: 0.18; }
}

.ac-brand__content {
  position: relative;
  z-index: 3;
  padding: 60px;
  max-width: 520px;
  text-align: left;
  align-self: flex-end;
  width: 100%;
}

.ac-brand__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--logo-teal, #33C9BA);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: acFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.ac-brand__label::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--logo-teal, #33C9BA);
}

.ac-brand__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(20px);
  animation: acFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
.ac-brand__title em {
  font-style: italic;
  color: var(--logo-teal, #33C9BA);
}

.ac-brand__desc {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 380px;
  opacity: 0;
  transform: translateY(20px);
  animation: acFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.ac-brand__pillars {
  display: flex;
  gap: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: acFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}
.ac-brand__pillar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ac-brand__pillar-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--logo-teal, #33C9BA);
  font-feature-settings: 'tnum';
}
.ac-brand__pillar-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes acFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════
   RIGHT PANEL — Authentication
   ═══════════════════════════════════════════════════════════════════ */
.ac-auth {
  flex: 0 0 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F0E8;
  padding: 40px;
  overflow-y: auto;
  position: relative;
}

.ac-auth::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 28px;
  background: rgba(245,240,232,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 8px 32px rgba(26,26,26,0.06);
  pointer-events: none;
}

.ac-auth__container {
  width: 100%;
  max-width: 420px;
  position: relative;
}

.ac-auth__logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.ac-auth__logo {
  width: 40px;
  height: auto;
}
.ac-auth__logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}

/* ─── Tab Switcher ─── */
.ac-tabs {
  display: flex;
  gap: 4px;
  background: rgba(26,26,26,0.08);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 28px;
  position: relative;
}
.ac-tabs__pill {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 11px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(26,26,26,0.6);
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.ac-tabs__pill.is-active {
  color: #1A1A1A;
  background: #fff;
  box-shadow: 0 2px 8px rgba(26,26,26,0.08);
}
.ac-tabs__pill:hover:not(.is-active) { color: #1A1A1A; }

/* ─── Forms Container ─── */
.ac-forms {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.ac-form {
  width: 100%;
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ac-form--login {
  opacity: 1;
  transform: translateX(0);
}
.ac-form--signup {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
}
.ac-forms.is-signup .ac-form--login {
  opacity: 0;
  transform: translateX(-30px);
  pointer-events: none;
}
.ac-forms.is-signup .ac-form--signup {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

/* ─── Form Elements ─── */
.ac-form__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 6px;
  line-height: 1.2;
}
.ac-form__sub {
  font-size: 0.85rem;
  color: rgba(26,26,26,0.6);
  margin: 0 0 24px;
  line-height: 1.5;
}

.ac-field {
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ac-field.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.ac-field__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.ac-field__input-wrap {
  position: relative;
}
.ac-field__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid rgba(212,201,184,0.3);
  border-radius: 14px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #1A1A1A;
  outline: none;
  transition: border-color 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.ac-field__input:focus {
  border-color: var(--logo-teal, #33C9BA);
  box-shadow: 0 0 0 4px rgba(51, 201, 186, 0.15);
}
.ac-field__input::placeholder { color: rgba(26,26,26,0.4); }
.ac-field__input.error {
  border-color: #C0392B;
  box-shadow: 0 0 0 4px rgba(192,57,43,0.1);
}
.ac-field__error {
  font-size: 0.72rem;
  color: #C0392B;
  margin-top: 4px;
  display: none;
}
.ac-field__error.is-visible { display: block; }

.ac-field__toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(26,26,26,0.4);
  padding: 4px;
  font-size: 0.8rem;
  transition: color 200ms;
  -webkit-tap-highlight-color: transparent;
}
.ac-field__toggle:hover { color: #1A1A1A; }

.ac-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 14px;
  background: #2A3B5C;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms, background 300ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.ac-btn:hover {
  background: #1f2d47;
  box-shadow: 0 8px 24px rgba(42,59,92,0.25);
}
.ac-btn:active { transform: scale(0.98); }
.ac-btn.is-loading { pointer-events: none; opacity: 0.8; }
.ac-btn__spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: acSpin 0.6s linear infinite;
}
.ac-btn.is-loading .ac-btn__spinner { display: block; }
.ac-btn.is-loading .ac-btn__text { display: none; }
@keyframes acSpin { to { transform: rotate(360deg); } }

.ac-form__footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(26,26,26,0.6);
}
.ac-form__footer a {
  color: #2A3B5C;
  font-weight: 600;
  cursor: pointer;
  transition: color 200ms;
}
.ac-form__footer a:hover { color: var(--logo-teal, #33C9BA); }

.ac-form__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: #D4C9B8;
  font-size: 0.72rem;
  font-weight: 500;
}
.ac-form__divider::before,
.ac-form__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(212,201,184,0.3);
}

.ac-form__whatsapp {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 14px;
  background: #25D366;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms;
  -webkit-tap-highlight-color: transparent;
}
.ac-form__whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}
.ac-form__whatsapp:active { transform: scale(0.98); }

.ac-form__security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.7rem;
  color: rgba(26,26,26,0.4);
}
.ac-form__security svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ─── OAuth Buttons ─── */
.ac-oauth {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.ac-oauth__btn {
  width: 100%;
  height: 48px;
  border: 1.5px solid rgba(212,201,184,0.3);
  border-radius: 14px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1A1A1A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 200ms;
  -webkit-tap-highlight-color: transparent;
}
.ac-oauth__btn:hover {
  border-color: rgba(26,26,26,0.4);
  box-shadow: 0 4px 12px rgba(26,26,26,0.06);
}
.ac-oauth__btn:active { transform: scale(0.98); }
.ac-oauth__btn svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════
   DASHBOARD — Authenticated (inside modal)
   ═══════════════════════════════════════════════════════════════════ */
.ac-dashboard {
  display: none;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  background: #F5F0E8;
  flex: 0 0 48%;
}
.ac-dashboard.is-visible { display: flex; }

.ac-dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 14px;
  border-bottom: 1px solid rgba(212,201,184,0.3);
}
.ac-dash-greeting__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(26,26,26,0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ac-dash-greeting__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-top: 2px;
}
.ac-dash-signout {
  padding: 8px 18px;
  border: 1px solid rgba(212,201,184,0.3);
  border-radius: 20px;
  background: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(26,26,26,0.6);
  cursor: pointer;
  transition: all 200ms;
}
.ac-dash-signout:hover {
  border-color: #C0392B;
  color: #C0392B;
}

.ac-dash-body {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
}

.ac-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.ac-dash-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(26,26,26,0.04);
  transition: transform 200ms, box-shadow 300ms;
}
.ac-dash-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,26,0.08);
}
.ac-dash-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #fff;
  font-size: 1rem;
}
.ac-dash-card__icon--indigo { background: #2A3B5C; }
.ac-dash-card__icon--sage { background: var(--logo-teal, #33C9BA); }
.ac-dash-card__icon--ochre { background: #C8943B; }
.ac-dash-card__icon--magenta { background: #B84A62; }

.ac-dash-card__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 4px;
}
.ac-dash-card__sub {
  font-size: 0.72rem;
  color: rgba(26,26,26,0.6);
  margin: 0 0 12px;
  line-height: 1.4;
}
.ac-dash-card__link {
  font-size: 0.72rem;
  font-weight: 600;
  color: #2A3B5C;
  cursor: pointer;
  transition: color 200ms;
  text-decoration: none;
}
.ac-dash-card__link:hover { color: var(--logo-teal, #33C9BA); }

.ac-dash-empty {
  text-align: center;
  padding: 32px 0;
  color: rgba(26,26,26,0.6);
}

.ac-dash-orders {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(26,26,26,0.04);
}
.ac-dash-orders__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 12px;
}
.ac-dash-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26,26,26,0.08);
}
.ac-dash-order:last-child { border-bottom: none; }
.ac-dash-order__info { flex: 1; }
.ac-dash-order__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 2px;
}
.ac-dash-order__status {
  font-size: 0.7rem;
  color: #7A9E7E;
  font-weight: 500;
}
.ac-dash-order__price {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1A1A1A;
}

/* ═══════════════════════════════════════════════════════════════════
   NOTIFICATION TOAST
   ═══════════════════════════════════════════════════════════════════ */
.ac-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10001;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(26,26,26,0.15);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1A1A1A;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 3px solid var(--logo-teal, #33C9BA);
  max-width: 360px;
  pointer-events: none;
}
.ac-notification.is-visible { transform: translateX(0); }
.ac-notification--error { border-left-color: #C0392B; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .kb-account-overlay { padding: 16px; }
  .ac-modal { max-width: 100%; border-radius: 16px; max-height: 90vh; max-height: 90dvh; }
  .ac-topbar { padding: 12px 20px; }
  .ac-dash-top { padding: 16px 20px; flex-wrap: wrap; gap: 8px; }
  .ac-dash-greeting__name { font-size: 1.2rem; }
  .ac-dash-body { padding: 16px 20px; }
  .ac-dash-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 768px) {
  .ac-modal { border-radius: 12px; max-height: 92vh; max-height: 92dvh; }
  .ac-split { flex-direction: column; min-height: 0; }
  .ac-brand { flex: 0 0 30vh; min-height: 220px; }
  .ac-auth { flex: 1; padding: 20px 20px 28px; align-items: flex-start; }
  .ac-dashboard { flex: 1; width: 100%; }
  .ac-brand__content { padding: 24px 24px; align-self: flex-end; }
  .ac-brand__title { font-size: 1.6rem; }
  .ac-brand__pillars { gap: 14px; }
  .ac-brand__pillar-num { font-size: 1.1rem; }
  .ac-brand__orb--1 { width: 180px; height: 180px; }
  .ac-brand__orb--2 { width: 130px; height: 130px; }
  .ac-brand__orb--3 { display: none; }
  .ac-float--ring, .ac-float--diamond, .ac-float--ring-inner { display: none; }
  .ac-carousel__dots { left: 20px; bottom: 14px; }
  .ac-auth__logo-wrap { margin-bottom: 16px; }
  .ac-auth__container { max-width: 100%; }
  .ac-topbar { padding: 10px 16px; }
  .ac-topbar__link { font-size: 0.7rem; padding: 4px 10px; }
  .ac-topbar__shop { padding: 5px 12px; font-size: 0.7rem; }
  .ac-dash-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ac-dash-top { padding: 14px 16px; }
  .ac-dash-greeting__name { font-size: 1.1rem; }
  .ac-dash-body { padding: 14px 16px; }
}

@media (max-width: 480px) {
  .kb-account-overlay { padding: 8px; }
  .ac-modal { border-radius: 10px; max-height: 95vh; max-height: 95dvh; }
  .ac-brand { flex: 0 0 26vh; min-height: 180px; }
  .ac-brand__content { padding: 20px 16px; }
  .ac-brand__title { font-size: 1.3rem; }
  .ac-brand__desc { font-size: 0.78rem; margin-bottom: 14px; display: none; }
  .ac-brand__pillar-num { font-size: 0.9rem; }
  .ac-brand__pillar-label { font-size: 0.6rem; }
  .ac-brand__label { font-size: 0.6rem; margin-bottom: 10px; }
  .ac-auth { padding: 14px 14px 20px; }
  .ac-auth::before { inset: 8px; border-radius: 16px; }
  .ac-tabs { margin-bottom: 16px; }
  .ac-tabs__pill { font-size: 0.8rem; padding: 10px 14px; }
  .ac-form__title { font-size: 1.2rem; }
  .ac-form__sub { font-size: 0.8rem; margin-bottom: 16px; }
  .ac-field { margin-bottom: 12px; }
  .ac-field__input { height: 44px; font-size: 0.82rem; }
  .ac-btn { height: 46px; font-size: 0.82rem; }
  .ac-forms { min-height: 240px; }
  .ac-topbar { padding: 8px 12px; }
  .ac-topbar__link { font-size: 0.65rem; padding: 3px 8px; display: none; }
  .ac-topbar__shop { padding: 4px 10px; font-size: 0.65rem; }
  .ac-dash-top { padding: 10px 12px; }
  .ac-dash-greeting__name { font-size: 1rem; }
  .ac-dash-body { padding: 10px 12px; }
  .ac-dash-grid { grid-template-columns: 1fr; gap: 8px; }
  .ac-dash-card { padding: 12px; }
  .ac-dash-card__title { font-size: 0.75rem; }
  .ac-dash-card__sub { font-size: 0.65rem; }
  .ac-dash-orders { padding: 14px; }
  .ac-notification { top: 12px; right: 12px; left: 12px; max-width: none; }
}

@media (max-width: 380px) {
  .ac-modal { border-radius: 8px; }
  .ac-brand { flex: 0 0 22vh; min-height: 150px; }
  .ac-tabs__pill { font-size: 0.75rem; padding: 8px 10px; }
  .ac-forms { min-height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  .ac-brand__orb, .ac-float { animation: none !important; }
  .ac-form--login, .ac-form--signup { transition: none !important; }
  .ac-forms.is-signup .ac-form--login { opacity: 0; }
  .ac-forms.is-signup .ac-form--signup { opacity: 1; position: relative; }
  .ac-field { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   PHONE AUTH — OTP Flow
   ═══════════════════════════════════════════════════════════════════ */
.ac-auth-phone {
  position: relative;
}

.ac-step-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.ac-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  transition: all 0.4s;
}
.ac-step-dot.is-active {
  background: #C9A96E;
  box-shadow: 0 0 16px rgba(201,169,110,0.5);
  width: 28px;
  border-radius: 4px;
}

.ac-phone-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.ac-phone-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.ac-country-code {
  padding: 14px 16px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #C9A96E;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}
.ac-phone-input {
  flex: 1;
  padding: 14px 16px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 14px;
  color: #1A1A1A;
  outline: none;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.ac-phone-input:focus {
  border-color: #C9A96E;
  background: rgba(201,169,110,0.04);
  box-shadow: 0 0 20px rgba(201,169,110,0.08);
}
.ac-phone-input::placeholder { color: #999; }

.ac-otp-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-align: center;
}
.ac-otp-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}
.ac-otp-input {
  width: 46px;
  height: 54px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  background: rgba(0,0,0,0.02);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  color: #1A1A1A;
  outline: none;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.ac-otp-input:focus {
  border-color: #C9A96E;
  background: rgba(201,169,110,0.06);
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(201,169,110,0.1);
}
.ac-otp-input.is-filled {
  border-color: #C9A96E;
  background: rgba(201,169,110,0.1);
}
.ac-otp-resend {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
}
.ac-otp-resend a {
  color: #C9A96E;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.ac-otp-resend a:hover { text-decoration: underline; }
.ac-timer { color: #999; }

.ac-btn--phone {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #2d241e, #4a3830);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}
.ac-btn--phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(45,36,30,0.35);
}
.ac-btn--phone:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.ac-btn--phone .ac-btn__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: acSpin 0.8s linear infinite;
  display: none;
}
.ac-btn--phone.is-loading .ac-btn__spinner { display: block; }
.ac-btn--phone.is-loading .ac-btn__text { display: none; }

@keyframes acSpin { to { transform: rotate(360deg); } }

.ac-back-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: transparent;
  color: #666;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
  text-align: center;
}
.ac-back-btn:hover {
  border-color: #C9A96E;
  color: #C9A96E;
}

.ac-phone-terms {
  text-align: center;
  margin-top: 24px;
  font-size: 11px;
  color: #999;
  line-height: 1.6;
}
.ac-phone-terms a {
  color: #C9A96E;
  text-decoration: none;
}
.ac-phone-terms a:hover { text-decoration: underline; }

.ac-dash-card {
  text-decoration: none;
  display: block;
}

@media (max-width: 720px) {
  .ac-otp-input { width: 38px; height: 46px; font-size: 18px; border-radius: 10px; }
  .ac-otp-inputs { gap: 6px; }
}
@media (max-width: 380px) {
  .ac-otp-inputs { gap: 4px; }
  .ac-otp-input { width: 32px; height: 40px; font-size: 16px; }
}
