/* EStore Content Styles */

/* Default Button Styling - Override all button variants */
.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.btn-light,
.btn-dark,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-info,
.btn-outline-warning,
.btn-outline-danger,
.btn-outline-light,
.btn-outline-dark {
  border-radius: 0 !important;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: white !important;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-success:hover,
.btn-info:hover,
.btn-warning:hover,
.btn-danger:hover,
.btn-light:hover,
.btn-dark:hover,
.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover,
.btn-outline-light:hover,
.btn-outline-dark:hover {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  opacity: 0.9;
}

.btn:focus,
.btn-primary:focus,
.btn-secondary:focus,
.btn-success:focus,
.btn-info:focus,
.btn-warning:focus,
.btn-danger:focus,
.btn-light:focus,
.btn-dark:focus,
.btn-outline-primary:focus,
.btn-outline-secondary:focus,
.btn-outline-success:focus,
.btn-outline-info:focus,
.btn-outline-warning:focus,
.btn-outline-danger:focus,
.btn-outline-light:focus,
.btn-outline-dark:focus {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-success:active,
.btn-info:active,
.btn-warning:active,
.btn-danger:active,
.btn-light:active,
.btn-dark:active,
.btn-outline-primary:active,
.btn-outline-secondary:active,
.btn-outline-success:active,
.btn-outline-info:active,
.btn-outline-warning:active,
.btn-outline-danger:active,
.btn-outline-light:active,
.btn-outline-dark:active {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

/* Specific overrides for common button classes */
button.btn,
input[type="button"].btn,
input[type="submit"].btn,
input[type="reset"].btn {
  border-radius: 0 !important;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: white !important;
}

/* Override Bootstrap's default primary color */
:root {
  --bs-primary: #ff9933 !important;
  --bs-primary-rgb: 255, 153, 51 !important;
}

/* Category Menu Styling */
.list-group-item {
  border-radius: 0 !important;
  border: 1px solid #dee2e6 !important;
  color: var(--gray-700) !important;
  background-color: white !important;
  transition: all 0.2s ease !important;
}

.list-group-item:hover {
  background-color: #f8f9fa !important;
  color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.list-group-item.active {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: white !important;
}

.list-group-item.active:hover {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: white !important;
  opacity: 0.9;
}

/* Radio Button Styling Only */
.form-check-input[type="radio"] {
  border-color: var(--bs-primary) !important;
  border-radius: 50% !important;
}

.form-check-input[type="radio"]:checked {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.form-check-input[type="radio"]:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

.form-check-input[type="radio"]:hover {
  border-color: var(--bs-primary) !important;
}

/* Form Switch Styling - Primary Color */
.form-switch .form-check-input[type="checkbox"] {
  border-color: #dee2e6 !important;
  background-color: #fff !important;
}

.form-switch .form-check-input[type="checkbox"]:checked {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
  background-image: var(--bs-form-switch-bg) !important;
}

.form-switch .form-check-input[type="checkbox"]:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25) !important;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 153, 51, 0.5%29'/%3e%3c/svg%3e") !important;
}

.form-switch .form-check-input[type="checkbox"]:focus:checked {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
  background-image: var(--bs-form-switch-bg) !important;
}

/* Input Fields - Primary Color on Hover and Focus */
.form-control:hover:not(:disabled):not([readonly]) {
  border-color: var(--bs-primary) !important;
}

.form-control:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

.form-select:hover:not(:disabled):not([readonly]) {
  border-color: var(--bs-primary) !important;
}

.form-select:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

/* Footer */
footer {
  margin-top: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

footer > div > div {
  display: grid;
  grid-template-columns: 1fr 25% 1fr;
  gap: 2rem;
  align-items: start;
}

footer .company-info h5,
footer .contact-info h5 {
  margin-bottom: 4px;
  font-size: 14px;
}

footer .contact-info p,
footer .company-info p {
  margin-bottom: 0;
}

footer .contact-info a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .contact-info a:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

.footer-logo-img {
  max-width: 100px;
  height: auto;
  margin-top: 8px;
}

.footer-logo-link {
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
  opacity: 0.8;
}


/* Product Grid Layout */
.product-grid {
  display: grid;
  grid-template-columns: 590px 1fr;
  gap: 26px;
  align-items: start;
}

/* Responsive Product Grid for medium screens */
@media (min-width: 1024px) and (max-width: 1568px) {
  .product-grid {
    grid-template-columns: minmax(450px, 1fr) minmax(300px, 1fr);
    gap: 24px;
  }
  
  .product-image-column {
    min-width: 0;
  }
  
  .image.magnific-popup img {
    max-height: 350px;
  }
  
  .product-info-column h1 {
    font-size: 1.6rem;
  }
  
  .quantity-cart-container {
    max-width: 100%;
    gap: 20px;
  }
}

/* Optimize for narrower medium screens */
@media (min-width: 1024px) and (max-width: 1400px) {
  .product-grid {
    grid-template-columns: minmax(400px, 1fr) minmax(280px, 1fr);
    gap: 20px;
  }
  
  .image.magnific-popup img {
    max-height: 320px;
  }
  
  .thumb-images-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  
  .thumb-image {
    height: 70px;
  }
  
  .product-info-column h1 {
    font-size: 1.5rem;
  }
  
  .product-info-column #button-cart {
    min-width: 160px;
    font-size: 16px;
    padding: 6px 1.2rem;
  }
  
  .quantity-cart-container {
    gap: 18px;
  }
}

/* Image Thumbnail */
.img-thumbnail {
  padding: 0;
  border: 0;
}

/* Product Image Slider */
.product-image-slider {
  position: relative;
}

.main-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: grab;
}

.main-image-container:active {
  cursor: grabbing;
}

.slider-image {
  display: none;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider-image.active {
  display: block;
  opacity: 1;
}

.slider-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 390px;
  display: block;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border: none;
}

.slider-nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-nav-btn i {
  font-size: 18px;
  color: #333;
}

/* Main Product Image - Legacy support */
.image.magnific-popup img {
  object-fit: contain;
  max-height: 390px;
  width: 100%;
}

/* Product Thumbnail Images Grid */
.thumb-images-container {
  margin-top: 24px;
  position: relative;
}

.thumb-images-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 1rem;
}

.thumb-images-grid img {
  object-fit: contain !important;
}

.thumb-image-link {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
}

.thumb-image-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.thumb-image-link.active {
  border-color: var(--bs-primary);
}

.thumb-image {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

/* Thumbnail Navigation */
.thumb-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.thumb-nav-btn {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.thumb-nav-btn:hover:not(:disabled) {
  background-color: #e9ecef;
  border-color: #adb5bd;
  color: #212529;
}

.thumb-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.thumb-nav-btn i {
  font-size: 0.8rem;
}

/* Product Page Styling - Clean Modern Design */
.product-info-column {
  padding: 0;
}

.product-info-column h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
}

.product-info-column h1::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 2px;
  background-color: #ff9933;
}

/* Hide product details list */
.product-info-column .list-unstyled {
  display: none;
}

/* Price Display Styling */
.price-display {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-label {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
  min-width: 50px;
}

.price-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

/* Price with VAT (smaller font) */
.price-display .price-row:nth-child(2) .price-value,.price-display .price-row:nth-child(2) .price-label {
  font-weight: 500;
  font-size: 14px;
}

/* Price styling */
.product-info-column .price-new {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 1rem 0;
}

.product-info-column .price-old {
  font-size: 0.9rem;
  color: #999;
  text-decoration: line-through;
  margin-right: 0.5rem;
}

/* Hide rating section */
.product-info-column .rating {
  display: none;
}

/* Hide wishlist/compare buttons */
.product-info-column .btn-group {
  display: none;
}

/* Quantity and Add to Cart - Clean Modern Design */
.quantity-cart-container {
  margin: 1.5rem 0;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-selector .input-group-text {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #666;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: 500;
}

.quantity-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.quantity-input-wrapper .form-control {
  border: none;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  width: 60px;
  text-align: center;
  border-radius: 0;
  background-color: transparent;
  outline: none;
}

.quantity-input-wrapper .form-control:focus {
  border: none;
  box-shadow: none;
  background-color: white;
}

.quantity-arrows {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #ddd;
  background-color: #f8f9fa;
}

.quantity-btn {
  border: none;
  background-color: transparent;
  font-size: 0.7rem;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 50%;
  transition: all 0.2s ease;
  color: #666;
}

.quantity-btn:hover {
  background-color: #e9ecef;
  color: #333;
}

.quantity-btn:active {
  background-color: #dee2e6;
  transform: scale(0.95);
}

.product-info-column #button-cart {
  background-color: #ff9933;
  border: none;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 1.5rem;
  font-size: 18px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  justify-content: center;
}

.product-info-column #button-cart:hover {
  background-color: #e68a1a;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-info-column #button-cart:active {
  transform: translateY(0);
}

/* Add shopping cart icon to button */
.product-info-column #button-cart::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 36px;
  background-image: url('/image/cart_icon_white.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
  vertical-align: middle;
}

/* Discount table styling */
.product-info-column .table {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.85rem;
  width: auto;
  max-width: 300px;
  border-collapse: separate;
  border-spacing: 0;
}

.product-info-column .table th,
.product-info-column .table td {
  padding: 0.6rem 3.8rem;
  border: 1px solid #ddd;
  text-align: left;
}

.product-info-column .table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
  font-size: 0.8rem;
}

