html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f5f5f5;
}

/* Header Styles */
.top-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.navbar-brand-logo h2 {
  color: #0b79bf;
  font-weight: 700;
}

.top-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.top-link:hover {
  color: #0b79bf;
}

.wishlist-icon,
.cart-icon {
  color: #333;
  font-size: 18px;
  position: relative;
  text-decoration: none;
}

.wishlist-icon:hover,
.cart-icon:hover {
  color: #0b79bf;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #22c55e;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

/* Navigation Styles */
.main-nav {
  background-color: #0b79bf;
  padding: 10px 0;
}

.btn-nav-dropdown {
  background-color: #095a8f;
  color: white;
  border: none;
  padding: 8px 16px;
  font-weight: 500;
}

.btn-nav-dropdown:hover {
  background-color: #074670;
  color: white;
}

.search-bar {
  max-width: 800px;
}

.search-input {
  border: none;
  border-radius: 4px 0 0 4px;
  padding: 10px 16px;
  font-size: 14px;
}

.search-input:focus {
  box-shadow: none;
  outline: none;
}

.btn-search {
  background-color: #ff6b00;
  border: none;
  color: white;
  border-radius: 0 4px 4px 0;
  padding: 10px 20px;
}

.btn-search:hover {
  background-color: #e55e00;
  color: white;
}

/* Main Content */
.main-content {
  min-height: 60vh;
  background-color: #f5f5f5;
  padding: 20px 0;
}

/* Shopping Cart Styles */
.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-title {
  color: #333;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
}

.empty-cart {
  background-color: white;
  border-radius: 8px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.empty-cart-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  background-color: #e8f4f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.empty-cart-icon i {
  font-size: 60px;
  color: #0b79bf;
}

.empty-cart-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #0b79bf;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.empty-cart-message {
  color: #666;
  font-size: 18px;
  margin-bottom: 30px;
}

