/* Shop Page Styles */
.shop-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--brazil-blue);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--dark-gray);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 39, 118, 0.1);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card h3 {
    padding: 15px 20px 0;
    margin: 0;
    color: var(--brazil-blue);
}

.category-card p {
    padding: 5px 20px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.shop-now {
    display: block;
    padding: 15px 20px;
    color: var(--brazil-blue);
    font-weight: 600;
    text-align: right;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 39, 118, 0.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--brazil-yellow);
    color: var(--brazil-blue);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 200px;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    transition: bottom 0.3s ease;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.quick-view, .add-to-wishlist {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    color: var(--brazil-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view:hover, .add-to-wishlist:hover {
    background: var(--brazil-blue);
    color: white;
}

.product-info {
    padding: 15px;
}

.product-category {
    color: var(--medium-gray);
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product-name {
    color: var(--brazil-blue);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

.product-name a:hover {
    text-decoration: underline;
}

.product-rating {
    color: var(--brazil-yellow);
    font-size: 14px;
    margin-bottom: 10px;
}

.product-rating span {
    color: var(--medium-gray);
    font-size: 12px;
    margin-left: 5px;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--brazil-blue);
    margin-right: 10px;
}

.original-price {
    font-size: 14px;
    color: var(--medium-gray);
    text-decoration: line-through;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background-color: var(--brazil-yellow);
    color: var(--brazil-blue);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: #f0d000;
}

/* Deals Carousel */
.deals-carousel .deal-item {
    padding: 10px;
}

.deals-carousel .deal-badge {
    background-color: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

/* Owl Carousel Overrides */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--brazil-blue) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    font-size: 20px !important;
}

.owl-nav button.owl-prev {
    left: -20px;
}

.owl-nav button.owl-next {
    right: -20px;
}

.owl-nav button:hover {
    background: var(--brazil-yellow) !important;
    color: var(--brazil-blue) !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}