/* Frontend Styles - Modern & Premium Design */

:root {
    --primary-red: #2C2C2C;
    --primary-red-dark: #1A1A1A;
    --primary-red-light: #4A4A4A;
    --text-dark: #212529;
    --text-gray: #6c757d;
    --text-light: #adb5bd;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    padding-top: 175px;
    overflow-x: hidden;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    z-index: 1052;
    position: relative;
    min-height: 55px;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    flex-shrink: 0;
    overflow: visible;
    position: relative;
    z-index: 1053;
    margin: 0;
}

/* Product detail page specific padding */
body.product-detail-page {
    padding-top: 140px;
}

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

/* Top Bar */
.top-bar {
    background-color: var(--primary-red);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1051;
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-weight: 500;
    white-space: nowrap;
}

.top-bar-link:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.top-bar-link i {
    font-size: 0.9rem;
}

.top-bar-center {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    padding: 0 3rem;
    display: inline-block;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}



.appointment-btn {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    padding: 0.6rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.appointment-btn::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: var(--transition-slow);
}

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

.appointment-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Main Header */
.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 35px;
    left: 0;
    right: 0;
    /* Kategoriler ve diğer tüm öğelerin üzerinde olacak şekilde yüksek z-index */
    z-index: 10005;
    transition: var(--transition);
    overflow: visible;
    min-height: 90px;
    border-bottom: 1px solid var(--border-color);
}

.main-header .container {
    position: relative;
    z-index: 10006;
}

.main-header.scrolled {
    top: 0;
    box-shadow: var(--shadow-md);
}

.categories-bar.scrolled {
    top: 90px;
}

.main-header.scrolled .logo-icon {
    z-index: 1053;
}

/* Categories Bar */
.categories-bar {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 125px;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    overflow: visible !important;
}

.categories-bar .container {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible !important;
}

.categories-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: visible !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    width: 100%;
    position: relative;
}

.categories-menu::-webkit-scrollbar {
    display: none;
}

.categories-menu .category-item {
    flex-shrink: 0;
    position: relative !important;
    z-index: 10002;
}

.categories-menu .category-item.has-dropdown {
    position: relative !important;
    z-index: 10002;
}

.category-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    height: 100%;
}

.category-link:hover,
.category-item:hover .category-link,
.category-link.active {
    color: var(--primary-red);
    background-color: rgba(220, 53, 69, 0.05);
}

.category-link i {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: var(--transition);
}

.category-item:hover .category-link i {
    transform: rotate(180deg);
}

/* Category Dropdown - Modern Shopify Style */
.category-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: white !important;
    min-width: 280px;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    list-style: none;
    margin: 0;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10003 !important;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: visible !important;
    pointer-events: none;
    margin-top: 0;
    display: block !important;
}

.category-item:hover .category-dropdown,
.category-item.has-dropdown:hover .category-dropdown,
.categories-menu .category-item:hover .category-dropdown,
.categories-menu .category-item.has-dropdown:hover .category-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
    display: block !important;
}

.category-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
}

.category-dropdown li {
    margin: 0;
    position: relative;
}

.dropdown-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown-link strong {
    font-weight: 600;
    color: var(--primary-red);
}

.dropdown-link:hover {
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.05) 0%, rgba(220, 53, 69, 0.02) 100%);
    color: var(--primary-red);
    padding-left: 1.75rem;
    border-left-color: var(--primary-red);
    transform: translateX(4px);
}

.dropdown-link:hover strong {
    color: var(--primary-red-dark);
}

/* Add subtle animation to dropdown items */
.category-item:hover .category-dropdown li,
.category-item.has-dropdown:hover .category-dropdown li {
    animation: fadeInUp 0.3s ease forwards;
}

.category-item:hover .category-dropdown li:nth-child(1) { animation-delay: 0.05s; }
.category-item:hover .category-dropdown li:nth-child(2) { animation-delay: 0.1s; }
.category-item:hover .category-dropdown li:nth-child(3) { animation-delay: 0.15s; }
.category-item:hover .category-dropdown li:nth-child(4) { animation-delay: 0.2s; }
.category-item:hover .category-dropdown li:nth-child(5) { animation-delay: 0.25s; }
.category-item:hover .category-dropdown li:nth-child(6) { animation-delay: 0.3s; }
.category-item:hover .category-dropdown li:nth-child(7) { animation-delay: 0.35s; }
.category-item:hover .category-dropdown li:nth-child(8) { animation-delay: 0.4s; }

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

