/*
Theme Name: MotorMania
Theme URI: https://example.com/motormania
Author: MotorMania
Author URI: https://example.com
Description: A premium motorcycle gear and accessories e-commerce theme built for WooCommerce. Features dynamic product sections, hero slider, promotional banners, and full Customizer support.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: motormania
Tags: e-commerce, woocommerce, custom-header, custom-menu, featured-images, theme-options
WooCommerce tested up to: 8.0
*/

/* ─── CSS RESET & VARIABLES ─── */
:root {
    --primary-red: #e22c26;
    --primary-red-hover: #c9221d;
    --dark-bg: #1a1a2e;
    --dark-bg-lighter: #232340;
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --light-bg: #eef2f7;
    --card-bg: #e8e8e8;
    --white: #ffffff;
    --text-dark: #222222;
    --text-grey: #666666;
    --text-light: #999999;
    --star-gold: #f5a623;
    --border-color: #e0e0e0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --container-max: 1280px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: capitalize;
}

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

.btn-primary:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 44, 38, 0.35);
}

/* ─── HEADER ─── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--text-dark);
    white-space: nowrap;
}

.logo-icon {
    color: var(--primary-red);
    font-size: 28px;
}

.logo strong {
    color: var(--text-dark);
}

.logo img.custom-logo {
    max-height: 50px;
    width: auto;
}

.search-bar {
    flex: 1;
    max-width: 480px;
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font-body);
    background: transparent;
}

.search-btn {
    padding: 10px 24px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    border-radius: 30px;
    margin: 3px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.action-text small {
    font-size: 11px;
    color: var(--text-light);
}

.action-text strong {
    font-size: 14px;
    font-family: var(--font-heading);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--text-dark);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ─── MAIN NAVIGATION ─── */
.main-nav {
    background: var(--white);
    border-bottom: 2px solid #f0f0f0;
    border-top: 2px solid #f0f0f0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu,
.nav-menu ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 13px;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-transform: uppercase;
    white-space: nowrap;
}

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

/* Show dropdown arrow for items that have children */
.nav-menu > li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 2px;
    transition: var(--transition);
}

.nav-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.nav-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 0 0 8px 8px;
    border-top: 2px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    flex-direction: column;
}

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

.nav-menu li ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.nav-menu li ul.sub-menu li a:hover {
    background: var(--primary-red);
    color: var(--white);
    padding-left: 26px;
}

.nav-menu li ul.sub-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

/* ─── NAV CTA BUTTON ─── */
.nav-cta-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary-red);
    color: var(--white) !important;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
    margin-left: 15px;
    flex-shrink: 0;
}

.nav-cta-btn:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(226,44,38,0.35);
    color: var(--white) !important;
}

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

/* ─── HERO SLIDER ─── */
.hero-slider {
    position: relative;
    height: 620px;
    overflow: hidden;
}

.slider-track {
    position: relative;
    height: 100%;
}

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

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 30, 50, 0.85) 40%, rgba(30, 30, 50, 0.4) 100%);
}

.slide .container {
    position: relative;
    z-index: 2;
}

.slide-content {
    max-width: 550px;
}

.slide-content h1,
.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.slide-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.slide-product-img {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 450px;
    animation: floatProduct 3s ease-in-out infinite;
}

.slide-product-img img {
    mix-blend-mode: multiply;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
    border-radius: 12px;
}

@keyframes floatProduct {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-53%); }
}

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

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

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

/* ─── PROMO BANNERS ─── */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.promo-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px 30px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    min-height: 280px;
}

.promo-card::before {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(200, 200, 200, 0.4);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.promo-card-content {
    position: relative;
    z-index: 2;
}

.promo-subtitle {
    font-size: 14px;
    color: var(--text-grey);
    display: block;
    margin-bottom: 8px;
}

.promo-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.promo-card-image {
    position: relative;
    z-index: 2;
    max-width: 200px;
    transition: var(--transition);
}

.promo-card:hover .promo-card-image {
    transform: scale(1.08) rotate(-3deg);
}

/* ─── CATEGORY ICONS SECTION ─── */
.categories-section {
    position: relative;
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--dark-bg);
    opacity: 0.9;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition);
    display: block;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.category-img-wrap {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.category-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.category-divider {
    height: 3px;
    background: var(--primary-red);
    margin: 0 auto 12px;
    width: 100%;
}

.category-card h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-divider-arrow {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 30px;
}

.section-divider-arrow i {
    color: var(--white);
    font-size: 28px;
    opacity: 0.5;
    animation: bounce 2s ease infinite;
}

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

/* ─── SECTION HEADER ─── */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
}

