/*
Theme Name: Tienda Home Store Theme
Theme URI: https://sitcod.com
Author: sitcod
Description: Tema personalizado profesional para Tienda Home Store, optimizado para WooCommerce.
Version: 1.0.3
Text Domain: tiendahomestore
*/

/* Variables */
:root {
    --primary: #0e509e;
    --primary-dark: #0a3d7a;
    --secondary: #666666;
    --primary-opacity: #0e4f9e5b;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --border: #e1e1e1;
    --success: #28a745;
    --danger: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --font-main: 'Poppins', sans-serif;
}

/* =========================================
   Contact Page Styles (Modern & Clean)
   ========================================= */

.contacto-header {
    background: var(--light);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.contacto-title {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.contacto-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 400;
}

.contact-section-title {
    font-family: var(--font-main);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
}

.contact-section-desc {
    color: var(--secondary);
    margin-bottom: 30px;
    font-size: 14px;
}

/* Info Column Styles */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-info-item:hover {
    background: var(--light);
    border-color: var(--border);
    transform: translateX(5px);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(14, 80, 158, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
 
.contact-info-item:hover .contact-icon-wrapper {
    background: var(--primary);
    color: var(--white);
}

.contact-info-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 14px;
    color: var(--secondary);
    margin: 0;
    text-decoration: none;
    line-height: 1.5;
}

.contact-info-text a:hover {
    color: var(--primary);
}

/* Form Styles */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.homestore-contact-form .form-group {
    margin-bottom: 20px;
}

.homestore-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
}

.homestore-contact-form input,
.homestore-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--dark);
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.homestore-contact-form input:focus,
.homestore-contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 80, 158, 0.1);
    outline: none;
    background: var(--white);
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(14, 80, 158, 0.2);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(14, 80, 158, 0.3);
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .gspb_row-contact .gspb_row__content {
        flex-direction: column;
    }

    .contact-info-column,
    .contact-form-column {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0 0 40px 0;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}

/* Hero Section */
.nosotros-hero {
    background: linear-gradient(rgba(14, 80, 158, 0.9), rgba(10, 61, 122, 0.9)), url('https://tiendahomestore.com/wp-content/uploads/2025/03/R.jpeg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 100px;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.nosotros-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.nosotros-title {
    font-family: var(--font-main);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.1;
}

.nosotros-subtitle {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Wrapper & Typography */
.nosotros-content-wrapper {
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.8;
    color: var(--secondary);
    font-weight: 400;
}

.nosotros-content-wrapper h2 {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.nosotros-content-wrapper h4 {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.nosotros-content-wrapper p {
    margin-bottom: 25px;
    color: var(--secondary);
}

/* Layout & Spacing */
.nosotros-content-wrapper .wp-block-greenshift-blocks-row {
    margin-bottom: 80px;
}

.nosotros-content-wrapper .wp-block-greenshift-blocks-row:last-child {
    margin-bottom: 0;
}

.gspb_row__col--6 {
    padding: 0 40px;
    /* Generous spacing */
}

/* Icon List - Minimal Design */
.gspb_iconsList__item {
    margin-bottom: 20px;
    padding: 20px 25px;
    border-radius: var(--radius);
    background-color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.gspb_iconsList__item:hover {
    background-color: var(--light);
    border-color: var(--border);
    transform: translateX(5px);
}

.gspb_iconsList__item img {
    width: 40px;
    margin-right: 20px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.gspb_iconsList__item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.gspb_iconsList__item__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--secondary);
}

.gspb_iconsList__item__text strong {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

/* Images - Clean Style */
.wp-block-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wp-block-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons - Brand Aligned */
.gspb-buttonbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 25px;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 10px rgba(14, 80, 158, 0.2);
}

.gspb-buttonbox:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(14, 80, 158, 0.3);
}

/* Features Section - Clean Cards */
.nosotros-features {
    background-color: var(--light);
    padding: 100px 0;
    margin-top: 100px;
    border-top: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: rgba(14, 80, 158, 0.05);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
}

.feature-item h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--secondary);
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nosotros-title {
        font-size: 2.5rem;
    }

    .nosotros-hero {
        padding: 80px 0;
    }

    .gspb_row__col--6 {
        padding: 0 20px;
    }

    .nosotros-content-wrapper h2 {
        font-size: 1.75rem;
    }

    .feature-item {
        margin-bottom: 20px;
    }
}


.user-profile-sidebar {
    text-align: center;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.user-profile-sidebar .user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.user-profile-sidebar .user-info {
    display: flex;
    flex-direction: column;
}

.user-profile-sidebar .user-greeting {
    font-size: 13px;
    color: #999;
}

.user-profile-sidebar .user-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Navigation Icons */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before {
    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: #999;
    transition: color 0.3s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover::before,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a::before {
    color: var(--primary, #007bff);
}

/* Specific Icons */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "\f015";
}

/* Home */
.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "\f290";
}

/* Shopping Bag */
.woocommerce-MyAccount-navigation-link--downloads a::before {
    content: "\f019";
}

/* Download */
.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "\f3c5";
}

/* Map Marker */
.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "\f007";
}

/* User */
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "\f2f5";
}

/* Sign Out */
.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    content: "\f09d";
}

/* Credit Card */

/* Order Status Colors */
.woocommerce-orders-table__cell-order-status {
    text-transform: capitalize;
    font-weight: 600;
}

/* Base style for all status badges */
.woocommerce-orders-table__row .woocommerce-orders-table__cell-order-status {
    padding: 3px 4px !important;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific Status Colors */
.woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status {
    color: #28a745;
    background: #e6f9eb;
    border: 1px solid #c3e6cb;
}

.woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status {
    color: #007bff;
    background: #e6f2ff;
    border: 1px solid #b8daff;
}

.woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status {
    color: #856404;
    background: #fff3cd;
    border: 1px solid #ffeeba;
}

.woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status {
    color: #e67e22;
    background: #fdf2e9;
    border: 1px solid #fadbd8;
}

.woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
.woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status {
    color: #dc3545;
    background: #ffe6e6;
    border: 1px solid #f5c6cb;
}

.woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status {
    color: #6c757d;
    background: #f8f9fa;
    border: 1px solid #dae0e5;
}

/* =========================================
   My Account Dashboard Widgets & Enhancements
   ========================================= */

/* Welcome Banner */
.dashboard-welcome-banner {
    background: linear-gradient(135deg, var(--primary, #007bff) 0%, #0056b3 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.dashboard-welcome-banner h2 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 24px;
}

.dashboard-welcome-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 15px;
    max-width: 600px;
}

.dashboard-welcome-banner .button.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: max-content;
}

.dashboard-welcome-banner .button.logout-btn:hover {
    background: #fff;
    color: var(--primary, #007bff);
}

/* Dashboard Widgets Grid */
.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary, #007bff);
}

.dashboard-widget .widget-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary, #007bff);
    font-size: 24px;
}

