/**
 * Aurora-Style Modern WooCommerce Single Product Styles
 * Dark theme with interactive gradients and modern design
 * Version: 3.0
 */

/* Aurora CSS Variables - Home Services Theme Colors */
:root {
  --aurora-background: #f8fafc;
  --aurora-foreground: #1e293b;
  --aurora-muted: #e2e8f0;
  --aurora-muted-foreground: #64748b;
  --aurora-primary: #0f4c75;
  --aurora-brand: #0f4c75;
  --aurora-brand-2: #3282b8;
  --aurora-accent: #22c55e;
  --aurora-accent-2: #00d4ff;
  --aurora-border: #e2e8f0;
  --aurora-radius: 14px;
}

/* Base Styles */
.aurora-product {
  color: var(--aurora-foreground);
  background: var(--aurora-background); /* Light background #f8fafc */
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  margin: 0;
  min-height: 100vh; /* Ensure full page coverage */
}

/* Ensure body background matches */
body.single-product {
  background: #f8fafc !important;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Aurora Hero Section */
.aurora-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--aurora-border);
  background: var(--aurora-background);
  margin-top: 4rem; /* Increased space between navigation and landing area */
  padding-top: 3rem; /* Additional padding for better spacing */
}

.aurora-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  transition: opacity 0.2s ease;
  background: 
    radial-gradient(600px circle at 50% 50%, rgba(15, 76, 117, 0.15), transparent 60%),
    radial-gradient(900px circle at 10% 10%, rgba(50, 130, 184, 0.1), transparent 60%);
}

.aurora-hero-inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding: 72px 0;
  position: relative;
  z-index: 2;
}

@media (min-width: 900px) {
  .aurora-hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    padding: 96px 0;
  }
}

/* Aurora Content Styles */
.aurora-category-tag {
  display: inline-block;
  color: var(--aurora-brand);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.aurora-title {
  font-family: 'Space Grotesk', Inter, system-ui, sans-serif;
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--aurora-foreground);
}

@media (min-width: 900px) {
  .aurora-title {
    font-size: 56px;
  }
}

.aurora-lead {
  color: var(--aurora-muted-foreground);
  font-size: 18px;
  margin: 0 0 18px;
  line-height: 1.6;
}

/* Aurora Rating */
.aurora-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--aurora-muted-foreground);
  margin: 18px 0 24px;
}

.aurora-stars {
  display: flex;
  gap: 2px;
}

.aurora-stars svg {
  width: 20px;
  height: 20px;
  color: var(--aurora-brand);
}

/* Aurora Price Row */
.aurora-price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 6px 0 0;
  flex-wrap: wrap;
}

.aurora-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--aurora-foreground);
}

.aurora-price del {
  color: var(--aurora-muted-foreground);
  font-size: 20px;
  margin-right: 12px;
}

/* Aurora Buttons */
.aurora-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.aurora-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.aurora-btn-hero {
  color: #0b0b0f;
  background: linear-gradient(135deg, var(--aurora-brand), var(--aurora-brand-2));
  box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.45);
}

.aurora-btn-hero:active {
  transform: translateY(1px);
}

.aurora-btn-outline {
  border: 1px solid var(--aurora-border);
  color: var(--aurora-foreground);
  background: transparent;
}

.aurora-btn-outline:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Aurora Visual */
.aurora-visual {
  aspect-ratio: 16/9;
  border: 1px solid var(--aurora-border);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(15, 76, 117, 0.2), transparent 60%),
    radial-gradient(900px circle at 10% 10%, rgba(50, 130, 184, 0.15), transparent 60%),
    linear-gradient(180deg, #f8fafc, #e2e8f0);
  position: relative;
  box-shadow: 0 8px 32px rgba(15, 76, 117, 0.1);
}

.aurora-visual .woocommerce-product-gallery {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
}

.aurora-visual .woocommerce-product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* Aurora Features Section */
.aurora-features {
  padding: 64px 0;
  background: #f8fafc; /* Light background to match */
}

.aurora-section-title {
  font-family: 'Space Grotesk', Inter, system-ui, sans-serif;
  font-size: 28px;
  margin: 0 0 18px;
  color: var(--aurora-foreground);
  font-weight: 700;
}

.aurora-feature-list {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .aurora-feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

.aurora-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--aurora-border);
  border-radius: 12px;
  padding: 14px;
  background: white;
  transition: all 0.3s ease;
  color: var(--aurora-foreground);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.aurora-feature:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 76, 117, 0.15);
}

.aurora-feature svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--aurora-accent);
  margin-top: 2px;
}

/* Aurora Gallery Section */
.aurora-gallery-section {
  padding: 64px 0;
  background: #f8fafc; /* Light background to match */
}

