@charset "UTF-8";

/*
Theme: Diacoparvaz Glassmorphism
Company: Diacoparvaz.ir - Logistics & Freight
Style: Glassmorphism + Navy Blue + Matte Gold
Version: 2.0
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */

:root {
  /* Light mode is the DEFAULT (matches the original site).
     `[data-theme="dark"]` overrides these to dark. */

  /* Palette - Light Neutrals (default) */
  --navy-900: #F0F2F5;
  --navy-800: #FFFFFF;
  --navy-700: #E8ECF1;
  --navy-600: #D1D9E6;
  --navy-500: #B8C4D4;
  --navy-400: #8FA3B8;
  --navy-300: #6B8299;

  /* Matte Gold Palette */
  --gold-600: #8B7318;
  --gold-500: #B8960C;
  --gold-400: #C4A35A;
  --gold-300: #D4AF37;
  --gold-200: #E8D5A3;
  --gold-100: #F5EDD6;

  /* Glass Properties (light) */
  --glass-bg: rgba(10, 22, 40, 0.05);
  --glass-bg-hover: rgba(10, 22, 40, 0.09);
  --glass-bg-active: rgba(10, 22, 40, 0.12);
  --glass-border: rgba(10, 22, 40, 0.08);
  --glass-border-hover: rgba(10, 22, 40, 0.15);
  --glass-blur: 16px;
  --glass-blur-heavy: 24px;

  /* Text Colors (light) */
  --text-primary: #0A1628;
  --text-secondary: #1B2D4F;
  --text-muted: #5A6B80;
  --text-gold: var(--gold-400);

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows (light) */
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 4px 20px rgba(196, 163, 90, 0.12);
  --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.10);
}

/* ============================================================
   LIGHT MODE OVERRIDES
   ============================================================ */

[data-theme="light"] {
  --navy-900: #F0F2F5;
  --navy-800: #FFFFFF;
  --navy-700: #E8ECF1;
  --navy-600: #D1D9E6;
  --navy-500: #B8C4D4;
  --navy-400: #8FA3B8;
  --navy-300: #6B8299;
  --glass-bg: rgba(10,22,40,0.05);
  --glass-bg-hover: rgba(10,22,40,0.09);
  --glass-bg-active: rgba(10,22,40,0.12);
  --glass-border: rgba(10,22,40,0.08);
  --glass-border-hover: rgba(10,22,40,0.15);
  --text-primary: #0A1628;
  --text-secondary: #1B2D4F;
  --text-muted: #5A6B80;
  --shadow-glass: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-gold: 0 4px 20px rgba(196,163,90,0.12);
  --shadow-elevated: 0 16px 48px rgba(0,0,0,0.10);
}

[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(196,163,90,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(27,45,79,0.06) 0%, transparent 50%),
    var(--navy-900);
}

[data-theme="light"] .modern-header-top,
[data-theme="light"] .header-top {
  background: rgba(255,255,255,0.92);
  border-bottom-color: rgba(10,22,40,0.08);
}

[data-theme="light"] .modern-header-contact-item,
[data-theme="light"] .contact-item { color: var(--text-muted); }
[data-theme="light"] .modern-header-contact-item i.fa,
[data-theme="light"] .contact-item i { color: var(--gold-500); }

[data-theme="light"] .modern-header-mobile {
  background: rgba(255,255,255,0.95);
  border-bottom-color: rgba(10,22,40,0.08);
}

[data-theme="light"] .offcanvas-sidebar {
  background: rgba(255,255,255,0.98);
  border-left-color: rgba(10,22,40,0.08);
}

[data-theme="light"] .offcanvas-nav-link {
  background: rgba(10,22,40,0.03);
  color: var(--text-secondary);
  border-bottom-color: rgba(10,22,40,0.05);
}

[data-theme="light"] .offcanvas-nav-link:hover,
[data-theme="light"] .offcanvas-nav-item.active > .offcanvas-nav-link {
  color: var(--gold-500);
  background: rgba(196,163,90,0.06);
}

[data-theme="light"] .modern-footer {
  background: rgba(240,242,245,0.96);
  border-top-color: rgba(10,22,40,0.08);
}