.product-info-column .table td {
  background-color: white;
  color: #666;
}

/* Hide product options section */
.product-info-column hr {
  display: none;
}

.product-info-column h3 {
  display: none;
}

.pricing-table {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-300);
}

/* Pricing table heading */
.pricing-table h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Featured Title */
.featured-title {
  font-size: 31px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 30px;
  color: var(--gray-800);
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.featured-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50%;
  height: 3px;
  background-color: #ff9933;
  border-radius: 2px;
}

/* Product Cards */
.product-thumb {
  display: grid;
  border: 0;
}

/* Product Tile */
.product-tile {
  margin-bottom: 40px;
}


.product-thumb .image {
  width: 100%;
  height: 100%;
  text-align: center;
  place-self: center;
  border-radius: 4px;
}

.product-thumb .image img {
  height: auto;
  border-radius: 4px;
}

.product-thumb .content {
  padding: 0;
}

.product-thumb .description {
  text-align: left;
  padding-left: 0;
  padding-right: 0;
  padding-top: 16px;
  margin-bottom: 0;
}

.category-label {
  color: #ff9933;
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.2;
}

.product-thumb h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.product-thumb h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-thumb h4 a:hover {
  color: #ff9933;
}

/* Carousel */
.carousel {
  margin: 0;
  border: none;
  height: 100%;
  border-radius: 0;
}

