:root {
  --primary-color: #8B0000;
  --primary-dark: #660000;
  --primary-light: #B22222;
  --white: #FFFFFF;
  --black: #000000;
  --gray-light: #F5F5F5;
  --gray: #666666;
}

/* Base styles */
body {
  color: var(--black);
  background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--black);
}

p {
  color: var(--gray);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transition: all 0.3s ease;
}

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

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Navigation Styles */
.custom-navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;

}
.custom-navbar .container{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 24px;
}

.navbar-links li a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.navbar-links li a:hover,
.navbar-links li a.active {
  color: var(--primary-color);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: 0.3s;
}

/* Mobile Nav Icons - Always Visible */
.mobile-nav-icons {
  display: none;
  align-items: center;
  gap: 16px;
}

/* Hero Section */
.hero-section {
  background-color: var(--white);
}

.hero-section h1 {
  color: var(--black);
}

.shop-now-btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.3s ease;
}

.shop-now-btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
}

/* Product Showcase */
.product_showcase {
  background-color: var(--gray-light);
}

.product-showcase-item {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Contact Form */
.contact-section {
  background-color: var(--white);
}

.btn-contact-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
}

.btn-contact-primary:hover {
  background-color: var(--primary-dark);
}

.contact-info {
  background-color: #f5f5f500;
}

/* Footer */
.footer {
  background-color: var(--black) !important;
}

.footer h5, .footer p {
  color: var(--white) !important;
}

.footer a {
  color: var(--white) !important;
}

.footer a:hover {
  color: var(--primary-light) !important;
}

/* Form Controls */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
}

/* Contact Stats */
.stat-item h4 {
  color: var(--primary-color);
}

/* Social Icons */
.social2_icon li a {
  color: var(--white);
  background-color: var(--primary-color);
}

.social2_icon li a:hover {
  background-color: var(--primary-dark);
} 

/* Product Slider Layout */
.product-slider-container {
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}

.product-slider {
  display: flex;
  transition: transform 0.3s ease;
  gap: 1rem;
}

.product-slide {
  flex: 0 0 33.333%; /* 3 items visible (100% / 3 = 33.333%) */
  min-width: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slider-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: -25px;
}

.next-btn {
  right: -25px;
}

/* Responsive adjustments for slider */
@media (max-width: 1200px) {
  .product-slide {
    flex: 0 0 33.333%; /* Keep 3 items on large tablets */
  }
}

@media (max-width: 992px) {
  .product-slide {
    flex: 0 0 50%; /* 2 items on tablets */
  }
}

@media (max-width: 768px) {
  .product-slide {
    flex: 0 0 50%; /* 2 items on small tablets */
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
  }
  
  .prev-btn {
    left: -20px;
  }
  
  .next-btn {
    right: -20px;
  }
}

@media (max-width: 576px) {
  .product-slide {
    flex: 0 0 100%; /* 1 item on mobile */
  }
}

/* Product Grid Layout */
.product_showcase {
  padding: 60px 0;
  background-color: var(--gray-light);
}

.product_showcase .titlepage {
  margin-bottom: 40px;
}

.product_showcase .titlepage h2 {
  color: var(--black);
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
}

.product_showcase .titlepage p {
  color: var(--gray);
  font-size: 18px;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: var(--white);
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  margin: 0;
  color: var(--black);
  font-size: 20px;
}

.close-cart {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray);
  cursor: pointer;
  padding: 0;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-light);
}

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

/* Cart Sidebar Item Styling */
.cart-item-sidebar {
  display: flex;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-light);
  position: relative;
}

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

.cart-item-sidebar .cart-item-image {
  width: 60px;
  height: 60px;
  margin-right: 12px;
  flex-shrink: 0;
}

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

.cart-item-sidebar .cart-item-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--black);
  line-height: 1.3;
}

/* Hover effects for clickable elements in cart sidebar */
.cart-item-sidebar .cart-item-title a:hover {
  color: var(--primary-color) !important;
  text-decoration: underline !important;
}

