 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

 :root {
     --primary-blue: #0F4C81;
     --secondary-mint: #3DD598;
     --accent-gold: #F4A261;
     --navy-dark: #1B2B3A;
     --slate-gray: #475569;
     --light-mint: #E8F8F2;
     --soft-white: #FAFBFC;
     --border-light: #E2E8F0;
     --shadow-sm: 0 2px 8px rgba(15, 76, 129, 0.08);
     --shadow-md: 0 4px 20px rgba(15, 76, 129, 0.12);
     --shadow-lg: 0 12px 40px rgba(15, 76, 129, 0.15);
 }

 .container {
     max-width: 100%;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
     background: linear-gradient(135deg, var(--soft-white) 0%, #F0F4F8 100%);
     color: var(--navy-dark);
     line-height: 1.6;
 }

 /* Header Top */
 .header-top {
     background-color: var(--navy-dark);
     color: white;
     padding: 0.5rem 0;
     font-size: 0.9rem;
 }

 /* Main Header */
 .main-header {
     background: white;
     box-shadow: var(--shadow-sm);
     padding: 1rem 0;
     position: sticky;
     top: 0;
     z-index: 1000;
 }

 .logo-section {
     display: flex;
     align-items: center;
     gap: 1rem;
 }

 .logo-icon {
     background: linear-gradient(135deg, var(--primary-blue) 0%, #0D3A5F 100%);
     color: white;
     width: 50px;
     height: 50px;
     border-radius: 12px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     box-shadow: var(--shadow-md);
 }

 .logo-text h1 {
     font-size: 1.5rem;
     font-weight: 800;
     margin: 0;
     color: var(--navy-dark);
 }

 .logo-text p {
     font-size: 0.85rem;
     color: var(--slate-gray);
     margin: 0;
 }

 /* Search Bar */
 .search-container {
     position: relative;
     max-width: 500px;
 }

 .search-input {
     border-radius: 12px;
     padding: 0.75rem 3rem 0.75rem 1.5rem;
     border: 2px solid var(--border-light);
     font-size: 1rem;
     transition: all 0.3s;
 }

 .search-input:focus {
     border-color: var(--primary-blue);
     box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
     outline: none;
 }

 .search-btn {
     position: absolute;
     right: 5px;
     top: 50%;
     transform: translateY(-50%);
     background: var(--primary-blue);
     border: none;
     width: 40px;
     height: 40px;
     border-radius: 10px;
     color: white;
     transition: all 0.3s;
 }

 .search-btn:hover {
     background: #0D3A5F;
 }

 .announcements-section {
     margin: 2.5rem 0;
     position: relative;
 }

 .announcements-carousel-wrapper {
     position: relative;
     overflow: hidden;
     border-radius: 24px;
     box-shadow: var(--shadow-lg);
 }

 .announcements-carousel {
     position: relative;
     height: 220px;
     overflow: hidden;
 }

 .announcement-slide {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     transform: scale(0.95);
     transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
     display: flex;
     align-items: center;
     padding: 0;
     background: linear-gradient(135deg, var(--primary-blue) 0%, #0D3A5F 100%);
     color: white;
 }

 .announcement-slide.active {
     opacity: 1;
     transform: scale(1);
     z-index: 1;
 }

 .announcement-content {
     display: flex;
     align-items: center;
     justify-content: space-between;
     width: 100%;
     max-width: 1320px;
     margin: 0 auto;
     padding: 0 3rem;
     gap: 3rem;
     position: relative;
     z-index: 2;
 }

 .announcement-left {
     flex: 1;
     position: relative;
 }

 .announcement-title {
     font-size: 2.5rem;
     font-weight: 800;
     margin-bottom: 0.75rem;
     line-height: 1.2;
     text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
     letter-spacing: -0.5px;
 }

 .announcement-message {
     font-size: 1.15rem;
     font-weight: 500;
     opacity: 0.95;
     line-height: 1.6;
     max-width: 600px;
 }

 .announcement-icon-large {
     font-size: 8rem;
     opacity: 0.08;
     position: absolute;
     right: 5%;
     top: 50%;
     transform: translateY(-50%);
     pointer-events: none;
     z-index: 1;
 }

 .announcement-slide::before {
     content: '';
     position: absolute;
     top: -50%;
     right: -20%;
     width: 600px;
     height: 600px;
     background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
     border-radius: 50%;
     pointer-events: none;
     animation: float 8s ease-in-out infinite;
 }

 @keyframes float {

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

     50% {
         transform: translate(-30px, -30px);
     }
 }

 .announcement-slide::after {
     content: '';
     position: absolute;
     bottom: -50%;
     left: -10%;
     width: 500px;
     height: 500px;
     background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
     border-radius: 50%;
     pointer-events: none;
     animation: float 10s ease-in-out infinite reverse;
 }

 .carousel-controls {
     position: absolute;
     bottom: 1.5rem;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 0.75rem;
     z-index: 10;
     padding: 0.75rem 1.5rem;
     background: rgba(0, 0, 0, 0.2);
     backdrop-filter: blur(20px);
     border-radius: 100px;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
 }

 .carousel-dot {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.4);
     cursor: pointer;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     border: 2px solid transparent;
 }

 .carousel-dot:hover {
     background: rgba(255, 255, 255, 0.7);
     transform: scale(1.3);
 }

 .carousel-dot.active {
     background: white;
     width: 40px;
     border-radius: 100px;
     box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
 }

 .carousel-nav {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.15);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.3);
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.3s ease;
     z-index: 10;
     color: white;
     font-size: 1.5rem;
     opacity: 0;
     pointer-events: none;
 }

 .announcements-carousel-wrapper:hover .carousel-nav {
     opacity: 1;
     pointer-events: all;
 }

 .carousel-nav:hover {
     background: rgba(255, 255, 255, 0.25);
     transform: translateY(-50%) scale(1.1);
 }

 .carousel-nav.prev {
     left: 2rem;
 }

 .carousel-nav.next {
     right: 2rem;
 }

 /* Categories Sidebar */
 .sidebar {
     background: white;
     border-radius: 15px;
     padding: 1.5rem;
     box-shadow: var(--shadow-sm);
     position: sticky;
     top: 100px;
 }

 .sidebar-title {
     font-size: 1.3rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     color: var(--navy-dark);
     display: flex;
     align-items: center;
     gap: 0.5rem;
 }

 .categories-scroll {
     max-height: 500px;
     overflow-y: auto;
     padding-right: 0.5rem;
 }

 .categories-scroll::-webkit-scrollbar {
     width: 6px;
 }

 .categories-scroll::-webkit-scrollbar-track {
     background: var(--soft-white);
     border-radius: 10px;
 }

 .categories-scroll::-webkit-scrollbar-thumb {
     background: var(--primary-blue);
     border-radius: 10px;
 }

 .category-item {
     padding: 0.75rem 1rem;
     margin-bottom: 0.5rem;
     border-radius: 10px;
     cursor: pointer;
     transition: all 0.3s;
     border: 2px solid transparent;
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 .category-item:hover {
     background: var(--light-mint);
     transform: translateX(5px);
 }

 .category-item.active {
     background: var(--primary-blue);
     color: white;
     font-weight: 600;
 }

 .category-left {
     display: flex;
     align-items: center;
     gap: 0.75rem;
 }

 .category-icon-img {
     width: 35px;
     height: 35px;
     border-radius: 50%;
     object-fit: cover;
     border: 2px solid var(--border-light);
     flex-shrink: 0;
 }

 .category-item.active .category-icon-img {
     border-color: white;
 }

 .category-name {
     font-size: 0.95rem;
 }

 .category-badge {
     background: rgba(255, 255, 255, 0.3);
     padding: 0.25rem 0.6rem;
     border-radius: 20px;
     font-size: 0.85rem;
     font-weight: 600;
     flex-shrink: 0;
 }

 .category-item:not(.active) .category-badge {
     background: var(--light-mint);
     color: var(--primary-blue);
 }

 /* Products Grid */
 .products-header {
     background: white;
     padding: 1.5rem;
     border-radius: 15px;
     margin-bottom: 2rem;
     box-shadow: var(--shadow-sm);
 }

 .products-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
     gap: 2rem;
     min-height: 400px;
     transition: opacity 0.3s ease;
 }

 .product-card {
     background: white;
     border-radius: 15px;
     overflow: hidden;
     box-shadow: var(--shadow-sm);
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     cursor: pointer;
     border: 1px solid var(--border-light);
 }

 .product-card:hover {
     transform: translateY(-10px);
     box-shadow: var(--shadow-lg);
 }

 .product-image-container {
     position: relative;
     height: 220px;
     background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
     overflow: hidden;
 }

 .product-image {
     width: 100%;
     height: 100%;
     object-fit: contain;
     padding: 1rem;
     transition: transform 0.4s;
 }

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

 .product-info {
     padding: 1.5rem;
 }

 .product-category {
     color: var(--primary-blue);
     font-size: 0.85rem;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     margin-bottom: 0.5rem;
 }

 .product-name {
     font-size: 1.15rem;
     font-weight: 700;
     margin-bottom: 0.75rem;
     color: var(--navy-dark);
     line-height: 1.4;
     min-height: 2.8rem;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 .product-description {
     color: var(--slate-gray);
     font-size: 0.9rem;
     line-height: 1.5;
     margin-bottom: 1rem;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 .product-footer {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding-top: 1rem;
     border-top: 2px solid var(--border-light);
 }

 .product-price {
     font-size: 1.8rem;
     font-weight: 800;
     color: var(--primary-blue);
 }

 .price-label {
     font-size: 0.75rem;
     color: var(--slate-gray);
     display: block;
 }

 .skeleton-card {
     background: white;
     border-radius: 15px;
     overflow: hidden;
     box-shadow: var(--shadow-sm);
     border: 1px solid var(--border-light);
 }

 .skeleton-image {
     height: 220px;
     background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
     background-size: 200% 100%;
     animation: skeleton-loading 1.5s ease-in-out infinite;
 }

 .skeleton-content {
     padding: 1.5rem;
 }

 .skeleton-text {
     height: 16px;
     margin: 10px 0;
     border-radius: 4px;
     background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
     background-size: 200% 100%;
     animation: skeleton-loading 1.5s ease-in-out infinite;
 }

 .skeleton-text.title {
     height: 20px;
     width: 80%;
     margin-bottom: 15px;
 }

 .skeleton-text.short {
     width: 60%;
 }

 .skeleton-text.long {
     width: 90%;
 }

 .skeleton-price {
     height: 30px;
     width: 40%;
     margin-top: 15px;
     border-radius: 6px;
     background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
     background-size: 200% 100%;
     animation: skeleton-loading 1.5s ease-in-out infinite;
 }

 @keyframes skeleton-loading {
     0% {
         background-position: 200% 0;
     }

     100% {
         background-position: -200% 0;
     }
 }

 /* Paginación */
 .pagination-wrapper {
     display: flex;
     justify-content: center;
     margin-top: 3rem;
     padding: 2rem 0;
 }

 .pagination-custom {
     display: flex;
     gap: 0.5rem;
     align-items: center;
 }

 .pagination-custom .page-btn {
     min-width: 45px;
     height: 45px;
     border: 2px solid var(--border-light);
     background: white;
     color: var(--navy-dark);
     border-radius: 10px;
     font-weight: 700;
     cursor: pointer;
     transition: all 0.3s;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .pagination-custom .page-btn:hover:not(.active):not(:disabled) {
     border-color: var(--primary-blue);
     background: var(--light-mint);
 }

 .pagination-custom .page-btn.active {
     background: var(--primary-blue);
     color: white;
     border-color: var(--primary-blue);
 }

 .pagination-custom .page-btn:disabled {
     opacity: 0.3;
     cursor: not-allowed;
 }

 .pagination-custom .page-ellipsis {
     padding: 0 0.5rem;
     color: var(--slate-gray);
     font-weight: 700;
 }

 /* Empty State */
 .empty-state {
     text-align: center;
     padding: 4rem 2rem;
     background: white;
     border-radius: 15px;
     box-shadow: var(--shadow-sm);
     grid-column: 1 / -1;
 }

 .empty-state i {
     font-size: 5rem;
     color: #dee2e6;
     margin-bottom: 1.5rem;
 }

 .empty-state h3 {
     color: var(--navy-dark);
     margin-bottom: 0.5rem;
 }

 .empty-state p {
     color: var(--slate-gray);
 }

 @media (max-width: 992px) {
     .sidebar {
         margin-bottom: 2rem;
         position: static;
     }

     .categories-scroll {
         max-height: 400px;
         overflow-y: auto;
     }

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

     .announcements-carousel {
         height: 240px;
     }

     .announcement-content {
         flex-direction: column;
         text-align: center;
         gap: 1.5rem;
         padding: 0 2rem;
     }

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

     .announcement-message {
         font-size: 1rem;
     }

     .announcement-icon-large {
         font-size: 6rem;
         right: 2%;
     }

     .carousel-nav {
         display: none;
     }
 }

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

     .logo-text h1 {
         font-size: 1.2rem;
     }

     .product-name {
         font-size: 1rem;
     }

     .product-price {
         font-size: 1.5rem;
     }
 }