@import 'tailwindcss';
@import 'tw-animate-css';

@custom-variant dark (&:is(.dark *));

:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.577 0.245 27.325);
  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --radius: 0.625rem;
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
  
  /* Custom colors for Ray-Ban theme */
  --gold: #D4AF37;
  --gold-light: #F4E4BC;
  --black: #000000;
  --white: #FFFFFF;
  --gray-light: #F8F9FA;
  --gray-dark: #343A40;
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(0.269 0 0);
  --sidebar-ring: oklch(0.439 0 0);
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
  }
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--black);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--black) 0%, #333 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-order {
  background: linear-gradient(135deg, var(--destructive) 0%, #dc3545 100%);
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.brand-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  text-transform: none;
  letter-spacing: 0.5px;
  margin: 0;
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-dot {
  font-size: 1.2rem;
  color: var(--black);
  font-weight: 400;
  margin: 0 0.2rem;
}



.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--gold);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--black);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--black);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.main-image-container {
  margin-bottom: 1rem;
}

.main-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.thumbnail-gallery {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.thumbnail-item {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.thumbnail-item:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-item.active {
  border-color: var(--gold);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-img {
  transform: scale(1.1);
}

.product-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

/* Product Details Section */
.product-details {
  padding: 60px 0;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.details-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.detail-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

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

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.detail-header:hover {
  background-color: var(--gray-light);
}

.detail-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-header i {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
}

.detail-header.active i {
  transform: rotate(180deg);
}

.detail-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0;
  overflow-y: auto; /* Add this line to enable vertical scrolling */
}

.detail-content.active {
  max-height: 500px; /* Adjust this value to control the visible height before scrolling */
  padding: 0 0 1.5rem 0;
}

.detail-content p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* Product Details Content Styles */
.product-details-content {
  padding: 2rem 0;
}

.model-code {
  margin-bottom: 2rem;
  text-align: center;
}

.model-code h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.detail-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-section {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

.detail-section:last-child {
  border-bottom: none;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-header i {
  font-size: 1.2rem;
  color: var(--gold);
  width: 20px;
}

.section-header h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.detail-label {
  font-weight: 600;
  color: var(--black);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.detail-value {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.size-guide-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.size-guide-link:hover {
  color: var(--black);
}

.product-description {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 1rem;
}

.product-description p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.product-description p:last-child {
  margin-bottom: 0;
}

/* Prescription Lenses Content Styles */
.prescription-content {
  padding: 2rem 0;
}

.prescription-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.intro-text h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.intro-text p {
  color: var(--muted-foreground);
  line-height: 1.8;
  font-size: 1rem;
}

.prescription-lens {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.performance-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.performance-section h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.performance-section > p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.performance-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.performance-features .feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.performance-features .feature-item:hover {
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
}

.performance-features .feature-item span {
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 0.9rem;
}

.light-protection-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.protection-lens {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.protection-content h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.protection-content > p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.protection-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.protection-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.protection-feature .feature-icon {
  width: 35px;
  height: 35px;
  font-size: 1rem;
}

.protection-feature span {
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 0.85rem;
}

.original-style-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.style-content h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.style-content > p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.style-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.style-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.style-feature .feature-icon {
  width: 35px;
  height: 35px;
  font-size: 1rem;
}

.style-feature span {
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 0.85rem;
}

.style-lens {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Insurance and Prescription Upload Content Styles */
.insurance-content {
  padding: 2rem 0;
}

.insurance-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.insurance-intro h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.insurance-intro p {
  color: var(--muted-foreground);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.insurance-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.insurance-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.insurance-feature:hover {
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.insurance-feature .feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.insurance-feature .feature-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.insurance-feature .feature-content p {
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.prescription-upload-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.prescription-upload-section h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  text-align: center;
}

.prescription-upload-section > p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1rem;
}

.upload-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.upload-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.upload-step:hover {
  border-color: var(--gold);
  box-shadow: 0 3px 15px rgba(212, 175, 55, 0.2);
}

.step-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

.upload-requirements {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius-lg);
}

.upload-requirements h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.format-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.format-item {
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid var(--border);
}

.support-section {
  text-align: center;
}

.support-section h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.support-section > p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.support-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.support-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  min-width: 120px;
  transition: all 0.3s ease;
}

.support-feature:hover {
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.support-feature i {
  font-size: 1.5rem;
  color: var(--gold);
}

.support-feature span {
  font-weight: 600;
  color: var(--black);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
}

/* Included Items Content Styles */
.included-items {
  display: flex;
  align-items: stretch;
  padding: 2rem 0;
  min-height: 200px;
}

.included-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
}

.included-divider {
  width: 1px;
  background: var(--border);
  margin: 0 1rem;
}

.item-icon {
  margin-bottom: 1rem;
}

.item-icon i {
  font-size: 3rem;
  color: var(--black);
  opacity: 0.8;
}

.item-image {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  opacity: 0.8;
}

.item-text {
  margin-bottom: 1.5rem;
}

.item-text span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.item-line {
  width: 100%;
  height: 1px;
  background: var(--border);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* Product Section */
.product {
  padding: 80px 0;
  background: var(--white);
}

.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.feature-item i {
  color: var(--gold);
  font-size: 1.25rem;
}

.lifestyle-image {
  max-width: 80%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
}

/* Order Form Section */
.order-form {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
}

.form-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-subtitle {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.order-form-container {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.payment-info {
  margin: 1.5rem 0;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--gold-light);
  color: var(--black);
  border-radius: var(--radius);
  font-weight: 600;
}

.payment-badge i {
  color: var(--gold);
}

/* Order Layout */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.form-side {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-info-side {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 2rem;
}

.product-summary {
  text-align: left;
}

.product-name h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.product-subtitle {
  color: var(--gray-dark);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.price-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius);
}

.original-price, .current-price, .savings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.original-price:last-child, .current-price:last-child, .savings:last-child {
  margin-bottom: 0;
}

.price-label, .savings-label {
  font-weight: 500;
  color: var(--gray-dark);
}

.old-price {
  text-decoration: line-through;
  color: var(--gray-dark);
  font-size: 1.1rem;
}

.new-price {
  color: var(--destructive);
  font-size: 1.5rem;
  font-weight: 700;
}

.savings-amount {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

.product-features {
  margin-bottom: 2rem;
}

.product-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--gray-light);
  border-radius: var(--radius);
}

.product-features .feature-item i {
  color: var(--gold);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.product-features .feature-item span {
  font-weight: 500;
  color: var(--black);
  font-size: 0.9rem;
}

.product-image-summary {
  text-align: center;
  margin-bottom: 2rem;
}

.summary-image {
  max-width: 200px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-order-summary {
  width: 100%;
  margin-top: 1rem;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: var(--white);
}

.reviews-divider {
  width: 100px;
  height: 2px;
  background: var(--border);
  margin: 0 auto 3rem auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--gray-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.reviewer-name {
  font-weight: 700;
  color: var(--black);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.stars {
  display: flex;
  gap: 0.2rem;
}

.stars i {
  color: #FFD700;
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  flex-grow: 1;
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.verified-badge i {
  color: #28a745;
  font-size: 1rem;
}

.verified-badge span {
  font-weight: 700;
  color: #28a745;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Trust Section */
.trust {
  padding: 60px 0;
  background: var(--gray-light);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.trust-badge {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-5px);
}

.trust-badge i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.trust-badge h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.trust-badge p {
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--gold);
}

.contact-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info i {
  color: var(--gold);
  width: 20px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: var(--white);
}

.whatsapp-link:hover {
  background: #25D366;
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: var(--muted-foreground);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-text,
.hero-image,
.product-text,
.product-image,
.review-card,
.trust-badge {
  animation: fadeInUp 0.8s ease-out;
}

/* Mobile Menu Styles */
.nav.active {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
  z-index: 999;
}

.nav.active .nav-list {
  flex-direction: column;
  gap: 1rem;
}

.nav.active .nav-link {
  font-size: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Header scroll effect */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-content,
  .product-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .thumbnail-gallery {
    gap: 0.4rem;
  }
  
  .thumbnail-item {
    width: 50px;
    height: 50px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .review-card {
    min-height: 180px;
    padding: 1rem;
  }
  
  .reviewer-name {
    font-size: 0.8rem;
  }
  
  .review-text {
    font-size: 0.85rem;
  }
  
  .trust-badges {
    grid-template-columns: 1fr;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .prescription-intro,
  .light-protection-section,
  .original-style-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .support-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .format-list {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .included-items {
    flex-direction: column;
    gap: 2rem;
  }
  
  .included-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
  
  .order-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-info-side {
    position: static;
    order: -1;
  }
  
  .header-cta {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .order-form-container {
    padding: 1.5rem;
  }
  
  .form-side, .product-info-side {
    padding: 1.5rem;
  }
  
  .price-section {
    padding: 1rem;
  }
  
  .product-features .feature-item {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .review-card {
    min-height: auto;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}
