/* ══════════════════════════════
   KUMOU STANDARDIZED DRAWERS
   (Profile/Account + Cart)
   ══════════════════════════════ */

/* ── CART DRAWER ── */

/* Badge on nav Cart button */
.cart-badge {
  display: inline;
  color: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1);
}

.cart-badge.bump {
  transform: scale(1.2);
}

/* Overlay */
#cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(10, 8, 6, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#cart-overlay.cart-open {
  opacity: 1;
  pointer-events: all;
}

/* Drawer panel */
#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 8100;
  width: 420px;
  max-width: 100vw;
  background: #f5f2ee;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.14);
}

#cart-drawer.cart-open {
  transform: translateX(0);
}

/* ── DRAWER HEADER ── */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.cart-header-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.cart-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: #1a1714;
}

.cart-count-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(26, 23, 20, 0.4);
}

.cart-close {
  width: 34px;
  height: 34px;
  background: rgba(26, 23, 20, 0.07);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 23, 20, 0.5);
  font-size: 16px;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.cart-close:hover {
  background: var(--red);
  color: #fff;
}

/* ── ITEMS LIST ── */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

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

.cart-items::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  animation: cartItemIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartItemIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #ede9e3;
  border-radius: 10px;
  padding: 6px;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1714;
  line-height: 1.2;
}

.cart-item-variant {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  color: rgba(26, 23, 20, 0.45);
  margin-top: 3px;
}

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

.cart-item-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1a1714;
  letter-spacing: 0.04em;
}

/* Qty stepper */
.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.cart-qty button {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #1a1714;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', sans-serif;
}

.cart-qty button:hover {
  background: rgba(0, 0, 0, 0.06);
}

.cart-qty-num {
  min-width: 28px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1714;
  letter-spacing: 0.05em;
}

/* Remove */
.cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(26, 23, 20, 0.3);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  border-radius: 4px;
}

.cart-remove:hover {
  color: var(--red);
}

/* ── EMPTY STATE ── */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  text-align: center;
  gap: 16px;
}

.cart-empty-icon {
  width: 64px;
  height: 64px;
  background: rgba(204, 28, 28, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cart-empty-icon svg {
  color: var(--red);
}

.cart-empty-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.05em;
  color: #1a1714;
}

.cart-empty-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: rgba(26, 23, 20, 0.45);
  line-height: 1.6;
}

.cart-empty-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: #1a1714;
  color: #f5f2ee;
  border: none;
  padding: 13px 32px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.25s;
}

.cart-empty-btn:hover {
  background: var(--red);
}

/* ── ORDER SUMMARY (sticky bottom) ── */
.cart-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  padding: 20px 28px 28px;
  background: #f5f2ee;
}

/* Free-shipping minimal line */
.cart-free-shipping-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a1714;
}

.cart-free-shipping-line svg {
  color: #2a8a4a;
}

/* Coupon row */
.cart-coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.cart-coupon-input {
  flex: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  background: transparent;
  color: #1a1714;
  outline: none;
  transition: border-color 0.2s;
}

.cart-coupon-input::placeholder {
  text-transform: none;
  letter-spacing: 0.05em;
  color: rgba(26, 23, 20, 0.35);
}

.cart-coupon-input:focus {
  border-color: #1a1714;
}

.cart-coupon-input.applied {
  border-color: #2a8a4a;
  background: rgba(42, 138, 74, 0.05);
}

.cart-coupon-input.error {
  border-color: var(--red);
}

.cart-coupon-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #1a1714;
  color: #f5f2ee;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cart-coupon-btn:hover {
  background: var(--red);
}

.cart-coupon-msg {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  margin-bottom: 12px;
  margin-top: -10px;
  padding-left: 2px;
  display: none;
}

.cart-coupon-msg.success {
  display: block;
  color: #2a8a4a;
}

.cart-coupon-msg.fail {
  display: block;
  color: var(--red);
}

/* Totals */
.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(26, 23, 20, 0.55);
}

.cart-total-row.discount {
  color: #2a8a4a;
}

.cart-total-row.final {
  font-size: 18px;
  font-weight: 700;
  color: #1a1714;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  margin-top: 4px;
}

