/* Status color coding for coupons and orders */
.status-label.status-active { color: #10b981; font-weight: bold; }
.status-label.status-paused { color: #f59e42; font-weight: bold; }
.status-label.status-draft { color: #b6b6b6; font-weight: bold; }
.status-label.status-expired, .status-label.status-cancelled { color: #e94a6a; font-weight: bold; }

.status-dropdown.status-pending { background: #fffbe6; color: #b58900; font-weight: bold; }
.status-dropdown.status-confirmed { background: #e3fcec; color: #10b981; font-weight: bold; }
.status-dropdown.status-dispatched { background: #e0e7ff; color: #3b82f6; font-weight: bold; }
.status-dropdown.status-delivered { background: #f0fdf4; color: #22c55e; font-weight: bold; }
.status-dropdown.status-cancelled { background: #fef2f2; color: #e94a6a; font-weight: bold; }
.products-grid {
  width: 100%;
}

.product-card {
  width: 100%;
}
/* Center the products grid and set a max-width for proper grid layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
}
/* Ensure products display in a grid with 3 cards per row */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}
/* Adaptive Navbar Styles */
.fixed-navbar.navbar-light {
  background: rgba(255,255,255,0.92);
  color: #222;
  border-bottom: 1px solid #e5e7eb;
}
.fixed-navbar.navbar-light .text-block-2,
.fixed-navbar.navbar-light .navbar_button-text,
.fixed-navbar.navbar-light .button__text {
  color: #222 !important;
}
.fixed-navbar.navbar-dark {
  background: rgba(40,40,40,0.18);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.fixed-navbar.navbar-dark .text-block-2,
.fixed-navbar.navbar-dark .navbar_button-text,
.fixed-navbar.navbar-dark .button__text {
  color: #fff !important;
}
/* Fixed Navbar Styles */

.fixed-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 999;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  min-height: 64px;
}

body {
  padding-top: 70px; /* Prevent content from hiding under navbar */
}

@media (max-width: 768px) {
  .fixed-navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    min-height: 56px;
  }
  body {
    padding-top: 60px;
  }
  .navroad.menu {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.trail-img {
  width: 70px !important;
  height: 70px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px !important;
}
/* Image Trail Styles for Hero Section */
.image-trail-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2vw;
  margin: 2vh 0 2vh 0;
  width: 100%;
  overflow-x: auto;
  z-index: 10;
}
.trail-img {
  flex: 0 0 auto;
  max-width: 180px;
  min-width: 100px;
  padding: 0.5vw;
}
.image-list-trial {
  width: 70px !important;
  height: 70px !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: block;
  object-fit: cover !important;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
nav {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  z-index: 100;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: #333;
  text-decoration: none;
}

nav a:hover {
  color: #3b82f6;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.cart-icon {
  position: relative;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Header */
.page-header {
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.page-header p {
  color: #666;
  font-size: 1.1rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 0 1rem;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #eee;
  display: block;
}

.product-info {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #000;
  line-height: 1.4;
}

.product-price {
  font-size: 1.75rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-description {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  width: 100%;
}

/* Buttons */
.btn {
  padding: 0.5rem 0.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #333;
  color: white;
  flex: 1 1 40%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #333;
  color: white;
  flex: 1 1 40%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-danger {
  background: #ef4444;
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn:disabled {
  background: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.875rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #8b6b47;
  box-shadow: 0 0 0 3px rgba(139, 107, 71, 0.1);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

/* Product Detail Page */
.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.product-detail-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: block;
}

.product-detail-container h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #000;
  line-height: 1.3;
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.product-detail-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 2rem;
}

.product-info-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: #333;
}

.info-value {
  color: #666;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quantity-selector button {
  width: 45px;
  height: 45px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.3s;
}

.quantity-selector button:hover {
  background: #f5f5f5;
  border-color: #333;
}

.quantity-selector input {
  width: 80px;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
}

.detail-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail-buttons .btn {
  flex: 1;
}

.features-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
}

.features-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #000;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 0.75rem 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.features-list li:before {
  content: "";
  margin-right: 0.5rem;
}

.tag {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-detail-container h1 {
    font-size: 1.5rem;
  }

  .detail-buttons {
    flex-direction: column;
  }

  .detail-buttons .btn {
    width: 100%;
  }
}

/* Cart Page */
.cart-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  align-items: start;
  background: #fff;
}

.cart-item:last-child {
  border-bottom: 1px solid #eee;
  margin-bottom: 0;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
}

.cart-item-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cart-item-quantity button {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.cart-item-quantity button:hover {
  background: #eee;
  border-color: #333;
}

.cart-item-quantity input {
  width: 50px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
  font-size: 0.95rem;
}

.cart-item-remove {
  padding: 0.75rem 1.5rem;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  color: #666;
  transition: all 0.3s;
  font-weight: 500;
  white-space: nowrap;
}

.cart-item-remove:hover {
  background: #eee;
  color: #333;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.cart-summary {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: relative;
  top: 0;
}

.cart-summary h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #000;
  font-weight: 600;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
  color: #666;
  font-size: 0.95rem;
}

.summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}

.continue-shopping {
  margin-top: 1rem;
  width: 100%;
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 8px;
  grid-column: 1 / -1;
}

.empty-cart p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Checkout */
.checkout-container {
  margin: 0 auto;
  max-width: 1200px;
}

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
    margin-bottom: 1.2rem;
    padding: 1.2rem 2rem;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
  flex-shrink: 0;
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.step-label {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 600;
  transition: all 0.3s ease;
}

.step-description {
  font-size: 0.75rem;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: #2f4f6f;
  color: white;
  border-color: #2f4f6f;
  box-shadow: 0 4px 12px rgba(47, 79, 111, 0.4);
  transform: scale(1.05);
}

.step.active .step-label {
  color: #2f4f6f;
  font-weight: 700;
}

.step.active .step-description {
  color: #2f4f6f;
}

.step.completed .step-number {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-color: #10b981;
}

.step.completed .step-number::before {
  content: '✓';
  font-weight: 700;
}

.step.completed .step-label {
  color: #10b981;
  font-weight: 600;
}

.step.completed .step-description {
  color: #10b981;
}

.step-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #e5e7eb, #d1d5db, #e5e7eb);
  margin: 0 1.5rem;
  border-radius: 2px;
}

.checkout-step {
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-buttons {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-large {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.btn-primary {
  background: #2f4f6f;
  color: white;
  box-shadow: 0 4px 12px rgba(47, 79, 111, 0.4);
}

.btn-primary:hover {
  background: #1e3a4c;
  box-shadow: 0 6px 16px rgba(47, 79, 111, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #ffffff;
  color: #374151;
  border: 2px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.btn-checkout {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-checkout:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-arrow {
  font-size: 1.2rem;
  font-weight: 700;
}

.checkout-icon {
  font-size: 1.2rem;
}

.review-section {
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
    padding: 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.review-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #111827;
  font-weight: 700;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}

.review-section p {
  margin: 0.5rem 0;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
}

.review-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.95rem;
}

.review-item:last-child {
  border-bottom: none;
}

.review-item span:first-child {
  color: #4b5563;
  font-weight: 500;
}

.review-item span:last-child {
  color: #111827;
  font-weight: 600;
}

.checkout-form {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.form-section {
  margin-bottom: 2rem;
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.section-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.section-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #111827;
  font-weight: 700;
}

.form-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #000;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #8b6b47;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Payment Options */
.section-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
}

.saved-address-card {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
/* Left-align the Edit Address button inside the saved address card */
.saved-address-card button {
  display: inline-block;
  margin: 2rem 0 0 0;
}

.saved-address-content {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  text-align: left;
}

.saved-address-content p {
  margin: 0.5rem 0;
  color: #374151;
  font-size: 0.95rem;
}

.saved-address-content p strong {
  color: #111827;
  font-weight: 600;
}

.btn-small {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.payment-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}

.payment-option-wrapper {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.payment-option-wrapper:hover {
  border-color: #9ca3af;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-option-wrapper:has(input[type="radio"]:checked) {
  background: #eff6ff;
  border-color: #2f4f6f;
  border-width: 2px;
  box-shadow: 0 2px 12px rgba(47, 79, 111, 0.15);
  position: relative;
}

.payment-option-wrapper:has(input[type="radio"]:checked)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #2f4f6f;
  border-radius: 8px 0 0 8px;
}

.payment-option {
  display: block;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  transition: background-color 0.2s;
}

.payment-option:hover {
  background: rgba(0, 0, 0, 0.02);
}

.payment-option-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-option input[type="radio"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: #2f4f6f;
  flex-shrink: 0;
}

.payment-option-title {
  flex: 1;
}

.payment-option-title strong {
  font-size: 0.95rem;
  color: #111827;
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.payment-subtitle {
  font-size: 0.825rem;
  color: #6b7280;
  display: block;
  line-height: 1.4;
}

.payment-cards {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.card-badge {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #a8bccf;
  border-radius: 6px;
  color: #2f4f6f;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.payment-details {
  padding: 1.5rem 1.5rem 1.5rem 3.5rem;
  background: #eef2f7;
  border-top: 1px solid #a8bccf;
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-info p {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.payment-section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #6b7280;
  text-transform: uppercase;
}

.payment-section-divider::before,
.payment-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.payment-logo {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  margin-left: auto;
  opacity: 0.8;
}

.add-card-btn {
  font-size: 0.95rem;
  color: #2f4f6f;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-details-form {
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  display: none;
}

.card-details-form .form-group {
  margin-bottom: 1rem;
}

.card-details-form .form-group:last-child {
  margin-bottom: 0;
}

.card-details-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.875rem;
}

.card-details-form input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.card-details-form input:focus {
  outline: none;
  border-color: #2f4f6f;
  box-shadow: 0 0 0 3px rgba(47, 79, 111, 0.1);
}

.card-details-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Success/Error Pages */
.success-container,
.error-container {
  text-align: center;
  padding: 3rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 3rem 0;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-container h1 {
  color: #10b981;
  margin-bottom: 1rem;
}

.error-container h1 {
  color: #ef4444;
  margin-bottom: 1rem;
}

.success-container p,
.error-container p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Home Page */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.featured-section {
  margin: 3rem 0;
}

.featured-section h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #000;
}

/* Checkout Grid */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-items: start;
}

/* Order Summary */
.checkout-summary {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  position: sticky;
  top: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.summary-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 1.75rem 2rem;
  border-bottom: 2px solid #e5e7eb;
}

.summary-header h2 {
  font-size: 1.35rem;
  margin: 0;
  color: #111827;
  font-weight: 700;
}

.summary-content {
  padding: 2rem;
}

.order-items-list {
  margin-bottom: 1.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.95rem;
  color: #4b5563;
  border-bottom: 1px solid #f3f4f6;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item span:first-child {
  font-weight: 500;
}

.summary-item span:last-child {
  font-weight: 600;
  color: #111827;
}

.summary-divider {
  height: 2px;
  background: linear-gradient(to right, #e5e7eb, #d1d5db, #e5e7eb);
  margin: 1.5rem 0;
}

.summary-calculations {
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  font-size: 0.95rem;
}

.summary-label {
  color: #6b7280;
  font-weight: 500;
}

.summary-value {
  color: #111827;
  font-weight: 600;
  font-size: 1rem;
}

.shipping-free {
  color: #10b981 !important;
  font-weight: 700;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 0;
  border-top: 2px solid #e5e7eb;
  margin-top: 0.5rem;
}

.total-label {
  font-size: 1.15rem;
  color: #111827;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.total-value {
  font-size: 1.75rem;
  color: #2f4f6f;
  font-weight: 800;
}

@media (max-width: 900px) {
  .payment-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .product-image {
    height: 220px;
  }

  .product-info {
    padding: 1.5rem 1rem;
  }

  .cart-container {
    grid-template-columns: 1fr;
  }

  .cart-grid {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: relative;
    top: 0;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .checkout-summary {
    position: relative;
    top: 0;
  }

  .checkout-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .step {
    width: 100%;
  }

  .step-divider {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
  }

  .cart-item-remove {
    grid-column: 2;
    margin-top: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card {
    height: auto;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
  }

  .cart-item-remove {
    grid-column: 1 / -1;
  }
}
