/*
Theme Name: Hello Elementor Child - Elegant Shop
Theme URI: https://elementor.com/
Description: Tema hijo elegante de Hello Elementor con diseño personalizado para tienda WooCommerce
Author: Tu Nombre
Author URI: https://tudominio.com
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-elementor-child
*/

/* ===========================
   Variables CSS
   =========================== */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #e94560;
    --accent-color: #0f3460;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --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;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* ===========================
   Reset y Estilos Generales
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.site-content {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
}

.home-fullwidth {
    width: 100%;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Header Full Width
   =========================== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    width: 100%;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.site-logo:hover {
    color: var(--secondary-color);
}

.custom-logo-link img {
    max-height: 50px;
    width: auto;
}

.header-cart {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cart-icon {
    position: relative;
    padding: 10px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===========================
   Navegación
   =========================== */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* ===========================
   Hero Section - Full Width
   =========================== */
.hero-section-fullwidth {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===========================
   Productos Grid
   =========================== */
.products-grid,
.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product,
.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product:hover,
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.woocommerce ul.products li.product img,
.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.product:hover img,
.product-card:hover .product-image {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 10px;
    color: var(--primary-color);
}

.woocommerce ul.products li.product .price,
.product-price {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .button,
.add_to_cart_button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.woocommerce ul.products li.product .button:hover,
.add_to_cart_button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* ===========================
   Carrito
   =========================== */
.cart-page {
    padding: 60px 0;
}

.cart-table {
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table th {
    background: var(--light-bg);
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.cart-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-summary {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

/* ===========================
   Checkout
   =========================== */
.checkout-page {
    padding: 60px 0;
}

.checkout-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* ===========================
   Footer Full Width
   =========================== */
.site-footer-fullwidth {
    width: 100%;
    background: var(--primary-color);
    color: white;
    margin-top: 0;
}

.footer-main {
    padding: 80px 20px 40px;
    background: var(--primary-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-widget h3 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-widget p {
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-contact svg {
    flex-shrink: 0;
}

.footer-newsletter {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-size: 14px;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter button {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 20px;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-payment span {
    opacity: 0.8;
    font-size: 14px;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section-fullwidth {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid,
    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .categories-container {
        grid-template-columns: 1fr;
    }
    
    .category-card-modern {
        height: 300px;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .shop-content {
        flex-direction: column;
    }
    
    .shop-sidebar {
        flex: 1 1 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-view-all,
    .btn-cta {
        padding: 14px 30px;
        font-size: 16px;
    }
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    padding: 80px 20px;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-color);
    opacity: 0.8;
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-color);
    opacity: 0.7;
}

/* ===========================
   Featured Products Section
   =========================== */
.featured-products-section {
    padding: 100px 20px;
    background: var(--light-bg);
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--text-color);
    opacity: 0.7;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-view-all:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   Categories Section Modern
   =========================== */
.categories-section-modern {
    padding: 100px 20px;
    background: white;
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card-modern {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.category-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.category-card-modern:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: white;
    z-index: 2;
}

.category-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.category-count {
    font-size: 14px;
    opacity: 0.9;
}

.no-categories {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--text-color);
    opacity: 0.7;
    grid-column: 1 / -1;
}

/* ===========================
   CTA Section Full Width
   =========================== */
.cta-section-fullwidth {
    width: 100%;
    padding: 120px 20px;
    background: var(--gradient-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-fullwidth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: white;
    opacity: 0.95;
    margin-bottom: 40px;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Ancho Completo Override
   =========================== */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
}

#content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.site-content {
    width: 100%;
    max-width: 100%;
}

/* Remover padding del tema padre */
.site-content > .container {
    max-width: 100%;
    padding: 0;
}

.site-content.home-fullwidth {
    padding: 0 !important;
    margin: 0 !important;
}

/* ===========================
   WooCommerce Overrides
   =========================== */
.woocommerce ul.products {
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    margin: 0;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.woocommerce ul.products li.product a {
    text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0 10px;
}

.woocommerce ul.products li.product .price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 22px;
    padding: 0 10px;
}

.woocommerce .star-rating {
    color: #ffc107;
}

/* ===========================
   Smooth Scroll
   =========================== */
html {
    scroll-behavior: smooth;
}

/* ===========================
   Loading Animation
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product,
.category-card-modern,
.feature-item {
    animation: fadeIn 0.6s ease forwards;
}

.product:nth-child(1) { animation-delay: 0.1s; }
.product:nth-child(2) { animation-delay: 0.2s; }
.product:nth-child(3) { animation-delay: 0.3s; }
.product:nth-child(4) { animation-delay: 0.4s; }
.product:nth-child(5) { animation-delay: 0.5s; }
.product:nth-child(6) { animation-delay: 0.6s; }
.product:nth-child(7) { animation-delay: 0.7s; }
.product:nth-child(8) { animation-delay: 0.8s; }

/* ===========================
   Footer Menu
   =========================== */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
    display: inline-block;
}

.footer-menu a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* ===========================
   SHOP PAGE - MODERN DESIGN
   =========================== */

.shop-page-fullwidth {
    width: 100%;
    background: var(--light-bg);
}

/* Shop Header */
.shop-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shop-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
}

.shop-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.shop-title {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin: 0 0 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.term-description {
    color: white;
    opacity: 0.95;
    font-size: 18px;
    line-height: 1.6;
}

/* Shop Container */
.shop-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Shop Toolbar */
.shop-toolbar {
    background: white;
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.shop-toolbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.shop-results-count {
    font-size: 16px;
    color: var(--text-color);
}

.results-number {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 20px;
}

.shop-ordering select {
    padding: 12px 40px 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.shop-ordering select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.filter-toggle-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-toggle-mobile:hover {
    background: var(--accent-color);
}

/* Shop Content Wrapper */
.shop-content-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Modern */
.shop-sidebar-modern {
    position: sticky;
    top: 100px;
}

.sidebar-sticky {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-bg);
}

.sidebar-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.close-filters-mobile {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
}

/* Filter Widgets */
.filter-widget {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-bg);
}

.filter-widget:last-of-type {
    border-bottom: none;
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.filter-title svg {
    color: var(--accent-color);
}

.filter-content {
    padding-left: 5px;
}

/* Category Filter List */
.category-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-filter-list li {
    margin-bottom: 12px;
}

.category-filter-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    background: var(--light-bg);
}

.category-filter-list li a:hover,
.category-filter-list li.active a {
    background: var(--primary-color);
    color: white;
}

.category-name {
    font-weight: 500;
}

.category-count {
    background: rgba(0,0,0,0.1);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.category-filter-list li.active .category-count {
    background: rgba(255,255,255,0.2);
}

/* Filter Actions */
.filter-actions {
    margin-top: 25px;
}

.btn-clear-filters {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--light-bg);
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-clear-filters:hover {
    background: var(--secondary-color);
    color: white;
}

/* Products Grid Shop */
.products-grid-shop {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* No Products Found */
.no-products-found {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.no-products-icon {
    margin-bottom: 30px;
    color: var(--border-color);
}

.no-products-found h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.no-products-found p {
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 30px;
}

.btn-back-shop {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-back-shop:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* WooCommerce Pagination */
.woocommerce-pagination {
    margin-top: 50px;
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination ul li {
    margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Shop */
@media (max-width: 1024px) {
    .shop-content-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }
    
    .shop-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .shop-title {
        font-size: 32px;
    }
    
    .shop-toolbar-inner {
        justify-content: center;
    }
    
    .filter-toggle-mobile {
        display: flex;
    }
    
    .shop-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar-modern {
        position: fixed;
        top: 0;
        left: -100%;
        width: 90%;
        max-width: 400px;
        height: 100vh;
        z-index: 9999;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .shop-sidebar-modern.active {
        left: 0;
    }
    
    .sidebar-sticky {
        height: 100%;
        border-radius: 0;
    }
    
    .close-filters-mobile {
        display: block;
    }
    
    .products-grid-shop {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

/* ===========================
   PRODUCT CARDS - ENHANCED
   =========================== */

.woocommerce ul.products {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products li.product,
.product {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}

.woocommerce ul.products li.product:hover,
.product:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: transparent;
}

/* Product Image Container */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f8f9fa;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.12) rotate(1deg);
}

/* Product Overlay */
.woocommerce ul.products li.product .woocommerce-loop-product__link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__link::after {
    opacity: 1;
}

/* Product Badge */
.woocommerce span.onsale {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 8px 16px rgba(238, 90, 111, 0.3);
    letter-spacing: 0.5px;
}

/* New Badge */
.woocommerce ul.products li.product .product-badge-new {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Content */
.woocommerce ul.products li.product > * {
    padding-left: 24px;
    padding-right: 24px;
}

/* Product Category */
.woocommerce ul.products li.product .product-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0 8px;
    display: block;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 50px;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--accent-color);
}

/* Star Rating */
.woocommerce .star-rating {
    color: #ffc107;
    margin: 0 0 12px;
    font-size: 14px;
}

.woocommerce .star-rating::before {
    color: #e8e8e8;
}

/* Product Price */
.woocommerce ul.products li.product .price {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.woocommerce ul.products li.product .price del {
    opacity: 0.4;
    font-size: 18px;
    font-weight: 600;
    text-decoration: line-through;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c0392b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button {
    width: calc(100% - 48px);
    margin: 0 24px 24px;
    padding: 16px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.woocommerce ul.products li.product .button:hover::before {
    left: 100%;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 52, 96, 0.3);
}

.woocommerce ul.products li.product .button.loading {
    opacity: 0.7;
    pointer-events: none;
}

.woocommerce ul.products li.product .button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.woocommerce ul.products li.product .button.added {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.woocommerce ul.products li.product .button.added::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
}

/* Quick Actions */
.product-quick-actions {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.woocommerce ul.products li.product:hover .product-quick-actions {
    opacity: 1;
    right: 20px;
}

.product-quick-action {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-quick-action:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Out of Stock */
.woocommerce ul.products li.product.outofstock {
    opacity: 0.7;
}

.woocommerce ul.products li.product.outofstock::before {
    content: 'Agotado';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    z-index: 4;
    letter-spacing: 0.5px;
}

.woocommerce ul.products li.product.outofstock .button {
    background: #ccc;
    cursor: not-allowed;
}

.woocommerce ul.products li.product.outofstock .button:hover {
    transform: none;
    box-shadow: none;
}

/* Product Info Footer */
.product-info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px 20px;
    margin-top: auto;
}

.product-stock-status {
    font-size: 12px;
    font-weight: 600;
    color: #4caf50;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-stock-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
}

.product-stock-status.out-of-stock {
    color: #f44336;
}

.product-stock-status.out-of-stock::before {
    background: #f44336;
}

/* Responsive Product Cards */
@media (max-width: 768px) {
    .woocommerce ul.products li.product img {
        height: 280px;
    }
    
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 16px;
        min-height: auto;
    }
    
    .woocommerce ul.products li.product .price {
        font-size: 22px;
    }
    
    .product-quick-actions {
        opacity: 1;
        right: 15px;
    }
}

/* ===========================
   PRODUCT CARD INNER STRUCTURE
   =========================== */

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-info-wrapper {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info-wrapper .product-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    display: inline-block;
}

.product-info-wrapper .woocommerce-loop-product__title {
    margin: 0 0 12px;
    padding: 0;
}

.product-info-wrapper .woocommerce-loop-product__title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-info-wrapper .woocommerce-loop-product__title a:hover {
    color: var(--accent-color);
}

.product-rating {
    margin-bottom: 12px;
}

.product-info-wrapper .price {
    margin: 0 0 16px;
    padding: 0;
}

.product-actions {
    padding: 0 24px 24px;
    margin-top: auto;
}

.product-actions .button {
    width: 100%;
    margin: 0;
}

/* Enhanced Hover Effects */
.woocommerce ul.products li.product {
    will-change: transform;
}

.woocommerce ul.products li.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woocommerce ul.products li.product:hover::before {
    opacity: 0.3;
}

/* Product Image Placeholder */
.woocommerce ul.products li.product img[src*="woocommerce-placeholder"] {
    opacity: 0.3;
}

/* Smooth Loading Animation */
@keyframes productFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.woocommerce ul.products li.product {
    animation: productFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.woocommerce ul.products li.product:nth-child(1) { animation-delay: 0.05s; }
.woocommerce ul.products li.product:nth-child(2) { animation-delay: 0.1s; }
.woocommerce ul.products li.product:nth-child(3) { animation-delay: 0.15s; }
.woocommerce ul.products li.product:nth-child(4) { animation-delay: 0.2s; }
.woocommerce ul.products li.product:nth-child(5) { animation-delay: 0.25s; }
.woocommerce ul.products li.product:nth-child(6) { animation-delay: 0.3s; }
.woocommerce ul.products li.product:nth-child(7) { animation-delay: 0.35s; }
.woocommerce ul.products li.product:nth-child(8) { animation-delay: 0.4s; }
.woocommerce ul.products li.product:nth-child(9) { animation-delay: 0.45s; }
.woocommerce ul.products li.product:nth-child(10) { animation-delay: 0.5s; }
.woocommerce ul.products li.product:nth-child(11) { animation-delay: 0.55s; }
.woocommerce ul.products li.product:nth-child(12) { animation-delay: 0.6s; }

/* Button Icon */
.woocommerce ul.products li.product .button::after {
    content: '→';
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product .button:hover::after {
    transform: translateX(4px);
}

/* Alternative Grid Layouts */
.products-grid-modern.layout-compact {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.products-grid-modern.layout-wide {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.products-grid-shop.layout-compact {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.products-grid-shop.layout-wide {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

/* ===========================
   HIDE WOOCOMMERCE DUPLICATES
   =========================== */

/* Ocultar el resultado y ordenamiento por defecto de WooCommerce en la tienda */
.woocommerce-result-count {
    display: none !important;
}

.shop-products-area .woocommerce-ordering {
    display: none !important;
}

/* Mantener solo nuestro toolbar personalizado */
.shop-toolbar {
    display: flex !important;
}

/* Asegurar que no haya duplicados */
.woocommerce-before-shop-loop-container {
    display: none;
}

/* ===========================
   CART PAGE - PROFESSIONAL DESIGN
   =========================== */

.cart-page-fullwidth {
    width: 100%;
    background: var(--light-bg);
    min-height: 100vh;
}

/* Cart Header */
.cart-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 60px 20px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cart-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
}

.cart-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cart-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cart-subtitle {
    font-size: 18px;
    color: white;
    opacity: 0.95;
    margin: 0;
}

/* Cart Container */
.cart-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.woocommerce-cart-form {
    margin: 0;
}

.cart-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

/* Cart Items Section */
.cart-items-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.cart-items-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-bg);
}

.cart-items-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-items-header h2::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--secondary-color);
    border-radius: 4px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cart Item Card */
.cart-item-card {
    display: grid;
    grid-template-columns: 110px 1fr 130px 110px 130px 50px;
    gap: 25px;
    align-items: center;
    padding: 28px;
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 18px;
}

.cart-item-card:hover {
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.cart-item-image {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-bg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    position: relative;
}

.cart-item-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cart-item-card:hover .cart-item-image img {
    transform: scale(1.08);
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
}

.cart-item-name a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-name a:hover {
    color: var(--accent-color);
}

.cart-item-price-mobile {
    display: none;
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-top: 8px;
}

.woocommerce-cart-form__cart-item .product-remove {
    grid-column: 6;
}

.woocommerce-cart-form__cart-item .product-thumbnail {
    grid-column: 1;
}

.woocommerce-cart-form__cart-item .product-name {
    grid-column: 2;
}

.woocommerce-cart-form__cart-item .product-price {
    grid-column: 3;
}

.woocommerce-cart-form__cart-item .product-quantity {
    grid-column: 4;
}

.woocommerce-cart-form__cart-item .product-subtotal {
    grid-column: 5;
}

/* Quantity Input */
.cart-item-quantity .quantity,
.product-quantity .quantity {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.cart-item-quantity input[type="number"],
.product-quantity input[type="number"] {
    width: 70px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    -moz-appearance: textfield;
}

.cart-item-quantity input[type="number"]::-webkit-outer-spin-button,
.cart-item-quantity input[type="number"]::-webkit-inner-spin-button,
.product-quantity input[type="number"]::-webkit-outer-spin-button,
.product-quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-quantity input:focus,
.product-quantity input:focus {
    outline: none;
}

/* Price Columns */
.cart-item-price,
.cart-item-subtotal,
.product-price,
.product-subtotal {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-color);
    text-align: right;
}

.product-price .amount,
.product-subtotal .amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary-color);
}

/* Remove Button */
.cart-item-remove,
.product-remove {
    display: flex;
    justify-content: center;
    align-items: center;
}

.remove-item,
.product-remove a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #f44336;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.2);
}

.remove-item:hover,
.product-remove a:hover {
    background: #f44336;
    color: white;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

/* Cart Actions */
.cart-actions,
.actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid var(--light-bg);
    flex-wrap: wrap;
}

.btn-continue-shopping,
.btn-update-cart,
.actions .button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-continue-shopping {
    background: var(--light-bg);
    color: var(--text-color);
}

.btn-continue-shopping:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-update-cart,
.actions button[name="update_cart"] {
    background: var(--accent-color);
    color: white;
}

.btn-update-cart:hover,
.actions button[name="update_cart"]:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Cart Totals Section */
.cart-totals-section,
.cart-collaterals {
    position: sticky;
    top: 100px;
}

.cart-totals-sticky,
.cart_totals {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
    border: 2px solid var(--light-bg);
}

.cart-totals-title,
.cart_totals h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-bg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-totals-title::before,
.cart_totals h2::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--secondary-color);
    border-radius: 4px;
}

.cart_totals table {
    width: 100%;
    margin-bottom: 30px;
}

.cart_totals th,
.cart_totals td {
    padding: 18px 0;
    border-bottom: 1px solid var(--light-bg);
    font-size: 15px;
}

.cart_totals th {
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
}

.cart_totals td {
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary-color);
    border-bottom: none;
    padding-top: 25px;
    border-top: 2px solid var(--light-bg);
}

.cart_totals .order-total td {
    color: var(--secondary-color);
}

.wc-proceed-to-checkout {
    margin-top: 25px;
}

.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c0392b 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 800;
    font-size: 17px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.5);
}

/* Responsive Cart */
@media (max-width: 1200px) {
    .cart-content-wrapper {
        grid-template-columns: 1fr 380px;
        gap: 30px;
    }
    
    .cart-item-card {
        grid-template-columns: 90px 1fr 110px 100px 110px 45px;
        gap: 20px;
        padding: 24px;
    }
}

@media (max-width: 1024px) {
    .cart-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cart-totals-section,
    .cart-collaterals {
        position: static;
    }
    
    .cart-item-card {
        grid-template-columns: 80px 1fr 100px 40px;
        gap: 15px;
    }
    
    .cart-item-price,
    .cart-item-subtotal,
    .product-price,
    .product-subtotal {
        display: none;
    }
    
    .cart-item-price-mobile {
        display: block;
    }
    
    .woocommerce-cart-form__cart-item .product-price,
    .woocommerce-cart-form__cart-item .product-subtotal {
        display: none;
    }
}

@media (max-width: 768px) {
    .cart-title {
        font-size: 32px;
    }
    
    .cart-items-section,
    .cart-totals-sticky,
    .cart_totals {
        padding: 25px;
    }
    
    .cart-item-card {
        grid-template-columns: 70px 1fr 40px;
        padding: 20px;
    }
    
    .cart-item-quantity,
    .product-quantity {
        grid-column: 1 / -1;
        justify-self: start;
    }
    
    .cart-actions,
    .actions {
        flex-direction: column;
    }
    
    .btn-continue-shopping,
    .btn-update-cart,
    .actions .button {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================
   CHECKOUT PAGE - PROFESSIONAL DESIGN
   =========================== */

.checkout-page-fullwidth {
    width: 100%;
    background: var(--light-bg);
    min-height: 100vh;
}

/* Checkout Header */
.checkout-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 60px 20px 50px;
    text-align: center;
}

.checkout-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.checkout-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin: 0 0 10px;
}

.checkout-subtitle {
    font-size: 18px;
    color: white;
    opacity: 0.95;
    margin: 0;
}

/* Checkout Steps */
.checkout-steps {
    background: white;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.checkout-steps-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
}

.checkout-step.active .step-number {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.3);
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.checkout-step.active .step-label {
    color: var(--primary-color);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 20px;
}

/* Checkout Container */
.checkout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.checkout-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: start;
}

/* Checkout Form Section */
.checkout-form-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-billing-section,
.checkout-shipping-section,
.checkout-notes-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.section-header-checkout {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-bg);
}

.section-header-checkout svg {
    color: var(--accent-color);
}

.section-header-checkout h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.checkout-fields-wrapper {
    display: grid;
    gap: 20px;
}

/* Form Fields */
.woocommerce-checkout .form-row {
    margin: 0;
    padding: 0;
}

.woocommerce-checkout label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.woocommerce-checkout .required {
    color: var(--secondary-color);
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition);
    background: white;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.woocommerce-checkout textarea {
    min-height: 120px;
    resize: vertical;
}

/* Checkout Review Section */
.checkout-review-section {
    position: sticky;
    top: 100px;
}

.checkout-review-sticky {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--light-bg);
}

.checkout-review-sticky .section-header-checkout {
    margin-bottom: 30px;
}

#order_review {
    position: relative;
}

/* Decorative element */
.checkout-review-sticky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px 20px 0 0;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 30px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.woocommerce-checkout-review-order-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.woocommerce-checkout-review-order-table thead tr {
    border-radius: 12px 12px 0 0;
}

.woocommerce-checkout-review-order-table th {
    padding: 18px 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-checkout-review-order-table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.woocommerce-checkout-review-order-table thead th:last-child {
    border-radius: 0 12px 0 0;
    text-align: right;
}

.woocommerce-checkout-review-order-table tbody {
    background: white;
}

.woocommerce-checkout-review-order-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.woocommerce-checkout-review-order-table tbody tr:last-child {
    border-bottom: none;
}

.woocommerce-checkout-review-order-table tbody tr:hover {
    background: #fafbfc;
    transform: translateX(2px);
}

.woocommerce-checkout-review-order-table td {
    padding: 20px;
    vertical-align: middle;
}

/* Checkout Product Item */
.checkout-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkout-product-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: var(--light-bg);
}

.checkout-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.woocommerce-checkout-review-order-table tbody tr:hover .checkout-product-image img {
    transform: scale(1.05);
}

.checkout-product-details {
    flex: 1;
    min-width: 0;
}

.checkout-product-title {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.woocommerce-checkout-review-order-table .product-name a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-checkout-review-order-table .product-name a:hover {
    color: var(--accent-color);
}

.woocommerce-checkout-review-order-table .product-quantity {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #0a3a6b 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
    box-shadow: 0 2px 6px rgba(15, 52, 96, 0.2);
}

.woocommerce-checkout-review-order-table .product-total {
    text-align: right;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 17px;
    white-space: nowrap;
}

/* Variation Details in Checkout */
.woocommerce-checkout-review-order-table .variation {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    line-height: 1.5;
}

.woocommerce-checkout-review-order-table .variation dt {
    font-weight: 600;
    display: inline;
    color: #555;
}

.woocommerce-checkout-review-order-table .variation dd {
    display: inline;
    margin: 0 0 0 5px;
}

.woocommerce-checkout-review-order-table .variation dd::after {
    content: '';
    display: block;
}

/* Table Footer (Totals) */
.woocommerce-checkout-review-order-table tfoot {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15px;
}

.woocommerce-checkout-review-order-table tfoot th {
    color: var(--text-color);
    text-align: left;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    color: var(--primary-color);
    font-weight: 700;
}

.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .cart-subtotal td {
    padding-top: 20px;
    font-size: 16px;
}

/* Coupon Row Styling */
.woocommerce-checkout-review-order-table .cart-discount {
    background: linear-gradient(90deg, #e8f5e9 0%, #f1f8f4 100%);
    border-left: 4px solid #4caf50;
}

.woocommerce-checkout-review-order-table .cart-discount th,
.woocommerce-checkout-review-order-table .cart-discount td {
    color: #2e7d32;
    font-weight: 700;
    padding: 14px 20px;
}

.woocommerce-checkout-review-order-table .cart-discount .woocommerce-remove-coupon {
    color: #f44336;
    text-decoration: none;
    font-size: 11px;
    margin-left: 10px;
    padding: 4px 10px;
    background: white;
    border-radius: 6px;
    transition: var(--transition);
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-checkout-review-order-table .cart-discount .woocommerce-remove-coupon:hover {
    background: #f44336;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

/* Order Total Row */
.woocommerce-checkout-review-order-table .order-total {
    background: white;
    border-top: 3px solid var(--accent-color);
    position: relative;
}

.woocommerce-checkout-review-order-table .order-total::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 22px;
    font-weight: 900;
    padding: 22px 20px;
}

.woocommerce-checkout-review-order-table .order-total th {
    color: var(--primary-color);
}

.woocommerce-checkout-review-order-table .order-total td {
    color: var(--secondary-color);
}

.woocommerce-checkout-review-order-table tfoot tr:last-child th:first-child {
    border-radius: 0 0 0 12px;
}

.woocommerce-checkout-review-order-table tfoot tr:last-child td:last-child {
    border-radius: 0 0 12px 0;
}

/* Shipping Methods */
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
    flex: 1;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods label:hover {
    color: var(--accent-color);
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.woocommerce-checkout-review-order-table .shipping-method {
    background: white;
    padding: 12px;
    border-radius: 8px;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.woocommerce-checkout-review-order-table .shipping-method:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Payment Methods */
.woocommerce-checkout-payment {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
}

.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.wc_payment_method {
    background: white;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.wc_payment_method:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.wc_payment_method input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment_box {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
}

/* Place Order Button */
#place_order {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.4);
}

/* Terms and Conditions */
.woocommerce-terms-and-conditions-wrapper {
    margin: 20px 0;
}

.woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.woocommerce-form__label-for-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Responsive Checkout */
@media (max-width: 1024px) {
    .checkout-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .checkout-review-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-title {
        font-size: 32px;
    }
    
    .checkout-steps-inner {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .step-line {
        display: none;
    }
    
    .checkout-billing-section,
    .checkout-shipping-section,
    .checkout-notes-section,
    .checkout-review-sticky {
        padding: 25px;
    }
}

/* ===========================
   WOOCOMMERCE CUSTOM OVERRIDES
   =========================== */

/* Remove default WooCommerce styles */
.woocommerce-page .woocommerce,
.woocommerce-page #content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide default breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    display: none;
}

/* Quantity Input Styling */
.quantity {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.quantity input.qty {
    width: 80px;
    height: 45px;
    padding: 0 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.quantity input.qty:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Coupon Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 12px;
}

.woocommerce-message {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.woocommerce-info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.woocommerce-error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    content: '';
    display: none;
}

/* Shipping Calculator */
.shipping-calculator-form {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
}

.shipping-calculator-form .form-row {
    margin-bottom: 15px;
}

.shipping-calculator-form select,
.shipping-calculator-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
}

.shipping-calculator-form button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.shipping-calculator-form button:hover {
    background: var(--accent-color);
}

/* Login Form Toggle */
.woocommerce-form-login-toggle {
    animation: fadeIn 0.5s ease;
}

.woocommerce-form-login {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    display: none;
}

.woocommerce-form-login.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.woocommerce-form-login .form-row {
    margin-bottom: 20px;
}

.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
}

.woocommerce-form-login button {
    padding: 14px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.woocommerce-form-login button:hover {
    background: var(--accent-color);
}

/* Empty Cart State */
.cart-empty-state {
    animation: fadeIn 0.6s ease;
}

.empty-cart-icon svg {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Loading States */
.woocommerce .blockUI.blockOverlay {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(4px);
}

.woocommerce .loader {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Select2 Dropdown Styling */
.select2-container--default .select2-selection--single {
    height: 48px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 16px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
    color: var(--text-color);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

.select2-dropdown {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--primary-color);
}

/* Checkout Form Validation */
.woocommerce-checkout .woocommerce-invalid input,
.woocommerce-checkout .woocommerce-invalid select {
    border-color: #dc3545 !important;
}

.woocommerce-checkout .woocommerce-invalid label {
    color: #dc3545;
}

/* Success Messages */
.woocommerce-message .button {
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    margin-left: auto;
}

.woocommerce-message .button:hover {
    background: var(--accent-color);
}

/* ===========================
   CHECKOUT COUPON IN REVIEW
   =========================== */

/* Coupon styling is now integrated in the main order review table styles above */

/* Responsive Checkout Table */
@media (max-width: 768px) {
    .checkout-product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .checkout-product-image {
        width: 100%;
        height: 120px;
    }
    
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        padding: 14px;
    }
    
    .woocommerce-checkout-review-order-table .order-total th,
    .woocommerce-checkout-review-order-table .order-total td {
        font-size: 18px;
        padding: 18px 14px;
    }
}