/* Enhanced category link hover effect */
.category-item.has-dropdown:hover .category-link {
    background: linear-gradient(180deg, rgba(220, 53, 69, 0.08) 0%, rgba(220, 53, 69, 0.03) 100%);
    color: var(--primary-red);
}

.category-item.has-dropdown:hover .category-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
}

.dropdown-link strong {
    color: var(--primary-red);
    font-weight: 700;
}

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

.logo-section:hover {
    transform: scale(1.05);
}

.logo-section:hover .logo-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

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

.logo-text-main {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-text-sub {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.25rem;
    font-weight: 600;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-red);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
    transition: var(--transition);
    border-radius: 2px;
}

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

/* Header Search */
.header-search {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 10005;
    overflow: visible !important;
}

.search-form {
    position: relative;
    overflow: visible !important;
}

/* Header Search Suggestions */
.search-suggestions {
    position: fixed !important;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    margin-top: 0.35rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    z-index: 10004 !important;
    max-height: 380px;
    overflow-y: auto;
    padding: 0.5rem 0;
    display: none;
}

.search-suggestions.visible {
    display: block;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.search-suggestion-item:hover {
    background: var(--bg-light);
    text-decoration: none;
}

.search-suggestion-image {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
}

.search-suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.search-suggestion-info {
    flex: 1;
    min-width: 0;
}

.search-suggestion-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestion-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-suggestion-price {
    font-weight: 600;
    color: var(--primary-red);
}

.search-suggestions-empty {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.search-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.search-form .form-control {
    border: 2px solid var(--border-color);
    border-right: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.search-form .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: none;
}

.search-form .btn-primary {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-red);
    border-left: none;
    background: var(--primary-red);
    color: white;
}

.search-form .btn-primary:hover {
    background: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    color: white;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid transparent;
}

.header-action-btn:hover {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.1), rgba(26, 26, 26, 0.1));
    color: #2C2C2C;
    border-color: rgba(44, 44, 44, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.header-action-btn i {
    font-size: 1.1rem;
    color: #2C2C2C;
    transition: var(--transition);
}

.header-action-btn:hover i {
    transform: scale(1.1);
    color: #1A1A1A;
}

.header-action-btn .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #2C2C2C;
    color: white;
    border-radius: 12px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    border: 2px solid white;
    line-height: 1;
}

.header-action-btn span {
    color: var(--text-dark);
    transition: var(--transition);
}

.header-action-btn:hover span {
    color: #2C2C2C;
}

.action-icon {
    position: relative;
    color: var(--text-dark);
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.action-icon:hover {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.1), rgba(26, 26, 26, 0.1));
    color: #2C2C2C;
    transform: translateY(-3px) scale(1.1);
}

.action-icon .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #2C2C2C;
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s infinite;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-bottom: 6rem;
    overflow: hidden;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.85) 0%, rgba(200, 35, 51, 0.9) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.9) 0%, rgba(200, 35, 51, 0.95) 100%);
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    animation: slideUp 1s ease-out;
}

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

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideUp 1s ease-out 0.2s both;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
    animation: slideUp 1s ease-out 0.4s both;
}

.hero-btn {
    background-color: white;
    color: var(--text-dark);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    animation: slideUp 1s ease-out 0.6s both;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--text-dark);
}

.hero-btn i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.hero-btn:hover i {
    transform: translateX(5px);
}

/* Section Headings */
section h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 2px;
}

section .text-muted {
    font-size: 1.1rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 3rem;
}

/* Cards - Modern Design */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: white;
    position: relative;
}

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

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

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    transition: var(--transition-slow);
}