/* CTA buttons */
.cart-checkout-btn {
  display: block;
  width: 100%;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: #1a1714;
  color: #f5f2ee;
  border: none;
  padding: 17px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s, transform 0.18s;
  margin-bottom: 10px;
}

.cart-checkout-btn:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.cart-checkout-btn:active {
  transform: translateY(0);
}

/* Add to cart pulse */
@keyframes cartPulse {
  0% { box-shadow: 0 0 0 0 rgba(204, 28, 28, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(204, 28, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 28, 28, 0); }
}

.drop-btn.adding {
  animation: cartPulse 0.55s ease-out;
}


/* ── PROFILE / ACCOUNT DRAWER ── */

/* Grouped nav buttons — bordered box on the right */
.nav-btn-group {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  border: 1px solid rgba(26, 23, 20, 0.18);
  border-radius: 10px;
  overflow: hidden;
}

.nav-btn-divider {
  width: 1px;
  height: 20px;
  background: rgba(26, 23, 20, 0.15);
  flex-shrink: 0;
}

#nav-profile-btn,
.nav-profile-style {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s;
  margin-left: 0;
  vertical-align: middle;
  white-space: nowrap;
}

#nav-profile-btn:hover,
.nav-profile-style:hover {
  background: rgba(26, 23, 20, 0.05);
}

/* Overlay */
#profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(10, 8, 6, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#profile-overlay.profile-open {
  opacity: 1;
  pointer-events: all;
}

/* Drawer panel */
#profile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 8100;
  width: 420px;
  max-width: 100vw;
  background: #f5f2ee;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

#profile-drawer.profile-open {
  transform: translateX(0);
}

/* ── Drawer Header ── */
.pd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.pd-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: #1a1714;
}

.pd-close {
  width: 34px;
  height: 34px;
  background: rgba(26, 23, 20, 0.07);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 23, 20, 0.5);
  font-size: 16px;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.pd-close:hover {
  background: var(--red);
  color: #fff;
}

/* Scrollable body */
.pd-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

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

.pd-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

/* ── Login input & button ── */
.pd-section {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.pd-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26, 23, 20, 0.4);
  margin-bottom: 14px;
}

.pd-input {
  width: 100%;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  padding: 13px 16px;
  background: transparent;
  color: #1a1714;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.pd-input:focus {
  border-color: #1a1714;
}

.pd-input::placeholder {
  color: rgba(26, 23, 20, 0.38);
  letter-spacing: 0.04em;
}

.pd-btn-primary {
  display: block;
  width: 100%;
  margin-top: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: #1a1714;
  color: #f5f2ee;
  border: none;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s, transform 0.18s;
  position: relative;
  overflow: hidden;
}

.pd-btn-primary:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.pd-btn-primary:active {
  transform: translateY(0);
}

.pd-btn-primary .pd-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pdSpin 0.7s linear infinite;
  margin: 0 auto;
}

.pd-btn-primary.loading span.pd-btn-text {
  display: inline-block;
  opacity: 0.7;
}

.pd-btn-primary.loading .pd-spinner {
  display: block;
}

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

/* OTP / magic-link step */
#pd-step-otp {
  display: none;
  margin-top: 14px;
}

#pd-step-otp.visible {
  display: block;
}

.pd-otp-label {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  color: rgba(26, 23, 20, 0.5);
  margin-bottom: 10px;
  line-height: 1.6;
}

.pd-otp-row {
  display: flex;
  gap: 8px;
}

.pd-otp-input {
  flex: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  letter-spacing: 0.35em;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  padding: 12px 8px;
  background: transparent;
  color: #1a1714;
  outline: none;
  transition: border-color 0.2s;
}

.pd-otp-input:focus {
  border-color: #1a1714;
}

.pd-success-msg {
  display: none;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  color: #2a8a4a;
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(42, 138, 74, 0.07);
  border-radius: 8px;
}

.pd-success-msg.visible {
  display: block;
}

.pd-error-msg {
  display: none;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  color: var(--red);
  margin-top: 8px;
}

.pd-error-msg.visible {
  display: block;
}


