/* ============================================================
   Boho Princess Closet — Styles
   Free People-Inspired Editorial Boho
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Nunito+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@300;400;500&display=swap');

/* ---- Tokens ---- */
:root {
  --ivory: #FAF8F4;
  --cream: #F5F0E8;
  --sand: #E8DFD0;
  --blush: #E8C4B8;
  --rose: #C8A0A0;
  --sage: #9AAA84;
  --sage-deep: #7A8B6F;
  --dusty-olive: #A09A7C;
  --terracotta: #BE7B5E;
  --rust: #A0614A;
  --espresso: #3D2B1F;
  --warm-gray: #6B5E54;
  --soft-white: #FFFDF9;
  --gold: #B8965A;

  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Nunito Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 4px rgba(61, 43, 31, 0.06);
  --shadow-md: 0 4px 16px rgba(61, 43, 31, 0.08);
  --shadow-lg: 0 12px 40px rgba(61, 43, 31, 0.1);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --max-w: 1240px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--espresso);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rust); }

img { max-width: 100%; display: block; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

::selection { background: var(--blush); color: var(--espresso); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---- Header ---- */
.site-header {
  background: var(--soft-white);
  border-bottom: 1px solid var(--sand);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,253,249,0.95);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: 0.5px;
}

.site-logo span {
  font-style: italic;
  color: var(--terracotta);
}

.site-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dusty-olive);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--terracotta); }

.cart-icon {
  position: relative;
  color: var(--warm-gray);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--terracotta);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count:empty { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61,43,31,0.05) 0%, rgba(61,43,31,0.35) 70%, rgba(61,43,31,0.55) 100%);
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  max-width: 640px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blush);
  display: block;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 20px;
  font-style: italic;
  text-shadow: 0 2px 40px rgba(0,0,0,0.15);
}

.hero p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-btn {
  display: inline-block;
  padding: 16px 40px;
  background: #fff;
  color: var(--espresso);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all var(--transition);
}

.hero-btn:hover {
  background: var(--espresso);
  color: #fff;
}

/* ---- Lifestyle Strip ---- */
.lifestyle-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.ls-item {
  overflow: hidden;
  aspect-ratio: 1;
}

.ls-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ls-item:hover img {
  transform: scale(1.08);
}

/* ---- Promise Section ---- */
.promise-section {
  padding: 64px 24px;
  background: var(--soft-white);
  border-bottom: 1px solid var(--sand);
}

.promise-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.promise-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.promise-item h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 6px;
}

.promise-item p {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* ---- Editorial Heading ---- */
.editorial-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  font-style: italic;
  color: var(--espresso);
  text-align: center;
  margin-bottom: 40px;
}

/* ---- Categories ---- */
.categories-section {
  padding: 80px 0;
  background: var(--ivory);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(61,43,31,0.5) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 1px;
}

/* ---- Editorial Banner ---- */
.editorial-banner {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.editorial-media {
  position: absolute;
  inset: 0;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.editorial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61,43,31,0.5) 0%, rgba(61,43,31,0.15) 60%, transparent 100%);
}

.editorial-content {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  max-width: 420px;
  color: #fff;
}

.editorial-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blush);
  display: block;
  margin-bottom: 12px;
}

.editorial-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 16px;
}

.editorial-content p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
}

/* ---- Shop Section ---- */
.shop-section {
  padding: 80px 0;
  background: var(--ivory);
}

/* ---- Filters ---- */
.filters-bar {
  margin-bottom: 32px;
  padding: 24px;
  background: var(--soft-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-group label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dusty-olive);
}

.filter-select,
.filter-input {
  padding: 10px 14px;
  background: var(--ivory);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--espresso);
  transition: border-color var(--transition);
  min-width: 140px;
}

.filter-select:focus,
.filter-input:focus {
  border-color: var(--terracotta);
}

.filter-input--price { width: 80px; }

.filter-clear {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--rose);
  border-radius: var(--radius);
  color: var(--rose);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-clear:hover {
  background: var(--rose);
  color: white;
}

.search-box {
  flex: 1;
  min-width: 200px;
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B5E54' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 12px center;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--espresso);
}

.search-box input:focus { border-color: var(--terracotta); }

/* ---- Product Grid ---- */
.products-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dusty-olive);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--soft-white);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
  border: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--cream);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__img {
  transform: scale(1.04);
}

