/* =============================================
   CORBENZ ENGINE - Premium Video Hero
   ============================================= */

.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-hero-cta {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.4);
}

.btn-hero-outline {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.4s;
}

.btn-hero-cta:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Custom Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #fff !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
    border-color: #fff !important;
    transform: scale(1.4);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
        letter-spacing: -0.5px;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 20px;
        line-height: 1.4;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 30px;
        gap: 15px;
    }

    .btn-hero-cta,
    .btn-hero-outline {
        padding: 15px 30px;
        width: 100%;
        text-align: center;
    }
}

/* Industrial Particles Container */
#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 480px;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 0.92rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .carousel-prev {
        left: 12px;
    }

    .carousel-next {
        right: 12px;
    }
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.toast-error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.toast-info {
    background: linear-gradient(135deg, #17a2b8, #2ea3f2);
}

.toast i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.toast span {
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.toast-close:hover {
    color: #fff;
}

/* Cart bounce animation */
@keyframes cartBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }
}

.cart-bounce {
    animation: cartBounce 0.5s ease;
}

/* Loading spinner on buttons */
.bx-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Sort/Filter Bar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.sort-select {
    padding: 8px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 18px;
    padding-right: 30px;
}

.sort-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Product WhatsApp button */
.btn-whatsapp-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-whatsapp-product:hover {
    background: #128c7e;
    transform: scale(1.02);
}

/* Breadcrumb enhanced */
.breadcrumb-nav {
    padding: 12px 0;
    font-size: 0.88rem;
    color: #888;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span {
    margin: 0 6px;
    color: #ccc;
}

/* Lazy loading fade-in - Removed to prevent invisible images without JS reveal */
img[loading="lazy"] {
    opacity: 1;
}

/* General Page Styles */
.text-center {
    text-align: center;
}

.title-line {
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto 2rem;
}

