/* =================================
   Cheetah Butchery - Ultra Modern Design
   Red & White Professional Theme
   ================================= */

/* Variables */
:root {
    /* Dynamic colors from site settings - these will be overridden by inline styles in layout */
    --primary-color: #dc3545;
    --secondary-color: #c82333;
    --accent-color: #ff6b7a;
    --button-color: #dc3545;
    --button-hover-color: #c82333;
    --header-bg-color: #1a202c;
    --footer-bg-color: #1a202c;
    --text-color: #1a202c;
    --background-color: #ffffff;
    
    /* Legacy variable mapping for backward compatibility */
    --primary-red: var(--primary-color);
    --dark-red: var(--button-hover-color);
    --accent-red: var(--accent-color);
    --light-red: #ff8a95;
    
    /* Static design variables */
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.7);
    --text-light-gray: rgba(255, 255, 255, 0.5);
}

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

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #0d0d0d 100%);
    color: var(--text-white);
    overflow-x: clip;
    overflow-y: auto;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll; /* Force scrollbar to prevent layout shift */
    overflow-x: clip;
}

/* Custom Scrollbar - Ultra Modern */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-left: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.5);
    transition: all 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 0.8);
}

/* Selection Styling */
::selection {
    background: var(--primary-red);
    color: white;
}

::-moz-selection {
    background: var(--primary-red);
    color: white;
}

/* =================================
   NAVIGATION - Ultra Modern
   ================================= */

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #0a0a0a 0%, rgba(var(--primary-color-rgb), 0.15) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--primary-color-rgb), 0.1);
    overflow: visible;
}

/* Animated background grid for navbar */
.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: inset(0);
    background-image: 
        linear-gradient(rgba(var(--primary-color-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-color-rgb), 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: grid-flow 20s linear infinite;
    pointer-events: none;
}

@keyframes grid-flow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.navbar.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--primary-color-rgb), 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1.5rem;
    }
}

/* ── Brand / Logo ── */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: #ffffff;          /* kill browser visited-link purple */
    flex-shrink: 0;
    transition: opacity 0.22s;
}
.nav-brand:hover,
.nav-brand:visited,
.nav-brand:active { color: #ffffff; opacity: 0.82; text-decoration: none; }

/* Uploaded logo image */
.nav-logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

/* Accent icon — larger, glowing */
.nb-icon {
    color: var(--button-color, #dc3545);
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(var(--primary-color-rgb), 0.6));
    transition: filter 0.28s ease;
    display: flex;
    align-items: center;
    line-height: 1;
}
.nav-brand:hover .nb-icon {
    filter: drop-shadow(0 0 12px rgba(var(--primary-color-rgb), 1));
}

/* Thin separator */
.nb-sep {
    display: block;
    width: 1.5px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.22) 30%, rgba(255,255,255,0.22) 70%, transparent);
    border-radius: 2px;
    margin: 0 12px;
    flex-shrink: 0;
}

/* Wordmark — hero-title treatment */
.nb-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.1px;
    line-height: 1;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    text-transform: capitalize;
    /* gradient: white → brand accent — same as .hero-title */
    background: linear-gradient(135deg, #ffffff 15%, var(--accent-red, var(--primary-color, #dc3545)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* subtle glow behind the text */
    filter: drop-shadow(0 0 7px rgba(var(--primary-color-rgb), 0.4));
    transition: filter 0.28s ease;
}
.nav-brand:hover .nb-name {
    filter: drop-shadow(0 0 14px rgba(var(--primary-color-rgb), 0.85));
}

/* Legacy stubs — keep in case old HTML lingers */
.nav-logo-mark { display: none !important; }
.nav-wordmark  { display: none !important; }
.nav-icon-svg  { flex-shrink: 0; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

/* Hide mobile-only items on desktop */
.nav-menu .mobile-only {
    display: none;
}

.nav-menu li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    opacity: 0.9;
}

/* Navigation Actions - Ultra Modern */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-nav-link .nav-icon-svg {
    width: 14px;
    height: 14px;
}

.btn-nav-link .nav-text {
    white-space: nowrap;
}