.product-card__hold-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rose);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 5px 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-card__condition {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  color: var(--warm-gray);
  letter-spacing: 0.5px;
}

.product-card__body {
  padding: 16px 4px;
}

.product-card__brand {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sage);
  margin-bottom: 4px;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-card__meta {
  font-size: 12px;
  color: var(--warm-gray);
  margin-bottom: 6px;
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--terracotta);
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  background: var(--cream);
  color: var(--warm-gray);
}

/* ---- Instagram Section ---- */
.insta-section {
  padding: 80px 0;
  background: var(--soft-white);
  text-align: center;
}

.insta-sub {
  font-size: 14px;
  color: var(--warm-gray);
  margin-top: -24px;
  margin-bottom: 40px;
  font-weight: 300;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.insta-item {
  overflow: hidden;
  aspect-ratio: 1;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: saturate(0.9);
}

.insta-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

/* ---- Empty State ---- */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-state__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--espresso);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--warm-gray);
  font-size: 14px;
}

/* ---- Item Detail Page ---- */
.item-detail {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery__main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--cream);
}

.gallery__thumbs {
  display: flex;
  gap: 8px;
}

.gallery__thumb {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--cream);
}

.gallery__thumb--active,
.gallery__thumb:hover {
  border-color: var(--terracotta);
}

.item-info h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  color: var(--espresso);
  margin-bottom: 4px;
}

.item-info__brand {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--sage);
  margin-bottom: 20px;
}

.item-info__price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 24px;
}

.item-info__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.detail-chip {
  background: var(--cream);
  padding: 12px 16px;
}

.detail-chip__label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dusty-olive);
  margin-bottom: 3px;
}

.detail-chip__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--espresso);
}

.item-info__description {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 28px;
}

.item-info__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 32px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn--primary {
  background: var(--espresso);
  color: white;
  border: 2px solid var(--espresso);
}

.btn--primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.btn--secondary {
  background: transparent;
  color: var(--espresso);
  border: 1.5px solid var(--espresso);
}

.btn--secondary:hover {
  background: var(--espresso);
  color: white;
}

.btn--hold {
  background: var(--rose);
  color: white;
  border: 2px solid var(--rose);
  cursor: not-allowed;
  opacity: 0.8;
}

.btn--full { width: 100%; }

.btn--sage {
  background: var(--sage);
  color: white;
  border: 2px solid var(--sage);
}

.btn--sage:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}

/* ---- Cart Page ---- */
.cart-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.cart-page h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  color: var(--espresso);
  margin-bottom: 32px;
}

.cart-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--soft-white);
  border-bottom: 1px solid var(--sand);
  position: relative;
}

.cart-item__img {
  width: 100px;
  height: 130px;
  object-fit: cover;
  background: var(--cream);
}

.cart-item__info { flex: 1; }

.cart-item__brand {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sage);
}

.cart-item__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--espresso);
  margin: 4px 0;
}

.cart-item__meta {
  font-size: 12px;
  color: var(--warm-gray);
  margin-bottom: 6px;
}

.cart-item__price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--terracotta);
}

.cart-item__hold-timer {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--rose);
  margin-top: 4px;
}

.cart-item__remove {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  color: var(--rose);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}

.cart-item__remove:hover { color: var(--terracotta); }

/* ---- Cart Summary ---- */
.cart-summary {
  background: var(--soft-white);
  border: 1px solid var(--sand);
  padding: 28px;
  margin-top: 32px;
}

.cart-summary h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--warm-gray);
}

.summary-row--total {
  border-top: 1px solid var(--sand);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--espresso);
}

.bundle-badge {
  display: inline-block;
  background: var(--sage);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  letter-spacing: 1px;
  margin-left: 8px;
}

/* ---- Checkout ---- */
.checkout-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 24px;
}

.checkout-page h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  color: var(--espresso);
  margin-bottom: 8px;
}

.checkout-page > p {
  color: var(--warm-gray);
  margin-bottom: 32px;
}

.checkout-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dusty-olive);
  margin-bottom: 4px;
  margin-top: 16px;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--ivory);
  border: 1px solid var(--sand);
  font-size: 14px;
  color: var(--espresso);
  transition: border-color var(--transition);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--terracotta);
}