[data-theme="light"] .modern-footer::before {
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

[data-theme="light"] .modern-footer-posts-title,
[data-theme="light"] .modern-footer-menu-title,
[data-theme="light"] .modern-footer-subscription-title {
  color: var(--text-primary);
  border-bottom-color: rgba(10,22,40,0.08);
}

[data-theme="light"] .modern-footer-about-description,
[data-theme="light"] .modern-copyright-text,
[data-theme="light"] .modern-footer-posts-item-date {
  color: var(--text-muted);
}

[data-theme="light"] .modern-footer-posts-item-link,
[data-theme="light"] .modern-footer-menu-link {
  color: var(--text-secondary);
}

[data-theme="light"] .modern-footer-posts-item-link:hover,
[data-theme="light"] .modern-footer-menu-link:hover {
  color: var(--gold-500);
}

[data-theme="light"] .copyright-bar,
[data-theme="light"] .modern-copyright {
  border-top-color: rgba(10,22,40,0.06);
}

[data-theme="light"] .footer-title,
[data-theme="light"] .footer-about-text,
[data-theme="light"] .copyright-text { color: var(--text-muted); }

[data-theme="light"] .footer-social-link {
  background: rgba(10,22,40,0.05);
  border-color: rgba(10,22,40,0.08);
  color: var(--text-muted);
}

[data-theme="light"] .page-title { color: var(--text-primary); }
[data-theme="light"] .form-control {
  background: rgba(10,22,40,0.04);
  border-color: rgba(10,22,40,0.10);
  color: var(--text-secondary);
}
[data-theme="light"] .form-control:focus {
  background: rgba(10,22,40,0.06);
  border-color: var(--gold-400);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(196,163,90,0.1);
}

[data-theme="light"] .glass-card,
[data-theme="light"] .glass-panel {
  background: rgba(10,22,40,0.04);
  border-color: rgba(10,22,40,0.08);
}

[data-theme="light"] .glass-card:hover {
  background: rgba(10,22,40,0.07);
  border-color: var(--gold-400);
}

/* ============================================================
   DARK MODE — Claymorphism Variable Overrides
   ============================================================ */

[data-theme="dark"] {
  /* Override the core design tokens so every component that uses them
     (text, glass surfaces, buttons, loading screen) is correct in dark. */
  --navy-900: #060D18;
  --navy-800: #0D1F3C;
  --navy-700: #13253F;
  --navy-600: #1B2D4F;
  --navy-500: #243B5E;
  --navy-400: #3A5378;
  --navy-300: #6B8299;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.10);
  --glass-bg-active: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-hover: rgba(255, 255, 255, 0.20);
  --text-primary: #FFFFFF;
  --text-secondary: #E8E6E1;
  --text-muted: #8896A8;
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 4px 20px rgba(196, 163, 90, 0.25);
  --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.5);

  --color-primary-dark: #060D18;
  --color-primary: #0D1F3C;
  --color-primary-light: #1B2D4F;
  --color-primary-lighter: #243B5E;
  --color-surface: #0A1628;
  --color-surface-light: #0D1F3C;
  --color-white: rgba(13, 31, 60, 0.6);
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #C8D0DC;
  --color-text-muted: #8896A8;
  --color-border: rgba(255, 255, 255, 0.08);
  --shadow-clay: 8px 8px 16px rgba(0, 0, 0, 0.4), -8px -8px 16px rgba(27, 45, 79, 0.15);
  --shadow-clay-sm: 4px 4px 8px rgba(0, 0, 0, 0.3), -4px -4px 8px rgba(27, 45, 79, 0.1);
  --shadow-clay-lg: 12px 12px 24px rgba(0, 0, 0, 0.5), -12px -12px 24px rgba(27, 45, 79, 0.12);
  --shadow-clay-inset: inset 4px 4px 8px rgba(0, 0, 0, 0.3), inset -4px -4px 8px rgba(27, 45, 79, 0.08);
  --shadow-clay-inset-sm: inset 2px 2px 4px rgba(0, 0, 0, 0.2), inset -2px -2px 4px rgba(27, 45, 79, 0.06);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body {
  background: #060D18;
  color: #E8E6E1;
}

[data-theme="dark"] body::before {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(196, 163, 90, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(27, 45, 79, 0.4) 0%, transparent 50%),
    #060D18;
}

[data-theme="dark"] a { color: #D4AF37; }
[data-theme="dark"] a:hover { color: #E8D5A3; }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 { color: #FFFFFF; }

/* Dark Header */
[data-theme="dark"] .modern-header-top {
  background: rgba(6, 13, 24, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .modern-header-main {
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .modern-header-contact-item { color: rgba(255, 255, 255, 0.7); }
[data-theme="dark"] .modern-header-contact-item i.fa { color: #C4A35A; }

[data-theme="dark"] .offcanvas-sidebar {
  background: rgba(6, 13, 24, 0.98);
}

[data-theme="dark"] .offcanvas-nav-link {
  background: rgba(255, 255, 255, 0.04);
  color: #E8E6E1;
}

[data-theme="dark"] .offcanvas-nav-link:hover,
[data-theme="dark"] .offcanvas-nav-item.active > .offcanvas-nav-link {
  background: rgba(196, 163, 90, 0.1);
  color: #D4AF37;
}

/* Dark Cards */
[data-theme="dark"] .clay-card,
[data-theme="dark"] .clay-card-flat {
  background: rgba(13, 31, 60, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .clay-card-inset {
  background: rgba(10, 22, 40, 0.4);
  box-shadow: var(--shadow-clay-inset);
}

[data-theme="dark"] .clay-icon {
  background: rgba(196, 163, 90, 0.12);
  border: 1px solid rgba(196, 163, 90, 0.2);
}

[data-theme="dark"] .clay-icon-primary {
  background: rgba(10, 22, 40, 0.6);
}

[data-theme="dark"] .clay-badge { background: rgba(196, 163, 90, 0.15); color: #D4AF37; }
[data-theme="dark"] .clay-badge-dark { background: rgba(10, 22, 40, 0.8); }

/* Dark Inputs */
[data-theme="dark"] .clay-input,
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select,
[data-theme="dark"] .form-control {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #E8E6E1;
}

[data-theme="dark"] .clay-input:focus,
[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] .form-control:focus {
  border-color: #C4A35A;
  box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.15);
}

[data-theme="dark"] .clay-input::placeholder,
[data-theme="dark"] input::placeholder { color: #8896A8; }

/* Dark Buttons */
[data-theme="dark"] .clay-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #E8E6E1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .clay-btn-secondary:hover {
  color: #D4AF37;
  border-color: #C4A35A;
}

/* Dark Info Boxes / Service Cards */
[data-theme="dark"] .modern-info-box {
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .modern-info-box-title { color: #FFFFFF; }
[data-theme="dark"] .modern-info-box-description { color: #C8D0DC; }

[data-theme="dark"] .service-card {
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .service-card-title { color: #FFFFFF; }
[data-theme="dark"] .service-card-description { color: #C8D0DC; }

[data-theme="dark"] .service-card-icon {
  background: rgba(196, 163, 90, 0.12);
}

/* Dark Features */
[data-theme="dark"] .modern-features-item {
  background: rgba(13, 31, 60, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .modern-features-item:hover {
  background: rgba(13, 31, 60, 0.6);
}

[data-theme="dark"] .modern-features-item-title { color: #FFFFFF; }
[data-theme="dark"] .modern-features-item-description { color: #8896A8; }

/* Dark Statistics */
[data-theme="dark"] .modern-statistics-overlay {
  background: linear-gradient(135deg, rgba(6, 13, 24, 0.92) 0%, rgba(13, 31, 60, 0.88) 100%);
}

/* Dark Testimonials */
[data-theme="dark"] .modern-testimonials-item {
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .modern-testimonials-item-title { color: #FFFFFF; }
[data-theme="dark"] .modern-testimonials-item-role { color: #D4AF37; }
[data-theme="dark"] .modern-testimonials-item-description { color: #C8D0DC; }

/* Dark Blog */
[data-theme="dark"] .modern-latest-posts-item-link { color: #FFFFFF; }
[data-theme="dark"] .modern-latest-posts-item-title { color: #FFFFFF; }
[data-theme="dark"] .modern-latest-posts-item-date { color: #8896A8; }

/* Dark Section Titles */
[data-theme="dark"] .section-title { color: #FFFFFF; }
[data-theme="dark"] .section-subtitle { color: #C8D0DC; }
[data-theme="dark"] .page-title { color: #FFFFFF; }

/* Dark Footer */
[data-theme="dark"] .modern-footer {
  background: rgba(6, 13, 24, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .modern-copyright-text { color: rgba(255, 255, 255, 0.4); }
[data-theme="dark"] .copyright-bar { border-top-color: rgba(255, 255, 255, 0.06); }

/* Dark Blog Post */
[data-theme="dark"] article,
[data-theme="dark"] .blog-post,
[data-theme="dark"] .blog-plain-post,
[data-theme="dark"] .blog-cover-post,
[data-theme="dark"] .blog-masonry-post,
[data-theme="dark"] .blog-full-post,
[data-theme="dark"] .blog-compact-post {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .blog-post-title a { color: #FFFFFF; }
[data-theme="dark"] .blog-post-title a:hover { color: #D4AF37; }

[data-theme="dark"] .blog-plain-header,
[data-theme="dark"] .blog-cover-header {
  background: rgba(10, 22, 40, 0.9);
}

[data-theme="dark"] .blog-cover-context {
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Dark Dropdown */
[data-theme="dark"] .dropdown-menu {
  background: rgba(10, 22, 40, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .dropdown-item { color: #E8E6E1; }
[data-theme="dark"] .dropdown-item:hover {
  background: rgba(196, 163, 90, 0.1);
  color: #D4AF37;
}

/* Dark Modal */
[data-theme="dark"] .modal-content {
  background: rgba(10, 22, 40, 0.95);
  color: #E8E6E1;
}

/* Dark Validation */
[data-theme="dark"] .text-danger { color: #ef4444 !important; }
[data-theme="dark"] .text-success { color: #22c55e !important; }

/* Dark Pagination */
[data-theme="dark"] .pagination .page-link {
  background: rgba(255, 255, 255, 0.05);
  color: #C8D0DC;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .pagination .page-link:hover {
  background: rgba(196, 163, 90, 0.15);
  color: #D4AF37;
}

/* Dark Table */
[data-theme="dark"] table { color: #E8E6E1; }
[data-theme="dark"] th { background: rgba(10, 22, 40, 0.5); color: #FFFFFF; }
[data-theme="dark"] td { border-color: rgba(255, 255, 255, 0.06); }

/* Dark Social */
[data-theme="dark"] .modern-footer-social-link,
[data-theme="dark"] .offcanvas-social-link {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Dark Bale Button */
[data-theme="dark"] .bale-icon {
  background: rgba(6, 13, 24, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Dark Theme Toggle Button */
[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Dark Pricing */
[data-theme="dark"] [class*="price"] { color: #D4AF37; }

/* Dark FAQ */
[data-theme="dark"] .faq-item {
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .faq-question { color: #FFFFFF; }
[data-theme="dark"] .faq-answer { color: #C8D0DC; }

/* Dark Process Steps */
[data-theme="dark"] .process-step {
  background: rgba(13, 31, 60, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .process-step-title { color: #FFFFFF; }
[data-theme="dark"] .process-step-description { color: #8896A8; }

[data-theme="dark"] .process-flow {
  background: rgba(10, 22, 40, 0.4);
}

/* ============================================================
   THEME TOGGLE BUTTON (Portal.ir)
   ============================================================ */

.theme-toggle {
  position: fixed;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 10001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white, rgba(255,255,255,0.8));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border, rgba(0,0,0,0.08));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-soft, 0 4px 20px rgba(0,0,0,0.1));
}

.theme-toggle:hover {
  background: var(--color-gold, #C5A55A);
  border-color: var(--color-gold, #C5A55A);
  transform: translateY(-50%) scale(1.1);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--gold-300);
  transition: transform 0.4s ease;
}

[data-theme="light"] .theme-toggle svg { transform: rotate(180deg); }

/* ============================================================
   BASE STYLES
   ============================================================ */

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

body {
  font-family: 'IRANYekanWebFarsiNumbers', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: default;
  text-align: right;
  background: var(--navy-900);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(196, 163, 90, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(27, 45, 79, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(13, 31, 60, 0.3) 0%, transparent 70%),
    var(--navy-900);
}

/* ============================================================
   GLASS COMPONENTS (Reusable)
   ============================================================ */

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glass);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: #0A1628;
  box-shadow: 0 4px 16px rgba(196, 163, 90, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 100%);
  box-shadow: 0 6px 24px rgba(196, 163, 90, 0.4);
  transform: translateY(-2px);
  color: #0A1628;
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--gold-400);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-green {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
}

.btn-edit {
  background: rgba(196, 163, 90, 0.2);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
}

.btn-success {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid #22c55e;
  color: #22c55e;
}

a, button { outline: none !important; }
a:link, a:visited, a:hover, a:active, a:focus {
  text-decoration: none;
  transition: all var(--transition-base);
}

[auto-show] { display: none; }
.break-word { word-wrap: break-word; word-break: break-word; }
.no-scroll { overflow: hidden; }
a[disabled] { pointer-events: none; }
.modal-open { overflow: auto; }

hr { border-width: 1px; border-color: rgba(255,255,255,0.1); }

/* ============================================================
   LOADING SCREEN
   ============================================================ */

.loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.loading::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--gold-300);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ============================================================
   HEADER
   ============================================================ */

.modern-header {
  position: relative;
  z-index: 100;
}

/* Header Top Bar */
.modern-header-top {
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  padding: 8px 0;
}

.modern-header-user { }

.modern-header-user-button,
.modern-header-user-signin,
.modern-header-user-signup {
  font-size: 13px;
  padding: 7px 14px;
  color: var(--text-muted);
  border: none !important;
  background: transparent;
  transition: all var(--transition-fast);
}

.modern-header-user-button:hover,
.modern-header-user-user-signin:hover,
.modern-header-user-signup:hover {
  color: var(--gold-300);
}

.modern-header-user-button i.fa,
.modern-header-user-signin i.fa,
.modern-header-user-signup i.fa {
  vertical-align: -2px;
  margin-left: 4px;
}

/* Header Basket */
.modern-header-basket { }

.modern-header-basket-button {
  padding: 0;
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  background: transparent;
  border: none;
}

.modern-header-basket-button:hover {
  color: var(--gold-300);
}

.modern-header-basket-button:after { display: none; }

.modern-header-basket-button-icon {
  font-size: 15px;
}

.modern-header-basket-button-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 1;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  vertical-align: -3px;
  font-size: 11px;
  color: var(--gold-300);
}

.modern-header-basket-items {
  font-size: 14px;
  padding: var(--space-lg);
  min-width: 320px;
  text-align: right;
  background: rgba(13, 31, 60, 0.95);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
}

.modern-header-basket-item {
  margin-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.modern-header-basket-item:after {
  content: "";
  clear: both;
  display: block;
}

.modern-header-basket-items .modern-header-basket-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.modern-header-basket-item-image {
  float: right;
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.modern-header-basket-item-image-element {
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
}

.modern-header-basket-item-details {
  margin-bottom: var(--space-sm);
}

.modern-header-basket-item-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 4px;
  color: #E8E6E1; /* basket dropdown is always dark */
}

.modern-header-basket-item-link { }

.modern-header-basket-item-subtitle {
  display: block;
  font-size: 12px;
  color: #8896A8; /* basket dropdown is always dark */
}

.modern-header-basket-item-remove {
  position: absolute;
  bottom: 5px;
  left: 0;
}

.modern-header-basket-item-price {
  font-size: 12px;
  color: var(--gold-300);
  margin-bottom: 3px;
}

.modern-header-basket-link {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: #0A1628;
  font-weight: 600;
}

.modern-header-basket-empty {
  color: #8896A8; /* basket dropdown is always dark */
  text-align: center;
  padding: var(--space-lg);
}

/* Header Contact */
.modern-header-contact { }

.modern-header-contact-item {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 300;
}

.modern-header-contact-item i.fa {
  color: var(--gold-300);
  font-size: 15px;
  margin-left: 5px;
  vertical-align: middle;
}

.modern-header-contact-button {
  font-size: 13px;
  padding: 7px 25px;
}

.modern-header-contact-button:hover {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%) !important;
  color: #0A1628 !important;
}

/* Header Mobile */
.modern-header-mobile {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}

.modern-header-mobile-logo-image {
  max-height: 40px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar-nav { }
.navbar-nav .nav-item { position: relative; }
.navbar-nav .nav-subset { display: none; }
.navbar-nav .nav-subset-item { position: relative; }
.navbar-nav .nav-subset-link { color: #C8D0DC; } /* submenu dropdown is always dark */

@media (min-width: 992px) {
  .navbar-nav .nav-subset {
    min-width: 200px;
    list-style: none;
    position: absolute;
    top: 100%;
    right: -10px;
    background: rgba(13, 31, 60, 0.95);
    backdrop-filter: blur(var(--glass-blur-heavy));
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
    padding: var(--space-sm) 0;
    white-space: nowrap;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    z-index: 10;
    box-shadow: var(--shadow-elevated);
  }

  .navbar-nav .nav-subset-item { position: relative; }
  .navbar-nav .nav-subset-item.active > .nav-subset-link {
    background: rgba(255,255,255,0.05);
  }
  .navbar-nav .nav-subset-item:last-child > .nav-subset-link { border: 0; }
  .navbar-nav .nav-subset-item[data-subset="0"] .nav-subset-link { padding-left: 15px; }
  .navbar-nav .nav-subset-item[data-subset="0"] .nav-subset-link:after { content: ''; }
  .navbar-nav .nav-subset-item .nav-subset {
    top: -1px;
    right: 95%;
  }
  .navbar-nav .nav-subset-link {
    padding: 8px 18px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all var(--transition-fast);
  }
  .navbar-nav .nav-subset-link:hover {
    background: rgba(255,255,255,0.08);
    color: var(--gold-300);
  }
  .navbar-nav .nav-subset-link:after {
    font-family: FontAwesome;
    content: "\f0d9";
    position: absolute;
    left: 10px;
    font-size: 10px;
    color: var(--text-muted);
  }
  .navbar-nav .nav-item.expanded > .nav-subset,
  .navbar-nav .nav-subset-item.expanded > .nav-subset { display: block; }
}

@media (max-width: 991px) {
  .navbar-nav { margin-top: 10px; }
  .navbar-nav .nav-subset {
    list-style: none;
    display: block;
    position: static;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
    padding: 0 30px 0 0;
    font-size: 16px;
  }
  .navbar-nav .nav-subset-link:before {
    font-family: FontAwesome;
    content: "\f0d9";
    color: var(--gold-400);
    margin-left: 5px;
  }
  .navbar-nav .nav-link,
  .navbar-nav .nav-subset-link {
    line-height: 200%;
    display: block;
    background: rgba(255,255,255,0.03);
    margin-bottom: 5px;
    padding: 8px 15px !important;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-subset-link:hover {
    background: rgba(255,255,255,0.08);
    color: var(--gold-300);
  }
}

/* ============================================================
   OFFCANVAS MOBILE MENU
   ============================================================ */

.offcanvas-toggle {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font-size: 22px;
  display: inline-block;
  height: 30px;
  line-height: 30px;
  color: var(--text-secondary);
}

.offcanvas-toggle i.fa { line-height: 30px; }

.offcanvas-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
  width: 300px;
  height: 100vh;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  overflow: auto;
  direction: ltr;
  box-shadow: -4px 0 30px rgba(0,0,0,.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--glass-border);
}

.offcanvas-header {
  direction: rtl;
  padding: 20px;
  height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--glass-border);
}

.offcanvas-header-sitename { font-size: 0; }

.offcanvas-brand {
  font-size: 22px;
  color: var(--text-primary);
}

.offcanvas-overlay {
  content: ' ';
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
}

.offcanvas-nav {
  list-style: none;
  padding: var(--space-md) var(--space-lg);
  margin: 0;
  direction: rtl;
  height: 70vh;
  overflow: auto;
}

.offcanvas-nav-item { position: relative; }

.offcanvas-nav-link {
  display: block;
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  line-height: 1.5;
  padding: 12px 15px 12px 30px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: all var(--transition-fast);
}

.offcanvas-nav-item.active > .offcanvas-nav-link,
.offcanvas-nav-link:hover {
  color: var(--gold-300);
  background: rgba(196, 163, 90, 0.08);
}

.offcanvas-nav-toggle {
  color: var(--text-muted);
  position: absolute;
  top: 0;
  left: 0;
  height: 48px;
  border: none;
  text-align: left;
  background: none;
  width: 30px;
  outline: none !important;
  cursor: pointer;
}

.offcanvas-nav-toggle-icon:before { content: "\f107"; }

.offcanvas-nav-close { display: none; }

.offcanvas-nav-subset {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-sm);
  display: none;
}

.offcanvas-nav-subset .offcanvas-nav-link {
  font-size: 13px;
  font-weight: 400;
  border-bottom: none;
  background: rgba(255,255,255,0.02);
}

.offcanvas-expanded .offcanvas-sidebar { right: 0; }
.offcanvas-expanded .offcanvas-overlay { display: block; }
.offcanvas-nav-item-expanded > .offcanvas-nav-subset { display: block; }
.offcanvas-nav-item-expanded > .offcanvas-nav-toggle > .offcanvas-nav-toggle-icon:before {
  content: "\f106";
}

.offcanvas-nav-subset-1 .offcanvas-nav-link { padding-right: 15px; }
.offcanvas-nav-subset-2 .offcanvas-nav-link { padding-right: 30px; }
.offcanvas-nav-subset-3 .offcanvas-nav-link { padding-right: 45px; }
.offcanvas-nav-subset-4 .offcanvas-nav-link { padding-right: 60px; }

.offcanvas-footer {
  height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 15px;
  border-top: 1px solid var(--glass-border);
}

.offcanvas-social { direction: rtl; }

.offcanvas-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 4px;
  font-size: 18px;
  color: var(--text-muted);
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.offcanvas-social-link.telegram:hover { color: #0088cc; background: rgba(0,136,204,0.15); border-color: #0088cc; }
.offcanvas-social-link.instagram:hover { color: #e1306c; background: rgba(225,48,108,0.15); border-color: #e1306c; }
.offcanvas-social-link.linkedin:hover { color: #0077b5; background: rgba(0,119,181,0.15); border-color: #0077b5; }
.offcanvas-social-link.twitter:hover { color: #1da1f2; background: rgba(29,161,242,0.15); border-color: #1da1f2; }
.offcanvas-social-link.facebook:hover { color: #3b5998; background: rgba(59,89,152,0.15); border-color: #3b5998; }
.offcanvas-social-link.skype:hover { color: #00aff0; background: rgba(0,175,240,0.15); border-color: #00aff0; }

.offcanvas-copyright {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 15px;
  direction: rtl;
}

@media (max-width: 1199px) {
  .offcanvas-sidebar { right: -330px; }
}

@media (max-width: 375px) {
  .offcanvas-sidebar { width: calc(100% - 30px); }
}

/* ============================================================
   FOOTER
   ============================================================ */

.modern-footer {
  background: rgba(6, 13, 24, 0.95);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 60px 0 25px;
  margin: 40px 0 0;
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.modern-footer-posts { }

.modern-footer-posts-title {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin: 0 0 30px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-footer-posts-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--gold-400);
  border-radius: 2px;
}

.modern-footer-posts-item { }

.modern-footer-posts-item-title {
  font-weight: 400;
  font-size: 14px;
  margin: 0 0 20px;
}

.modern-footer-posts-item-link {
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
  transition: color var(--transition-fast);
}

.modern-footer-posts-item-link:hover {
  color: var(--gold-300);
}

.modern-footer-posts-item-date {
  color: var(--text-muted);
  font-size: 12px;
}

.modern-footer-posts-item-date i.fa {
  color: var(--gold-400);
  font-size: 14px;
  vertical-align: -2px;
  margin-left: 3px;
}

.modern-footer-posts-empty { }
.modern-footer-posts-edit { margin: 10px 0; }

/* Footer Subscription */
.modern-footer-subscription { }

.modern-footer-subscription-form { }

.modern-footer-subscription-title {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin: 0 0 30px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0 0 15px;
}

.modern-footer-subscription-failed { margin-top: 20px; }
.modern-footer-subscription-succeed { margin-top: 20px; }
.modern-footer-subscription-inline-error { }

.modern-footer-subscription-name input,
.modern-footer-subscription-email input,
.modern-footer-subscription-mobile input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color var(--transition-fast);
}

.modern-footer-subscription-name input:focus,
.modern-footer-subscription-email input:focus,
.modern-footer-subscription-mobile input:focus {
  border-color: var(--gold-400);
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.1);
}

.modern-footer-subscription-loading { margin: 20px 0 0; }
.modern-footer-subscription-submit { }
.modern-footer-subscription-edit { margin: 10px 0; }

/* Footer About */
.modern-footer-about { }

.modern-footer-about-logo {
  height: 50px;
}

.modern-footer-about-logo-image {
  max-height: 50px;
  filter: brightness(1.1);
}

.modern-footer-about-title { }

.modern-footer-about-description {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.9;
}

/* Footer Menu */
.modern-footer-menu { }

.modern-footer-menu-title {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin: 0 0 30px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0 0 15px;
}

.modern-footer-menu-link {
  display: inline-block;
  width: calc(50% - 5px);
  padding-left: 5px;
  margin: 5px 0;
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.modern-footer-menu-link:hover {
  color: var(--gold-300);
}

/* Copyright */
.modern-copyright {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.modern-copyright-text {
  color: var(--text-muted);
  font-size: 13px;
}

/* Social */
.modern-footer-social { }

.modern-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 3px;
  transition: all var(--transition-base);
}

.modern-footer-social-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.modern-footer-social-link .fa { line-height: 34px; }
.modern-footer-social-link.telegram:hover { background: #0088cc; border-color: #0088cc; }
.modern-footer-social-link.instagram:hover { background: #e1306c; border-color: #e1306c; }
.modern-footer-social-link.linkedin:hover { background: #0077b5; border-color: #0077b5; }
.modern-footer-social-link.twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.modern-footer-social-link.facebook:hover { background: #3b5998; border-color: #3b5998; }
.modern-footer-social-link.skype:hover { background: #00aff0; border-color: #00aff0; }

/* ============================================================
   HOMEPAGE - SHOWCASE (Hero Slider)
   ============================================================ */

.modern-showcase { }

.modern-showcase-next,
.modern-showcase-prev {
  position: absolute;
  top: calc(50% - 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 17px;
  z-index: 10;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.modern-showcase-next { right: 20px; }
.modern-showcase-prev { left: 20px; }

.modern-showcase-next:hover,
.modern-showcase-prev:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: #0A1628;
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}

.modern-showcase-items { }

.modern-showcase-item {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
  position: relative;
}

.modern-showcase-item-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(6, 13, 24, 0.85) 0%, rgba(27, 45, 79, 0.65) 50%, rgba(6, 13, 24, 0.8) 100%);
}

.modern-showcase-item-context {
  height: 100vh;
  width: 60%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modern-showcase-item-title {
  font-size: 38px;
  margin: 0 0 25px;
  color: #FFFFFF; /* hero overlay is always dark */
  font-weight: 700;
  line-height: 1.3;
}

.modern-showcase-item-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold-400);
  border-radius: 2px;
  margin: 15px auto 0;
}

.modern-showcase-item-description {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 35px;
  color: rgba(255, 255, 255, 0.85); /* hero overlay is always dark */
  line-height: 1.8;
}

/* ============================================================
   HOMEPAGE - CTA (Call to Action)
   ============================================================ */

.modern-cta {
  background: linear-gradient(135deg, rgba(196, 163, 90, 0.12) 0%, rgba(255,255,255,0.04) 100%);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-top: 1px solid rgba(196, 163, 90, 0.15);
  border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}

.modern-cta-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   HOMEPAGE - INFO BOXES
   ============================================================ */

.modern-info-boxes { }

.modern-info-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-slow);
}

.modern-info-box:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}

.modern-info-box-context {
  position: absolute;
  right: 0;
  left: 0;
  top: calc(100% - 90px);
  bottom: 0;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 25px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-info-box:hover > .modern-info-box-context {
  top: 0;
}

.modern-info-box-title {
  height: 30px;
  overflow: hidden;
  margin: 0 0 20px;
  color: #FFFFFF; /* info-box context panel is always dark */
  font-size: 18px;
  font-weight: 600;
}

.modern-info-box-description {
  font-size: 13px;
  color: #C8D0DC; /* info-box context panel is always dark */
  margin: 0 0 25px;
  line-height: 1.7;
}

.modern-info-box-more {
  font-size: 14px;
  color: var(--gold-300) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.modern-info-box-more i.fa {
  transition: transform var(--transition-fast);
}

.modern-info-box-more:hover i.fa {
  transform: translateX(-4px);
}

.modern-info-box-image {
  border-radius: var(--radius-lg);
}

/* ============================================================
   HOMEPAGE - FEATURES
   ============================================================ */

.modern-features { }

.modern-features-title {
  text-align: center;
  font-size: 32px;
  margin: 0 0 50px;
  color: var(--text-primary);
  font-weight: 700;
}

.modern-features-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--gold-400);
  border-radius: 2px;
  margin: 12px auto 0;
}

.modern-features-item {
  transition: all var(--transition-base);
  padding: 20px;
  border-radius: var(--radius-lg);
}

.modern-features-item:hover {
  background: var(--glass-bg-hover);
}

.modern-features-item-image {
  width: 80px;
  position: relative;
  text-align: center;
  font-size: 0;
}

.modern-features-item-image-element {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-base);
}

.modern-features-item:hover .modern-features-item-image-element {
  transform: translateY(8px);
}

.modern-features-item-context {
  width: calc(100% - 95px);
}

.modern-features-item-title {
  font-size: 17px;
  color: var(--text-primary);
  margin: 0 0 8px;
  font-weight: 600;
}

.modern-features-item-description {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   HOMEPAGE - STATISTICS
   ============================================================ */

.modern-statistics {
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

.modern-statistics-overlay {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(6, 13, 24, 0.9) 0%, rgba(27, 45, 79, 0.85) 100%);
}

.modern-statistics-title {
  font-size: 36px;
  color: var(--gold-300);
  line-height: 1.2;
  font-weight: 700;
}

.modern-statistics-description {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF; /* statistics overlay is always dark */
}

.modern-statistics-items { }

.modern-statistics-item { }

.modern-statistics-item-count {
  color: var(--gold-300);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.modern-statistics-item-title {
  color: rgba(255, 255, 255, 0.75); /* statistics overlay is always dark */
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  margin-top: 8px;
}

/* ============================================================
   HOMEPAGE - TESTIMONIALS
   ============================================================ */

.modern-testimonials { }

.modern-testimonials-title {
  text-align: center;
  font-size: 32px;
  margin: 0 0 50px;
  color: var(--text-primary);
  font-weight: 700;
}

.modern-testimonials-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--gold-400);
  border-radius: 2px;
  margin: 12px auto 0;
}

.modern-testimonials-items {
  padding: 0 50px;
}

.modern-testimonials-item { }

.modern-testimonials-item-image { width: 200px; }

.modern-testimonials-item-image-element {
  border-radius: var(--radius-lg);
  border: 2px solid var(--glass-border);
}

.modern-testimonials-item-context {
  width: calc(100% - 230px);
}

.modern-testimonials-item-title {
  font-size: 20px;
  color: var(--text-primary);
  margin: 0 0 5px;
}

.modern-testimonials-item-role {
  font-size: 16px;
  font-weight: 500;
  color: var(--gold-300);
}

.modern-testimonials-item-description {
  margin: 20px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.modern-testimonials-next,
.modern-testimonials-prev {
  position: absolute;
  top: calc(50% + 30px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
  z-index: 10;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.modern-testimonials-next { right: 0; }
.modern-testimonials-prev { left: 0; }

.modern-testimonials-next:hover,
.modern-testimonials-prev:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: #0A1628;
}

/* ============================================================
   HOMEPAGE - BRANDS
   ============================================================ */

.modern-brands { }

.modern-brands-items { }
.modern-brands-item { }

.modern-brands-item-link {
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.modern-brands-item-link:hover {
  opacity: 1;
}

.modern-brands-item-image { }

/* ============================================================
   HOMEPAGE - QUOTE / CTA
   ============================================================ */

.modern-qoute {
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

.modern-qoute-overlay {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(27, 45, 79, 0.88) 100%);
}

.modern-qoute-context { }

.modern-qoute-context::after {
  content: "";
  display: inline-block;
  width: 50px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold-400);
}

.modern-qoute-title {
  font-size: 26px;
  color: #FFFFFF; /* quote overlay is always dark */
  margin: 0 0 10px;
}

.modern-qoute-description {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-300);
}

/* ============================================================
   HOMEPAGE - LATEST POSTS
   ============================================================ */

.modern-latest-posts { }

.modern-latest-posts-title {
  text-align: center;
  font-size: 32px;
  margin: 0 0 50px;
  color: var(--text-primary);
  font-weight: 700;
}

.modern-latest-posts-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--gold-400);
  border-radius: 2px;
  margin: 12px auto 0;
}

.modern-latest-posts-items { }

.modern-latest-posts-item { }

.modern-latest-posts-item-link {
  display: block;
  color: inherit;
  transition: all var(--transition-base);
}

.modern-latest-posts-item-link:hover {
  transform: translateY(-4px);
}

.modern-latest-posts-item-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.modern-latest-posts-item-image-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 13, 24, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all var(--transition-base);
  opacity: 0;
}

.modern-latest-posts-item-image-overlay svg {
  color: var(--gold-300);
  font-size: 2.5em;
}

.modern-latest-posts-item-link:hover .modern-latest-posts-item-image-overlay {
  opacity: 1;
}

.modern-latest-posts-item-image-element {
  border-radius: var(--radius-md);
}

.modern-latest-posts-item-title {
  font-size: 16px;
  padding: 15px 0;
  color: var(--text-primary);
  font-weight: 600;
}

.modern-latest-posts-item-title::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold-400);
  margin: 0 0 15px;
  border-radius: 2px;
}

.modern-latest-posts-item-link:hover .modern-latest-posts-item-title {
  color: var(--gold-300);
}

.modern-latest-posts-item-date {
  font-size: 13px;
  color: var(--text-muted);
}

.modern-latest-posts-item-date .fa {
  color: var(--gold-400);
  font-size: 14px;
  vertical-align: -2px;
  margin-left: 3px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
  background: none;
  padding: 0 2px 0;
  margin: 0 0 10px;
  font-size: 13px;
}

.breadcrumb-item.active a { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before {
  font-family: 'FontAwesome';
  content: "\f104";
  font-size: 12px;
  padding: 0 7px;
  color: var(--text-muted);
}

/* ============================================================
   FORMS & VALIDATION
   ============================================================ */

.form-inline-error { margin: 5px 0; }

.validation-summary { margin: 30px 0; }
.validation-summary-title { margin: 5px 0; }
.validation-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 180%;
}

.validation-summary-item::before {
  font-family: FontAwesome;
  content: "\f0d9";
  color: var(--gold-400);
}

.validation-inline { line-height: 160%; }

.form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-control:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold-400);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.15);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* ============================================================
   SHARED PAGE ELEMENTS
   ============================================================ */

.page-container { }

.page-context {
  padding: 40px 0 0;
}

.page-title {
  line-height: 60px;
  margin: 0 0 25px;
  position: relative;
  color: var(--text-primary);
  font-weight: 700;
}

.page-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--gold-400);
  border-radius: 2px;
  margin: 6px 0 0;
}

.page-separator { margin: 30px 0; }
.page-description { }
.page-empty { }

/* ============================================================
   BLOG ELEMENTS
   ============================================================ */

.blog-container { }
.blog-context { margin-top: 40px; }
.blog-title { }
.blog-separator { }
.blog-description { }
.blog-empty { }
.blog-post { }
.blog-post-image { }
.blog-post-image-link { }

.blog-post-title {
  margin: 12px 0;
  line-height: 1.5;
  font-size: 20px;
  color: var(--text-primary);
}

.blog-post-link { }

.blog-post-excerpt {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.blog-post-meta {
  font-size: 13px;
  margin-top: 15px;
}

.blog-post-meta i.fa { color: var(--gold-400); }

.blog-post-date { display: inline-block; margin-left: 10px; }
.blog-post-author { display: inline-block; margin-left: 10px; }
.blog-post-author-link { font-weight: bold; color: var(--gold-300); }
.blog-post-categories { }
.blog-post-category { }
.blog-post-category::after { content: "\060C "; }
.blog-post-category:last-child::after { content: ""; }

/* Plain Blog */
.blog-plain-container { }

.blog-plain-header {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
  padding: 110px 0 90px;
  text-align: center;
  margin: -20px 0 0;
  border-bottom: 2px solid var(--gold-400);
}

.blog-plain-header-title { color: var(--text-primary); }
.blog-plain-header-title::after { margin: 4px auto 0; }
.blog-plain-header-description { color: var(--text-secondary); }
.blog-plain-context { }
.blog-plain-post { }
.blog-plain-post-title { color: var(--text-primary); }
.blog-plain-post-link { color: var(--gold-300); }
.blog-plain-post-meta { }
.blog-plain-post-meta i { color: var(--gold-400); }
.blog-plain-post-author { }
.blog-plain-post-author-link { color: var(--gold-300); }
.blog-plain-post-date { color: var(--text-muted); }
.blog-plain-post-excerpt { color: var(--text-secondary); }
.blog-plain-post-permalink { }
.blog-plain-post-separator { border-color: rgba(255,255,255,0.06); }
.blog-plain-post-edit { }
.blog-plain-post:last-child .blog-plain-post-separator { display: none; }
.blog-plain-edit, .blog-plain-add { }
.blog-plain-context .pagination { }
.blog-plain-empty { }

/* Cover Blog */
.blog-cover-container { }

.blog-cover-header {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
  background-size: cover;
  padding: 90px 0 100px;
  text-align: center;
  margin: -20px 0 0;
  border-bottom: 2px solid var(--gold-400);
}

.blog-cover-header-title {
  color: var(--text-primary);
  line-height: 130%;
}

.blog-cover-header-title::after { margin: 4px auto 0; }

.blog-cover-header-description {
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 200%;
}

.blog-cover-context {
  padding-top: 50px;
  padding-bottom: 50px;
}

.blog-cover-post { }
.blog-cover-post-title { color: var(--text-primary); }
.blog-cover-post-meta { }
.blog-cover-post-date { color: var(--text-muted); }
.blog-cover-post-author { }
.blog-cover-post-author-link { color: var(--gold-300); }

.blog-cover-post-categories { }
.blog-cover-post-category::after { content: "\060C "; }
.blog-cover-post-category:last-child::after { content: ""; }
.blog-cover-post-image { }
.blog-cover-post-image-link { }
.blog-cover-post-image-element { width: 100%; }
.blog-cover-post-excerpt { color: var(--text-secondary); }
.blog-cover-post-separator { border-color: rgba(255,255,255,0.06); }
.blog-cover-post-edit { display: inline-block; margin: 20px 0 0; }
.blog-cover-post:last-child .blog-cover-post-separator { display: none; }
.blog-cover-edit, .blog-cover-add { }
.blog-cover-context .pagination { }
.blog-cover-empty { }

@media (min-width: 768px) {
  .blog-cover-header { padding: 140px 0 170px; }
  .blog-cover-context {
    margin-top: -100px;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 50px 60px;
    border-radius: var(--radius-lg);
  }
}

/* Full Blog */
.blog-full-container { }
.blog-full-context { }
.blog-full-title { color: var(--text-primary); }
.blog-full-description { color: var(--text-secondary); }
.blog-full-separator { border-color: rgba(255,255,255,0.06); }
.blog-full-post { }
.blog-full-post-title { color: var(--text-primary); }
.blog-full-post-link { color: var(--gold-300); }
.blog-full-post-meta { }
.blog-full-post-date { color: var(--text-muted); }
.blog-full-post-author { }
.blog-full-post-author-link { color: var(--gold-300); }
.blog-full-post-categories { }
.blog-full-post-category { }
.blog-full-post-image { }
.blog-full-post-image-link { }
.blog-full-post-image-element { width: 100%; }
.blog-full-post-excerpt { line-height: 200%; color: var(--text-secondary); }
.blog-full-post-separator { border-color: rgba(255,255,255,0.06); }
.blog-full-post-edit { }
.blog-full-post:last-child .blog-full-post-separator { display: none; }
.blog-full-edit, .blog-full-add { }
.blog-full-context .pagination { }
.blog-full-empty { }

/* ============================================================
   BLOG SIDEBAR
   ============================================================ */

.blog-sidebar { }
.blog-sidebar-full { }
.blog-sidebar-compact { }

.blog-sidebar-about {
  margin-top: 30px;
  padding: var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.blog-sidebar-about-title {
  margin: 0;
  color: var(--text-primary);
}

.blog-sidebar-about-image { margin-bottom: 10px; }

.blog-sidebar-about-description {
  font-size: 14px;
  line-height: 180%;
  color: var(--text-secondary);
}

.blog-sidebar-about-permalink { margin-top: 15px; }
.blog-sidebar-about-edit { margin-top: 15px; }

.blog-sidebar-categories {
  margin-top: 30px;
}

.blog-sidebar-categories-title {
  margin: 0;
  color: var(--text-primary);
}

.blog-sidebar-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar-categories-item::before {
  font-family: FontAwesome;
  content: "\f111";
  font-size: 8px;
  color: var(--gold-400);
  margin-left: 5px;
}

.blog-sidebar-categories-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.blog-sidebar-categories-link:hover {
  color: var(--gold-300);
}

.blog-sidebar-categories-subset {
  list-style: none;
  padding: 0 25px 0 0;
}

.blog-sidebar-categories-empty { }
.blog-sidebar-categories-edit { margin-top: 15px; }

.blog-sidebar-search { margin-top: 30px; }

.blog-sidebar-search-title {
  margin: 0;
  color: var(--text-primary);
}

.blog-sidebar-search-description {
  font-size: 14px;
  line-height: 180%;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.blog-sidebar-search-form { margin: 5px 0; }
.blog-sidebar-search-edit { margin-top: 15px; }

.blog-sidebar-subscription { margin-top: 30px; }

.blog-sidebar-subscription-title {
  margin: 0;
  color: var(--text-primary);
}

.blog-sidebar-subscription-description {
  font-size: 14px;
  line-height: 180%;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.blog-sidebar-subscription-form { margin: 5px 0; }
.blog-sidebar-subscription-inline-error { }
.blog-sidebar-subscription-loading { margin: 20px 0 0; }
.blog-sidebar-subscription-succeed { margin: 0; }
.blog-sidebar-subscription-edit { margin-top: 15px; }

.blog-sidebar-archive { margin-top: 30px; }

.blog-sidebar-archive-title {
  margin: 0;
  color: var(--text-primary);
}

.blog-sidebar-archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar-archive-item::before {
  font-family: FontAwesome;
  content: "\f111";
  font-size: 8px;
  color: var(--gold-400);
  margin-left: 5px;
}

.blog-sidebar-archive-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.blog-sidebar-archive-link:hover {
  color: var(--gold-300);
}

.blog-sidebar-archive-empty { }
.blog-sidebar-archive-edit { margin-top: 15px; }

.blog-sidebar-tags { margin-top: 30px; }

.blog-sidebar-tags-title {
  margin: 0;
  color: var(--text-primary);
}

.blog-sidebar-tags-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 180%;
}

.blog-sidebar-tags-item { display: inline-block; }
.blog-sidebar-tags-item::after { content: '\060C '; }
.blog-sidebar-tags-item:last-child::after { content: ''; }
.blog-sidebar-tags-link { color: var(--gold-300); }
.blog-sidebar-tags-link-size1 { font-size: 14px; }
.blog-sidebar-tags-link-size2 { font-size: 16px; }
.blog-sidebar-tags-link-size3 { font-size: 19px; }
.blog-sidebar-tags-link-size4 { font-size: 22px; }
.blog-sidebar-tags-link-size5 { font-size: 26px; }
.blog-sidebar-tags-empty { }
.blog-sidebar-tags-edit { margin-top: 15px; }

@media (max-width: 991px) {
  .blog-compact-sidebar, .blog-full-sidebar { margin: 30px 0 0; }
}

/* ============================================================
   GALLERY ELEMENTS
   ============================================================ */

.gallery-container { }
.gallery-context { }
.gallery-title { color: var(--text-primary); }
.gallery-separator { border-color: rgba(255,255,255,0.06); }
.gallery-description { line-height: 2; color: var(--text-secondary); }
.gallery-empty { margin-top: 20px; }
.gallery-item { margin: 0 0 30px; }
.gallery-item-image { }
.gallery-item-link { }
.gallery-item-element { width: 100%; border-radius: var(--radius-md); }

.gallery-item-title {
  margin: 10px 0;
  line-height: 1.5;
  font-size: 20px;
  color: var(--text-primary);
}

.gallery-item-description {
  margin: 10px 0;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ============================================================
   TEXT / CONTENT PAGES
   ============================================================ */

.text-container { }
.text-context { }
.text-title { color: var(--text-primary); }

.text-content {
  margin: 20px 0;
  line-height: 2;
  color: var(--text-secondary);
}

.text-subset {
  margin: 20px 0 0;
  padding: 15px 25px;
  list-style: none;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.text-subset-item { margin: 2px 0; }
.text-subset-item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 10px;
  margin-left: 5px;
  background: var(--gold-400);
}

.text-subset-title { }
.text-subset-image { }
.text-subset-image-element { }
.text-subset-link { font-size: 14px; color: var(--gold-300); }
.text-subset-list { margin: 0 0 15px 0; list-style: none; }
.text-subset-list .text-subset-item::before { background: var(--gold-400); }

/* Plain Text */
.text-plain-container { }
.text-plain-context { }
.text-plain-title { color: var(--text-primary); }
.text-plain-content { }
.text-plain-subset { }
.text-plain-subset-item { }
.text-plain-subset-link { }
.text-plain-subset-list { }
.text-plain-edit { margin: 20px 0 0; }

/* Cover Text */
.text-cover-container { }

.text-cover-header {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
  background-size: cover;
  padding: 90px 0 100px;
  text-align: center;
  margin: -20px 0 0;
  border-bottom: 2px solid var(--gold-400);
}

.text-cover-header-title { color: var(--text-primary); }

.text-cover-context {
  padding-top: 50px;
  padding-bottom: 50px;
}

.text-cover-content { }
.text-cover-subset { }
.text-cover-subset-item { }
.text-cover-subset-link { }
.text-cover-subset-list { }
.text-cover-edit { margin: 20px 0 0; }

@media (min-width: 768px) {
  .text-cover-header { padding: 150px 0 160px; }
  .text-cover-context {
    margin-top: -100px;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 50px 60px;
    border-radius: var(--radius-lg);
  }
  .text-cover-content { margin: 0 0 20px 0; }
}

/* Group Text */
.text-group-container { }
.text-group-context { }
.text-group-title { color: var(--text-primary); }
.text-group-content { color: var(--text-secondary); }
.text-group-subset { }
.text-group-subset-item { margin-bottom: 30px; }
.text-group-subset-image { }
.text-group-subset-image-link { }
.text-group-subset-image-element { border-radius: var(--radius-md); }
.text-group-subset-title {
  font-size: 16px;
  margin-top: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
}
.text-group-subset-link { }
.text-group-edit { margin: 20px 0 0; }

/* ============================================================
   FORM PAGES
   ============================================================ */

.form-container { }
.form-context { }
.form-title { color: var(--text-primary); }
.form-separator { border-color: rgba(255,255,255,0.06); }
.form-description { line-height: 2; color: var(--text-secondary); }
.form-empty { }
.form-element { }
.form-text { }
.form-text-label { color: var(--text-secondary); }
.form-textarea { line-height: 2; }
.form-textarea-label { }
.form-password { }
.form-password-label { }
.form-file { }
.form-file-label { }
.form-checkbox { }
.form-checklist { }
.form-checklist-label { }
.form-radiolist { }
.form-radiolist-label { }
.form-dropdown { }
.form-dropdown-label { }
.form-paragraph { margin: 30px 0; }
.form-hr { margin: 30px 0; }
.form-amount { }
.form-amount-label { }
.form-amount-input { }
.form-gateway { }
.form-gateway-label { }
.form-gateway-input { }
.form-submit { }
.form-loading { }

/* ============================================================
   POST SINGLE PAGE
   ============================================================ */

.post-container { }

.post-context {
  margin-top: 30px;
}

.post-image { }
.post-image-element { width: 100%; border-radius: var(--radius-md); }
.post-title { line-height: 2; color: var(--text-primary); }
.post-content { line-height: 2; color: var(--text-secondary); }

.post-relates {
  padding: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  margin: 30px 0;
}

.post-relates-title { color: var(--text-primary); }
.post-relates-list { padding: 10px 0 0; margin: 0; list-style: none; }
.post-relates-item { padding: 4px 0; }

.post-relates-link {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.post-relates-link:hover {
  color: var(--gold-300);
}

.post-relates-link::before {
  font-family: 'FontAwesome';
  content: "\f111";
  font-size: 7px;
  color: var(--gold-400);
  margin-left: 5px;
  display: inline-block;
}

.post-meta { margin: 30px 0; line-height: 2; }
.post-date { color: var(--text-muted); font-size: 13px; margin-left: 30px; }
.post-date i.fa { color: var(--gold-400); }
.post-author { color: var(--gold-300); font-size: 13px; margin-left: 30px; }
.post-author-link { color: var(--text-secondary); }
.post-categories { color: var(--gold-400); font-size: 13px; }
.post-category { color: var(--text-secondary); }
.post-tags { display: block; color: var(--gold-400); font-size: 13px; }
.post-tag { color: var(--text-secondary); }

.post-sharing { margin: 30px 0; }
.post-sharing a {
  display: inline-block;
  width: 34px;
  height: 34px;
  text-align: center;
  line-height: 34px;
  border-radius: 50%;
  font-size: 16px;
  margin-left: 4px;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.post-sharing a:hover { color: #fff; transform: translateY(-2px); }
.post-sharing-twitter { color: #1da1f2; border-color: #1da1f2; }
.post-sharing-twitter:hover { background: #1da1f2; }
.post-sharing-linkedin { color: #0077b5; border-color: #0077b5; }
.post-sharing-linkedin:hover { background: #0077b5; }
.post-sharing-facebook { color: #3b5998; border-color: #3b5998; }
.post-sharing-facebook:hover { background: #3b5998; }
.post-sharing-googleplus { color: #dd4b39; border-color: #dd4b39; }
.post-sharing-googleplus:hover { background: #dd4b39; }
.post-sharing-pinterest { color: #bd081c; border-color: #bd081c; }
.post-sharing-pinterest:hover { background: #bd081c; }

/* Post Comments */
.post-comments { }
.post-comments-separator { border-color: rgba(255,255,255,0.06); }
.post-comments-title { margin: 0 0 30px; color: var(--text-primary); }

.post-comment {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 20px 0 0;
  padding: 30px 0 0;
}

.post-comment-avatar { }
.post-comment-avatar-image {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  border: 2px solid var(--glass-border);
}

.post-comment-author { margin: 0; font-size: 17px; color: var(--text-primary); }
.post-comment-author-flag { display: inline-block; width: 16px; height: 11px; }
.post-comment-author-name { }
.post-comment-author-website { }

.post-comment-body {
  font-size: 14px;
  line-height: 200%;
  margin: 15px 0 5px;
  color: var(--text-secondary);
}

.post-comment-time {
  font-size: 12px;
  display: inline-block;
  margin-left: 10px;
  color: var(--text-muted);
}

.post-comment-time i.fa {
  color: var(--gold-400);
  font-size: 15px;
  vertical-align: -2px;
  margin-left: 3px;
}

.post-comment-reply {
  padding: 1px 5px;
  font-size: 12px;
  color: var(--gold-300);
}

.post-comment-subset { margin-top: 25px; }

/* Post Commenting Form */
.post-commenting { }
.post-commenting-separator { border-color: rgba(255,255,255,0.06); }
.post-commenting-title { margin: 0 0 20px; color: var(--text-primary); }
.post-commenting-form { }
.post-commenting-failed { }
.post-commenting-succeed { }
.post-commenting-inline-error { }
.post-commenting-body { }
.post-commenting-body-input { line-height: 200%; }
.post-commenting-name { }
.post-commenting-name-label { color: var(--text-secondary); }
.post-commenting-name-input { }
.post-commenting-email { }
.post-commenting-email-label { color: var(--text-secondary); }
.post-commenting-email-input { }
.post-commenting-website { }
.post-commenting-website-label { color: var(--text-secondary); }
.post-commenting-website-input { }
.post-commenting-reply-info { margin: 0 0 20px; cursor: pointer; color: var(--gold-300); }
.post-commenting-loading { margin: 20px 0 0; }
.post-commenting-submit { margin-top: 10px; }
.post-commenting-reset { margin-top: 10px; }

/* ============================================================
   SEARCH PAGE
   ============================================================ */

.search-container { }
.search-context { }
.search-title { color: var(--text-primary); }
.search-form { margin: 30px 0 40px; }
.search-query { }
.search-query-group { }
.search-query-input { }
.search-query-submit { }

.search-result { }

.search-item {
  margin: 0 0 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.search-item:last-child { border-bottom: none; }
.search-item-image { }
.search-item-image-element { border-radius: var(--radius-md); }
.search-item-context { }
.search-item-title {
  line-height: 1.5;
  margin: 0;
  font-size: 22px;
  color: var(--text-primary);
}
.search-item-link { color: var(--gold-300); }
.search-item-link:hover { text-decoration: underline; }
.search-item-url { direction: ltr; display: inline-block; font-size: 14px; color: var(--gold-400); }
.search-item-description { font-size: 14px; color: var(--text-secondary); margin: 0; }
.search-empty { }
.search-item-separator { border-color: rgba(255,255,255,0.06); }

/* ============================================================
   AUTHENTICATION PAGES
   ============================================================ */

.authentication-container,
.recoverypass-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: calc(100vh - 65px);
}

.authentication-context,
.recoverypass-context {
  width: 400px;
  padding: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
}

.authentication-inline-error,
.recoverypass-inline-error { margin-top: 5px; }
.authentication-loading { margin-top: 15px; }

@media (max-width: 374px) {
  .authentication-container, .recoverypass-container { padding: 15px; }
  .authentication-context, .recoverypass-context { width: 100%; }
}

/* ============================================================
   STORE (E-COMMERCE) ELEMENTS
   ============================================================ */

.store-container { }
.store-context { }
.store-title { color: var(--text-primary); }
.store-separator { border-color: rgba(255,255,255,0.06); }
.store-description { line-height: 1.8; color: var(--text-secondary); }
.store-empty { }
.store-sidebar { }
.store-loading { }
.store-products { }

.store-product {
  margin-bottom: 50px;
  position: relative;
}

.store-product-image { }
.store-product-image-link { }
.store-product-image-element {
  width: 100%;
  border-radius: var(--radius-md);
}

.store-product-title {
  font-size: 17px;
  margin: 15px 0;
  min-height: 60px;
  max-height: 60px;
  line-height: 30px;
  overflow: hidden;
  color: var(--text-primary);
}

.store-product:hover .store-product-title { max-height: none; }
.store-product-link { color: var(--gold-300); }

.store-product-compare-price {
  color: var(--text-muted);
  text-decoration: line-through;
  display: inline-block;
  margin-left: 5px;
  font-size: 13px;
}

.store-product-price {
  font-size: 18px;
  color: var(--gold-300);
}

.store-product-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  font-size: 14px;
  font-weight: 500;
  background: #DC2626;
  color: #fff;
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.store-product-outofstock { opacity: 0.5; }
.store-product-outofstock-message { display: block; color: #ef4444; }
.store-product-quick-view { margin-top: 15px; }
.store-filters { }
.store-sorting { }
.store-sorting-title { font-size: .875rem; margin-left: 10px; }
.store-sorting-item { margin: 0 5px; }

/* Store Sidebar */
.store-sidebar { }
.store-sidebar-categories { }
.store-sidebar-categories-header { }
.store-sidebar-categories-title { margin: 0; color: var(--text-primary); }
.store-sidebar-categories-list { list-style: none; padding: 0; margin: 0; }
.store-sidebar-categories-item::before {
  font-family: FontAwesome;
  content: "\f111";
  font-size: 8px;
  color: var(--gold-400);
  margin-left: 5px;
}
.store-sidebar-categories-link { font-size: 14px; color: var(--text-secondary); }
.store-sidebar-categories-subset { list-style: none; padding: 2px 30px 4px; }
.store-sidebar-search { margin-bottom: 20px; }
.store-sidebar-search-form { }
.store-sidebar-search-query { }
.store-sidebar-search-query-group { }
.store-sidebar-search-query-input { }
.store-sidebar-search-query-submit { }
.store-sidebar-search-available { }
.store-sidebar-search-available-label { }
.store-sidebar-search-available-input { }
.store-sidebar-filters { margin: 15px 0 0; }
.store-sidebar-filters-item { margin: 0 0 10px; }
.store-sidebar-filters-item-header { padding: 0; }
.store-sidebar-filters-item-title {
  line-height: 150%;
  margin: 0;
  cursor: pointer;
  color: var(--text-primary);
}
.store-sidebar-filters-item-link { display: block; padding: 10px 15px 10px 5px; }
.store-sidebar-filters-item-subset { padding: 16px 20px 8px; }
.store-sidebar-filters-item-check { }
.store-sidebar-filters-item-label { font-size: 14px; color: var(--text-secondary); }
.store-sidebar-filters-item-label::before, .store-sidebar-filters-item-label::after { top: 4px; }
.store-sidebar-filters-item-input { }
.store-sidebar-separator { border-color: rgba(255,255,255,0.06); }

@media (max-width: 991px) {
  .store-full-sidebar, .store-list-sidebar { display: none; }
}

/* ============================================================
   PRODUCT SINGLE PAGE
   ============================================================ */

.product-container { }
.product-context { margin-top: 30px; }

.product-title {
  font-size: 29px;
  margin: 0 0 5px;
  color: var(--text-primary);
}

.product-caption { color: var(--text-muted); font-size: 17px; font-weight: 400; }
.product-rating { }
.product-rating-link { cursor: pointer; }
.product-rating-link-icon { }
.product-rating-info { }
.product-header { margin-top: 30px; }

.product-expiration {
  background: linear-gradient(135deg, rgba(196, 163, 90, 0.2) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(196, 163, 90, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  border-radius: var(--radius-md);
}

.product-expiration-title {
  padding: 0 20px;
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-300);
}

.product-expiration-countdown { font-size: 0; direction: ltr; display: flex; align-items: center; justify-content: center; }

.product-expiration-column {
  min-width: 70px;
  height: 60px;
  padding: 0 20px;
  line-height: 1.1;
  text-align: center;
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: center;
  border-right: 5px solid var(--gold-400);
}

.product-expiration-column::after {
  content: attr(data-separator);
  display: inline-block;
  font-weight: bold;
  font-size: 24px;
  line-height: 50px;
  color: var(--gold-300);
}

.product-expiration-column:last-child::after { display: none; }

.product-expiration-column.days,
.product-expiration-column.hours,
.product-expiration-column.minutes,
.product-expiration-column.seconds {
  background: rgba(196, 163, 90, 0.15);
}

.product-expiration-count { display: block; font-size: 22px; color: var(--text-primary); font-weight: 700; }
.product-expiration-label { display: block; font-weight: 400; font-size: 13px; color: var(--text-muted); }
.product-expired { }

.product-image { margin: 5px 0 30px; }
.product-image-link { }
.product-image-element { width: 100%; border-radius: var(--radius-md); }

.product-images { padding: 0 20px; }
.product-images-link { cursor: pointer; }
.product-images-item { }
.product-images-slider { }
.product-images-slider-item { }
.product-images-prev {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  height: 30px;
  width: 30px;
  position: absolute;
  top: calc(50% - 15px);
  border-radius: 50%;
  right: 0;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-images-next {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  height: 30px;
  width: 30px;
  position: absolute;
  top: calc(50% - 15px);
  border-radius: 50%;
  left: 0;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-images-prev::before {
  content: '';
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--text-muted);
  position: absolute;
  right: calc(50% - 3px);
  top: calc(50% - 5px);
}

.product-images-next::before {
  content: '';
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid var(--text-muted);
  position: absolute;
  left: calc(50% - 4px);
  top: calc(50% - 5px);
}

.product-images-prev.disabled, .product-images-next.disabled { opacity: 0.3; }

.product-info-wrap {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: var(--radius-lg);
  height: 100%;
}

.product-info { margin: 30px 0 0; }
.product-description { margin: 50px 0; line-height: 200%; }
.product-description-content { }
.product-description-separator { border-color: rgba(255,255,255,0.06); }

.product-compare-price {
  color: var(--text-muted);
  text-decoration: line-through;
  display: inline-block;
  margin-left: 5px;
  font-weight: 400;
}

.product-price {
  display: block;
  margin-left: 5px;
  font-size: 25px;
  color: var(--gold-300);
}

.product-discount {
  font-size: 14px;
  background: #DC2626;
  color: #fff;
  font-weight: 500;
  display: inline-block;
  padding: 2px 5px 1px;
  border-radius: var(--radius-sm);
}

.product-outofstock-message { color: #ef4444; }
.product-controls { margin: 15px 0; }
.product-attribute { }
.product-attribute-text { min-width: 100px; justify-content: center; }
.product-attribute-input { }
.product-attribute-inline-error { }
.product-variant { }
.product-variant-text { }
.product-variant-input { }
.product-quantity { }
.product-quantity-text { }
.product-quantity-input { }
.product-buttons { margin-top: 10px; }
.product-buttons-loading { margin: 20px 0 0; }
.product-buttons-failed { display: none; }
.product-addtowishlist {
  width: 42px;
  padding: 0;
  height: 42px;
  line-height: 42px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: 50%;
}
.product-addtocart { }
.product-inquiry { }
.product-compare {
  width: 42px;
  padding: 0;
  height: 42px;
  line-height: 42px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: 50%;
}

.product-relates { }
.product-relates-separator { border-color: rgba(255,255,255,0.06); }
.product-relates-title {
  position: relative;
  font-size: 25px;
  margin: 0 0 40px;
  line-height: 40px;
  color: var(--text-primary);
}

.product-relates-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--gold-400);
  border-radius: 2px;
  margin: 6px 0 0;
}

.product-relates-items { }

.product-relates-item {
  text-align: center;
}

.product-relates-item-image { }
.product-relates-item-image-element { border-radius: var(--radius-md); }

.product-relates-item-title {
  font-size: 17px;
  margin: 15px 0;
  min-height: 60px;
  max-height: 60px;
  line-height: 30px;
  overflow: hidden;
  color: var(--text-primary);
}

.product-relates-item:hover .product-relates-item-title { max-height: none; }
.product-relates-item-link { }
.product-relates-item-price { font-size: 18px; color: var(--gold-300); }
.product-relates-item-compare-price { color: var(--text-muted); text-decoration: line-through; display: inline-block; margin-left: 5px; font-size: 13px; }

/* Product Details Tabs */
.product-details { }
.product-details-tabs { margin: 50px 0 0; }
.product-details-tab { margin-left: 5px; }

.product-details-tab-link {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.product-details-tab-link:hover {
  color: var(--gold-300);
  border-color: var(--gold-400);
}

.product-tab-content {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 30px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  color: var(--text-secondary);
}

.product-content { line-height: 200%; }

.product-fields { }

.product-field { margin-bottom: 10px; }

.product-field-name {
  padding: 12px 20px;
  background: rgba(255,255,255,0.04);
  height: 100%;
  margin: 0;
  line-height: 150%;
  color: var(--text-secondary);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.product-field-value {
  padding: 12px 20px;
  background: rgba(255,255,255,0.02);
  margin-top: 10px;
  line-height: 150%;
  color: var(--text-secondary);
}

.product-field:hover .product-field-name,
.product-field:hover .product-field-value {
  background: rgba(196, 163, 90, 0.06);
}

/* Product Comments */
.product-comments { }
.product-comments-separator { border-color: rgba(255,255,255,0.06); }

.product-comment {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 20px 0 0;
  padding: 30px 0 0;
}

.product-comments > .product-comment:first-child { border-top: none; padding-top: 0; }

.product-comment-avatar { }
.product-comment-avatar-image {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  border: 2px solid var(--glass-border);
}

.product-comment-author { margin: 0; color: var(--text-primary); }
.product-comment-author-image { display: inline-block; width: 16px; height: 11px; }
.product-comment-author-name { }
.product-comment-author-website { }
.product-comment-body { font-size: 14px; line-height: 200%; margin: 5px 0; color: var(--text-secondary); }
.product-comment-time { font-size: 12px; display: inline-block; margin-left: 10px; color: var(--text-muted); }
.product-comment-reply { padding: 0; color: var(--gold-300); }
.product-comment-rate { }
.product-comment-rate-icon { }
.product-comment-subset { margin-top: 25px; }

/* Product Commenting */
.product-commenting { }
.product-commenting-separator { border-color: rgba(255,255,255,0.06); }
.product-commenting-title { margin: 0 0 20px; color: var(--text-primary); }
.product-commenting-form { }
.product-commenting-failed { }
.product-commenting-succeed { }
.product-commenting-inline-error { }
.product-commenting-body { }
.product-commenting-body textarea { line-height: 200%; }
.product-commenting-name { }
.product-commenting-email { }
.product-commenting-website { }
.product-commenting-reply-info { margin: 0 0 20px; cursor: pointer; color: var(--gold-300); }
.product-commenting-loading { margin: 20px 0 0; }
.product-commenting-submit { margin-top: 10px; }
.product-commenting-reset { margin-top: 10px; }

/* Product Modal */
.product-addtocart-modal { }
.product-addtocart-modal-dialog { }
.product-addtocart-modal-content {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
}
.product-addtocart-modal-title { color: var(--text-primary); }
.product-addtocart-modal-body { }
.product-addtocart-modal-headline { }
.product-addtocart-modal-description { }
.product-addtocart-modal-link { color: var(--gold-300); }
.product-addtocart-modal-close { color: var(--text-muted); }
.product-addtocart-modal-close-icon { }

/* Quickview Modal */
.product-quickview-modal { }
.product-quickview-modal-dialog { }
.product-quickview-modal-content {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
}
.product-quickview-modal-title { color: var(--text-primary); }
.product-quickview-modal-close-icon { }
.product-quickview-modal-body { }
.product-quickview-modal-failed { }
.product-quickview-modal-failed-title { }
.product-quickview-modal-succeed { }
.product-quickview-modal-succeed-actions { }
.product-quickview-modal-link { color: var(--gold-300); }
.product-quickview-modal-close { }
.product-quickview-modal-attribute { }
.product-quickview-modal-attribute-control { }
.product-quickview-modal-inline-error { }
.product-quickview-modal-quantity-control { }
.product-quickview-modal-compare-price { }
.product-quickview-modal-price { color: var(--gold-300); }
.product-quickview-modal-submit { }

.product-separator { border-color: rgba(255,255,255,0.06); }
.product-edit { margin: 15px 0; }

@media (min-width: 992px) {
  .product-field-name { margin-left: 10px; text-align: left; }
  .product-field-value:first-child { margin-top: 0; }
  .product-images-slider { display: none !important; }
  .product-info select { width: auto; }
}

@media (max-width: 991px) {
  .product-image, .product-images { }
  .product-description { margin-top: 30px; }
}

@media (max-width: 576px) {
  .product-expiration { background: transparent; justify-content: center; }
  .product-expiration-title { display: none; }
  .product-expiration-countdown { width: 100%; text-align: center; font-size: 16px; }
}

/* ============================================================
   CART PAGE
   ============================================================ */

.cart-container { }
.cart-context { }
.cart-title { color: var(--text-primary); }
.cart-description { color: var(--text-muted); }
.cart-failed { }
.cart-separator { border-color: rgba(255,255,255,0.06); }
.cart-items { }
.cart-item { }

.cart-item-image { }
.cart-item-image-link { }
.cart-item-image-element { width: 100%; border-radius: var(--radius-sm); }
.cart-item-details { line-height: 160%; color: var(--text-secondary); }
.cart-item-title { line-height: 145%; color: var(--text-primary); }
.cart-item-link { color: var(--gold-300); }
.cart-item-subtitle { font-size: 14px; }
.cart-item-id { font-size: 14px; }
.cart-item-remove { margin-top: 5px; line-height: 150%; }
.cart-item-amounts { font-size: 14px; line-height: 180%; }
.cart-item-quantity { margin-bottom: 10px; }
.cart-item-quantity-group { }
.cart-item-quantity-input { }
.cart-item-inline-error { }
.cart-item-price { }
.cart-item-price-value { color: var(--gold-300); }

.cart-item-price-compare {
  text-decoration: line-through;
  color: var(--text-muted);
  display: inline-block;
  margin-left: 5px;
}

.cart-item-discount { }
.cart-item-shipping { }
.cart-item-tax { }
.cart-item-subtotal { }
.cart-item-subtotal-title { font-size: 18px; color: var(--gold-300); }
.cart-item-mobile-details { }
.cart-item-loading { margin-top: 10px; }

.cart-details { margin: 0; }
.cart-details-subtotal { }
.cart-details-subtotal-label { }
.cart-details-subtotal-value { }
.cart-details-weight { }
.cart-details-weight-label { }
.cart-details-weight-value { }
.cart-details-shipping { }
.cart-details-shipping-label { }
.cart-details-shipping-value { }
.cart-details-tax { }
.cart-details-tax-label { }
.cart-details-tax-value { }
.cart-details-discount { }
.cart-details-discount-label { }
.cart-details-discount-value { }
.cart-details-total { }
.cart-details-total-label { }
.cart-details-total-value { color: var(--gold-300); }

.cart-coupons { }
.cart-coupons-code { }
.cart-coupons-code-group { }
.cart-coupons-code-input { }
.cart-coupons-code-btn { }
.cart-coupons-inline-error { }
.cart-coupons-items { margin-top: 10px; }
.cart-coupons-item { margin: 5px 0 0 5px; }

.cart-empty { }
.cart-empty-description { margin: 30px 0 20px; }
.cart-empty-description-text { color: var(--text-secondary); }
.cart-empty-link { color: var(--gold-300); }
.cart-loading { margin: 30px 0 0; }

@media (max-width: 767px) {
  .cart-item-amounts { margin-top: 30px; }
}

@media (max-width: 991px) {
  .cart-item-subtotal { display: none; }
  .cart-checkout {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    border-radius: 0;
  }
}

/* Cart Auth */
.cart-auth { }
.cart-auth-container { }
.cart-auth-context { }
.cart-auth-title { color: var(--text-primary); }
.cart-auth-description { color: var(--text-muted); }
.cart-auth-separator { border-color: rgba(255,255,255,0.06); }
.cart-auth-form { }
.cart-auth-failed { }
.cart-auth-mode { }
.cart-auth-mode-question { margin-bottom: 15px; }
.cart-auth-mode-signup { }
.cart-auth-mode-signup-label { }
.cart-auth-mode-signup-input { }
.cart-auth-mode-signin { }
.cart-auth-mode-signin-label { }
.cart-auth-mode-signin-input { }
.cart-auth-username { }
.cart-auth-username-label { color: var(--text-secondary); }
.cart-auth-username-input { }
.cart-auth-password { }
.cart-auth-password-label { color: var(--text-secondary); }
.cart-auth-password-input { }
.cart-auth-rememberme { }
.cart-auth-rememberme-label { }
.cart-auth-rememberme-input { }
.cart-auth-confirmpassword { }
.cart-auth-confirmpassword-label { }
.cart-auth-confirmpassword-input { }
.cart-auth-name { }
.cart-auth-name-label { }
.cart-auth-name-input { }
.cart-auth-mobile { }
.cart-auth-mobile-label { }
.cart-auth-mobile-input { }
.cart-auth-email { }
.cart-auth-email-label { }
.cart-auth-email-input { }
.cart-auth-email-group { }
.cart-auth-email-optional { }
.cart-auth-inline-error { }
.cart-auth-submit { }
.cart-auth-loading { margin: 20px 0 0; }
.cart-auth-succeed { }

/* ============================================================
   CART CHECKOUT PAGE
   ============================================================ */

.cart-checkout-container { }
.cart-checkout-context { }
.cart-checkout-title { color: var(--text-primary); }
.cart-checkout-description { color: var(--text-muted); }
.cart-checkout-separator { border-color: rgba(255,255,255,0.06); }
.cart-checkout-form { }
.cart-checkout-failed { }
.cart-checkout-contact { }
.cart-checkout-contact-title { color: var(--text-primary); }
.cart-checkout-contact-description { color: var(--text-muted); }
.cart-checkout-name { }
.cart-checkout-name-label { color: var(--text-secondary); }
.cart-checkout-name-input { }
.cart-checkout-mobile { }
.cart-checkout-mobile-label { }
.cart-checkout-mobile-input { }
.cart-checkout-phone { }
.cart-checkout-phone-label { }
.cart-checkout-phone-input { }
.cart-checkout-email { }
.cart-checkout-email-label { }
.cart-checkout-email-input { }
.cart-checkout-shipping { }
.cart-checkout-shipping-title { color: var(--text-primary); }
.cart-checkout-shipping-description { color: var(--text-muted); }
.cart-checkout-country { }
.cart-checkout-country-label { color: var(--text-secondary); }
.cart-checkout-country-input { }
.cart-checkout-state { }
.cart-checkout-state-label { }
.cart-checkout-state-input { }
.cart-checkout-city { }
.cart-checkout-city-label { }
.cart-checkout-city-input { }
.cart-checkout-zipcode { }
.cart-checkout-zipcode-label { }
.cart-checkout-zipcode-input { }
.cart-checkout-address { }
.cart-checkout-address-label { }
.cart-checkout-address-input { }
.cart-checkout-location { }

.cart-checkout-location-container {
  width: 100%;
  height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.cart-checkout-location-help { color: var(--text-muted); margin-top: 10px; }
.cart-checkout-description-field { }
.cart-checkout-description-field-label { color: var(--text-secondary); }
.cart-checkout-description-field-help { color: var(--text-muted); margin-top: 10px; }
.cart-checkout-description-field-input { }
.cart-checkout-inline-error { }
.cart-checkout-submit { }
.cart-checkout-loading { margin: 20px 0 0; }
.cart-checkout-succeed { }
.cart-checkout-contacts { }
.cart-checkout-contacts-item { }
.cart-checkout-contacts-item-label { cursor: pointer; }
.cart-checkout-contact { }
.cart-checkout-contact-name { }
.cart-checkout-contact-item { }
.cart-checkout-contact-item-action { position: absolute; bottom: 15px; left: 0; }
.cart-checkout-shipping { }
.cart-checkout-shipping-title { }
.cart-checkout-shipping-badge { }
.cart-checkout-shipping-description { color: var(--text-muted); }
.cart-checkout-shipping-items { }
.cart-checkout-shipping-item { }
.cart-checkout-shipping-item-control { }
.cart-checkout-shipping-item-input { }
.cart-checkout-shipping-item-label { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }

@media (max-width: 991px) {
  .cart-checkout-contact-item-action { position: static; }
  .cart-checkout-buttons {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    margin: 0;
    display: flex;
  }
  .cart-checkout-submit, .cart-checkout-back {
    width: 100%;
    text-align: center;
    border-radius: 0;
  }
  .cart-checkout-back {
    background: rgba(10, 22, 40, 0.95);
    font-size: 1.25rem;
    line-height: 1.5;
    padding: .5rem 1rem;
    color: var(--text-secondary);
  }
}

/* ============================================================
   CART PAYMENT PAGE
   ============================================================ */

.cart-payment { }
.cart-payment-container { }
.cart-payment-context { }
.cart-payment-title { color: var(--text-primary); }
.cart-payment-description { color: var(--text-muted); }
.cart-payment-separator { border-color: rgba(255,255,255,0.06); }
.cart-payment-paid { }
.cart-payment-paid-description { }
.cart-payment-paid-details { }
.cart-payment-paid-download { }
.cart-payment-shipping { }
.cart-payment-shipping-title { }
.cart-payment-shipping-badge { }
.cart-payment-shipping-description { color: var(--text-muted); margin-bottom: 25px; }
.cart-payment-shipping-items { }
.cart-payment-shipping-item { }
.cart-payment-shipping-item-control { }
.cart-payment-shipping-item-input { }
.cart-payment-shipping-item-label { }
.cart-payment-details { }
.cart-payment-details-price { color: var(--gold-300); }
.cart-payment-details-price-badge { }
.cart-payment-details-created { color: var(--text-muted); }
.cart-payment-details-duedate { color: var(--text-muted); }
.cart-payment-method { }
.cart-payment-method-title { color: var(--text-primary); }
.cart-payment-method-title-badge { }
.cart-payment-method-description { color: var(--text-muted); margin-bottom: 25px; }
.cart-payment-method-online { }
.cart-payment-method-online-label { cursor: pointer; display: flex; align-items: center; }
.cart-payment-method-online-label::before, .cart-payment-method-online-label::after { top: calc(50% - 8px); }
.cart-payment-method-online-input { }
.cart-payment-method-bank { }
.cart-payment-method-bank-label { cursor: pointer; }
.cart-payment-method-bank-label::before, .cart-payment-method-bank-label::after { top: calc(50% - 8px); }
.cart-payment-method-bank-input { }
.cart-payment-method-wallet { }
.cart-payment-method-wallet-label { cursor: pointer; display: flex; align-items: center; }
.cart-payment-method-wallet-label::before, .cart-payment-method-wallet-label::after { top: calc(50% - 8px); }
.cart-payment-method-wallet-input { }
.cart-payment-method-cod { }
.cart-payment-method-cod-label { cursor: pointer; }
.cart-payment-method-cod-label::before, .cart-payment-method-cod-label::after { top: calc(50% - 8px); }
.cart-payment-method-cod-input { }
.cart-payment-bank-form { }
.cart-payment-bank-title { }
.cart-payment-bank-title-badge { }
.cart-payment-bank-description { color: var(--text-muted); margin-bottom: 25px; }
.cart-payment-bank-gateway { }
.cart-payment-bank-gateway-input { }
.cart-payment-transfer { line-height: 200%; }
.cart-payment-transfer-title { }
.cart-payment-transfer-title-badge { }
.cart-payment-transfer-description { color: var(--text-muted); margin-bottom: 25px; }
.cart-payment-transfer-name { }
.cart-payment-transfer-name-value { }
.cart-payment-transfer-owner { }
.cart-payment-transfer-owner-value { }
.cart-payment-transfer-pan { }
.cart-payment-transfer-pan-value { display: inline-block; direction: ltr; }
.cart-payment-transfer-iban { }
.cart-payment-transfer-iban-value { display: inline-block; direction: ltr; }
.cart-payment-transfer-account { }
.cart-payment-transfer-account-value { display: inline-block; direction: ltr; }
.cart-payment-fish { }
.cart-payment-fish-title { }
.cart-payment-fish-title-badge { }
.cart-payment-fish-description { color: var(--text-muted); margin-bottom: 25px; }
.cart-payment-fish-reference { }
.cart-payment-fish-reference-label { color: var(--text-secondary); }
.cart-payment-fish-reference-input { }
.cart-payment-fish-description-field { }
.cart-payment-fish-description-field-label { }
.cart-payment-fish-description-field-input { }
.cart-payment-fish-submit { margin-top: 5px; }
.cart-payment-online-form { }
.cart-payment-online-title { }
.cart-payment-online-title-badge { }
.cart-payment-online-description { color: var(--text-muted); margin-bottom: 25px; }
.cart-payment-online-gateway { }
.cart-payment-online-gateway-input { }
.cart-payment-online-submit { margin-top: 5px; }
.cart-payment-cod-form { }
.cart-payment-cod-submit { }
.cart-payment-loading { }
.cart-payment-succeed { }
.cart-payment-failed { }
.cart-payment-inline-error { }

@media (max-width: 991px) {
  .cart-payment-fish-submit,
  .cart-payment-online-submit,
  .cart-payment-cod-submit,
  .cart-payment-wallet-submit {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    border-radius: 0;
    text-align: center;
  }
}

/* ============================================================
   SUBSCRIPTION PAGE
   ============================================================ */

.subscription-container { }
.subscription-context { }
.subscription-title { color: var(--text-primary); }
.subscription-separator { border-color: rgba(255,255,255,0.06); }
.subscription-form { }
.subscription-failed { }
.subscription-succeed { }
.subscription-inline-error { }
.subscription-name { }
.subscription-name-label { color: var(--text-secondary); }
.subscription-name-input { }
.subscription-email { }
.subscription-email-label { }
.subscription-email-input { }
.subscription-mobile { }
.subscription-mobile-label { }
.subscription-mobile-input { }
.subscription-loading { margin: 20px 0 0; }
.subscription-submit { }
.subscription-cancel { }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-container { }
.contact-context { }
.contact-title { color: var(--text-primary); }
.contact-separator { border-color: rgba(255,255,255,0.06); }
.contact-form { }
.contact-succeed { }
.contact-failed { }
.contact-inline-error { }
.contact-name { }
.contact-email { }
.contact-phone { }
.contact-subject { }
.contact-body { }
.contact-body textarea { line-height: 200%; }
.contact-loading { margin: 20px 0 0; }
.contact-submit { }
.contact-reset { }

/* ============================================================
   RECOVERYPASS PAGE
   ============================================================ */

.recoverypass-container { }
.recoverypass-context { }
.recoverypass-title { color: var(--text-primary); }
.recoverypass-separator { border-color: rgba(255,255,255,0.06); }
.recoverypass-form { }
.recoverypass-form1 { }
.recoverypass-form2 { }
.recoverypass-failed { }
.recoverypass-description { color: var(--text-secondary); }
.recoverypass-succeed { }
.recoverypass-inline-error { }
.recoverypass-contact { }
.recoverypass-contact-label { color: var(--text-secondary); }
.recoverypass-contact-input { }
.recoverypass-token { }
.recoverypass-token-label { }
.recoverypass-token-input { }
.recoverypass-newpassword { }
.recoverypass-newpassword-label { }
.recoverypass-newpassword-input { }
.recoverypass-confirmpassword { }
.recoverypass-confirmpassword-label { }
.recoverypass-confirmpassword-input { }
.recoverypass-loading { margin: 20px 0 0; }
.recoverypass-submit { }
.recoverypass-cancel { }
.recoverypass-signup { }

/* ============================================================
   PROTECTION PAGE
   ============================================================ */

.protection-container { }
.protection-context { }
.protection-title { color: var(--text-primary); }
.protection-description { color: var(--text-secondary); }
.protection-separator { border-color: rgba(255,255,255,0.06); }
.protection-form { }
.protection-field { }
.protection-field-label { color: var(--text-secondary); }
.protection-field-input { }
.protection-submit { }

/* ============================================================
   MODAL / POPUP (Glassmorphism)
   ============================================================ */

.modal-content.popup-glass {
  padding: 0;
  border-radius: var(--radius-xl);
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-elevated);
  color: var(--text-secondary);
}

.modal-body { padding: 15px; }

.popup-img {
  width: 45px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.popup-close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  color: var(--text-muted);
  font-size: 24px;
  opacity: 0.7;
}

.popup-close:hover { opacity: 1; color: var(--gold-300); }

/* ============================================================
   BALE FLOATING BUTTON
   ============================================================ */

.bale-icon {
  width: 55px !important;
  height: 55px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 28px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  background: rgba(10, 22, 40, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid var(--glass-border) !important;
}

.bale-icon:hover {
  background: var(--gold-400) !important;
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold) !important;
}

/* ============================================================
   APARAT IFRAME
   ============================================================ */

.h_iframe-aparat_embed_frame { position: relative; }
.h_iframe-aparat_embed_frame span { padding-top: 57%; }
.h_iframe-aparat_embed_frame .ratio { display: block; width: 100%; height: auto; }
.h_iframe-aparat_embed_frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ============================================================
   TABLES
   ============================================================ */

.table {
  color: var(--text-secondary);
  border-color: rgba(255,255,255,0.06);
}

.table thead th {
  border-color: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.table tbody tr {
  border-color: rgba(255,255,255,0.06);
}

.table-hover tbody tr:hover {
  background: rgba(255,255,255,0.04);
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination .page-link {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  margin: 0 2px;
  transition: all var(--transition-fast);
}

.pagination .page-link:hover {
  background: var(--glass-bg-hover);
  border-color: var(--gold-400);
  color: var(--gold-300);
}

.pagination .page-item.active .page-link {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: #0A1628;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 575px) {
  .modern-showcase-item-title { font-size: 24px; }
  .modern-showcase-item-description { font-size: 15px; }
  .modern-features-title,
  .modern-testimonials-title,
  .modern-latest-posts-title { font-size: 24px; }
}

@media (max-width: 767px) {
  .modern-testimonials-item-image { width: 100%; }
  .modern-testimonials-item-context { width: 100%; }
  .modern-testimonials-next, .modern-testimonials-prev { top: 35%; }
}

@media (max-width: 991px) {
  .modern-showcase-item-context { width: 100%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   SAFETY: Force visibility after 4s if GSAP fails
   This prevents invisible sections when ScrollTrigger doesn't fire
   ============================================================ */

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

/* After 4 seconds, ensure all key sections are visible */
@media (prefers-reduced-motion: reduce) {
  .info-box, .feature-item, .stat-card, .testimonial-card,
  .post-card, .service-card, .clay-card, .clay-card-flat,
  .section-title, .section-subtitle, .page-title,
  .modern-info-box, .modern-features-item, .modern-statistics-item,
  .modern-testimonials-item, .modern-latest-posts-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

/* JavaScript adds this class after 4s as a safety net */
.gsap-fallback-visible .info-box,
.gsap-fallback-visible .feature-item,
.gsap-fallback-visible .stat-card,
.gsap-fallback-visible .testimonial-card,
.gsap-fallback-visible .post-card,
.gsap-fallback-visible .service-card,
.gsap-fallback-visible .clay-card,
.gsap-fallback-visible .clay-card-flat,
.gsap-fallback-visible .section-title,
.gsap-fallback-visible .section-subtitle,
.gsap-fallback-visible .page-title,
.gsap-fallback-visible .modern-info-box,
.gsap-fallback-visible .modern-features-item,
.gsap-fallback-visible .modern-statistics-item,
.gsap-fallback-visible .modern-testimonials-item,
.gsap-fallback-visible .modern-latest-posts-item {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Dark mode: ensure dark theme toggle button is always visible */
[data-theme="dark"] .theme-toggle svg {
  fill: #D4AF37;
}
