/* ================================================
   LWANG BLACK — ECOMMERCE UI STYLES
   Region banner, cart drawer, checkout, admin
   ================================================ */

/* ── Region Banner (Redesigned as Floating Pill) ─────────────────────────────── */
#lb-region-banner {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(0);
  width: max-content;
  max-width: 90vw;
  z-index: 99999;
  background: rgba(10, 11, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.lb-region-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: nowrap;
}
.lb-region-icon { font-size: 1.1rem; line-height: 1; }
.lb-region-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.lb-region-text strong { color: #fff; font-weight: 500; margin-left: 0.3rem;}
.lb-region-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
  transition: all 0.3s ease;
}
.lb-region-select:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
.lb-region-select option { background: #0a0b0a; color: #fff; }
.lb-region-select:focus { border-color: #2e624c; }
.lb-region-close {
  background: transparent; border: none; color: rgba(255,255,255,0.4);
  cursor: pointer; font-size: 1rem; padding: 0.2rem; margin-left: 0.2rem;
  transition: color 0.2s, transform 0.2s;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lb-region-close:hover { color: #fff; transform: scale(1.1); }


/* Center logo by making both nav-link groups flex: 1 */
body .site-nav > .nav-links:nth-of-type(1) {
  flex: 1;
  justify-content: flex-start;
}
body .site-nav > .nav-links:nth-of-type(2) {
  flex: 1;
  justify-content: flex-end;
}
body .nav-brand {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

/* ── Cart Icon in Nav ──────────────────────────── */
.lb-cart-icon-btn {
  position: relative;
  background: transparent; border: none;
  color: var(--text-primary, #fff);
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: background 0.3s;
}
.lb-cart-icon-btn:hover { background: rgba(255,255,255,0.1); }
.lb-cart-icon-btn svg { display: block; }

#lb-cart-count {
  position: absolute; top: -4px; right: -4px;
  background: #2e624c; color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex !important; align-items: center; justify-content: center;
  line-height: 1;
}

/* ── Cart Overlay ──────────────────────────────── */
.lb-cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0);
  z-index: 9998;
  pointer-events: none;
  transition: background 0.4s;
}
.lb-cart-overlay.show {
  background: rgba(0,0,0,0.65);
  pointer-events: all;
}

/* ── Cart Drawer ───────────────────────────────── */
.lb-cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: #0a0b0a;
  border-left: 1px solid rgba(255,255,255,0.08);
  z-index: 99990;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
  overflow: hidden;
  padding-top: 80px; /* clear region banner (40px) + nav (~40px) */
}
.lb-cart-drawer.open { transform: translateX(0); }

.lb-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.8rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.lb-cart-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; letter-spacing: 3px;
  font-weight: 600; color: #fff;
}
.lb-cart-close-btn {
  background: transparent; border: none; color: rgba(255,255,255,0.5);
  font-size: 1.1rem; cursor: pointer; padding: 0.2rem;
  transition: color 0.2s; line-height: 1;
}
.lb-cart-close-btn:hover { color: #fff; }

.lb-cart-body {
  flex: 1; overflow-y: auto;
  padding: 1.5rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.lb-cart-body::-webkit-scrollbar { width: 3px; }
.lb-cart-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.lb-cart-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 100%; gap: 1rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Inter', sans-serif; font-size: 0.85rem;
}
.lb-cart-empty svg { stroke: rgba(255,255,255,0.2); }

.lb-cart-item {
  display: flex; gap: 1.2rem;
  padding-bottom: 1.5rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lb-cart-item img {
  width: 72px; height: 72px;
  object-fit: cover; border-radius: 8px;
  flex-shrink: 0; background: #1a1a1a;
}
.lb-cart-item-info { flex: 1; min-width: 0; }
.lb-cart-item-name {
  font-family: 'EB Garamond', serif;
  font-size: 1rem; margin-bottom: 0.3rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lb-cart-item-price {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem; color: rgba(255,255,255,0.7);
  margin-bottom: 0.6rem;
}
.lb-cart-qty-row {
  display: flex; align-items: center; gap: 0.6rem;
}
.lb-qty-btn {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; width: 26px; height: 26px;
  border-radius: 50%; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; line-height: 1;
}
.lb-qty-btn:hover { background: rgba(255,255,255,0.15); }
.lb-qty-num {
  font-family: 'Inter', sans-serif; font-size: 0.8rem;
  min-width: 20px; text-align: center;
}
.lb-cart-remove {
  background: transparent; border: none; color: rgba(255,255,255,0.3);
  font-family: 'Inter', sans-serif; font-size: 0.65rem;
  letter-spacing: 1px; cursor: pointer; margin-left: auto;
  text-transform: uppercase; text-decoration: underline;
  transition: color 0.2s;
}
.lb-cart-remove:hover { color: rgba(255,255,255,0.7); }

.lb-cart-footer {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  background: rgba(0,0,0,0.5);
}
.lb-cart-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif; font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}
.lb-cart-subtotal strong { color: #fff; font-size: 1rem; }
.lb-cart-note {
  font-family: 'Inter', sans-serif; font-size: 0.65rem;
  color: rgba(255,255,255,0.3); letter-spacing: 1px; margin-bottom: 1.5rem;
}
.lb-checkout-btn {
  width: 100%; text-align: center;
  padding: 1rem; font-size: 0.72rem; letter-spacing: 2px;
}
.lb-checkout-btn.lb-blocked {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.4);
  cursor: not-allowed;
}

/* ── Region Availability Badge ─────────────────── */
.lb-region-unavailable {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
  margin-top: 1rem;
}
.lb-region-unavailable svg { opacity: 0.4; }
.lb-available-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Inter', sans-serif; font-size: 0.62rem;
  letter-spacing: 1px; color: #2e624c;
  text-transform: uppercase; margin-bottom: 0.5rem;
}

/* ── Toast override for errors ─────────────────── */
#cartToast.error { background: #8b2020; }

/* ── Checkout Page ─────────────────────────────── */
.co-page { min-height: 100vh; padding: 8rem 5vw 6rem; }
.co-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  max-width: 1100px; margin: 0 auto;
  align-items: start;
}
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr; } }

