/**
 * ROMAX MARKETING - Main Stylesheet
 * Premium Power Tools Ecommerce Website
 * Colors: Primary Red #C62828, Dark Black #111111, Light Silver #E5E5E5, White #FFFFFF
 */

/* ========================================
   CSS Variables
======================================== */
:root {
    --primary-red: #C62828;
    --primary-red-dark: #8E0000;
    --primary-red-light: #FF5F52;
    --dark-black: #111111;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #E5E5E5;
    --lighter-gray: #f5f5f5;
    --white: #FFFFFF;
    --text-dark: #222222;
    --text-gray: #666666;
    --text-light: #999999;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--lighter-gray);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ========================================
   Preloader
======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-black) 0%, var(--dark-gray) 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.gear-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.gear {
    position: absolute;
    color: var(--primary-red);
    animation: rotate 3s linear infinite;
}

.gear-large {
    font-size: 80px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 20px rgba(198, 40, 40, 0.5));
}

.gear-small {
    font-size: 40px;
    bottom: 0;
    right: 0;
    animation-direction: reverse;
    filter: drop-shadow(0 0 10px rgba(198, 40, 40, 0.5));
}

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

.preloader-text {
    margin-bottom: 30px;
}

.preloader-text .brand-name {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 8px;
    text-shadow: 0 0 30px rgba(198, 40, 40, 0.5);
}

.preloader-text .loading-text {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 4px;
    margin-top: 10px;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: var(--medium-gray);
    border-radius: 2px;
    margin: 0 auto 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
    width: 0%;
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(198, 40, 40, 0.5);
}

.loading-percentage {
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 600;
}

/* ========================================
   Top Header
======================================== */
.top-header {
    background: linear-gradient(135deg, var(--dark-black) 0%, var(--medium-gray) 100%);
    padding: 8px 0;
    font-size: 12px;
    color: var(--white);
}

.top-header-left .free-delivery {
    color: var(--light-gray);
}

.top-header-left .free-delivery i {
    color: var(--primary-red);
    margin-right: 5px;
}

.top-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.top-header-links {
    display: flex;
    gap: 20px;
}

.top-header-links li a {
    color: var(--light-gray);
    transition: var(--transition);
}

.top-header-links li a:hover {
    color: var(--primary-red);
}

.top-header-links li a i {
    margin-right: 5px;
    color: var(--primary-red);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--medium-gray);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

/* ========================================
   Main Header
======================================== */
.main-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

.logo img {
    max-height: 50px;
    transition: var(--transition);
}

.main-header.scrolled .logo img {
    max-height: 40px;
}

