/* Basic site styles */
body { 
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar dropdown hover (desktop only) */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .navbar .dropdown-toggle::after {
    transition: transform 0.15s ease;
  }
  .navbar .dropdown.show .dropdown-toggle::after,
  .navbar .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .navbar .dropdown-menu {
    margin-top: 0;
  }
}
.navbar-brand { font-weight: 700; }
.product-gallery img { max-width: 100%; height: auto; }

/* Products Page Styles */

/* Hero Section */
.products-hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    overflow: hidden;
}

.products-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.min-vh-50 {
    min-height: 50vh;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Search Bar */
.search-bar-premium {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.search-icon {
    color: #667eea;
    margin-right: 15px;
    font-size: 18px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 0;
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.1);
}

/* Products Section */
.products-section {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Filters Card */
.filters-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.filters-header h5 {
    color: #333;
    font-weight: 600;
}

.btn-reset {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-reset:hover {
    color: #764ba2;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.filter-option:hover {
    background: #f8f9fa;
}

.filter-option input[type="radio"] {
    margin-right: 10px;
    accent-color: #667eea;
}

.filter-option span {
    font-size: 14px;
    color: #555;
}

/* Price Inputs */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-input-group {
    flex: 1;
}

.price-input-group label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.price-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.price-input:focus {
    border-color: #667eea;
}

.price-divider {
    color: #999;
    margin-top: 20px;
}

.btn-filter-apply {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Products Toolbar */
.products-toolbar {
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.toolbar-left h5 {
    color: #333;
    font-weight: 600;
    margin: 0;
}

.sort-select {
    padding: 8px 35px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    background: white;
    transition: border-color 0.3s;
}

.sort-select:focus {
    border-color: #667eea;
}

/* Product Card Premium */
.product-card-premium {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background: #f8f9fa;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.product-card-premium:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.btn-icon {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, background 0.3s;
    color: #333;
    text-decoration: none;
}

.btn-icon:hover {
    transform: scale(1.1);
    background: #667eea;
    color: white;
}

.product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: #667eea;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    font-size: 14px;
}

.product-rating i {
    color: #ffc107;
    font-size: 12px;
}

.product-rating span {
    color: #999;
    font-size: 13px;
    margin-left: 5px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-new {
    font-size: 22px;
    font-weight: 700;
    color: #667eea;
}

.price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: auto;
}

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

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
}

.pagination-premium {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.pagination-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

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

/* No Products */
.no-products {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.no-products-icon {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-products h3 {
    color: #333;
    margin-bottom: 10px;
}

.no-products p {
    color: #666;
    margin-bottom: 30px;
}

.btn-premium {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .products-hero {
        padding: 60px 0 40px;
    }
    
    .products-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .toolbar-left h5 {
        font-size: 16px;
    }
    
    .filters-card {
        position: static;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .price-new {
        font-size: 18px;
    }
}

/* Footer Styles */
.premium-footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    margin-top: 80px;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 28px;
    margin-bottom: 5px;
}

.text-gradient-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 14px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.contact-item i {
    color: #667eea;
    width: 20px;
}

.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links a i {
    font-size: 10px;
    color: #667eea;
}

.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 15px;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 20px;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    outline: none;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
}

.newsletter-btn:hover {
    transform: scale(1.1);
}

.footer-social h6 {
    font-size: 16px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 10px;
}

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

.social-icon:hover {
    transform: translateY(-3px);
    color: #fff;
}

.social-icon.facebook:hover {
    background: #3b5998;
}

.social-icon.twitter:hover {
    background: #1da1f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.social-icon.linkedin:hover {
    background: #0077b5;
}

.social-icon.youtube:hover {
    background: #ff0000;
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
}

.footer-payment-methods i {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.footer-payment-methods i:hover {
    color: #fff;
}

.footer-developer {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.developer-badge-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.developer-badge {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.badge-icon-left,
.badge-icon-right {
    font-size: 30px;
    color: #667eea;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.badge-content {
    text-align: center;
}

.badge-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.viper-brand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 5px 0;
}

.viper-icon {
    font-size: 20px;
    animation: electric 1.5s infinite;
}

@keyframes electric {
    0%, 100% {
        color: #667eea;
        text-shadow: 0 0 10px #667eea;
    }
    50% {
        color: #764ba2;
        text-shadow: 0 0 20px #764ba2;
    }
}

.viper-brand {
    font-size: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.badge-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-style: italic;
    margin-top: 5px;
}

.developer-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 100px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
    animation: glow 3s infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-payment-methods {
        justify-content: center;
        margin-top: 15px;
    }
    
    .developer-badge {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .badge-icon-left,
    .badge-icon-right {
        font-size: 24px;
    }
    
    .viper-brand {
        font-size: 16px;
    }
}
