/* Base Container */
.cc-shop-section {
    width: 100%;
    padding: 90px 15px;
    background-color: #ffffff;
    text-align: center;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.cc-shop-main-title {
    font-size: 25px;
    color: #1c2b33;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

/* Fixed Description Responsiveness */
.cc-shop-main-description {
    color: #687076;
    font-size: 14px; /* Using px for better control */
    text-align: center;
    letter-spacing: 0.01em;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    max-width: 800px; /* Limits width on desktop */
    padding: 0 10px; /* Minimal padding for mobile */
}

/* Responsive Grid System */
.cc-shop-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Card Styling */
.cc-shop-card {
    background-color: #f0f2f5;
    border-radius: 40px; /* Reduced slightly for better mobile look */
    padding: 30px 20px;
    width: 100%;
    max-width: 340px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

/* Image Container */
.cc-shop-image-box {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

/* Image Popup Animation */
.cc-shop-item-img {
    max-width: 75px;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Animation */
.cc-shop-card:hover .cc-shop-item-img {
    transform: scale(1.2); 
}

/* Text & Link Styling */
.cc-shop-item-name {
    font-size: 17px;
    color: #1c2b33;
    margin: 0 0 15px 0;
    font-weight: 600;
    line-height: 1.4;
    min-height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-shop-cta {
    color: #0064e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.cc-shop-cta:hover {
    border-bottom-color: #0064e0;
}

/* --- Responsive Breakpoints --- */

/* Tablets & Larger Mobile (2 columns) */
@media (min-width: 650px) {
    .cc-shop-card {
        width: calc(50% - 20px);
    }
    .cc-shop-main-title {
        font-size: 28px;
    }
    .cc-shop-main-description {
        padding: 0 10%; /* Re-adds padding only on larger screens */
    }
}

/* Desktops (3 columns) */
@media (min-width: 992px) {
    .cc-shop-card {
        width: calc(33.333% - 20px);
        max-width: 280px;
    }
}