/* Products Hero Section */
.products-hero {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(101, 67, 33, 0.7) 100%), 
                url('../../images/cookie-cutter-497133_1280.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0 60px;
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-family: 'pacificoregular', cursive;
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-family: 'rubiklight', sans-serif;
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin-bottom: 20px;
    font-family: 'rubiklight';
}

.breadcrumb-item a {
    color: #e67e22;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #7e5109;
}

/* Intro Section */
.intro-section {
    background: rgba(245, 222, 179, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 4px solid #e67e22;
}

.intro-text {
    font-family: 'rubiklight';
    font-size: 1.2rem;
    color: #5d4037;
    margin: 0;
    line-height: 1.6;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.product-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230, 126, 34, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.card-image:hover .image-overlay {
    opacity: 1;
}

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

.view-icon {
    color: white;
    font-size: 2rem;
}

/* Card Body */
.card-body {
    padding: 1.5rem;
}

.product-title {
    font-family: 'rubiklight', sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-align: center;
}

.product-price {
    font-family: 'rubiklight', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #e67e22;
    text-align: center;
    margin-bottom: 1rem;
}

.card-footer {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
}

/* CTA Button */
.cta-btn {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border: whitesmoke !important;
    border-radius: 25px;
    padding: 10px 25px;
    font-family: 'rubiklight';
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
    color: white;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}

.modal-title {
    font-family: 'rubiklight';
    font-weight: bold;
}

.close {
    color: white;
    opacity: 1;
    font-size: 1.8rem;
    text-shadow: none;
}

.close:hover {
    color: #f1c40f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .intro-section {
        padding: 20px;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .products-hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .product-card {
        margin-bottom: 2rem;
    }
}

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

.product-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for breadcrumb */
.breadcrumb-item a:hover {
    color: #d35400;
    text-decoration: underline;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Category Products Hero Section */
.category-products-hero {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(101, 67, 33, 0.7) 100%), 
                url('../../images/christmas.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0 60px;
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

/* Category Info Section */
.category-info {
    background: rgba(245, 222, 179, 0.2);
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 40px;
    border-left: 4px solid #e67e22;
}

.category-description {
    font-family: 'rubiklight';
    font-size: 1.2rem;
    color: #5d4037;
    margin: 0;
    line-height: 1.6;
}

/* Enhanced Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin-bottom: 20px;
    font-family: 'rubiklight';
}

.breadcrumb-item a {
    color: #e67e22;
    text-decoration: none;
}

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

.breadcrumb-item.active {
    color: #000000;
}

/* Product Count Badge */
.product-count {
    background: #e67e22;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Responsive adjustments for category page */
@media (max-width: 768px) {
    .category-products-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .category-products-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .category-info {
        padding: 20px;
    }
    
    .category-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .category-products-hero {
        padding: 60px 0 40px;
    }
    
    .category-products-hero .hero-title {
        font-size: 2rem;
    }
}

/* Animation for category products */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: slideInUp 0.6s ease-out;
}

/* Stagger animation for better visual flow */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Back to Categories Link */
.back-to-categories {
    display: inline-block;
    margin-bottom: 20px;
    color: #e67e22;
    text-decoration: none;
    font-family: 'rubiklight';
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-to-categories:hover {
    color: #d35400;
    text-decoration: underline;
    transform: translateX(-5px);
}

.back-to-categories i {
    margin-right: 8px;
}

/* Product Detail Hero Section */
.product-detail-hero {
    background: linear-gradient(135deg, rgba(101, 67, 33, 0.9) 0%, rgba(139, 69, 19, 0.9) 100%);
    padding: 60px 0 40px;
    color: white;
    margin-bottom: 40px;
}

.product-title1 {
    font-family: 'pacificoregular', cursive;
    color:rgb(0,0,0);
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.product-subtitle2 {
    font-family: 'rubiklight', sans-serif;
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Back Button */
.btn-back {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    padding: 10px 20px;
    font-family: 'rubiklight';
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateX(-5px);
}

/* Product Detail Container */
.product-detail-container {
    padding: 20px 0 60px;
}

/* Product Image Card */
.product-image-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    background: white;
}

.product-detail-image {
    border-radius: 15px;
    max-height: 500px;
    width: auto;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-family: 'rubiklight';
    font-weight: bold;
    font-size: 0.9rem;
}

/* Product Info Card */
.product-info-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
    height: 100%;
}

.card-header {
    background: linear-gradient(135deg, #fdf6e3 0%, #f8e8c8 100%);
    border-bottom: 3px solid #e67e22;
    border-radius: 20px 20px 0 0 !important;
    padding: 1.5rem 2rem;
}

.product-info-title {
    font-family: 'rubiklight', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}

.price-tag {
    margin-top: 10px;
}

.price {
    font-family: 'rubiklight', sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: #e67e22;
}

.card-body {
    padding: 2rem;
}

/* Info Sections */
.info-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.info-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-family: 'rubiklight', sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.section-content {
    font-family: 'rubiklight', sans-serif;
    color: #555;
    line-height: 1.6;
}

/* Delivery Items */
.delivery-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 10px;
    background: rgba(245, 222, 179, 0.2);
    border-radius: 10px;
}

.delivery-icon {
    color: #e67e22;
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.delivery-item div {
    flex: 1;
}

.delivery-item strong {
    color: #2c3e50;
    font-family: 'rubiklight';
}

.delivery-item p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 0.95rem;
}

/* Action Section */
.action-section {
    text-align: center;
}

.btn-add-to-cart {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-family: 'rubiklight';
    font-weight: bold;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 300px;
}

.btn-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.4);
    color: white;
}

/* Product Features */
.product-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    background: rgba(230, 126, 34, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-family: 'rubiklight';
    font-size: 0.9rem;
    color: #e67e22;
}

.feature-icon {
    margin-right: 8px;
    font-size: 0.8rem;
}

/* Related Products Section */
.related-products-section {
    text-align: center;
    padding: 40px 0;
    background: rgba(245, 222, 179, 0.1);
    border-radius: 20px;
    margin-top: 40px;
}

.section-heading {
    font-family: 'rubiklight', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: 'rubiklight', sans-serif;
    color: #666;
    font-size: 1.1rem;
}

.btn-outline-primary {
    border: 2px solid #e67e22;
    color: #e67e22;
    border-radius: 25px;
    padding: 10px 30px;
    font-family: 'rubiklight';
    font-weight: bold;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .product-title {
        font-size: 2.2rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .product-detail-hero {
        padding: 40px 0 30px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .product-subtitle {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .product-features {
        gap: 10px;
    }
    
    .feature-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .product-detail-container {
        padding: 10px 0 40px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .btn-back {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-image-card,
.product-info-card {
    animation: fadeIn 0.6s ease-out;
}