/* Modern E-commerce Design - Version 2 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #FFD700;
  --primary-dark: #FFA500;
  --yellow: #FFD700;
  --dark: #1a1a1a;
  --darker: #000000;
  --light: #ffffff;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --success: #10b981;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.15);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  background: var(--gray-light);
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Banner */
.top-banner {
  background: var(--darker);
  color: var(--primary);
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
}

/* Header - Clean Modern */
.site-header {
  background: var(--light);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 40px;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--darker);
}

.logo-icon {
  color: var(--primary);
}

/* Search Bar */
.search-bar {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  font-size: 15px;
  transition: all 0.3s;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.1);
}

.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s;
}

.search-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.05);
}

/* Header Actions */
.header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.action-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: relative;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s;
}

.action-btn:hover {
  background: var(--gray-light);
}

.badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}

/* Navigation */
.main-nav {
  border-top: 1px solid #e5e7eb;
  background: var(--light);
}

.nav-links {
  display: flex;
  gap: 40px;
  padding: 15px 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

/* Hero - Split Design */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  margin-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-highlight {
  color: var(--primary);
}

.hero-content p {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.btn-hero {
  background: var(--primary);
  color: var(--darker);
  border: none;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow-md);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Categories - Card Style */
.categories-section {
  margin-bottom: 50px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--darker);
}

.view-all {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-card {
  background: white;
  padding: 30px 20px;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.category-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}

/* Products Grid - Card Design */
.products-section {
  margin-bottom: 60px;
}

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

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  border: 1px solid #e5e7eb;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
  position: relative;
  height: 280px;
  background: #f9fafb;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.discount-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ef4444;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}

.wishlist-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font-size: 18px;
  transition: all 0.3s;
}

.wishlist-icon:hover {
  background: #fef2f2;
  color: #ef4444;
}

.product-info {
  padding: 20px;
}

.product-category {
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--darker);
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 44px;
}

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

.stars {
  color: #fbbf24;
}

.rating-count {
  color: var(--gray);
  font-size: 13px;
}

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

.current-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--darker);
}

.original-price {
  font-size: 16px;
  color: var(--gray);
  text-decoration: line-through;
}

.save-badge {
  color: var(--success);
  font-size: 13px;
  font-weight: 700;
}

.btn-add-cart {
  width: 100%;
  background: var(--primary);
  color: var(--darker);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-add-cart:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

.btn-add-cart:active {
  transform: scale(0.98);
}

/* Features - Icon Grid */
.features-section {
  background: white;
  padding: 60px 0;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--darker);
}

.feature-item p {
  color: var(--gray);
  font-size: 14px;
}