.checkout-form textarea { height: 80px; resize: vertical; }

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.payment-btn {
  padding: 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  display: block;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.payment-btn--paypal {
  background: #0070BA;
  color: white;
}

.payment-btn--paypal:hover { background: #005ea6; color: white; }

.payment-btn--venmo {
  background: #3D95CE;
  color: white;
}

.payment-btn--venmo:hover { background: #2d7bb0; color: white; }

/* ---- Admin (keep existing) ---- */
.admin-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.admin-login {
  max-width: 400px;
  margin: 80px auto;
  text-align: center;
}

.admin-login h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 20px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dusty-olive);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 14px;
  background: var(--ivory);
  border: 1px solid var(--sand);
  font-size: 14px;
  color: var(--espresso);
  transition: border-color var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--terracotta);
}

.form-field textarea { height: 100px; resize: vertical; }

.photo-upload {
  border: 2px dashed var(--sand);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition);
}

.photo-upload:hover { border-color: var(--terracotta); }

.photo-upload__text { font-size: 13px; color: var(--warm-gray); }
.photo-upload__limit { font-family: var(--font-mono); font-size: 10px; color: var(--rose); margin-top: 4px; }

.photo-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.photo-preview {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border: 1px solid var(--sand);
  position: relative;
}

.photo-preview__remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--rose);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.tags-input {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  background: var(--ivory);
  border: 1px solid var(--sand);
  min-height: 44px;
  align-items: center;
}

.tags-input input {
  border: none;
  background: transparent;
  flex: 1;
  min-width: 100px;
  padding: 4px;
  font-size: 13px;
}

.tags-input .tag {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: default;
}

.tag__remove {
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.admin-listings { margin-top: 40px; }

.admin-listings h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 16px;
}

.listing-row {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--soft-white);
  border-bottom: 1px solid var(--sand);
  align-items: center;
}

.listing-row__img { width: 60px; height: 75px; object-fit: cover; background: var(--cream); }
.listing-row__info { flex: 1; }
.listing-row__name { font-weight: 600; font-size: 14px; }
.listing-row__meta { font-size: 12px; color: var(--warm-gray); }
.listing-row__actions { display: flex; gap: 8px; }

.btn--sm { padding: 6px 12px; font-size: 11px; }

.btn--danger {
  background: transparent;
  border: 1px solid var(--rose);
  color: var(--rose);
}

.btn--danger:hover {
  background: var(--rose);
  color: white;
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-badge--active { background: rgba(154, 170, 132, 0.15); color: var(--sage); }
.status-badge--sold { background: rgba(190, 123, 94, 0.15); color: var(--terracotta); }
.status-badge--hold { background: rgba(200, 160, 160, 0.15); color: var(--rose); }

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--espresso);
  color: var(--soft-white);
  padding: 16px 28px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  max-width: 360px;
}

.toast--visible { transform: translateY(0); opacity: 1; }
.toast--success { border-left: 4px solid var(--sage); }
.toast--error { border-left: 4px solid var(--rose); }

/* ---- Spinner ---- */
.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--sand);
  border-top-color: var(--terracotta);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 60px auto;
}

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

/* ---- Footer ---- */
.site-footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand {
  text-align: center;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--blush);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--sand);
  opacity: 0.6;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  margin-bottom: 40px;
}

.footer-links-grid h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--sand);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--sand);
  font-size: 13px;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--sand);
  opacity: 0.35;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .editorial-content { left: 40px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { padding: 12px 16px; }
  .site-logo { font-size: 22px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; letter-spacing: 1px; }

  .hero { height: 70vh; }
  .hero h1 { font-size: 36px; }
  .hero-content { bottom: 40px; }

  .lifestyle-strip { grid-template-columns: repeat(3, 1fr); }
  .lifestyle-strip .ls-item:nth-child(n+4) { display: none; }

  .promise-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .editorial-banner { height: 350px; }
  .editorial-content { left: 24px; max-width: 300px; }
  .editorial-content h2 { font-size: 28px; }

  .filters-row { gap: 8px; }
  .filter-select, .filter-input { min-width: 100%; }

  .products-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
  .product-card__name { font-size: 16px; }
  .product-card__price { font-size: 18px; }

  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-grid .insta-item:nth-child(n+4) { display: none; }

  .item-detail { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px; }
  .cart-item { flex-direction: column; }
  .cart-item__img { width: 100%; height: 200px; }

  .footer-links-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .site-tagline { display: none; }
  .announcement-bar { font-size: 10px; letter-spacing: 1px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card__body { padding: 10px 0; }
  .item-info__details { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ---- Misc ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