.card:hover .card-img-top {
    transform: scale(1.15);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.card:hover .card-title {
    color: var(--primary-red);
}

/* Product Cards */
.product-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .card-body .btn {
    margin-top: auto;
    padding: 0.5rem 0.75rem;
    min-height: 38px;
    white-space: nowrap;
}

.product-description {
    font-size: 0.875rem;
    line-height: 1.5;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile optimizations for product cards */
@media (max-width: 767.98px) {
    /* Force 2 columns on mobile */
    .products-grid .row > [class*="col-6"],
    .products-grid .row > [class*="col-md-4"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .products-grid .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .product-card .card-title {
        font-size: 0.9rem;
        line-height: 1.3;
        height: 2.6em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 0.5rem;
    }
    
    .product-card .card-title a {
        display: block;
    }
    
    .product-card .card-body {
        padding: 0.75rem;
    }
    
    .product-card .card-body .btn {
        font-size: 0.8rem;
        padding: 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 36px;
    }
    
    .product-description {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        min-height: 2.6em;
    }
    
    .product-card .price-display {
        margin-bottom: 0.5rem !important;
    }
}

/* Products Page Styles */
.page-header {
    background: var(--bg-white);
    color: var(--text-dark);
    margin-top: 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    color: #2C2C2C;
    font-size: 1.5rem;
    font-weight: 600;
}

.page-header .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-flex;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: white;
}

.products-section {
    background: var(--bg-light);
    min-height: 60vh;
}

/* Filters Sidebar */
.filters-sidebar {
    position: sticky;
    top: 100px;
}

.filters-container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

/* Active Filters Chips */
.active-filters {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.active-filter-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.active-filter-chip a:hover {
    opacity: 0.8;
}

/* Price Range Slider */
.price-slider-wrapper {
    padding: 1rem 0;
}

.price-range-slider {
    position: relative;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    margin: 1rem 0;
}

.price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-red);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-red);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.price-range-slider input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

/* Color Filter Preview */
.color-filter-item .color-preview {
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.color-filter-item input:checked + label .color-preview {
    box-shadow: 0 0 0 3px var(--primary-red);
    transform: scale(1.1);
}

/* Product Detail Page Styles */
.breadcrumb-section {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    margin-top: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.product-detail-section {
    background: var(--bg-light);
    min-height: 60vh;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 120px;
    z-index: 10;
}

.main-image-wrapper {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: zoom-in;
}

.main-product-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

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

.image-zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    opacity: 0;
    transition: var(--transition);
}

.main-image-wrapper:hover .image-zoom-hint {
    opacity: 1;
}

.thumbnail-images {
    margin-top: 1rem;
}

.thumbnail-image {
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumbnail-image:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--primary-red);
}

.thumbnail-image.active {
    opacity: 1;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

/* Thumbnail Images Vertical (Left Side) */
.thumbnail-images-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.thumbnail-item {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.thumbnail-item:hover {
    border-color: var(--primary-red);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

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

.thumbnail-item .thumbnail-image.active {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.3);
}

/* Product Info */
.product-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
}

.stars-rating {
    color: #ffc107;
}

.product-price {
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.price-current {
    color: var(--primary-red);
}

.discount-badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.stock-status {
    margin-top: 1rem;
}

/* Variant Selection */
.variant-selection {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

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

.variant-group:last-child {
    margin-bottom: 0;
}

.variant-option {
    min-width: 50px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.variant-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.variant-option.active {
    background: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    color: white !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
    font-weight: 600;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    position: relative;
    min-width: 40px;
    border: 2px solid transparent;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5), 0 0 0 5px rgba(220, 53, 69, 0.2);
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.color-option.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    z-index: 1;
}

/* Quantity Selector */
.quantity-selector {
    flex-shrink: 0;
}

.quantity-input-group {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.quantity-input-group .btn {
    border-radius: 0;
    border: none;
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.quantity-input-group .btn:hover {
    background: var(--primary-red);
    color: white;
}

.quantity-input-group .btn:active {
    transform: scale(0.95);
}

.quantity-input-group input {
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 1.1rem;
    background: white;
    pointer-events: none;
}

.quantity-input-group input:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

/* Shipping Info */
.shipping-info {
    padding: 0.5rem 0;
}

.shipping-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.shipping-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-red);
}

.shipping-card-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.shipping-card-header i {
    font-size: 1.2rem;
}

.shipping-card-body {
    padding: 1.5rem;
}

.shipping-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    line-height: 1.6;
}

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

.shipping-item strong {
    color: var(--text-dark);
    display: inline-block;
    min-width: 140px;
    font-weight: 600;
}

/* Trust Badges */
.trust-badges {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 1rem;
}

.trust-badge-item {
    transition: var(--transition);
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.trust-badge-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red) !important;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(200, 35, 51, 0.05));
}

.trust-badge-icon {
    transition: var(--transition);
}

.trust-badge-item:hover .trust-badge-icon {
    transform: scale(1.1);
}

.trust-badge-item:hover .trust-badge-icon i {
    color: var(--primary-red) !important;
}

/* Product Tabs */
.product-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    padding: 0 1rem;
    margin: 0;
}

.product-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-gray);
    padding: 1rem 1.5rem;
    transition: var(--transition);
}