.cart-item-sidebar .cart-item-image a:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.cart-item-sidebar .cart-item-subtitle {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 4px;
  line-height: 1.2;
}

.cart-item-sidebar .cart-item-price {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 8px;
}

.cart-item-sidebar .quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-sidebar .quantity-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--gray-light);
  background: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 10px;
  color: var(--gray);
  transition: var(--transition);
}

.cart-item-sidebar .quantity-btn:hover {
  background: var(--gray-light);
  border-color: var(--gray);
}

.cart-item-sidebar .quantity-display {
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-sidebar .remove-item {
  position: absolute;
  top: 10px;
  right: 0;
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
}

.cart-item-sidebar .remove-item:hover {
  color: var(--danger-color);
  background: rgba(220, 53, 69, 0.1);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 15px;
}

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

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--black);
}

.cart-item-variant {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 8px;
}

.cart-item-price {
  color: var(--primary-color);
  font-weight: 600;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.quantity-btn {
  background: var(--gray-light);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  font-size: 14px;
}

.quantity-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 4px;
  margin-left: 10px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--gray-light);
  background: var(--white);
}

.cart-total {
  margin-bottom: 20px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--gray);
}

.cart-total-row.final {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  border-top: 1px solid var(--gray-light);
  padding-top: 8px;
  margin-top: 8px;
}

.cart-actions {
  display: flex;
  gap: 10px;
}

.cart-actions button {
  flex: 1;
  padding: 12px;
  font-size: 14px;
}

/* Cart Sidebar Coupon Section */
.coupon-section-sidebar {
  margin: 12px 0;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
}

.coupon-section-sidebar .coupon-input {
  display: flex;
  gap: 6px;
}

.coupon-section-sidebar input {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-size: 12px;
}

.coupon-section-sidebar .btn-sm {
  padding: 6px 10px;
  font-size: 11px;
}

.applied-coupon-sidebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding: 8px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  font-size: 11px;
}

.coupon-info-sidebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.coupon-details {
  flex: 1;
}

.coupon-name-line {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

.coupon-name-line i {
  color: #28a745;
  margin-right: 4px;
  font-size: 10px;
}

.coupon-info-sidebar .coupon-name {
  color: #155724;
  font-weight: 600;
  font-size: 11px;
}

.coupon-code-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coupon-info-sidebar .coupon-code {
  color: #6c757d;
  font-size: 9px;
}

.coupon-info-sidebar .coupon-savings {
  color: #28a745;
  font-weight: 600;
  font-size: 9px;
}

#sidebar-remove-coupon-btn {
  padding: 2px 6px;
  margin-left: 6px;
  border: 1px solid #28a745;
  color: #28a745;
  background: transparent;
  border-radius: 3px;
  font-size: 10px;
  cursor: pointer;
}

#sidebar-remove-coupon-btn:hover {
  background: #28a745;
  color: white;
}

.coupon-message-sidebar {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 11px;
  display: none;
}

.coupon-message-sidebar.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.coupon-message-sidebar.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.free-delivery-info-sidebar {
  margin: 8px 0;
  text-align: center;
}

.discount-row {
  color: #28a745;
}

/* Checkout Modal Styles */
.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

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

.item-info {
  display: flex;
  flex-direction: column;
}

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

.item-quantity {
  font-size: 0.9em;
  color: #666;
}

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