.aurora-gallery {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .aurora-gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.aurora-tile {
  border: 1px solid var(--aurora-border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.aurora-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(15, 76, 117, 0.15);
}

.aurora-tile::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(300px circle at 70% 30%, rgba(15, 76, 117, 0.15), transparent 60%),
    radial-gradient(400px circle at 30% 70%, rgba(50, 130, 184, 0.12), transparent 60%);
  mix-blend-mode: multiply;
  position: absolute;
  top: 0;
  left: 0;
}

/* Aurora Tabs Section */
.aurora-tabs-section {
  padding: 64px 0;
  background: #f8fafc; /* Light background to match */
  border-top: 1px solid var(--aurora-border);
}

/* WooCommerce Form Overrides */
.aurora-product .woocommerce-product-gallery {
  margin-bottom: 0;
}

.aurora-product form.cart {
  display: contents;
}

.aurora-product .single_add_to_cart_button {
  color: #0b0b0f !important;
  background: linear-gradient(135deg, var(--aurora-brand), var(--aurora-brand-2)) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0 18px !important;
  height: 44px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.45) !important;
  transition: all 0.3s ease !important;
}

.aurora-product .single_add_to_cart_button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 35px -12px rgba(124, 58, 237, 0.6) !important;
}

.aurora-product .quantity {
  display: none;
}

/* Hide breadcrumbs completely */
.product-breadcrumb,
.woocommerce .woocommerce-breadcrumb,
.woocommerce-breadcrumb,
nav.woocommerce-breadcrumb,
.breadcrumb,
.breadcrumbs {
  display: none !important;
}

/* Hide related products and reviews sections */
.related.products,
.upsells.products,
.woocommerce-tabs .reviews_tab,
.woocommerce-tabs #tab-reviews,
.woocommerce-Reviews,
.single-product-summary .woocommerce-review-link {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .aurora-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  /* Mobile: Image first, then content */
  .aurora-content {
    order: 2; /* Content comes second on mobile */
  }
  
  .aurora-visual-container {
    order: 1; /* Image comes first on mobile */
  }
}

@media (max-width: 768px) {
  .aurora-hero {
    padding: 1.5rem 0 3rem;
  }
  
  .aurora-hero .container {
    padding: 0 1rem;
  }
  
  .aurora-hero-inner {
    gap: 2rem;
    padding: 48px 0;
  }
  
  /* Ensure proper mobile order */
  .aurora-visual-container {
    order: 1;
    width: 100%;
  }
  
  /* Fix product image scaling for tablets/large mobile */
  .aurora-visual {
    aspect-ratio: 5/4; /* Better ratio for this range */
    max-height: 350px;
  }
  
  .aurora-visual .woocommerce-product-gallery {
    width: 88%;
    height: 88%;
  }
  
  .aurora-visual .woocommerce-product-gallery img {
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
  }

  .aurora-content {
    order: 2;
    width: 100%;
  }  .aurora-title {
    font-size: 32px;
  }
  
  .aurora-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .aurora-btns {
    width: 100%;
  }
  
  .aurora-btn {
    flex: 1;
    justify-content: center;
  }
}