.product-tabs .nav-link:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.product-tabs .nav-link.active {
    color: var(--primary-red);
    background: transparent;
    border-bottom-color: var(--primary-red);
    font-weight: 600;
}

.product-description-content {
    line-height: 1.8;
    color: var(--text-dark);
    text-align: left !important;
}

/* Reviews Section */
.reviews-section {
    max-width: 100%;
}

.reviews-summary {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.average-rating-display {
    padding: 1rem;
}

.rating-bar .progress {
    background-color: var(--bg-light);
}

.rating-bar .progress-bar {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
}

.review-item {
    padding: 1rem 0;
}

.review-item:last-child {
    border-bottom: none !important;
}

/* Sticky Add to Cart (Mobile) */
.sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Social Share */
.social-share .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .product-gallery {
        position: static;
        margin-bottom: 2rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-info {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .product-title {
        font-size: 1.25rem;
    }
    
    .variant-options {
        gap: 0.5rem !important;
    }
    
    .add-to-cart-section {
        flex-direction: column;
    }
    
    .quantity-selector {
        width: 100%;
    }
    
    .quantity-selector .input-group {
        width: 100% !important;
    }
}

.filter-section {
    margin-bottom: 1rem;
}

.filter-accordion {
    --bs-accordion-border-color: var(--border-color);
    --bs-accordion-border-radius: 8px;
    --bs-accordion-inner-border-radius: 8px;
}

.filter-accordion .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.filter-accordion .accordion-button {
    background: transparent;
    border: none;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    box-shadow: none;
}

.filter-accordion .accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-red);
}

/* Always open filters (Categories, Price) */
.filter-accordion .accordion-item:first-child .accordion-button,
.filter-accordion .accordion-item:nth-child(2) .accordion-button {
    font-weight: 700;
}

.filter-accordion .accordion-item:first-child .accordion-button:not(.collapsed),
.filter-accordion .accordion-item:nth-child(2) .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border-left: 3px solid var(--primary-red);
}

.filter-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.filter-accordion .accordion-body {
    padding: 1rem;
    padding-top: 0.5rem;
}

.filter-group {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.filter-title i {
    color: var(--primary-red);
}

.filter-list {
    max-height: 300px;
    overflow-y: auto;
}

.filter-list .form-check {
    padding: 0.5rem 0;
}

.filter-list .form-check-label {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-gray);
    transition: var(--transition);
}

.filter-list .form-check-input:checked + .form-check-label {
    color: var(--primary-red);
    font-weight: 500;
}

.filter-list .form-check-input {
    cursor: pointer;
    margin-top: 0.25rem;
}