.order-totals {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.coupon-applied {
  background-color: #d4edda;
  padding: 8px 12px;
  border-radius: 4px;
  margin: 8px 0;
  border: 1px solid #c3e6cb;
}

.coupon-applied i {
  color: #28a745;
  margin-right: 6px;
}

.coupon-applied small {
  color: #6c757d;
  margin-left: 6px;
}

.free-delivery-checkout {
  margin: 8px 0;
  text-align: center;
}

.total-row {
  background-color: #f8f9fa;
  padding: 12px;
  border-radius: 4px;
  margin-top: 8px;
}

/* Wishlist Item Styling */
.wishlist-item {
  display: flex;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  gap: 12px;
}

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

.wishlist-item-image {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.wishlist-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f9fa;
}

.wishlist-item-details {
  flex: 1;
}

.wishlist-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.wishlist-item-subtitle {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 4px;
}

.wishlist-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.wishlist-item-actions {
  display: flex;
  gap: 6px;
}

.wishlist-item-actions .btn-sm {
  padding: 4px 8px;
  font-size: 11px;
}

.empty-wishlist {
  padding: 40px 20px;
  color: var(--gray);
  text-align: center;
}

.empty-wishlist-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

/* Cart Toggle Button */
.cart-toggle {
  position: relative;
  padding: 8px;
  background: none;
  border: none;
  color: var(--black);
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary-color);
  color: var(--white);
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* View More CTA */
.view-more-cta {
  margin-top: 40px;
  text-align: center;
}

.btn-lg {
  padding: 12px 30px;
  font-size: 16px;
}

.btn .fa-arrow-right {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover .fa-arrow-right {
  transform: translateX(4px);
} 

/* Wishlist Sidebar */
.wishlist-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: var(--white);
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.wishlist-sidebar.active {
  right: 0;
}

.wishlist-header {
  padding: 20px;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wishlist-header h3 {
  margin: 0;
  color: var(--black);
  font-size: 20px;
}

.close-wishlist {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray);
  cursor: pointer;
  padding: 0;
}

.wishlist-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.wishlist-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-light);
}

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

.wishlist-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 15px;
}

.wishlist-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-item-details {
  flex: 1;
}

.wishlist-item-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--black);
}

.wishlist-item-subtitle {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 8px;
}

.wishlist-item-price {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 16px;
}

.wishlist-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.wishlist-item-actions button {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
}

.remove-wishlist-item {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.wishlist-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray);
}

.wishlist-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

/* Wishlist Count Badge */
.wishlist-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary-color);
  color: var(--white);
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Product Card Updates */
.product-showcase-item {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.product-image-slider {
  position: relative;
  height: 300px;
  background: var(--gray-light);
  overflow: hidden;
}

.product-image-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  display: none;
}

.product-image-slider img.active {
  display: block;
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--black);
}

.product-subtitle {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 12px;
}

.product-description {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.4;
}