.dashboard-widget .widget-content h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.dashboard-widget .widget-content .widget-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.dashboard-widget:hover .widget-content .widget-link {
    color: var(--primary, #007bff);
}

/* =========================================
   My Account Orders Table Enhancements
   ========================================= */
.woocommerce-MyAccount-orders {
    border: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.woocommerce-MyAccount-orders thead th {
    background-color: #fff !important;
    border-bottom: 2px solid #f0f0f0 !important;
    color: #999 !important;
    font-size: 12px !important;
    letter-spacing: 1px;
    padding: 20px !important;
}

.woocommerce-MyAccount-orders tbody td {

    border-bottom: 1px solid #f9f9f9 !important;
    padding: 20px !important;
    color: #555;
    font-size: 14px;
    vertical-align: middle;
}

.woocommerce-MyAccount-orders tbody tr:hover td {
    background-color: #fafafa !important;
}

/* Order Status Badges */
.woocommerce-MyAccount-orders .order-status {
    font-weight: 600;
    text-transform: capitalize;
}

/* Action Buttons in Table */
.woocommerce-MyAccount-orders .woocommerce-button.view {
    background-color: transparent !important;
    color: var(--primary, #007bff) !important;
    border: 1px solid var(--primary, #007bff) !important;
    padding: 6px 15px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-orders .woocommerce-button.view:hover {
    background-color: var(--primary, #007bff) !important;
    color: #fff !important;
}

/* =========================================
   My Account Addresses Cards
   ========================================= */
.u-columns.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Remove default float behavior that might be causing ::before issues */
.u-columns.woocommerce-Addresses::before,
.u-columns.woocommerce-Addresses::after {
    display: none !important;
}

.u-column.woocommerce-Address {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    padding: 30px !important;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    float: none !important;
    /* Ensure grid works */
    width: 100% !important;
    /* Reset any 48% width from themes */
    margin: 0 !important;
}

.u-column.woocommerce-Address:hover {
    border-color: var(--primary, #007bff) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 15px;
}

.woocommerce-Address-title h3 {
    margin: 0 !important;
    font-size: 18px !important;
    color: #333 !important;
}

.woocommerce-Address-title .edit {
    color: var(--primary, #007bff);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #f0f7ff;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.woocommerce-Address-title .edit:hover {
    background: var(--primary, #007bff);
    color: #fff;
}

address {
    font-style: normal;
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}

/* =========================================
   Order View / Order Details Page Styles 
   ========================================= */

ol.woocommerce-OrderUpdates.commentlist.notes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

li.woocommerce-OrderUpdate.comment.note {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
}

/* =========================================
   Account Details Form Styling
   ========================================= */
.woocommerce-EditAccountForm fieldset {
    background: #fff !important;
    border: 1px solid #eee !important;
    padding: 0 !important;
    margin: 30px 0 !important;
    box-shadow: none !important;
}

.woocommerce-EditAccountForm fieldset legend {
    font-size: 20px !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid var(--primary, #007bff);
    padding-bottom: 10px;
    display: block;
    width: 100%;
}

.woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px;
}

.woocommerce-EditAccountForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.woocommerce-EditAccountForm .input-text {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.woocommerce-EditAccountForm .input-text:focus {
    background-color: #fff;
    border-color: var(--primary, #007bff);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.woocommerce-EditAccountForm .woocommerce-Button {
    background-color: var(--primary, #007bff);
    color: #fff;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.woocommerce-EditAccountForm .woocommerce-Button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .dashboard-welcome-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .dashboard-welcome-banner p {
        margin-bottom: 15px;
    }

    .u-columns.woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--secondary);
    background: #f4f6f8;
    line-height: 1.6;
    margin: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

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

button {
    font-family: inherit;
}

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

/* =========================================
   HEADER  
   ========================================= */
#masthead {}

.bar-full {
    width: 100%;
    background: var(--primary);
    height: 12px;
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: #ffffff;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    padding: 8px 0;
}

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

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

.top-links li a {
    color: #ffffff;
    font-weight: 500;
}

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

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* Main Header Middle */
.main-header {
    padding: 15px 0;
    background: #fff;
}

.header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* logo */

.site-branding {
    width: 150px;
    display: flex;
}

.site-branding img {
    width: 100%;
    height: auto;
}

/* Search Bar Redesigned */
.header-search-wrapper {
    flex: 1;
    max-width: 750px;
}

.modern-search-form {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 50px;
    overflow: hidden;
    height: 50px;
    transition: 0.3s;
    box-shadow: 0px 7px 10px 0px #0000000f;
}

.modern-search-form:focus-within {
    border-color: var(--primary);
}

.search-category-select {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-right: 1px solid #eee;
    cursor: pointer;
    background: #f9f9f9;
}

.search-field {
    flex: 1;
    border: none;
    padding: 0 20px;
    height: 100%;
    outline: none;
    font-size: 14px;
    background: #fff;
    /* Reset bg */
    border-radius: 0;
    /* Reset radius */
}

.search-submit {
    background: #0f509e !important;
    color: #fff !important;
    width: 60px;
    background: transparent;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
    height: 100%;
    border-radius: 0;
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Reset absolute */
}

.search-submit:hover {
    color: var(--primary);
    background: transparent;
}

/* Header Actions Redesigned */
.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.icon-box {
    position: relative;
    font-size: 24px;
    color: var(--primary);
}

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

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

.small-label {
    font-size: 11px;
    color: #999;
}

.big-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

/* Navigation Bar (Red bg or Primary bg?) - Reference has Red bar for categories, white for nav links? 
   Let's make a clean separation.
*/
.main-navigation {
    border-top: 1px solid #eee;
    background: #fff;
    padding: 0;
    /* Reset padding */
}

.nav-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

/* All Categories Dropdown Button */
.all-categories-btn-wrapper {
    position: relative;
    height: 100%;
    width: 230px;
    /* Adjusted width */
}

.btn-all-categories {
    background: var(--primary);
    /* Brand color */
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    gap: 10px;
    border-radius: 10px;
    transition: background 0.3s;
    padding: 15px;
    margin-top: 5px;
}

.btn-all-categories:hover {
    background: var(--primary-dark);
}

.btn-all-categories i {
    font-size: 18px;
}

.btn-all-categories .ml-auto {
    margin-left: auto;
}

/* Dropdown Menu */
.all-categories-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: var(--shadow-md);
    z-index: 100;
    display: none;
    /* Hidden by default, show on hover */
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.all-categories-btn-wrapper:hover .all-categories-dropdown {
    display: block;
}

.cats-dropdown-list {
    padding: 10px 0;
}

.cats-dropdown-list li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f9f9f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cats-dropdown-list li a:hover {
    background: #f9f9f9;
    color: var(--primary);
    padding-left: 25px;
    /* Indent effect */
}

.cats-dropdown-list li a i {
    font-size: 10px;
    color: #ccc;
}

.view-all-cats-link a {
    color: var(--primary) !important;
    font-weight: 600;
    justify-content: center;
    text-align: center;
}

/* Main Menu Links */
.primary-menu-wrapper {
    flex: 1;
    margin-left: 30px;
}

.primary-menu-wrapper ul {
    display: flex;
    gap: 30px;
}

.primary-menu-wrapper a {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    text-transform: capitalize;
    /* Reference uses Title Case */
    padding: 20px 0;
}

.primary-menu-wrapper a:hover {
    color: var(--danger);
}

.primary-menu-wrapper a::after {
    display: none;
}

/* Remove underline effect */

/* Nav Right Content */
.nav-right-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 600;
}

.special-offer-link {
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.special-offer-link i {
    color: var(--danger);
}

.help-link {
    color: var(--danger);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile Shipping Progress - Default Hidden */
.mobile-shipping-progress {
    display: none;
}

/* Responsive Header */
@media (max-width: 991px) {
    .top-bar {
        display: none;
    }

    .site-branding {
        width: 120px;
        display: flex;
    }

    .header-grid {
        gap: 15px;
    }

    .header-search-wrapper {
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        display: none;
        /* Hide by default on mobile, toggle maybe? Or keep visible? */
        /* Let's keep it simple for now: visible if needed or just hidden */
        display: block;
        /* Make it visible for now below header */
        max-width: 100%;
        z-index: 900;
    }

    .main-header {
        padding-bottom: 10px;
        /* Space for search */
    }

    .action-text {
        display: none;
    }

    .nav-grid {
        display: none;
    }

    /* Hide desktop nav bar */
    .mobile-menu-toggle {
        display: block;
        font-size: 24px;
    }

    /* Mobile Shipping Progress Bar - Visible on Mobile */
    .mobile-shipping-progress {
        display: block;
        padding: 10px 15px;
        background: #fff;
        border-bottom: 1px solid #f1f1f1;
        margin-bottom: 0;
    }

    .mobile-shipping-progress .ths-shipping-progress-wrapper {
        width: 100%;
    }

    .mobile-shipping-progress .ths-shipping-progress-header {
        margin-right: 0;
        width: 100%;
        min-width: 0 !important;
        /* Override inline styles if needed */
        align-items: center;
    }

    .mobile-shipping-progress .ths-shipping-progress-header .shipping-text {
        text-align: center;
        width: 100%;
        font-size: 13px;
    }

    .mobile-shipping-progress .ths-shipping-success-header {
        justify-content: center;
        width: 100%;
    }


}

/* =========================================
   SHOP PAGE / ARCHIVE STYLES (Modern & Responsive)
   ========================================= */

.shop-page-layout {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.shop-main-content {
    flex: 1;
}

/* =========================================
   WC BLOCKS FILTER STYLES (Based on user HTML)
   ========================================= */

/* General Sidebar Overlay for Blocks */
.wc-block-product-filters__overlay-content {
    background: transparent;
    padding: 0;
}

/* Headings in Blocks */
.shop-sidebar .wp-block-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: block;
    width: 100%;
}


/* SEARCH BLOCK STYLING */
.wp-block-search {
    margin-bottom: 30px;
}

.wp-block-search__label {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.wp-block-search__inside-wrapper {
    display: flex;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.wp-block-search__inside-wrapper:focus-within {
    border-color: var(--primary);
}

.wp-block-search__input {
    flex: 1;
    border: none !important;
    padding: 10px 15px !important;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: #555;
    border-radius: 0 !important;
}

.wp-block-search__button {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 0 !important;
    margin: 0 !important;
}

.wp-block-search__button:hover {
    background: var(--primary-dark) !important;
}

/* ACTIVE FILTERS & CLEAR FILTERS */
.wc-block-active-filters {
    margin-bottom: 25px;
}

.wc-block-active-filters__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.wc-block-active-filters__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.wc-block-active-filters__list-item {
    background: #f0f2f5;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    border: 1px solid #e1e1e1;
}

.wc-block-active-filters__list-item:hover {
    background: #e9ecef;
    border-color: #d0d0d0;
}

.wc-block-active-filters__list-item .wc-block-active-filters__list-item-name {
    margin-right: 5px;
}

/* Close/Remove icon in active filter */
.wc-block-active-filters__list-item button,
.wc-block-active-filters__list-item .wc-block-components-chip__remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #999;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1;
}

.wc-block-active-filters__list-item button:hover,
.wc-block-active-filters__list-item .wc-block-components-chip__remove:hover {
    color: var(--danger);
}

/* Clear All Button */
.wc-block-active-filters__clear-all {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--danger);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.wc-block-active-filters__clear-all:hover {
    text-decoration: none;
    color: var(--dark);
}

/* PRICE FILTER BLOCK STYLING */
.wp-block-woocommerce-product-filter-price {
    margin-bottom: 30px;
}

/* Slider Track */
.wc-block-product-filter-price-slider__range {
    background: #e1e1e1 !important;
    border-radius: 4px;
    height: 6px !important;
    position: relative;
    margin: 20px 0;
}

/* Active Range Bar */
.wc-block-product-filter-price-slider__range .range-bar {
    background: var(--primary) !important;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
    /* Fix for missing slider bar using CSS variables provided by the block */
    left: var(--low, 0%) !important;
    width: calc(var(--high, 100%) - var(--low, 0%)) !important;
}

/* Slider Handles (Inputs type range) */
.wc-block-product-filter-price-slider__range input[type="range"] {
    position: absolute;
    pointer-events: none;
    -webkit-appearance: none;
    z-index: 10;
    height: 6px;
    /* Match track height */
    width: 100%;
    opacity: 1;
    background: transparent;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.wc-block-product-filter-price-slider .text input[type=text] {
    max-width: 100px !important;
}

/* Hide the native track explicitly */
.wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-runnable-track {
    background: transparent;
    border: none;
    cursor: pointer;
}

.wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-track {
    background: transparent;
    border: none;
    cursor: pointer;
}

.wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    width: 20px;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: grab;
    margin-top: -7px;
    /* (ThumbHeight - TrackHeight) / 2 = (20 - 6) / 2 = 7 */
    position: relative;
    z-index: 20;
    transition: transform 0.1s;
}

.wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: grab;
    z-index: 20;
    transition: transform 0.1s;
}

.wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

/* Price Inputs (Min/Max text fields) */
.wc-block-product-filter-price-slider__content {
    display: flex !important;
    flex-wrap: wrap !important;
    /* Allow items to wrap */
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
}

/* Slider Track - Force to take full width of top row */
.wc-block-product-filter-price-slider__range {
    background: #e1e1e1 !important;
    border-radius: 4px;
    height: 6px !important;
    position: relative;
    margin: 15px 0 20px 0 !important;
    /* Space above and below */
    width: 100% !important;
    flex: 0 0 100% !important;
    /* Force full width */
    order: 1 !important;
    /* Ensure it comes first */
}

.wc-block-product-filter-price-slider__controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    order: 2;
}

/* Make sure inputs don't fight */
.wc-block-product-filter-price-slider__content input.wc-block-product-filter-price-slider__input {
    border: 1px solid #ddd !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    max-width: 80px !important;
    color: #333 !important;
}


/* CATEGORY & TAXONOMY FILTER BLOCKS */
.wp-block-woocommerce-product-filter-taxonomy {
    margin-bottom: 30px;
}

.wc-block-product-filter-checkbox-list__item {
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
}

.wc-block-product-filter-checkbox-list__label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    color: #666;
    transition: 0.2s;
}

.wc-block-product-filter-checkbox-list__label:hover {
    color: var(--primary);
}

/* The wrapper for the checkbox input and SVG mark */
.wc-block-product-filter-checkbox-list__input-wrapper {
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

/* Hide default checkbox but keep it clickable */
.wc-block-product-filter-checkbox-list__input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 5;
    margin: 0;
}

/* The SVG mark (check icon) */
.wc-block-product-filter-checkbox-list__mark {
    width: 12px;
    height: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.2s;
}

/* Checked State */
.wc-block-product-filter-checkbox-list__input:checked+.wc-block-product-filter-checkbox-list__mark {
    opacity: 1;
    /* This selector might be wrong based on HTML structure.
                   HTML: input is INSIDE wrapper, mark is SIBLING to input.
                   Let's check HTML again:
                   <span class="...wrapper">
                      <input ...>
                      <svg class="...mark">...</svg>
                   </span>
                */
}

/* Correct selector for checked state styling based on sibling */
.wc-block-product-filter-checkbox-list__input:checked~.wc-block-product-filter-checkbox-list__mark {
    opacity: 1;
    transform: scale(1);
    color: #fff;
}

/* Parent wrapper style when checked */
.wc-block-product-filter-checkbox-list__input-wrapper:has(.wc-block-product-filter-checkbox-list__input:checked) {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Fallback for :has if not supported (though widely supported now) - difficult without JS, 
   but usually the input is checked, we can target the mark. 
   We can't target the PARENT wrapper via CSS without :has.
*/

/* Text Label */
.wc-block-product-filter-checkbox-list__text {
    flex: 1;
}

/* Count Badge (if present in HTML structure provided, seemingly not in span, but maybe appended text?) 
   In the HTML provided: "Muebles" is inside .wc-block-product-filter-checkbox-list__text. 
   The count is in data-wp-context but not visible text? 
   Wait, standard Woo blocks often don't show count unless enabled. 
   If enabled, it might be a separate span. 
*/

/* PRODUCT CARD STYLES (Targeting .product-card-wrapper from content-product.php) */
.product-card-wrapper {
    margin-bottom: 30px;
    height: 100%;
    /* Ensure wrapper takes full height of grid cell */
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    /* Softer border */
    border-radius: 12px;
    /* More rounded */
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    /* Very subtle initial shadow */
}

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

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #fff;
    /* White background often looks cleaner */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    /* Fixed height */
    border-bottom: 1px solid #f9f9f9;
}

.product-image-wrapper img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}
.woocommerce ul.products li.product .onsale{
        top: 15px;
    left: 15px;
    right: auto;
    min-height: auto;
    line-height: 1;
    width: auto;
    height: auto;
}
.product-card .onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    /* Pill shape */
    z-index: 2;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.25);
    letter-spacing: 0.5px;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: none;
    /* Removed border */
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px;
    line-height: 1.5;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
    /* Ensure consistent height for 2 lines */
}

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

.product-card .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-top: auto;
    /* Pushes price to bottom of info area */
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 10px;
}

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

.product-card .price ins {
    text-decoration: none;
    color: var(--danger);
    /* Sale price in red/danger color */
}

.product-actions {
    padding: 0 20px 20px;
    margin-top: -5px;
    /* Pull closer to info */
}

/* Fix for button alignment and width */
.product-actions .button {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    background: var(--light);
    color: var(--dark);
    font-weight: 600;
    font-size: 13px;
    padding: 12px 15px !important;
    border-radius: 50px !important;
    /* Fully rounded pill */
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 !important;
    /* Reset margin */
}

.product-actions .button:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 80, 158, 0.2);
}

/* =========================================
   WOOCOMMERCE CART BLOCK STYLES
   ========================================= */

/* Main Container Spacing */
.wp-block-woocommerce-cart {
    margin-bottom: 60px;
    gap: 40px;
}

/* Main Content Area */
.wc-block-cart__main {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    /* Optional: Box shadow for the table area too, or keep it clean */
}

/* Cart Items Table Header */
.wc-block-cart-items__header {
    background: #f9f9f9;
    border-bottom: 2px solid #eee;
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.wc-block-cart-items__header th {
    padding: 15px 20px;
}

/* Cart Item Rows */
.wc-block-cart-items__row {
    border-bottom: 1px solid #f0f0f0;
}

.wc-block-cart-items__row:last-child {
    border-bottom: none;
}

/* Product Image */
.wc-block-cart-item__image {
    padding: 20px 0 20px 20px;
    width: 100px;
}

.wc-block-cart-item__image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius);
    border: 1px solid #f0f0f0;
    padding: 5px;
    background: #fff;
}

/* Product Details */
.wc-block-cart-item__product {
    padding: 20px;
}

.wc-block-components-product-name {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 5px;
    display: block;
    transition: color 0.2s;
}

.wc-block-components-product-name:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Product Meta (attributes, description) */
.wc-block-components-product-metadata {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

/* Price Display in Row */
.wc-block-cart-item__prices {
    margin-top: 5px;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

/* Quantity Selector Styling */
.wc-block-components-quantity-selector {
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #f9f9f9;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    height: 36px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.wc-block-components-quantity-selector__input {
    border: none !important;
    background: transparent;
    text-align: center;
    width: 40px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    padding: 0;
    -moz-appearance: textfield;
}

.wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.wc-block-components-quantity-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wc-block-components-quantity-selector__button {
    background: transparent;
    border: none;
    color: #555;
    cursor: pointer;
    width: 30px;
    height: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.wc-block-components-quantity-selector__button:hover {
    background: #e9ecef;
    color: var(--primary);
}

.wc-block-components-quantity-selector__button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Remove Item Link */
.wc-block-cart-item__remove-link {
    font-size: 12px;
    color: #999 !important;
    text-decoration: none;
    margin-left: 10px;
    transition: color 0.2s;
}

.wc-block-cart-item__remove-link:hover {
    color: var(--danger) !important;
    text-decoration: underline;
}

/* Total Column */
.wc-block-cart-item__total {
    padding: 20px;
    text-align: right;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
}


/* =========================================
   CART SIDEBAR (Totals)
   ========================================= */
.wc-block-cart__sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    /* Light border */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    /* Subtle shadow */
    height: fit-content;
    position: sticky;
    top: 20px;
}

/* Totals Title */
.wc-block-cart__totals-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Coupon Area */
.wc-block-components-totals-coupon {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.wc-block-components-panel__button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.wc-block-components-panel__button:hover {
    color: var(--primary-dark);
}

.wc-block-components-panel__button svg {
    fill: currentColor;
}

/* Totals Rows (Subtotal, Shipping, etc.) */
.wc-block-components-totals-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    color: #555;
    border-bottom: 1px dashed #eee;
}

.wc-block-components-totals-item:last-child {
    border-bottom: none;
}

.wc-block-components-totals-item__label {
    font-weight: 500;
}

.wc-block-components-totals-item__value {
    font-weight: 600;
    color: var(--dark);
}

/* Shipping Section Specifics */
.wc-block-components-totals-shipping .wc-block-components-totals-item__value {
    color: var(--success);
    /* Free shipping green usually looks good */
}

/* Grand Total Footer */
.wc-block-components-totals-footer-item {
    margin-top: 15px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    border-bottom: none !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.wc-block-components-totals-footer-item-tax-value {
    display: block;
    line-height: 1;
}

/* Checkout Button Wrapper */
.wc-block-cart__submit {
    margin-top: 25px;
}

#order_review_heading {
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
}

.wc-block-cart__submit-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary) !important;
    color: #ffffff !important;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 20px !important;
    border-radius: 50px !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(14, 80, 158, 0.3);
}

.wc-block-cart__submit-button:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 80, 158, 0.4);
}

.wc-block-product-filters__overlay-wrapper{
    width: 300px;
}
.wc-block-product-filters__overlay-dialog{
    padding: 0px 20px;
    
}
.wc-block-product-filters__overlay-footer{
    display: none;
}

.aside-filters-mobile{
    display: none;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .aside-filters-mobile{
    display: block;
}

        .shop-page-layout {
    display: flex;
    gap: 40px;
    margin-top: 10px;
    margin-bottom: 20px;
}
    .wp-block-woocommerce-cart {
        flex-direction: column;
    }

    .wc-block-cart__sidebar {
        width: 100%;
        margin-top: 30px;
    }

    .wc-block-cart-items__header {
        display: none;
        /* Often tables turn to block on mobile in Woo Blocks, but if not, hide headers */
    }
}

@media (max-width: 600px) {
    .aside-filters-mobile{
    display: block;
}
}

.product-actions .added_to_cart {
    display: block;
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    color: var(--success);
    font-weight: 600;
}

/* Responsive Grid Fixes */
@media (max-width: 768px) {

    .products.columns-3,
    .products.columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-image-wrapper {
        height: 200px;
        padding: 10px;
    }

    .product-info {
        padding: 12px;
    }

    .product-actions {
        padding: 0 12px 12px;
    }

    .product-title {
        font-size: 13px;
    }

    .product-card .price {
        font-size: 14px;
    }
}

/* Mobile Filter Toggle */
.filter-toggle-mobile {
    display: none;
}

.close-sidebar-mobile {
    display: none;
}

/* Responsive Shop */
@media (max-width: 991px) {
    .shop-page-layout {
        display: block;
        /* Stack */
    }

    .woocommerce-breadcrumb {
        font-size: 12px;
        margin-bottom: 5px !important;
    }

    .woocommerce-products-header__title {
        font-size: 22px !important;
        margin-top: 10px !important;;
        margin-bottom: 0px !important;;
    }



    .filter-toggle-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
        background: var(--dark);
        color: #fff;
        padding: 10px 20px;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
        font-size: 14px;
        flex: 1;
        justify-content: center;
    }

    .woocommerce-ordering {
        flex: 1;
    }

    .woocommerce-ordering select {
        width: 100%;
        padding: 10px;
    }

    .woocommerce-result-count {
        font-size: 12px;
        margin: 0 !important;
        padding: 0;
    }

    /* Off-Canvas Sidebar - CHANGED TO ACCORDION/SLIDE TOGGLE */
    .shop-sidebar {
        position: static;
        width: 100%;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 10px 0;
        transform: none;
        z-index: 1;
        overflow: visible;
    }

    /* Remove overlay styles */
    .sidebar-overlay {
        display: none !important;
    }

    .close-sidebar-mobile {
        display: none !important;
    }
}

