/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --sand: #f5f0e8;
  --cream: #F9F9F6;
  --dark: #1a1410;
  --gold: #A79946;
  --gold-dark: #a07840;
  --muted: #7a6f63;
  --border: #e2d9ce;
  --success-bg: #f0faf0;
  --success-text: #2d6a2d;
  --error-bg: #fdf0f0;
  --error-text: #a02020;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(26,20,16,0.08);
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--cream); color: var(--dark); font-size: 15px; line-height: 1.6; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; }

/* ─── Alerts ────────────────────────────────────────────────── */
.alert { padding: 12px 20px; border-radius: var(--radius); margin: 16px auto; max-width: 1100px; font-size: 14px; }
.alert-success { background: var(--success-bg); color: var(--success-text); border: 1px solid #c3e6c3; }
.alert-error   { background: var(--error-bg);   color: var(--error-text);   border: 1px solid #f0c0c0; }

/* ─── Navbar ────────────────────────────────────────────────── */
.navbar { display: flex; align-items: center; justify-content: space-between;
          padding: 10px 48px; background: #F6F3EB; position: sticky; top: 0; z-index: 100; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links,.nav-actions { display: flex; gap: 28px; align-items: center;}
.nav-links a, .nav-actions a, .nav-links button, .nav-actions button { color: #0D530E; font-size: 15px; font-weight: 500; letter-spacing: 0.5px; transition: color .2s; }
.nav-links a:hover,.nav-actions a:hover,
.nav-links button:hover,
.nav-actions button:hover { color: var(--gold); }
.cart-badge { background: var(--gold); color: var(--dark); border-radius: 50%; padding: 1px 7px;
              font-size: 12px; font-weight: 600; margin-left: 4px; }
/* .nav-links button {
  color: #0D530E;
  font-size: 15px;
  letter-spacing: 0.5px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .2s;
} */
.nav-links button,
.nav-actions button {
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #0D530E;
  cursor: pointer;
}

/* Mobile menu */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 18px;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #F6F3EB;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-top: 1px solid rgba(13, 83, 14, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .nav-links a,
  .nav-actions a,
  .nav-actions button {
    width: 100%;
  }
}

.account-dropdown {
  position: relative;
}

.account-btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .25s ease;
  z-index: 100;
}

.account-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a,
.dropdown-menu button {
  width: 100%;
  display: block;
  padding: 12px 18px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: #222;
  font-size: 14px;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: #f7f3f1;
}
/* ─── Buttons ───────────────────────────────────────────────── */
.btn { display: inline-block; padding: 10px 24px; border-radius: var(--radius);
       font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer;
       border: none; transition: all .2s; text-align: center; }
.btn-primary  { background: var(--gold); color: var(--dark); }
.btn-primary:hover  { background: var(--gold-dark); color: #fff; }
.btn-outline  { background: transparent; border: 1.5px solid var(--gold); color: var(--gold-dark); }
.btn-outline:hover  { background: var(--gold); color: var(--dark); }
.btn-danger   { background: #d9534f; color: #fff; }
.btn-danger:hover   { background: #c0302c; }
.btn-sm       { padding: 5px 12px; font-size: 12px; }
.btn-lg       { padding: 14px 36px; font-size: 16px; }
.btn-full     { display: block; width: 100%; }

/* logo */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 50px; /* adjust as needed */
  width: auto;
  display: block;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  color: var(--sand);
  background: linear-gradient(180deg, rgba(26,20,16,0.3), rgba(26,20,16,0.55)),
              url('/uploads/hero.png') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,20,16,0.45), rgba(26,20,16,0.72));
}
.hero-content {
  position: relative;
  max-width: 720px;
  text-align: center;
  padding: 24px;
}
.hero-label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  line-height: 1.05;
  font-weight: 300;
  margin: 0;
}
.hero p {
  color: rgba(245,240,232,0.88);
  margin: 18px auto 24px;
  max-width: 610px;
  font-size: 1.05rem;
  letter-spacing: 0.4px;
}
.hero-btn {
  padding: 14px 32px;
  font-size: 0.95rem;
}

.about-card {
  padding: 50px 24px;
  text-align: center;
}
.about-card h2 {
  color: #332f2b;
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 18px;
}
.about-card h3{
  color: #332f2b;
  font-size: 1.2rem;
  margin: 12px;
}
.about-card p {
  color: #7a6f63;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
}



/* ─── Category Filter ───────────────────────────────────────── */
.category-filter, .status-filter {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 20px 24px 28px; margin-bottom: 20px }
.cat-btn { padding: 7px 20px; border-radius: 24px; border: 1.5px solid var(--border);
           font-size: 16px; color: var(--muted); transition: all .2s; }
.cat-btn:hover, .cat-btn.active { background: var(--gold); border-color: var(--gold); color: var(--dark); }

/* ─── Product Grid ──────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr);
                gap: 24px; padding: 0 48px 64px; max-width: 1600px; margin: 0 auto; }
.product-card { background: #fff; overflow: hidden;
                box-shadow: var(--shadow); transition: transform .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(26,20,16,0.13); }
/* Tablet */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 24px 48px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px 40px;
  }
}
.product-img-wrap { height: 260px; overflow: hidden; background: var(--sand); }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover img { transform: scale(1.04); }
.product-info { padding: 16px; }
.product-category { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
                    color: var(--muted); }