.filter-list .form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Products Toolbar */
.products-toolbar {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.products-toolbar .form-select {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.5rem 2.5rem 0.5rem 1rem;
}

.products-toolbar .btn-group .btn {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.products-toolbar .btn-check:checked + .btn {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

/* List View */
.products-grid.list-view .product-card {
    flex-direction: row;
    max-width: 100%;
}

.products-grid.list-view .product-image-wrapper {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.products-grid.list-view .card-body {
    padding: 2rem;
    flex: 1;
}

.products-grid.list-view .product-description {
    min-height: auto;
    -webkit-line-clamp: 3;
    margin-bottom: 1rem;
}

.products-grid.list-view .price-display {
    justify-content: flex-start !important;
    margin-bottom: 1.5rem;
}

.products-grid.list-view .btn {
    width: auto;
    min-width: 200px;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.pagination .page-link {
    color: var(--primary-red);
    border-color: var(--border-color);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 991.98px) {
    .filters-sidebar {
        position: static;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-image-wrapper {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .products-toolbar {
        padding: 0.75rem;
    }
    
    .products-toolbar .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .products-toolbar .form-select,
    .products-toolbar .btn-group {
        width: 100%;
    }
    
    .products-toolbar .form-select {
        width: 100% !important;
    }
}

.product-card .badge {
    position: absolute;
    top: 15px;
    z-index: 10;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.product-card .badge.bg-danger,
body.theme-funori .badge.bg-danger,
body.theme-funori .alert-danger,
body.theme-funori .text-danger,
body.theme-funori .btn-danger {
    background-color: #2C2C2C !important;
    color: white !important;
    border-color: #2C2C2C !important;
}

body.theme-funori .alert-danger {
    background-color: #f8f9fa !important;
    border-left: 4px solid #2C2C2C !important;
    color: #2C2C2C !important;
}

body.theme-funori .text-danger {
    color: #2C2C2C !important;
}

body.theme-funori .btn-danger {
    background-color: #2C2C2C !important;
    border-color: #2C2C2C !important;
    color: white !important;
}

body.theme-funori .btn-danger:hover {
    background-color: #1A1A1A !important;
    border-color: #1A1A1A !important;
}

body.theme-funori .btn-outline-danger {
    background-color: transparent !important;
    color: #2C2C2C !important;
    border-color: #2C2C2C !important;
}

body.theme-funori .btn-outline-danger:hover {
    background-color: #2C2C2C !important;
    color: white !important;
    border-color: #2C2C2C !important;
}

.product-card .badge.bg-danger {
    right: 15px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark)) !important;
}

.product-card .badge.bg-warning {
    left: 15px;
    background: linear-gradient(135deg, #ffc107, #ff9800) !important;
    color: white;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--bg-light);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1) rotate(2deg);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 5;
}

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

.product-overlay-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .product-overlay-content {
    transform: translateY(0);
}

.overlay-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-size: 1.1rem;
}

.overlay-icon:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.overlay-icon.active {
    background: var(--primary-red);
    color: white;
}

.overlay-icon.active:hover {
    background: var(--primary-red-dark);
    color: white;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.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: var(--transition-slow);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red);
}

/* Price Display */
.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-current {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

.price-old {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* Section Spacing */
section {
    padding: 5rem 0;
    position: relative;
}

section.bg-light {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    transform: translateY(-15px);
}

.process-step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.process-step:hover .process-step-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.process-step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    opacity: 0;
    transition: var(--transition);
}

.process-step:hover .process-step-number::before {
    opacity: 0.3;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.process-step h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
}

/* Blog Cards */
.blog-card {
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.blog-card:hover .card-img-top {
    transform: scale(1.1);
}

.blog-date {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card .card-title {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card .card-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Social Proof Notification */
.social-proof-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 999;
    animation: slideInLeft 0.5s ease-out;
    max-width: 350px;
    border-left: 4px solid var(--primary-red);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.social-proof-notification img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.social-proof-content {
    flex: 1;
}

.social-proof-content strong {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.social-proof-content small {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.social-proof-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition);
}

.social-proof-close:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

/* Footer */
footer {
    background: linear-gradient(180deg, #343a40 0%, #212529 100%);
    color: white;
    margin-top: 6rem;
    padding: 4rem 0 2rem;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

footer a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

footer .text-muted {
    color: rgba(255,255,255,0.6) !important;
}

/* Responsive */
@media (max-width: 992px) {
    body {
        padding-top: 200px;
    }
    
    .top-bar {
        padding: 0.4rem 0;
        font-size: 0.75rem;
    }
    
    .top-bar-left {
        gap: 1rem;
    }
    
    .top-bar-center {
        display: none;
    }
    
    .main-header {
        top: 30px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .header-search {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
    
    .categories-bar {
        top: 110px;
    }
    
    .categories-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 220px;
    }
    
    .top-bar {
        padding: 0.3rem 0;
        font-size: 0.7rem;
    }
    
    .top-bar-left {
        gap: 0.75rem;
    }
    
    .top-bar-link span {
        display: none;
    }
    
    .main-header {
        top: 25px;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo-text-main {
        font-size: 1.5rem;
    }
    
    .header-action-btn span {
        display: none;
    }
    
    .categories-bar {
        top: 105px;
        padding: 0.5rem 0;
    }
    
    .categories-menu {
        gap: 0.75rem;
        font-size: 0.8rem;
    }
    
    .hero-section {
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .process-step-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .social-proof-notification {
        left: 15px;
        right: 15px;
        max-width: none;
    }
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    z-index: 9999;
    min-width: 300px;
    transform: translateX(400px);
    opacity: 0;
    transition: var(--transition);
    border-left: 4px solid var(--primary-red);
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification.toast-success {
    border-left-color: #28a745;
}

.toast-notification.toast-error {
    border-left-color: #2C2C2C !important;
}

.toast-notification.toast-info {
    border-left-color: #17a2b8;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.toast-content i {
    font-size: 1.25rem;
}

.toast-success .toast-content i {
    color: #28a745;
}

.toast-error .toast-content i {
    color: #2C2C2C;
}

.toast-info .toast-content i {
    color: #17a2b8;
}

.toast-content span {
    flex: 1;
    font-weight: 500;
    color: var(--text-dark);
}

/* Utility Classes */
.text-red {
    color: var(--primary-red) !important;
}

.bg-red {
    background-color: var(--primary-red) !important;
}

.border-red {
    border-color: var(--primary-red) !important;
}

/* Account Sidebar */
.account-sidebar {
    position: sticky;
    top: 160px;
}

.account-sidebar .card {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.account-sidebar .list-unstyled {
    margin: 0;
    padding: 0;
}

.account-sidebar .list-unstyled li {
    margin-bottom: 0.5rem;
}

.account-sidebar .list-unstyled a {
    display: block;
    padding: 0.75rem 1rem;
    color: #555;
    text-decoration: none;
}

/* Homepage Editor Styles */
.homepage-editor-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    display: block;
}

.homepage-editor-toolbar:not(.active) {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.homepage-editor-toolbar.active {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.homepage-editor-toolbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.edit-mode-active {
    padding-top: 250px;
}

#homepageSections.edit-mode .homepage-section-wrapper {
    position: relative;
    margin-bottom: 1rem;
    border: 2px dashed transparent;
    transition: var(--transition);
}

#homepageSections.edit-mode .homepage-section-wrapper:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.section-editor-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(200, 35, 51, 0.1));
    border-bottom: 2px solid var(--primary-red);
    border-radius: 8px 8px 0 0;
}

.section-handle {
    cursor: grab;
    color: var(--primary-red);
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.section-handle:active {
    cursor: grabbing;
}

.section-handle:hover {
    color: var(--primary-red-dark);
    transform: scale(1.1);
}

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

.section-type-badge {
    background: var(--primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.section-title-preview {
    color: var(--text-dark);
    font-weight: 500;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edit-section-btn {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.edit-section-btn:hover {
    background: var(--primary-red);
    color: white;
}

.section-ghost {
    opacity: 0.5;
    background: var(--bg-light);
}

.section-chosen {
    border-color: var(--primary-red) !important;
    box-shadow: var(--shadow-lg) !important;
}

.section-drag {
    opacity: 0.8;
}

.section-content {
    position: relative;
}

#homepageSections.edit-mode .section-content {
    opacity: 1;
}

#homepageSections.edit-mode .homepage-section-wrapper:not(.is-visible) .section-content {
    opacity: 0.5;
    filter: grayscale(50%);
}
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.account-sidebar .list-unstyled a:hover,
.account-sidebar .list-unstyled a.active {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateX(5px);
    font-weight: 600;
}

/* Statistics Cards */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary-red);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1;
}

.stat-card p {
    margin: 0;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 1rem;
}

/* Tables */
.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
}

.table thead th {
    border: none;
    padding: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: var(--bg-light);
    transform: scale(1.01);
}

.table tbody td {
    padding: 1.25rem;
    vertical-align: middle;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 0.875rem 1.25rem;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
    transform: translateY(-2px);
}

/* Cart Upsell Styles */
.cart-upsell-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.cart-upsell-alert {
    border-left: 4px solid #ffc107;
    background: #fff3cd;
}

.cart-upsell-alert .progress {
    background-color: #e9ecef;
    border-radius: 4px;
}

.cart-upsell-alert .progress-bar {
    transition: width 0.3s ease;
}

.cart-upsell-products h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cart-upsell-products .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-upsell-products .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.cart-upsell-products .card-img-top {
    border-radius: 4px 4px 0 0;
}

.cart-upsell-products .card-title a {
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.4;
}

.cart-upsell-products .card-title a:hover {
    color: var(--primary-red);
}

.cart-upsell-bundle .alert {
    border-left: 4px solid #0dcaf0;
    background: #d1ecf1;
}

.cart-upsell-bundle .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-upsell-bundle .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Exit Intent Popup Styles */
.exit-intent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.exit-intent-popup {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

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

.exit-intent-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.exit-intent-close:hover {
    color: #2C2C2C;
}

.exit-intent-content {
    text-align: center;
}

.exit-intent-icon {
    margin-bottom: 1.5rem;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.exit-intent-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.exit-intent-message {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.exit-intent-coupon {
    margin: 1.5rem 0;
    animation: fadeIn 0.5s ease;
}

.exit-intent-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.exit-intent-actions .btn {
    min-width: 150px;
}

@media (max-width: 576px) {
    .exit-intent-popup {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .exit-intent-title {
        font-size: 1.5rem;
    }
    
    .exit-intent-message {
        font-size: 1rem;
    }
    
    .exit-intent-actions {
        flex-direction: column;
    }
    
    .exit-intent-actions .btn {
        width: 100%;
    }
}
