/* ============================================
   MAISON ELEGANCE - Shared Stylesheet
   Palette: #f8e8e0, #1d1d1d, #c9a96e, #fff, #f5f5f5
   ============================================ */

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

:root {
  --pink: #f8e8e0;
  --black: #1d1d1d;
  --gold: #c9a96e;
  --white: #ffffff;
  --grey: #f5f5f5;
  --gold-light: #d4b97a;
  --gold-dark: #b8944f;
  --pink-dark: #f0d5c8;
  --text-muted: #7a7a7a;
  --border: #e8e8e8;
  --success: #4caf50;
  --warning: #ff9800;
  --info: #2196f3;
  --danger: #e53935;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

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

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* --- Back to Portfolio Link --- */
.back-portfolio {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 9999;
  background: var(--black);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 6px;
}

.back-portfolio:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateX(-2px);
}

.back-portfolio svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   BOUTIQUE - index.html
   ============================================ */

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-search-btn,
.nav-cart-btn {
  background: none;
  border: none;
  color: var(--black);
  padding: 8px;
  border-radius: 50%;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-search-btn:hover,
.nav-cart-btn:hover {
  background: var(--grey);
}

.nav-cart-btn svg,
.nav-search-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--black);
}

.nav-mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* --- Hero --- */
.hero {
  background: var(--pink);
  padding: 100px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.08);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.06);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 110, 0.15);
  color: var(--gold-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  color: var(--black);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}

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

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

/* --- Section Commons --- */
.section {
  padding: 80px 40px;
}

.section-grey {
  background: var(--grey);
}

.section-pink {
  background: var(--pink);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 42px);
  color: var(--black);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  transition: transform var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
}

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

.category-img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  background-size: cover;
  background-position: center;
}

.category-card:nth-child(1) .category-img {
  background-image: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=800&h=600&fit=crop');
}

.category-card:nth-child(2) .category-img {
  background-image: url('https://images.unsplash.com/photo-1530603907829-659ab5ec057b?w=800&h=600&fit=crop');
}

.category-card:nth-child(3) .category-img {
  background-image: url('https://images.unsplash.com/photo-1583847268964-b28dc8f51f92?w=800&h=600&fit=crop');
}

.category-card:nth-child(4) .category-img {
  background-image: url('https://images.unsplash.com/photo-1595351475754-8a520e0bc3a3?w=800&h=600&fit=crop');
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 29, 29, 0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.category-overlay h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 4px;
}

.category-overlay span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

/* --- Product Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

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

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  background-size: cover;
  background-position: center;
}

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

/* Product images */
.product-img[data-product="1"] {
  background-image: url('https://images.unsplash.com/photo-1507473885765-e6ed057f782c?w=600&h=600&fit=crop');
}
.product-img[data-product="2"] {
  background-image: url('https://images.unsplash.com/photo-1616046229478-9901c5536a45?w=600&h=600&fit=crop');
}
.product-img[data-product="3"] {
  background-image: url('https://images.unsplash.com/photo-1612620535624-f6695d4864bb?w=600&h=600&fit=crop');
}
.product-img[data-product="4"] {
  background-image: url('https://images.unsplash.com/photo-1618220179428-22790b461013?w=600&h=600&fit=crop');
}
.product-img[data-product="5"] {
  background-image: url('https://images.unsplash.com/photo-1602028915047-37269d1a73f7?w=600&h=600&fit=crop');
}
.product-img[data-product="6"] {
  background-image: url('https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=600&h=600&fit=crop');
}
.product-img[data-product="7"] {
  background-image: url('https://images.unsplash.com/photo-1555212697-194d092e3b8f?w=600&h=600&fit=crop');
}
.product-img[data-product="8"] {
  background-image: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=600&h=600&fit=crop');
}
.product-img[data-product="9"] {
  background-image: url('https://images.unsplash.com/photo-1567538096630-e0c55bd6374c?w=600&h=600&fit=crop');
}
.product-img[data-product="10"] {
  background-image: url('https://images.unsplash.com/photo-1594026112284-02bb6f3352fe?w=600&h=600&fit=crop');
}
.product-img[data-product="11"] {
  background-image: url('https://images.unsplash.com/photo-1609879938030-31acdeded104?w=600&h=600&fit=crop');
}
.product-img[data-product="12"] {
  background-image: url('https://images.unsplash.com/photo-1524484485831-a92ffc0de03f?w=600&h=600&fit=crop');
}
.product-img[data-product="13"] {
  background-image: url('https://images.unsplash.com/photo-1494438639946-1ebd1d20bf85?w=600&h=600&fit=crop');
}
.product-img[data-product="14"] {
  background-image: url('https://images.unsplash.com/photo-1566739262652-879e15c9dcdb?w=600&h=600&fit=crop');
}
.product-img[data-product="15"] {
  background-image: url('https://images.unsplash.com/photo-1600166898405-da9535204843?w=600&h=600&fit=crop');
}
.product-img[data-product="16"] {
  background-image: url('https://images.unsplash.com/photo-1612196808827-9ff25cb6137a?w=600&h=600&fit=crop');
}

