/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffd700;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: 5px;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
    margin-left: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.wholesale-highlight {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline-block;
    margin-bottom: 5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
    gap: 40px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.hero-logo {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.toy-showcase {
    display: flex;
    gap: 20px;
    animation: float 6s ease-in-out infinite;
}

.toy-item {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: bounce 2s infinite;
}

.toy-item:nth-child(2) {
    animation-delay: 0.5s;
    background: linear-gradient(45deg, #a8e6cf, #ffd93d);
}

.toy-item:nth-child(3) {
    animation-delay: 1s;
    background: linear-gradient(45deg, #ff8a80, #ffb74d);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.feature-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    color: #ffd700;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Products Section */
.featured-products {
    padding: 80px 0;
    background: #f8f9fa;
}

.featured-products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.featured-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Enhanced Product Card Styles */
.product-card.enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

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

.product-image-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    cursor: grab;
    user-select: none;
}

.product-image-carousel:active {
    cursor: grabbing;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.3s ease;
    will-change: transform;
}

.carousel-slide {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 3rem;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide.active {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.dot.active {
    background: white;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 5;
}

.product-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.badge-bestseller {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.badge-sale {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #333;
}

.badge-featured {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

/* Product Actions */
.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.product-card.enhanced:hover .product-actions {
    opacity: 1;
}

.quick-view-btn,
.wishlist-btn,
.compare-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quick-view-btn:hover,
.wishlist-btn:hover,
.compare-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.wishlist-btn.active {
    background: #ff4757;
    color: white;
}

/* Product Info */
.product-info {
    padding: 25px;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-code {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 6px;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.stock-status.in-stock {
    color: #28a745;
}

.stock-status.out-of-stock {
    color: #dc3545;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-details {
    margin-bottom: 15px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: #666;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 6px;
}

.spec-item i {
    color: #667eea;
    font-size: 0.8rem;
}

.product-price-section {
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 4px;
}

.price-per-unit {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

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

.add-to-cart {
    flex: 1;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
}

.add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.compare-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    background: white;
    color: #667eea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.compare-btn:hover {
    border-color: #667eea;
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.compare-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Legacy Product Card Styles (for backward compatibility) */
.product-card:not(.enhanced) {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:not(.enhanced):hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    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 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="60" cy="40" r="1" fill="white" opacity="0.1"/></svg>');
}

.product-image i {
    z-index: 2;
    position: relative;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page */
.about-content {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #666;
}

.about-text h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #333;
}

.values-list {
    list-style: none;
}

.values-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #666;
}

.values-list i {
    color: #667eea;
    margin-right: 15px;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #667eea;
    border: 2px dashed #667eea;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffd700;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: #f8f9fa;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 3rem;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.team-member p {
    color: #666;
    font-size: 1.1rem;
}

/* Contact Page */
.contact-content {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-right: 20px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    color: #ffd700;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-item:hover h3 {
    color: white;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-item:hover p {
    color: white;
}

.social-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #667eea;
    border: 2px dashed #667eea;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.map-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Shop Page */
.filters {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.filter-controls {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.products-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination button {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    background: white;
    color: #667eea;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination button:hover,
.pagination button.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cart Page */
.cart-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cart-header h2 {
    font-size: 2rem;
    color: #333;
}

.cart-items {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-right: 20px;
}

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

.cart-item-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.cart-item-code {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 2px solid #e9ecef;
    background: white;
    color: #667eea;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.quantity {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.remove-item {
    background: #ff4757;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: #ff3742;
    transform: translateY(-2px);
}

.cart-summary {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #333;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    border-top: 2px solid #e9ecef;
    padding-top: 15px;
    margin-top: 15px;
}

.discount-section {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.discount-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.discount-input {
    display: flex;
    gap: 10px;
}

.discount-input input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
}

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

.checkout-info {
    margin-top: 20px;
    text-align: center;
}

.checkout-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-info i {
    color: #667eea;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-cart i {
    font-size: 4rem;
    color: #e9ecef;
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.related-products {
    padding: 60px 0;
    background: white;
}

.related-products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffd700;
    color: #2c3e50;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    opacity: 0.8;
}

/* Text Center */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 60px;
    }

    .hero-content {
        margin-left: 0;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        flex-direction: column;
        gap: 30px;
    }

    .hero-logo {
        max-width: 250px;
    }

    .about-grid,
    .contact-grid,
    .cart-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .filter-group {
        width: 100%;
    }

    .toy-showcase {
        flex-direction: column;
        align-items: center;
    }

    .toy-item {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Enhanced Product Cards Mobile Responsive */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .product-card.enhanced {
        margin-bottom: 20px;
    }

    .product-actions {
        opacity: 1; /* Always show on mobile */
        position: static;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
    }

    .quick-view-btn,
    .wishlist-btn,
    .compare-btn {
        width: 40px;
        height: 40px;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .product-specs {
        flex-direction: column;
        gap: 8px;
    }

    .spec-item {
        font-size: 0.8rem;
    }

    .product-actions-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .compare-btn {
        width: 100%;
        height: 44px;
    }

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

    .product-description {
        font-size: 0.9rem;
    }

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

    .price-per-unit {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .features-grid,
    .products-grid,
    .team-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .cart-item-image {
        margin: 0 0 15px 0;
    }

    .cart-item-controls {
        justify-content: center;
    }

    /* Enhanced Product Cards Small Mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card.enhanced {
        margin-bottom: 15px;
    }

    .product-info {
        padding: 20px;
    }

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

    .product-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

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

    .product-badges {
        top: 5px;
        left: 5px;
    }

    .product-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .product-actions {
        gap: 8px;
        padding: 8px;
    }

    .quick-view-btn,
    .wishlist-btn,
    .compare-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .add-to-cart {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .spec-item {
        font-size: 0.75rem;
        padding: 3px 6px;
    }

    .carousel-slide {
        font-size: 2.5rem;
    }

    .dot {
        width: 6px;
        height: 6px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Product Carousel Styles */
.product-image-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    cursor: grab;
    user-select: none;
}

.product-image-carousel:active {
    cursor: grabbing;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.3s ease;
    will-change: transform;
}

.carousel-slide {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 3rem;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide.active {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.dot.active {
    background: white;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Swipe indicators */
.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.carousel-container::before {
    left: 10px;
    content: '←';
}

.carousel-container::after {
    right: 10px;
    content: '→';
}

.carousel-container:hover::before,
.carousel-container:hover::after {
    opacity: 1;
}

/* Touch feedback */
.carousel-container.dragging .carousel-track {
    transition: none;
}

.carousel-container.dragging .carousel-slide {
    filter: brightness(0.9);
}

/* Mobile swipe hints */
@media (max-width: 768px) {
    .carousel-container::before,
    .carousel-container::after {
        opacity: 0.6;
        font-size: 16px;
    }
    
    .carousel-container::before {
        left: 5px;
    }
    
    .carousel-container::after {
        right: 5px;
    }
}

/* Product Modal Styles */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    z-index: 10001;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.modal-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.modal-carousel-track {
    display: flex;
    width: 400%;
    transition: transform 0.5s ease;
}

.modal-carousel-slide {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    height: 300px;
    font-size: 8rem;
}

.modal-carousel-slide.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.modal-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.modal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

.modal-info-section {
    display: flex;
    flex-direction: column;
}

.modal-details-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.modal-code {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.modal-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.modal-details h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item {
    font-size: 0.95rem;
    color: #666;
}

.detail-item strong {
    color: #333;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.features-list li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.modal-actions {
    margin-top: auto;
}

.add-to-cart-modal {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .modal-details-section {
        order: 3;
    }

    .modal-carousel-slide {
        height: 200px;
        font-size: 4rem;
    }

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

/* Utility Classes */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.text-primary { color: #667eea; }
.text-secondary { color: #764ba2; }
.text-success { color: #28a745; }
.text-danger { color: #dc3545; }
.text-warning { color: #ffc107; }
.text-info { color: #17a2b8; }

.bg-primary { background-color: #667eea; }
.bg-secondary { background-color: #764ba2; }
.bg-light { background-color: #f8f9fa; }
.bg-dark { background-color: #343a40; }

/* Enhanced Carousel Styles */
.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
    will-change: transform;
}

.carousel-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 3rem;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide.active {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

/* Modal Carousel Styles */
.modal-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.modal-carousel-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    font-size: 8rem;
    flex-shrink: 0;
}

.modal-carousel-slide.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* Carousel Navigation Improvements */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    cursor: grab;
    user-select: none;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-container.dragging {
    cursor: grabbing;
}

.carousel-container.dragging .carousel-track {
    transition: none;
}

.carousel-container.dragging .carousel-slide {
    filter: brightness(0.9);
}

/* Accessibility Improvements */
.carousel-container:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.carousel-container[tabindex="0"]:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Smooth transitions for all carousel elements */
.carousel-slide,
.modal-carousel-slide {
    transition: all 0.3s ease;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-container:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: #667eea;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav i {
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

.carousel-nav:hover i {
    color: white;
}

/* Enhanced dot navigation */
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.dot.active {
    background: white;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Modal Carousel Navigation */
.modal-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-carousel-prev {
    left: 15px;
}

.modal-carousel-next {
    right: 15px;
}

.modal-carousel:hover .modal-carousel-nav {
    opacity: 1;
}

.modal-carousel-nav:hover {
    background: #667eea;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-carousel-nav i {
    font-size: 18px;
    color: #333;
    transition: color 0.3s ease;
}

.modal-carousel-nav:hover i {
    color: white;
}

/* Modal carousel dots */
.modal-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.modal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

/* Enhanced Modal Styles */
.modal-content {
    background: white;
    border-radius: 25px;
    max-width: 1000px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px;
}

.modal-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-carousel {
    position: relative;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.modal-carousel-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    font-size: 8rem;
    flex-shrink: 0;
    min-height: 350px;
}

.modal-carousel-slide.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.modal-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.modal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.stock-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stock-badge.in-stock {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.stock-badge.out-of-stock {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.modal-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.2;
    font-weight: 700;
}

.modal-code {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 10px;
    display: inline-block;
}

.modal-price-section {
    margin-bottom: 25px;
}

.modal-price {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.modal-price-per-unit {
    font-size: 1.1rem;
    color: #999;
    font-weight: 500;
}

.modal-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-section,
.features-section {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.detail-section h3,
.features-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.detail-section h3 i,
.features-section h3 i {
    color: #667eea;
    font-size: 1.2rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.detail-item i {
    font-size: 1.2rem;
    color: #667eea;
    width: 20px;
    text-align: center;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-content strong {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-content span {
    color: #666;
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.feature-item i {
    color: #28a745;
    font-size: 1rem;
}

.feature-item span {
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.modal-actions .btn {
    flex: 1;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.modal-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.wishlist-modal-btn.active {
    background: #ff4757;
    color: white;
    border-color: #ff4757;
}

.wishlist-modal-btn.active i {
    color: white;
}

/* Responsive carousel improvements */
@media (max-width: 768px) {
    .carousel-slide {
        font-size: 2.5rem;
    }
    
    .modal-carousel-slide {
        font-size: 4rem;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .modal-dot {
        width: 10px;
        height: 10px;
    }
    
    /* Modal responsive */
    .modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .modal-details-section {
        order: 3;
    }
    
    .modal-content {
        max-width: 95vw;
        margin: 20px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .modal-carousel-nav i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        font-size: 2rem;
    }
    
    .modal-carousel-slide {
        font-size: 3rem;
        min-height: 250px;
    }
    
    .modal-body {
        padding: 20px;
        gap: 20px;
    }
    
    .modal-details-section {
        order: 3;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .modal-price {
        font-size: 2.5rem;
    }
    
    .modal-description {
        font-size: 1rem;
        padding: 15px;
    }
    
    .detail-section,
    .features-section {
        padding: 20px;
    }
    
    .modal-carousel-nav {
        width: 35px;
        height: 35px;
    }
    
    .modal-carousel-prev {
        left: 10px;
    }
    
    .modal-carousel-next {
        right: 10px;
    }
    
    /* 3-Photo Grid Responsive */
    .product-images-grid {
        gap: 6px;
        padding: 8px;
    }
    
    .modal-images-grid {
        gap: 10px;
        padding: 12px;
        height: 350px;
    }
    
    .product-image-item span {
        font-size: 2rem !important;
    }
    
    .modal-image-item span {
        font-size: 4rem !important;
    }
}

@media (max-width: 480px) {
    .product-images-grid {
        gap: 4px;
        padding: 6px;
    }
    
    .modal-images-grid {
        gap: 8px;
        padding: 10px;
        height: 300px;
    }
    
    .product-image-item span {
        font-size: 1.5rem !important;
    }
    
    .modal-image-item span {
        font-size: 3rem !important;
    }
}

/* 3-Photo Grid Styles */
.product-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.product-images-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.product-image-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-image-item.main-image {
    grid-row: 1 / 3;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.product-image-item:not(.main-image) {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.product-image-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-images-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 450px;
    height: 400px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-image-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.modal-image-item.main-image {
    grid-row: 1 / 3;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.modal-image-item:not(.main-image) {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.modal-image-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    margin-top: 70px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #6c757d;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #adb5bd;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

.breadcrumb-item i {
    font-size: 12px;
}