/* ─── PRODUCT GRID ─── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    padding: 30px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    overflow: hidden;
}

.product-image img {
    max-height: 200px;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-actions {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

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

.action-btn {
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.add-to-cart-btn,
a.add-to-cart-btn {
    padding: 10px 24px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    display: inline-block;
    text-align: center;
}

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

.wishlist-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

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

.product-info {
    padding: 18px 20px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name a {
    color: inherit;
}

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

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.product-price del {
    color: var(--primary-red);
    font-size: 14px;
    margin-right: 5px;
}

.product-price ins {
    text-decoration: none;
    font-weight: 700;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.star-rating i {
    font-size: 13px;
    color: var(--star-gold);
}

.star-rating .far {
    color: #ddd;
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* ─── BIG PROMO BANNER ─── */
.big-promo-banner {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-red) 0%, #c9221d 35%, #222 55%, #111 100%);
}

.big-promo-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-conic-gradient(rgba(0,0,0,0.1) 0% 25%, transparent 0% 50%) 50% / 60px 60px;
    opacity: 0.3;
}

.big-promo-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.big-promo-content h2 {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 15px;
    font-style: italic;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.big-promo-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.big-promo-img {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 380px;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}

/* ─── TRIPLE PRODUCT LISTS ─── */
.triple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.list-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.mini-product-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mini-product-card:hover {
    background: rgba(0,0,0,0.02);
    padding-left: 10px;
}

.mini-product-img {
    position: relative;
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-product-img img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.mini-product-info h5 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.mini-product-info h5 a {
    color: inherit;
}

.mini-product-info h5 a:hover {
    color: var(--primary-red);
}

.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

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

.current-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ─── LATEST ARTICLES ─── */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.article-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.article-card-centered {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.article-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.article-date {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    writing-mode: vertical-lr;
    text-orientation: mixed;
    letter-spacing: 1px;
}

.article-body {
    padding: 20px 25px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
}

.article-author {
    color: var(--primary-red);
    font-weight: 500;
}

.article-author i {
    margin-right: 5px;
    font-size: 24px;
    vertical-align: middle;
    color: #66bb6a;
}

.meta-divider { color: var(--text-light); }

.article-category {
    color: var(--text-grey);
    font-weight: 500;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1.5;
    transition: var(--transition);
}

.article-title a { color: inherit; }

.article-card:hover .article-title { color: var(--text-dark); }

/* ─── FEATURES STRIP ─── */
.features-strip {
    position: relative;
    padding: 40px 0;
    background: linear-gradient(to right, #1a1a2e, #16213e);
    overflow: hidden;
}

.features-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    opacity: 0.9;
}

.feature-text h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.feature-text p { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

/* ─── FOOTER ─── */
.site-footer {
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
    padding-top: 60px;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    font-style: italic;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-label {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-red);
    font-style: italic;
    margin-bottom: 10px;
    margin-top: 20px;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.footer-links { list-style: none; margin: 0; padding: 0; }

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

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

.footer-links li a i { color: var(--primary-red); font-size: 12px; }

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

.subscribe-form {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.subscribe-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--white);
    font-size: 13px;
}

.subscribe-form input::placeholder { color: rgba(255, 255, 255, 0.5); }

.subscribe-btn {
    padding: 12px 20px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    border-radius: 30px;
    margin: 3px;
}

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

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

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

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

/* ─── COPYRIGHT BAR ─── */
.copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 20px;
}

.copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright-inner p { font-size: 14px; color: rgba(255, 255, 255, 0.6); }

.payment-icons { display: flex; gap: 12px; }

.payment-icons i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.payment-icons i:hover { color: var(--white); }

/* ─── SCROLL TO TOP ─── */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(226, 44, 38, 0.4);
}

.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: var(--primary-red-hover); transform: scale(1.1); }

/* ─── ANIMATIONS ─── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .header-top-inner { flex-wrap: wrap; gap: 15px; }
    .search-bar { order: 3; max-width: 100%; flex: 1 1 100%; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .triple-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-slider { height: 450px; }
    .slide-content h1, .slide-content h2 { font-size: 36px; }
    .slide-product-img { max-width: 250px; opacity: 0.5; }
    .big-promo-content h2 { font-size: 36px; }
    .big-promo-img { max-width: 250px; opacity: 0.5; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 15px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    .nav-menu.active { display: flex; }
    .nav-menu li ul.sub-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,0.05); }
    .promo-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .copyright-inner { flex-direction: column; gap: 15px; text-align: center; }
    .hero-slider { height: 400px; }
    .slide-content h1, .slide-content h2 { font-size: 28px; }
    .slide-product-img { display: none; }
    .big-promo-img { display: none; }
    .big-promo-content h2 { font-size: 28px; }
    .header-actions { gap: 10px; }
    .action-text { display: none; }
}

/* ─── WOOCOMMERCE OVERRIDES ─── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--primary-red) !important;
}

.woocommerce-message::before {
    color: var(--primary-red) !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: var(--primary-red) !important;
    color: var(--white) !important;
    border-radius: 30px !important;
    font-family: var(--font-heading) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: var(--primary-red-hover) !important;
}