@media (max-width: 600px) {
    /* Toolbar Mobile */
    .shop-toolbar {
        flex-direction: row;
        gap: 15px;
        background: #fff;
        padding: 15px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        position: sticky;
        top: 10px;
        /* Below header */
        z-index: 90;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }
}
/* =========================================
   EXISTING STYLES (Adjustments)
   ========================================= */

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    background: var(--primary);
    padding: 6px 11px;
    font-size: 15px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transition: 0.3s;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-open .mobile-menu-sidebar {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.mobile-menu-open .mobile-menu-overlay {
    display: block;
}

.mobile-menu-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #fff;
    margin-bottom: 0;
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-circle {
    width: 45px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar-circle.guest i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.user-welcome {
    display: flex;
    flex-direction: column;
}

.welcome-text {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.profile-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-link:hover {
    color: #fff;
    text-decoration: none;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-navigation {
    padding: 10px 0;
}

.mobile-navigation ul {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-navigation li {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-navigation a {
    padding: 15px 25px;
    display: block;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.mobile-navigation a:hover {
    background: #f9f9f9;
    color: var(--primary);
    padding-left: 30px;
}

/* Hero Slider - Redesigned (Image Banners) */
.hero-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    /* Aspect ratio 1920/550 = ~3.49 */
    /* We can set a max-height or let it be defined by the image */
}

/* =========================================
   NEW HERO GRID LAYOUT (Dark Mode Slider + Sidebar)
   ========================================= */

.hero-section-wrapper {
    background: #f4f6f8;
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    height: 450px;
    /* Fixed height for consistency */
}

/* Main Hero Area */
.hero-main-area {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
}

.hero-slider-custom {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide-content {
    display: none;
    width: 100%;
    height: 100%;
    /* background set inline for specific slides */
}

.hero-slide-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

.slide-inner-grid {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    align-items: center;
}

.slide-text-content {
    padding: 40px;
    color: #fff;
    z-index: 2;
}

.slide-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.slide-text-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.slide-text-content p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.5;
    max-width: 90%;
}

.slide-price-box {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.slide-price-box .old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.6;
    color: #fff;
}

.slide-price-box .current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.btn-red-cta {
    background: #e74c3c;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.btn-red-cta:hover {
    background: #c0392b;
    color: #fff;
    transform: translateY(-2px);
}

.slide-image-content {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

}

/* Custom Dots */
.hero-custom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.hero-dots {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 20px;
}

.h-dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

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

/* Hero Slider Responsive */
.hero-slider-custom {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slide-content {
    display: none;
    width: 100%;
}

.hero-slide-content.active {
    display: block;
}

.slide-inner-grid {
    width: 100%;
}

.slide-image-content {
    display: block;
    width: 100%;
    text-decoration: none;
}

.hero-responsive-slide-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.slide-image-content:hover .hero-responsive-slide-image {
    transform: scale(1.02);
}

/* Medidas Responsive Exactas para cada slide */

/* Mobile: 385x400px max-width 425px */
@media (max-width: 450px) {
    .slide-inner-grid {
        height: 400px;
        max-width: 385px;
        margin: 0 auto;
    }
    
    .hero-responsive-slide-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Tablet: 951x400px max-width 991px */
@media (min-width: 451px) and (max-width: 991px) {
    .slide-inner-grid {
        height: 400px;
        max-width: 951px;
        margin: 0 auto;
    }
    
    .hero-responsive-slide-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Desktop: 878x450px */
@media (min-width: 992px) {
    .slide-inner-grid {
        height: 450px;
        max-width: 878px;
        margin: 0 auto;
    }
    
    .hero-responsive-slide-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Hero Promo Sidebar */
.hero-promo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.hero-promo-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    /* Distribute height equally */
    transition: 0.3s;
    border: 1px solid transparent;
}

.hero-promo-item:hover {
    box-shadow: var(--shadow-md);
    border-color: #eee;
}

.promo-item-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.promo-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.promo-item-details {
    flex: 1;
}

.rating-stars-sm {
    color: #ffcc00;
    font-size: 10px;
    margin-bottom: 5px;
}

.rating-stars-sm span {
    color: #999;
    margin-left: 5px;
}

.promo-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    display: block;
    line-height: 1.3;
    margin-bottom: 5px;
}

.promo-item-title:hover {
    color: var(--primary);
}

.promo-item-price {
    font-weight: 700;
    color: #e74c3c;
    font-size: 15px;
}

.promo-countdown {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: 11px;
    color: #666;
    font-weight: 600;
}

.cd-box {
    background: #f0f0f0;
    padding: 2px 5px;
    border-radius: 3px;
    min-width: 22px;
    text-align: center;
}

.cd-text {
    font-size: 10px;
    color: #999;
    margin-left: 5px;
    font-weight: 400;
}

/* Responsive Hero Grid */
@media (max-width: 991px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-main-area {
        height: 400px;
    }

    .slide-text-content h1 {
        font-size: 2.2rem;
    }

    .hero-promo-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .hero-promo-item {
        min-width: 280px;
    }
}

@media (max-width: 576px) {
    .slide-inner-grid {
        grid-template-columns: 1fr;
    }

    /* Hide image on small mobile to focus on text */
    .slide-text-content {
        text-align: center;
        padding: 30px 20px;
    }

    .slide-price-box {
        justify-content: center;
    }

    .hero-promo-sidebar {
        flex-direction: column;
    }

    .hero-promo-item {
        min-width: 100%;
    }
}

.hero-slider {
    position: relative;
    /* We need a height for the container if images are absolute, 
       but if we make them relative/stacked, we might need JS or different CSS.
       However, the current JS likely relies on absolute positioning for fading.
       Let's keep absolute but set container height.
    */
    height: 550px;
}
/* Touch-friendly slider styles */
.hero-slider-custom {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

.hero-slide-content {
    touch-action: pan-y;
}

.slide-image-content {
    touch-action: pan-y;
    display: block;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent text selection during swipe */
.hero-slider-custom * {
    -webkit-user-select: none;
    user-select: none;
}

/* Smooth transitions for better mobile experience */
.hero-slide-content {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Visual feedback on touch */
.hero-slider-custom:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* Mobile-optimized dots for easier tapping */
@media (max-width: 768px) {
    .h-dot {
        width: 14px;
        height: 14px;
        margin: 0 6px;
    }
    
    .hero-custom-controls {
        bottom: 15px;
    }
}

/* Ensure proper touch targets */
.hero-slider-custom {
    min-height: 200px; /* Prevent accidental clicks */
}

/* Smooth swipe animation */
.hero-slide-content {
    will-change: transform, opacity;
}
/* Responsive height adjustment */
@media (max-width: 1200px) {
    .hero-slider {
        height: 450px;
    }
}

@media (max-width: 991px) {
    .hero-slider {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 180px;
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    /* Fallback */
}

.hero-slide a {
    width: 100%;
}

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

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures it fills the container */
    object-position: center;
    display: block;
}

/* Remove the gradient overlay if it was there for text */
.hero-slide::before {
    display: none;
}

/* Removed obsolete hero content styles (text overlays) as requested */

/* Slider Controls & Dots */
.hero-slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-controls button:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 40px;
}

.slider-next {
    right: 40px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
}

.dot.active {
    background: transparent;
    border-color: var(--white);
    transform: scale(1.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category Grid - Enhanced */
.category-grid-section {
    background: #f8f9fa;
}

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

@media (max-width: 991px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    display: block;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.category-card:hover::before {
    background: linear-gradient(to top, rgba(14, 80, 158, 0.9) 0%, rgba(14, 80, 158, 0.4) 100%);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: var(--white);
    z-index: 1;
}

.category-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px;
    transform: translateY(0);
    transition: 0.3s;
}

.category-count {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    transform: translateY(0);
    transition: 0.3s;
}

.category-card:hover .category-overlay h3 {
    transform: translateY(-5px);
}

.features-section {
    padding: 50px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: var(--radius);
    transition: 0.3s;
    text-align: left;
}

.feature-item:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    color: var(--primary);
    background: rgba(14, 80, 158, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h3 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 700;
}

.feature-text p {
    margin: 0;
    font-size: 13px;
    color: var(--secondary);
}

/* Section Headers */
.section-padding {
    padding: 40px 0;
}

.section-header {
    margin-bottom: 50px;
    position: relative;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 800;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Deal of the Day - Premium Polish */
.deal-of-day-section {
    background: linear-gradient(135deg, #0e509e 0%, #062c58 100%);
    /* Deep Blue Gradient */
    padding: 100px 0;
    color: var(--white);
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(14, 80, 158, 0.3);
}

/* Abstract Background Shapes - Animated */
.deal-of-day-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: floatBubble 20s infinite linear;
}

.deal-of-day-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: floatBubble 15s infinite reverse linear;
}

@keyframes floatBubble {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.deal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.deal-label {
    background: #4cd137;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(76, 209, 55, 0.4);
}

.deal-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.deal-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.7;
    font-weight: 300;
}

/* Countdown Timer - Glassmorphism */
.countdown-timer {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.timer-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    min-width: 90px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.timer-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.timer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.deal-price {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.6;
}

.new-price {
    font-size: 3rem;
    font-weight: 800;
    color: #4cd137;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    padding: 20px 50px;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.deal-image img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
    transition: transform 0.5s;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Newsletter Section - Modern */
.newsletter-section {
    background: #f4f6f8;
    position: relative;
    padding: 100px 0;
}

.newsletter-content {
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

@media (max-width: 991px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
}

.newsletter-text p {
    font-size: 1.1rem;
    color: var(--secondary);
    margin: 0;
}

.newsletter-form-home {
    display: flex;
    gap: 15px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form-home input {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid #edf2f7;
    border-radius: 50px;
    background: #f8f9fa;
    font-size: 16px;
    transition: all 0.3s;
}

.newsletter-form-home input:focus {
    background: var(--white);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 5px rgba(14, 80, 158, 0.1);
}

.newsletter-form-home button {
    background: var(--dark);
    color: var(--white);
    border: none;
    padding: 0 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form-home button:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 80, 158, 0.3);
}

/* WooCommerce Products - Enhanced */
.woocommerce ul.products li.product {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    padding: 15px;
    transition: 0.4s ease;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.woocommerce ul.products li.product img {
    height: 250px;
    /* Consistent height */
    object-fit: contain;
    /* Prevent cropping */
    padding: 20px;
    background: #f9f9f9;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px;
    padding: 0 10px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 42px;
    /* 2 lines */
}

.woocommerce ul.products li.product .price {
    padding: 0 10px;
    color: var(--primary);
    font-size: 18px;
    margin-top: 5px;
}

.woocommerce ul.products li.product .button {
    margin: 10px 10px 0;
    background: transparent;
    border: 2px solid var(--border);
    color: var(--dark) !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--primary) !important;
    border-color: var(--primary);
    color: var(--white) !important;
}

.woocommerce span.onsale {
    top: 25px;
    left: 25px;
    border-radius: 50px;
    padding: 5px 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slider-container {
        height: 500px;
    }


    .hero-content h1 {
        font-size: 2.5rem;
    }

    .deal-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .deal-price {
        justify-content: center;
    }

    .deal-image img {
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }
}


/* Footer Styles - Clean & Professional */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding-top: 100px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 800;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: -1px;
    display: inline-block;
}

.footer-desc {
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--secondary);
    max-width: 90%;
}

.footer-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu a {
    font-size: 15px;
    color: var(--secondary);
    transition: all 0.2s;
    display: inline-block;
}

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

.newsletter-form {
    display: flex;
    margin-top: 25px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 25px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    font-size: 14px;
    background: #ffffff;
    color: var(--secondary);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================================
   NEW HOMEPAGE LAYOUT STYLES (Professional)
   ========================================= */

/* --- Info Strip --- */
.info-strip {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.info-strip-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

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

.info-item i {
    font-size: 24px;
    color: var(--primary);
}

.info-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.3;
}

.info-text strong {
    color: var(--dark);
    font-weight: 600;
}

.info-text span {
    color: #888;
}

/* =========================
   MOBILE: Horizontal Slider
   ========================= */
@media (max-width: 768px) {

    .info-strip {
        padding: 10px 0;
    }

    /* rompe el container en mobile */
    .info-strip .container {
        padding: 0;
        max-width: 100%;
    }

    .info-strip-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        /* CLAVE */
        gap: 14px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 0 16px;
        width: 100%;

        -webkit-overflow-scrolling: touch;
    }

    .info-strip-grid::-webkit-scrollbar {
        display: none;
    }

    .info-item {
        white-space: nowrap;
    }
}


/* --- Promo Banners Strip --- */
.section-padding-sm {
    padding: 15px 0;
}

.promo-banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.promo-banner-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 220px;
    background: #f4f4f4;
}

.promo-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.promo-banner-item:hover img {
    transform: scale(1.05);
}

.promo-content {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 60%;
}

.promo-content .title-promo {
    color: #ffd913;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;

}

.promo-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.2;
   color: #fff; 
   
}

.link-arrow {
    font-size: 13px;
    font-weight: 600;
    align-items: center;
    background: #fff;
    padding: 7px 10px;
    color: #114d97;
    border-radius: 5px;
    width: fit-content;
    gap: 8px;
    display: flex;
}
.promo-banner-item:hover .link-arrow {
    color: #114d97;
    background-color: #ffd913;
    transition: all 0.3s ease; /* opcional: animación suave */
}
.link-arrow:hover {
    color: #114d97;
    background-color: #ffd913;
}

/* --- Category Circles --- */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.section-title-sm {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.section-title-md {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
}

.view-all-link {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 500;
}

.view-all-link:hover {
    color: var(--primary);
}

.category-circles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.circle-img-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid #eee;
    transition: 0.3s;
    padding: 5px;
    /* Inner spacing like a ring */
}

.circle-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-circle-item:hover .circle-img-wrapper {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cat-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

/* --- Main Layout (Sidebar + Content) --- */
.home-layout-grid {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 30px;
    margin-top: 14px;
}

.home-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 20px;
    overflow: hidden;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5f5f5;
    position: relative;
}

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

/* Vertical Menu */
.vertical-menu li {
    border-bottom: 1px solid #f9f9f9;
}

.vertical-menu li:last-child {
    border-bottom: none;
}

.vertical-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
    color: var(--secondary);
}

.vertical-menu a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Mini Products Widget */
.mini-products-list {
    display: flex;
    flex-direction: column;
}

.mini-product-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f9f9f9;
}

.mini-product-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

.mini-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-info {
    flex: 1;
}

.mini-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.3;
    display: block;
    margin-bottom: 5px;
}

.mini-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

/* Sidebar Banner */
.sidebar-banner img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
}

/* Main Content Column */
.home-main-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.filter-tabs li {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    position: relative;
}

.filter-tabs li.active {
    color: var(--dark);
}

.filter-tabs li.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Dense Grid for Home */
.products-grid-dense {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.products-grid-dense .product-card {
    border: 1px solid #eee;
    box-shadow: none;
}

.products-grid-dense .product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.products-grid-dense .product-image-wrapper {
    height: 200px;
    padding: 10px;
}

/* Big Promo Banner */
.btn-white-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-white-outline:hover {
    background: #fff;
    color: var(--primary);
}

.badge-custom {
    background: #ffcc00;
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}


/* Big Horizontal Promo Banner - Responsive */

.banner-responsive-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.banner-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.banner-responsive-container:hover .banner-responsive-image {
    transform: scale(1.02);
}

/* Medidas Responsive Exactas */

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
    .banner-responsive-container {
        height: 200px;
    }
    
    .banner-responsive-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .banner-responsive-container {
        height: 220px;
    }
    
    .banner-responsive-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .banner-responsive-container {
        height: 320px;
    }
        .feature-text h3 {
    font-size: 25px;
}
    
    .banner-responsive-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .banner-responsive-container {
        height: 320px;
    }
        .feature-text h3 {
    font-size: 28px;
}
    .banner-responsive-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}



/* Bottom Strip */
.bottom-strip-section {
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.newsletter-strip-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-icon {
    font-size: 40px;
    color: var(--primary);
}

.newsletter-text-simple h3 {
    font-size: 20px;
    margin: 0 0 5px;
    font-weight: 700;
    color: var(--dark);
}

.newsletter-text-simple p {
    margin: 0;
    color: var(--secondary);
    font-size: 14px;
}

.newsletter-form-simple {
    display: flex;
    flex: 1;
    max-width: 500px;
    gap: 10px;
}

.newsletter-form-simple input {
    flex: 1;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
}

.newsletter-form-simple button {
    padding: 10px 30px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form-simple button:hover {
    background: var(--primary);
}

/* Responsive Styles for New Elements */
@media (max-width: 1200px) {
    .category-circles-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

@media (max-width: 991px) {
    .home-layout-grid {
        grid-template-columns: 1fr;
    }

    .home-sidebar {
        display: none;
        /* Hide sidebar on mobile/tablet or move to bottom */
    }

    .promo-banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-circles-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .newsletter-strip-flex {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form-simple {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .info-item {
        width: 45%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .promo-banners-grid {
        grid-template-columns: 1fr;
    }

    .category-circles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid-dense {
        grid-template-columns: repeat(2, 1fr);
    }

    .big-promo-banner .row {
        flex-direction: column;
        text-align: center;
    }

    .big-promo-banner .col-text {
        max-width: 100%;
    }

    .big-promo-banner .col-img {
        display: none;
    }
}

@media (max-width: 480px) {
    .info-item {
        width: 100%;
    }

    .products-grid-dense {
        grid-template-columns: 1fr;
    }
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.woocommerce ul.products li.product {
    background: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: var(--radius);
    padding: 0 0 20px 0;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: transparent;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
    transition: 0.5s;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    padding: 0 20px;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .price {
    padding: 0 20px;
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0px;
}

.woocommerce ul.products li.product .button {
    margin: 0 20px;
    display: block;
    text-align: center;
    background: #f0f2f5;
    color: var(--dark) !important;
    font-weight: 600;
    padding: 12px;
    border-radius: 6px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* Badge Sale */
.woocommerce span.onsale {
    background-color: var(--danger) !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    top: 15px;
    left: 15px;
    right: auto;
    min-height: auto;
    line-height: 1;
    width: auto;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {

    .desktop-only,
    .top-bar-right,
    .action-label {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        margin-right: 15px;
    }

    .header-grid {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-search-wrapper {
        order: 3;
        width: 100%;
        max-width: 100%;
    }

    .site-branding {
        flex: 1;
        display: flex;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .features-section {
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Custom WooCommerce Styles */

/* General Shop & Archive */
.products-grid-custom {
    margin-top: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Product Card Wrapper for Grid System */
.woocommerce ul.products li.product.product-card-wrapper {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Product Card - Modern Design */
.product-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(14, 80, 158, 0.1);
}

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

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.product-title {
    font-size: 15px;
    margin: 0 0 10px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.product-card .price {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-top: auto;
}

.product-actions {
    padding: 0 20px 20px;
    background: var(--white);
}

.product-actions .button,
.product-actions .added_to_cart {
    display: block;
    width: 100%;
    text-align: center;
    background: #f8f9fa;
    color: var(--dark) !important;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    line-height: 1.5;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.product-actions .button:hover {
    background: var(--primary);
    color: var(--white) !important;
    box-shadow: 0 5px 15px rgba(14, 80, 158, 0.2);
    transform: translateY(-2px);
}

.product-actions .added_to_cart {
    margin-top: 10px;
    background: #e8f5e9;
    color: var(--success) !important;
    border: 1px solid var(--success);
}

.product-actions .added_to_cart:hover {
    background: var(--success);
    color: var(--white) !important;
}

/* Badge Sale - Enhanced */
.onsale {
    background: var(--danger);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    top: 15px;
    left: 15px;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
    z-index: 10;
}


/* Feature Grid Fix */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* =========================================
   SINGLE PRODUCT PAGE STYLES
   ========================================= */

   .wc-block-product-filter-checkbox-list__items {
    overflow-y: scroll;
    max-height: 700px;
}
/* --- Layout Adjustment --- */
.product-detail-custom {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    gap: 50px;
    display: flex;
    margin-bottom: 80px;
    align-items: start;
    margin-top: 20px;
    width: 100%;
}

@media(max-width: 991px) {
    .product-detail-custom {
        gap: 40px;
    }
    .product-gallery {
    width: 100%;
    }
    .product-info-summary{
        width: 100%;
    }
}

/* --- Advanced Product Gallery (Professional & Responsive) --- */
.woocommerce-product-gallery {
    position: relative;
    opacity: 1 !important;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.product-gallery {
    position: relative;
    position: sticky;
    width: 48%;
    top: 20px;
}
.product-gallery .woocommerce-product-gallery--with-images:first-child{
    display: none!important;
}

img.attachment-shop_single.size-shop_single{
        height: 500px;
    object-fit: contain;
}
img.attachment-shop_thumbnail.size-shop_thumbnail.svi-thumb-image
 {
    height: 120px;
    object-fit: contain;
        border: 1px solid #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: 300ms;
}
img.attachment-shop_thumbnail.size-shop_thumbnail.svi-thumb-image:hover{
  transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
     transition: 300ms;
}
/* CONTENEDOR GENERAL */
.woocommerce-Tabs-panel--description {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

/* TÍTULO PRINCIPAL */
.woocommerce-Tabs-panel--description h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
        display: none;
}

/* SUBTÍTULO */
.woocommerce-Tabs-panel--description h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #111827;
}

/* LISTA DE CARACTERÍSTICAS */
.woocommerce-Tabs-panel--description ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.25rem;
}

/* ITEM */
.woocommerce-Tabs-panel--description ul li {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* HOVER */
.woocommerce-Tabs-panel--description ul li:hover {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* ETIQUETA (TÍTULO) */
.woocommerce-Tabs-panel--description ul li strong {
    font-weight: 600;
    color: #374151;
    margin-right: 0.5rem;
    white-space: nowrap;
}

/* VALOR */
.woocommerce-Tabs-panel--description ul li span,
.woocommerce-Tabs-panel--description ul li {
    color: #4b5563;
}

/* MOBILE */
@media (max-width: 768px) {
    .woocommerce-Tabs-panel--description ul {
        grid-template-columns: 1fr;
    }

    .woocommerce-Tabs-panel--description ul li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Main Gallery Wrapper */
.woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
    /* Ensure the wrapper doesn't collapse */
    width: 100%;
}

/* Individual Slides (Images) */
.woocommerce-product-gallery__image {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

/* comprar ahora button */
.ths-direct-buy-wrapper {
    margin-top: 10px;
    width: 100%;
}

.btn-direct-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--primary);
    /* Orange/Yellow 'Buy Now' color */
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    gap: 10px;
    font-size: 15px;
}

.btn-direct-buy:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

.btn-direct-buy i {
    font-size: 1.2em;
}

/* Force visibility on images */
.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    /* Add radius directly to images */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Shadow on image */
}

/* Hover Zoom Effect on Main Image */
.woocommerce-product-gallery__image:hover img {
    transform: none;
    /* Disable transform scale which conflicts with slider */
}

/* Contenedor principal de la tabla */
.shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    border-top: 1px solid #ececec;
}

/* Estilo para cada fila */
.woocommerce-product-attributes-item {
    border-bottom: 1px solid #ececec;
    transition: background-color 0.2s ease;
}

/* Color alterno para las filas (efecto cebra) */
.woocommerce-product-attributes-item:nth-child(even) {
    background-color: #f9f9f9;
}

/* Efecto hover al pasar el ratón */
.woocommerce-product-attributes-item:hover {
    background-color: #f1f1f1;
}

/* Estilo para las etiquetas (columna izquierda) */
.woocommerce-product-attributes-item__label {
    width: 35%;
    padding: 12px 15px;
    text-align: left;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    background: rgba(0,0,0,0.02);
}

/* Estilo para los valores (columna derecha) */
.woocommerce-product-attributes-item__value {
    padding: 12px 15px;
    color: #666;
    line-height: 1.5;
}

/* Eliminar márgenes extra que WooCommerce pone dentro de los párrafos */
.woocommerce-product-attributes-item__value p {
    margin: 0 !important;
    padding: 0 !important;
    font-style: italic; /* Opcional: estilo clásico de WooCommerce */
}
.product-gallery h2{
font-size: 20px;
}
/* Ajuste para móviles */
@media (max-width: 480px) {
    .woocommerce-product-attributes-item__label {
        width: 45%;
        padding: 8px 10px;
    }
}




/* Control Thumbs Container */
.flex-control-thumbs {
    order: 2;
    margin: 0 -5px 0 -5px !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    position: relative;
    width: calc(100% + 10px);
}

.flex-control-thumbs li {
    list-style: none;
    width: 20%;
    /* 5 columns */
    padding: 0 5px;
    margin-bottom: 10px;
    cursor: pointer;
    box-sizing: border-box;
    float: left;
}

.flex-control-thumbs img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: block;
}

.flex-control-thumbs img:hover,
.flex-control-thumbs .flex-active {
    opacity: 1;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Clearfix */
.flex-control-thumbs::after {
    content: "";
    display: table;
    clear: both;
}

/* Navigation Arrows (FlexSlider) */
.flex-direction-nav a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.flex-direction-nav a:before {
    font-size: 20px;
    content: '\f104';
    /* angle-left */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.flex-direction-nav a.flex-next:before {
    content: '\f105';
    /* angle-right */
}

.woocommerce-product-gallery:hover .flex-direction-nav a {
    opacity: 1;
}

.flex-direction-nav a.flex-prev {
    left: 20px;
}

.flex-direction-nav a.flex-next {
    right: 20px;
}

.flex-direction-nav a:hover {
    background: var(--primary);
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flex-control-thumbs li {
        width: 25%;
        /* 4 columns on mobile */
    }
.product-detail-custom{
    flex-direction: column;
}
    .product-gallery {
        position: relative;
        width: 100%;
    }
    .product-info-summary{
        width: 100%!important;

    }

    .woocommerce-Tabs-panel {
        padding: 20px !important;
        font-size: 14px !important;
    }

    .woocommerce-tabs {
        padding: 0px 10px;
    }

    .related .products {
        padding: 0px 10px !important;
    }

    .woocommerce-tabs ul.tabs li a {
        font-size: 14px !important;
    }

    .woocommerce-product-gallery__trigger {
        opacity: 1;
        /* Always show on mobile */
        top: 10px;
        right: 10px;
    }

    .flex-direction-nav a {
        opacity: 1;
        /* Always show arrows on mobile */
        width: 35px;
        height: 35px;
        line-height: 35px;
    }

    .flex-direction-nav a:before {
        font-size: 16px;
    }

    .flex-direction-nav a.flex-prev {
        left: 10px;
    }

    .flex-direction-nav a.flex-next {
        right: 10px;
    }
}

/* Product Info Summary */
.product-info-summary {
    padding: 10px 0;
    margin-top: 0;
    width: 48%;
}

/* --- Header Meta (Stock | Ref) --- */
.ths-header-meta {
    font-size: 13px;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ths-header-meta .badge-stock {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ths-header-meta .separator {
    color: #ccc;
}

/* --- Product Title --- */
h1.product-title-single {
    font-size: 22px;
    line-height: 1.3;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* --- Price --- */
.product-meta-price .price {
    font-size: 25px;
    font-weight: 700;
    color: var(--primary);
    /* Brand Blue */
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.product-meta-price .price del {
    font-size: 18px;
    color: #999;
    font-weight: 400;
    text-decoration: line-through;
}

.product-meta-price .price ins {
    text-decoration: none;
    color: var(--primary);
}

/* --- Shipping Box (Pro Style) --- */
.ths-shipping-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.ths-shipping-box .shipping-option {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.ths-shipping-box .shipping-option:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ths-shipping-box .icon-wrapper {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.ths-shipping-box .shipping-content {
    display: flex;
    flex-direction: column;
}

.ths-shipping-box .title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.ths-shipping-box .title strong {
    color: #28a745;
    /* Green for urgency */
}

.ths-shipping-box .subtitle {
    font-size: 13px;
    color: var(--secondary);
    line-height: 1.4;
}

/* Short Description */
.product-short-description {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 0px;
    line-height: 1.7;
}

/* --- Add to Cart Section (Redesigned below in new section) --- */
.single_add_to_cart_button {
    background-color: var(--primary) !important;
}


/* --- Trust Guarantees Box --- */
.ths-trust-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

.ths-trust-box .trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ths-trust-box .trust-item i {
    font-size: 20px;
    color: var(--primary);
    width: 30px;
    text-align: center;
}

.ths-trust-box .trust-item .text {
    display: flex;
    flex-direction: column;
}

.ths-trust-box .trust-item strong {
    font-size: 14px;
    color: var(--dark);
    font-weight: 600;
}

.ths-trust-box .trust-item span {
    font-size: 12px;
    color: var(--secondary);
}

/* --- Modern Payment Methods --- */
.ths-payment-methods {
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.ths-payment-methods .payment-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.ths-payment-methods .payment-subtitle {
    font-size: 13px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.ths-payment-methods .payment-icons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.ths-payment-methods .pay-icon {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--dark);
    font-weight: 500;
    transition: 0.2s;
}

.ths-payment-methods .pay-icon:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ths-payment-methods .pay-icon i {
    font-size: 16px;
    color: var(--primary);
}

.ths-payment-methods .pay-icon.highlight {
    background: #e8f5e9;
    border-color: #c8e6c9;
    color: #2e7d32;
}

.ths-payment-methods .pay-icon.highlight i {
    color: #2e7d32;
}

/* Payment Icons */
.product-payment-icons {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.product-payment-icons .payment-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-payment-icons .payment-icons-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 32px;
    color: #555;
}

.product-payment-icons .payment-icons-list i {
    transition: all 0.3s ease;
    cursor: help;
    opacity: 0.7;
}

.product-payment-icons .payment-icons-list i:hover {
    opacity: 1;
    transform: scale(1.1);
}

.product-payment-icons .payment-icons-list i.fa-cc-visa {
    color: #1a1f71;
}

.product-payment-icons .payment-icons-list i.fa-cc-mastercard {
    color: #eb001b;
}

.product-payment-icons .payment-icons-list i.fa-cc-amex {
    color: #006fcf;
}

.product-payment-icons .payment-icons-list i.fa-money-bill-wave {
    color: #28a745;
}

.product-payment-icons .payment-icons-list i.fa-building-columns {
    color: #6c757d;
}

/* Product Accordions */
.product-accordions {
    margin-bottom: 30px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    background: #fff;
}

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

.accordion-header {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    /* Remove default marker */
    transition: background 0.2s ease;
    font-size: 15px;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-header i:first-child {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.accordion-header .arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #999;
}

.accordion-item[open] .accordion-header .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--secondary);
}

.accordion-content p {
    margin: 0;
}

/* Extra Info Box */
.product-extra-info-box {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: var(--dark);
}

.product-extra-info-box p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-extra-info-box i {
    color: var(--success);
}

/* Meta Info (SKU, Category, Tags) */
.product_meta {
    font-size: 13px;
    color: #888;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.product_meta>span {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.product_meta span.sku_wrapper {
    display: block;
    margin-bottom: 10px;
    color: var(--secondary);
    font-weight: 400;
}

.product_meta a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.product_meta a:hover {
    color: var(--dark);
    text-decoration: none;
}

/* Product Tabs */
.woocommerce-tabs {
    margin-top: 60px;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    border-bottom: 1px solid #e1e1e1;
    margin: 0 0 30px;
    padding: 0;
    gap: 30px;
}

.woocommerce-tabs ul.tabs li {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 0 15px !important;
    position: relative;
}

.woocommerce-tabs ul.tabs li a {
    font-size: 18px;
    font-weight: 600;
    color: #999;
    padding: 0 !important;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li:hover a {
    color: var(--dark);
}

.woocommerce-tabs ul.tabs li.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.woocommerce-Tabs-panel {
    background: #fff;
    padding: 40px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    line-height: 1.8;
    color: var(--secondary);
}

.woocommerce-Tabs-panel h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--dark);
}

/* Cart Page */
.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media(max-width: 991px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 30px;
    padding: 15px 0;
    border-bottom: 2px solid #eee;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--dark);
}

@media(max-width: 768px) {
    .cart-header {
        display: none;
    }
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 30px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

@media(max-width: 768px) {
    .cart-item {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        position: relative;
    }

    .cart-product-info {
        width: 100%;
    }
}

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

.cart-product-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.product-name {
    font-weight: 600;
    color: var(--dark);
}

.cart-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon {
    display: flex;
    gap: 10px;
}

.update-cart-btn {
    background: transparent;
    border: 1px solid var(--dark);
    color: var(--dark);
}

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

.cart-collaterals {
    background: #f9f9f9;
    padding: 30px;
    border-radius: var(--radius);
}

.cart_totals h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cart-subtotal,
.order-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.order-total .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--success);
    color: var(--white);
    padding: 18px;
    font-weight: 700;
    border-radius: 6px;
    margin-top: 20px;
    text-transform: uppercase;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: #218838;
}

/* Checkout Page */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.woocommerce-checkout {
    position: relative;
}

.woocommerce-NoticeGroup-checkout {
    position: absolute;
    top: 0;
    width: 100%;
}

@media(max-width: 991px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media(max-width: 768px) {
    .col2-set {
        grid-template-columns: 1fr;
    }
}

.woocommerce-billing-fields__field-wrapper p {
    margin-bottom: 20px;
}

.woocommerce-input-wrapper {
    width: 100%;
}

.input-text {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}

.input-text:focus {
    border-color: var(--primary);
    outline: none;
}

.checkout-review-order {
    padding: 0px;
    border-radius: var(--radius);
    height: fit-content;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 30px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

#payment {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
}

#place_order {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 18px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    transition: 0.3s;
}

#place_order:hover {
    background: var(--primary-dark);
}

/* =========================================
   WooCommerce Pagination & Ordering UI Improvements
   ========================================= */

/* Pagination */
.woocommerce-pagination {
    margin-top: 50px;
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 10px;
    border: none !important;
    padding: 0;
    margin: 0;
    gap: 10px;
    display: flex !important;
    justify-content: center !important;
}

.woocommerce-pagination ul li {
    border: none !important;
    overflow: visible !important;
    margin: 0 !important;
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e1e1e1;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span:hover {
    background: #f0f2f5;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.woocommerce-pagination ul li span.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Ordering Select */
.woocommerce-ordering {
    margin-bottom: 30px;
    position: relative;
}

.woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 50px;
    /* Pill shape */
    padding: 10px 40px 10px 20px;
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    min-width: 220px;
}

.woocommerce-ordering select:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.woocommerce-ordering select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 80, 158, 0.1);
}

/* =========================================
   SINGLE PRODUCT ADD TO CART SECTION
   ========================================= */

.product-add-to-cart-section {
    margin-bottom: 25px;
    padding: 0px 0;
    border-top: 1px solid #f1f1f1;
}

.product-add-to-cart-section .stock.in-stock {
    color: var(--success);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.product-add-to-cart-section .stock.in-stock::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.product-add-to-cart-section form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.product-add-to-cart-section .quantity {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 5px;
}

/* Quantity Input Styling */
.product-add-to-cart-section .quantity input.qty {
    width: 50px;
    height: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    padding: 0;
    -moz-appearance: textfield;
    /* Remove arrows in Firefox */
}

/* Remove arrows in Chrome/Safari/Edge */
.product-add-to-cart-section .quantity input.qty::-webkit-outer-spin-button,
.product-add-to-cart-section .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-add-to-cart-section .quantity input.qty:focus {
    outline: none;
}

/* Add to Cart Button Styling */
.product-add-to-cart-section button.single_add_to_cart_button {
    background-color: var(--primary-opacity) !important;
    color: var(--primary) !important;
    border: none;
    padding: 0 30px;
    height: 48px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    /* Slightly rounded, matching other elements */
    cursor: pointer;
    transition: all 0.3s ease;
    flex-grow: 1;
    /* On mobile, takes full width if needed */
    max-width: 350px;
    /* But don't get too wide on desktop */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(14, 80, 158, 0.2);
}

.product-add-to-cart-section button.single_add_to_cart_button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(14, 80, 158, 0.3);
}

.product-add-to-cart-section button.single_add_to_cart_button::before {
    font-family: "Font Awesome 5 Free";
    /* Assuming FA is available or dashicons */
    content: "\f217";
    /* Cart plus icon */
    font-weight: 900;
    font-size: 18px;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .product-add-to-cart-section form.cart {
        flex-direction: row;
        /* Keep side by side if possible, or column */
    }

    .product-add-to-cart-section .quantity {
        width: 80px;
        height: 45px;
    }

    .product-add-to-cart-section button.single_add_to_cart_button {
        flex: 1;
        /* Takes remaining space */
        max-width: none;
        width: auto;
    }
}


/* =========================================
   WooCommerce Thank You Page Styling
   ========================================= */

.thankyou-page-container {
    margin: 40px auto;
    background: #fff;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.thankyou-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 40px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
}

.thankyou-icon.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.thankyou-icon.failed {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.thankyou-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2.5;
}

.thankyou-title {
    font-size: 32px;
    font-weight: 800;
    color: #2d3436;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.thankyou-subtitle {
    font-size: 16px;
    color: #636e72;
    margin: 0;
}

.thankyou-order-overview-wrapper {
    padding: 30px 40px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-thankyou-order-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 20px;
}

.woocommerce-thankyou-order-details li {
    flex: 1;
    min-width: 140px;
    padding: 15px !important;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#submit-payment {
    background: var(--primary);
    width: 100% !important;
    border-radius: 10px;
}

.woocommerce-thankyou-order-details li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.woocommerce-thankyou-order-details li span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
}

.woocommerce-thankyou-order-details li strong {
    font-size: 16px;
    color: #1e293b;
    font-weight: 700;
}

.woocommerce-thankyou-order-details li.total strong {
    color: var(--primary);
}

.thankyou-content-grid {
    padding: 40px;
}

.thankyou-main-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.thankyou-main-content h2::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

/* Order Details Table in Thank You Page */
.thankyou-main-content .woocommerce-table--order-details {
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    background: transparent !important;
}

.thankyou-main-content .woocommerce-table--order-details thead th {
    background: transparent !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding-left: 0 !important;
    color: #64748b !important;
}

.thankyou-main-content .woocommerce-table--order-details tbody td {
    padding: 20px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.thankyou-main-content .woocommerce-table--order-details tfoot th {
    background: transparent !important;
    padding-left: 0 !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.thankyou-main-content .woocommerce-table--order-details tfoot td {
    background: transparent !important;
    text-align: right !important;
    padding-right: 0 !important;
}

.thankyou-main-content .woocommerce-table--order-details tfoot tr:last-child th,
.thankyou-main-content .woocommerce-table--order-details tfoot tr:last-child td {
    background: transparent !important;
    border-top: 2px solid #e2e8f0 !important;
    font-size: 20px !important;
    color: var(--primary) !important;
    padding-top: 20px !important;
}

/* Customer Details Section */
.thankyou-main-content .woocommerce-customer-details {
    margin-top: 50px;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
}

.thankyou-main-content .woocommerce-column__title {
    font-size: 18px;
    border-bottom: none;
    margin-bottom: 15px;
    color: #2d3436;
}

.thankyou-main-content address {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    color: #636e72;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .thankyou-page-container {
        margin: 20px;
        border-radius: 12px;
    }

    .thankyou-header {
        padding: 40px 20px;
    }

    .thankyou-title {
        font-size: 24px;
    }

    .thankyou-order-overview-wrapper {
        padding: 20px;
    }

    .woocommerce-thankyou-order-details li {
        width: 100%;
        flex: 1 1 100%;
    }

    .thankyou-content-grid {
        padding: 20px;
    }

    .thankyou-main-content .woocommerce-table--order-details tfoot th {
        width: 50%;
    }
}

/* Failed Order Styling */
.thankyou-failed {
    padding: 60px 40px;
    text-align: center;
}

.thankyou-failed h2 {
    font-size: 28px;
    color: #dc3545;
    margin-bottom: 15px;
}

.woocommerce-thankyou-order-failed {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.woocommerce-thankyou-order-failed-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.woocommerce-thankyou-order-failed-actions .button {
    background: #dc3545;
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.thankyou-account-promo {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius);
    margin: 20px 0;
    border: 1px solid var(--border);
}

.thankyou-promo-icon {
    width: 60px;
    height: 60px;
    background: rgba(14, 80, 158, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thankyou-promo-content h3 {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    margin-top: 0px;
}

.thankyou-promo-content p {
    color: var(--secondary);
    margin: 12px 0px !important;
    padding: 0 !important;
    font-size: 14px;
}

.thankyou-promo-content .button.primary {
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
}

.thankyou-promo-content .button.primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

@media (max-width: 768px) {
    .thankyou-account-promo {
        flex-direction: column;
        text-align: center;
    }
}

.woocommerce-thankyou-order-failed-actions .button:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.section-padding {
    padding: 0;
}

#customer_details {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 10px 20px 0px #00000027;
}

.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
    display: flex;
    flex-direction: column;
    width: 100%;

}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
    width: 100%;
}

.woocommerce form .form-row label {
    font-size: 14px;
    font-weight: 600;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    padding: 15px 20px;
    border-radius: 5px;
    border: 1px solid #c1c1c1;
}

.woocommerce-billing-fields__field-wrapper .select2-selection {
    padding: 25px 20px !important;
    border-radius: 5px !important;
    border: 1px solid #c1c1c1 !important;

}

/* =========================================
   WooCommerce Order Review Table Styling
   ========================================= */
.woocommerce-checkout-review-order-table {
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    background: #fff !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 18px 25px !important;
    text-align: left !important;
    border-bottom: 1px solid #f0f0f0 !important;
    vertical-align: middle !important;
}

.woocommerce-checkout-review-order-table thead th {
    background-color: #f8f9fa !important;
    color: #444 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid #eaeaea !important;
}

.woocommerce-checkout-review-order-table tbody tr:hover {
    background-color: #fafafa !important;
}

.woocommerce-checkout-review-order-table .product-name {
    color: #333 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 300;
}

.woocommerce-checkout-review-order-table .product-quantity {
    font-weight: 600 !important;
    color: #666 !important;
    margin-left: 5px !important;
}

.woocommerce-checkout-review-order-table .product-total {
    font-weight: 700 !important;
    color: #333 !important;
    text-align: right !important;
    white-space: nowrap !important;
}

/* Footer Styling */
.woocommerce-checkout-review-order-table tfoot {
    display: table-footer-group !important;
    /* Ensure standard table behavior */
    width: 100% !important;
}

.woocommerce-checkout-review-order-table tfoot tr {
    display: table-row !important;
    width: 100% !important;
}

.woocommerce-checkout-review-order-table tfoot th {
    background-color: #fff !important;
    font-weight: 600 !important;
    color: #555 !important;
    border-top: 1px solid #f0f0f0 !important;
    width: 50% !important;
    /* Adjusted width for better balance */
    display: table-cell !important;
}

.woocommerce-checkout-review-order-table tfoot td {
    background-color: #fff !important;
    text-align: right !important;
    font-weight: 700 !important;
    border-top: 1px solid #f0f0f0 !important;
    display: table-cell !important;
}

.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td {
    color: #555 !important;
}

.woocommerce-checkout-review-order-table tfoot tr.shipping th {
    vertical-align: middle !important;
    /* Center vertically */
    padding-top: 20px !important;
}

.woocommerce-checkout-review-order-table tfoot tr.shipping td {
    font-size: 14px !important;
    vertical-align: middle !important;
}

.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    background-color: #fcfcfc !important;
    color: #000 !important;
    font-size: 18px !important;
    border-top: 2px solid #eaeaea !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.woocommerce-checkout-review-order-table tfoot tr.order-total td strong {
    color: #000 !important;
    font-weight: 800 !important;
}

/* Shipping Methods List */
#shipping_method {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#shipping_method li {
    margin-bottom: 10px !important;
    text-align: right !important;
}

#shipping_method li label {
    font-weight: 400 !important;
    color: #555 !important;
}

.woocommerce-checkout-review-order-table .product-image img {
    border-radius: 6px !important;
    width: 50px !important;
    height: auto !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.2s ease !important;
}

.woocommerce-checkout-review-order-table .product-image a {
    display: block !important;
}

.woocommerce-checkout-review-order-table .product-image a:hover img {
    transform: scale(1.05) !important;
}

.woocommerce-checkout-review-order-table .product-details {
    padding-left: 0 !important;
    display: block !important;
}

.woocommerce-checkout-review-order-table .product-name-link {
    text-decoration: none !important;
    color: inherit !important;
    transition: color 0.2s ease !important;
}

.woocommerce-checkout-review-order-table .product-name-link:hover {
    color: var(--primary, #007bff) !important;
    /* Fallback to blue if var not set */
    text-decoration: underline !important;
}

#payment {
    background-color: #fff !important;
}

/* =========================================
   WooCommerce My Account Dashboard Styling
   ========================================= */

/* General Layout - Side-by-Side Dashboard */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

/* Sidebar Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    /* Fixed width sidebar */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: fit-content;
    border: 1px solid #f0f0f0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #f9f9f9;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Hover & Active States */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #f8f9fa;
    color: var(--primary, #007bff);
    padding-left: 25px;
    /* Slight movement effect */
    font-weight: 600;
}

/* Main Content Area */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    min-width: 0;
    /* Prevent flex overflow */
}

/* Dashboard Welcome Message */
.woocommerce-MyAccount-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #b3b3b3;
    margin-bottom: 20px;
}

/* Account Details Form */
.woocommerce-MyAccount-content form {
    max-width: 100%;
}

.woocommerce-MyAccount-content fieldset {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.woocommerce-MyAccount-content legend {
    font-weight: 700;
    font-size: 18px;
    color: #333;
    padding: 0 10px;
}

/* Orders Table */
.woocommerce-MyAccount-orders {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.woocommerce-MyAccount-orders th,
.woocommerce-MyAccount-orders td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.woocommerce-MyAccount-orders thead th {
    background-color: #f8f9fa;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    font-size: 13px;
}

.woocommerce-MyAccount-orders .woocommerce-button {
    padding: 8px 15px;
    font-size: 13px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #555;
    font-weight: 600;
}

.woocommerce-MyAccount-orders .woocommerce-button:hover {
    background-color: var(--primary, #007bff);
    border-color: var(--primary, #007bff);
    color: #fff;
}

/* Contenedor de acciones en pedidos */
.woocommerce-orders-table__cell-order-actions {
    display: flex;
    flex-wrap: wrap;
    /* Permite bajar a otra línea si no caben */
    gap: 8px;
    /* Espacio entre botones */
    justify-content: flex-start;
    align-items: center;
}

/* Botones */
.woocommerce-orders-table__cell-order-actions .button {
    margin: 0 !important;
    /* Elimina márgenes feos por defecto */
    padding: 8px 14px;
    font-size: 13px;
    line-height: 1;
    border-radius: 6px;
    white-space: nowrap;
    /* Evita que el texto se parta */
}

/* Colores opcionales por acción */
.woocommerce-orders-table__cell-order-actions .pay {
    background-color: #2ecc71;
    color: #fff;
}

.woocommerce-orders-table__cell-order-actions .view {
    background-color: #3498db;
    color: #fff;
}

.woocommerce-orders-table__cell-order-actions .cancel {
    background-color: #e74c3c;
    color: #fff;
}

/* Hover */
.woocommerce-orders-table__cell-order-actions .button:hover {
    opacity: 0.85;
}


/* Addresses */
.woocommerce-Address {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.woocommerce-Address-title h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

/* Responsive Dashboard */
@media (max-width: 991px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 30px;
    }
}

/* =========================================
   Order Details & View Order Styling
   ========================================= */

/* Order Info Text */
.woocommerce-order-details {
    margin-top: 20px;
}

.woocommerce ul.order_details li strong {
    font-weight: 600 !important;
    font-size: 13px !important;
}

.woocommerce-order p {
    font-size: 14px;
    color: #555;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.woocommerce-order p mark {
    background: transparent;
    font-weight: 700;
    color: #333;
}

/* Order Details Table */
.woocommerce-table--order-details {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.woocommerce-table--order-details thead th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 700;
    padding: 15px 20px;
    text-transform: uppercase;
    font-size: 13px;
    border-bottom: 2px solid #eee;
}

.woocommerce-table--order-details tbody td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    color: #555;
}

.woocommerce-table--order-details tbody td.woocommerce-table__product-name a {
    color: var(--primary, #007bff);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.woocommerce-table--order-details tbody td.woocommerce-table__product-name .product-quantity {
    font-weight: 700;
    color: #888;
}

.woocommerce-table--order-details tfoot th {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background-color: #fcfcfc;
    color: #555;
    font-weight: 600;
    text-align: left;
    width: 30%;
}

.woocommerce-table--order-details tfoot td {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    color: #333;
    font-weight: 600;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    background-color: #f0f4f8;
    color: #333;
    font-size: 16px;
    border-top: 2px solid #e1e1e1;
    font-weight: 800;
}

/* Order Again Button */
.order-again {
    margin-bottom: 30px;
}

.order-again .button {
    display: inline-block;
    background-color: var(--primary, #007bff);
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.order-again .button:hover {
    background-color: var(--primary-dark, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Customer Details & Addresses */
.woocommerce-customer-details {
    margin-top: 40px;
}

.woocommerce-column__title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.woocommerce-customer-details address {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    font-style: normal;
    line-height: 1.6;
    color: #555;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.woocommerce-customer-details .woocommerce-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.woocommerce-customer-details .woocommerce-column {
    flex: 1;
    min-width: 300px;
}

/* Address Fields Styling */
.woocommerce-customer-details address p {
    margin-bottom: 5px;
}

.woocommerce-customer-details .woocommerce-customer-details--email,
.woocommerce-customer-details .woocommerce-customer-details--phone {
    margin-top: 15px;
    display: block;
    font-weight: 500;
}

.woocommerce-customer-details .woocommerce-customer-details--email::before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    margin-right: 8px;
    color: #999;
}

.woocommerce-customer-details .woocommerce-customer-details--phone::before {
    content: "\f095";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #999;
}


/* Modern & Minimalist WooCommerce Login Styles */
.ths-auth-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.ths-auth-box {
    flex: 1;
    min-width: 320px;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ths-auth-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(14, 80, 158, 0.1);
}

/* Impactful Top Border */
.ths-auth-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ths-auth-box:hover::before {
    opacity: 1;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: var(--secondary);
    font-size: 16px;
    margin-bottom: 40px;
    font-weight: 300;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 18px;
    transition: all 0.3s ease;
}

.input-icon-wrapper input.input-text {
    width: 100%;
    padding: 16px 20px 16px 55px;
    border: 2px solid #f5f5f5;
    border-radius: 12px;
    background: #f9f9f9;
    font-size: 16px;
    color: var(--dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-icon-wrapper input.input-text:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(14, 80, 158, 0.08);
    outline: none;
}

.input-icon-wrapper input.input-text:focus+i {
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 10px;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    padding: 20px;
    border-radius: 10px;
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
    background-color: var(--primary);
    color: #fff;
}

.woocommerce-form-login {
    border: none !important;
    padding: 0px !important;
}

.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.woocommerce-form-login__rememberme span {
    font-size: 14px;
    color: var(--secondary);
}

.woocommerce-LostPassword a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    text-decoration: none;
}

.woocommerce-LostPassword a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.woocommerce-LostPassword a:hover::after {
    width: 100%;
}

.woocommerce-button,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(14, 80, 158, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-button::before,
.woocommerce-form-login__submit::before,
.woocommerce-form-register__submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woocommerce-button:hover,
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 80, 158, 0.3);
}

.woocommerce-button:hover::before,
.woocommerce-form-login__submit:hover::before,
.woocommerce-form-register__submit:hover::before {
    opacity: 1;
}

.ths-auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 20px;
}

.ths-auth-divider span {
    background: #f0f7ff;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}

.woocommerce-privacy-policy-text {
    font-size: 13px;
    color: #888;
    margin: 20px 0;
    line-height: 1.6;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .ths-auth-container {
        flex-direction: column;
        gap: 30px;
        margin: 30px auto;
    }

    .ths-auth-box {
        padding: 30px;
    }

    .ths-auth-divider {
        width: 100%;
        margin: 20px 0;
        height: 1px;
        background: #eee;
    }

    .ths-auth-divider span {
        background: var(--white);
        padding: 0 10px;
    }
}

