/* =======================================================
   1. Category Carousel Pro Stylesheet
   ======================================================= */
.ccc-carousel-wrapper {
    width: 100%;
    position: relative;
    margin: 8px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.ccc-carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    width: 100%;
    padding: 6px 0 10px 0;
    gap: 8px !important;
    box-sizing: border-box;
    will-change: scroll-position;
}

.ccc-item {
    flex: 0 0 auto !important;
    width: calc(25% - 6px) !important;
    max-width: 140px;
    min-width: 85px;
    text-align: center;
    box-sizing: border-box;
    padding: 0 2px;
}

@media (min-width: 601px) and (max-width: 1024px) {
    .ccc-item {
        width: calc(20% - 6px) !important;
    }
}

@media (min-width: 1025px) {
    .ccc-item {
        width: calc(16.66% - 6px) !important;
    }
}

.ccc-item a {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ccc-image-wrapper {
    position: relative;
    width: 55px;
    height: 55px;
    margin: 0 auto 6px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .ccc-image-wrapper {
        width: 48px;
        height: 48px;
    }
}

.ccc-circle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.ccc-image-wrapper img {
    position: relative;
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.25s ease;
}

.ccc-item:hover .ccc-circle-bg {
    transform: translate(-50%, -50%) scale(1.06);
}

.ccc-item:hover img {
    transform: scale(1.08);
}

.ccc-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ccc-capsule-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px;
    border: 1.2px solid #333333;
    border-radius: 50px !important;
    padding: 3px 6px !important;
    background-color: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    cursor: pointer;
    width: 100% !important;
    box-sizing: border-box;
}

.ccc-title-text {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ccc-title-arrow {
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1;
    color: #111111;
    display: inline-block;
    flex-shrink: 0;
}

.ccc-item:hover .ccc-capsule-btn {
    border-color: #000000;
    background-color: #f7f7f7;
}

.ccc-nav-btn {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.ccc-prev-btn { left: -4px; }
.ccc-next-btn { right: -4px; }

/* =======================================================
   2. Cart & Checkout Dynamic Custom Styling
   ======================================================= */
.mpp-section-title { font-weight: bold; padding: 12px 15px; font-size: 15px; border-radius: 6px; margin: 20px 0 10px 0; display: block; clear: both; }
.mpp-title-preorder { background: #fce4ec; color: #c2185b; border: 1px solid #f8bbd0; }
.mpp-title-stock { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }

.mpp-shipping-notice-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 15px;
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #495057;
}

.mpp-bkash-trx-fields {
    background: #fdf2f4;
    border: 1px dashed #e91e63;
    padding: 15px;
    margin-top: 15px;
    border-radius: 6px;
}
