/* AP Auto Shine - Main Styles */
:root {
  --navy: #0d1b3e;
  --navy-light: #1a2744;
  --orange: #ff6600;
  --orange-dark: #e55a00;
  --orange-light: #f7941d;
  --white: #ffffff;
  --gray-50: #f5f6f8;
  --gray-100: #eef0f3;
  --gray-200: #dde1e6;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-800: #333333;
  --red: #e53e3e;
  --green: #38a169;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 6px;
  --transition: 0.3s ease;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--orange); }

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* Top Bar */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar a { color: var(--white); opacity: 0.9; }
.top-bar a:hover { color: var(--orange); opacity: 1; }

/* Main Header */
.main-header {
  background: var(--navy-light);
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img { height: 50px; width: auto; }

.search-bar {
  flex: 1;
  display: flex;
  max-width: 560px;
}

.search-bar select {
  background: var(--white);
  border: none;
  padding: 0 12px;
  font-size: 13px;
  border-radius: var(--radius) 0 0 var(--radius);
  min-width: 130px;
  cursor: pointer;
  font-family: inherit;
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.search-bar button {
  background: var(--orange);
  border: none;
  color: var(--white);
  padding: 0 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-size: 18px;
  transition: background var(--transition);
}

.search-bar button:hover { background: var(--orange-dark); }

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icon {
  color: var(--white);
  text-align: center;
  position: relative;
  font-size: 13px;
}

.header-icon i {
  font-size: 22px;
  display: block;
  margin-bottom: 2px;
}

.header-icon .badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Navigation */
.main-nav {
  background: var(--navy);
  padding: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.categories-btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  transition: background var(--transition);
}

.categories-btn:hover { background: var(--orange-dark); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 16px 0;
  display: block;
}

.nav-menu a:hover, .nav-menu a.active { color: var(--orange); }

.nav-cta {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--orange);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
}

/* Hero Slider */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}

.hero-slide {
  display: none;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide.active { display: flex; align-items: center; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,27,62,0.85) 0%, rgba(13,27,62,0.4) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 550px;
  color: var(--white);
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.hero-dot.active { background: var(--orange); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
}

.btn-white:hover {
  background: var(--gray-100);
  color: var(--orange-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
}

/* Section */
.section {
  padding: 60px 0;
}

.section-gray { background: var(--gray-50); }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--gray-600);
  font-size: 15px;
}

.section-header-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header-left h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
}

.category-item {
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition);
}

.category-item:hover { transform: translateY(-4px); }

.category-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  margin: 0 auto 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
}

.category-item:hover .category-icon { border-color: var(--orange); }

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-800);
}

/* Product Card */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  z-index: 1;
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-50);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.product-card:hover .product-image img { transform: scale(1.05); }

.product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13,27,62,0.9);
  padding: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.product-card:hover .product-actions { transform: translateY(0); }

.product-actions button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}

.product-actions button:hover { background: var(--orange-dark); }

.product-info { padding: 16px; }

.product-category {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 6px 0;
  color: var(--navy);
  line-height: 1.4;
}

.product-info h3 a:hover { color: var(--orange); }

.product-rating {
  color: var(--orange-light);
  font-size: 13px;
  margin-bottom: 8px;
}

.product-rating span { color: var(--gray-400); font-size: 12px; }

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}

.price-original {
  font-size: 14px;
  color: var(--gray-400);
  text-decoration: line-through;
}

/* Promo Banners */
.promo-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-banner {
  border-radius: var(--radius);
  padding: 36px 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,62,0.8), rgba(13,27,62,0.5));
}

.promo-banner.orange-bg::before {
  background: linear-gradient(135deg, rgba(255,102,0,0.9), rgba(247,148,29,0.7));
}

.promo-banner.dark-bg::before {
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(13,27,62,0.6));
}

.promo-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.promo-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.promo-content p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
}

/* Deal Section */
.deal-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}

.deal-info h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.deal-info p { color: var(--gray-600); margin-bottom: 20px; }

.countdown {
  display: flex;
  gap: 12px;
}

.countdown-item {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 70px;
}

.countdown-item .num {
  font-size: 24px;
  font-weight: 700;
  display: block;
}

.countdown-item .label {
  font-size: 11px;
  opacity: 0.8;
  text-transform: uppercase;
}

.deal-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.deal-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  gap: 16px;
  padding: 16px;
}

.deal-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.deal-card-info { flex: 1; }

.deal-card-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.stock-bar {
  background: var(--gray-200);
  height: 8px;
  border-radius: 4px;
  margin: 12px 0 6px;
  overflow: hidden;
}

.stock-bar-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 4px;
}

.stock-text {
  font-size: 12px;
  color: var(--gray-600);
}

/* Brands */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.brand-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--gray-600);
  transition: all var(--transition);
}

.brand-item:hover {
  border-color: var(--orange);
  color: var(--navy);
  box-shadow: var(--shadow);
}

/* Featured Layout */
.featured-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
}