.btn-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-nav-secondary {
    background: white;
    color: rgb(var(--header-bg-color-rgb));
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-nav-secondary:hover {
    opacity: 0.9;
}

/* Logout Button */
.btn-logout {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    font-family: inherit;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-logout .nav-icon-svg {
    width: 14px;
    height: 14px;
}

.btn-logout .nav-text {
    white-space: nowrap;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.btn-logout:active {
    transform: translateY(0);
}

.btn-cart {
    background: white;
    color: rgb(var(--header-bg-color-rgb));
    padding: 8px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.btn-cart .cart-text {
    whitespace: nowrap;
}

.cart-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.cart-icon-svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: var(--primary-color, #dc3545);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.4);
}

.btn-cart:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    color: white;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(var(--primary-color-rgb), 0.4);
    box-shadow: 0 0 18px rgba(var(--primary-color-rgb), .12);
}

.mobile-menu-btn:active {
    transform: scale(0.92);
}

.hamburger-box {
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    pointer-events: none;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-line--2 {
    width: 65%;
    margin-left: auto;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn:hover .hamburger-line--2 {
    width: 100%;
}

/* Active state — X morphing */
.mobile-menu-btn.is-active .hamburger-line--1 {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.is-active .hamburger-line--2 {
    opacity: 0;
    width: 0;
}

.mobile-menu-btn.is-active .hamburger-line--3 {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-btn.is-active {
    background: rgba(var(--primary-color-rgb), 0.15);
    border-color: rgba(var(--primary-color-rgb), 0.35);
    box-shadow: 0 0 20px rgba(var(--primary-color-rgb), .15);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {    background: linear-gradient(135deg, var(--button-color), var(--accent-color));
    color: white;
    box-shadow: 0 15px 45px rgba(220, 53, 69, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 60px rgba(220, 53, 69, 0.6);
    background: linear-gradient(135deg, var(--button-hover-color), var(--accent-color));
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-red);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.3);
}

/* =================================
   SECTIONS
   ================================= */

.page-wrapper {
    min-height: 100vh;
    padding-top: 80px;
}

.content-section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    padding: 120px 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 0.8s ease-out;
}

.section-badge {
    display: inline-block;
    padding: 12px 28px;
    background: rgba(var(--primary-color-rgb), 0.15);
    border: 1px solid rgba(var(--primary-color-rgb), 0.3);
    border-radius: 12px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 0.2);
    animation: glow 2s ease-in-out infinite;
}

.section-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -2px;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* Page Hero Section */
.page-hero {
    padding: 150px 5% 100px;
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.2), transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(var(--primary-color-rgb), 0.3);
    border-radius: 30px;
    color: var(--accent-red);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff, var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -3px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
    font-size: clamp(18px, 2.5vw, 22px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =================================
   CARDS
   ================================= */

.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-red));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 53, 69, 0.3);
    box-shadow: 0 25px 60px rgba(220, 53, 69, 0.2);
}

/* =================================
   FOOTER - Ultra Modern
   ================================= */

/* ═══════════════════════════════════════════
   FOOTER — Premium Dark + Light adaptive
   ═══════════════════════════════════════════ */
.footer {
    background: linear-gradient(180deg, #07070f 0%, #0d0d1c 100%);
    border-top: 1px solid rgba(var(--primary-color-rgb), 0.13);
    padding: 80px 2rem 0;
    position: relative;
    overflow: hidden;
    color: rgba(210, 210, 238, 0.75);
    transition: background 0.4s, color 0.4s, border-color 0.4s;
}

/* Top centred shimmer line */
.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, 90%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-color-rgb), 0.72) 45%, rgba(var(--primary-color-rgb), 0.72) 55%, transparent);
    pointer-events: none;
    z-index: 2;
}

/* Ambient background glow */
.footer::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    width: 920px;
    height: 520px;
    background: radial-gradient(ellipse at center, rgba(var(--primary-color-rgb), 0.05), transparent 68%);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.6fr;
    gap: 48px 56px;
    padding-bottom: 56px;
    position: relative;
    z-index: 1;
}

/* Section headings — small caps with accent underline */
.footer-section h3 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(235, 235, 255, 0.94);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 14px;
}
.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(.16,1,.3,1);
}
.footer-section:hover h3::after { width: 44px; }

/* Brand column body text */
.footer-section:first-child > p {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(192, 192, 228, 0.48);
    margin-bottom: 0;
    max-width: 275px;
}