/* Specific fix for tablets and larger mobile (481px to 768px) */
@media (max-width: 768px) and (min-width: 481px) {
  .aurora-visual {
    aspect-ratio: 16/10 !important; /* Rectangular, not square */
    max-height: 300px !important;
    overflow: hidden !important;
  }
  
  .aurora-visual .woocommerce-product-gallery {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .aurora-visual .woocommerce-product-gallery img {
    object-fit: scale-down !important;
    object-position: center !important;
    width: auto !important;
    height: auto !important;
    max-width: 90% !important;
    max-height: 90% !important;
    transform: scale(0.85) !important;
    margin: 0 auto !important;
    display: block !important;
  }
  
  /* Disable zoom feature on tablets/large mobile */
  .woocommerce-product-gallery__trigger {
    display: none !important;
  }
  
  .woocommerce-product-gallery__image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .woocommerce-product-gallery__image a {
    pointer-events: none !important;
    cursor: default !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .woocommerce-product-gallery__wrapper {
    cursor: default !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  /* Small mobile devices - rectangular container */
  .aurora-visual {
    aspect-ratio: 3/2 !important; /* Rectangular, not square */
    max-height: 250px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }
  
  .aurora-visual .woocommerce-product-gallery {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .aurora-visual .woocommerce-product-gallery img {
    object-fit: scale-down !important;
    object-position: center !important;
    width: auto !important;
    height: auto !important;
    max-width: 85% !important;
    max-height: 85% !important;
    transform: scale(0.8) !important;
    margin: 0 auto !important;
    display: block !important;
  }
  
  /* Disable zoom feature on small mobile */
  .woocommerce-product-gallery__trigger {
    display: none !important;
  }
  
  .woocommerce-product-gallery__image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .woocommerce-product-gallery__image a {
    pointer-events: none !important;
    cursor: default !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .woocommerce-product-gallery__wrapper {
    cursor: default !important;
  }
  
  .aurora-hero-inner {
    padding: 48px 0;
    gap: 32px;
  }
  
  .aurora-title {
    font-size: 28px;
  }
  
  .aurora-feature-list {
    grid-template-columns: 1fr;
  }
  
  .aurora-gallery {
    grid-template-columns: 1fr;
  }
}

/* Product Description */
.product-description {
  margin-bottom: 2.5rem;
}

.product-description p {
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-weight: 400;
}

/* Key Features */
.product-features {
  margin-bottom: 2.5rem;
  background: #f8fafc;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.product-features h3 {
  color: #1e293b;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features h3::before {
  content: "⚡";
  font-size: 1.2rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 12px;
  color: #374151;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.features-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.features-list li:before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  font-size: 1.2rem;
  background: #ecfdf5;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Add to Cart Section */
.add-to-cart-section {
  margin-bottom: 2.5rem;
}

.woocommerce div.product form.cart {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.woocommerce div.product form.cart .quantity {
  margin-bottom: 1.5rem;
}

.woocommerce div.product form.cart .quantity input.qty {
  padding: 1.2rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100px;
  text-align: center;
  transition: all 0.3s ease;
  background: white;
}

.woocommerce div.product form.cart .quantity input.qty:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem 3rem;
  border: none;
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  box-shadow: 
    0 10px 25px rgba(102, 126, 234, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.woocommerce div.product form.cart .single_add_to_cart_button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover::before {
  left: 100%;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 15px 35px rgba(102, 126, 234, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Product Meta Modern */
.product-meta-modern {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.product-meta-modern .product_meta {
  display: grid;
  gap: 1rem;
}

.product-meta-modern .product_meta span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
}

.product-meta-modern .product_meta span:last-child {
  border-bottom: none;
}

.product-meta-modern .product_meta a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.product-meta-modern .product_meta a:hover {
  color: #764ba2;
}

/* Additional Details */
.product-additional-details {
  border-top: 2px solid #e2e8f0;
  padding-top: 2rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #374151;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem;
  background: rgba(102, 126, 234, 0.03);
  border-radius: 12px;
  border-left: 4px solid #667eea;
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(102, 126, 234, 0.08);
  transform: translateX(5px);
}

.detail-item svg {
  color: #667eea;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

/* Modern Product Tabs */
.product-tabs-modern {
  background: white;
  padding: 3rem 0;
  margin-top: 2rem;
}

.product-tabs-modern .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-main-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .product-info-section {
    position: static;
    top: auto;
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 1.5rem 0 3rem;
  }
  
  .product-hero .container {
    padding: 0 1rem;
  }
  
  .product-main-layout {
    gap: 2rem;
  }
  
  .product-images-section,
  .product-info-section {
    padding: 1.5rem;
  }
  
  .product-title {
    font-size: 1.8rem;
  }
  
  .price-container .price {
    font-size: 2rem;
  }
  
  .trust-badges {
    grid-template-columns: 1fr;
  }
  
  .modern-sale-flash {
    top: -8px;
    right: -8px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .features-list li {
    padding: 0.8rem 1rem;
  }
  
  .woocommerce div.product form.cart .single_add_to_cart_button {
    padding: 1.2rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .product-hero {
    padding: 1rem 0 2rem;
  }
  
  .product-images-section,
  .product-info-section {
    margin: 0 0.5rem;
    padding: 1rem;
    border-radius: 16px;
  }
  
  .product-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .price-container .price {
    font-size: 1.8rem;
  }
  
  .price-container .price del {
    font-size: 1.3rem;
  }
  
  .category-tag {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }
  
  .trust-badge {
    padding: 0.8rem 1rem;
  }
  
  .trust-badge span {
    font-size: 0.85rem;
  }
  
  .product-features {
    padding: 1.5rem;
  }
  
  .features-list li {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .woocommerce div.product form.cart {
    padding: 1.5rem;
  }
  
  .woocommerce div.product form.cart .single_add_to_cart_button {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .detail-item {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}

/* Shop Page Styles */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products li.product {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.woocommerce ul.products li.product img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1rem;
  line-height: 1.4;
}

.woocommerce ul.products li.product .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f4c75;
  margin: 0 1rem 1rem;
}

.woocommerce ul.products li.product .price del {
  color: #94a3b8;
  font-weight: 400;
}

/* Add to Cart Buttons */
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: linear-gradient(135deg, #0f4c75, #3282b8);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin: 0 1rem 1rem;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(15, 76, 117, 0.3);
  text-decoration: none;
  color: white;
}

/* Cart Page */
.woocommerce table.cart {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2rem;
}

.woocommerce table.cart th,
.woocommerce table.cart td {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.woocommerce table.cart th {
  background: #f8fafc;
  font-weight: 600;
  color: #1e293b;
}

.woocommerce .cart-collaterals {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

/* Checkout Page */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.woocommerce form .form-row {
  margin-bottom: 1rem;
}

.woocommerce form .form-row label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
  display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: #0f4c75;
  outline: none;
}

/* Order Review */
.woocommerce-checkout-review-order-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.woocommerce-checkout-review-order-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #1e293b;
}

/* Notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border-left: 4px solid;
}

.woocommerce .woocommerce-message {
  background: #ecfdf5;
  border-left-color: #22c55e;
  color: #166534;
}

.woocommerce .woocommerce-info {
  background: #eff6ff;
  border-left-color: #3b82f6;
  color: #1e40af;
}

.woocommerce .woocommerce-error {
  background: #fef2f2;
  border-left-color: #ef4444;
  color: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .woocommerce table.cart {
    font-size: 0.9rem;
  }
  
  .woocommerce table.cart th,
  .woocommerce table.cart td {
    padding: 0.5rem;
  }
  
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   CUSTOM CART PAGE STYLES
   =============================================== */

.custom-cart-banner {
	background-color: #f5f5f5;
	padding: 20px 0;
	text-align: center;
	margin-bottom: 30px;
	width: 100%;
}

.cart-banner-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.cart-banner-heading {
	font-size: 2.2em;
	margin: 0 0 10px 0;
	color: #333;
	font-weight: bold;
}

.cart-banner-subheading {
	font-size: 1.1em;
	margin: 0;
	color: #666;
}

/* Cart Layout Container */
.custom-cart-layout {
	display: flex;
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.cart-table-container {
	flex: 2;
}

.cart-totals-container {
	flex: 1;
	background: #ffffff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 20px;
	border-radius: 10px;
	height: fit-content;
	position: sticky;
	top: 20px;
}

/* Cart Table Styling */
.shop_table.cart {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shop_table.cart thead th {
	background-color: #0071a1;
	color: white;
	padding: 15px;
	font-weight: bold;
	text-align: left;
}

.shop_table.cart tbody tr {
	border: 1px solid #e0e0e0;
}

.shop_table.cart tbody tr:nth-child(odd) {
	background-color: #ffffff;
}

.shop_table.cart tbody tr:nth-child(even) {
	background-color: #fafafa;
}

.shop_table.cart tbody tr:hover {
	background-color: #f0f8ff;
}

.shop_table.cart td {
	padding: 15px;
	vertical-align: middle;
	border-bottom: 1px solid #e0e0e0;
}

/* Product Image Styling */
.product-thumbnail img {
	width: 100px !important;
	height: 100px !important;
	object-fit: cover;
	border-radius: 6px;
}

/* Actions Row Styling */
.shop_table.cart .actions {
	background-color: #f9f9f9;
	padding: 20px;
	border-top: 2px solid #0071a1;
}

.shop_table.cart .actions .coupon {
	margin-bottom: 15px;
}

.shop_table.cart .actions input[type="text"] {
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-right: 10px;
}

.shop_table.cart .actions button {
	background-color: #0071a1;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.shop_table.cart .actions button:hover {
	background-color: #005a8a;
}

/* Custom Checkout Button */
.wc-proceed-to-checkout .checkout-button {
	background-color: #0071a1 !important;
	color: white !important;
	border: none !important;
	padding: 15px 30px !important;
	border-radius: 6px !important;
	font-weight: bold !important;
	font-size: 16px !important;
	width: 100% !important;
	cursor: pointer !important;
	transition: background-color 0.3s ease !important;
	text-decoration: none !important;
	display: block !important;
	text-align: center !important;
}

.wc-proceed-to-checkout .checkout-button:hover {
	background-color: #005a8a !important;
	color: white !important;
}

/* Responsive Design */
@media (max-width: 768px) {
	.custom-cart-layout {
		flex-direction: column;
		padding: 0 10px;
	}
	
	.cart-totals-container {
		position: static;
		margin-top: 20px;
	}
	
	.cart-banner-heading {
		font-size: 1.8em;
	}
	
	.cart-banner-subheading {
		font-size: 1em;
	}
	
	.shop_table.cart {
		font-size: 14px;
	}
	
	.shop_table.cart thead {
		display: none;
	}
	
	.shop_table.cart tbody tr {
		display: block;
		margin-bottom: 20px;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		padding: 15px;
	}
	
	.shop_table.cart td {
		display: block;
		padding: 5px 0;
		border: none;
		text-align: left;
	}
	
	.shop_table.cart td:before {
		content: attr(data-title) ": ";
		font-weight: bold;
		color: #0071a1;
	}
	
	.product-thumbnail {
		text-align: center;
		margin-bottom: 10px;
	}
}