.category-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.category-section {
  margin-bottom: 56px;
}

.category-section:last-child {
  margin-bottom: 0;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(-4px);
}

.product-card:hover .product-wishlist {
  opacity: 1;
  transform: translateY(0);
}

.product-wishlist:hover {
  background: var(--gold);
  color: var(--white);
}

.product-wishlist svg {
  width: 16px;
  height: 16px;
}

.product-info {
  padding: 20px;
}

.product-category-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
}

.product-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.btn-add-cart {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.btn-add-cart svg {
  width: 14px;
  height: 14px;
}

/* --- Promo Banner --- */
.promo-banner {
  background: var(--black);
  color: var(--white);
  padding: 40px;
  text-align: center;
}

.promo-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.promo-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.promo-text h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 4px;
}

.promo-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.promo-features {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
}

.promo-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.promo-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.promo-feature-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.promo-feature-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* --- Newsletter --- */
.newsletter {
  background: var(--pink);
  padding: 80px 40px;
  text-align: center;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.newsletter p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 24px;
  border-radius: 50px;
  background: var(--white);
  border: 1.5px solid var(--border);
  font-size: 14px;
  color: var(--black);
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: all var(--transition);
}

.newsletter-form button:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* --- Footer --- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 60px 40px 30px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--gold);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-payments {
  display: flex;
  gap: 10px;
  align-items: center;
}

.payment-icon {
  width: 42px;
  height: 28px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}

