@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* ========================================
   CSS VARIABLES FOR DARK MODE SUPPORT
   ======================================== */
:root {
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-light: #f8f9fa;

    /* Text Colors */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --text-muted: #a0aec0;

    /* Border Colors */
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e0;

    /* Shadow Colors */
    --shadow-sm: rgba(0, 0, 0, 0.07);
    --shadow-md: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);

    /* Card Background */
    --card-bg: #ffffff;
    --card-hover-shadow: rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
    :root {
        /* Background Colors */
        --bg-primary: #1a202c;
        --bg-secondary: #2d3748;
        --bg-tertiary: #4a5568;
        --bg-light: #2d3748;

        /* Text Colors */
        --text-primary: #f7fafc;
        --text-secondary: #e2e8f0;
        --text-tertiary: #cbd5e0;
        --text-muted: #a0aec0;

        /* Border Colors */
        --border-primary: #4a5568;
        --border-secondary: #718096;

        /* Shadow Colors */
        --shadow-sm: rgba(0, 0, 0, 0.3);
        --shadow-md: rgba(0, 0, 0, 0.4);
        --shadow-lg: rgba(0, 0, 0, 0.5);

        /* Card Background */
        --card-bg: #2d3748;
        --card-hover-shadow: rgba(0, 0, 0, 0.5);
    }
}