.product-name { font-family: var(--font-display); font-size: 1.2rem; margin: 4px 0 8px; }
.product-price { color: var(--gold-dark); font-weight: 600; }
.add-to-cart-form { padding: 0 16px 16px; }
.empty-state { text-align: center; color: var(--muted); padding: 48px; grid-column: 1/-1; }
.view-more-wrap { text-align: center; grid-column: 1/-1; margin: 20px 0 40px; }
.view-more-wrap .btn { min-width: 180px; }

/* ─── Product Detail ────────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
                  max-width: 1000px; margin: 48px auto; padding: 0 24px; }
.product-detail-img img { width: 100%; border-radius: var(--radius); object-fit: cover; max-height: 500px; }
.product-detail-info h1 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; margin: 12px 0; }
.product-price-lg { font-size: 1.5rem; color: var(--gold-dark); font-weight: 600; margin: 8px 0 16px; }
.product-desc { color: var(--muted); line-height: 1.8; margin: 24px 0; }
.detail-cart-form .qty-control { margin-bottom: 16px; }
.detail-cart-form label { font-size: 13px; color: var(--muted); margin-bottom: 4px; display: block; }
.detail-cart-form input[type=number] { width: 80px; padding: 8px; border: 1.5px solid var(--border);
                                        border-radius: var(--radius); font-size: 15px; }
.back-link { display: inline-block; margin-top: 20px; color: var(--muted); font-size: 14px; }

/* ─── Cart ──────────────────────────────────────────────────── */
.cart-page { max-width: 1000px; margin: 48px auto; padding: 0 24px; }
.cart-page h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 24px; }
.cart-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.cart-item { display: flex; align-items: center; gap: 16px; padding: 16px 0;
             border-bottom: 1px solid var(--border); }