.btn-continue-shopping {
  background-color: #0b79bf;
  color: white;
  border: none;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.btn-continue-shopping:hover {
  background-color: #095a8f;
  color: white;
}

.promo-banner {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.promo-banner img {
  width: 100%;
  height: auto;
}

/* Footer Styles */
.site-footer {
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
  margin-top: 60px;
}

.footer-heading {
  color: #333;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: #0b79bf;
}

.social-links a {
  color: #666;
  font-size: 24px;
  margin-right: 15px;
  text-decoration: none;
}

.social-links a:hover {
  color: #0b79bf;
}

.categories-links {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

.categories-links a {
  color: #666;
  text-decoration: none;
}

.categories-links a:hover {
  color: #0b79bf;
}

.footer-bottom {
  background-color: #0b79bf;
  color: white;
}

.payment-icons {
  font-size: 32px;
}

.payment-icons i {
  margin-right: 10px;
  color: white;
}

/* Advertisement Hover Expand Styles - MIGRATED TO DYNAMIC CSS GENERATION */
/* These styles are now generated dynamically from AdPlacementConfig database settings */
/* See: Models/AdPlacementConfig.cs GenerateCSS() method */
/* Configure via: /Admin/Advertisements/Settings → Placement Configuration */

/* Placeholder banners (without data-ad-id) stay normal - no hover effects */
.hero-banner:not([data-ad-id]),
.category-banner-ad:not([data-ad-id]) {
  position: relative;
  overflow: hidden;
}

/* Ad link container - basic structure only */
.hero-banner[data-ad-id] .ad-link,
.category-banner-ad[data-ad-id] .ad-link {
  display: block;
  position: relative;
  height: 100%;
  width: 100%;
}

/* All other ad styling (hover, transitions, dimensions) is now dynamic */
/* Configured per-placement via admin UI at /Admin/Advertisements/Settings */

/* Products Page Styles */
.products-page {
  background-color: #f5f5f5;
  padding: 20px 0;
}

.promo-banner-top {
  max-width: 1400px;
  margin: 0 auto;
}

/* Filters Sidebar */
.filters-sidebar {
  background: white;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-section {
  border-bottom: 1px solid #e0e0e0;
}

.filter-section:last-child {
  border-bottom: none;
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  margin: 0;
  color: #333;
}

.category-list {
  padding: 0 15px 15px;
}

.category-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  color: #666;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 4px;
}

.category-item:hover,
.category-item.active {
  background-color: #e8f4f9;
  color: #0b79bf;
}

.category-count {
  color: #999;
  font-size: 13px;
}

.filter-group {
  border-top: 1px solid #e0e0e0;
}

.filter-group-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: none;
  border: none;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  text-align: left;
}

.filter-group-header:hover {
  background-color: #f9f9f9;
}

.filter-options {
  padding: 0 15px 15px;
}

.filter-checkbox,
.filter-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 14px;
}

.filter-checkbox input,
.filter-radio input {
  cursor: pointer;
}

.filter-checkbox span:nth-child(2),
.filter-radio span:nth-child(2) {
  flex: 1;
}

.filter-count {
  color: #999;
  font-size: 13px;
}

.price-histogram {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
  margin-bottom: 15px;
}

.histogram-bar {
  flex: 1;
  background-color: #0b79bf;
  border-radius: 2px 2px 0 0;
}

.price-inputs {
  display: flex;
  gap: 10px;
}

/* Products Toolbar */
.products-toolbar {
  background: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.results-count {
  font-size: 14px;
  color: #666;
}

.view-toggle button {
  width: 36px;
  height: 36px;
  padding: 0;
}

.view-toggle button.active {
  background-color: #0b79bf;
  color: white;
  border-color: #0b79bf;
}

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

.product-card-wrapper {
  background: white;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.product-card-wrapper:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.product-card-main {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
}

/* Product Badges */
.badge-offer {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #0b79bf;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

.badge-sponsored {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #666;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge-sponsored::after {
  content: '?';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background-color: rgba(255,255,255,0.3);
  border-radius: 50%;
  font-size: 10px;
}

.btn-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 2;
}

.btn-wishlist:hover {
  background-color: #f5f5f5;
}

.btn-wishlist i {
  color: #666;
  font-size: 16px;
}

.product-image-wrapper {
  position: relative;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-images {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-image-placeholder {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-placeholder i {
  font-size: 60px;
  color: #ddd;
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-brand {
  font-size: 12px;
  color: #0b79bf;
  margin-bottom: 8px;
}

.product-price-section {
  margin-bottom: 10px;
}

.product-price-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
  margin-right: 8px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.product-delivery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.badge-stock {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  background-color: #f0f0f0;
  color: #666;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-stock.badge-available {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.badge-delivery {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  background-color: #e3f2fd;
  color: #1976d2;
}

.product-dates {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.product-dates i {
  color: #999;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars i {
  color: #ffa726;
  font-size: 12px;
}

.rating-count {
  color: #666;
}

.rating-expand {
  color: #999;
  font-size: 10px;
  margin-left: auto;
}

/* Product Buttons */
.btn-add-cart,
.btn-add-options {
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.btn-add-cart {
  background-color: white;
  border-color: #22c55e;
  color: #22c55e;
}

.btn-add-cart:hover {
  background-color: #22c55e;
  color: white;
}

.btn-add-options {
  background-color: white;
  border-color: #0b79bf;
  color: #0b79bf;
}

.btn-add-options:hover {
  background-color: #0b79bf;
  color: white;
}

/* Product Detail Page Styles */
.product-detail-page {
  background-color: #fff;
}

.breadcrumb {
  font-size: 13px;
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: #0b79bf;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #666;
}

.secondary-nav {
  background-color: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.nav-items {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 12px 0;
}

.nav-item {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.nav-item:hover {
  color: #0b79bf;
  border-bottom-color: #0b79bf;
}

/* Image Gallery */
.product-images-section {
  display: flex;
  gap: 15px;
}

.image-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #0b79bf;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image-container {
  flex: 1;
  position: relative;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-offer-detail {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #0b79bf;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.btn-zoom {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-zoom:hover {
  background-color: #f5f5f5;
}

.main-image {
  max-width: 100%;
  height: auto;
}

.main-image img {
  max-width: 100%;
  height: auto;
}

/* Product Information */
.product-info-section {
  padding-left: 20px;
}

.product-title-detail {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.product-description-snippet {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.product-rating-detail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars-large {
  display: flex;
  gap: 3px;
}

.stars-large i {
  color: #ffa726;
  font-size: 16px;
}

.rating-text {
  color: #0b79bf;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.stock-status-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background-color: #e8f5e9;
  border-radius: 8px;
  border: 1px solid #c8e6c9;
}

.stock-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #2e7d32;
  font-size: 14px;
}

.learn-more-link {
  color: #0b79bf;
  font-size: 13px;
  text-decoration: underline;
}

.delivery-options {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
}

.delivery-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #666;
}

.delivery-option:last-child {
  margin-bottom: 0;
}

/* Purchase Section */
.purchase-section {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

.price-section-detail {
  background: white;
  padding: 15px;
  border-radius: 8px;
}

.price-main {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.current-price-detail {
  font-size: 32px;
  font-weight: 700;
  color: #333;
}

.original-price-detail {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
}

.delivery-info-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.delivery-label {
  font-size: 13px;
  color: #666;
}

.badge-delivery-fast {
  background-color: #e3f2fd;
  color: #1976d2;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.terms-link {
  font-size: 12px;
  color: #0b79bf;
  text-decoration: underline;
}

.free-delivery-badge {
  background-color: #e8f5e9;
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  color: #2e7d32;
  text-align: center;
}

.brand-highlight {
  font-weight: 700;
  color: #1b5e20;
}

.btn-add-to-cart-detail {
  width: 100%;
  padding: 14px;
  background-color: #22c55e;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-add-to-cart-detail:hover {
  background-color: #16a34a;
}

.btn-add-to-list {
  width: 100%;
  padding: 12px;
  background-color: white;
  color: #0b79bf;
  border: 2px solid #0b79bf;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-to-list:hover {
  background-color: #0b79bf;
  color: white;
}

.seller-info {
  padding: 15px;
  background: white;
  border-radius: 8px;
}

.seller-name {
  color: #0b79bf;
  font-weight: 600;
  text-decoration: none;
}

.seller-name:hover {
  text-decoration: underline;
}

.seller-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.rating-stars-seller {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffa726;
  font-weight: 600;
}

.reviews-count {
  color: #666;
}

.payment-options {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 8px;
}

.payment-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #f5f5f5;
  border-radius: 6px;
  font-size: 14px;
}

.payment-icon i {
  font-size: 20px;
  color: #0b79bf;
}

.credit-banner {
  border-radius: 8px;
  overflow: hidden;
}

/* Related Products */
.related-products-section {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.related-product-card {
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: relative;
  transition: all 0.3s;
}

.related-product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.btn-wishlist-small {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 2;
}

.related-product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
}

.related-product-image img {
  max-width: 100%;
  max-height: 100%;
}

.related-product-info {
  text-align: left;
}

.related-product-name {
  font-size: 13px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-product-price {
  margin-bottom: 8px;
}

.price-old-small {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-right: 6px;
}

.price-current-small {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.rating-small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.rating-small i {
  color: #ffa726;
}

.btn-add-cart-small,
.btn-shop-options-small {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-add-cart-small {
  background-color: white;
  border-color: #22c55e;
  color: #22c55e;
}

.btn-add-cart-small:hover {
  background-color: #22c55e;
  color: white;
}

/* Cart Page Styles */
.cart-page {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.cart-item-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
  width: 100px;
  height: 100px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-image i {
  font-size: 40px;
  color: #ddd;
}

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

.cart-item-name {
  font-size: 16px;
  margin-bottom: 8px;
}

.cart-item-name a {
  color: #333;
  text-decoration: none;
}

.cart-item-name a:hover {
  color: #0b79bf;
}

.cart-item-brand {
  font-size: 14px;
  margin-bottom: 8px;
}

.cart-item-quantity {
  width: 140px;
}

.cart-item-price {
  text-align: right;
  min-width: 120px;
}

.cart-item-remove {
  margin-left: 10px;
}

.order-summary-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 100px;
}

.summary-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
}

.summary-total {
  font-size: 18px;
  padding-top: 15px;
  border-top: 2px solid #e0e0e0;
  margin-top: 10px;
}

@media (max-width: 992px) {
  .cart-item-card {
    flex-wrap: wrap;
  }

  .cart-item-quantity,
  .cart-item-price {
    width: auto;
  }

  .order-summary-card {
    position: relative;
    top: 0;
    margin-top: 30px;
  }
}


.btn-shop-options-small {
  background-color: white;
  border-color: #0b79bf;
  color: #0b79bf;
}

.btn-shop-options-small:hover {
  background-color: #0b79bf;
  color: white;
}

/* Description Section */
.product-description-section {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
}

.description-content {
  color: #666;
  line-height: 1.8;
  font-size: 14px;
}

/* My Account Page Styles */
.account-page {
  background-color: #f5f5f5;
  min-height: 70vh;
}

.page-title-account {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1400px;
}

.account-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.account-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.account-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f9f9f9;
}

.account-card-header i {
  font-size: 24px;
  color: #666;
}

.account-card-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.account-card-body {
  padding: 20px;
}

.account-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.account-links li {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.account-links li:last-child {
  margin-bottom: 0;
}

.account-links a {
  color: #0b79bf;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.account-links a:hover {
  color: #095a8f;
  text-decoration: underline;
}

.badge-info {
  font-size: 12px;
  color: #666;
  background-color: #f0f0f0;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Auth Pages Styles */
.auth-page {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.auth-card {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
}

.auth-benefits {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefits-list i {
  font-size: 18px;
}

/* Checkout Page Styles */
.checkout-page {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.checkout-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-heading {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.step-number {
  background: #0b79bf;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-option {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 15px;
}

.payment-option:has(input:checked) {
  border-color: #0b79bf;
  background-color: #e8f4f9;
}

.payment-option input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.payment-option label {
  cursor: pointer;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.payment-option i {
  font-size: 24px;
  color: #0b79bf;
}

.order-summary-checkout {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
}

.summary-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-name {
  font-size: 14px;
  color: #333;
}

.item-qty {
  font-size: 12px;
  color: #666;
}

.item-price {
  font-weight: 600;
  color: #333;
}

/* Order Confirmation Page */
.confirmation-page {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.confirmation-card {
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.success-icon i {
  font-size: 80px;
  color: #22c55e;
}

.order-number-box {
  background: #e8f4f9;
  padding: 20px;
  border-radius: 8px;
  border: 2px dashed #0b79bf;
}

.order-details-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.order-details-card h6 {
  color: #0b79bf;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Orders Page */
.orders-page {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.order-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.order-header {
  padding: 20px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.order-items {
  padding: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.order-item-preview {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 6px;
}

.order-item-preview .item-image {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item-preview .item-image img {
  max-width: 100%;
  max-height: 100%;
}

.order-item-preview .item-image i {
  font-size: 20px;
  color: #ddd;
}

.order-item-preview .item-info {
  flex: 1;
}

.order-item-preview .item-name {
  font-size: 13px;
  margin: 0;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .related-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .account-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-images-section {
    flex-direction: column;
  }
  
  .image-thumbnails {
    flex-direction: row;
  }
  
  .product-info-section {
    padding-left: 0;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .top-header .d-flex {
    flex-direction: column;
    gap: 10px;
  }
  
  .search-bar {
    width: 100%;
  }
  
  .site-footer .row > div {
    margin-bottom: 30px;
  }

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

  .filters-sidebar {
    margin-bottom: 20px;
  }
  
  .related-products-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-items {
    gap: 15px;
  }
  
  .product-title-detail {
    font-size: 20px;
  }
  
  .current-price-detail {
    font-size: 28px;
  }
  
  .account-grid {
    grid-template-columns: 1fr;
  }
}