.font-russo {
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    font-style: normal;
}
h1,h2,h3,h4,h5,h6 {
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.font-roboto {
    font-family: "roboto", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.inset-shadow-top-right {
    box-shadow:
            inset 0 -5px 5px -5px rgba(0, 0, 0, 0.8), /* Borde superior */
            inset -5px 0 5px -5px rgba(0, 0, 0, 0.8);  /* Borde derecho */
}

/* ========================================
   MAIN PAGE STYLES
   ======================================== */

/* Hero Section Styles */
.hero-carousel-container {
    position: relative;
    margin-bottom: 3rem;
}

.hero-banner-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    right: 0;
    left: 0;
    bottom: 0;
    padding: 3rem 2rem 2rem 3rem;
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    background-color: rgba(29, 78, 145, 0.85);
    padding: 0.5rem 1.5rem;
    display: inline-block;
    border-radius: 8px;
}

.hero-description {
    font-size: 1.3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    max-width: 600px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 1.5rem;
}

.carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

.carousel-indicators button.active {
    background-color: #fff;
}

/* Section Headers */
.section-header {
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-badge.new-badge {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #718096;
    font-size: 1.1rem;
}

.btn-modern {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.offer-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.new-product-badge {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-body {
    padding: 1.5rem;
}

.product-sku {
    color: #a0aec0;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-title {
    color: #2d3748;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: inline-block;
    background: #edf2f7;
    color: #4a5568;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.product-price-section {
    margin-top: 0.75rem;
}

.price-label {
    color: #718096;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.price-old {
    color: #a0aec0;
    text-decoration: line-through;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.price-current {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
}

.price-sale {
    color: #e53e3e;
    font-size: 1.8rem;
    font-weight: 700;
}

/* ========================================
   ARTICULOS PAGE STYLES
   ======================================== */

/* Page Header */
.page-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: #718096;
    font-size: 1rem;
}

/* Modern Filters Container */
.filters-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.filters-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filters-title {
    color: white;
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.filters-toggle {
    color: white;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
}

.filters-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

.filters-form {
    padding: 1.5rem;
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-section-title {
    font-weight: 700;
    color: #2d3748;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 4px solid #667eea;
}

.filter-chip {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.7rem 1.2rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    height: 100%;
}

.filter-chip:hover {
    border-color: #667eea;
    background: #edf2f7;
}

.filter-chip input[type="checkbox"] {
    margin-right: 0.6rem;
    cursor: pointer;
}

.filter-chip label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.filter-chip input[type="checkbox"]:checked + label,
.filter-chip:has(input[type="checkbox"]:checked) {
    color: #667eea;
    font-weight: 600;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    /*padding-top: 1.5rem;*/
    /*border-top: 2px solid #e2e8f0;*/
}

/* Product Cards - Reusing styles from main */
.hover-shadow {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.hover-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.card-img-top {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-shadow:hover .card-img-top {
    transform: scale(1.1);
}

.zoom-img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-shadow:hover .zoom-img {
    transform: scale(1.1);
}
.articulos-table-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}


/* ========================================
   CARRITO PAGE STYLES
   ======================================== */

/* Page Header */
.page-header-cart {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.cart-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.page-title-cart {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
}

.page-subtitle-cart {
    color: #718096;
    font-size: 1rem;
}

.modern-alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Cart Products Container */
.cart-products-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.cart-products-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.2rem 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items-list {
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.cart-item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.cart-item-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.cart-item-sku {
    color: #a0aec0;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: #4a5568;
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.quantity-selector {
    text-align: right;
}

.quantity-label {
    font-size: 0.85rem;
    color: #718096;
    display: block;
    margin-bottom: 0.5rem;
}

.quantity-input-group {
    display: flex;
    gap: 0.5rem;
}

.quantity-input {
    width: 80px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    text-align: center;
    font-weight: 600;
}

.quantity-input:focus {
    border-color: #667eea;
    outline: none;
}

.cart-item-total {
    text-align: right;
}

.total-label {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 0.3rem;
}

.total-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
}

.cart-item-remove {
    flex-shrink: 0;
}

.btn-remove {
    background: transparent;
    border: none;
    color: #e53e3e;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    color: #c53030;
    transform: scale(1.1);
}

.continue-shopping {
    padding: 0 1.5rem 1.5rem;
}

.empty-cart {
    padding: 4rem 2rem;
    text-align: center;
}

.empty-cart-icon {
    font-size: 5rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.empty-cart h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.empty-cart p {
    color: #718096;
    margin-bottom: 2rem;
}

/* Order Summary */
.order-summary-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 20px;
}

.order-summary-header {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    padding: 1.2rem 1.5rem;
    color: white;
}

.order-summary-body {
    padding: 1.5rem;
}

.order-info {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.order-number {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.order-number .label {
    color: #718096;
    font-weight: 600;
}

.order-number .value {
    color: #2d3748;
    font-weight: 700;
}

.order-date {
    color: #a0aec0;
    font-size: 0.85rem;
}

.payment-method-section {
    margin-bottom: 1.5rem;
}

.modern-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.modern-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
}

.order-totals {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.total-row:last-child {
    border-bottom: none;
}

.total-row.grand-total {
    padding-top: 1rem;
    /*margin-top: 0.5rem;*/
    border-top: 2px solid #cbd5e0;
}

.total-row .total-label {
    color: #4a5568;
    font-weight: 600;
}

.total-row .total-value {
    color: #2d3748;
    font-weight: 700;
}

.grand-total .total-label {
    font-size: 1.1rem;
    color: #2d3748;
}

.grand-total .total-value {
    font-size: 1.5rem;
    color: #38a169;
}

.btn-submit-order {
    border-radius: 12px;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-submit-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 161, 105, 0.3);
}

/* ========================================
   PEDIDOS PAGE STYLES
   ======================================== */

/* Page Header */
.page-header-pedidos {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.orders-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.page-title-pedidos {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
}

.page-subtitle-pedidos {
    color: #718096;
    font-size: 1rem;
}

.badge-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Empty State */
.empty-orders-container {
    background: white;
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
}

.empty-orders-icon {
    font-size: 5rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.empty-orders-title {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-orders-text {
    color: #718096;
    margin-bottom: 2rem;
}

/* Orders Table */
.orders-table-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.modern-table {
    margin-bottom: 0;
}

.modern-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modern-table thead th {
    border: none;
    padding: 1.2rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.modern-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.modern-table tbody tr:hover {
    background-color: #f7fafc;
}

.modern-table tbody td {
    padding: 1.2rem 1rem;
    vertical-align: middle;
}

.order-row {
    cursor: pointer;
}

.order-number {
    font-weight: 700;
    color: #2d3748;
    font-size: 1.05rem;
}

.order-date {
    color: #4a5568;
    font-weight: 500;
}

.order-total {
    font-weight: 700;
    color: #2d3748;
    font-size: 1.1rem;
}

/* Modal Styles */
.modern-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.5rem;
}

.modern-modal .modal-title {
    /*font-weight: 700;*/
    font-size: 1.3rem;
}

.modal-subtitle {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.modern-modal .btn-close {
    filter: invert(1);
}

.order-detail-info {
    background: #f7fafc;
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    color: #4a5568;
}

.modal-table {
    margin-bottom: 0;
}

.modal-table thead {
    background: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
}

.modal-table thead th {
    padding: 1rem;
    font-weight: 700;
    color: #2d3748;
    border: none;
    font-size: 0.9rem;
}

.modal-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-table tbody tr:last-child td {
    border-bottom: none;
}

.item-sku {
    color: #a0aec0;
    font-weight: 600;
    font-size: 0.85rem;
}

.item-description {
    color: #2d3748;
    font-weight: 500;
}

.table-total {
    background: #f7fafc;
    border-top: 2px solid #cbd5e0;
}

.table-total td {
    padding: 1.2rem 1rem !important;
    border: none !important;
}

.total-amount-modal {
    color: #38a169;
    font-size: 1.3rem;
}

.modern-modal .modal-footer {
    border: none;
    background: #f7fafc;
    padding: 1.2rem 1.5rem;
}

/* Pagination */
.pagination-container {
    padding: 1.5rem;
    background: white;
    border-top: 2px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Responsive Adjustments for Main Page */
@media (max-width: 768px) {
    .hero-banner-image {
        height: 300px;
    }

    .hero-title {
        font-size: 2rem;
        padding: 0.4rem 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .section-subtitle {
        font-size: 0.95rem;
    }

    .product-image {
        height: 220px;
    }
}

/* Responsive Adjustments for Articulos Page */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.5rem;
    }

    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-actions .ms-auto {
        margin-left: 0 !important;
    }
}

/* Responsive Adjustments for Carrito Page */
@media (max-width: 992px) {
    .cart-item {
        flex-wrap: wrap;
    }

    .cart-item-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .order-summary-container {
        position: static;
    }
}

/* Responsive Adjustments for Pedidos Page */
@media (max-width: 768px) {
    .page-title-pedidos {
        font-size: 1.5rem;
    }

    .badge-count {
        font-size: 0.85rem;
        padding: 0.4rem 0.9rem;
    }

    .order-detail-info {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   NAVBAR STYLES
   ======================================== */

.modern-navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    z-index: 1030;
}

.modern-navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.modern-navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.modern-navbar-toggler {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #2d3748;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-navbar-toggler:hover {
    background: #f7fafc;
    border-color: #667eea;
    color: #667eea;
}

.modern-navbar-nav {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.modern-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.modern-nav-link-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.modern-nav-link i {
    font-size: 1.1rem;
}

.modern-nav-link:hover {
    background: #f7fafc;
    color: #667eea;
}

.modern-nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modern-nav-link.action {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modern-nav-link.active:hover {
    color: white;
}

.modern-navbar-user {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.modern-user-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    color: #2d3748;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    background: white;
    transition: all 0.3s ease;
}

.modern-user-link:hover {
    background: #f7fafc;
    border-color: #667eea;
    color: #667eea;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    font-size: 1.8rem;
    color: #667eea;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.modern-login-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modern-login-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    color: white;
}

.modern-dropdown {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    z-index: 1050;
}

.modern-dropdown .dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.modern-dropdown .dropdown-item:hover {
    background: #f7fafc;
    color: #667eea;
}

.modern-dropdown .dropdown-item.text-danger {
    color: #e53e3e;
}

.modern-dropdown .dropdown-item.text-danger:hover {
    background: #fff5f5;
    color: #c53030;
}

.modern-dropdown .dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e2e8f0;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.modern-footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: #e2e8f0;
    padding: 3rem 0 0;
    margin-top: 4rem;
}

.footer-main {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.2);
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-section-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.footer-section-title i {
    color: #667eea;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #667eea;
    transform: translateX(5px);
}

.footer-link i {
    transition: transform 0.3s ease;
}

.footer-link:hover i {
    transform: scale(1.2);
}

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #cbd5e0;
}

.footer-info li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-address {
    color: #cbd5e0;
    font-size: 0.95rem;
    display: flex;
    align-items: start;
}

.footer-address i {
    color: #667eea;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.footer-logo-link {
    display: inline-block;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-logo {
    height: 50px;
    width: auto;
    display: block;
}

.footer-logo-link-large {
    display: inline-block;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo-link-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-logo-large {
    height: 80px;
    width: auto;
    display: block;
}

.footer-social-label {
    color: #cbd5e0;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icons-large {
    justify-content: flex-start;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #667eea;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
    color: white;
}

.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom span {
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-brand {
    font-weight: 700;
    color: white !important;
}

.footer-separator {
    margin: 0 0.75rem;
    opacity: 0.5;
}

.footer-dev-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-dev-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ========================================
   NAVBAR & FOOTER RESPONSIVE STYLES
   ======================================== */

@media (max-width: 992px) {
    .modern-navbar-nav {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .modern-nav-link {
        width: 100%;
        justify-content: flex-start;
    }

    .modern-navbar-user {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
    }

    .modern-user-link,
    .modern-login-link {
        width: 100%;
        justify-content: center;
    }

    .social-icons-large {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        margin-top: 2rem;
        padding: 2rem 0 0;
    }

    .footer-main {
        padding: 1.5rem 0;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section-title {
        justify-content: center;
    }

    .footer-links,
    .footer-info {
        text-align: center;
    }

    .footer-link {
        justify-content: center;
    }

    .footer-address {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-logo-large {
        height: 60px;
    }

    .footer-bottom span {
        font-size: 0.8rem;
        display: inline-block;
        margin: 0.25rem 0;
    }

    .footer-separator {
        margin: 0 0.5rem;
    }
}

/* ========================================
   LOGIN PAGE STYLES
   ======================================== */

.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
    position: relative;
}

.login-page-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/backgroud-exodo.png') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.login-row {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Left Side - Branding */
.login-branding {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-branding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.branding-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.branding-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
}

.branding-icon i {
    font-size: 3rem;
    color: white;
}

.branding-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.branding-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
}

.branding-features {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    gap: 1rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Right Side - Form */
.login-form-container {
    padding: 3rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #718096;
    font-size: 1rem;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group-modern {
    margin-bottom: 1.75rem;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-label-modern i {
    color: #667eea;
    font-size: 1.1rem;
}

.form-control-modern {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-control-modern:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-control-modern.is-invalid {
    border-color: #e53e3e;
}

.form-control-modern.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

.forgot-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: #764ba2;
    transform: translateX(3px);
}

.btn-login-modern {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.btn-login-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-login-modern:active {
    transform: translateY(0);
}

.login-help {
    margin-top: 2rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: start;
    font-size: 0.9rem;
    color: #4a5568;
}

.login-help i {
    color: #667eea;
    margin-top: 0.2rem;
}

.login-help a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.login-help a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Login Page Responsive */
@media (max-width: 992px) {
    .login-form-container {
        padding: 2.5rem 2rem;
    }

    .branding-title {
        font-size: 1.75rem;
    }

    .branding-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .login-page-wrapper {
        padding: 1rem 0;
    }

    .login-form-container {
        padding: 2rem 1.5rem;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .login-header {
        margin-bottom: 2rem;
    }

    .form-group-modern {
        margin-bottom: 1.5rem;
    }

    .login-help {
        font-size: 0.85rem;
        padding: 0.875rem;
    }
}

/* ========================================
   PRODUCT DETAIL PAGE STYLES
   ======================================== */

.product-detail-back {
    margin-bottom: 1.5rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background: white;
    color: #4a5568;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-back:hover {
    background: #f7fafc;
    border-color: #667eea;
    color: #667eea;
    transform: translateX(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-detail-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
}

/* Product Image Section */
.product-detail-image-wrapper {
    position: relative;
}

.product-detail-image {
    background: #f7fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-detail-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-detail-image:hover img {
    transform: scale(1.15);
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    color: #2d3748;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Product Info Section */
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-detail-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.product-detail-sku {
    display: block;
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.product-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
}

/* Product Meta Information */
.product-meta-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f7fafc;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-size: 0.95rem;
}

.meta-item i {
    color: #667eea;
    font-size: 1.1rem;
}

.stock-badge {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Pricing Section */
.product-pricing-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-block {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

.pricing-block-sale {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-color: #fc8181;
}

.pricing-label {
    color: #718096;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.pricing-old {
    color: #a0aec0;
    text-decoration: line-through;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pricing-current-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pricing-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    line-height: 1;
}

.pricing-sale {
    font-size: 2rem;
    font-weight: 700;
    color: #e53e3e;
    margin: 0;
    line-height: 1;
}

.discount-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

/* Product Actions */
.product-actions {
    margin-top: 1rem;
}

.add-to-cart-form {
    width: 100%;
}

.quantity-cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quantity-selector-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-label-detail {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

.quantity-input-detail {
    width: 100px;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2d3748;
    transition: all 0.3s ease;
}

.quantity-input-detail:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.btn-add-to-cart {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.4);
}

.btn-add-to-cart:active {
    transform: translateY(0);
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Product Characteristics */
.product-characteristics {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.characteristics-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.characteristics-body {
    padding: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
}

.characteristics-body p {
    margin-bottom: 1rem;
}

.characteristics-body ul,
.characteristics-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.characteristics-body li {
    margin-bottom: 0.5rem;
}

/* Product Detail Responsive */
@media (max-width: 992px) {
    .product-detail-container {
        padding: 2rem;
    }

    .product-detail-title {
        font-size: 1.75rem;
    }

    .pricing-current {
        font-size: 2rem;
    }

    .pricing-sale {
        font-size: 1.75rem;
    }

    .product-detail-image {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .product-detail-container {
        padding: 1.5rem;
    }

    .product-detail-title {
        font-size: 1.5rem;
    }

    .pricing-current {
        font-size: 1.75rem;
    }

    .pricing-sale {
        font-size: 1.5rem;
    }

    .product-detail-image {
        min-height: 300px;
        padding: 1rem;
    }

    .quantity-cart-wrapper {
        gap: 0.75rem;
    }

    .quantity-selector-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .btn-add-to-cart,
    .btn-contact {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
}

/* ========================================
   ORDER SUCCESS PAGE STYLES
   ======================================== */

.order-success-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.order-success-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.success-icon-wrapper {
    margin-bottom: 2rem;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 2s ease-in-out infinite;
}

.success-icon i {
    font-size: 4rem;
    color: white;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(72, 187, 120, 0);
    }
}

.success-content {
    margin-bottom: 2.5rem;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.success-order-number {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.success-order-number strong {
    color: #48bb78;
    font-weight: 700;
}

.success-message {
    color: #718096;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-success-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-success-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.success-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
}

.success-divider span {
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-success-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid #667eea;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-success-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.success-info {
    background: #f7fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.success-info .info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.success-info .info-item:last-child {
    margin-bottom: 0;
}

.success-info .info-item i {
    color: #667eea;
    font-size: 1.2rem;
}

/* Order Success Responsive */
@media (max-width: 768px) {
    .order-success-wrapper {
        padding: 2rem 1rem;
    }

    .order-success-card {
        padding: 2rem 1.5rem;
    }

    .success-icon {
        width: 100px;
        height: 100px;
    }

    .success-icon i {
        font-size: 3rem;
    }

    .success-title {
        font-size: 1.75rem;
    }

    .success-message {
        font-size: 0.95rem;
    }

    .btn-success-primary {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* ========================================
   PROFILE PAGE STYLES (MIS DATOS)
   ======================================== */

.profile-page-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.profile-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.profile-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
}

.profile-page-subtitle {
    color: #718096;
    font-size: 1rem;
}

.profile-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
}

.profile-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.profile-card-body {
    padding: 1.5rem;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.profile-info-item {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.profile-info-label {
    display: block;
    color: #718096;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.profile-info-value {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-group-profile {
    margin-bottom: 0;
}

.form-label-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-label-profile i {
    color: #667eea;
    font-size: 1.1rem;
}

.form-control-profile {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-control-profile:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-control-profile.is-invalid {
    border-color: #e53e3e;
    background: #fff5f5;
}

.form-control-profile.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

.btn-profile-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background: white;
    color: #718096;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-profile-cancel:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    color: #4a5568;
}

.btn-profile-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.btn-profile-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.4);
}

/* Profile Page Responsive */
@media (max-width: 768px) {
    .profile-page-title {
        font-size: 1.5rem;
    }

    .profile-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .btn-profile-cancel,
    .btn-profile-save {
        width: 100%;
        justify-content: center;
    }
}


/* Marcas Carousel Section */
.marcas-section {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.section-title-small {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.marcas-carousel {
    position: relative;
}

.marcas-carousel .carousel-inner {
    padding: 2rem 0;
}

.marca-item {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.marcas-section .marca-item img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marcas-section .marca-item:hover img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

.marcas-carousel .carousel-control-prev,
.marcas-carousel .carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

.marcas-carousel .carousel-control-prev:hover,
.marcas-carousel .carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon-custom,
.carousel-control-next-icon-custom {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.carousel-control-prev-icon-custom:hover,
.carousel-control-next-icon-custom:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* ============================================
   WhatsApp Floating Button Styles
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    padding: 12px;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
    background: #20BA55;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.whatsapp-float:active {
    transform: translateY(-3px) scale(1.02);
}

/* WhatsApp Float Animation */
@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4),
                    0 0 0 10px rgba(37, 211, 102, 0.2),
                    0 0 0 20px rgba(37, 211, 102, 0.1);
    }
}

.whatsapp-float {
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    animation: none;
}

/* WhatsApp Float Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* ========================================
   DARK MODE STYLES
   ======================================== */
@media (prefers-color-scheme: dark) {
    /* Body and General Backgrounds */
    body {
        background-color: #0d1117 !important;
        color: var(--text-primary);
    }

    body.bg-light {
        background-color: #0d1117 !important;
    }

    .bg-light {
        background-color: var(--bg-secondary) !important;
    }

    /* Bootstrap Text Color Classes - Inverted for Dark Mode */
    .text-dark {
        color: var(--text-primary) !important;
    }

    .text-light {
        color: var(--text-secondary) !important;
    }

    .text-muted {
        color: var(--text-tertiary) !important;
    }

    /* Headings */
    h1, h2, h3, h4, h5, h6 {
        color: var(--text-primary);
    }

    /* Navbar */
    .modern-navbar {
        background: var(--bg-primary);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .modern-nav-link {
        color: var(--text-secondary);
    }

    .modern-nav-link:hover {
        background: var(--bg-secondary);
        color: #667eea;
    }

    .modern-navbar-toggler {
        border-color: var(--border-primary);
        color: var(--text-primary);
    }

    .modern-navbar-toggler:hover {
        background: var(--bg-secondary);
        border-color: #667eea;
    }

    .modern-user-link {
        color: var(--text-primary);
        border-color: var(--border-primary);
        background: var(--bg-secondary);
    }

    .modern-user-link:hover {
        background: var(--bg-tertiary);
        border-color: #667eea;
    }

    /* Cards and Containers */
    .product-card,
    .hover-shadow,
    .cart-products-container,
    .order-summary-container,
    .orders-table-container,
    .articulos-table-container,
    .filters-container,
    .profile-card,
    .product-detail-container,
    .product-characteristics,
    .order-success-card,
    .empty-orders-container {
        background: var(--card-bg);
        border-color: var(--border-primary);
        box-shadow: 0 4px 6px var(--shadow-sm);
    }

    .product-card:hover,
    .hover-shadow:hover {
        box-shadow: 0 20px 40px var(--card-hover-shadow);
        border-color: var(--border-secondary);
    }

    /* Text Colors */
    .section-title,
    .page-title,
    .page-title-cart,
    .page-title-pedidos,
    .product-title,
    .cart-item-title,
    .order-number,
    .product-detail-title,
    .profile-page-title,
    .success-title,
    .profile-info-value {
        color: var(--text-primary);
    }

    .section-subtitle,
    .page-subtitle,
    .page-subtitle-cart,
    .page-subtitle-pedidos,
    .product-sku,
    .cart-item-sku,
    .order-date,
    .profile-page-subtitle,
    .login-subtitle {
        color: var(--text-tertiary);
    }

    .product-meta,
    .product-meta-info,
    .order-info,
    .profile-info-item,
    .meta-item,
    .order-totals,
    .success-info {
        background: var(--bg-secondary);
        border-color: var(--border-primary);
        color: var(--text-secondary);
    }

    /* Product Images */
    .product-image,
    .cart-item-image,
    .product-detail-image {
        background: var(--bg-tertiary);
        border-color: var(--border-primary);
    }

    /* Cart Items */
    .cart-item {
        background: var(--bg-secondary);
        border-color: var(--border-primary);
    }

    .cart-item:hover {
        box-shadow: 0 4px 12px var(--shadow-md);
        border-color: var(--border-secondary);
    }

    .cart-item-price,
    .total-amount {
        color: var(--text-primary);
    }

    /* Tables */
    .modern-table tbody tr {
        border-bottom: 1px solid var(--border-primary);
    }

    .modern-table tbody tr:hover {
        background-color: var(--bg-secondary);
    }

    .modern-table tbody td {
        color: var(--text-secondary);
    }

    .modal-table thead {
        background: var(--bg-secondary);
        border-bottom: 2px solid var(--border-primary);
    }

    .modal-table thead th {
        color: var(--text-primary);
    }

    .modal-table tbody td {
        border-bottom: 1px solid var(--border-primary);
        color: var(--text-secondary);
    }

    .table-total {
        background: var(--bg-secondary);
        border-top: 2px solid var(--border-secondary);
    }

    /* Forms */
    .form-control-modern,
    .form-control-profile,
    .modern-select,
    .quantity-input,
    .quantity-input-detail,
    .form-floating > .form-control,
    .form-floating > .form-select {
        background: var(--bg-secondary);
        border-color: var(--border-primary);
        color: var(--text-primary);
    }

    .form-control-modern:focus,
    .form-control-profile:focus,
    .modern-select:focus,
    .quantity-input:focus,
    .quantity-input-detail:focus,
    .form-floating > .form-control:focus,
    .form-floating > .form-select:focus {
        background: var(--bg-tertiary);
        border-color: #667eea;
    }

    .form-label-modern,
    .form-label-profile,
    .quantity-label,
    .quantity-label-detail,
    .form-floating > label {
        color: var(--text-primary);
    }

    .form-floating > .form-control::placeholder,
    .form-floating > .form-select::placeholder {
        color: var(--text-muted);
        opacity: 0.6;
    }

    /* Filters */
    .filters-form {
        background: var(--card-bg);
    }

    .filter-section {
        border-bottom: 1px solid var(--border-primary);
    }

    .filter-section-title {
        color: var(--text-primary);
    }

    .filter-chip {
        background: var(--bg-secondary);
        border-color: var(--border-primary);
    }

    .filter-chip:hover {
        background: var(--bg-tertiary);
    }

    .filter-chip label {
        color: var(--text-secondary);
    }

    /* Page Headers */
    .page-header,
    .page-header-cart,
    .page-header-pedidos,
    .profile-page-header,
    .product-detail-header {
        border-bottom: 2px solid var(--border-primary);
    }

    /* Activity and Info Items */
    .activity-item {
        background: var(--bg-secondary);
        border-left: 3px solid #667eea;
    }

    /* Quick Actions */
    .quick-action {
        background: var(--card-bg);
        border-color: var(--border-primary);
        color: var(--text-primary);
    }

    .quick-action:hover {
        background: var(--bg-secondary);
        color: #667eea;
    }

    /* Empty States */
    .empty-cart,
    .empty-orders-container {
        background: var(--card-bg);
    }

    .empty-cart h4,
    .empty-orders-title {
        color: var(--text-primary);
    }

    .empty-cart p,
    .empty-orders-text {
        color: var(--text-tertiary);
    }

    .empty-cart-icon,
    .empty-orders-icon {
        color: var(--border-secondary);
    }

    /* Modals */
    .modal-content {
        background: var(--card-bg);
        color: var(--text-primary);
    }

    .modern-modal .modal-footer {
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-primary);
    }

    /* Product Detail */
    .product-detail-sku {
        color: var(--text-muted);
    }

    .meta-item {
        color: var(--text-secondary);
    }

    .item-sku {
        color: var(--text-muted);
    }

    .item-description {
        color: var(--text-primary);
    }

    /* Pricing Blocks */
    .pricing-block {
        background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
        border-color: var(--border-primary);
    }

    .pricing-label {
        color: var(--text-tertiary);
    }

    .pricing-current {
        color: var(--text-primary);
    }

    .pricing-old {
        color: var(--text-muted);
    }

    /* Characteristics */
    .characteristics-body {
        color: var(--text-secondary);
    }

    /* Login Page */
    .login-help {
        background: var(--bg-secondary);
        border-color: var(--border-primary);
        color: var(--text-secondary);
    }

    /* Footer */
    .modern-footer {
        background: linear-gradient(135deg, #1a202c 0%, #0d1117 100%);
    }

    .footer-main {
        border-bottom: 1px solid rgba(226, 232, 240, 0.1);
    }

    .footer-link,
    .footer-info,
    .footer-address {
        color: #cbd5e0;
    }

    /* Total Rows */
    .total-row {
        border-bottom: 1px solid var(--border-primary);
    }

    .total-row.grand-total {
        border-top: 2px solid var(--border-secondary);
    }

    .total-row .total-label,
    .total-row .total-value {
        color: var(--text-primary);
    }

    .total-label {
        color: var(--text-tertiary);
    }

    /* Alerts */
    .modern-alert {
        background: var(--bg-secondary);
        border-color: var(--border-primary);
    }

    /* Price Labels */
    .price-label {
        color: var(--text-tertiary);
    }

    .price-current {
        color: var(--text-primary);
    }

    .price-old {
        color: var(--text-muted);
    }

    /* Buttons - Keep original gradient colors for primary actions */
    .btn-back {
        background: var(--card-bg);
        color: var(--text-secondary);
        border-color: var(--border-primary);
    }

    .btn-back:hover {
        background: var(--bg-secondary);
        color: #667eea;
    }

    .btn-profile-cancel {
        background: var(--card-bg);
        color: var(--text-tertiary);
        border-color: var(--border-primary);
    }

    .btn-profile-cancel:hover {
        background: var(--bg-secondary);
        border-color: var(--border-secondary);
        color: var(--text-secondary);
    }

    .btn-success-secondary {
        background: var(--card-bg);
        border-color: #667eea;
    }

    .btn-success-secondary:hover {
        background: #667eea;
        color: white;
    }

    /* Marcas Section */
    .marcas-section {
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-primary);
        border-bottom: 1px solid var(--border-primary);
    }

    .section-title-small {
        color: var(--text-primary);
    }

    /* Dropdown Menu */
    .modern-dropdown {
        background: var(--card-bg);
        border: 1px solid var(--border-primary);
    }

    .modern-dropdown .dropdown-item {
        color: var(--text-secondary);
    }

    .modern-dropdown .dropdown-item:hover {
        background: var(--bg-secondary);
        color: #667eea;
    }

    .modern-dropdown .dropdown-divider {
        border-color: var(--border-primary);
    }

    /* Success Page Elements */
    .success-order-number {
        color: var(--text-secondary);
    }

    .success-message {
        color: var(--text-tertiary);
    }

    /* Profile Info */
    .profile-info-label {
        color: var(--text-tertiary);
    }

    /* Order Detail Info */
    .order-detail-info {
        background: var(--bg-secondary);
        border-color: var(--border-primary);
    }

    .info-item {
        color: var(--text-secondary);
    }
}