/* --- Page Header (for inner pages) --- */
.page-header {
  background: var(--pink);
  padding: 120px 40px 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-image {
  height: 400px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
}

.about-image-1 {
  background-image: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=600&h=400&fit=crop');
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Large categories grid (categories page) */
.categories-grid-large .category-card {
  aspect-ratio: 4/3;
}

@media (max-width: 768px) {
  .page-header {
    padding: 100px 20px 40px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-image {
    height: 280px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- Toast notification --- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--black);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}


/* ============================================
   CART SIDEBAR
   ============================================ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

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

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -440px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.open {
  right: 0;
}

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-sidebar-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
}

.cart-sidebar-header h3 span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grey);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--black);
}

.cart-close:hover {
  background: var(--border);
}

/* Cart Items */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  color: var(--text-muted);
  text-align: center;
}

.cart-empty svg {
  opacity: 0.3;
}

.cart-empty p {
  font-size: 15px;
  color: var(--text-muted);
}

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

.cart-item:last-of-type {
  border-bottom: none;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

/* Cart item product images */
.cart-item-img[data-product="1"] {
  background-image: url('https://images.unsplash.com/photo-1507473885765-e6ed057f782c?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="2"] {
  background-image: url('https://images.unsplash.com/photo-1616046229478-9901c5536a45?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="3"] {
  background-image: url('https://images.unsplash.com/photo-1612620535624-f6695d4864bb?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="4"] {
  background-image: url('https://images.unsplash.com/photo-1618220179428-22790b461013?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="5"] {
  background-image: url('https://images.unsplash.com/photo-1602028915047-37269d1a73f7?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="6"] {
  background-image: url('https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="7"] {
  background-image: url('https://images.unsplash.com/photo-1555212697-194d092e3b8f?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="8"] {
  background-image: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="9"] {
  background-image: url('https://images.unsplash.com/photo-1567538096630-e0c55bd6374c?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="10"] {
  background-image: url('https://images.unsplash.com/photo-1594026112284-02bb6f3352fe?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="11"] {
  background-image: url('https://images.unsplash.com/photo-1609879938030-31acdeded104?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="12"] {
  background-image: url('https://images.unsplash.com/photo-1524484485831-a92ffc0de03f?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="13"] {
  background-image: url('https://images.unsplash.com/photo-1494438639946-1ebd1d20bf85?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="14"] {
  background-image: url('https://images.unsplash.com/photo-1566739262652-879e15c9dcdb?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="15"] {
  background-image: url('https://images.unsplash.com/photo-1600166898405-da9535204843?w=150&h=150&fit=crop');
}
.cart-item-img[data-product="16"] {
  background-image: url('https://images.unsplash.com/photo-1612196808827-9ff25cb6137a?w=150&h=150&fit=crop');
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--black);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 30px;
  height: 30px;
  background: var(--grey);
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.qty-btn:hover {
  background: var(--border);
}

.cart-item-qty span {
  width: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: rgba(229, 57, 53, 0.08);
  color: var(--danger);
}

/* Cart Footer */
.cart-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-subtotal,
.cart-shipping {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}

.cart-total span:last-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold-dark);
}

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  text-align: center;
  margin-bottom: 10px;
}

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

.cart-continue {
  width: 100%;
  text-align: center;
  display: block;
  padding: 10px;
  font-size: 13px;
}

/* Cart sidebar responsive */
@media (max-width: 480px) {
  .cart-sidebar {
    width: 100vw;
    right: -100vw;
  }

  .cart-sidebar-header {
    padding: 20px;
  }

  .cart-items {
    padding: 16px 20px;
  }

  .cart-footer {
    padding: 16px 20px 24px;
  }
}


/* ============================================
   CHECKOUT PAGE
   ============================================ */

.checkout-nav {
  border-bottom: 1px solid var(--border);
}

.checkout-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.checkout-secure svg {
  color: var(--success);
}

.checkout-main {
  min-height: calc(100vh - 140px);
  background: var(--grey);
  padding: 40px 24px;
}

.checkout-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Progress Bar */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  padding: 0 40px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
}

.progress-step span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition);
}

.progress-step.active .step-circle {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.progress-step.active span {
  color: var(--black);
}

.progress-step.completed .step-circle {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.progress-step.completed span {
  color: var(--success);
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 16px;
  transition: background var(--transition);
  max-width: 120px;
}

.progress-line.active {
  background: var(--success);
}

/* Checkout Grid */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Checkout Forms */
.checkout-forms {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border);
}

.checkout-step {
  display: none;
}

.checkout-step.active {
  display: block;
}

.checkout-step h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Form Elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row-3 {
  grid-template-columns: 140px 1fr;
}

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

.form-group.flex-2 {
  grid-column: span 1;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input::placeholder {
  color: #bbb;
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap input {
  padding-right: 90px;
}

.card-icons {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
}

.card-icon {
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--grey);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Shipping Options */
.shipping-options {
  margin: 24px 0;
}

.shipping-options h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 10px;
}

.shipping-option:hover {
  border-color: var(--gold);
}

.shipping-option.selected {
  border-color: var(--black);
  background: rgba(29, 29, 29, 0.02);
}

.shipping-option input {
  display: none;
}

.option-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.option-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
}

.option-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.option-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

/* Payment Methods */
.payment-methods {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-method {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.payment-method:hover {
  border-color: var(--gold);
}

.payment-method.selected {
  border-color: var(--black);
  background: rgba(29, 29, 29, 0.02);
}

.payment-method input {
  display: none;
}

.method-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.method-content svg {
  color: var(--text-muted);
}

/* Checkout Buttons */
.btn-checkout-next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 24px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  text-align: center;
  margin-top: 8px;
}

.btn-checkout-next:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-checkout-skip {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: none;
  border: 1.5px dashed var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-checkout-skip:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* PayPal section */
.paypal-connect {
  text-align: center;
  padding: 32px 20px;
  background: var(--grey);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.paypal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.paypal-logo svg {
  color: #003087;
}

.paypal-logo span {
  font-size: 22px;
  font-weight: 700;
  color: #003087;
}

.paypal-connect p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.paypal-connect .form-group {
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-checkout-back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 24px;
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-checkout-back:hover {
  border-color: var(--black);
}

.btn-checkout-pay {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-checkout-pay:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-checkout-pay:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Order Summary Sidebar */
.order-summary {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}

.order-summary h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

/* Summary item product images (same as cart) */
.summary-item-img[data-product="1"] {
  background-image: url('https://images.unsplash.com/photo-1507473885765-e6ed057f782c?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="2"] {
  background-image: url('https://images.unsplash.com/photo-1616046229478-9901c5536a45?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="3"] {
  background-image: url('https://images.unsplash.com/photo-1612620535624-f6695d4864bb?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="4"] {
  background-image: url('https://images.unsplash.com/photo-1618220179428-22790b461013?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="5"] {
  background-image: url('https://images.unsplash.com/photo-1602028915047-37269d1a73f7?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="6"] {
  background-image: url('https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="7"] {
  background-image: url('https://images.unsplash.com/photo-1555212697-194d092e3b8f?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="8"] {
  background-image: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="9"] {
  background-image: url('https://images.unsplash.com/photo-1567538096630-e0c55bd6374c?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="10"] {
  background-image: url('https://images.unsplash.com/photo-1594026112284-02bb6f3352fe?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="11"] {
  background-image: url('https://images.unsplash.com/photo-1609879938030-31acdeded104?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="12"] {
  background-image: url('https://images.unsplash.com/photo-1524484485831-a92ffc0de03f?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="13"] {
  background-image: url('https://images.unsplash.com/photo-1494438639946-1ebd1d20bf85?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="14"] {
  background-image: url('https://images.unsplash.com/photo-1566739262652-879e15c9dcdb?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="15"] {
  background-image: url('https://images.unsplash.com/photo-1600166898405-da9535204843?w=120&h=120&fit=crop');
}
.summary-item-img[data-product="16"] {
  background-image: url('https://images.unsplash.com/photo-1612196808827-9ff25cb6137a?w=120&h=120&fit=crop');
}

.summary-item-info {
  flex: 1;
  min-width: 0;
}

.summary-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-item-qty {
  font-size: 12px;
  color: var(--text-muted);
}

.summary-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.summary-line:first-of-type {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.summary-total {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
}

.summary-total span:last-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold-dark);
}

.summary-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.summary-secure svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Confirmation */
.confirmation-content {
  text-align: center;
  padding: 20px 0;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--success);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.confirmation-content h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.confirmation-order {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.confirmation-order strong {
  color: var(--black);
}

.confirmation-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.confirmation-summary {
  background: var(--grey);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: left;
  margin-bottom: 28px;
}

.confirmation-summary h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.conf-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  color: var(--black);
}

.conf-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.conf-row:first-of-type {
  margin-top: 8px;
}

.conf-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.conf-address {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.conf-address strong {
  display: block;
  margin-bottom: 6px;
  color: var(--black);
}

.conf-address p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Checkout Footer */
.checkout-footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.checkout-footer a {
  color: var(--gold);
  transition: color var(--transition);
}

.checkout-footer a:hover {
  color: var(--gold-dark);
}

/* Checkout Responsive */
@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 600px) {
  .checkout-main {
    padding: 20px 12px;
  }

  .checkout-forms {
    padding: 24px 20px;
  }

  .checkout-progress {
    padding: 0 10px;
    gap: 0;
  }

  .progress-step span {
    display: none;
  }

  .progress-line {
    margin: 0 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .payment-methods {
    flex-direction: column;
  }

  .order-summary {
    padding: 20px;
  }
}


/* ============================================
   ADMIN DASHBOARD - admin.html
   ============================================ */

body.admin-body {
  display: flex;
  min-height: 100vh;
  background: #f0f1f3;
  font-size: 14px;
}

/* --- Sidebar --- */
.sidebar {
  width: 260px;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-logo .nav-logo {
  color: var(--white);
  font-size: 22px;
}

.sidebar-logo p {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sidebar-nav {
  padding: 20px 16px;
  flex: 1;
}

.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3);
  padding: 0 12px;
  margin-bottom: 10px;
  font-weight: 600;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  margin-bottom: 2px;
}

.sidebar-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.6;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.sidebar-link:hover svg {
  opacity: 1;
}

.sidebar-link.active {
  background: var(--gold);
  color: var(--white);
}

.sidebar-link.active svg {
  opacity: 1;
}

.sidebar-link .badge-count {
  margin-left: auto;
  background: rgba(255,255,255,0.12);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}

.sidebar-link.active .badge-count {
  background: rgba(255,255,255,0.25);
}

.sidebar-footer {
  padding: 20px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar-footer a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.sidebar-footer a svg {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

/* --- Main Content --- */
.admin-main {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
}

/* --- Top Bar --- */
.topbar {
  background: var(--white);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-left h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
}

.topbar-search {
  display: flex;
  align-items: center;
  background: var(--grey);
  border-radius: 50px;
  padding: 8px 16px;
  gap: 10px;
  min-width: 280px;
}

.topbar-search svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.topbar-search input {
  background: none;
  border: none;
  font-size: 13px;
  width: 100%;
  color: var(--black);
}

.topbar-search input::placeholder {
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-notif {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grey);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}

.topbar-notif:hover {
  background: var(--border);
}

.topbar-notif svg {
  width: 20px;
  height: 20px;
  color: var(--black);
}

.notif-dot {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  border: 2px solid var(--white);
}

.topbar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition);
}

.topbar-avatar:hover {
  opacity: 0.85;
}

/* --- Dashboard Content --- */
.admin-content {
  padding: 28px 32px;
}

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

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-icon.revenue {
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold);
}

.stat-icon.orders {
  background: rgba(33, 150, 243, 0.1);
  color: var(--info);
}

.stat-icon.clients {
  background: rgba(76, 175, 80, 0.1);
  color: var(--success);
}

.stat-icon.cart {
  background: rgba(156, 39, 176, 0.1);
  color: #9c27b0;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.stat-change.up {
  background: rgba(76, 175, 80, 0.1);
  color: var(--success);
}

.stat-change.down {
  background: rgba(229, 57, 53, 0.1);
  color: var(--danger);
}

.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Admin Panels --- */
.admin-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.panel-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.panel-header a {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  transition: color var(--transition);
}

.panel-header a:hover {
  color: var(--gold-dark);
}

/* --- Orders Table --- */
.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th {
  text-align: left;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--grey);
  border-bottom: 1px solid var(--border);
}

.orders-table td {
  padding: 14px 24px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--black);
}

.orders-table tr:last-child td {
  border-bottom: none;
}

.orders-table tr:hover td {
  background: rgba(248, 232, 224, 0.2);
}

.order-id {
  font-weight: 600;
  color: var(--black);
}

.order-client {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-client-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.status-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.delivered {
  background: rgba(76, 175, 80, 0.1);
  color: var(--success);
}

.status-badge.processing {
  background: rgba(33, 150, 243, 0.1);
  color: var(--info);
}

.status-badge.pending {
  background: rgba(255, 152, 0, 0.1);
  color: var(--warning);
}

.status-badge.cancelled {
  background: rgba(229, 57, 53, 0.1);
  color: var(--danger);
}

/* --- Chart --- */
.chart-container {
  padding: 24px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.chart-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
}

.chart-total span {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 180px;
  padding-bottom: 32px;
  position: relative;
}

.bar-chart::before {
  content: '';
  position: absolute;
  bottom: 31px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.bar {
  width: 100%;
  max-width: 40px;
  border-radius: 6px 6px 2px 2px;
  background: var(--pink);
  position: relative;
  transition: all 0.5s ease;
  min-height: 8px;
}

.bar:hover {
  background: var(--gold);
}

.bar-tooltip {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.bar:hover .bar-tooltip {
  opacity: 1;
}

.bar-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  position: absolute;
  bottom: -24px;
}

/* --- Product List (Admin) --- */
.admin-products-section {
  margin-bottom: 28px;
}

.product-list-admin {
  padding: 0;
}

.product-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.product-row:last-child {
  border-bottom: none;
}

.product-row:hover {
  background: rgba(248, 232, 224, 0.15);
}

.product-row-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.product-row:nth-child(1) .product-row-img {
  background: linear-gradient(135deg, #f0d5c8, #c9a96e);
}
.product-row:nth-child(2) .product-row-img {
  background: linear-gradient(135deg, #e8d4e0, #c9a0b8);
}
.product-row:nth-child(3) .product-row-img {
  background: linear-gradient(135deg, #d4c8b0, #a09078);
}
.product-row:nth-child(4) .product-row-img {
  background: linear-gradient(135deg, #c9a96e, #d4b87a);
}
.product-row:nth-child(5) .product-row-img {
  background: linear-gradient(135deg, #f0e0d0, #d4b898);
}

.product-row-info {
  flex: 1;
  min-width: 0;
}

.product-row-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--black);
  margin-bottom: 2px;
}

.product-row-sku {
  font-size: 12px;
  color: var(--text-muted);
}

.product-row-price {
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
  min-width: 70px;
  text-align: right;
}

.product-row-stock {
  min-width: 100px;
  text-align: right;
}

.stock-bar {
  width: 80px;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.stock-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.stock-fill.high {
  background: var(--success);
}

.stock-fill.medium {
  background: var(--warning);
}

.stock-fill.low {
  background: var(--danger);
}

.stock-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Admin Tabs --- */
.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.admin-tab {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  margin-bottom: -1px;
}

.admin-tab:hover {
  color: var(--black);
}

.admin-tab.active {
  color: var(--black);
  border-bottom-color: var(--gold);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


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

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .back-portfolio {
    top: 10px;
    left: 10px;
    padding: 6px 14px;
    font-size: 12px;
  }

  .nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 70px 20px 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section {
    padding: 60px 20px;
  }

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

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

  .promo-features {
    flex-direction: column;
    gap: 24px;
  }

  .newsletter {
    padding: 60px 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer {
    padding: 40px 20px 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .category-card {
    aspect-ratio: 3/4;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .product-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .btn-add-cart {
    width: 100%;
    justify-content: center;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }
.animate-in:nth-child(6) { animation-delay: 0.3s; }
.animate-in:nth-child(7) { animation-delay: 0.35s; }
.animate-in:nth-child(8) { animation-delay: 0.4s; }
