/* ============================================= */
/*               BASE STYLES                    */
/* ============================================= */
li {
    list-style: none;
}

/* ============================================= */
/*               LAYOUT STRUCTURE               */
/* ============================================= */
.rtwmer-d-flex {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    width: 75%;
    float: left;
}

.rtwmer_store_wrappeer_row {
    display: flex;
    margin: 0 auto;
    padding: 2rem 2.617924em;
    box-sizing: border-box;
    max-width: 1200px;
}

.rtwmer_store_wrappeer_row:after {
    content: "";
    display: block;
    clear: both;
}

.rtwmer_sidebar_box {
    width: 25%;
    padding: 0 0 0 30px;
}

.rtwmer_sidebar_box > :first-child {
    width: 100% !important;
    padding: 0;
}

/* ============================================= */
/*               PRODUCT GRID                   */
/* ============================================= */
.rtwmer-prdct-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.rtwmer_store_sidebar, 
.rtwmer-prdct-box {
    width: 33.33333333%;
    position: relative;
    min-height: 1px;
    padding: 0 15px;
    margin-bottom: 30px;
}

.rtwmer-prdct-box {
    padding: 0 5px;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rtwmer-prdct-box:hover {
    transform: scale(1);
    z-index: 10;
}

.rtwmer_store_banner_wrapper {
    width: 66.66666667%;
    position: relative;
    padding: 0 15px;
}

/* ============================================= */
/*               PRODUCT CARDS                   */
/* ============================================= */
.rtwmer_inner_border {
    border: 1px solid #e0e0e0;
    padding: 15px;
    height: 100%;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.rtwmer_inner_border:hover {
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.rtwmer_inner_border a {
    display: block;
    text-decoration: none;
}

.rtwmer_inner_border a img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.rtwmer-product-details {
    padding: 15px 5px;
    text-align: center;
}

.rtwmer-product-details .add_to_cart_button {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #333;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.rtwmer-product-details .add_to_cart_button:hover {
    background-color: #6200ee;
    color: white;
    border-color: #6200ee;
}

/* ============================================= */
/*               VENDOR PROFILE                  */
/* ============================================= */
.rtwmer_store_banner {
    position: relative;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.rtwmer_store_banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rtwmer_store_banner:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
}

.rtwmer_vendor_details {
    padding: 30px;
    width: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

.rtwmer_vendor_details label#rtwmer_store_name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.rtwmer-avator {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.2);
    object-fit: cover;
    background: #f5f5f5;
}

/* ============================================= */
/*               SIDEBAR WIDGETS                 */
/* ============================================= */
.rtwmer_widget_box,
.rtwmer_category_box,
.rtwmer_map_box {
    background: #fff;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 20px;
}

.rtwmer_widget_box h5,
.rtwmer_map_box h5,
.rtwmer_category_box h5 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.rtwmer_contact_vendor {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.rtwmer-form input,
.rtwmer-form textarea {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.rtwmer-form input:focus,
.rtwmer-form textarea:focus {
    border-color: #6200ee;
    box-shadow: 0 0 0 3px rgba(98,0,238,0.1);
    outline: none;
}

/* ============================================= */
/*               PAGINATION                     */
/* ============================================= */
.rtwmer_pagination .nav-links {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.page-numbers {
    background-color: #fff;
    padding: 8px 16px;
    margin: 0 5px;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.page-numbers.current,
.page-numbers:hover {
    background-color: #6200ee;
    color: #fff;
    border-color: #6200ee;
}

/* ============================================= */
/*               FILTERS & SORTING               */
/* ============================================= */
.rtwmer-wrapper-row {
    display: flex;
    background: #6200ee;
    padding: 12px 0;
    align-items: center;
    margin: 0 -15px 30px;
    flex-wrap: wrap;
    color: white;
    border-radius: 8px;
}

.rtwmer_filter_fields {
    width: 30%;
    padding: 0 15px;
}

.rtwmer_filter_fields p input {
    border: 1px solid #ddd !important;
    padding: 8px 12px;
    border-radius: 4px;
    width: 100%;
    background: #fff;
}

#rtwmer_show_filter {
    padding: 8px 15px;
    background: #fff;
    color: #6200ee;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

#rtwmer_show_filter:hover {
    background: #f5f5f5;
}

/* ============================================= */
/*               STORE LIST VIEW                 */
/* ============================================= */
.rtwmer-row-look-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 20px -15px;
    padding: 20px;
    align-items: center;
    transform: scale(0.98);
    transition: all 0.3s;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rtwmer-row-look-wrapper:hover {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rtwmer-banner-image {
    width: 30%;
    padding: 0 15px;
}

.rtwmer-store-data-wrapper {
    width: 50%;
    padding: 0 15px;
}

.rtwmer-button {
    width: 20%;
    padding: 0 15px;
}

.rtwmer-visit-btn {
    width: 40px;
    height: 40px;
    background: #6200ee;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
}

.rtwmer-visit-btn:hover {
    background: #4a00c0;
    transform: rotate(10deg);
}

/* ============================================= */
/*               RESPONSIVE DESIGN               */
/* ============================================= */
@media (max-width: 992px) {
    .rtwmer-d-flex,
    .rtwmer_sidebar_box {
        width: 100%;
    }
    
    .rtwmer_sidebar_box {
        padding: 30px 0 0;
    }
    
    .rtwmer_store_banner_wrapper,
    .rtwmer_vendor_details {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .rtwmer_store_sidebar,
    .rtwmer-prdct-box {
        width: 50%;
    }
    
    .rtwmer-row-look-wrapper > div {
        width: 100% !important;
        margin-bottom: 15px;
    }
    
    .rtwmer_filter_fields {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .rtwmer_store_sidebar,
    .rtwmer-prdct-box {
        width: 100%;
    }
    
    .rtwmer_store_wrappeer_row {
        padding: 1rem;
    }
    
    .rtwmer_vendor_details {
        padding: 20px;
        position: relative;
        top: auto;
        transform: none;
    }
    
    .rtwmer_store_banner {
        height: 250px;
    }
}

/* ============================================= */
/*               UTILITY CLASSES                 */
/* ============================================= */
.rtwmer-w-100 {
    width: 100%;
}

.rtwmer-border-bottom {
    border-bottom: 1px solid #eee;
    margin: 15px 0;
}

.rtwmer_current_active {
    color: #6200ee !important;
    font-weight: 600;
}

.rtwmer_active_category > a {
    color: #6200ee !important;
    font-weight: 600;
}

.rtwmer_display {
    display: none !important;
}

/* ============================================= */
/*               ANIMATIONS & EFFECTS            */
/* ============================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rtwmer-prdct-box {
    animation: fadeIn 0.5s ease forwards;
}

/* ============================================= */
/*               COLOR VARIABLES                 */
/* ============================================= */
:root {
    --primary-color: #6200ee;
    --primary-hover: #4a00c0;
    --secondary-color: #03dac6;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
}