.carousel-indicators {
  right: -34px;
  gap: 2px;
  left: auto;
  bottom: -42px;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  background-color: #6c757d; /* Gray color for inactive dots */
  border: none;
  border-radius: 50%;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target]:hover {
  opacity: 0.8;
}

.carousel-indicators [data-bs-target].active {
  background-color: #ff9933; /* Orange primary color for active dot */
  opacity: 1;
}

/* Home Double Banner */
.home-double-banner {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 59%;
  margin-bottom: 20px;
}


/* Mobile responsive for home-double-banner */
@media (max-width: 768px) {
  .home-double-banner {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .home-double-banner .col-md-4,
  .home-double-banner .col-md-8 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Carousel Images - Stretch to fill banner */
.carousel-inner {
  height: 100%;
  margin: 0;
  border: none;
  overflow: hidden;
}

.carousel-item {
  height: 100%;
  margin: 0;
  border: none;
}

.carousel-item > div {
  height: 100%;
}

.carousel-item .col-12,
.carousel-item .col-6,
.carousel-item .col-4,
.carousel-item .col-3 {
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
}

.carousel-item img.img-fluid {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  max-width: none !important;
  max-height: none !important;
}

/* Override Bootstrap img-fluid for carousel */
.carousel .img-fluid {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
  max-height: none !important;
}

/* Ensure carousel container maintains fixed height */
.carousel {
  height: 100%;
}

/* Fix carousel expansion during transitions */
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  height: 100% !important;
}

/* Prevent multiple carousel items from stacking during transitions */
.carousel-inner .carousel-item:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  margin-right: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-images {
  flex: 1;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.image-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.image-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

/* New Arrivals Section */
.new-arrivals {
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 31px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.section-underline {
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Pagination Dots */
.pagination-dots {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #dee2e6;
  margin: 0 0.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

.dot:hover {
  background-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .image-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

#checkout-cart #content,
#information-information #content,
#product-category #content,
#product-search #content,
#error-not-found #content {
  min-height: 77vh;
}

/* Checkout Product Name Styling */
#checkout-confirm .table tbody td a {
  color: var(--primary-color) !important;
  text-decoration: none;
}

#checkout-confirm .table tbody td a:hover {
  color: var(--primary-dark) !important;
  text-decoration: underline;
}

#checkout-confirm .table tbody td {
  color: var(--primary-color) !important;
}

#checkout-confirm .table tbody td small {
  color: var(--primary-color) !important;
}

/* Cart Product Name Styling - Only the name link */
#checkout-cart #output-cart .table tbody td.text-start a {
  color: var(--primary-color) !important;
  text-decoration: none;
}

