:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

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

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

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

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

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

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

.btn--secondary:active {
  background: var(--color-secondary-active);
}

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

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #000000;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* Navigation Styles */
.navbar-primary {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.1em;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-switch, .search-btn {
    background: none;
    border: 1px solid #000000;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switch:hover, .search-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

.navbar-secondary {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 0;
}

.navbar-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #666666;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #000000;
    transition: width 0.3s ease;
}

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

.cart-btn {
    background: none;
    border: 1px solid #000000;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

.cart-count {
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Hero Slider Styles - Fixed */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background-color: #ffffff;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2) brightness(0.7);
    transition: transform 8s ease;
}

.slide.active .slide-image img {
    transform: scale(1.05);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 3rem 2rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 2rem;
    backdrop-filter: blur(5px);
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Fixed Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
}

.dot.active {
    background-color: #ffffff;
    transform: scale(1.1);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Products Section */
.our-products {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

.product-category {
    text-align: center;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #ffffff;
}

.product-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.category-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.product-category:hover .category-image img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.product-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-category p {
    color: #666666;
    font-size: 1rem;
}

/* About Us Section */
.about-us {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

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

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333333;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 5rem 0;
    background-color: #ffffff;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.mission, .vision {
    text-align: center;
    padding: 2rem;
}

.mission h2, .vision h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.mission p, .vision p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

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

.reason {
    text-align: center;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.reason-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
    border-radius: 50%;
}

.reason-icon i {
    font-size: 2rem;
    color: #000000;
}

.reason h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #000000;
}

.reason p {
    color: #666666;
    line-height: 1.6;
}

/* Factory Photos Section */
.factory-photos {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

.factory-photo {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.factory-photo:hover {
    transform: scale(1.02);
}

.factory-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Blog Section */
.our-blog {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

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

.blog-post {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.blog-post h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #000000;
}

.blog-date {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post p:last-child {
    color: #333333;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333333;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar-right {
        gap: 1rem;
    }
    
    .navbar-menu {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-slider {
        height: 60vh;
    }
    
    .slide-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-grid,
    .reasons-grid,
    .factory-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .category-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 50vh;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}


/* About Us Section - Updated */
.about-us {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    padding-right: 2rem;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.about-image:hover img {
    filter: grayscale(0%);
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        padding-right: 0;
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-image img {
        height: 300px;
    }
}


/* Mobile Navigation Styles */
.navbar-mobile-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid #000000;
    color: #000000;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1001;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #000000;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #000000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.close-sidebar:hover {
    background-color: #f0f0f0;
}

.sidebar-links {
    list-style: none;
    flex: 1;
    padding: 1rem 0;
}

.sidebar-links li {
    margin-bottom: 0;
}

.sidebar-links a {
    display: block;
    padding: 1rem 1.5rem;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-links a:hover {
    background-color: #f8f8f8;
    border-left-color: #000000;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid #000000;
    color: #000000;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
    justify-content: flex-start;
}

.sidebar-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .navbar-secondary {
        display: none;
    }
    
    .navbar-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .navbar-mobile-left {
        flex: 1;
    }
    
    .navbar-right {
        gap: 0.5rem;
    }
    
    .language-switch span {
        display: none;
    }
    
    .language-switch {
        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-btn, .cart-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background-color: #000000;
        color: #ffffff;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        font-weight: 600;
    }
    
    .cart-btn {
        position: relative;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) {
    .mobile-sidebar,
    .sidebar-overlay {
        display: none;
    }
}

/* Additional responsive adjustments */
@media (max-width: 480px) {
    .navbar-right {
        gap: 0.25rem;
    }
    
    .language-switch, .search-btn, .cart-btn, .mobile-menu-btn {
        width: 36px;
        height: 36px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .mobile-sidebar {
        width: 280px;
    }
}


/* Cart Page Styles */
.cart-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

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

.item-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.item-details p {
    color: #666666;
    margin-bottom: 0.5rem;
}

.item-price {
    font-weight: 600;
    color: #000000;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    background: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: #f0f0f0;
}

.quantity {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}

.item-total {
    font-weight: 600;
    font-size: 1.1rem;
    color: #000000;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #cc0000;
}

.cart-summary {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.summary-card {
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.summary-card h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.summary-row.total {
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: none;
    margin-bottom: 1.5rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 1rem;
}

.checkout-btn:hover {
    background-color: #333333;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.continue-shopping:hover {
    color: #666666;
}

/* Products Page Styles */
.products-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

.products-filter {
    display: flex;
    gap: 1rem;
}

.filter-select, .sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view, .add-to-cart {
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-view:hover, .add-to-cart:hover {
    background-color: #000000;
    color: #ffffff;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-price {
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-rating {
    color: #ffc107;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn.active, .page-btn:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Product Detail Page Styles */
.product-detail-section {
    padding: 3rem 0 5rem;
    background-color: #ffffff;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #666666;
}

.breadcrumb a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #000000;
}

.breadcrumb span {
    color: #000000;
    font-weight: 500;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f8f8;
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: #000000;
}

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

.product-info h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: #ffc107;
}

.review-count {
    color: #666666;
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
}

.original-price {
    font-size: 1.3rem;
    color: #666666;
    text-decoration: line-through;
}

.discount {
    background-color: #ff4444;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-description {
    color: #333333;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.color-options, .size-options {
    display: flex;
    gap: 0.5rem;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.color-option.active {
    border-color: #000000;
}

.size-option {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option.active, .size-option:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-selector .quantity-btn {
    width: 36px;
    height: 36px;
}

.quantity-selector .quantity {
    min-width: 50px;
    font-size: 1.1rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.add-to-cart-btn, .buy-now-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn {
    background-color: #000000;
    color: #ffffff;
}

.add-to-cart-btn:hover {
    background-color: #333333;
}

.buy-now-btn {
    background-color: transparent;
    color: #000000;
    border: 1px solid #000000;
}

.buy-now-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

.wishlist-btn {
    padding: 1rem;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background-color: #f0f0f0;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666666;
}

.meta-item i {
    color: #000000;
}

.product-tabs {
    border-top: 1px solid #e0e0e0;
    padding-top: 3rem;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn.active {
    border-bottom-color: #000000;
    color: #000000;
}

.tab-panel {
    display: none;
}

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

.tab-panel h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.tab-panel p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.tab-panel ul {
    margin-bottom: 1rem;
    padding-right: 1.5rem;
}

.tab-panel li {
    margin-bottom: 0.5rem;
}

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

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

.specs-table td {
    padding: 1rem 0.5rem;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 30%;
}

.review-summary {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.average-rating {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
}

.total-reviews {
    color: #666666;
    margin-top: 0.5rem;
}

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

.review-item {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
}

.reviewer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    margin-bottom: 0;
}

.review-rating {
    color: #ffc107;
}

.review-text {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-date {
    color: #666666;
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
    border-radius: 50%;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #000000;
}

.contact-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #666666;
    line-height: 1.6;
}

.contact-form-container {
    background-color: #f8f8f8;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.contact-form-container h3 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #000000;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #333333;
}

.map-section {
    margin-top: 3rem;
}

.map-section h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.map-placeholder {
    height: 400px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: #666666;
}

.map-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cccccc;
}

/* About Page Styles */
.about-page-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.about-hero-content p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #333333;
}

.about-hero-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

.story-image {
    border-radius: 8px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.values-section {
    margin-bottom: 5rem;
}

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

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
    border-radius: 50%;
}

.value-icon i {
    font-size: 2rem;
    color: #000000;
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.value-card p {
    color: #666666;
    line-height: 1.6;
}

.team-section {
    margin-bottom: 5rem;
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}

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

.team-member h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-role {
    color: #000000;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: #666666;
    line-height: 1.6;
}

.achievements-section {
    margin-bottom: 3rem;
}

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

.achievement {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.achievement:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.achievement-text {
    color: #666666;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-hero, .about-story {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .products-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .products-filter {
        width: 100%;
        flex-direction: column;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-areas: 
            "image details"
            "quantity total"
            "remove remove";
        gap: 1rem;
    }
    
    .item-image {
        grid-area: image;
        width: 80px;
        height: 80px;
    }
    
    .item-details {
        grid-area: details;
    }
    
    .item-quantity {
        grid-area: quantity;
    }
    
    .item-total {
        grid-area: total;
        text-align: left;
    }
    
    .remove-item {
        grid-area: remove;
        text-align: left;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: right;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .review-summary {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-content p {
        font-size: 1.1rem;
    }
    
    .values-grid, .team-grid, .achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* Slider Button Styles */
.slide-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.slide-btn:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .slide-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Cart Styles */
.cart-section {
    padding: 40px 0;
    min-height: 60vh;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 30px;
}

.cart-items {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.item-price {
    color: #e44d26;
    font-weight: bold;
    font-size: 14px;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #f5f5f5;
}

.quantity {
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.item-total {
    font-weight: bold;
    color: #333;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
}

.remove-item:hover {
    background: #ffeaea;
}

.cart-summary {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.summary-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.summary-card h3 {
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.summary-row.total {
    font-weight: bold;
    font-size: 18px;
    color: #e44d26;
    border-bottom: none;
    margin-top: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #e44d26;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px 0 10px;
}

.checkout-btn:hover {
    background: #d84315;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #666;
    text-decoration: none;
    padding: 10px;
}

.continue-shopping:hover {
    color: #e44d26;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-cart i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart h3 {
    color: #666;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #999;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
    }
    
    .item-quantity,
    .item-total,
    .remove-item {
        grid-column: 2;
        justify-self: start;
    }
    
    .item-image img {
        width: 60px;
        height: 60px;
    }
}

/* Checkout Page Styles */
.checkout-section {
    padding: 40px 0;
    min-height: 80vh;
}

.checkout-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.checkout-form {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

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

.form-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #333;
}

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

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #e44d26;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #e44d26;
}

.payment-method input[type="radio"] {
    margin: 0;
}

.order-summary {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.summary-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.summary-card h3 {
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.order-items {
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.item-name {
    font-weight: 500;
    margin-bottom: 2px;
    font-size: 14px;
}

.item-quantity {
    font-size: 12px;
    color: #666;
}

.item-price {
    font-weight: 500;
    font-size: 14px;
}

.summary-totals {
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.summary-row.total {
    font-weight: bold;
    font-size: 18px;
    color: #e44d26;
    border-bottom: none;
    margin-top: 10px;
}

.place-order-btn {
    width: 100%;
    padding: 15px;
    background: #e44d26;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.place-order-btn:hover {
    background: #d84315;
}

.order-success {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-success i {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
}

.order-success h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.order-success p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .order-items {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .checkout-form {
        padding: 20px;
    }
    
    .summary-card {
        padding: 20px;
    }
    
    .order-success {
        padding: 40px 15px;
    }
    
    .order-success i {
        font-size: 60px;
    }
    
    .order-success h3 {
        font-size: 1.5rem;
    }
}


/* تنسيق زر Quick View كرابط */
.product-overlay .quick-view {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.product-overlay .quick-view:hover {
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
}

/* جعل اسم المنتج قابلاً للنقر */
.product-info h3 a:hover {
    color: #666666;
}

/* إضافة هذه التعديلات في نهاية الملف style.css */

:root {
  /* تحديث الألوان الأساسية بناءً على الهوية البصرية */
  --color-primary-cream: #faecd4;
  --color-primary-burgundy: #78171e;
  
  /* ألوان ثانوية مشتقة من الألوان الأساسية */
  --color-cream-light: #fdf6e8;
  --color-cream-dark: #f5e2c0;
  --color-burgundy-light: #8c1d26;
  --color-burgundy-dark: #641219;
  
  /* تحديث الألوان الدلالية للوضع النهاري */
  --color-background: var(--color-primary-cream);
  --color-surface: var(--color-cream-light);
  --color-primary: var(--color-primary-burgundy);
  --color-primary-hover: var(--color-burgundy-light);
  --color-primary-active: var(--color-burgundy-dark);
  --color-text: #2c2c2c;
  --color-text-secondary: #5a5a5a;
  --color-btn-primary-text: var(--color-primary-cream);
}

/* تحديث الأنماط الرئيسية */
.navbar-primary,
.navbar-secondary {
    background-color: var(--color-primary-cream);
    border-bottom-color: var(--color-burgundy-light);
}

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

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

.nav-links a:hover {
    color: var(--color-burgundy-light);
}

.nav-links a::after {
    background-color: var(--color-primary-burgundy);
}

.language-switch, 
.search-btn, 
.cart-btn,
.mobile-menu-btn {
    border-color: var(--color-primary-burgundy);
    color: var(--color-primary-burgundy);
}

.language-switch:hover, 
.search-btn:hover, 
.cart-btn:hover,
.mobile-menu-btn:hover {
    background-color: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
}

/* تحديث أزرار السلايدر */
.slide-btn {
    background-color: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
    border-color: var(--color-primary-burgundy);
}

.slide-btn:hover {
    background-color: transparent;
    color: var(--color-primary-burgundy);
    border-color: var(--color-primary-burgundy);
}

/* تحديث أقسام المنتجات */
.product-category {
    border-color: var(--color-primary-cream);
    background-color: var(--color-surface);
}

.product-category:hover {
    border-color: var(--color-primary-burgundy);
}

.category-image {
    border-color: var(--color-primary-cream);
}

.product-category:hover .category-image {
    border-color: var(--color-primary-burgundy);
}

/* تحديث أزرار المنتجات */
.quick-view, 
.add-to-cart {
    background-color: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
}

.quick-view:hover, 
.add-to-cart:hover {
    background-color: var(--color-burgundy-light);
    color: var(--color-primary-cream);
}

/* تحديث أقسام المعلومات */
.about-us,
.why-choose,
.our-blog {
    background-color: var(--color-surface);
}

.mission-vision,
.factory-photos,
.our-products {
    background-color: var(--color-primary-cream);
}

/* تحديث الفوتر */
.footer {
    background-color: var(--color-primary-burgundy);
}

.footer-section h3,
.footer-section h4 {
    color: var(--color-primary-cream);
}

.footer-section ul li a:hover {
    color: var(--color-cream-light);
}

/* تحديث أزرار الشراء */
.add-to-cart-btn {
    background-color: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
}

.add-to-cart-btn:hover {
    background-color: var(--color-burgundy-light);
}

.buy-now-btn {
    border-color: var(--color-primary-burgundy);
    color: var(--color-primary-burgundy);
}

.buy-now-btn:hover {
    background-color: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
}

/* تحديث صفحة السلة والدفع */
.checkout-btn,
.place-order-btn {
    background-color: var(--color-primary-burgundy);
}

.checkout-btn:hover,
.place-order-btn:hover {
    background-color: var(--color-burgundy-light);
}

/* تحديث الحالة النشطة */
.dot.active {
    background-color: var(--color-primary-burgundy);
    border-color: var(--color-primary-burgundy);
}

.tab-btn.active {
    border-bottom-color: var(--color-primary-burgundy);
    color: var(--color-primary-burgundy);
}

.size-option.active, 
.size-option:hover {
    background-color: var(--color-primary-burgundy);
    border-color: var(--color-primary-burgundy);
}

.color-option.active {
    border-color: var(--color-primary-burgundy);
}

/* تحديث التصنيفات */
.status--success {
    background-color: rgba(120, 23, 30, 0.1);
    color: var(--color-primary-burgundy);
    border-color: rgba(120, 23, 30, 0.3);
}

/* تحديث الأيقونات */
.reason-icon,
.contact-icon,
.value-icon {
    border-color: var(--color-primary-burgundy);
}

.reason-icon i,
.contact-icon i,
.value-icon i {
    color: var(--color-primary-burgundy);
}

/* تحديث العناوين */
.section-title,
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary-burgundy);
}

/* تحديث الروابط */
a {
    color: var(--color-primary-burgundy);
}

a:hover {
    color: var(--color-burgundy-light);
}

/* تحديث المكونات الأساسية */
.btn--primary {
    background: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
}

.btn--primary:hover {
    background: var(--color-burgundy-light);
}

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

.form-control:focus {
    border-color: var(--color-primary-burgundy);
}

:focus-visible {
    outline-color: var(--color-primary-burgundy);
}

/* تحديث الكروت */
.card {
    border-color: rgba(120, 23, 30, 0.1);
}

.card:hover {
    border-color: rgba(120, 23, 30, 0.3);
}

/* وسائط الاستجابة - الحفاظ على التعديلات السابقة */
@media (max-width: 768px) {
    .navbar-primary,
    .navbar-secondary {
        background-color: var(--color-primary-cream);
    }
}

/* تحديث خاص للوضع الداكن إن أردت إضافته لاحقاً */
@media (prefers-color-scheme: dark) {
    [data-color-scheme="dark"] {
        --color-background: #1a1a1a;
        --color-surface: #2d2d2d;
        --color-text: #faecd4;
        --color-primary: #c44545;
        --color-primary-cream: #2d2d2d;
    }
}


/* تنسيق الشعار مع النص */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary-burgundy);
    margin: 0;
    line-height: 1;
}

/* تنسيق الاستجابة */
@media (max-width: 768px) {
    .logo a {
        gap: 8px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo a {
        gap: 6px;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
}

/* للتأكد من أن الشعار في القائمة الجانبية متسق */
.sidebar-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--color-primary-burgundy);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-part1 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary-burgundy);
}

.logo-part2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary-burgundy);
}

.mission-vision-icon {
    font-size: 2.5rem;
    color: #77181e;
    margin-bottom: 1rem;
}

.mission-vision-icon i {
    transition: transform 0.3s ease;
}

.mission:hover .mission-vision-icon i,
.vision:hover .mission-vision-icon i {
    transform: scale(1.1);
}

.factory-photo {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.factory-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.factory-photo:hover img {
    transform: scale(1.05);
}

.factory-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.factory-photo:hover .factory-photo-overlay {
    transform: translateY(0);
}

.factory-photo-overlay h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

.factory-photo-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}


/* Popular Products Section */
.popular-products {
    padding: 80px 0;
    background-color: var(--color-primary-cream);
}

.popular-products .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.popular-products .product-card {
    background: var(--color-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid var(--color-primary-cream);
}

.popular-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--color-primary-burgundy);
}

.popular-products .product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: var(--color-primary-cream);
}

.popular-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-products .product-card:hover .product-image img {
    transform: scale(1.05);
}

.popular-products .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(120, 23, 30, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popular-products .product-card:hover .product-overlay {
    opacity: 1;
}

.popular-products .quick-view,
.popular-products .add-to-cart {
    background: var(--color-primary-cream);
    color: var(--color-primary-burgundy);
    border: none;
    padding: 12px 24px;
    margin: 5px;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
}

.popular-products .quick-view:hover,
.popular-products .add-to-cart:hover {
    background: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
}

.popular-products .discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.popular-products .product-info {
    padding: 25px 20px;
}

.popular-products .product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--color-primary-burgundy);
    line-height: 1.4;
    font-weight: 600;
    min-height: 2.8em;
}

.popular-products .price-container {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.popular-products .product-price {
    font-weight: 600;
    color: var(--color-primary-burgundy);
    font-size: 1.1rem;
}

.popular-products .original-price {
    text-decoration: line-through;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
}

.popular-products .discounted-price {
    color: var(--color-primary-burgundy);
    font-weight: 700;
    font-size: 1.2rem;
}

.popular-products .product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popular-products .free-shipping {
    background: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.popular-products .visitor-counter {
    background: rgba(120, 23, 30, 0.1);
    color: var(--color-primary-burgundy);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(120, 23, 30, 0.2);
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    background: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary-burgundy);
    font-size: 1rem;
}

.view-all-btn:hover {
    background: transparent;
    color: var(--color-primary-burgundy);
    transform: translateY(-2px);
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-secondary);
}

.no-products p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design for Popular Products */
@media (max-width: 1024px) {
    .popular-products .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .popular-products {
        padding: 60px 0;
    }
    
    .popular-products .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .popular-products .product-image {
        height: 220px;
    }
    
    .popular-products .product-info {
        padding: 20px 15px;
    }
    
    .popular-products .product-info h3 {
        font-size: 1rem;
    }
    
    .view-all-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .popular-products .products-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-products .product-image {
        height: 200px;
    }
    
    .popular-products .quick-view,
    .popular-products .add-to-cart {
        padding: 10px 20px;
        font-size: 0.8rem;
        min-width: 120px;
    }
}

/* Animation for cart notification */
.cart-notification {
    position: fixed;
    top: 120px;
    right: 20px;
    background-color: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    z-index: 1000;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s;
    font-weight: 500;
}

.cart-notification.success {
    background-color: var(--color-primary-burgundy);
}

.cart-notification.error {
    background-color: #dc3545;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* في قسم Popular Products */
.popular-products .product-image {
    height: 400px; /* زيادة الارتفاع */
    background-color: var(--color-primary-cream);
}

.popular-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* الحفاظ على نسب الصورة */
    transition: transform 0.3s ease;
}
/* في قسم Products Grid */
.products-grid .product-image {
    height: 280px; /* زيادة الارتفاع */
    position: relative;
    overflow: hidden;
}

.products-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* الحفاظ على نسب الصورة */
    transition: transform 0.3s ease;
}
/* في قسم Our Products - الفئات */
.product-category .category-image {
    width: 220px; /* زيادة العرض */
    height: 220px; /* زيادة الارتفاع */
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid var(--color-primary-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-surface);
    transition: border-color 0.3s ease;
}

.product-category:hover .category-image {
    border-color: var(--color-primary-burgundy);
}

.product-category .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* الحفاظ على نسب الصورة */
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}
/* تحسينات للشاشات المتوسطة */
@media (max-width: 1024px) {
    .popular-products .product-image,
    .products-grid .product-image {
        height: 250px;
    }
    
    .product-category .category-image {
        width: 200px;
        height: 200px;
    }
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .popular-products .product-image,
    .products-grid .product-image {
        height: 220px;
    }
    
    .product-category .category-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .popular-products .product-image,
    .products-grid .product-image {
        height: 200px;
    }
    
    .product-category .category-image {
        width: 160px;
        height: 160px;
    }
}

/* Mobile Responsive Styles for Product Detail Page */
@media (max-width: 768px) {
  .product-detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-gallery {
    order: 1;
  }
  
  .product-info {
    order: 2;
  }
  
  .main-image img {
    height: 300px;
  }
  
  .thumbnail-images {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .product-info h1 {
    font-size: 1.8rem;
  }
  
  .product-price {
    flex-wrap: wrap;
  }
  
  .current-price {
    font-size: 1.5rem;
  }
  
  .product-options {
    gap: 1rem;
  }
  
  .option-group label {
    font-size: 0.9rem;
  }
  
  .color-options, .size-options {
    flex-wrap: wrap;
  }
  
  .product-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .add-to-cart-btn, .buy-now-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .wishlist-btn {
    align-self: center;
    width: 50px;
  }
  
  .tabs-header {
    flex-direction: column;
  }
  
  .tab-btn {
    text-align: right;
    border-bottom: 1px solid #e0e0e0;
    border-left: none;
    width: 100%;
  }
  
  .tab-btn.active {
    border-bottom-color: var(--color-primary-burgundy);
    border-left: none;
  }
  
  .review-summary {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .specs-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .specs-table td:first-child {
    width: 40%;
  }
  
  .related-products .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .breadcrumb {
    font-size: 0.9rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .product-detail-section {
    padding: 2rem 0 3rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .main-image img {
    height: 250px;
  }
  
  .product-info h1 {
    font-size: 1.5rem;
  }
  
  .current-price {
    font-size: 1.3rem;
  }
  
  .thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .quantity-selector .quantity-btn {
    width: 32px;
    height: 32px;
  }
  
  .product-meta {
    font-size: 0.9rem;
  }
  
  .meta-item {
    gap: 0.3rem;
  }
  
  .reviews-list {
    gap: 1rem;
  }
  
  .review-item {
    padding: 1rem;
  }
}


/* Mobile Utility Classes */
.mobile-hidden {
  display: none;
}

.mobile-only {
  display: block;
}

@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-hidden {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
}

/* تحسينات للعرض الأفقي على الموبايل */
@media (max-width: 768px) and (orientation: landscape) {
  .product-detail-content {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .main-image img {
    height: 200px;
  }
}

/* إصلاح مشاكل التحميل على الموبايل */
.product-detail-section {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 100%;
    overflow: hidden;
}

/* منع التغيير المفاجئ في التنسيق */
.product-detail-content,
.product-gallery,
.product-info {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* إصلاح مشاكل الصور */
.product-gallery img,
.thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        position: relative;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .product-detail-content {
        display: block !important;
    }
    
    .product-gallery,
    .product-info {
        width: 100% !important;
        float: none !important;
    }
    
    /* إصلاح مشكلة التمرير الأفقي */
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* تثبيت النافبار في الأعلى للجوال */
@media (max-width: 768px) {
    .fixed-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: var(--color-primary-cream);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-primary.fixed-header {
        top: 0;
    }
    
    .navbar-secondary.fixed-header {
        top: 70px; /* ارتفاع النافبار الأول */
    }
    
    /* إضافة مساحة للمحتوى حتى لا يختفي خلف النافبار الثابت */
    body {
        padding-top: 120px; /* ارتفاع النافبار الأول + الثاني */
    }
    
    /* تحسين مظهر النافبار الثابت */
    .navbar-primary.fixed-header {
        border-bottom: 2px solid var(--color-primary-burgundy);
    }
    
    .navbar-secondary.fixed-header {
        border-bottom: 1px solid var(--color-burgundy-light);
    }
    
    /* تحسينات إضافية للتأكد من عدم وجود مشاكل في التمرير */
    .navbar-primary.fixed-header,
    .navbar-secondary.fixed-header {
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    /* إصلاح أي مشاكل في العرض */
    .navbar-content {
        padding: 5px 0;
    }
    
    .navbar-primary .container,
    .navbar-secondary .container {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

/* تحسينات للشاشات الصغيرة جدًا */
@media (max-width: 480px) {
    .navbar-secondary.fixed-header {
        top: 60px; /* تقليل الارتفاع قليلاً للشاشات الصغيرة */
    }
    
    body {
        padding-top: 0px; /* تعديل المساحة المضافة */
    }
    
    .navbar-primary.fixed-header,
    .navbar-secondary.fixed-header {
        padding: 0;
    }
}

/* تحسينات للعرض الأفقي على الموبايل */
@media (max-width: 768px) and (orientation: landscape) {
    .navbar-secondary.fixed-header {
        top: 50px; /* تقليل الارتفاع في الوضع الأفقي */
    }
    
    body {
        padding-top: 90px; /* تقليل المساحة في الوضع الأفقي */
    }
}

/* تأثيرات سلسة عند التمرير */
.navbar-primary.fixed-header,
.navbar-secondary.fixed-header {
    transition: all 0.3s ease;
}

/* إصلاح أي مشاكل في z-index */
.navbar-primary.fixed-header {
    z-index: 1002;
}

.navbar-secondary.fixed-header {
    z-index: 1001;
}

.mobile-sidebar {
    z-index: 1003;
}

.sidebar-overlay {
    z-index: 1002;
}
/* تحسين أداء الصور على الموبايل */
@media (max-width: 480px) {
    .product-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* تحميل سريع للصور */
    .product-image {
        background-color: #f8f8f8;
        background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                          linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                          linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                          linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
        background-size: 20px 20px;
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    }
}
/* تحسينات خاصة بصفحة المنتجات على الموبايل */
@media (max-width: 480px) {
    .products-section .product-image {
        height: 270px; /* ارتفاع مناسب لصفحة المنتجات */
        min-height: 270px;
    }
    
    .products-section .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* تحسين مساحة الـ overlay على الموبايل */
    .product-overlay {
        padding: 15px;
    }
    
    .product-overlay .quick-view,
    .product-overlay .add-to-cart {
        padding: 10px 15px;
        font-size: 0.85rem;
        min-width: 120px;
    }
}
/* تحسينات خاصة بالصفحة الرئيسية على الموبايل */
@media (max-width: 480px) {
    .popular-products .product-image {
        height: 280px; /* ارتفاع أكبر للمنتجات الشائعة */
        min-height: 280px;
    }
    
    .popular-products .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .popular-products .product-card {
        margin-bottom: 10px;
    }
}
/* إضافة نسب ثابتة للصور لتحسين المظهر */
.popular-products .product-image,
.products-grid .product-image {
    aspect-ratio: 3/4; /* نسبة عرض إلى ارتفاع مناسبة للأزياء */
    height: auto; /* جعل الارتفاع تلقائي بناءً على النسبة */
}

.products-grid .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-grid .product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.products-grid .product-info h3 {
    flex-grow: 1;
}
/* تحسينات للهواتف - زيادة الارتفاع */
@media (max-width: 480px) {
    .popular-products .product-image,
    .products-grid .product-image {
        height: 260px; /* زيادة كبيرة في الارتفاع للموبايل */
        min-height: 260px;
    }
    
    .product-category .category-image {
        width: 180px;
        height: 180px;
    }
    
    /* تحسين الصور في السلايدر على الموبايل */
    .hero-slider {
        height: 60vh; /* تقليل ارتفاع السلايدر قليلاً */
    }
    
    .slide-image img {
        object-position: center 30%; /* تعديل موضع الصورة لتركيز على المنتج */
    }
    
    /* تحسين صور الفئات على الموبايل */
    .our-products .category-image {
        width: 160px;
        height: 160px;
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 380px) {
    .popular-products .product-image,
    .products-grid .product-image {
        height: 240px;
        min-height: 240px;
    }
    
    .product-category .category-image {
        width: 150px;
        height: 150px;
    }
}
/* تحسينات للشاشات المتوسطة */
@media (max-width: 1024px) {
    .popular-products .product-image,
    .products-grid .product-image {
        height: 250px;
    }
    
    .product-category .category-image {
        width: 200px;
        height: 200px;
    }
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .popular-products .product-image,
    .products-grid .product-image {
        height: 220px;
    }
    
    .product-category .category-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .popular-products .product-image,
    .products-grid .product-image {
        height: 200px;
    }
    
    .product-category .category-image {
        width: 160px;
        height: 160px;
    }
}
/* في قسم Our Products - الفئات */
.product-category .category-image {
    width: 220px; /* زيادة العرض */
    height: 220px; /* زيادة الارتفاع */
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid var(--color-primary-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-surface);
    transition: border-color 0.3s ease;
}

.product-category:hover .category-image {
    border-color: var(--color-primary-burgundy);
}

.product-category .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* الحفاظ على نسب الصورة */
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}
/* في قسم Products Grid */
.products-grid .product-image {
    height: 280px; /* زيادة الارتفاع */
    position: relative;
    overflow: hidden;
}

.products-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* الحفاظ على نسب الصورة */
    transition: transform 0.3s ease;
}
/* في قسم Popular Products */
.popular-products .product-image {
    height: 400px; /* زيادة الارتفاع */
    background-color: var(--color-primary-cream);
}

.popular-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* الحفاظ على نسب الصورة */
    transition: transform 0.3s ease;
}

/* تحسينات صفحة Contact */
.contact-section {
    padding: 5rem 0;
    background-color: var(--color-surface);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--color-card-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--color-surface);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-burgundy);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-primary-burgundy);
    border-radius: 50%;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--color-primary-burgundy);
}

.contact-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--color-primary-burgundy);
}

.contact-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.contact-form-container {
    background-color: var(--color-surface);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-card-border);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-container h3 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-primary-burgundy);
}

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background-color: var(--color-surface);
    color: var(--color-text);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--color-burgundy-light);
}

.map-section {
    margin-top: 3rem;
}

.map-section h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-primary-burgundy);
}

.map-placeholder {
    height: 400px;
    background-color: var(--color-surface);
    border-radius: 8px;
    border: 1px solid var(--color-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: var(--color-text-secondary);
}

.map-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-border);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .map-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
    }
}

/* تنسيقات قسم إضافة التقييم */
.add-review-section {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.add-review-section h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.review-form .form-group {
    margin-bottom: 1.5rem;
}

.review-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* تنسيقات النجوم */
.rating-input {
    margin-bottom: 1rem;
}

.rating-input .stars {
    display: flex;
    gap: 5px;
    margin-bottom: 0.5rem;
}

.rating-input .star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-input .star:hover,
.rating-input .star.active {
    color: #f39c12;
}

.rating-input .star.active ~ .star {
    color: #ddd;
}

.rating-text {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.submit-review-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-review-btn:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.submit-review-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* تنسيقات الاستجابة للجوال */
@media (max-width: 768px) {
    .add-review-section {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .rating-input .star {
        font-size: 1.5rem;
    }
    
    .submit-review-btn {
        width: 100%;
        justify-content: center;
    }
}

/* رسائل التنبيه */
.review-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.review-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.review-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Reviews Section Styling */
.reviews-container {
    margin-bottom: 3rem;
}

.review-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-avatar .avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-left: 1rem;
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-weight: 600;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-rating {
    margin-bottom: 1rem;
}

.review-rating .fas.fa-star {
    color: #f39c12;
}

.review-rating .far.fa-star {
    color: #ddd;
}

.rating-value {
    margin-right: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.review-content {
    color: #495057;
    line-height: 1.6;
}

.review-text {
    margin: 0 0 1rem 0;
    white-space: pre-line;
}

.admin-reply {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-right: 4px solid #3498db;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.reply-header i {
    color: #3498db;
}

.reply-text {
    margin: 0;
    color: #495057;
    white-space: pre-line;
}

.no-reviews {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.no-reviews-icon {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-reviews p {
    margin: 0;
    font-size: 1.1rem;
}

/* Add Review Form Styling */
.add-review-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.add-review-section h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.review-form .form-group {
    margin-bottom: 1.5rem;
}

.review-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Star Rating Styling */
.rating-input {
    margin-bottom: 1rem;
}

.rating-input .stars {
    display: flex;
    gap: 5px;
    margin-bottom: 0.5rem;
}

.rating-input .star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-input .star:hover,
.rating-input .star.active {
    color: #f39c12;
}

.rating-input .star.active ~ .star {
    color: #ddd;
}

.rating-text {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.submit-review-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-review-btn:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.submit-review-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Notification Messages */
.review-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.review-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.review-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .add-review-section {
        padding: 1rem;
    }
    
    .rating-input .star {
        font-size: 1.5rem;
    }
    
    .submit-review-btn {
        width: 100%;
        justify-content: center;
    }
    
    .reviewer-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .reviewer-avatar .avatar-circle {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
}

/* Social Media Links - بدون تغيير ألوان الفوتر */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    transform: translateY(-3px);
    background: #3498db;
    border-color: #3498db;
}

.social-link i {
    font-size: 1.1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-link:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-link i {
    font-size: 1.8rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Design for Social Icons */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-link i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
}


/* Search Results Improvements */
.results-count {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ecf0f1;
}

.result-category {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.category-badge, .gender-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.category-badge {
    background: #e8f4fd;
    color: #2980b9;
    border: 1px solid #3498db;
}

.gender-badge {
    background: #f9ebea;
    color: #c0392b;
    border: 1px solid #e74c3c;
}

.result-price .discounted {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1rem;
}

.result-price .original {
    color: #95a5a6;
    text-decoration: line-through;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .result-item {
        padding: 0.75rem;
    }
    
    .result-item img {
        width: 50px;
        height: 50px;
    }
    
    .result-name {
        font-size: 0.9rem;
    }
    
    .result-category {
        flex-direction: column;
        gap: 0.25rem;
    }
}


/* Reviews Sidebar Styles */
.reviews-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background-color: var(--color-surface);
    z-index: 1004;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    border-left: 3px solid var(--color-primary-burgundy);
}

.reviews-sidebar.active {
    right: 0;
}

.reviews-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-card-border);
    background-color: var(--color-primary-cream);
}

.reviews-sidebar-header h3 {
    margin: 0;
    color: var(--color-primary-burgundy);
    font-size: 1.3rem;
    font-weight: 600;
}

.close-reviews-sidebar {
    background: none;
    border: none;
    color: var(--color-primary-burgundy);
    font-size: 1.2rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-reviews-sidebar:hover {
    background-color: rgba(120, 23, 30, 0.1);
}

.reviews-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.reviews-stats {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-card-border);
}

.average-rating {
    text-align: center;
}

.rating-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-burgundy);
}

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

.rating-stars .stars i {
    color: #f39c12;
    font-size: 1.2rem;
}

.total-reviews {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item-sidebar {
    background: var(--color-background);
    border: 1px solid var(--color-card-border);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.review-item-sidebar:hover {
    border-color: var(--color-primary-burgundy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reviewer-info-sidebar {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.reviewer-avatar-sidebar .avatar-circle-sidebar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-burgundy), var(--color-burgundy-light));
    color: var(--color-primary-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.reviewer-details-sidebar {
    flex: 1;
}

.reviewer-name-sidebar {
    margin: 0 0 0.25rem 0;
    color: var(--color-primary-burgundy);
    font-weight: 600;
    font-size: 0.95rem;
}

.review-rating-sidebar .stars {
    display: flex;
    gap: 0.1rem;
}

.review-rating-sidebar .stars i {
    color: #f39c12;
    font-size: 0.8rem;
}

.review-content-sidebar {
    margin-bottom: 1rem;
}

.review-text-sidebar {
    margin: 0 0 0.75rem 0;
    color: var(--color-text);
    line-height: 1.5;
    font-size: 0.9rem;
}

.review-date-sidebar {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
}

.admin-reply-sidebar {
    background: rgba(120, 23, 30, 0.05);
    border: 1px solid rgba(120, 23, 30, 0.1);
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    border-right: 3px solid var(--color-primary-burgundy);
}

.reply-header-sidebar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-burgundy);
    font-weight: 600;
    font-size: 0.85rem;
}

.reply-header-sidebar i {
    font-size: 0.8rem;
}

.reply-text-sidebar {
    margin: 0;
    color: var(--color-text);
    font-size: 0.85rem;
    line-height: 1.4;
}

.no-reviews-sidebar {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--color-text-secondary);
}

.no-reviews-icon-sidebar {
    font-size: 2.5rem;
    color: var(--color-border);
    margin-bottom: 1rem;
}

.no-reviews-sidebar p {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.no-reviews-text-sidebar {
    font-size: 0.9rem !important;
    color: var(--color-text-secondary);
}

.reviews-sidebar-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-card-border);
    margin-top: 1rem;
}

.view-all-reviews-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary-burgundy);
    width: 100%;
    text-align: center;
}

.view-all-reviews-btn:hover {
    background: transparent;
    color: var(--color-primary-burgundy);
    transform: translateY(-2px);
}

.reviews-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1003;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reviews-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Floating Reviews Button */
.floating-reviews-btn {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1002;
    background: var(--color-primary-burgundy);
    color: var(--color-primary-cream);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(120, 23, 30, 0.3);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.floating-reviews-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(120, 23, 30, 0.4);
    background: var(--color-burgundy-light);
}

.reviews-btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.reviews-btn-content i {
    font-size: 1.1rem;
}

.reviews-btn-text {
    font-size: 0.9rem;
}

.reviews-count-bubble {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-primary-cream);
    color: var(--color-primary-burgundy);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid var(--color-primary-burgundy);
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-sidebar {
        width: 320px;
        right: -320px;
    }
    
    .floating-reviews-btn {
        right: 15px;
        padding: 0.6rem 0.8rem;
        transform: rotate(-90deg);
    }
    
    .reviews-btn-text {
        display: ;
    }
    
    .reviews-btn-content {
        gap: 0;
    }
    
    .reviews-count-bubble {
        top: -5px;
        right: -5px;
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .reviews-sidebar {
        width: 280px;
        right: -280px;
    }
    
    .reviews-sidebar-content {
        padding: 1rem;
    }
    
    .review-item-sidebar {
        padding: 1rem;
    }
    
    .floating-reviews-btn {
        right: 10px;
        padding: 0.5rem;
    }
    
    .reviews-btn-content i {
        font-size: 1rem;
    }
}