.footer-section p,
.footer-section a {
    color: rgba(192, 192, 228, 0.56);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.24s, transform 0.28s cubic-bezier(.16,1,.3,1);
    font-size: 14px;
    line-height: 1.65;
}
.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Contact rows — icon box + text */
.ft-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 12px;
    text-decoration: none;
    transform: none;
}
.ft-contact-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(var(--primary-color-rgb), 0.09);
    border: 1px solid rgba(var(--primary-color-rgb), 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.28s, border-color 0.28s, transform 0.28s cubic-bezier(.16,1,.3,1);
}
.ft-contact-ico svg {
    width: 15px;
    height: 15px;
    color: var(--primary-color);
}
.ft-contact-txt {
    padding-top: 7px;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(192, 192, 228, 0.58);
    transition: color 0.24s;
}
.ft-contact-row:hover .ft-contact-ico {
    background: rgba(var(--primary-color-rgb), 0.2);
    border-color: rgba(var(--primary-color-rgb), 0.34);
    transform: scale(1.08);
}
.ft-contact-row:hover .ft-contact-txt { color: rgba(215, 215, 248, 0.85); }

/* Social links */
.social-links {
    display: flex;
    gap: 9px;
    margin-top: 26px;
    flex-wrap: wrap;
}
.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s, transform 0.32s cubic-bezier(.16,1,.3,1), box-shadow 0.3s, color 0.3s;
    text-decoration: none;
    color: rgba(220, 220, 248, 0.82);
}
.social-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Generic hover */
.social-link:hover {
    transform: translateY(-4px) scale(1.1);
}

/* Per-brand hover colours */
.social-link[aria-label="Facebook"]:hover   { background: #1877f2; border-color: #1877f2; color: #fff; box-shadow: 0 10px 28px rgba(24,119,242,.4); }
.social-link[aria-label="Instagram"]:hover  { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); border-color: #dd2a7b; color: #fff; box-shadow: 0 10px 28px rgba(221,42,123,.4); }
.social-link[aria-label="X / Twitter"]:hover{ background: #000; border-color: #333; color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.55); }
.social-link[aria-label="WhatsApp"]:hover   { background: #25d366; border-color: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.4); }

/* Newsletter form */
.newsletter-form { margin-top: 8px; }
.ft-nl-input-wrap {
    position: relative;
    margin-bottom: 10px;
}
.ft-nl-input-wrap > svg {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: rgba(192, 192, 228, 0.28);
    pointer-events: none;
}
.newsletter-form input {
    width: 100%;
    padding: 12px 14px 12px 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(220, 220, 248, 0.9);
    font-size: 13.5px;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    font-family: 'Inter', 'Poppins', sans-serif;
    outline: none;
    box-sizing: border-box;
}
.newsletter-form input:focus {
    border-color: rgba(var(--primary-color-rgb), 0.45);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}
.newsletter-form input::placeholder { color: rgba(192, 192, 228, 0.26); }
.newsletter-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover-color, var(--primary-color)));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: filter 0.28s, transform 0.28s cubic-bezier(.16,1,.3,1), box-shadow 0.3s;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}
.newsletter-form button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.13) 0%, transparent 55%);
    pointer-events: none;
}
.newsletter-form button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 12px 32px rgba(var(--primary-color-rgb), 0.38);
}

/* Horizontal rule between content and bottom bar */
.footer-divider {
    max-width: 1280px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07) 25%, rgba(255,255,255,0.07) 75%, transparent);
    position: relative;
    z-index: 1;
}

/* Bottom bar */
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 28px;
    color: rgba(192, 192, 228, 0.32);
    font-size: 12.5px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }

/* =================================
   ANIMATIONS - Ultra Smooth
   ================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 53, 69, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(220, 53, 69, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* =================================
   UTILITY CLASSES
   ================================= */

.gradient-text {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(220, 53, 69, 0.3);
}

/* =================================
   RESPONSIVE - Mobile First Enhanced
   ================================= */

/* Mobile Menu Styles — handled in main .mobile-menu-btn block above */

/* Tablet and Below (992px) */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }

    /* Hide main nav menu on desktop, show via hamburger */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu li a {
        display: block;
        padding: 16px 30px;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-menu li a::after {
        display: none;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: rgba(var(--primary-color-rgb), 0.1);
        color: white;
        text-shadow: none;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-container {
        padding: 1rem 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 120px 5% 60px;
    }

    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 25px;
    }
}