.product-variants {
  margin-bottom: 16px;
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.original-price {
  text-decoration: line-through;
  color: var(--gray);
  font-weight: normal;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.product-actions button {
  flex: 1;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
} 

/* Product Cards - Material Design */
.product-showcase-item {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
  margin: 0;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-showcase-item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.product-image-slider {
  position: relative;
  overflow: hidden;
  height: 300px;
  background-color: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  padding: 20px;
}

.product-image-slider img.active {
  display: block;
}

/* Product Tags */
.product-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.product-tag {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.tag-sale {
  background-color: var(--primary-color);
  color: var(--white);
}

.tag-new {
  background-color: #28a745;
  color: var(--white);
}

.tag-discount {
  background-color: #ffc107;
  color: var(--black);
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.wishlist-btn i {
  color: var(--gray);
  font-size: 18px;
  transition: all 0.3s ease;
}

.wishlist-btn:hover {
  transform: scale(1.1);
}

.wishlist-btn:hover i {
  color: var(--primary-color);
}

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

.wishlist-btn.active i {
  color: var(--white);
}

/* Original Price Strike Through */
.original-price {
  text-decoration: line-through;
  color: var(--gray);
  font-size: 14px;
  margin-right: 8px;
}

.discount-price {
  color: var(--primary-color);
  font-weight: 600;
}

.slider-nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: 12px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.product-info {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-subtitle {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.product-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--black);
}

.product-info .product-description {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.4;
}

.product-variants {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.variant-option {
  display: flex;
  align-items: center;
  gap: 4px;
}

.variant-option input[type="radio"] {
  display: none;
}

.variant-option label {
  padding: 4px 12px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.variant-option input[type="radio"]:checked + label {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-add-to-cart,
.btn-buy-now {
  font-size: 14px;
  padding: 8px 16px;
  flex: 1;
  border-radius: 4px;
} 

/* Navigation Icons Fix */
.cart-nav,
.wishlist-nav {
  position: relative;
}

.cart-nav a,
.wishlist-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cart-nav a:hover,
.wishlist-nav a:hover {
  background-color: rgba(139, 0, 0, 0.1);
  color: var(--primary-color);
}

.cart-nav a.active,
.wishlist-nav a.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.cart-count,
.wishlist-count {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
}

.cart-nav a.active .cart-count,
.wishlist-nav a.active .wishlist-count {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Cart Page Styles */
.cart-page {
  padding: 80px 0 40px;
  min-height: 100vh;
  background-color: #f8f9fa;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-header h1 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--gray);
  margin: 0;
}

/* Cart Items Container */
.cart-items-container {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  gap: 20px;
}

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

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f8f9fa;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.cart-item-subtitle {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 8px;
}

.cart-item-variant {
  background-color: #f8f9fa;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--gray);
  display: inline-block;
}

.cart-item-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 8px 0;
}

.cart-item-price .original-price {
  text-decoration: line-through;
  color: var(--gray);
  font-size: 14px;
  margin-right: 8px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gray);
  background: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.quantity-input {
  width: 60px;
  text-align: center;
  border: 1px solid var(--gray);
  border-radius: 4px;
  padding: 8px;
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.remove-item {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.remove-item:hover {
  background: #dc3545;
  color: var(--white);
}

/* Empty Cart */
.empty-cart {
  background: var(--white);
  border-radius: 8px;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.empty-cart-icon {
  font-size: 64px;
  color: var(--gray);
  margin-bottom: 20px;
}

.empty-cart h3 {
  color: var(--black);
  margin-bottom: 12px;
}

.empty-cart p {
  color: var(--gray);
  margin-bottom: 24px;
}

/* Cart Summary */
.cart-summary {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 100px;
}

.cart-summary h4 {
  color: var(--black);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

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

.summary-row.total-row {
  font-size: 18px;
  padding: 16px 0;
}

.discount-row {
  color: #28a745;
}

/* Coupon Section */
.coupon-section {
  margin: 20px 0;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
}

.coupon-section h5 {
  margin-bottom: 12px;
  color: var(--black);
}

.coupon-input {
  display: flex;
  gap: 8px;
}

.coupon-input input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--gray);
  border-radius: 4px;
}

.coupon-message {
  margin-top: 8px;
  padding: 8px;
  border-radius: 4px;
  font-size: 14px;
}

.coupon-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.coupon-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

/* Checkout Modal */
.checkout-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.checkout-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-content {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.checkout-header h3 {
  margin: 0;
  color: var(--black);
}

.close-checkout {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray);
  padding: 4px;
}

.close-checkout:hover {
  color: var(--primary-color);
}

.checkout-body {
  padding: 24px;
}

.checkout-body h4 {
  color: var(--black);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--black);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.payment-methods {
  margin-bottom: 24px;
}

.payment-option {
  margin-bottom: 12px;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + label {
  border-color: var(--primary-color);
  background: rgba(139, 0, 0, 0.05);
}

.checkout-summary {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.checkout-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid #eee;
  gap: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .cart-item-actions {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }
  
  .quantity-controls {
    margin-top: 0;
  }
  
  .checkout-content {
    margin: 10px;
    max-height: 95vh;
  }
  
  .checkout-footer {
    flex-direction: column;
  }
  
  .cart-summary {
    position: static;
    margin-top: 20px;
  }
} 

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar-container {
    padding: 12px 16px;
  }
  
  .navbar-toggle {
    display: flex;
  }
  
  .mobile-nav-icons {
    display: flex;
  }
  
  .navbar-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    gap: 0;
  }
  
  .navbar-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-links li {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }
  
  .navbar-links li:last-child {
    border-bottom: none;
  }
  
  /* Hide cart/wishlist from main nav on mobile, show in mobile icons */
  .navbar-links .cart-nav,
  .navbar-links .wishlist-nav {
    display: none;
  }
} 