/* ============================================================
   Les Studios de Gabriel — Plateforme Photos Scolaires
   Style principal
   ============================================================ */

:root {
  --gold: #C5A253;
  --gold-d: #a8863e;
  --gold-lt: #fdf8ee;
  --gold-border: #e8d9b0;
  --navy: #1e3a54;
  --navy2: #16304a;
  --blue: #3a8fd9;
  --blue-lt: #eaf3fb;
  --blue-link: #2a7abf;
  --bg: #f2f5f8;
  --white: #ffffff;
  --gray: #f7f8fa;
  --gray2: #e8edf2;
  --gray3: #d0d8e0;
  --text: #1a2733;
  --text2: #4a6070;
  --text3: #8098aa;
  --green: #27ae60;
  --green-bg: #edfaf3;
  --red: #c0392b;
  --red-bg: #fdf0ee;
  --orange: #e67e22;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

a { color: var(--blue-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  transition: .15s;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: var(--gold-d); color: #fff; text-decoration: none; }

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold-lt); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--gray3);
  color: var(--text2);
}
.btn-ghost:hover { background: var(--gray); }

.btn-danger {
  background: var(--red-bg);
  border: 1px solid #f0c0bb;
  color: var(--red);
}

.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }

/* ============================================================
   PARENT PAGES — HEADER
   ============================================================ */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray2);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.brand-sub {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Steps bar */
.steps-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray2);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text3);
  flex: 1;
}

.step.active { color: var(--gold); }
.step.done { color: var(--green); }

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--gray2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  background: var(--white);
  color: var(--text3);
}

.step.active .step-num {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.step.done .step-num {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.step-connector {
  height: 1px;
  background: var(--gray2);
  flex: 1;
  margin: 0 8px;
}

.step-connector.done { background: var(--green); }

/* ============================================================
   LOGIN PAGE
   ============================================================ */

.login-wrap {
  min-height: calc(100vh - 57px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
}

.login-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gold-lt);
  border: 1.5px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
  color: var(--gold-d);
}

.login-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.login-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 24px;
  line-height: 1.6;
}

.coupon-hint {
  background: var(--gold-lt);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.coupon-hint-icon { font-size: 20px; flex-shrink: 0; }
.coupon-hint-label { font-size: 10px; font-weight: 700; color: var(--gold-d); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.coupon-hint-text { font-size: 12px; color: var(--text2); line-height: 1.5; }

/* ============================================================
   FORMS
   ============================================================ */

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 5px;
}

.form-label .optional {
  color: var(--text3);
  font-weight: 400;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  border: 1.5px solid var(--gray2);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: .15s;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,162,83,.12);
}

.form-control.code-field {
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
}

.form-hint { font-size: 11px; color: var(--text3); margin-top: 4px; }

.alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-error { background: var(--red-bg); border: 1px solid #f0c0bb; color: var(--red); }
.alert-success { background: var(--green-bg); border: 1px solid #a8dbbf; color: var(--green); }
.alert-info { background: var(--blue-lt); border: 1px solid #cce4f5; color: var(--blue-link); }

/* ============================================================
   GALLERY PAGE
   ============================================================ */

.gallery-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray2);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.child-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-lt);
  border: 2px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.gallery-title { font-size: 16px; font-weight: 600; }
.gallery-meta { font-size: 12px; color: var(--text3); margin-top: 2px; }

.gallery-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 0;
  flex: 1;
  overflow: hidden;
}

.photos-panel {
  padding: 20px;
  overflow-y: auto;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.photo-card {
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: .15s;
  background: var(--gray);
  position: relative;
}

.photo-card:hover { border-color: var(--gold-border); }
.photo-card.selected { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(197,162,83,.25); }

.photo-card img {
  width: 100%;
  aspect-ratio: 3/4;
  display: block;
  object-fit: cover;
}

.photo-thumb-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--gray2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 28px;
}

.photo-info {
  padding: 7px 10px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.photo-price { color: var(--gold); font-weight: 600; }

.selected-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: .15s;
}

.photo-card.selected .selected-check { opacity: 1; }

.class-photo-card {
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: .15s;
  background: var(--gray);
  position: relative;
  max-width: 360px;
  margin-bottom: 24px;
}