#checkout-cart #output-cart .table tbody td.text-start a:hover {
  color: var(--primary-dark) !important;
  text-decoration: underline;
}

/* Cart Price Alert Styling */
.cart-price-alert {
  background-color: #e3f2fd !important;
  border: 1px solid #1976d2 !important;
  color: #0d47a1 !important;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.cart-price-alert i {
  color: #1976d2;
  margin-right: 0.5rem;
}

.cart-price-alert .btn-close {
  opacity: 0.7;
  filter: brightness(0) saturate(100%) invert(15%) sepia(95%) saturate(2000%) hue-rotate(200deg) brightness(0.6) contrast(1);
}

.cart-price-alert .btn-close:hover {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(15%) sepia(95%) saturate(2000%) hue-rotate(200deg) brightness(0.4) contrast(1);
}

/* Login Page - Forgotten Password Link Styling */
#account-login #form-login a {
  color: var(--primary-color) !important;
  text-decoration: none;
}

#account-login #form-login a:hover {
  color: var(--primary-dark) !important;
  text-decoration: underline;
}

#product-search #display-control {
  justify-content: right;
}

@media (max-width: 768px) {
  .main-content {
    padding: 1rem;
  }
  
  .hero-banner {
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .featured-title {
    font-size: 24px;
    margin-top: 40px;
  }
  
  .product-tile {
    margin-bottom: 25px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .featured-title {
    font-size: 20px;
    margin-top: 30px;
  }
  
  .product-tile {
    margin-bottom: 20px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
  
  footer {
    padding-bottom: 0;
  }
  
  footer > div > div {
    display: block;
    gap: 0;
  }
  
  footer .logo-copyright {
    text-align: center;
    margin-top: 20px;
  }
  
  .product-grid {
    display: block;
    gap: 0;
  }
  
  .product-info-column h1 {
    font-size: 1.5rem;
  }
  
  .product-info-column .price-new {
    font-size: 1.25rem;
  }
  
  .product-info-column #button-cart {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Mobile thumbnail grid - 4 columns on small screens */
  .thumb-images-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  
  .thumb-image {
    height: 50px;
  }
  
  .thumb-nav-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}




/* Contact Price Button Styles */
.contact-price-display {
  margin: 1rem 0;
  text-align: left;
}

.contact-price-display .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-price-display .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-price-display .btn i {
  margin-right: 0.5rem;
}

/* Contact Modal Styles */
#contactPriceModal .modal-body {
  padding: 2rem;
}

#contactPriceModal .contact-info {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

#contactPriceModal .contact-info p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

#contactPriceModal .contact-info a {
  color: #007bff;
  text-decoration: none;
}

#contactPriceModal .contact-info a:hover {
  text-decoration: underline;
}

/* Product Tabs Styling */
.nav-tabs {
  border-bottom: none;
  margin-bottom: 2rem;
}

.nav-tabs .nav-item {
  margin-right: 2rem;
}

.nav-tabs .nav-link {
  border: none;
  background: none;
  color: #333;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: #ff6b35;
  border: none;
}

.nav-tabs .nav-link.active {
  color: #333;
  background: none;
  border: none;
}

.nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.nav-tabs .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Related Products Section Styling */
.related-products-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.related-products-section .section-title {
  color: #333;
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.related-products-section .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5%;
  height: 4px;
  background-color: #ff6b35;
  border-radius: 2px;
}

/* Category Links Styling */
.category-label a {
  color: var(--primary-color) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.category-label a:hover {
  color: var(--primary-dark) !important;
  text-decoration: underline;
}

/* Account Page Links Styling */
#account-account .list-unstyled a {
  color: #495057;
  text-decoration: none;
  transition: color 0.3s ease;
}

#account-account .list-unstyled a:hover {
  color: var(--bs-primary);
  text-decoration: none;
}