.featured-banner {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px 28px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.featured-banner .discount {
  font-size: 48px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.featured-banner h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 12px 0;
}

.featured-banner p {
  opacity: 0.85;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.blog-card:hover { transform: translateY(-4px); }

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content { padding: 20px; }

.blog-date {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-content p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.read-more {
  color: var(--orange);
  font-weight: 600;
  font-size: 13px;
}

/* Service Bar */
.service-bar {
  background: var(--orange);
  padding: 30px 0;
}

.service-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.service-item i {
  font-size: 32px;
  opacity: 0.9;
}

.service-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.service-item p {
  font-size: 12px;
  opacity: 0.85;
}

/* Footer */
.main-footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-about img {
  height: 45px;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-newsletter {
  display: flex;
  gap: 0;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.footer-newsletter button {
  background: var(--orange);
  border: none;
  color: var(--white);
  padding: 0 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-size: 18px;
  transition: background var(--transition);
}

.footer-newsletter button:hover { background: var(--orange-dark); }

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.footer-col ul a:hover { color: var(--orange); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--orange);
  color: var(--white);
}

.footer-bottom {
  background: #0a1428;
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.7;
}

.payment-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.payment-icons span {
  background: var(--white);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* Page Banner */
.page-banner {
  background: var(--navy);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.breadcrumb {
  font-size: 14px;
  opacity: 0.8;
}

.breadcrumb a { color: var(--orange); }

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--red);
}

.form-group.error .form-error { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Content Page */
.content-page {
  padding: 60px 0;
}

.content-page .content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-page h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
}

.content-page h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 24px 0 10px;
}

.content-page p {
  margin-bottom: 16px;
  color: var(--gray-600);
  line-height: 1.8;
}

.content-page ul {
  list-style: disc;
  margin: 0 0 16px 24px;
  color: var(--gray-600);
}

.content-page ul li { margin-bottom: 8px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--gray-50); }

.faq-question i { color: var(--orange); transition: transform var(--transition); }

.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer p {
  padding: 0 24px 18px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
}

.product-gallery .main-image {
  height: 450px;
  background: var(--gray-50);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.product-gallery .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-list {
  display: flex;
  gap: 10px;
}

.thumbnail-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.thumbnail-list img.active,
.thumbnail-list img:hover { border-color: var(--orange); }

.product-detail-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.product-detail-info .price-current { font-size: 32px; }

.product-detail-info .description {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.specs-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 40%;
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.qty-selector button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
  transition: all var(--transition);
}

.qty-selector button:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.qty-selector input {
  width: 60px;
  text-align: center;
  padding: 8px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Cart */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.cart-table th {
  background: var(--gray-50);
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
}

.cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-remove {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 18px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.cart-summary {
  background: var(--gray-50);
  padding: 28px;
  border-radius: var(--radius);
  height: fit-content;
}

.cart-summary h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.summary-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
  margin-top: 12px;
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
}

.empty-cart i {
  font-size: 64px;
  color: var(--gray-200);
  margin-bottom: 20px;
}

.empty-cart h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

/* Filters */
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.filter-tab:hover, .filter-tab.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.sort-select {
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 13px;
}

/* Alerts */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-success {
  background: #f0fff4;
  color: var(--green);
  border: 1px solid #c6f6d5;
}

.alert-error {
  background: #fff5f5;
  color: var(--red);
  border: 1px solid #fed7d7;
}

/* Tabs */
.product-tabs {
  margin-top: 40px;
}

.tab-buttons {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  transition: all var(--transition);
}

.tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-box {
  text-align: center;
  padding: 30px 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.feature-box i {
  font-size: 36px;
  color: var(--orange);
  margin-bottom: 16px;
}

.feature-box h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 14px;
  color: var(--gray-600);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info-box {
  background: var(--navy);
  color: var(--white);
  padding: 36px;
  border-radius: var(--radius);
}

.contact-info-box h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info-item i {
  color: var(--orange);
  font-size: 20px;
  margin-top: 2px;
}

.contact-form-box {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Subscribe */
.subscribe-box {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.subscribe-box i {
  font-size: 48px;
  color: var(--orange);
  margin-bottom: 20px;
}

.subscribe-box h2 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
}

.subscribe-box p {
  color: var(--gray-600);
  margin-bottom: 28px;
}

/* Not Found */
.not-found {
  text-align: center;
  padding: 80px 20px;
}

.not-found h2 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 12px;
}

.not-found p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* Promo tile in grid */
.promo-tile {
  background: var(--orange);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  min-height: 320px;
}

.promo-tile h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.promo-tile p {
  opacity: 0.9;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Mobile App Section */
.app-section {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
}

.app-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.app-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.app-content p {
  opacity: 0.85;
  margin-bottom: 24px;
  line-height: 1.7;
}

.app-buttons {
  display: flex;
  gap: 12px;
}

.app-btn {
  background: var(--white);
  color: var(--navy);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.app-btn:hover {
  background: var(--orange);
  color: var(--white);
}

.app-image {
  text-align: center;
}

.app-image img {
  max-height: 350px;
  margin: 0 auto;
}
