/* ============================================
   TITAN X - Shop Stylesheet (Optimized)
   ============================================ */

/* CSS Variables - Unified & Refined */
:root {
  --primary: #0f172a;
  --accent: #ff6b35;
  --accent-hover: #e55a2b;
  --accent-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8f5a 100%);
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --text-dark: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-medium: #cbd5e1;
  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-xs: 0 0.5px 1px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --transition: all 0.2s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

/* Announcement Bar */
.announcement {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.announcement strong {
  color: var(--accent);
  font-weight: 600;
}

/* Header */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

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

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo span {
  color: var(--accent);
}

/* Search */
.search-container {
  flex: 1;
  max-width: 440px;
}

.search-form {
  width: 100%;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 28px;
  padding: 4px;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

.search-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12), inset 0 1px 2px rgba(0,0,0,0.03);
  background: var(--bg);
}

.search-icon {
  font-size: 15px;
  opacity: 0.55;
  margin-right: 10px;
  color: var(--text-lighter);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 15px;
  outline: none;
  color: var(--text-dark);
  letter-spacing: 0.3px;
}

.search-input::placeholder {
  color: var(--text-lighter);
  font-size: 14px;
}

.search-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--accent-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.search-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.search-btn svg {
  width: 16px;
  height: 16px;
}

.search-btn svg circle,
.search-btn svg path {
  stroke: white;
  fill: none;
  stroke-width: 2.5;
}

/* Navigation */
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

header nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

header nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

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

.lang-selector {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.lang-selector:hover {
  border-color: var(--border-medium);
}

.user-menu {
  position: relative;
}

.user-name {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 0;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 180px;
  display: none;
  margin-top: 8px;
}

.user-menu:hover .user-dropdown {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}

.user-dropdown a:hover {
  background: var(--bg-secondary);
  color: var(--accent);
}

.user-dropdown hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 6px 12px;
}

.login-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.cart-link {
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

.cart-count {
  background: var(--accent);
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 60px 0 0;
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-title {
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  transition: var(--transition);
  color: #94a3b8;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.payment-icons {
  display: flex;
  gap: 8px;
}

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

/* Buttons - Unified & Refined */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-medium);
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 107, 53, 0.05);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--bg-secondary);
  border-color: var(--border-medium);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border-light);
  border-color: var(--border-medium);
}

.btn-review {
  padding: 8px 16px;
  font-size: 13px;
}

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

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-featured {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: white;
}

.badge-sale {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: white;
}

.badge-adult {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  padding: 80px 0;
}

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

.hero-content h1 {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 .gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-actions .btn-outline {
  background: rgba(255,255,255,0.98);
  border: 2px solid var(--border-medium);
  color: var(--text-dark);
  backdrop-filter: blur(10px);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 13px 28px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hero-actions .btn-outline:hover {
  background: white;
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.18);
  transform: translateY(-2px);
}

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

.hero-stats .stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
}

.hero-stats .stat-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.hero-image {
  position: relative;
}

.hero-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Categories */
.categories {
  background: var(--bg);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

.category-image-wrapper {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-secondary);
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-image {
  transform: scale(1.05);
}

.category-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
}

.category-info {
  padding: 16px;
}

.category-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.adult-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

/* Products Grid */
.products {
  background: var(--bg-secondary);
}

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

.products-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

.product-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: transparent;
}

.product-image-wrapper,
.product-image {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-badges .badge {
  font-size: 10px;
  padding: 3px 8px;
}

.product-add-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.product-add-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: scale(1.1);
}

.product-info {
  padding: 16px;
}

.product-title-link {
  display: block;
  margin-bottom: 6px;
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-desc {
  font-size: 13px;
  color: var(--text-lighter);
  line-height: 1.5;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price-wrap,
.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.product-price .price-current,
.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.price-original,
.product-original {
  font-size: 14px;
  color: var(--text-lighter);
  text-decoration: line-through;
}

.product-discount {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
}

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

.btn-view {
  flex: 1;
  padding: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-view:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Features */
.features {
  background: var(--bg-dark);
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}

.feature-item {
  text-align: center;
  padding: 24px;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* Banner */
.banner {
  padding: 40px 0;
}

.banner-card {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 14px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  color: white;
}

.banner-decoration {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.banner-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.banner-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}

/* Testimonials */
.testimonials {
  background: var(--bg-secondary);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--accent);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

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

/* Newsletter */
.newsletter {
  background: var(--bg);
  padding: 40px 0 80px;
}

.newsletter-inner {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.newsletter-content p {
  font-size: 14px;
  color: var(--text-light);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  min-width: 360px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  background: var(--bg);
}

.newsletter-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Category Page */
.category-page {
  padding: 24px 0 80px;
  background: var(--bg-secondary);
}

.category-page .breadcrumb {
  margin-bottom: 24px;
}

.page-header {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 14px;
  padding: 40px;
  margin-bottom: 32px;
  color: white;
  text-align: center;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.page-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.page-stats .stat-value {
  font-size: 26px;
  font-weight: 800;
}

.page-stats .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.products-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}

.sidebar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-list {
  list-style: none;
}

.filter-item {
  margin-bottom: 4px;
}

.filter-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}

.filter-item a:hover,
.filter-item.active a {
  background: var(--bg-secondary);
  color: var(--accent);
}

.filter-item.active a {
  font-weight: 600;
}

.search-box {
  display: flex;
  gap: 8px;
}

.search-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price-field {
  flex: 1;
  position: relative;
}

.price-currency {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--text-lighter);
}

.price-input {
  width: 100%;
  padding: 10px 10px 10px 22px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.price-input:focus {
  border-color: var(--accent);
}

.price-sep {
  color: var(--text-lighter);
  font-size: 13px;
}

.btn-filter,
.btn-reset {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-filter {
  background: var(--accent-gradient);
  color: white;
  margin-bottom: 8px;
}

.btn-filter:hover {
  opacity: 0.9;
}

.btn-reset {
  background: var(--bg-secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-reset:hover {
  background: var(--border-light);
}

/* Products Main */
.products-main {
  min-width: 0;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count {
  font-size: 14px;
  color: var(--text-light);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-wrapper label {
  font-size: 13px;
  color: var(--text-light);
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  outline: none;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}

.page-link,
.page-item {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.page-link:hover,
.page-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-item.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.page-item.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-lighter);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-light);
  transition: var(--transition);
}

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

.breadcrumb-sep {
  color: var(--border-medium);
}

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

/* Checkout Page */
.checkout-section {
  padding: 40px 0 80px;
  background: var(--bg-secondary);
}

.checkout-section h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  margin-bottom: 32px;
}

.checkout-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.checkout-form h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.checkout-form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  background: var(--bg);
}

.checkout-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.08);
}

.checkout-form .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.checkout-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.checkout-summary h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.summary-item:hover {
  background: var(--bg-secondary);
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 6px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--bg-dark);
  border-radius: 10px;
  margin-top: 16px;
}

.summary-total span:first-child {
  font-size: 15px;
  font-weight: 600;
  color: #9ca3af;
}

.summary-total span:last-child {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}

.payment-methods {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}

.payment-methods h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.payment-methods label:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 53, 0.03);
}

.payment-methods input[type="radio"] {
  accent-color: var(--accent);
}

.card-fields {
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 6px;
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
}

.card-fields h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.age-check {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-light);
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.empty-cart p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Track Page */
.track-section {
  padding: 40px 0 80px;
  background: var(--bg-secondary);
}

.track-header {
  text-align: center;
  margin-bottom: 40px;
}

.track-header h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.track-desc {
  font-size: 15px;
  color: var(--text-light);
}

.track-form {
  max-width: 600px;
  margin: 0 auto 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.track-input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.track-input-wrapper {
  position: relative;
}

.track-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  background: var(--bg);
}