.co-steps {
  display: flex; gap: 0; margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.co-step {
  flex: 1; padding: 1rem 0; text-align: center;
  font-family: 'Inter', sans-serif; font-size: 0.6rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.co-step.active { color: #fff; border-bottom-color: #fff; }
.co-step.done { color: #2e624c; border-bottom-color: #2e624c; }

.co-section { display: none; }
.co-section.active { display: block; }

.co-label {
  font-family: 'Inter', sans-serif; font-size: 0.6rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.7); /* Improved contrast from 0.4 */
  display: block; margin-bottom: 0.5rem;
}
.co-input {
  width: 100%; padding: 0.9rem 0;
  border: none; border-bottom: 1px solid rgba(255,255,255,0.15);
  background: transparent; color: #fff;
  font-family: 'Montserrat', sans-serif; font-size: 0.9rem;
  outline: none; margin-bottom: 1.8rem;
  transition: border-color 0.3s;
}
.co-input:focus { border-bottom-color: #fff; }
.co-input::placeholder { color: rgba(255,255,255,0.25); font-size: 0.8rem; }

.co-select {
  width: 100%; padding: 0.9rem 0;
  border: none; border-bottom: 1px solid rgba(255,255,255,0.15);
  background: transparent; color: #fff;
  font-family: 'Montserrat', sans-serif; font-size: 0.9rem;
  outline: none; cursor: pointer; margin-bottom: 1.8rem;
  -webkit-appearance: none; appearance: none;
}
.co-select option { background: #0a0b0a; }

.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .co-row { grid-template-columns: 1fr; gap: 0; } }

.co-shipping-option {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 1.2rem 1.5rem; cursor: pointer; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color 0.3s, background 0.3s;
}
.co-shipping-option:hover { border-color: rgba(255,255,255,0.3); }
.co-shipping-option.selected {
  border-color: #2e624c;
  background: rgba(46,98,76,0.1);
}
.co-shipping-left { display: flex; align-items: center; gap: 1rem; }
.co-shipping-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.co-shipping-option.selected .co-shipping-radio {
  border-color: #2e624c;
  background: #2e624c;
}
.co-shipping-option.selected .co-shipping-radio::after {
  content: ''; width: 6px; height: 6px;
  background: #fff; border-radius: 50%;
}
.co-shipping-label { font-family: 'Montserrat', sans-serif; font-size: 0.8rem; }
.co-shipping-carrier {
  font-family: 'Inter', sans-serif; font-size: 0.6rem;
  letter-spacing: 1px; color: rgba(255,255,255,0.4); text-transform: uppercase;
  margin-top: 0.2rem;
}
.co-shipping-price {
  font-family: 'EB Garamond', serif; font-size: 1.2rem;
}

.co-btn-next {
  background: #fff; color: #0a0b0a;
  border: none; border-radius: 50px;
  padding: 1rem 2.5rem;
  font-family: 'Inter', sans-serif; font-size: 0.7rem;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; margin-top: 1rem;
  transition: transform 0.2s, background 0.2s;
}
.co-btn-next:hover { transform: translateY(-2px); background: #e0e0e0; }
.co-btn-back {
  background: transparent; border: none; color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif; font-size: 0.65rem; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; margin-right: 1rem;
  text-decoration: underline; padding: 0;
  transition: color 0.2s;
}
.co-btn-back:hover { color: #fff; }

/* PayPal & Payment */
.co-payment-methods { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.co-pay-btn {
  flex: 1; min-width: 140px; padding: 1rem;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  background: transparent; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: 'Inter', sans-serif; font-size: 0.7rem; letter-spacing: 1px;
  text-transform: uppercase; transition: all 0.3s;
}
.co-pay-btn.active { border-color: #2e624c; background: rgba(46,98,76,0.1); }
.co-pay-btn:hover { border-color: rgba(255,255,255,0.3); }
.co-paypal-btn {
  background: #0070BA; border: none; border-radius: 50px;
  color: #fff; padding: 1rem 2rem; width: 100%;
  font-family: 'Inter', sans-serif; font-size: 0.8rem;
  letter-spacing: 1px; cursor: pointer; margin-top: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  transition: background 0.3s;
}
.co-paypal-btn:hover { background: #005ea6; }

/* Order Summary Sidebar */
.co-summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 2rem;
  position: sticky; top: 130px;
}
.co-summary-title {
  font-family: 'Inter', sans-serif; font-size: 0.65rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.8); /* Improved contrast from 0.5 */
  margin-bottom: 1.5rem;
}
.co-summary-item {
  display: flex; gap: 1rem; margin-bottom: 1.2rem;
  align-items: center;
}
.co-summary-item img {
  width: 52px; height: 52px; object-fit: cover;
  border-radius: 6px; background: #1a1a1a;
}
.co-summary-item-name {
  font-family: 'EB Garamond', serif; font-size: 0.95rem;
  flex: 1; line-height: 1.3;
}
.co-summary-item-qty {
  font-family: 'Inter', sans-serif; font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
}
.co-summary-item-price {
  font-family: 'Inter', sans-serif; font-size: 0.85rem;
}
.co-summary-divider { border-top: 1px solid rgba(255,255,255,0.08); margin: 1.5rem 0; }
.co-summary-line {
  display: flex; justify-content: space-between;
  font-family: 'Inter', sans-serif; font-size: 0.78rem;
  color: rgba(255,255,255,0.6); margin-bottom: 0.8rem;
}
.co-summary-total {
  display: flex; justify-content: space-between;
  font-family: 'EB Garamond', serif; font-size: 1.4rem;
  margin-top: 1rem;
}
.co-summary-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem;
}
.co-badge {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 50px;
  padding: 0.3rem 0.8rem;
  font-family: 'Inter', sans-serif; font-size: 0.58rem;
  letter-spacing: 1px; text-transform: uppercase; 
  color: rgba(255,255,255,0.7); /* Improved contrast from 0.4 */
  display: flex; align-items: center; gap: 0.3rem;
}

/* Region blocked checkout */
.co-region-block {
  text-align: center; padding: 3rem 2rem;
  border: 1px solid rgba(255,80,80,0.2); border-radius: 12px;
  background: rgba(255,80,80,0.05);
}
.co-region-block h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.co-region-block p {
  font-family: 'Inter', sans-serif; font-size: 0.8rem;
  color: rgba(255,255,255,0.5); margin-bottom: 1.5rem;
}

/* ── Admin Dashboard ───────────────────────────── */
.adm-page {
  min-height: 100vh;
  background: #060708;
  color: #fff;
  font-family: 'Inter', sans-serif;
}
.adm-sidebar {
  position: fixed; top: 0; left: 0;
  width: 240px; height: 100vh;
  background: #0a0b0a;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  padding: 2rem 0;
  z-index: 100;
}
.adm-logo {
  padding: 0 1.8rem; margin-bottom: 2rem;
  font-family: 'EB Garamond', serif; font-size: 1.2rem; font-weight: 400;
}
.adm-logo span { display: block; font-family: 'Inter', sans-serif; font-size: 0.55rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 0.2rem; }
.adm-nav-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 1.8rem; cursor: pointer;
  font-size: 0.78rem; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.adm-nav-item:hover { color: #fff; background: rgba(255,255,255,0.04); }
.adm-nav-item.active { color: #fff; border-left-color: #2e624c; background: rgba(46,98,76,0.08); }
.adm-nav-item svg { flex-shrink: 0; opacity: 0.7; }
.adm-nav-item.active svg { opacity: 1; }

.adm-main {
  margin-left: 240px;
  padding: 2.5rem 3rem;
  min-height: 100vh;
}
.adm-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2.5rem;
}
.adm-page-title { font-family: 'EB Garamond', serif; font-size: 2rem; font-weight: 400; }
.adm-badge-alert {
  background: rgba(255,100,100,0.15); color: #ff6464;
  border: 1px solid rgba(255,100,100,0.3);
  border-radius: 50px; padding: 0.4rem 1rem;
  font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.4rem;
}

/* Stat Cards */
.adm-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem; margin-bottom: 2.5rem;
}

.adm-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}
.adm-stat:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.15); }
.adm-stat-label { font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.8rem; }
.adm-stat-value { font-family: 'EB Garamond', serif; font-size: 2.2rem; line-height: 1; }
.adm-stat-change { font-size: 0.65rem; margin-top: 0.5rem; }
.adm-stat-change.up { color: #4caf87; }
.adm-stat-change.down { color: #ff6464; }

.adm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.adm-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
@media (max-width: 900px) { .adm-grid2, .adm-grid3 { grid-template-columns: 1fr; } }

.adm-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 1.8rem;
}
.adm-card-title {
  font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.adm-card canvas { max-height: 220px; }

/* Orders Table */
.adm-table-wrap { overflow-x: auto; }
.adm-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.78rem;
}
.adm-table th {
  font-size: 0.58rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); font-weight: 500;
  padding: 0.8rem 1rem; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.adm-table td {
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.8);
}
.adm-table tr:hover td { background: rgba(255,255,255,0.02); }
.adm-status {
  padding: 0.25rem 0.7rem; border-radius: 50px;
  font-size: 0.6rem; letter-spacing: 1px; text-transform: uppercase;
  display: inline-block;
}
.adm-status.pending  { background: rgba(255,180,0,0.15); color: #ffb400; }
.adm-status.paid     { background: rgba(76,175,135,0.15); color: #4caf87; }
.adm-status.shipped  { background: rgba(100,160,255,0.15); color: #64a0ff; }
.adm-status.delivered{ background: rgba(76,175,135,0.25); color: #4caf87; border: 1px solid rgba(76,175,135,0.3); }

/* Alert Cards */
.adm-alert-card {
  border: 1px solid rgba(255,165,0,0.3);
  background: rgba(255,165,0,0.05);
  border-radius: 10px; padding: 1.2rem 1.5rem;
  margin-bottom: 1rem; display: flex;
  align-items: center; gap: 1rem;
}
.adm-alert-card.critical { border-color: rgba(255,100,100,0.4); background: rgba(255,100,100,0.05); }
.adm-alert-icon { font-size: 1.3rem; flex-shrink: 0; }
.adm-alert-text h4 { font-size: 0.82rem; margin-bottom: 0.2rem; }
.adm-alert-text p { font-size: 0.7rem; color: rgba(255,255,255,0.5); }

/* Section visibility */
.adm-section { display: none; }
.adm-section.active { display: block; }

/* Profit bars */
.adm-profit-bar-wrap { margin-bottom: 1rem; }
.adm-profit-bar-label {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: rgba(255,255,255,0.6); margin-bottom: 0.4rem;
}
.adm-profit-bar-bg {
  height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden;
}
.adm-profit-bar {
  height: 100%; border-radius: 4px;
  transition: width 1s cubic-bezier(0.16,1,0.3,1);
}

/* Login overlay */
.adm-login-overlay {
  position: fixed; inset: 0;
  background: #060708;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.adm-login-box {
  width: 380px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 3rem;
  background: rgba(255,255,255,0.02);
  text-align: center;
}
.adm-login-box h2 { font-family: 'EB Garamond', serif; font-size: 1.8rem; margin-bottom: 0.5rem; }
.adm-login-box p { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-bottom: 2rem; }
.adm-login-err { color: #ff6464; font-size: 0.7rem; margin-top: 0.5rem; min-height: 1rem; }

/* Responsive admin */
@media (max-width: 768px) {
  .adm-sidebar { width: 100%; height: auto; position: relative; flex-direction: row; padding: 0; overflow-x: auto; }
  .adm-logo { display: none; }
  .adm-main { margin-left: 0; padding: 1.5rem; }
  .adm-nav-item { border-left: none; border-bottom: 2px solid transparent; padding: 0.8rem 1.2rem; white-space: nowrap; }
  .adm-nav-item.active { border-left: none; border-bottom-color: #2e624c; }
}

/* ── Order Confirmation Page ───────────────────── */
.conf-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 5vw;
}
.conf-box {
  max-width: 540px; width: 100%;
  text-align: center;
}
.conf-checkmark {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(46,98,76,0.15);
  border: 1px solid rgba(46,98,76,0.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
  animation: popIn 0.6s cubic-bezier(0.16,1,0.3,1);
}
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.conf-order-id {
  font-family: 'Inter', sans-serif; font-size: 0.65rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 0.5rem;
}
.conf-tracking {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 2rem; margin: 2rem 0; text-align: left;
}
.conf-tracking-step {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem 0; position: relative;
}
.conf-step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2e624c; flex-shrink: 0;
}
.conf-step-dot.pending { background: rgba(255,255,255,0.15); }
.conf-step-text { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.conf-step-text.done { color: #fff; }

/* ── Product Details Page ──────────────────────── */
.product-page-wrap {
  min-height: 100vh;
  padding: 8rem 5vw 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Main Split View */
.pp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}
@media (max-width: 900px) {
  .pp-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Image Side */
.pp-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  aspect-ratio: 4/5;
}
.pp-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}
.pp-image-wrap:hover .pp-image {
  transform: scale(1.05);
}

/* Details Side */
.pp-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pp-breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.pp-breadcrumb a {
  color: #2e624c;
  text-decoration: none;
}
.pp-breadcrumb a:hover { text-decoration: underline; }

.pp-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.pp-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 2rem;
}
.pp-price {
  font-family: 'EB Garamond', serif;
  font-size: 2.2rem;
  color: #fff;
}
.pp-tax-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

.pp-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
}

/* Actions */
.pp-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.pp-qty-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.3rem;
  width: max-content;
}
.pp-qty-btn {
  background: transparent;
  border: none;
  color: #fff;
  width: 40px; height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
}
.pp-qty-btn:hover { background: rgba(255,255,255,0.05); border-radius: 4px; }
.pp-qty-input {
  background: transparent;
  border: none;
  color: #fff;
  width: 40px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
}
.pp-qty-input::-webkit-outer-spin-button, 
.pp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pp-add-btn {
  flex: 1;
  min-width: 200px;
  padding: 1.2rem;
}

.pp-unavailable-box {
  background: rgba(255,100,100,0.1);
  border: 1px dashed rgba(255,100,100,0.4);
  color: #ff6464;
  padding: 1.5rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  display: flex; gap: 0.5rem; align-items: center;
}

/* Trust Badges */
.pp-trust {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Recommendations Section */
.pp-recommendations {
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 4rem;
}
.pp-recommendations h3 {
  font-family: 'EB Garamond', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* ── Variant Buttons (Global pill design) ── */
.variant-options { display: flex; gap: 0.6rem; margin-top: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.variant-btn {
  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  color: #a0aab2;
  padding: 0.6rem 1.2rem;
  font-size: 0.65rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.15s cubic-bezier(0.16,1,0.3,1);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.variant-btn:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.variant-btn.selected { background: #fff; color: #002347; border-color: #fff; font-weight: 600; }