/* ── Social buttons ── */
.pd-input-group {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  transition: border-color 0.2s;
  margin-bottom: 12px;
}
.pd-input-group:focus-within {
  border-color: #1a1714;
}
.pd-input-prefix {
  padding: 0 0 0 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1a1714;
  display: flex;
  align-items: center;
  height: 46px;
}
.pd-input-group input {
  border: none !important;
  padding-left: 8px !important;
  flex: 1;
}

.pd-social-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: rgba(26, 23, 20, 0.3);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pd-social-divider::before,
.pd-social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

/* ── Promo banner ── */
.pd-promo-banner {
  margin: 0 28px 24px;
  background: linear-gradient(135deg, rgba(204, 28, 28, 0.07) 0%, rgba(204, 28, 28, 0.03) 100%);
  border: 1px solid rgba(204, 28, 28, 0.18);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pd-promo-icon {
  width: 36px;
  height: 36px;
  background: rgba(204, 28, 28, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}

.pd-promo-text {
  flex: 1;
}

.pd-promo-text strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a1714;
  text-transform: uppercase;
}

.pd-promo-text span {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  color: rgba(26, 23, 20, 0.5);
}

/* ── Logged-in avatar block ── */
.pd-avatar-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.pd-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1714 0%, #3a3430 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: #f5f2ee;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.pd-avatar-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1714;
}

.pd-avatar-email {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  color: rgba(26, 23, 20, 0.45);
  margin-top: 2px;
}

/* ── Menu list ── */
.pd-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.pd-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.18s;
}

.pd-menu-item:hover {
  background: rgba(26, 23, 20, 0.04);
}

.pd-menu-item svg {
  color: rgba(26, 23, 20, 0.45);
  flex-shrink: 0;
  transition: color 0.18s;
}

.pd-menu-item:hover svg {
  color: #1a1714;
}

.pd-menu-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1714;
  flex: 1;
}

.pd-menu-arrow {
  color: rgba(26, 23, 20, 0.25);
  transition: color 0.18s;
}

.pd-menu-item:hover .pd-menu-arrow {
  color: #1a1714;
}

/* ── Order tracking sub-panel ── */
#pd-track-panel {
  display: none;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(26, 23, 20, 0.02);
  animation: pdSlideDown 0.25s ease;
}

#pd-track-panel.visible {
  display: block;
}

@keyframes pdSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.pd-track-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.pd-track-status {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: none;
}

.pd-track-status.visible { display: block; }
.pd-track-status.success { background: rgba(42, 138, 74, 0.08); color: #2a8a4a; }
.pd-track-status.fail { background: rgba(204, 28, 28, 0.08); color: var(--red); }

/* ── Drawer footer ── */
.pd-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pd-footer-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 23, 20, 0.55);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  text-align: left;
}

.pd-footer-btn:hover {
  color: #1a1714;
  background: rgba(26, 23, 20, 0.04);
}

.pd-footer-btn.logout {
  color: rgba(204, 28, 28, 0.7);
}

.pd-footer-btn.logout:hover {
  color: var(--red);
  background: rgba(204, 28, 28, 0.05);
}

@media (max-width: 600px) {
  #cart-drawer {
    width: 100vw;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
  #profile-drawer {
    width: 100vw;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
}

/* ══════════════════════════════
   MOBILE BOTTOM NAV BAR
   ══════════════════════════════ */
.mob-nav-bar {
  display: none;
  position: fixed;
  bottom: 0;
  top: auto !important;
  left: 0;
  right: 0;
  background: rgba(245, 242, 238, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 8500;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.04);
}

.mob-nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 64px;
}

.mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: rgba(26, 23, 20, 0.4);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.mob-nav-item.active {
  color: #1a1714;
}

.mob-nav-item.active .mob-nav-label {
  font-weight: 700;
}

.mob-nav-icon {
  position: relative;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mob-nav-item:active .mob-nav-icon {
  transform: scale(0.85);
}

.mob-nav-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

.mob-nav-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background: var(--red);
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #f5f2ee;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mob-nav-badge.visible {
  transform: scale(1);
}

@media (max-width: 768px) {
  .mob-nav-bar {
    display: flex;
  }

  /* Ensure page ends above nav */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }
}
