.breadcrumb {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(85, 85, 85, 0.3);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-nav a {
    color: #e8c5d8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #fff;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.8);
}

.notebooks-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.notebooks-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(232, 197, 216, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.notebooks-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.notebooks-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.title-line {
    display: block;
}

.notebooks-subtitle {
    font-size: 1.2rem;
    color: rgba(232, 197, 216, 0.8);
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-image {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.floating-notebook {
    max-width: 450px;
    width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(232, 197, 216, 0.2));
}

.filters-section {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    padding: 30px 0;
    border-bottom: 1px solid rgba(85, 85, 85, 0.3);
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(85, 85, 85, 0.3);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e8c5d8;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.filters-header h2 {
    font-size: 1.5rem;
    color: #e8c5d8;
    font-weight: 600;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    background: rgba(85, 85, 85, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: #e8c5d8;
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(85, 85, 85, 0.5);
    border: 1px solid rgba(102, 102, 102, 0.5);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover {
    background: rgba(232, 197, 216, 0.2);
    border-color: #e8c5d8;
}

.filter-btn.active {
    background: #e8c5d8;
    color: #000;
    border-color: #d4a5c4;
}

.sort-group {
    display: flex;
    align-items: center;
}

.sort-select {
    background: rgba(85, 85, 85, 0.8);
    border: 1px solid rgba(102, 102, 102, 0.5);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #e8c5d8;
    box-shadow: 0 0 10px rgba(232, 197, 216, 0.2);
}

.notebooks-grid-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.products-header {
    margin-bottom: 40px;
}

.results-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.notebooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    transition: all 0.3s ease;
}

.notebooks-grid.list-view {
    grid-template-columns: 1fr;
    gap: 20px;
}

.notebook-card {
    background: rgba(51, 51, 51, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(85, 85, 85, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.notebook-card:nth-child(1) { animation-delay: 0.1s; }
.notebook-card:nth-child(2) { animation-delay: 0.2s; }
.notebook-card:nth-child(3) { animation-delay: 0.3s; }
.notebook-card:nth-child(4) { animation-delay: 0.4s; }
.notebook-card:nth-child(5) { animation-delay: 0.5s; }
.notebook-card:nth-child(6) { animation-delay: 0.6s; }

.notebook-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 197, 216, 0.1), transparent);
    transition: left 0.6s ease;
}

.notebook-card:hover::before {
    left: 100%;
}

.notebook-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 197, 216, 0.5);
    box-shadow: 0 15px 35px rgba(232, 197, 216, 0.1);
}

.notebooks-grid.list-view .notebook-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    align-items: center;
}

.card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 3;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.gaming { background: linear-gradient(135deg, #ff4757, #ff3742); color: #fff; }
.badge.profesional { background: linear-gradient(135deg, #3742fa, #2f3542); color: #fff; }
.badge.estudiante { background: linear-gradient(135deg, #2ed573, #1e90ff); color: #fff; }
.badge.ultrabook { background: linear-gradient(135deg, #ffa502, #ff6348); color: #fff; }
.badge.new { background: linear-gradient(135deg, #e8c5d8, #d4a5c4); color: #000; }
.badge.popular { background: linear-gradient(135deg, #ff9ff3, #f368e0); color: #fff; }
.badge.premium { background: linear-gradient(135deg, #ffd700, #ffb347); color: #000; }
.badge.value { background: linear-gradient(135deg, #00d2d3, #54a0ff); color: #fff; }
.badge.flagship { background: linear-gradient(135deg, #833471, #cc5de8); color: #fff; }
.badge.oficina { background: linear-gradient(135deg, #5f27cd, #341f97); color: #fff; }

.notebook-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: rgba(85, 85, 85, 0.3);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.notebook-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.notebook-card:hover .notebook-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notebook-card:hover .image-overlay {
    opacity: 1;
    visibility: visible;
}

.quick-view-btn {
    background: rgba(232, 197, 216, 0.9);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-view-btn:hover {
    background: #e8c5d8;
    transform: translateY(-2px);
}

.notebook-info {
    position: relative;
    z-index: 2;
}

.notebook-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
    max-height: calc(1.3em * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    mask-image: linear-gradient(180deg, #000 60%, transparent);
}

.notebook-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.spec {
    background: rgba(85, 85, 85, 0.5);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.notebook-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.star.filled {
    color: #ffd700;
}

.rating-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.notebook-price {
    margin-bottom: 20px;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e8c5d8;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #e8c5d8, #d4a5c4);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #d4a5c4, #c09cb0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 197, 216, 0.3);
}

.features-comparison {
    padding: 80px 0;
    background: rgba(26, 26, 26, 0.8);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #e8c5d8;
    margin-bottom: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-decoration {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e8c5d8, transparent);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.comparison-card {
    background: rgba(51, 51, 51, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(85, 85, 85, 0.3);
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 197, 216, 0.5);
    box-shadow: 0 10px 25px rgba(232, 197, 216, 0.1);
}

.comparison-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 15px;
}

.comparison-card h3 {
    font-size: 1.5rem;
    color: #e8c5d8;
    margin-bottom: 15px;
    font-weight: 600;
}

.comparison-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.5;
}

.comparison-card ul {
    list-style: none;
    text-align: left;
}

.comparison-card li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.comparison-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    background: rgba(51, 51, 51, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(85, 85, 85, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show .quick-view-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #e8c5d8;
    transform: rotate(90deg);
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.quick-view-info h2 {
    color: #e8c5d8;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.modal-specs,
.modal-rating,
.modal-price,
.modal-description {
    margin-bottom: 20px;
}

.modal-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e8c5d8;
}

.modal-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.modal-btn {
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #e8c5d8, #d4a5c4);
    color: #000;
}

.modal-btn.secondary {
    background: rgba(85, 85, 85, 0.5);
    color: #fff;
    border: 1px solid rgba(102, 102, 102, 0.5);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 197, 216, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (max-width: 1200px) {
    .notebooks-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .notebooks-title {
        font-size: 3rem;
    }
    
    .floating-notebook {
        max-width: 350px;
    }
}

@media (max-width: 968px) {
    .filters-section {
        padding: 20px 0;
    }

    .hero-stats {
        gap: 30px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .notebooks-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .quick-view-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .notebooks-title {
        font-size: 2.5rem;
    }
    
    .notebooks-hero {
        padding: 60px 0 30px 0;
    }

    .filters-section {
        padding: 15px 0;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .filters-header h2 {
        font-size: 1.2rem;
    }

    .notebooks-grid-section {
        padding: 40px 0;
    }
    
    .notebooks-grid {
        grid-template-columns: 1fr;
    }
    
    .notebooks-grid.list-view .notebook-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-view-content {
        padding: 20px;
        width: 95%;
    }
    
    .modal-actions {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
    }

    .comparison-icon img {
        width: 100px;
        height: 100px;
    }
}
