/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=EB+Garamond:wght@400;700&display=swap');

:root {
  --maroon: #581845;
  --maroon2: #8b174e;
  --deep: #3c1231;
  --gold: #ffd21f;
  --soft: #f8f6f8;
  --danger: #ef4444;
  --ink: #333;
  --muted: #737373;
  --shadow: 0 8px 24px rgba(88,24,69,.10);
  --shadow-sm: 0 2px 8px rgba(88,24,69,.08);
  --shadow-lg: 0 12px 32px rgba(88,24,69,.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--maroon);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
  color: var(--maroon);
  transition: var(--transition);
}

.page-shell {
  flex: 1;
}

.text-gold {
  color: var(--gold);
}

.text-custom-maroon {
  color: var(--maroon);
}

.bg-maroon {
  background: var(--maroon);
}

/* ================================
   HEADER / NAVBAR - MAROON VERSION
================================ */

.shop-navbar {
  background: linear-gradient(135deg, #581845, #8b174e);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 18px rgba(88, 24, 69, 0.22);
  padding: 0;
  z-index: 1030;
  position: sticky;
  top: 0;
}

/* Logo */
.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  transition: var(--transition);
}

.brand-mark:hover {
  transform: scale(1.02);
  border-color: #fff;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ================================
   MOBILE HEADER
================================ */

.mobile-topbar {
  height: 74px;
  display: grid;
  grid-template-columns: 58px 1fr 46px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.mobile-brand-name {
  color: #fff;
  font-family: 'EB Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: var(--transition);
}

.mobile-brand-name:hover {
  color: var(--gold);
}

.custom-mobile-toggler {
  border: 0;
  background: rgba(255,255,255,0.15);
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
}

.custom-mobile-toggler:hover {
  background: rgba(255,255,255,0.25);
}

.custom-mobile-toggler span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 99px;
  display: block;
  transition: var(--transition);
}

.custom-mobile-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.custom-mobile-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.custom-mobile-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.custom-mobile-toggler:focus {
  box-shadow: none !important;
  outline: none;
}

/* Mobile dropdown */
.mobile-menu-box {
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 18px 0 20px;
  background: linear-gradient(135deg, #581845, #6e1a48);
  border-radius: 0 0 20px 20px;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li {
  margin: 0;
}

.mobile-menu-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-menu-list a i {
  width: 24px;
  text-align: center;
  color: var(--gold);
  font-size: 1.2rem;
}

.mobile-menu-list a:hover {
  color: var(--gold);
  background: rgba(255,255,255,.12);
  padding-left: 26px;
}

.mobile-cart-area {
  border-top: 1px solid rgba(255,255,255,.18);
  margin-top: 16px;
  padding: 20px 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mobile-cart {
  font-size: 1.3rem;
  background: rgba(255,255,255,0.15);
  padding: 10px 20px;
  border-radius: 40px;
  width: auto;
}

.mobile-total {
  width: 100%;
  text-align: center;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
}

.mobile-search {
  width: 100%;
  display: flex;
  margin-top: 5px;
}

.mobile-search input {
  flex: 1;
  height: 46px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px 0 0 12px;
  padding: 0 16px;
  background: #fff;
  color: #333;
  font-size: 0.9rem;
}

.mobile-search input:focus {
  outline: none;
  border-color: var(--gold);
}

.mobile-search button {
  height: 46px;
  width: 54px;
  border: 0;
  background: var(--gold);
  color: var(--maroon);
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-search button:hover {
  background: #e5bc00;
}

/* ================================
   DESKTOP HEADER
================================ */

.desktop-topbar {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 20px;
}

.desktop-brand {
  flex: 0 0 58px;
}

.desktop-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.desktop-menu li {
  margin: 0;
}

.desktop-menu a {
  display: block;
  color: #fff;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 40px;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.desktop-menu a:hover {
  color: var(--maroon);
  background: var(--gold);
  transform: translateY(-2px);
}

.desktop-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: nowrap;
}

.cart-pill {
  position: relative;
  color: #fff;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  padding: 8px 14px;
  border-radius: 40px;
  transition: var(--transition);
}

.cart-pill:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.cart-pill sup {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: var(--maroon);
  min-width: 20px;
  height: 20px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.nav-total {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.2);
  padding: 6px 12px;
  border-radius: 40px;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-search input {
  width: 280px;
  max-width: 100%;
  height: 44px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 40px 0 0 40px;
  padding: 0 16px;
  background: #fff;
  color: #333;
  font-size: 0.85rem;
}

.nav-search input:focus {
  outline: none;
  border-color: var(--gold);
}

.nav-search button {
  height: 44px;
  width: 52px;
  border: 0;
  background: var(--gold);
  color: var(--maroon);
  border-radius: 0 40px 40px 0;
  cursor: pointer;
  transition: var(--transition);
}

.nav-search button:hover {
  background: #e5bc00;
}

.nav-search input:focus,
.mobile-search input:focus,
.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,210,31,.25);
  outline: none;
}

/* ================================
   BUTTONS
================================ */

.btn-custom,
.btn-add-to-cart,
.btn-update-custom-maroon,
.btn-login-custom {
  background: var(--maroon) !important;
  border-color: var(--maroon) !important;
  color: #fff !important;
  border-radius: 40px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.btn-custom:hover,
.btn-add-to-cart:hover,
.btn-update-custom-maroon:hover,
.btn-login-custom:hover {
  background: var(--maroon2) !important;
  border-color: var(--maroon2) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-custom {
  border: 2px solid var(--maroon) !important;
  color: var(--maroon) !important;
  background: transparent !important;
  border-radius: 40px !important;
  padding: 8px 22px !important;
  font-weight: 600 !important;
}

.btn-outline-custom:hover {
  background: var(--maroon) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-remove-custom {
  background: var(--danger) !important;
  border-color: var(--danger) !important;
  color: #fff !important;
  border-radius: 40px !important;
  transition: var(--transition) !important;
}

.btn-remove-custom:hover {
  background: #dc2626 !important;
  transform: translateY(-2px);
}

.btn-soft {
  background: #f7eff4;
  color: var(--maroon);
  border: 1px solid #ecdce7;
  border-radius: 40px;
  padding: 8px 20px;
  transition: var(--transition);
}

.btn-soft:hover {
  background: #efddea;
  color: var(--maroon);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--maroon);
  border: none;
  border-radius: 40px;
  padding: 10px 24px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-gold:hover {
  background: #e5bc00;
  transform: translateY(-2px);
  color: var(--maroon);
}

/* ================================
   HERO
================================ */

.hero-banner {
  background: linear-gradient(135deg, var(--maroon), #ad174f);
  color: #fff;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '✨';
  position: absolute;
  font-size: 180px;
  opacity: 0.08;
  bottom: -40px;
  right: -40px;
  transform: rotate(-15deg);
}

.hero-banner h1 {
  color: #fff;
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 15px;
}

.hero-banner p {
  max-width: 600px;
  margin: 0 auto 20px;
  font-size: 1rem;
  opacity: 0.95;
}

/* ================================
   TITLES
================================ */

.section-title {
  text-align: center;
  margin: 30px 0 25px;
  font-size: 1.8rem;
  position: relative;
}

.section-title::after,
.lined-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  margin: 12px auto 0;
  border-radius: 9px;
}

.lined-title::after {
  margin-left: 0;
}

/* ================================
   SIDEBAR
================================ */

.sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.sidebar h4 {
  font-size: 1.2rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  margin: 0 0 15px;
}

.sidebar ul {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.sidebar a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #555;
  transition: var(--transition);
  font-size: 0.9rem;
}

.sidebar a:hover,
.sidebar a.active {
  background: linear-gradient(135deg, #f7eff4, #fff);
  color: var(--maroon);
  font-weight: 600;
  padding-left: 18px;
}

/* ================================
   PRODUCTS - MODERN GRID
================================ */

.product-toolbar {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  background: #fff;
  padding: 15px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card .card-img-top {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
  transform: scale(1.05);
}

.product-card .card-body {
  padding: 18px;
}

.product-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  min-height: 48px;
  line-height: 1.4;
}

.card-price {
  color: var(--maroon);
  font-size: 1.4rem;
  font-weight: 800;
}

.stock-chip {
  font-size: 0.7rem;
  border-radius: 99px;
  padding: 5px 12px;
  font-weight: 700;
  display: inline-block;
}

.stock-chip.active {
  background: #d8f3df;
  color: #278247;
}

.stock-chip.low {
  background: #fff0b3;
  color: #8a6800;
}

.stock-chip.new {
  background: #ffe0e0;
  color: #c0392b;
}

.card-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.card-action-row .btn-add-to-cart {
  flex: 2;
  padding: 10px !important;
  font-size: 0.85rem;
}

.view-link {
  flex: 1;
  background: #f5f5f5;
  color: #555;
  padding: 10px;
  text-align: center;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.view-link:hover {
  background: var(--maroon);
  color: #fff;
}

/* Product Detail Page */
.product-main-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ================================
   CARDS / PANELS
================================ */

.badge-primary {
  background: var(--maroon) !important;
  color: #fff;
  padding: 6px 12px;
  border-radius: 40px;
}

.feature-card {
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
  background: #fff;
  height: 100%;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--gold);
  background: var(--maroon);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.empty-state {
  padding: 60px 30px;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  width: 100%;
}

.empty-state i {
  font-size: 4rem;
  color: var(--maroon);
  margin-bottom: 20px;
  opacity: 0.5;
}

/* ================================
   TABLES
================================ */

.table {
  background: #fff;
  border-color: #eee;
  border-radius: 16px;
  overflow: hidden;
}

.table thead th {
  color: var(--maroon);
  font-weight: 700;
  background: #fef9f9;
  border-bottom: 2px solid var(--gold);
  padding: 15px;
}

.table tbody td {
  padding: 12px;
  vertical-align: middle;
}

/* ================================
   CART
================================ */

.cart-title {
  background: linear-gradient(135deg, var(--maroon), #ae174c);
  color: #fff;
  text-align: center;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 25px;
}

.cart-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.cart-total {
  color: var(--maroon);
  font-weight: 800;
  font-size: 1.3rem;
}

/* ================================
   FORMS / PROFILE / ORDERS
================================ */

.form-panel,
.payment-card,
.order-card-detail,
.registration-card,
.profile-sidebar,
.profile-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid #f0f0f0;
}

/* Auth cards */
.registration-card {
  max-width: 520px;
  margin: 20px auto 40px;
  padding: 32px;
}

/* Checkout / payment cards */
.payment-card {
  padding: 28px;
}

.payment-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cart-summary-title {
  color: var(--maroon);
  font-family: 'EB Garamond', serif;
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.cart-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.cart-summary-item span {
  color: #555;
  font-weight: 500;
}

.cart-summary-item strong {
  color: var(--maroon);
  white-space: nowrap;
}

.total-price-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8f6f8, #fff);
  color: var(--maroon);
  font-weight: 900;
  font-size: 1.2rem;
}

/* Order detail base card */
.order-card-detail {
  padding: 32px;
}

/* Profile layout */
.profile-sidebar,
.profile-content {
  padding: 28px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
}

.profile-sidebar {
  height: fit-content;
}

.profile-sidebar .profile-avatar,
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 4px solid var(--gold);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 3rem;
}

.profile-sidebar .profile-avatar img,
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-menu {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.profile-menu li {
  margin-bottom: 10px;
}

.profile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  color: #555;
  font-weight: 600;
  transition: var(--transition);
}

.profile-menu a:hover,
.profile-menu a.active {
  background: linear-gradient(135deg, #f7eff4, #fff);
  color: var(--maroon);
  padding-left: 24px;
}

/* Forms */
.form-panel {
  padding: 28px;
}

.form-label {
  color: #555;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 0 15px;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,210,31,.2);
}

textarea.form-control {
  min-height: 110px;
  padding: 12px 15px;
}

/* Main action button used in checkout */
.btn-razorpay-pay {
  background: var(--maroon) !important;
  border-color: var(--maroon) !important;
  color: #fff !important;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 40px;
  transition: var(--transition);
}

.btn-razorpay-pay:hover {
  background: var(--maroon2) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ================================
   FOOTER - FULL WIDTH FIX
================================ */

.footer {
  background: linear-gradient(135deg, var(--maroon), #6e1a48);
  color: #fff;
  text-align: center;
  margin-top: 60px;
  border-top: 4px solid var(--gold);
  padding: 40px 0 30px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  display: block;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--gold);
  color: var(--maroon);
  transform: translateY(-3px);
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.payment-methods i {
  font-size: 2rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.payment-methods i:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  margin-top: 15px;
}

/* ================================
   BADGES & STATUS
================================ */

.badge {
  border-radius: 40px;
  padding: 0.5em 1em;
  font-weight: 600;
}

.bg-warning {
  background: #ffc107 !important;
  color: #2c1a00 !important;
}

.bg-info {
  background: #19bfe5 !important;
  color: #fff;
}

.bg-success {
  background: #218a65 !important;
  color: #fff;
}

.bg-primary {
  background: #5c60d6 !important;
  color: #fff;
}

.bg-danger {
  background: #ef4444 !important;
  color: #fff;
}

/* ================================
   TRACKING
================================ */

.tracking {
  display: flex;
  gap: 12px;
  margin: 25px 0;
}

.track-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.track-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.track-step.done .track-dot {
  background: var(--maroon);
}

.track-step.active .track-dot {
  background: var(--gold);
  color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(255,210,31,0.3);
}

.track-step span {
  font-size: 0.75rem;
  color: #666;
}

.track-step.done span {
  color: var(--maroon);
  font-weight: 700;
}

.info-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.success-icon {
  font-size: 4rem;
  color: #1e9d60;
}

.payment-status-card {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}

/* ================================
   RESPONSIVE BREAKPOINTS
================================ */

/* Tablet */
@media (max-width: 991.98px) {
  .sidebar {
    position: static;
    margin-bottom: 20px;
  }

  .product-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .product-toolbar form {
    width: 100%;
  }

  .product-toolbar .form-select {
    margin-top: 10px;
    width: 100%;
  }

  .product-card .card-img-top {
    height: 220px;
  }

  .table-responsive {
    border: 1px solid #eee;
    border-radius: 16px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .cart-desktop-table thead {
    display: none;
  }

  .cart-desktop-table tr {
    display: block;
    border: 1px solid #eee;
    border-radius: 16px;
    margin-bottom: 15px;
    padding: 12px;
  }

  .cart-desktop-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0 !important;
    padding: 8px 0;
  }

  .cart-desktop-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--maroon);
    margin-right: 12px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .product-card .card-img-top {
    height: 160px;
  }
  
  .product-card .card-title {
    font-size: 0.85rem;
    min-height: auto;
  }
  
  .card-price {
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .mobile-topbar {
    height: 68px;
    grid-template-columns: 52px 1fr 44px;
    gap: 8px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .mobile-brand-name {
    font-size: 1.4rem;
  }

  .custom-mobile-toggler {
    width: 44px;
    height: 44px;
  }

  .custom-mobile-toggler span {
    width: 22px;
  }

  .mobile-menu-list a {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .hero-banner {
    padding: 28px 16px;
    border-radius: 20px;
  }

  .hero-banner h1 {
    font-size: 1.5rem;
  }

  .hero-banner p {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.4rem;
    margin: 20px 0;
  }

  .products-grid {
    gap: 12px;
  }

  .product-card .card-img-top {
    height: 140px;
  }
  
  .product-card .card-body {
    padding: 12px;
  }
  
  .product-card .card-title {
    font-size: 0.8rem;
  }

  .card-price {
    font-size: 1rem;
  }

  .card-action-row {
    flex-direction: column;
    gap: 8px;
  }

  .card-action-row .btn,
  .view-link {
    width: 100%;
    padding: 8px !important;
    font-size: 0.75rem;
  }

  .stock-chip {
    font-size: 0.6rem;
    padding: 3px 8px;
  }

  .registration-card {
    padding: 20px;
  }

  .tracking {
    font-size: 0.7rem;
    gap: 6px;
  }
  
  .track-dot {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .table td,
  .table th {
    font-size: 0.8rem;
  }

  .cart-title {
    font-size: 1.2rem;
  }

  .footer {
    padding: 30px 0 20px;
  }
  
  .footer-links {
    gap: 15px;
  }
  
  .footer-links a {
    font-size: 0.75rem;
  }
  
  .social-icons {
    gap: 12px;
  }
  
  .social-icons a {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  
  .payment-methods i {
    font-size: 1.5rem;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .mobile-brand-name {
    font-size: 1.2rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .mobile-topbar {
    grid-template-columns: 46px 1fr 42px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card .card-img-top {
    height: 180px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease forwards;
}

.pulse {
  animation: pulse 2s ease infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--maroon);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--maroon2);
}