.single-product {
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.single-product:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #eee;
    transform: translateY(-5px);
}

.product-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-labels span {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    color: #fff;
}

.label-best-seller { background-color: #ffc107; color: #000 !important; }
.label-new { background-color: #28a745; }
.label-popular { background-color: #17a2b8; }

.product-rating {
    margin: 5px 0;
    font-size: 14px;
}

.stars {
    margin-right: 5px;
}

.reviews-count {
    color: #888;
    font-size: 12px;
}

.single-product__title {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    min-height: 40px;
}

.product-action {
    margin-top: auto;
}

.price {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
    margin-right: 5px;
}

.sale-price {
    color: #d9534f;
}

.product-add-to-cart .btn {
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    padding: 8px 15px;
}

.single-product__free-shipping {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f8f9fa;
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 3px;
    z-index: 2;
    border: 1px solid #ddd;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .product-article-item {
        padding-left: 5px;
        padding-right: 5px;
    }

    .single-product {
        padding: 8px;
    }

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

    .product-labels span {
        font-size: 8px;
        padding: 1px 5px;
    }

    .product-labels .label-new + .label-popular,
    .product-labels .label-best-seller + .label-new,
    .product-labels .label-best-seller + .label-popular,
    .product-labels .label-best-seller + .label-new + .label-popular {
        display: none !important;
    }

    .single-product__title {
        font-size: 13px;
        min-height: 36px;
        line-height: 1.2;
        margin-top: 5px;
    }

    .product-rating {
        font-size: 11px;
        margin: 2px 0;
    }

    .stars {
        margin-right: 2px;
    }

    .reviews-count {
        font-size: 10px;
    }

    .price {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .old-price {
        font-size: 11px;
    }

    .product-add-to-cart .btn {
        font-size: 11px;
        padding: 5px 10px;
        border-radius: 4px;
    }

    .single-product__free-shipping {
        top: 5px;
        right: 5px;
        font-size: 8px;
        padding: 1px 4px;
    }
}

/* Swiper navigation fixes for mobile */
@media (max-width: 767px) {
    .swiper-products.swiper-container {
        padding-bottom: 40px;
    }

    .swiper-products .swiper-button-next,
    .swiper-products .swiper-button-prev {
        top: auto;
        bottom: 0;
        width: 30px;
        height: 30px;
        background-size: 10px 10px;
    }

    .swiper-products .swiper-button-prev {
        left: 35%;
    }

    .swiper-products .swiper-button-next {
        right: 35%;
    }

    .swiper-products .swiper-button-next:after,
    .swiper-products .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* Global Section Styles */
.section-title.h4 {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .h2-md {
        font-size: 2rem !important;
    }
}

.trust-badge-item {
    padding: 10px 5px;
}

.trust-badge-icon {
    font-size: 1.5rem;
}

.trust-badge-text {
    font-size: 0.8rem;
    line-height: 1.2;
    font-weight: 500;
}

@media (min-width: 768px) {
    .trust-badge-text {
        font-size: 0.95rem;
    }
}

.category-card {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card .card-title {
    font-weight: 600;
}

.occasion-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.occasion-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #8b5e3c;
}

.occasion-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.occasion-icon {
    font-size: 2rem;
}

.occasion-title {
    font-weight: 600;
    color: #333;
}

@media (max-width: 767px) {
    .occasion-icon {
        font-size: 1.5rem;
    }
    .occasion-card {
        padding: 15px 5px !important;
    }
}

.btn-outline-primary {
    color: #8b5e3c;
    border-color: #8b5e3c;
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: #8b5e3c;
    border-color: #8b5e3c;
    color: #fff;
}

/* Footer modern styles */
footer {
    background: #fdfaf7;
    border-top: 1px solid #eee;
    color: #444;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c1e14;
    position: relative;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #8b5e3c;
}

.footer-work-hours p,
.footer-company-info p {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.footer-work-hours span {
    font-weight: 500;
}

.social-networks {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    padding: 0;
    list-style: none;
}

@media (max-width: 767px) {
    .footer-title {
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .social-networks {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

.border-top {
    border-top: 1px solid #ddd !important;
}
