/*
Theme Name: TechStore
Theme URI: https://techstore.com
Author: TechStore
Author URI: https://techstore.com
Description: Tema de loja virtual de eletrônicos estilo marketplace. Compatível com WooCommerce. Design moderno e responsivo com slider, mega menu de categorias, seções de ofertas e blog.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techstore
Tags: e-commerce, woocommerce, custom-menu, featured-images, custom-logo, custom-header, threaded-comments, translation-ready

TechStore WordPress Theme - Loja de Eletrônicos
*/

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol { list-style: none; }

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === TOP BAR === */
.top-bar {
    background: #1a1a2e;
    color: #ccc;
    font-size: 13px;
    padding: 8px 0;
}

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

.top-links a {
    color: #ccc;
    margin-left: 20px;
    transition: color 0.3s;
}

.top-links a:hover { color: #fff; }

/* === HEADER === */
.site-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-logo {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    white-space: nowrap;
}

.site-logo i { color: #e74c3c; }
.site-logo span { color: #e74c3c; }
.site-logo img { max-height: 50px; width: auto; }

.search-bar {
    flex: 1;
    display: flex;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    overflow: hidden;
}

.search-bar select {
    padding: 12px 15px;
    border: none;
    background: #f8f9fa;
    font-size: 14px;
    cursor: pointer;
    border-right: 1px solid #ddd;
}

.search-bar input[type="text"],
.search-bar input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 14px;
    outline: none;
}

.search-bar button {
    padding: 12px 20px;
    background: #e74c3c;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.search-bar button:hover { background: #c0392b; }

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

.header-action {
    position: relative;
    text-align: center;
    color: #333;
    transition: color 0.3s;
    cursor: pointer;
}

.header-action:hover { color: #e74c3c; }
.header-action i { font-size: 22px; }

.header-action .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.action-text {
    font-size: 12px;
    margin-top: 2px;
}

/* === NAVIGATION === */
.main-nav {
    background: #1a1a2e;
}

.main-nav .container {
    display: flex;
    align-items: center;
}

.nav-categories {
    background: #e74c3c;
    color: #fff;
    padding: 15px 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: background 0.3s;
    position: relative;
}

.nav-categories:hover { background: #c0392b; }

.nav-menu {
    display: flex;
    margin-left: 20px;
}

.nav-menu li { position: relative; }

.nav-menu li a {
    color: #ddd;
    padding: 15px 18px;
    display: block;
    transition: all 0.3s;
    font-size: 15px;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    display: none;
    z-index: 99;
}

.nav-menu li:hover > ul.sub-menu { display: block; }

.nav-menu li ul.sub-menu li a {
    color: #333;
    padding: 10px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu li ul.sub-menu li a:hover {
    color: #e74c3c;
    background: #f8f9fa;
}

/* Category Dropdown */
.cat-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    z-index: 99;
    display: none;
    min-width: 250px;
}

.cat-dropdown.show { display: block; }

.cat-dropdown ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.cat-dropdown ul li a:hover {
    background: #f8f9fa;
    color: #e74c3c;
    padding-left: 25px;
}

.cat-dropdown ul li a i { width: 20px; color: #e74c3c; }

/* === HERO SLIDER === */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; }
.hero-slider { position: relative; }

.slide {
    display: none;
    padding: 60px 50px;
    align-items: center;
    min-height: 400px;
}

.slide.active { display: flex; }

.slide-content { flex: 1; color: #fff; }

.slide-tag {
    display: inline-block;
    background: #e74c3c;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.slide h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #fff;
}

.slide p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
    max-width: 500px;
}

.slide-price {
    font-size: 18px;
    margin-bottom: 25px;
}

.slide-price strong { font-size: 28px; color: #ffd700; }
.slide-price s { opacity: 0.6; }

.btn-primary {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231,76,60,0.4);
}

.slide-image {
    font-size: 200px;
    text-align: center;
    flex: 0 0 300px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.slide-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    z-index: 5;
}

.slider-btn:hover { background: rgba(255,255,255,0.4); }
.slider-btn.prev { left: 30px; }
.slider-btn.next { right: 30px; }

.slider-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active { background: #fff; transform: scale(1.2); }

/* === DISCOUNT BANNER === */
.discount-banner {
    background: linear-gradient(90deg, #1a1a2e, #e74c3c);
    padding: 15px 0;
}

.banner-content {
    color: #fff;
    text-align: center;
    font-size: 16px;
}

.banner-content i { margin-right: 8px; }

/* === SECTIONS === */
.section { padding: 50px 0; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

.view-all {
    color: #e74c3c;
    font-weight: 600;
    transition: color 0.3s;
}

.view-all:hover { color: #c0392b; }

/* === PRODUCT CARDS === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.products-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.products-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s;
    position: relative;
}

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

.product-image {
    position: relative;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.product-image .emoji-placeholder { font-size: 80px; }

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

.badge-sale, .onsale { background: #e74c3c; }
.badge-new { background: #27ae60; }
.badge-hot { background: #f39c12; }

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

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

.product-actions a,
.product-actions button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-actions a:hover,
.product-actions button:hover {
    background: #e74c3c;
    color: #fff;
}

.quick-view-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(231,76,60,0.9);
    color: #fff;
    border: none;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(100%);
    transition: transform 0.3s;
    text-align: center;
}

.product-card:hover .quick-view-btn { transform: translateY(0); }

.product-info { padding: 15px; }

.product-cat {
    font-size: 12px;
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-cat a { color: #3b82f6; }
.product-cat a:hover { color: #e74c3c; }

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 39px;
}

.product-name a { color: #1a1a2e; }
.product-name a:hover { color: #e74c3c; }

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

.stars { color: #f39c12; font-size: 13px; }

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

.current-price,
.product-price .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
}

.old-price,
.product-price del {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-price del .woocommerce-Price-amount {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

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

.add-to-cart-btn,
.product-card .button,
.product-card .add_to_cart_button {
    width: 100%;
    padding: 10px;
    border: 2px solid #e74c3c;
    background: transparent;
    color: #e74c3c;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    text-align: center;
    display: block;
}

.add-to-cart-btn:hover,
.product-card .button:hover,
.product-card .add_to_cart_button:hover {
    background: #e74c3c;
    color: #fff;
}

.product-card .added_to_cart {
    display: block;
    text-align: center;
    margin-top: 5px;
    color: #27ae60;
    font-size: 13px;
    font-weight: 600;
}

/* === PRODUCT LIST CARDS === */
.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-list-card {
    display: flex;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s;
}

.product-list-card:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.1); }

.product-list-card .product-image {
    width: 150px;
    min-width: 150px;
    height: auto;
    min-height: 150px;
}

.product-list-card .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-list-card .add-to-cart-btn,
.product-list-card .button {
    width: auto;
    align-self: flex-start;
    padding: 8px 20px;
    display: inline-block;
}

/* === TAB FILTERS === */
.tab-filters { display: flex; gap: 5px; }

.tab-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

/* === DEALS SECTION === */
.deals-section { background: #f0f4f8; }

.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.deal-card {
    border-radius: 12px;
    padding: 30px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 160px;
    transition: transform 0.3s;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.deal-card:hover { transform: translateY(-5px); }

.deal-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.deal-info { position: relative; z-index: 2; }

.deal-label {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 10px;
}

.deal-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 5px; }
.deal-info p { opacity: 0.9; margin-bottom: 15px; }

.deal-btn {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.deal-btn:hover { background: #1a1a2e; color: #fff; }

.deal-emoji { font-size: 70px; position: relative; z-index: 2; }
.deal-card .deal-bg-image { position: relative; z-index: 2; }
.deal-card .deal-bg-image img { max-height: 100px; }

.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.promo-card {
    border-radius: 12px;
    padding: 25px;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.promo-card:hover { transform: translateY(-5px); }

.promo-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    align-self: flex-start;
}

.promo-tag.new { background: #e74c3c; }
.promo-tag.sale { background: #f39c12; }
.promo-tag.weekend { background: #27ae60; }
.promo-tag.month { background: #8e44ad; }

.promo-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}

.promo-emoji { font-size: 60px; align-self: flex-end; }

/* === FEATURES === */
.features-section {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

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

.feature-card { text-align: center; padding: 20px; }

.feature-icon {
    width: 60px;
    height: 60px;
    background: #fce4ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #e74c3c;
}

.feature-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 5px; color: #1a1a2e; }
.feature-card p { font-size: 13px; color: #777; }

/* === BLOG === */
.blog-section { background: #f0f4f8; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

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

.blog-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.blog-image .blog-emoji {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.blog-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content { padding: 20px; }

.blog-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
    line-height: 1.3;
}

.blog-content h4 a { color: #1a1a2e; }
.blog-content h4 a:hover { color: #e74c3c; }

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.blog-meta i { margin-right: 4px; }

.blog-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    color: #e74c3c;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.blog-link:hover { color: #c0392b; }

/* === NEWSLETTER === */
.newsletter {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
}

.newsletter-content { text-align: center; color: #fff; }
.newsletter-content h2 { font-size: 32px; margin-bottom: 10px; }
.newsletter-content p { opacity: 0.8; margin-bottom: 25px; font-size: 16px; }

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 15px;
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    background: #e74c3c;
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover { background: #c0392b; }

/* === FOOTER === */
.site-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 50px 0 0;
}

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

.footer-col h3 { font-size: 24px; color: #fff; margin-bottom: 15px; }
.footer-col h3 span { color: #e74c3c; }

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e74c3c;
}

.footer-col p { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }

.footer-col ul li a {
    color: #ccc;
    transition: all 0.3s;
}

.footer-col ul li a:hover { color: #e74c3c; padding-left: 5px; }
.footer-col ul li i { margin-right: 8px; color: #e74c3c; }

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.social-links a:hover { background: #e74c3c; transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { font-size: 14px; }

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 28px;
    color: #888;
}

/* === CART SIDEBAR === */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: none;
}

.cart-overlay.show { display: block; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: #fff;
    z-index: 201;
    display: flex;
    flex-direction: column;
    transition: right 0.3s;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.cart-sidebar.show { right: 0; }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-header h3 { font-size: 18px; color: #1a1a2e; }

.cart-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.cart-items { flex: 1; overflow-y: auto; padding: 15px; }

.cart-empty { text-align: center; padding: 60px 20px; color: #999; }
.cart-empty i { font-size: 60px; margin-bottom: 15px; display: block; }

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img { width: 100%; height: 100%; object-fit: contain; }

.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 14px; margin-bottom: 5px; color: #333; }
.cart-item-info .cart-item-price { color: #e74c3c; font-weight: 700; }

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: color 0.3s;
}

.cart-item-remove:hover { color: #e74c3c; }

.cart-footer { padding: 20px; border-top: 1px solid #eee; }

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.cart-total strong { color: #e74c3c; font-size: 22px; }

.btn-checkout {
    display: block;
    text-align: center;
    background: #e74c3c;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-checkout:hover { background: #c0392b; }

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(231,76,60,0.4);
}

.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: #c0392b; transform: translateY(-3px); }

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #27ae60;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 400;
    transition: transform 0.4s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* === WOOCOMMERCE OVERRIDES === */
.woocommerce-page .products { list-style: none; }

.woocommerce ul.products li.product {
    margin: 0;
    padding: 0;
    float: none;
    width: auto;
}

.woocommerce .star-rating {
    color: #f39c12;
    font-size: 13px;
}

/* === SINGLE PRODUCT === */
.single-product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.single-product-image {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.single-product-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

/* === PAGINATION === */
.pagination,
.woocommerce-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination a,
.pagination span,
.woocommerce-pagination a,
.woocommerce-pagination span {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    transition: all 0.3s;
}

.pagination .current,
.woocommerce-pagination .current,
.pagination a:hover,
.woocommerce-pagination a:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* === SIDEBAR / WIDGETS === */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .products-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .deals-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .slide h2 { font-size: 32px; }
    .slide-image { font-size: 120px; flex: 0 0 150px; }
    .single-product-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; gap: 5px; text-align: center; }
    .site-header .container { flex-wrap: wrap; gap: 15px; }
    .search-bar { order: 3; flex: 1 1 100%; }
    .search-bar select { display: none; }
    .nav-menu { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .products-list { grid-template-columns: 1fr; }
    .slide { flex-direction: column; padding: 30px; min-height: auto; }
    .slide-image { flex: 0; font-size: 80px; }
    .slide h2 { font-size: 28px; }
    .deals-grid { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
    .header-actions { gap: 12px; }
    .action-text { display: none; }
}