.cart-item img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-family: var(--font-display); font-size: 1.1rem; }
.cart-item-total { font-weight: 600; min-width: 80px; text-align: right; }
.qty-form input[type=number] { width: 60px; padding: 6px; border: 1.5px solid var(--border); border-radius: 6px; }
.remove-btn { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 18px; }
.remove-btn:hover { color: #d9534f; }
.cart-summary { background: #fff; border-radius: var(--radius); padding: 24px; height: fit-content;
                box-shadow: var(--shadow); }
.cart-summary h2 { font-family: var(--font-display); margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.summary-row.total { font-weight: 700; font-size: 16px; border-top: 1px solid var(--border); padding-top: 12px; }
.empty-cart { text-align: center; padding: 64px 0; color: var(--muted); }
.empty-cart p { margin-bottom: 16px; font-size: 1.1rem; }

/* ─── Checkout ──────────────────────────────────────────────── */
.checkout-page { max-width: 1000px; margin: 48px auto; padding: 0 24px; }
.checkout-page h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 28px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; }
.checkout-form h2, .order-summary-box h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 14px;
  background: #fff; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cod-notice { display: flex; align-items: flex-start; gap: 12px; background: var(--sand);
              border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.cod-notice span { font-size: 1.5rem; }
.cod-notice p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.order-summary-box { background: #fff; border-radius: var(--radius); padding: 24px;
                     height: fit-content; box-shadow: var(--shadow); }
.summary-item { display: flex; justify-content: space-between; font-size: 14px;
                padding: 8px 0; border-bottom: 1px solid var(--border); }
.summary-divider { height: 1px; background: var(--border); margin: 12px 0; }
.summary-total { display: flex; justify-content: space-between; font-size: 16px; }

/* ─── Confirmation ──────────────────────────────────────────── */
.confirmation-page { display: flex; justify-content: center; padding: 64px 24px; }
.confirmation-card { background: #fff; border-radius: var(--radius); padding: 48px;
                     box-shadow: var(--shadow); max-width: 540px; width: 100%; text-align: center; }
.check-icon { width: 64px; height: 64px; background: #f0faf0; border-radius: 50%;
              display: flex; align-items: center; justify-content: center;
              font-size: 28px; color: #2d6a2d; margin: 0 auto 20px; }
.confirmation-card h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 8px; }
.confirmation-card > p { color: var(--muted); margin-bottom: 28px; }
.ref-box { background: var(--sand); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; }
.ref-box span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.ref-box strong { display: block; font-size: 1.2rem; color: var(--dark); margin-top: 4px; }
.order-meta { text-align: left; margin-bottom: 28px; }
.meta-row { display: flex; justify-content: space-between; padding: 8px 0;
            border-bottom: 1px solid var(--border); font-size: 14px; }
.meta-row span:first-child { color: var(--muted); }

/* ─── Status Badges ─────────────────────────────────────────── */
.status-badge { padding: 3px 10px; border-radius: 24px; font-size: 12px; font-weight: 500; }
.status-pending        { background: #fff8e6; color: #a06000; }
.status-confirmed      { background: #e6f0ff; color: #2046a0; }
.status-out-for-delivery { background: #f0e6ff; color: #6020a0; }
.status-delivered      { background: #e6faf0; color: #1a6a3a; }
.status-cancelled      { background: #fde8e8; color: #a02020; }
.status-active         { background: #e6faf0; color: #1a6a3a; }
.status-inactive       { background: #f2f2f2; color: #888; }

/* ─── Admin Layout ──────────────────────────────────────────── */
.admin-body { background: var(--cream); }
.admin-layout { display: flex; min-height: 100vh; }
.sidebar { width: 220px; background: #F6F3EB; display: flex; flex-direction: column; flex-shrink: 0; }
.sidebar-brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold);
                 padding: 24px 20px;  letter-spacing: 1px; }
.sidebar-nav { display: flex; flex-direction: column; padding: 16px 0; flex: 1; }
.sidebar-nav a { color: #0D530E; padding: 12px 20px; font-size: 14px; font-weight: 500; transition: background .2s; }
.sidebar-nav a:hover { background:var(--gold); color: #fff; }
.logout-btn { width: 100%; padding: 12px 20px; background: none; border: none; color: #a02020;;
              font-size: 14px;font-weight: 500; text-align: left; cursor: pointer; font-family: var(--font-body); }
.admin-content { flex: 1; padding: 32px; overflow-y: auto; }
.admin-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.admin-page-header h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; }
.admin-user { color: var(--muted); font-size: 13px; }

/* ─── Dashboard Stats ───────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
              gap: 20px; margin-bottom: 36px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 24px;
             box-shadow: var(--shadow); }
.stat-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
              color: var(--muted); margin-bottom: 8px; }
.stat-value { display: block; font-size: 1.8rem; font-weight: 600; color: var(--dark); }
.stat-warn    { color: #a06000; }
.stat-success { color: #1a6a3a; }
.stat-danger  { color: #a02020; }

/* ─── Data Table ────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; background: #fff;
              border-radius: var(--radius); overflow: hidden;  }
.data-table th { background: var(--sand); padding: 12px 16px; text-align: left; font-size: 12px;
                 text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--cream); }
.row-inactive td { opacity: 0.55; }
.table-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; vertical-align: middle; }
.actions-cell { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

/* ─── Admin Form ────────────────────────────────────────────── */
.admin-form { max-width: 640px; background: #fff; border-radius: var(--radius);
              padding: 32px; box-shadow: var(--shadow); }
.login-wrap  { display: flex; justify-content: center; align-items: center; min-height: 70vh; margin: 50px 0px;}
.login-card  { background: #fff; border-radius: var(--radius); padding: 40px;
               box-shadow: var(--shadow); width: 360px; }
.login-card h1 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 24px; }

/* ─── Order Detail ──────────────────────────────────────────── */
.order-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.order-info-card, .order-items-card, .status-update-card {
  background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.order-info-card h2, .order-items-card h2, .status-update-card h2 {
  font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 16px; }
.order-total { text-align: right; margin-top: 12px; font-size: 15px; }
.status-form { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.status-form select { padding: 9px 14px; border: 1.5px solid var(--border);
                      border-radius: var(--radius); font-size: 14px; }
.recent-orders { background: #fff; border-radius: var(--radius); padding: 24px;
                 box-shadow: var(--shadow); margin-top: 8px; }
.recent-orders h2 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px; }

/* ─── Admin Product Create ────────────────────────────────────────────── */
.admin-color-list { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:8px 0 }
.admin-swatch { width:32px; height:32px; border:2px solid #eee; border-radius:4px; position:relative }
.admin-swatch button.remove { position:absolute; top:-6px; right:-6px; background:#fff; border:1px solid #ccc; border-radius:50%; width:20px; height:20px; cursor:pointer }
.color-picker-row { display:flex; gap:8px; align-items:center; margin-top:6px }
.admin-image-preview{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:12px;
  }

.preview-image{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid #e5e5e5;
  }

/* ─── Error Page ────────────────────────────────────────────── */
.error-page { text-align: center; padding: 100px 24px; }
.error-page h1 { font-family: var(--font-display); font-size: 6rem; color: var(--gold); }
.error-page p  { color: var(--muted); margin: 16px 0 32px; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 10px 20px; }
  .product-grid { padding: 0 16px 40px; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout  { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-detail-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .admin-content { padding: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}


/* TOP FOOTER LAYOUT */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  background: #C9CAAC;
  color: #2e2820;
  padding: 50px 60px 25px;
}

/* LEFT SIDE */
.footer-content {
  flex: 1;
  min-width: 220px;
}

.footer-content .brand {
  font-size: 1.8rem;
  font-weight: 700;
  color:#2e2820;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-content p {
  color:#2e2820;
  line-height: 1.7;
}

/* CENTER LINKS */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 120px;
}

.footer-links a {
  color: #2e2820;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #544b3e;
}

/* RIGHT SIDE SOCIAL */
.social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  min-width: 220px;
}

.social h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.social a,
.social p {
  color: #2e2820;
  text-decoration: none;
}


.social-icons a {
  margin: 5px;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.2s ease;
}



/* COPYRIGHT BOTTOM CENTER */
.copy-right {
  width: 100%;
  text-align: center;
  border-top: 1px solid #2e2820;
  padding-top: 20px;
  color: #2e2820;
  font-size: 0.95rem;
}


/* WHY CHOOSE US */
.why-choose-section {
  padding: 60px 24px;
  background: #F6F3ED;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9b7b6d;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-header h2 {
  font-size: 38px;
  margin-bottom: 18px;
  color: #1f1f1f;
}

.section-header p {
  color: #666;
  line-height: 1.8;
  font-size: 16px;
}

.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  transition: 0.3s ease;
  border: 1px solid #eee;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #F6F3EB;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon i {
  font-size: 28px;
  color: #0D530E;
}

.why-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: #222;
}

.why-card p {
  color: #666;
  line-height: 1.7;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 28px;
  }
}

/* my order */
/* ───────────────── ACCOUNT PAGE ───────────────── */

.account-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.account-header {
  margin-bottom: 40px;
  text-align: center;
}

.account-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1f1f1f;
}

.account-header p {
  color: #666;
  font-size: 16px;
  line-height: 1.7;
}

/* ───────────────── EMPTY STATE ───────────────── */

.empty-state {
  background: #faf7f5;
  border-radius: 18px;
  padding: 60px 24px;
  text-align: center;
  border: 1px solid #eee;
}

.empty-state p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

/* ───────────────── TABLE ───────────────── */

.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  overflow: hidden;
}

.orders-table thead {
  background: #f8f4f2;
}

.orders-table th {
  padding: 18px 20px;
  text-align: left;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #555;
  font-weight: 600;
}

.orders-table td {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
  color: #222;
  font-size: 15px;
  vertical-align: middle;
}

/* ───────────────── REFERENCE CODE ───────────────── */

.orders-table code {
  padding: 6px 10px;
  font-size: 13px;
  color: #8d6e63;
  font-weight: 600;
}

/* ───────────────── STATUS BADGES ───────────────── */

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
}

/* Pending */
.status-pending {
  background: #fff4db;
  color: #a66b00;
}

/* Processing */
.status-processing {
  background: #e6f0ff;
  color: #1d4ed8;
}

/* Shipped */
.status-shipped {
  background: #ede9fe;
  color: #6d28d9;
}

/* Delivered */
.status-delivered {
  background: #e7f8ee;
  color: #15803d;
}

/* Cancelled */
.status-cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

/* ───────────────── RESPONSIVE ───────────────── */

/* Large Laptop */
@media (max-width: 1400px) {
  .account-page {
    max-width: 1100px;
  }
}

/* Laptop */
@media (max-width: 1200px) {
  .orders-table th,
  .orders-table td {
    padding: 18px 16px;
  }
}

/* Tablet */
@media (max-width: 992px) {

  .account-header h2 {
    font-size: 36px;
  }

  .orders-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Small Tablet */
@media (max-width: 768px) {

  .account-page {
    padding: 40px 18px 60px;
  }

  .account-header {
    margin-bottom: 28px;
  }

  .account-header h2 {
    font-size: 30px;
  }

  .account-header p {
    font-size: 15px;
  }

  .orders-table th {
    font-size: 12px;
    padding: 16px 14px;
  }

  .orders-table td {
    font-size: 14px;
    padding: 16px 14px;
  }

  .status-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Mobile */
@media (max-width: 640px) {

  .account-page {
    padding: 32px 14px 50px;
  }

  .account-header h2 {
    font-size: 26px;
  }

  .empty-state {
    padding: 40px 20px;
  }

  .empty-state p {
    font-size: 16px;
  }

  .orders-table {
    border-radius: 14px;
  }

  .orders-table th,
  .orders-table td {
    padding: 14px 12px;
  }

  .orders-table code {
    font-size: 12px;
    padding: 5px 8px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {

  .account-header h1 {
    font-size: 22px;
  }

  .account-header p {
    font-size: 14px;
  }

  .orders-table th,
  .orders-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .status-badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  .orders-table code {
    font-size: 11px;
  }
}

.reviews-home-section {
    padding: 80px 40px;
    background: #F6F3ED;
  }

  .reviews-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .review-home-card {
    background: #fffefb;
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .review-home-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  }

  .review-home-stars {
    display: flex;
    gap: 3px;
  }

  .review-home-stars i {
    font-size: 14px;
    color: #c9a84c;
  }

  .review-home-comment {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin: 0;
    flex: 1;
    font-style: italic;
  }

  .review-home-footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid #f0ebe4;
    padding-top: 12px;
    margin-top: auto;
  }

  .review-home-author {
    font-weight: 600;
    font-size: 13px;
    color: #2e4057;
  }

  .review-home-product {
    font-size: 12px;
    color: #999;
  }

  @media (max-width: 900px) {
    .reviews-home-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 580px) {
    .reviews-home-section {
      padding: 60px 20px;
    }
    .reviews-home-grid {
      grid-template-columns: 1fr;
    }
  }

  /* out of stock badge */
  .out-of-stock-badge {
  display: inline-block;
  padding: 12px 20px;
  background: #DDDDDD;
  color: #273338;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

  /* quantity button */
  .qty-control {
    margin-top: 20px;
  }

  .qty-box {
    display: flex;
    align-items: center;
    width: 120px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
  }

  .qty-btn {
    width: 64px;
    height: 40px;
    border: none;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
  }

  .qty-btn:hover:not(:disabled) {
    background: #f5f5f5;
  }

  .qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  #quantity {
    flex: 1;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
  }

  #quantity::-webkit-inner-spin-button,
  #quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }