/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1D5B86;
  --primary-light: #2c7eb4;
  --primary-dark: #123e5d;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --border-accent: rgba(29, 91, 134, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme alternative support */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-base: #0f172a;
    --bg-surface: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --border-accent: rgba(59, 130, 246, 0.25);
  }
}

/* Product Container Section */
.products-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.product-section {
  background-color: #ffffff);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-section:hover {
  box-shadow: var(--shadow-xl);
}

/* Grid Layout inside Product Card */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem;
}

@media (min-width: 992px) {
  .product-grid {
    grid-template-columns: 1.1fr 1.3fr;
    gap: 3.5rem;
  }
}

/* Image & Video Gallery Area */
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  width: 100%;
}

.main-image-viewport {
  width: 100%;
  aspect-ratio: 1;
  background-color: #f1f5f9;
  border-radius: var(--radius-md);
  border: 2px solid #2a777c;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.61) 0px 3px 8px;
}

body.dark-mode .main-image-viewport {
  background-color: #0f172a;
}

.main-image-viewport img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.main-image-viewport:hover img {
  transform: scale(1.03);
}
 
/* Thumbnail Strip */
.thumbnail-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.thumbnail {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Product Info (Right) */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--border-accent);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.product-title {
  font-size: 2.25rem;
  color: #0f172a;
  line-height: 1.2;
}

.brand-model-badge {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.brand-model-badge span strong {
  color: var(--text-main);
}


/* Specs & Details Grid */
.details-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.details-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  color: var(--primary);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
  }
}

.spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  font-size: 0.95rem;
}

.spec-name {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  font-weight: 600;
  color: var(--text-main);
}

/* Description paragraph */
.desc-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Features List styling */
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  list-style: none;
}

@media (min-width: 576px) {
  .features-list {
    grid-template-columns: 1fr 1fr;
  }
}

.features-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.features-list li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 800;
}







