/**
 * Luxury Ecommerce - Custom theme
 * Bootstrap 5 + luxury aesthetic
 */
:root {
  --luxe-black: #0c0c0c;
  --luxe-charcoal: #1a1a1a;
  --luxe-gold: #c9a962;
  --luxe-gold-light: #e5d4a1;
  --luxe-cream: #f5f0e6;
  --luxe-offwhite: #e8e4dc;
  --luxe-muted: #8a8a8a;
  --luxe-border: rgba(201, 169, 98, 0.25);
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--luxe-black);
  color: var(--luxe-cream);
  font-weight: 300;
  letter-spacing: 0.02em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.05em;
}

a {
  color: var(--luxe-gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--luxe-gold-light);
}

/* Navbar */
.luxe-navbar {
  background: rgba(12, 12, 12, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--luxe-border);
  padding: 0.75rem 0;
}
.luxe-navbar .navbar-brand {
  font-size: 1.75rem;
  letter-spacing: 0.3em;
  color: var(--luxe-cream) !important;
}
.luxe-navbar .nav-link {
  color: var(--luxe-offwhite) !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition);
}
.luxe-navbar .nav-link:hover,
.luxe-navbar .nav-link.active {
  color: var(--luxe-gold) !important;
}
.luxe-navbar .cart-count {
  background: var(--luxe-gold);
  color: var(--luxe-black);
  font-size: 0.65rem;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
}

/* Hero */
.luxe-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.luxe-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(201, 169, 98, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.luxe-hero .display-3 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.4em;
  color: var(--luxe-cream);
  margin-bottom: 1rem;
}
.luxe-hero .lead {
  color: var(--luxe-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.luxe-hero .btn-luxe {
  margin-top: 2rem;
  padding: 0.9rem 2.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: 1px solid var(--luxe-gold);
  color: var(--luxe-gold);
  background: transparent;
  transition: all var(--transition);
}
.luxe-hero .btn-luxe:hover {
  background: var(--luxe-gold);
  color: var(--luxe-black);
  border-color: var(--luxe-gold);
}

/* Buttons */
.btn-luxe {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 0;
  padding: 0.75rem 1.75rem;
  transition: all var(--transition);
}
.btn-luxe-primary {
  background: var(--luxe-gold);
  color: var(--luxe-black);
  border: 1px solid var(--luxe-gold);
}
.btn-luxe-primary:hover {
  background: var(--luxe-gold-light);
  color: var(--luxe-black);
  border-color: var(--luxe-gold-light);
}
.btn-luxe-outline {
  background: transparent;
  color: var(--luxe-gold);
  border: 1px solid var(--luxe-gold);
}
.btn-luxe-outline:hover {
  background: var(--luxe-gold);
  color: var(--luxe-black);
}

/* Product cards */
.luxe-card {
  background: var(--luxe-charcoal);
  border: 1px solid var(--luxe-border);
  border-radius: 0;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  height: 100%;
}
.luxe-card:hover {
  border-color: rgba(201, 169, 98, 0.5);
  transform: translateY(-4px);
}
.luxe-card .card-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--luxe-black);
}
.luxe-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.luxe-card:hover .card-img-top {
  transform: scale(1.05);
}
.luxe-card .card-body {
  padding: 1.5rem;
}
.luxe-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--luxe-cream);
  margin-bottom: 0.5rem;
}
.luxe-card .card-text {
  color: var(--luxe-muted);
  font-size: 0.9rem;
}
.luxe-card .price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--luxe-gold);
  margin-top: 0.5rem;
}
.luxe-card .compare-price {
  color: var(--luxe-muted);
  text-decoration: line-through;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

/* Section titles */
.section-title {
  font-family: var(--font-heading);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--luxe-cream);
  margin-bottom: 2.5rem;
  font-size: 1.5rem;
}

/* Category links – keep images strictly inside boxes */
.luxe-category-link {
  display: block;
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--luxe-charcoal);
  border: 1px solid var(--luxe-border);
  color: var(--luxe-cream);
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  overflow: hidden;
}
.luxe-category-link .luxe-category-img-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  background: var(--luxe-charcoal);
  border: 1px solid var(--luxe-border);
  position: relative !important;
  flex-shrink: 0;
  height: 0 !important;
  padding-bottom: 100% !important;
  box-sizing: content-box;
}
.luxe-category-link .luxe-category-img-wrap .luxe-category-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
.luxe-category-link:hover {
  border-color: var(--luxe-gold);
  color: var(--luxe-gold);
  background: rgba(201, 169, 98, 0.05);
}
.luxe-category-link:hover .luxe-category-img-wrap {
  border-color: var(--luxe-gold);
}
.luxe-category-placeholder-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--luxe-cream);
  font-size: 0.85rem;
}

/* Product detail page */
.luxe-product-hero {
  padding: 3rem 0;
}
.luxe-product-hero .product-image-wrap {
  aspect-ratio: 1;
  background: var(--luxe-charcoal);
  overflow: hidden;
  border: 1px solid var(--luxe-border);
}
.luxe-product-hero .product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.luxe-product-hero .product-title {
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  font-size: 2rem;
  color: var(--luxe-cream);
}
.luxe-product-hero .product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--luxe-gold);
  margin: 1rem 0;
}
.luxe-product-hero .product-description {
  color: var(--luxe-offwhite);
  line-height: 1.8;
}

/* Cart */
.luxe-cart-table {
  color: var(--luxe-cream);
}
.luxe-cart-table th {
  border-color: var(--luxe-border);
  color: var(--luxe-muted);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.luxe-cart-table td {
  border-color: var(--luxe-border);
  vertical-align: middle;
}
.luxe-cart-total {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--luxe-gold);
}

/* Footer */
.luxe-footer {
  background: var(--luxe-charcoal);
  border-top: 1px solid var(--luxe-border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}
.luxe-footer .footer-brand {
  font-family: var(--font-heading);
  letter-spacing: 0.3em;
  color: var(--luxe-cream);
  font-size: 1.25rem;
}
.luxe-footer .footer-links a {
  color: var(--luxe-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.luxe-footer .footer-links a:hover {
  color: var(--luxe-gold);
}
.luxe-footer .copyright {
  color: var(--luxe-muted);
  font-size: 0.8rem;
  margin-top: 2rem;
}

/* Placeholder when no product image */
.luxe-card .card-img-placeholder,
.luxe-product-hero .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--luxe-charcoal);
  color: var(--luxe-muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

/* Breadcrumb */
.luxe-breadcrumb {
  background: transparent;
  padding: 1rem 0;
}
.luxe-breadcrumb .breadcrumb-item a {
  color: var(--luxe-muted);
}
.luxe-breadcrumb .breadcrumb-item.active {
  color: var(--luxe-gold);
}

/* Empty state */
.luxe-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--luxe-muted);
}
.luxe-empty .display-6 {
  color: var(--luxe-cream);
  margin-bottom: 1rem;
}