.class-photo-card:hover { border-color: var(--gold-border); }
.class-photo-card.selected { border-color: var(--gold); }
.class-photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* Products panel */
.products-panel {
  background: var(--white);
  border-left: 1px solid var(--gray2);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.panel-section { padding: 16px; }
.panel-section + .panel-section { border-top: 1px solid var(--gray2); }

.panel-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 12px;
}

.product-card {
  border: 1.5px solid var(--gray2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: .15s;
  position: relative;
}

.product-card:hover { border-color: var(--gold-border); background: var(--gold-lt); }
.product-card.in-cart { border-color: var(--gold); background: var(--gold-lt); }

.product-preview {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 7px;
  margin-bottom: 8px;
  background: var(--gray);
  overflow: hidden;
}

.product-preview img { width: 100%; height: 100%; object-fit: cover; }

.product-name { font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.product-desc { font-size: 11px; color: var(--text3); margin-bottom: 8px; line-height: 1.4; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-size: 14px; font-weight: 700; color: var(--gold); }

/* Cart bar */
.cart-bar {
  background: var(--white);
  border-top: 1px solid var(--gray2);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}

.cart-bar-summary { font-size: 13px; color: var(--text2); }
.cart-bar-total { font-size: 17px; font-weight: 700; color: var(--gold); }

/* ============================================================
   CART PAGE
   ============================================================ */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  min-height: calc(100vh - 120px);
}

.cart-items-panel {
  padding: 24px;
  border-right: 1px solid var(--gray2);
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray2);
  align-items: flex-start;
}

.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--gray2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text3);
}

.cart-info { flex: 1; min-width: 0; }
.cart-name { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.cart-type { font-size: 12px; color: var(--text3); margin-bottom: 6px; }
.cart-remove { font-size: 11px; color: var(--red); cursor: pointer; }
.cart-remove:hover { text-decoration: underline; }
.cart-price { font-size: 14px; font-weight: 700; flex-shrink: 0; }

.checkout-panel { padding: 24px; background: var(--bg); }

.checkout-section { margin-bottom: 20px; }
.checkout-section-title { font-size: 12px; font-weight: 600; color: var(--text2); margin-bottom: 10px; }

.coupon-row { display: flex; gap: 8px; }
.coupon-row .form-control { flex: 1; }

.coupon-applied {
  background: var(--green-bg);
  border: 1px solid #a8dbbf;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--green);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.coupon-applied-remove { cursor: pointer; color: var(--red); }

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  color: var(--text2);
}

.summary-discount { color: var(--green); }

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 700;
  padding: 14px 0 0;
  border-top: 2px solid var(--gray2);
  margin-top: 8px;
}

.summary-total span:last-child { color: var(--gold); }

.secure-badge {
  text-align: center;
  font-size: 11px;
  color: var(--text3);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* ============================================================
   CONFIRMATION PAGE
   ============================================================ */

.confirm-wrap {
  max-width: 540px;
  margin: 40px auto;
  padding: 0 20px;
}

.confirm-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 40px 36px;
}

.confirm-checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--green);
}

.confirm-ref {
  display: inline-block;
  background: var(--gold-lt);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-d);
  font-family: monospace;
  letter-spacing: .5px;
}

.order-recap {
  border: 1px solid var(--gray2);
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
}

.order-recap-header {
  background: var(--gray);
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.order-recap-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--gray2);
  font-size: 13px;
}

.order-recap-item strong { color: var(--gold); }
.order-recap-item.total-row { font-weight: 700; font-size: 15px; background: var(--gold-lt); }