/* Footer - Modern Clean */
.site-footer {
  background: var(--darker);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-col a:hover {
  color: var(--primary);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 8px;
}

.newsletter-form button {
  background: var(--primary);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* Cart Modal */
.cart-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: none;
}

.cart-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 450px;
  background: white;
  box-shadow: -5px 0 20px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

.cart-header {
  padding: 25px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 22px;
  font-weight: 900;
}

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

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

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

.cart-footer {
  padding: 25px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 900;
}

.btn-checkout {
  width: 100%;
  background: var(--primary);
  color: var(--darker);
  border: none;
  padding: 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

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

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

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cart-panel {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .search-bar {
    display: none;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Product Detail Page - Modern Style */
.breadcrumb {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb span {
  color: var(--dark);
  font-weight: 600;
}

.product-detail-section {
  padding: 60px 0;
  background: var(--gray-light);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* Product Gallery - Modern */
.product-gallery {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.main-image {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.image-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ef4444;
  color: white;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 18px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.thumbnail-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
  background: white;
  padding: 10px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}

.thumbnail-grid img:hover,
.thumbnail-grid img.active {
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Product Info - Modern */
.product-detail-info {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.brand-badge {
  background: var(--primary);
  color: var(--darker);
  display: inline-block;
  padding: 8px 16px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 13px;
  text-transform: uppercase;
}

.product-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--darker);
}

.product-meta {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
}

.rating-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.stars {
  font-size: 20px;
  color: #fbbf24;
}

.rating-text {
  font-weight: 600;
  font-size: 15px;
  color: var(--gray);
}

.sku {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gray);
  font-size: 14px;
}

.stock-status {
  font-size: 15px;
  font-weight: 700;
  color: var(--success);
}

.price-section {
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
  color: white;
  padding: 30px;
  margin-bottom: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.price-main {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 10px;
}

.price-was {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.price-save {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
}

.tax-info {
  padding: 15px;
  background: #fef3c7;
  border-radius: var(--radius);
  margin-bottom: 25px;
  font-weight: 600;
  text-align: center;
  color: #92400e;
}

.quantity-section {
  margin-bottom: 25px;
}

.quantity-section label {
  display: block;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--darker);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-btn {
  background: white;
  color: var(--darker);
  border: none;
  border-right: 1px solid #e5e7eb;
  width: 50px;
  height: 50px;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.qty-btn:last-child {
  border-right: none;
  border-left: 1px solid #e5e7eb;
}

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

.quantity-controls input {
  width: 80px;
  height: 50px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border: none;
  background: white;
}

.action-buttons {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.btn-add-cart-large {
  background: var(--primary);
  color: var(--darker);
  border: none;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.btn-add-cart-large:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-buy-now {
  background: var(--darker);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: var(--radius);
}

.btn-buy-now:hover {
  background: var(--dark);
}

.shipping-info {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 25px;
}

.shipping-item {
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.key-features {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.key-features h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
}

.key-features ul {
  list-style: none;
}

.key-features li {
  padding: 10px 0;
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.key-features li:last-child {
  border-bottom: none;
}

/* Product Tabs - Modern */
.product-tabs {
  margin-top: 60px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tab-buttons {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e7eb;
}

.tab-btn {
  background: none;
  border: none;
  padding: 20px 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--gray);
  position: relative;
}

.tab-btn:hover {
  color: var(--darker);
  background: var(--gray-light);
}

.tab-btn.active {
  color: var(--primary-dark);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.tab-content {
  padding: 40px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--darker);
}

.description-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--gray);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-box {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-icon {
  background: var(--primary);
  color: var(--darker);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  border-radius: 8px;
  flex-shrink: 0;
}

.feature-text {
  font-weight: 500;
  line-height: 1.6;
  color: var(--dark);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item-detail {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  background: var(--gray-light);
  border-radius: var(--radius);
}

.check-icon {
  background: var(--success);
  color: white;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid #e5e7eb;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 700;
  padding: 15px 20px;
  background: var(--gray-light);
  width: 35%;
  color: var(--darker);
}

.spec-value {
  padding: 15px 20px;
  font-weight: 500;
  color: var(--gray);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.included-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px;
  background: var(--gray-light);
  border-radius: var(--radius);
  font-weight: 500;
}

.included-icon {
  font-size: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}

.faq-question {
  padding: 20px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gray-light);
  transition: all 0.3s;
  color: var(--darker);
}

.faq-question:hover {
  background: #e5e7eb;
}

.faq-icon {
  font-size: 24px;
  font-weight: 700;
  transition: transform 0.3s;
  color: var(--primary-dark);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  font-weight: 500;
  line-height: 1.8;
  color: var(--gray);
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* Responsive Product Page */
@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-gallery {
    position: static;
  }
  
  .feature-grid,
  .included-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 24px;
  }
  
  .price-main {
    font-size: 36px;
  }
  
  .action-buttons {
    grid-template-columns: 1fr;
  }
  
  .tab-buttons {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-btn {
    white-space: nowrap;
  }
}

/* ===================================
   8. PRODUCT DETAIL PAGE (MODERN)
   =================================== */

/* Product Page Container */
.product-page {
  background: #f8f9fa;
  min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--yellow);
}

.breadcrumb span {
  color: #111827;
}

/* Product Detail Section */
.product-detail-section {
  padding: 40px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Product Gallery - Modern Clean Style */
.product-gallery {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.main-image {
  position: relative;
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
}

.main-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.main-image:hover img {
  transform: scale(1.05);
}

.image-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--yellow);
  color: #000;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Thumbnail Grid - Clean Style */
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.thumbnail-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #e5e7eb;
  transition: all 0.2s;
  background: #f9fafb;
}

.thumbnail-grid img:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.thumbnail-grid img.active {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* Product Info - Modern Layout */
.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand-badge {
  display: inline-block;
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  color: var(--yellow);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
}

.product-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin: 0;
}

/* Product Meta - Clean Info Display */
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.rating-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  font-size: 20px;
  line-height: 1;
}

.rating-text {
  color: #6b7280;
  font-size: 15px;
}

.sku {
  color: #6b7280;
  font-size: 14px;
}

.stock-status {
  color: #059669;
  font-weight: 600;
  font-size: 15px;
}

/* Price Section - Prominent Display */
.price-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 24px;
  border-radius: 12px;
  border: 2px solid var(--yellow);
}

.price-main {
  font-size: 42px;
  font-weight: 800;
  color: #000;
  line-height: 1;
  margin-bottom: 8px;
}

.price-was {
  font-size: 18px;
  color: #6b7280;
  text-decoration: line-through;
  margin-bottom: 8px;
}

.price-save {
  font-size: 18px;
  color: #059669;
  font-weight: 600;
}

/* Tax Info */
.tax-info {
  color: #6b7280;
  font-size: 14px;
}

/* Quantity Section - Modern Controls */
.quantity-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quantity-section label {
  font-weight: 600;
  color: #111827;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #f9fafb;
  color: #111827;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--yellow);
  color: #000;
}

.quantity-controls input {
  width: 60px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  border-left: 2px solid #e5e7eb;
  border-right: 2px solid #e5e7eb;
}

/* Action Buttons - Conversion Focused */
.action-buttons {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.btn-add-cart-large {
  background: var(--yellow);
  color: #000;
  border: none;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-add-cart-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-buy-now {
  background: #000;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-buy-now:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

/* Shipping Info - Clean Grid */
.shipping-info {
  background: #f9fafb;
  padding: 20px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border: 1px solid #e5e7eb;
}

.shipping-item {
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shipping-item strong {
  color: #111827;
}

/* Key Features List */
.key-features h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.key-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.key-features li {
  color: #374151;
  font-size: 15px;
  padding-left: 0;
}

/* Product Tabs - Modern Design */
.product-tabs {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tab-buttons {
  display: flex;
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  padding: 16px 24px;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.tab-btn:hover {
  color: #111827;
  background: #fff;
}

.tab-btn.active {
  color: #000;
  background: #fff;
  border-bottom-color: var(--yellow);
}

.tab-content {
  padding: 40px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}

/* Description Tab */
.description-text {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-box {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.feature-icon {
  width: 32px;
  height: 32px;
  background: var(--yellow);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

/* Features Tab */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
}

.check-icon {
  color: #059669;
  font-weight: 700;
  font-size: 18px;
}

/* Specs Tab */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid #e5e7eb;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.spec-label {
  padding: 16px 12px;
  font-weight: 600;
  color: #111827;
  width: 40%;
}

.spec-value {
  padding: 16px 12px;
  color: #374151;
}

/* Included Tab */
.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.included-icon {
  font-size: 20px;
}

/* FAQ Tab */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  background: #f9fafb;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #111827;
  transition: all 0.2s;
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-icon {
  font-size: 24px;
  font-weight: 700;
  color: var(--yellow);
}

.faq-answer {
  display: none;
  padding: 16px 20px;
  background: #fff;
  color: #374151;
  line-height: 1.6;
}

.faq-answer.active {
  display: block;
}

/* ===================================
   RESPONSIVE - PRODUCT PAGE
   =================================== */

@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .product-gallery {
    position: relative;
    top: 0;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 24px;
  }
  
  .price-main {
    font-size: 32px;
  }
  
  .action-buttons {
    grid-template-columns: 1fr;
  }
  
  .shipping-info {
    grid-template-columns: 1fr;
  }
  
  .feature-grid,
  .included-grid {
    grid-template-columns: 1fr;
  }
  
  .tab-content {
    padding: 24px;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   PRODUCT PAGE HEADER FIXES
   =================================== */

/* Product Page Header Specific */
.product-page .site-header {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-page .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.product-page .site-logo {
  font-size: 24px;
  font-weight: 800;
  color: #000;
  margin: 0;
}

.product-page .site-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.product-page .header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-page .icon-btn {
  width: 48px;
  height: 48px;
  border: 2px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s;
  color: #374151;
}

.product-page .icon-btn:hover {
  border-color: var(--primary);
  background: #fef3c7;
  transform: translateY(-2px);
  color: #000;
}

.product-page .icon-btn .count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid #fff;
}

.product-page .main-nav {
  padding: 0;
  margin: 0;
  border-top: none;
}

.product-page .main-nav a {
  display: inline-block;
  padding: 18px 28px;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  position: relative;
}

.product-page .main-nav a:hover {
  color: #000;
  background: #fef9e7;
  border-bottom-color: var(--primary);
}

.product-page .main-nav a:active,
.product-page .main-nav a.active {
  color: #000;
  font-weight: 600;
  border-bottom-color: var(--primary);
}
