:root {
  color-scheme: light;
  --primary: #ee3124;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --text: #2f2f2f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, var(--dark), #3a3a3a);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ffb4a9;
  font-weight: 600;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 10px 0;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.section-title {
  margin-bottom: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  display: block;
  padding: 24px;
  background: white;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-top: 0;
  color: var(--dark);
}

.footer {
  text-align: center;
  padding: 24px 20px 40px;
  color: #666;
}


/* ============================================
   BASE & UTILITIES
   ============================================ */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.loader-active {
    overflow: hidden;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ============================================
   MEGA DROPDOWN MENU
   ============================================ */
.nav-item-products {
    position: relative;
}

.mega-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(0);
    width: min(88vw, 780px);
    background: #ffffff;
    border-radius: 0.85rem;
    box-shadow: 0 30px 60px -15px rgba(26, 15, 13, 0.28), 0 0 0 1px rgba(26, 15, 13, 0.05);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(.22, 1, .36, 1), transform 0.25s cubic-bezier(.22, 1, .36, 1), visibility 0.25s;
    z-index: 60;
    overflow: hidden;
}

.nav-item-products:hover .mega-dropdown,
.nav-item-products:focus-within .mega-dropdown,
.nav-item-products .mega-dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 2px;
}

.mega-dropdown-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
}

.mega-col {
    padding: 1.25rem 1rem;
    border-right: 1px solid #f1e5e3;
}

.mega-col:last-child {
    border-right: none;
}

.mega-col-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.mega-col-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(238, 49, 36, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-col-icon .material-symbols-outlined {
    font-size: 16px;
    color: #EE3124;
}

.mega-col-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: 0.01em;
}

.mega-col-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    color: #a3908d;
    letter-spacing: 0.04em;
    display: block;
    margin-top: 1px;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.3;
    color: #4A4A4A;
    padding: 0.28rem 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.mega-link::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e7bdb7;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.mega-link:hover {
    color: #EE3124;
    transform: translateX(3px);
}

.mega-link:hover::before {
    background: #EE3124;
    transform: scale(1.3);
}

.nav-caret {
    font-size: 18px !important;
    transition: transform 0.2s ease;
    vertical-align: -4px;
}

.nav-item-products:hover .nav-caret {
    transform: rotate(180deg);
}

/* ============================================
   HEADER FIXES
   ============================================ */
nav {
    height: 80px !important;
}

nav>div {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

nav img {
    width: auto;
    height: 40px !important;
    max-width: 360px;
    object-fit: contain;
    display: block;
}

nav .hidden.md\:flex {
    display: flex;
    align-items: center;
    margin-left: auto;
}

nav .hidden.md\:flex>a,
nav .hidden.md\:flex>div>a {
    white-space: nowrap;
    font-size: 15px;
}

nav .flex.items-center.gap-4>a {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 190px;
    height: 52px;
    padding: 0 24px !important;
    background: #EE3124 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center;
    transition: all 0.25s ease;
}

nav .flex.items-center.gap-4>a:hover {
    background: #bc0004 !important;
    transform: translateY(-1px);
}

nav .flex.justify-between {
    padding-left: 40px;
    padding-right: 40px;
    gap: 30px;
}

@media (max-width: 1200px) {
    nav .hidden.md\:flex {
        gap: 18px;
    }
    nav .hidden.md\:flex>a,
    nav .hidden.md\:flex>div>a {
        font-size: 13px;
    }
    nav .flex.items-center.gap-4>a {
        min-width: 160px;
        padding: 0 18px !important;
    }
}

@media (max-width: 1024px) {
    nav .hidden.md\:flex {
        gap: 12px;
    }
    nav .hidden.md\:flex>a,
    nav .hidden.md\:flex>div>a {
        font-size: 12px;
    }
    nav .flex.items-center.gap-4>a {
        min-width: 150px;
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    .mega-dropdown {
        left: 1rem;
        right: 1rem;
        transform: translateX(0) translateY(0);
        width: auto;
        border-radius: 0.75rem;
        top: calc(100% + 8px);
    }
    .mega-dropdown::before {
        display: none;
    }
    .mega-dropdown-inner {
        grid-template-columns: 1fr;
    }
    .mega-col {
        border-right: none;
        border-bottom: 1px solid #f1e5e3;
        padding: 1rem 0.75rem;
    }
    .mega-col:last-child {
        border-bottom: none;
    }
    .nav-item-products:hover .mega-dropdown,
    .nav-item-products:focus-within .mega-dropdown {
        transform: translateX(0) translateY(0);
    }
}

/* ============================================
   PRODUCT DETAIL PAGE SPECIFIC
   ============================================ */
.thumb-btn {
    border: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.65;
}

.thumb-btn.active,
.thumb-btn:hover {
    border-color: #EE3124;
    opacity: 1;
}

.spec-row:nth-child(odd) {
    background: #fff8f7;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(238, 49, 36, 0.08);
    color: #bc0004;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
}

.detail-tab {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #4A4A4A;
    padding: 1rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.detail-tab.active,
.detail-tab:hover {
    color: #EE3124;
    border-color: #EE3124;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.related-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
}