.download-box {
  background: var(--gold-lt);
  border: 1.5px solid var(--gold-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin: 20px 0;
}

.download-box-icon { font-size: 36px; color: var(--gold-d); margin-bottom: 10px; }
.download-box-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.download-box-meta { font-size: 12px; color: var(--text3); margin-bottom: 16px; }

/* ============================================================
   ADMIN — LAYOUT
   ============================================================ */

body.admin-body { background: var(--bg); }

.admin-topbar {
  background: var(--navy2);
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-logo { display: flex; align-items: center; gap: 8px; }
.admin-logo-dot { width: 28px; height: 28px; border-radius: 7px; background: var(--gold); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.admin-logo-name { color: #fff; font-size: 13px; font-weight: 600; }

.admin-topbar-right { display: flex; align-items: center; gap: 10px; }
.admin-topbar-icon { color: rgba(255,255,255,.55); font-size: 16px; cursor: pointer; background: none; border: none; }
.admin-topbar-icon:hover { color: #fff; }
.admin-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }

.admin-wrapper {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: calc(100vh - 46px);
}

/* Sidebar */
.admin-sidebar {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 46px;
  height: calc(100vh - 46px);
  overflow-y: auto;
}

.sidebar-section-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 12px 14px 5px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  transition: .12s;
  border-left: 2px solid transparent;
  text-decoration: none;
}

.sidebar-nav-item:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.sidebar-nav-item.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--gold); font-weight: 500; }

.sidebar-nav-item .nav-icon { width: 14px; text-align: center; font-size: 13px; flex-shrink: 0; }
.sidebar-sep { height: 1px; background: rgba(255,255,255,.07); margin: 4px 0; }

.sidebar-commission {
  margin: auto 10px 10px;
  background: rgba(197,162,83,.12);
  border: 1px solid rgba(197,162,83,.2);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.commission-value { font-size: 20px; font-weight: 700; color: var(--gold); }
.commission-label { font-size: 9px; color: rgba(255,255,255,.35); }

/* Admin main */
.admin-main { background: var(--bg); overflow: hidden; }

.admin-page-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray2);
  padding: 0 20px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 46px;
  z-index: 10;
}

.admin-page-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-link);
  text-transform: uppercase;
  letter-spacing: .7px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-content { padding: 20px; }

/* Admin tabs */
.admin-tabs {
  display: flex;
  border-bottom: 2px solid var(--gray2);
  background: var(--white);
  padding: 0 20px;
}

.admin-tab {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: .12s;
  text-decoration: none;
}

.admin-tab:hover { color: var(--text); text-decoration: none; }
.admin-tab.active { color: var(--blue-link); border-bottom-color: var(--blue-link); font-weight: 600; }

/* Admin cards */
.admin-card {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-radius: 10px;
  overflow: hidden;
}

.admin-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-card-title { font-size: 13px; font-weight: 600; }

/* Admin tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray2);
  background: var(--gray);
  white-space: nowrap;
}

.admin-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray2);
  font-size: 12px;
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--gray); }

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-radius: 10px;
  padding: 16px;
}

.stat-label { font-size: 11px; color: var(--text3); margin-bottom: 4px; }
.stat-value { font-size: 22px; font-weight: 700; color: var(--text); }
.stat-value.gold { color: var(--gold); }
.stat-value.green { color: var(--green); }
.stat-value.blue { color: var(--blue-link); }
.stat-value.orange { color: var(--orange); }

/* Action buttons */
.btn-act { color: var(--blue-link); cursor: pointer; font-size: 14px; opacity: .65; background: none; border: none; transition: .1s; padding: 3px; }
.btn-act:hover { opacity: 1; }
.btn-act.del { color: var(--red); }

/* Status pills */
.status-pill {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}

.s-paid { background: #fef5ec; color: var(--orange); }
.s-pending { background: var(--gold-lt); color: var(--gold-d); }
.s-completed { background: var(--green-bg); color: var(--green); }
.s-cancelled { background: var(--red-bg); color: var(--red); }
.s-published { background: var(--blue-lt); color: var(--blue-link); }
.s-draft { background: var(--gray2); color: var(--text3); border: 1px solid var(--gray3); }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--gold-border);
  border-radius: 10px;
  padding: 36px;
  text-align: center;
  cursor: pointer;
  background: var(--gold-lt);
  transition: .15s;
}

.upload-zone:hover { border-color: var(--gold); background: #fdf3d8; }
.upload-zone-icon { font-size: 40px; color: var(--gold); display: block; margin-bottom: 12px; }
.upload-zone-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.upload-zone-sub { font-size: 12px; color: var(--text3); }

/* Filter panel */
.filter-sidebar {
  background: var(--white);
  border-right: 1px solid var(--gray2);
  padding: 16px;
  min-width: 170px;
  flex-shrink: 0;
}

.filter-group-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text2);
}

.filter-option input { accent-color: var(--blue-link); }
.filter-sep { height: 14px; }

/* ============================================================
   UTILITIES
   ============================================================ */

.text-gold { color: var(--gold); }
.text-muted { color: var(--text3); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.fw-bold { font-weight: 700; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.w-100 { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .gallery-layout { grid-template-columns: 1fr; }
  .products-panel { border-left: none; border-top: 1px solid var(--gray2); }
  .cart-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-wrapper { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