/* Alerts */
.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-info {
    background: #e8f4fd;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.alert-error {
    background: #fde8e8;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

/* Button variants */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-name-small {
    font-size: 0.8rem;
    display: none;
}

@media (min-width: 769px) {
    .user-name-small {
        display: inline;
    }
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 200px;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 8px;
}

.user-dropdown.active .user-dropdown-menu {
    display: block;
}

.user-dropdown-menu li {
    list-style: none;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.user-dropdown-menu a:hover {
    background: #f5f5f5;
}

.user-dropdown-menu i {
    font-size: 1.2rem;
}

/* Categories Showcase */
.categories-showcase {
    padding: 4rem 0;
    background: var(--light-bg, #f8f9fa);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.category-card-link {
    text-decoration: none;
    color: inherit;
}

.category-showcase-card {
    padding: 1.8rem 1rem;
    text-align: center;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.category-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    transition: all 0.3s;
    border-radius: 16px;
}

.category-showcase-card:hover::before {
    background: rgba(255, 255, 255, 0.1);
}

.category-showcase-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.cat-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.category-showcase-card h3 {
    font-size: 0.9rem;
    margin: 0 0 6px;
    color: #fff;
    font-weight: 700;
}

.cat-count-badge {
    font-size: 0.72rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Featured Products / Product Grid */
.featured-products {
    padding: 4rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-img-link {
    display: block;
    overflow: hidden;
    height: 200px;
    background: #f5f5f5;
}

.product-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.product-card:hover .product-img-link img {
    transform: scale(1.05);
}

.product-info {
    padding: 1rem 1.2rem 1.2rem;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--secondary-color, #e74c3c);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-info h3 {
    margin: 0.4rem 0 0.6rem;
    font-size: 1rem;
    line-height: 1.3;
}

.product-info h3 a {
    color: #333;
    text-decoration: none;
}

.product-info h3 a:hover {
    color: var(--primary-color);
}

.product-price {
    margin-bottom: 0.8rem;
}

.product-price .price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.product-price .consultar {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: #000050;
    transform: scale(1.02);
}

.btn-consult {
    background: var(--secondary-color);
    text-decoration: none;
}

.btn-consult:hover {
    background: #c0392b;
}

.out-of-stock {
    color: #999;
    font-style: italic;
    font-size: 0.85rem;
}

.add-cart-form {
    display: inline;
}

/* Shop Page */
.shop-section {
    padding: 3rem 0;
    padding-top: 180px;
}

.shop-header {
    margin-bottom: 2rem;
}

.shop-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
}

.results-count {
    color: #888;
    margin-top: 0.3rem;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.shop-sidebar {
    position: sticky;
    top: 180px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 2px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.category-list a:hover,
.category-list li.active a {
    background: var(--primary-color);
    color: #fff;
}

.cat-count {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    font-weight: 600;
    transition: all 0.2s;
}

.page-link.active,
.page-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state h3 {
    margin: 1rem 0 0.5rem;
    color: #333;
}

.empty-state p {
    color: #888;
    margin-bottom: 1.5rem;
}

/* Product Detail */
.product-detail-section {
    padding: 2rem 0;
    padding-top: 100px;
    /* Reduced from 180px */
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin: 2rem 0;
    }

    .product-detail-image img {
        border-radius: 20px;
    }

    .product-detail-info h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .price-big {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .product-detail-grid {
        gap: 2rem;
    }

    .product-detail-image img {
        border-radius: 15px;
    }
}

.product-detail-image {
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info h1 {
    font-size: 1.8rem;
    margin: 0.5rem 0 1rem;
    color: #222;
}

.price-big {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-big.consultar {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.product-stock {
    margin: 1rem 0;
}

.in-stock {
    color: #28a745;
    font-weight: 600;
}

.in-stock i,
.no-stock i {
    margin-right: 4px;
}

.no-stock {
    color: #dc3545;
    font-weight: 600;
}

.product-description {
    margin: 1.5rem 0;
}

.product-description h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-description p {
    color: #666;
    line-height: 1.7;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.qty-input {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    text-align: center;
}

.btn-add-cart-big {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-consult-big {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.related-products {
    margin-top: 4rem;
}

.related-products h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Cart Page Redesign - Premium Industrial */
.cart-page {
    padding: 220px 0 150px;
    background: #f8fafc;
    min-height: 100vh;
}

.cart-page .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.cart-page .section-title h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.cart-page .section-title p {
    font-size: 1.2rem;
    color: #64748b;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 50, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 50, 0.08);
}

.cart-item-img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-item-main h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    font-weight: 800;
}

.cart-item-id {
    font-size: 0.85rem;
    color: #8e9aaf;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.cart-item-pricing {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.unit-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-qty-selector {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 4px;
    border: 1px solid #e2e8f0;
}

.qty-adjust {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.qty-adjust:hover {
    background: var(--primary-color);
    color: #fff;
}

.cart-qty-selector input {
    width: 45px;
    background: transparent;
    border: none;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.cart-item-actions .btn-remove-item {
    background: #fff4f4;
    color: #ef4444;
    border: 1px solid #fee2e2;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.cart-item-actions .btn-remove-item:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(90deg);
}

/* Sidebar Summary */
.cart-sidebar {
    position: sticky;
    top: 140px;
}

.summary-premium-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.08);
    border: 1px solid rgba(0, 51, 102, 0.05);
}

.summary-premium-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
    color: var(--primary-color);
    font-weight: 800;
}

.summary-details {
    margin-bottom: 2rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #64748b;
}

.summary-line.total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #e2e8f0;
    color: var(--primary-color);
}

.grand-total-val {
    font-size: 1.8rem;
    font-weight: 900;
}

.btn-whatsapp-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25d366;
    color: #fff;
    padding: 1.2rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-order:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    background: #1eb956;
}

.btn-back-catalog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.btn-back-catalog:hover {
    color: var(--primary-color);
}

.empty-cart-card {
    text-align: center;
    background: #fff;
    padding: 5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.empty-cart-card i {
    font-size: 5rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .shop-category-nav-horizontal {
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links-wrapper {
        display: flex;
        white-space: nowrap;
        gap: 10px;
    }

    .cat-pill {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 1100px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .cart-item-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item-img {
        margin: 0 auto;
    }

    .cart-item-pricing {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .cart-item-actions {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

/* Checkout */
.checkout-section {
    padding: 2rem 0;
    padding-top: 180px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.checkout-form,
.checkout-summary {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 123, 0.05);
    border: 1px solid #f0f4f8;
    transition: var(--transition);
}

.checkout-form:hover,
.checkout-summary:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 123, 0.08);
}

.checkout-form h2,
.checkout-summary h2 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f8fafc;
    color: #2d3748;
}

.form-control:focus {
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 163, 242, 0.1);
    outline: none;
}

.checkout-form .form-group {
    margin-bottom: 1.2rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
}

/* Cart WooCommerce Notice */
.cart-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.cart-notice-success {
    background: #d4edda;
    color: #155724;
    border-top: 3px solid #28a745;
}

.cart-notice i {
    font-size: 1.3rem;
}

.view-cart-link {
    margin-left: auto;
    color: #155724;
    font-weight: 700;
    text-decoration: underline;
}

/* Checkout Billing Form */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

/* Summary Table (WooCommerce style) */
.summary-table {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f9fa;
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
    border-bottom: 1px solid #eee;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.summary-product-name {
    flex: 1;
    padding-right: 1rem;
}

.summary-item-price {
    font-weight: 700;
    white-space: nowrap;
    color: var(--primary-color);
}

.summary-subtotal {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.summary-total-final {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    background: #f8f9fa;
}

.total-amount {
    color: var(--primary-color);
}

.checkout-privacy {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.checkout-privacy a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-proforma {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-proforma:hover {
    background: #000050;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 123, 0.3);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.order-success {
    text-align: center;
    padding: 4rem 2rem;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
}

.success-icon i {
    font-size: 5rem;
}

.order-success h1 {
    margin: 1rem 0 0.5rem;
    color: #28a745;
}

.order-success p {
    color: #666;
    max-width: 500px;
    margin: 0.5rem auto;
}

.success-actions {
    margin-top: 2rem;
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Auth Page */
.auth-section {
    padding: 2rem 0;
    padding-top: 180px;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: #888;
    transition: all 0.3s;
}

.auth-tab.active {
    background: var(--primary-color);
    color: #fff;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

.auth-form .form-group {
    margin-bottom: 1.2rem;
}

.auth-form label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
}

/* Orders Page */
.orders-section {
    padding: 2rem 0;
    padding-top: 180px;
}

.orders-section h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.order-date {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 2px;
}

.order-status {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pendiente,
.badge-pendiente {
    background: #fff3cd;
    color: #856404;
}

.status-en_proceso,
.badge-en_proceso {
    background: #cce5ff;
    color: #004085;
}

.status-enviado,
.badge-enviado {
    background: #d4edda;
    color: #155724;
}

.status-entregado,
.badge-entregado {
    background: #d1ecf1;
    color: #0c5460;
}

.order-body {
    padding: 1rem 1.5rem;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.order-item-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.order-item-name {
    flex: 1;
}

.order-item-qty {
    color: #888;
}

.order-item-price {
    font-weight: 600;
}

.order-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    text-align: right;
}

.order-total {
    font-size: 1.1rem;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col p i {
    margin-right: 6px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

/* Nuestros Clientes */
.clients-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.client-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 123, 0.08);
    background: #fff;
}

.client-logo-box {
    width: 85px;
    height: 85px;
    margin-bottom: 1.2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    z-index: 2;
}

.client-brand-logo.error {
    display: none;
}

.client-logo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.4s ease;
}

.client-brand-logo:not(.error)+.client-logo-placeholder {
    opacity: 0;
}

.client-brand-logo.error+.client-logo-placeholder {
    opacity: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.client-logo-placeholder i {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.client-brand-logo.error+.client-logo-placeholder i {
    color: #fff;
}

.client-card:hover .client-brand-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-card h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 800;
}

.client-card span {
    font-size: 0.75rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
}

/* About / Nosotros Section */
.about-section {
    padding: 4rem 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-logo-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.about-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
}

.about-logo-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 2px;
}

.about-logo-card h3 span {
    color: var(--secondary-color);
}

.about-slogan {
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 4px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-item strong {
    display: block;
    font-size: 0.9rem;
    color: #333;
}

.stat-item span {
    font-size: 0.75rem;
    color: #888;
}

.about-text-side p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-heading {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.about-features {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s;
}

.about-feature:hover {
    background: #eef4ff;
    transform: translateX(4px);
}

.about-feature i {
    font-size: 1.2rem;
    color: #28a745;
}

.about-feature span {
    font-size: 0.92rem;
    color: #444;
}

/* =============================================
   CORBENZ ENGINE - Premium Catalog Fixes
   ============================================= */

.shop-premium-container {
    width: 100%;
    margin-top: 0;
    background: #fff;
}

@media (max-width: 992px) {
    .shop-premium-container {
        margin-top: 0;
    }
}

.shop-layout-premium {
    display: block;
    min-height: 100vh;
}


@media (max-width: 992px) {
    .shop-layout-premium {
        display: block;
    }
}

.shop-main-premium {
    padding: 1rem 5% 3rem;
    /* Reduced padding */
    background: #fff;
}

/* Horizontal Category Nav */
.shop-category-nav-horizontal {
    margin-bottom: 1.2rem;
    /* Reduced from 2rem */
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nav-title-box {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 8px;
    display: inline-block;
    align-self: flex-start;
}

.nav-links-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cat-pill {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 50px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-pill:hover {
    border-color: var(--secondary-color);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cat-pill.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pill-count {
    font-size: 0.75rem;
    opacity: 0.8;
}

.cat-pill.active .pill-count {
    color: var(--secondary-color);
}

.category-hero-banner {
    width: 100%;
    height: 200px;
    /* More compact height */
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.category-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.category-hero-content {
    position: relative;
    z-index: 10;
    padding: 0 5%;
    color: #fff;
}

.category-hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    /* Reset margins */
    line-height: 1;
}

.hero-breadcrumb-premium {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-breadcrumb-premium a {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.hero-breadcrumb-premium a:hover {
    opacity: 1;
}

.product-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

@media (min-width: 1400px) {
    .product-grid-premium {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1800px) {
    .product-grid-premium {
        grid-template-columns: repeat(5, 1fr);
    }
}

.shop-top-bar-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.results-count-premium {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.shop-sorting {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shop-sorting label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
}

#sort-select-premium {
    padding: 10px 35px 10px 15px;
    border: 2px solid #eee;
    border-radius: 50px;
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23003366' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

#sort-select-premium:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.1);
    background-position: right 8px center;
    /* Subtle shift animation */
}

#sort-select-premium:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
}

.product-card-premium {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.product-img-wrapper {
    position: relative;
    padding-top: 80%;
    background: #f9f9f9;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.6s ease;
}

.product-card-premium:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.product-info-premium {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-meta-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-title-premium {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.product-title-premium a {
    color: var(--heading-color);
    text-decoration: none;
}

.product-sku {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 1rem;
}

.product-price-premium {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.product-stock-status {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-instock {
    color: #10b981;
}

.status-outstock {
    color: #ef4444;
}

.product-actions-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-premium {
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-premium {
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn-wa-premium {
    background: #25d366;
    color: #fff;
}

.btn-detail-premium {
    grid-column: span 2;
    background: #f0f0f0;
    color: #333;
}

.btn-premium:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.filter-widget {
    margin-bottom: 2.5rem;
}

.filter-widget h4 {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: var(--heading-color);
    border-left: 4px solid var(--secondary-color);
    padding-left: 12px;
}

.filter-list {
    list-style: none;
    padding: 0;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-link {
    display: flex;
    justify-content: space-between;
    color: #555;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s;
}

.filter-link:hover,
.filter-link.active {
    color: var(--primary-color);
    font-weight: 700;
    padding-left: 5px;
}

.filter-count {
    color: #999;
    font-weight: 400;
}

.breadcrumb-premium {
    padding: 20px 5%;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.breadcrumb-premium a {
    color: var(--secondary-color);
    text-decoration: none;
}

.trust-bar-premium {
    padding: 5rem 5%;
    background: #fdfdfd;
}

.trust-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.trust-item-premium {
    text-align: center;
}

.trust-item-premium i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.trust-item-premium h5 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.trust-item-premium p {
    font-size: 0.9rem;
    color: #666;
}

/* Quantity Selector Animations - Product Detail */
.product-qty-select {
    margin: 2rem 0;
}

.qty-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 50px;
    width: fit-content;
    border: 1px solid #eee;
    margin-top: 10px;
    transition: var(--transition);
}

.qty-input-wrapper:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .trust-bar-premium {
        padding: 10px 0;
    }

    .trust-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .trust-item-premium {
        width: 100%;
        justify-content: center;
        border: none;
        padding: 10px 0;
    }

    .trust-item-premium:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 380px) {
    .header-actions {
        gap: 5px;
    }

    .cart-btn-pill {
        padding: 8px 12px;
    }

    .cart-btn-pill span:not(.cart-badge) {
        display: none;
        /* Hide 'Carrito' text on very small screens */
    }
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(90deg);
}

.qty-btn.minus:hover {
    background: #ef4444;
    /* Alert color */
    transform: scale(1.1) rotate(-90deg);
}

.qty-btn.plus:hover {
    background: #10b981;
    /* Success color */
}

#qty {
    width: 60px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-color);
    outline: none;
    transition: var(--transition);
}

#qty:focus {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* Chrome, Safari, Edge, Opera */
#qty::-webkit-outer-spin-button,
#qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
#qty[type=number] {
    -moz-appearance: textfield;
    appearance: none;
}

.btn-add-cart-big {
    padding: 18px 45px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.2);
}

.btn-add-cart-big:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 119, 182, 0.3);
}

/* Optimización móvil para espacio entre buscador y banner */
@media (max-width: 768px) {
    .category-hero-banner {
        height: auto;
        min-height: auto;
        margin: 0;
        padding: 30px 0;
    }

    .category-hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-top: 8px;
    }

    .shop-premium-container {
        padding-top: 0;
        margin-top: 0 !important;
    }
}