:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand i {
    font-size: 1.7rem;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    color: var(--text-dark) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    font-size: 1.3rem;
    opacity: 0.95;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image .carousel {
    height: 100%;
}

.product-image .carousel-inner,
.product-image .carousel-item {
    height: 100%;
}

.availability-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.availability-badge.available {
    background-color: #10b981;
    color: white;
}

.availability-badge.unavailable {
    background-color: #ef4444;
    color: white;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.item-detail-images {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.item-detail-images .carousel {
    border-radius: 12px;
    overflow: hidden;
}

.item-detail-images img {
    max-height: 500px;
    object-fit: contain;
}

.item-detail-info {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.item-detail-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.availability-status {
    padding: 1rem 0;
}

.description-box {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-right: 4px solid var(--primary-color);
}

.description-box h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.about-content {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.content-box {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.feature-box {
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background-color: var(--bg-light);
    transform: translateY(-5px);
}

.feature-box i {
    transition: all 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.1);
}

.social-section {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

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

.social-link.whatsapp {
    background: #25d366;
}

footer {
    margin-top: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .item-detail-info {
        margin-top: 2rem;
    }

    .about-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .product-image {
        height: 250px;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .item-detail-images img {
        max-height: 350px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 1rem;
    }

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

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .item-detail-info {
        padding: 1.5rem;
    }

    .item-detail-info h1 {
        font-size: 1.5rem;
    }

    .about-content {
        padding: 1.5rem 1rem;
    }

    .feature-box {
        padding: 1.5rem 1rem;
    }
}

.carousel-indicators button {
    background-color: rgba(99, 102, 241, 0.5);
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
}

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

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

img {
    max-width: 100%;
    height: auto;
}

