/* ==================== GLOBAL STYLES ==================== */
:root {
  --primary-color: #ffb800;
  --secondary-color: #ff8c42;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --danger-color: #e74c3c;
  --success-color: #27ae60;
  --info-color: #3498db;
  --warning-color: #f39c12;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==================== NAVBAR ==================== */
.navbar {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: white !important;
}

.navbar-nav .nav-link {
  color: white !important;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  transform: translateY(-2px);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar-nav .active > .nav-link {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  background: linear-gradient(
    135deg,
    #d4930f 0%,
    #e6b333 25%,
    #ffb800 50%,
    #ff9500 75%,
    #ff8c42 100%
  );
  background-attachment: fixed;
  background-size: 400% 400%;
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.1);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px
    );
  background-size:
    300px 300px,
    200px 200px,
    250px 250px;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.hero-section::after {
  content: "🐝 🐝 🐝 🐝 🐝";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  font-size: 2rem;
  opacity: 0.3;
  letter-spacing: 80px;
  animation: float-bee 25s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes float-bee {
  0%,
  100% {
    transform: translateY(0px) translateX(0);
  }
  25% {
    transform: translateY(-30px) translateX(20px);
  }
  50% {
    transform: translateY(0px) translateX(40px);
  }
  75% {
    transform: translateY(-20px) translateX(20px);
  }
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  animation: slideDown 0.8s ease-out;
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-section .btn {
  animation: slideUp 0.8s ease-out 0.4s both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== PRODUCT CARDS ==================== */
.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  background-color: #fffbf0;
  border: 2px solid #ffb800;
}

.product-image {
  width: 100%;
  height: 200px;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--danger-color);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: bold;
}

.product-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.product-category {
  color: var(--secondary-color);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.product-price {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.product-rating {
  color: var(--warning-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-card > a {
  pointer-events: none;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.btn-add-cart {
  background-color: var(--info-color);
  color: white;
  border: none;
  padding: 0.5rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1rem;
  min-width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-add-cart:hover {
  background-color: #2980b9;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.btn-buy-now {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  min-width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-buy-now:hover {
  background-color: #ff6b1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.btn-wishlist {
  background-color: white;
  color: var(--danger-color);
  border: 2px solid var(--danger-color);
  padding: 0.6rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1rem;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-wishlist:hover {
  background-color: #ffb800;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.4);
  transform: scale(1.1);
}

.btn-wishlist.active {
  background-color: var(--danger-color);
  color: white;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.btn-secondary {
  background-color: var(--dark-color);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #1a252f;
  transform: translateY(-2px);
}

.btn-danger {
  background-color: var(--danger-color);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

/* ==================== FORMS ==================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(255, 184, 0, 0.3);
}

/* ==================== CART PAGE ==================== */
.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.cart-items {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-color);
  align-items: center;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  background-color: var(--light-color);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.cart-item-details h3 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.cart-item-details p {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-qty button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--primary-color);
  background-color: white;
  color: var(--primary-color);
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cart-item-qty button:hover {
  background-color: var(--primary-color);
  color: white;
}

.cart-summary {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 80px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-color);
}

.summary-row:last-child {
  border-bottom: none;
  padding-top: 1rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.summary-label {
  color: var(--dark-color);
  font-weight: 500;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .cart-container,
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-payment {
    position: static;
    top: auto;
  }

  .navbar-nav {
    text-align: center;
  }

  .product-card {
    margin-bottom: 1.5rem;
  }
}
.admin-container {
  display: block;
  min-height: 100vh;
  background-color: #f5f7fa;
  position: relative;
}

.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
  padding: 2rem 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  left: 0;
  top: 0;
}

.sidebar h4 {
  color: var(--primary-color) !important;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.sidebar p {
  color: #bbb !important;
  font-size: 0.9rem;
}

.sidebar-menu {
  list-style: none;
  margin-top: 2rem;
}

.sidebar-menu li {
  margin: 0;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: #bbb;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  font-weight: 500;
}

.sidebar-menu a:hover {
  color: var(--primary-color);
  background-color: rgba(255, 184, 0, 0.1);
  border-left-color: var(--primary-color);
}

.sidebar-menu a.active {
  color: var(--primary-color);
  background-color: rgba(255, 184, 0, 0.15);
  border-left-color: var(--primary-color);
  font-weight: bold;
}

.admin-content {
  margin-left: 280px;
  min-height: 100vh;
  padding: 2.5rem 3.5rem;
  background-color: #f5f7fa;
  display: block;
}

.admin-content h1 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 2.5rem;
  font-size: 2.2rem;
  line-height: 1.3;
}

.admin-content h2 {
  color: var(--dark-color);
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Admin Card */
.admin-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.admin-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.admin-card-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 1.5rem 1.25rem;
  border-radius: 8px 8px 0 0;
  font-weight: bold;
  font-size: 1.1rem;
  margin: -2.5rem -2.5rem 1.5rem -2.5rem;
}

/* Buttons */
.btn {
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.25);
  color: white;
}

.btn-success {
  background-color: var(--success-color);
  color: white;
}

.btn-success:hover {
  background-color: #229954;
  transform: translateY(-2px);
  color: white;
}

.btn-warning {
  background-color: var(--warning-color);
  color: white;
}

.btn-warning:hover {
  background-color: #d68910;
  transform: translateY(-2px);
  color: white;
}

.btn-danger {
  background-color: var(--danger-color);
  color: white;
}

.btn-danger:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  color: white;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Table */
.table {
  background: white;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 0;
}

.table thead {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  ) !important;
  color: white !important;
  font-weight: bold;
}

.table thead th {
  padding: 1rem 1.25rem;
  border: none;
  font-size: 0.9rem;
  text-transform: capitalize;
  font-weight: 600;
  color: white !important;
  background: transparent !important;
}

.table tbody tr {
  border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover {
  background-color: #fafafa;
}

.table tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: #333 !important;
  background-color: transparent !important;
}

/* Modal */
.modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border: none;
  padding: 1.5rem;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
}

/* Forms in Admin */
.form-control {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

.form-label {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* Badge */
.badge {
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: white !important;
}

.badge.bg-success {
  background-color: var(--success-color) !important;
}

.badge.bg-danger {
  background-color: var(--danger-color) !important;
}

.badge.bg-warning {
  background-color: var(--warning-color) !important;
}

.badge.bg-info {
  background-color: var(--info-color) !important;
}

/* Alert */
.alert {
  border: none;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-bottom: 3rem;
  width: 100%;
}

.stat-card {
  background: white;
  padding: 2rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 5px solid;
  transition: all 0.3s ease;
  overflow: hidden;
}

.stat-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.stat-card.blue {
  border-left-color: var(--info-color);
}

.stat-card.green {
  border-left-color: var(--success-color);
}

.stat-card.orange {
  border-left-color: var(--primary-color);
}

.stat-card.red {
  border-left-color: var(--danger-color);
}

.stat-card h3 {
  color: #999;
  font-size: 0.9rem;
  text-transform: capitalize;
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0px;
}

.stat-card .number {
  color: var(--dark-color);
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-card small {
  color: #999;
  font-size: 0.9rem;
  display: block;
}

.stat-label {
  color: #888;
  font-size: 0.88rem;
  text-transform: capitalize;
  margin-bottom: 1.2rem;
  font-weight: 500;
  letter-spacing: 0px;
  display: block;
}

.stat-number {
  color: var(--dark-color);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  display: block;
}

/* Responsive */
@media (max-width: 1400px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .sidebar {
    width: 250px;
  }

  .admin-content {
    margin-left: 250px;
    padding: 2rem 2.5rem;
  }

  .admin-card {
    padding: 2rem;
  }

  .stats-grid {
    gap: 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 220px;
    padding: 1.5rem 0;
  }

  .admin-content {
    margin-left: 220px;
    padding: 1.5rem 1.5rem;
  }

  .sidebar-menu a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .sidebar h4 {
    font-size: 1.2rem;
  }

  .admin-content h1 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.3rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .admin-card {
    padding: 1.5rem;
  }

  .admin-card-header {
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    padding: 1rem;
  }

  .table thead th {
    padding: 0.8rem;
    font-size: 0.8rem;
  }

  .table tbody td {
    padding: 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 200px;
  }

  .admin-content {
    margin-left: 200px;
    padding: 1rem;
  }

  .sidebar-menu a {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .admin-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .stat-card {
    padding: 1rem 0.8rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
  }

  .admin-card {
    padding: 1rem;
  }

  .table {
    font-size: 0.8rem;
  }

  .table thead th,
  .table tbody td {
    padding: 0.6rem;
  }
}

.summary-value {
  color: var(--secondary-color);
  font-weight: bold;
}

/* ==================== CHECKOUT PAGE ==================== */
.checkout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.checkout-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-section {
  margin-bottom: 2rem;
}

.checkout-section h3 {
  color: var(--dark-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.checkout-payment {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 80px;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid var(--light-color);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover {
  border-color: var(--primary-color);
  background-color: rgba(255, 184, 0, 0.05);
}

.payment-option input[type="radio"] {
  margin-right: 1rem;
  cursor: pointer;
}

.payment-option.active {
  border-color: var(--primary-color);
  background-color: rgba(255, 184, 0, 0.1);
}

/* ==================== MODAL/ALERT ==================== */
.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideIn 0.3s ease;
}

.alert.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.alert.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==================== NOTIFICATION ==================== */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--success-color);
  color: white;
  padding: 1.5rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: slideInBottom 0.3s ease;
  z-index: 9999;
  max-width: 300px;
}

.notification.danger {
  background-color: var(--danger-color);
}

.notification.info {
  background-color: var(--info-color);
}

.notification.warning {
  background-color: var(--warning-color);
}

@keyframes slideInBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==================== FOOTER ==================== */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, #34495e 100%);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

footer h5 {
  margin-bottom: 1rem;
  font-weight: bold;
  color: var(--primary-color);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #bdc3c7;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--primary-color);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .cart-container,
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-payment {
    position: static;
    top: auto;
  }

  .navbar-nav {
    text-align: center;
  }

  .product-card {
    margin-bottom: 1.5rem;
  }
}

/* ==================== LOADING SPINNER ==================== */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== ADMIN SIDEBAR ==================== */
.admin-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: linear-gradient(135deg, var(--dark-color) 0%, #34495e 100%);
  color: white;
  padding: 2rem 0;
  position: fixed;
  width: 250px;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
}

.sidebar-menu li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background-color: var(--primary-color);
  padding-left: 2rem;
}

.admin-content {
  margin-left: 280px;
  padding: 2rem;
}

@media (max-width: 768px) {
  .admin-container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 1rem 0;
  }

  .admin-content {
    margin-left: 0;
    padding: 1rem;
  }
}