/* Tablet (768px) */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Hide all nav actions on mobile - use hamburger menu instead */
    .nav-actions .desktop-only {
        display: none !important;
    }

    /* Keep nav-actions for cart only */
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Show mobile menu items in hamburger */
    .nav-menu .mobile-only {
        display: block;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu .mobile-only:first-of-type {
        margin-top: 0;
        padding-top: 0;
    }

    .nav-menu .mobile-only a,
    .nav-menu .mobile-only .mobile-logout-btn {
        display: block;
        padding: 16px 30px;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        transition: all 0.3s;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
        font-size: 16px;
        cursor: pointer;
        font-family: inherit;
    }

    .nav-menu .mobile-only a:hover,
    .nav-menu .mobile-only .mobile-logout-btn:hover {
        background: rgba(var(--primary-color-rgb), 0.1);
        color: white;
    }

    .nav-menu .mobile-only.user-info {
        padding: 16px 30px;
        opacity: 0.7;
        font-size: 15px;
    }

    .nav-menu .mobile-only.user-info span {
        color: rgba(255, 255, 255, 0.85);
    }

    .btn-cart .cart-text {
        display: none;
    }

    .btn-cart {
        padding: 0;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .btn-cart .cart-icon-svg {
        width: 20px;
        height: 20px;
    }

    .cart-badge {
        top: -5px;
        right: -5px;
        min-width: 18px;
        height: 18px;
        font-size: 10px;
        padding: 0 4px;
    }

    .theme-toggle-btn {
        width: 36px;
        height: 36px;
    }
    .theme-toggle-btn .theme-icon {
        width: 16px;
        height: 16px;
    }

    .cart-icon {
        font-size: 22px;
    }

    .hero-container {
        padding: 100px 4% 50px;
        gap: 50px;
    }

    .hero-title {
        font-size: clamp(36px, 8vw, 64px);
    }

    .hero-description {
        font-size: clamp(15px, 2.5vw, 18px);
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        padding: 16px 35px;
        font-size: 15px;
    }

    .products-section,
    .categories-section {
        padding: 80px 4%;
    }

    .section-title {
        font-size: clamp(32px, 6vw, 48px);
    }

    .section-subtitle {
        font-size: clamp(14px, 2.5vw, 18px);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .product-image {
        height: 250px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .category-card {
        padding: 35px 25px;
    }

    .category-icon {
        font-size: 60px;
    }
}

/* Footer — 2-col on tablets */
@media (max-width: 768px) {
    .footer { padding: 64px 1.5rem 0; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 36px 28px; padding-bottom: 44px; }
    .footer-section:first-child > p { max-width: none; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 5px; padding: 18px 0 26px; }
}

/* Mobile Large (576px) */
@media (max-width: 576px) {
    .nb-name {
        font-size: 16px;
    }
    .nb-icon svg { width: 20px; height: 20px; }
    .nb-sep { margin: 0 9px; }

    .nav-container {
        padding: 0.9rem 1rem;
    }

    /* All nav actions hidden on mobile - use hamburger menu */
    .nav-actions .desktop-only {
        display: none !important;
    }

    .btn-cart {
        padding: 0;
        width: 40px;
        height: 40px;
    }

    .btn-cart .cart-icon-svg {
        width: 18px;
        height: 18px;
    }

    .cart-icon {
        font-size: 18px;
    }

    .cart-badge {
        min-width: 17px;
        height: 17px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }

    .theme-toggle-btn {
        width: 34px;
        height: 34px;
    }
    .theme-toggle-btn .theme-icon {
        width: 15px;
        height: 15px;
    }

    .hero-container {
        padding: 90px 5% 40px;
        gap: 40px;
    }

    .hero-badge {
        padding: 12px 20px;
        font-size: 10px;
        margin-bottom: 25px;
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 48px);
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: clamp(14px, 3vw, 16px);
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 14px;
    }

    .products-section,
    .categories-section {
        padding: 60px 5%;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-tag {
        padding: 10px 20px;
        font-size: 11px;
    }

    .section-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: clamp(13px, 3vw, 16px);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-card {
        border-radius: 18px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .product-price {
        font-size: 18px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .category-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .category-name {
        font-size: 20px;
    }

    /* Footer adjustments */
    .footer { padding: 52px 1.2rem 0; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
    .footer-section { text-align: center; }
    .footer-section h3::after { left: 50%; transform: translateX(-50%); }
    .footer-section:first-child > p { max-width: none; margin: 0 auto; }
    .social-links { justify-content: center; }
    .ft-contact-row { justify-content: center; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 16px 0 22px; }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 0.8rem;
    }

    .nb-name {
        font-size: 15px;
    }
    .nb-icon svg { width: 19px; height: 19px; }
    .nb-sep { margin: 0 8px; }

    /* All nav actions hidden on mobile - use hamburger menu */
    .nav-actions .desktop-only {
        display: none !important;
    }

    .btn-cart {
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 10px;
    }

    .btn-cart .cart-icon-svg {
        width: 17px;
        height: 17px;
    }

    .cart-icon {
        font-size: 16px;
    }

    .cart-badge {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
    }

    .theme-toggle-btn {
        width: 32px;
        height: 32px;
    }
    .theme-toggle-btn .theme-icon {
        width: 14px;
        height: 14px;
    }

    .hero-container {
        padding: 80px 5% 30px;
    }

    .hero-title {
        font-size: clamp(28px, 11vw, 40px);
        letter-spacing: -1.5px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        max-width: 100%;
    }

    .product-image {
        height: 220px;
    }
}

/* Mobile Extra Small (375px) */
@media (max-width: 375px) {
    .nav-container {
        padding: 0.7rem 0.6rem;
    }

    .nb-name {
        font-size: 14px;
    }
    .nb-icon svg { width: 18px; height: 18px; }
    .nb-sep { margin: 0 8px; height: 16px; }

    .nav-actions {
        gap: 3px;
    }

    .btn-nav-link {
        padding: 6px 8px;
        min-width: 38px;
    }

    .btn-nav-link .nav-icon-svg {
        width: 13px;
        height: 13px;
    }

    .btn-logout {
        padding: 6px 8px;
        min-width: 38px;
    }

    .btn-logout .nav-icon-svg {
        width: 13px;
        height: 13px;
    }

    .btn-cart {
        width: 36px;
        height: 36px;
    }

    .theme-toggle-btn {
        width: 30px;
        height: 30px;
    }
    .theme-toggle-btn .theme-icon {
        width: 13px;
        height: 13px;
    }

    .hero-badge {
        padding: 10px 16px;
        font-size: 9px;
    }

    .hero-title {
        font-size: clamp(24px, 12vw, 36px);
    }

    .section-title {
        font-size: clamp(24px, 9vw, 32px);
    }

    .products-grid {
        gap: 15px;
    }

    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-price {
        font-size: 16px;
    }
}

/* Mobile Mini (320px - iPhone SE) */
@media (max-width: 320px) {
    .nav-container {
        padding: 0.6rem 0.4rem;
    }

    .nb-name {
        font-size: 13px;
    }
    .nb-icon svg { width: 17px; height: 17px; }
    .nb-sep { margin: 0 7px; height: 15px; }

    .nav-actions {
        gap: 2px;
    }

    .btn-nav-link {
        padding: 5px 7px;
        font-size: 10px;
        min-width: 36px;
    }

    .btn-nav-link .nav-icon-svg {
        width: 12px;
        height: 12px;
    }

    .btn-logout {
        padding: 5px 7px;
        font-size: 10px;
        min-width: 36px;
    }

    .btn-logout .nav-icon-svg {
        width: 12px;
        height: 12px;
    }

    .btn-nav-secondary {
        padding: 5px 8px;
        font-size: 10px;
    }

    .btn-cart {
        width: 34px;
        height: 34px;
    }

    .cart-icon {
        font-size: 14px;
    }

    .cart-icon-svg {
        width: 15px;
        height: 15px;
    }

    .theme-toggle-btn {
        width: 28px;
        height: 28px;
    }
    .theme-toggle-btn .theme-icon {
        width: 12px;
        height: 12px;
    }

    .hero-title {
        font-size: clamp(22px, 13vw, 32px);
    }

    .hero-description {
        font-size: 13px;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        padding: 14px 25px;
        font-size: 13px;
    }

    .section-title {
        font-size: clamp(22px, 10vw, 28px);
    }

    .product-image {
        height: 180px;
    }
}