.track-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.08);
}

.track-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.track-submit {
  width: 100%;
}

.btn-icon {
  margin-left: 8px;
}

.track-loading {
  text-align: center;
  padding: 40px;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.track-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.order-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.order-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--accent);
}

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

.order-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-number-label {
  font-size: 13px;
  color: var(--text-lighter);
}

.order-number {
  font-size: 16px;
  color: var(--text-dark);
}

.order-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-paid { background: #d1fae5; color: #065f46; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #e0e7ff; color: #3730a3; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.order-date {
  font-size: 13px;
  color: var(--text-lighter);
  margin-bottom: 12px;
}

.order-tracking-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tracking-label {
  font-size: 13px;
  color: var(--text-lighter);
}

.tracking-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: monospace;
}

.tracking-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.tracking-carrier {
  font-size: 13px;
  color: var(--text-lighter);
}

/* Review Modal */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
}

.review-modal-content {
  background: var(--bg);
  border-radius: 14px;
  padding: 28px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.review-loading {
  text-align: center;
  padding: 40px;
  color: var(--text-lighter);
}

.review-order-no {
  font-size: 14px;
  color: var(--text-lighter);
  margin-bottom: 20px;
}

.star-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.star {
  font-size: 24px;
  color: #e5e7eb;
  cursor: pointer;
  transition: var(--transition);
}

.star.active {
  color: #f59e0b;
}

.review-title-input,
.review-content-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  margin-bottom: 12px;
  transition: var(--transition);
}

.review-title-input:focus,
.review-content-input:focus {
  border-color: var(--accent);
}

.review-content-input {
  min-height: 100px;
  resize: vertical;
}

.review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