/* Search Bar */
.search-bar .input-group {
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.search-bar .input-group:focus-within {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.search-bar .form-control {
    border: none;
    padding: 12px 20px;
    font-size: 14px;
}

.search-bar .form-control:focus {
    box-shadow: none;
}

.search-bar .btn-search {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    transition: var(--transition);
}

.search-bar .btn-search:hover {
    background: var(--primary-red-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.header-action-item i {
    font-size: 20px;
    margin-bottom: 3px;
    transition: var(--transition);
}

.header-action-item:hover {
    color: var(--primary-red);
}

.header-action-item:hover i {
    transform: scale(1.1);
}

.header-action-item .action-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.header-action-item span:not(.action-count) {
    font-size: 11px;
    font-weight: 500;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
}

/* ========================================
   Navigation Bar
======================================== */
.nav-bar {
    background: var(--dark-black);
    padding: 0;
}

.category-toggle {
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    width: 100%;
}

.category-toggle:hover {
    background: var(--primary-red-dark);
}

.category-toggle .arrow {
    margin-left: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-links li.dropdown:hover > a i {
    transform: rotate(180deg);
}

.nav-links li a i {
    margin-left: 5px;
    font-size: 10px;
    transition: var(--transition);
}

/* Dropdown Menu */
.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    border-top: 3px solid var(--primary-red);
}

.nav-links li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px !important;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.dropdown-menu li a:hover {
    background: var(--lighter-gray) !important;
    color: var(--primary-red) !important;
    padding-left: 25px !important;
}

.dropdown-menu li a i {
    color: var(--primary-red);
    margin-left: 0;
    width: 20px;
}

/* ========================================
   Category Sidebar (BuyZone Style)
======================================== */
.category-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transition: var(--transition);
    overflow-y: auto;
}

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

.sidebar-header {
    background: var(--dark-black);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.sidebar-header h3 i {
    margin-right: 10px;
    color: var(--primary-red);
}

.close-sidebar {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.close-sidebar:hover {
    color: var(--primary-red);
}

.category-list {
    padding: 10px 0;
}

.category-item {
    border-bottom: 1px solid var(--light-gray);
}

.category-item > a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.category-item > a:hover {
    background: var(--lighter-gray);
    color: var(--primary-red);
    padding-left: 25px;
}

.category-item > a > i:first-child {
    width: 30px;
    color: var(--primary-red);
    font-size: 16px;
}

.category-item > a > span {
    flex: 1;
}

.category-item > a > .arrow {
    font-size: 10px;
    color: var(--text-light);
    transition: var(--transition);
}

.category-item:hover > a > .arrow {
    transform: rotate(90deg);
}

.subcategory-list {
    display: none;
    background: var(--lighter-gray);
}

.category-item:hover .subcategory-list {
    display: block;
}

.subcategory-list li a {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 60px;
    color: var(--text-gray);
    font-size: 13px;
    transition: var(--transition);
}

.subcategory-list li a:hover {
    color: var(--primary-red);
    background: var(--white);
}

.subcategory-list li a i {
    margin-right: 10px;
    color: var(--primary-red);
    font-size: 12px;
}

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

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

/* Mobile Search */
.mobile-search {
    padding: 15px 0;
}

.mobile-search .input-group {
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.mobile-search .btn-search {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 10px 20px;
}

/* ========================================
   Hero Slider
======================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 0 15px;
}

.hero-subtitle {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 18px;
    color: var(--light-gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-red);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-red);
    color: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--primary-red-dark);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* ========================================
   Buttons
======================================== */
.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(198, 40, 40, 0.3);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-black);
    transform: translateY(-2px);
}

.btn-outline-red {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-red:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-add-cart {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    width: 100%;
}

.btn-add-cart:hover {
    background: var(--primary-red-dark);
    color: var(--white);
}

.btn-quick-view {
    background: var(--dark-black);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    width: 100%;
}

.btn-quick-view:hover {
    background: var(--medium-gray);
    color: var(--white);
}

/* ========================================
   Section Styles
======================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-black);
    margin-bottom: 15px;
}

.section-description {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Featured Categories
======================================== */
.category-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
}

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

.category-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-card-image img {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.category-card-content {
    color: var(--white);
}

.category-card-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-card-content p {
    font-size: 12px;
    opacity: 0.8;
}

.category-card-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.category-card:hover .category-card-icon {
    transform: rotate(360deg);
}

/* ========================================
   Product Card
======================================== */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    padding: 20px;
    background: var(--lighter-gray);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-height: 180px;
    transition: var(--transition);
}

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

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-sale {
    background: var(--primary-red);
    color: var(--white);
}

.badge-new {
    background: var(--success);
    color: var(--white);
}

.badge-stock {
    background: var(--warning);
    color: var(--dark-black);
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 35px;
    height: 35px;
    background: var(--white);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.product-action-btn.wishlist-btn.active {
    background: var(--primary-red);
    color: var(--white);
}

.product-info {
    padding: 15px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 11px;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name:hover {
    color: var(--primary-red);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.product-rating .rating-count {
    font-size: 12px;
    color: var(--text-light);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-red);
}

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

.product-stock {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-stock.in-stock {
    color: var(--success);
}

.product-stock.out-of-stock {
    color: var(--danger);
}

.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* ========================================
   Why Choose Section
======================================== */
.why-choose-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.why-choose-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-choose-card:hover .why-choose-icon {
    transform: rotateY(180deg);
}

.why-choose-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-black);
    margin-bottom: 10px;
}

.why-choose-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ========================================
   Brands Slider
======================================== */
.brands-slider {
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    gap: 40px;
    animation: scroll 20s linear infinite;
}

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

.brand-item {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.brand-item:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.brand-item img {
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================
   Special Offers Section
======================================== */
.special-offers-section {
    background: linear-gradient(135deg, var(--dark-black) 0%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
}

.special-offers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern.png') repeat;
    opacity: 0.05;
}

.offer-banner {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.offer-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.offer-content {
    position: relative;
    z-index: 1;
}

.offer-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

.offer-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.offer-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: block;
    background: var(--dark-black);
    color: var(--white);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    border-radius: var(--border-radius);
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

/* ========================================
   Testimonials
======================================== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: var(--warning);
    font-size: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-red);
}

.testimonial-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 3px;
}

.testimonial-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Statistics Counter
======================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ========================================
   Newsletter Section
======================================== */
.newsletter-section {
    background: var(--dark-black);
    padding: 60px 0;
}

.newsletter-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter-content p {
    color: var(--text-light);
}

.newsletter-form .input-group {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.newsletter-form .form-control {
    padding: 15px 20px;
    border: none;
}

.newsletter-form .btn-subscribe {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form .btn-subscribe:hover {
    background: var(--primary-red-dark);
}

/* ========================================
   Footer
======================================== */
.main-footer {
    background: var(--dark-black);
    padding: 80px 0 0;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--medium-gray);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-red);
}

.footer-links li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact li i {
    color: var(--primary-red);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact li div {
    color: var(--text-light);
    font-size: 14px;
}

.footer-contact li div strong {
    color: var(--white);
    display: block;
    margin-bottom: 3px;
}

.footer-contact li div a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-contact li div a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    background: var(--dark-gray);
    padding: 20px 0;
    margin-top: 60px;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.payment-methods span {
    color: var(--text-light);
    font-size: 14px;
}

.payment-methods img {
    max-height: 30px;
}

/* ========================================
   Floating WhatsApp Button
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* ========================================
   Back to Top Button
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 45px;
    height: 45px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-red-dark);
    transform: translateY(-3px);
}

/* ========================================
   Page Header
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--dark-black) 0%, var(--dark-gray) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern.png') repeat;
    opacity: 0.05;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    justify-content: center;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-item.active {
    color: var(--primary-red);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light);
}

/* ========================================
   Product Quick View Modal
======================================== */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
}

.modal-header {
    background: var(--dark-black);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

.quick-view-gallery {
    position: relative;
}

.quick-view-main-image {
    background: var(--lighter-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
}

.quick-view-main-image img {
    max-height: 300px;
}

.quick-view-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.quick-view-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.quick-view-thumbnails img:hover,
.quick-view-thumbnails img.active {
    border-color: var(--primary-red);
}

.quick-view-info h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-black);
    margin-bottom: 10px;
}

.quick-view-info .product-category {
    margin-bottom: 10px;
}

.quick-view-info .product-price {
    font-size: 24px;
}

.quick-view-info .product-description {
    color: var(--text-gray);
    margin: 20px 0;
    line-height: 1.8;
}

.quick-view-info .quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-selector label {
    font-weight: 600;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quantity-input button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--lighter-gray);
    cursor: pointer;
    transition: var(--transition);
}

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

.quantity-input input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
}

/* ========================================
   Loading Skeleton
======================================== */
.skeleton {
    background: linear-gradient(90deg, var(--light-gray) 25%, var(--lighter-gray) 50%, var(--light-gray) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--border-radius);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
}

.skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 15px;
}

.skeleton-image {
    height: 200px;
}

/* ========================================
   Utility Classes
======================================== */
.text-primary-red { color: var(--primary-red) !important; }
.bg-primary-red { background-color: var(--primary-red) !important; }
.bg-dark-black { background-color: var(--dark-black) !important; }
.bg-light-silver { background-color: var(--light-gray) !important; }

/* Alert Styles */
.alert {
    border: none;
    border-radius: var(--border-radius);
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border-left: 4px solid var(--success);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning);
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info);
    border-left: 4px solid var(--info);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

/* ========================================
   Cart Styles
======================================== */
.cart-table {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table th {
    background: var(--dark-black);
    color: var(--white);
    padding: 15px;
    font-weight: 600;
    border: none;
}

.cart-table td {
    padding: 20px 15px;
    vertical-align: middle;
    border-bottom: 1px solid var(--light-gray);
}

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    background: var(--lighter-gray);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-product-image img {
    max-height: 60px;
}

.cart-product-details h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-product-details p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

.cart-summary {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.cart-summary h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-red);
    padding-top: 15px;
    border-top: 2px solid var(--light-gray);
}

/* ========================================
   Auth Pages
======================================== */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.auth-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    max-height: 60px;
}

.auth-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-black);
    margin-bottom: 10px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--light-gray);
}

.auth-divider span {
    padding: 0 15px;
    color: var(--text-light);
    font-size: 14px;
}

.auth-links {
    text-align: center;
    margin-top: 25px;
}

.auth-links a {
    color: var(--primary-red);
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}