/* Account Page */
.account-page {
  padding: 40px 0 80px;
  background: var(--bg-secondary);
  min-height: 60vh;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal {
  background: var(--bg);
  border-radius: 14px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.modal p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.modal .btn,
.modal .btn-outline {
  margin: 0 6px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-dark);
  color: white;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1001;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Social Float */
.social-float-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  background: #25d366;
  color: white;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.social-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.social-label {
  white-space: nowrap;
}

/* Utilities */
.error {
  background: #fef2f2;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid #fecaca;
}

.success {
  background: #ecfdf5;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid #a7f3d0;
}

/* Product Detail Page */
.product-detail-page {
  padding: 24px 0 80px;
  background: var(--bg-secondary);
}

.product-detail-page .breadcrumb {
  margin-bottom: 24px;
}

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

/* Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
}

.thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.thumb.active {
  border-color: var(--accent);
}

.thumb:hover {
  border-color: var(--accent-hover);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info-detail {
  padding: 8px 0;
}

.product-detail-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.product-detail-badges .badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-detail-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.product-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-rating .stars {
  display: flex;
  gap: 2px;
}

.rating-text {
  font-size: 13px;
  color: var(--text-lighter);
  font-weight: 500;
}

.meta-divider {
  color: var(--border-medium);
  font-size: 13px;
}

.detail-sales {
  font-size: 13px;
  color: var(--text-lighter);
  font-weight: 500;
}

.detail-stock {
  font-size: 13px;
  font-weight: 600;
}

.detail-stock.in-stock {
  color: var(--success);
}

.detail-stock.out-stock {
  color: var(--error);
}

.product-price-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

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

.price-discount {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.product-detail-desc {
  font-size: 15px;
  color: var(--text-lighter);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Variants */
.detail-variants {
  margin-bottom: 20px;
}

.variant-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-btn {
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.variant-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.variant-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

/* Actions */
.detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
}

.qty-btn {
  width: 44px;
  height: 48px;
  border: none;
  background: var(--bg);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--bg-secondary);
  color: var(--accent);
}

.qty-input {
  width: 60px;
  height: 48px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-add-cart {
  flex: 1;
  min-width: 180px;
  height: 48px;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
}

.btn-buy-now {
  min-width: 140px;
  height: 48px;
  background: var(--bg);
  color: var(--text-dark);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-buy-now:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.age-warning {
  font-size: 13px;
  color: var(--error);
  background: #fef2f2;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid #fecaca;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-lighter);
  font-weight: 500;
}

.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Tabs */
.product-tabs {
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.tab-btn {
  padding: 14px 24px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-lighter);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.tab-btn:hover {
  color: var(--text-dark);
}

.tab-btn.active {
  color: var(--accent);
  background: var(--bg);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.tab-content {
  display: none;
  padding: 28px;
}

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

/* Description */
.description-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.description-content p {
  margin-bottom: 16px;
}

.description-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 16px 0;
}

.description-content h2,
.description-content h3 {
  margin: 24px 0 12px;
  color: var(--text-dark);
}

.desc-empty {
  text-align: center;
  color: var(--text-lighter);
  padding: 40px 0;
}

/* Reviews */
.reviews-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.rating-summary {
  padding-right: 24px;
  border-right: 1px solid var(--border-light);
}

.rating-big {
  text-align: center;
  margin-bottom: 24px;
}

.rating-score {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stars-big {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.rating-count {
  font-size: 14px;
  color: var(--text-lighter);
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bar-star {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  min-width: 40px;
}

.bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.bar-count {
  font-size: 12px;
  color: var(--text-lighter);
  min-width: 24px;
  text-align: right;
}

/* Review List */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.reviewer-info {
  flex: 1;
}

.reviewer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-bottom: 2px;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-date {
  font-size: 12px;
  color: var(--text-lighter);
}

.review-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.review-body {
  font-size: 14px;
  color: var(--text-lighter);
  line-height: 1.7;
}

.review-reply {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.6;
  border-left: 3px solid var(--accent);
}

.reviews-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-lighter);
}

.reviews-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 16px 0 8px;
}

.reviews-empty p {
  font-size: 14px;
}

/* Specs */
.specs-grid {
  max-width: 600px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 14px;
  color: var(--text-lighter);
  font-weight: 500;
}

.spec-value {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
}

/* Similar Products */
.similar-products {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.similar-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.similar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.similar-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

.similar-link {
  display: block;
  flex: 1;
}

.similar-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.similar-info {
  padding: 14px;
}

.similar-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.similar-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.similar-current {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
}

.similar-original {
  font-size: 13px;
  color: var(--text-lighter);
  text-decoration: line-through;
}

.btn-add-similar {
  margin: 0 14px 14px;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  background: var(--accent-gradient);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  width: calc(100% - 28px);
}

.btn-add-similar:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .products-wrapper,
  .search-content {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
  
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  
  .checkout-summary {
    position: static;
  }
  
  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    min-width: auto;
    width: 100%;
  }
  
  .track-input-group {
    grid-template-columns: 1fr;
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .product-gallery {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .rating-summary {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }
  
  .search-container {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }
  
  header nav {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 30px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .page-header {
    padding: 28px 20px;
  }
  
  .page-title {
    font-size: 24px;
  }
  
  .products-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .checkout-form .row {
    grid-template-columns: 1fr;
  }
  
  .card-row {
    grid-template-columns: 1fr;
  }
  
  .banner-card {
    padding: 28px 20px;
  }
  
  .modal {
    padding: 28px 20px;
  }
  
  .product-detail-title {
    font-size: 22px;
  }
  
  .tab-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-btn {
    padding: 12px 16px;
    white-space: nowrap;
    font-size: 13px;
  }
  
  .tab-content {
    padding: 20px;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 12px;
  }
  
  .detail-actions {
    flex-direction: column;
  }
  
  .btn-add-cart,
  .btn-buy-now {
    width: 100%;
  }
  
  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .products-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }
  
  .similar-grid {
    grid-template-columns: 1fr;
  }
}
