/* SHOP HERO SECTION */
.shop-hero {
    position: relative;
    width: 100%;
    min-height: 650px;
    background: url('../images/aventar/shop-image.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    padding: 135px 10% 40px;
    margin: -5pc 0 0 0;
}

.shop-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 800px;
    width: 100%;
}

.shop-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 25px;
}

.shop-hero-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    color: #f0f0f0;
    line-height: 1.6;
    margin-bottom: 50px;
}

.shop-btn-wrapper {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 25px;
    max-width: 1000px;
    margin: 4pc auto 0;
    z-index: 1;
    position: relative;
}

.shop-arrow-svg {
    position: absolute;
    top: -50px;
    left: -40px;
    width: 80px;
    height: 80px;
    transform: rotate(-10deg);
}

.shop-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #FF3229;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 10px 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.shop-now-btn:hover {
    background: #e02820;
}

.shop-now-btn .icon-circle {
    width: 36px;
    height: 36px;
    background: #fff;
    color: #FF3229;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .shop-hero {
        min-height: 500px;
    }

    .shop-hero-content h1 {
        font-size: 36px;
    }

    .shop-hero-content p {
        font-size: 15px;
        padding: 0 10px;
    }

    .shop-arrow-svg {
        display: none;
    }
}

/* SHOP CONTENT SECTION */
.shop-content-section {
    padding: 80px 5%;
    background-color: #fff;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

/* SIDEBAR */
.shop-sidebar {
    width: 350px;
    flex-shrink: 0;
}

.sidebar-widget {
    margin-bottom: 40px;
    border-radius: 6px;
    border: 1px solid rgba(26, 26, 26, 0.07);
    background: #FFF;
    padding: 20px;
}

.widget-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-list li {
    display: block;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    user-select: none;
    font-family: 'Outfit', sans-serif;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    margin-right: 12px;
    transition: 0.2s;
}

.custom-checkbox:hover input~.checkmark {
    border-color: #FF3229;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #FF3229;
    border-color: #FF3229;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.count {
    color: #888;
    margin-left: 5px;
}

/* MAIN CONTENT */
.shop-main {
    flex: 1;
}

/* SHOP TOPBAR */
.shop-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    /* padding-bottom: 20px; */
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-modes {
    display: flex;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
}

.view-mode {
    background: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #888;
    font-size: 14px;
    transition: 0.2s;
}

.view-mode:not(:last-child) {
    border-right: 1px solid #eaeaea;
}

.view-mode:hover,
.view-mode.active {
    color: #111;
    background: #f7f7f7;
}

.results-count {
    font-size: 13px;
    color: #666;
    font-family: 'Outfit', sans-serif;
}

.topbar-right .sort-select {
    padding: 10px 15px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    outline: none;
    color: #444;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    cursor: pointer;
    background-color: #fff;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 315px;
    height: auto;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.product-image-wrapper {
    position: relative;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 320px;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: 0.5s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF3229;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 12px;
    z-index: 2;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(15px);
    transition: 0.3s;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.action-btn:hover,
.action-btn.wl-active {
    background: #FF3229;
    color: #fff;
}



.product-info {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.product-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-title a {
    color: #111;
    text-decoration: none;
    transition: 0.3s;
}

.product-title a:hover {
    color: #FF3229;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: #FF3229;
    font-size: 11px;
    display: flex;
    gap: 2px;
}

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

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

.product-price .price {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

/* RESPONSIVE */
@media(max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 900px) {
    .shop-container {
        flex-direction: column;
    }

    .shop-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media(max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .shop-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* SIDEBAR EXTENDED STYLES */

/* Category List Underline */
.category-list li label a {
    color: #444;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

.category-list li label a:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #444;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.category-list li label:hover a:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Price Filter Widget */
.widget-price-filter {
    margin-top: 40px;
}

.price-slider-container {
    padding-top: 20px;
}

.price-slider {
    position: relative;
    height: 4px;
    background: #eaeaea;
    border-radius: 2px;
    margin-bottom: 20px;
}

.slider-range {
    position: absolute;
    height: 100%;
    left: 10%;
    right: 10%;
    background: #FF3229;
    border-radius: 2px;
}

.slider-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid #FF3229;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.left-handle {
    left: 10%;
}

.right-handle {
    left: 90%;
}

.price-filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-family: 'Outfit', sans-serif;
    color: #444;
}

.filter-btn {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.filter-btn:hover {
    color: #FF3229;
}

/* Item Size Widget */
.widget-item-size {
    margin-top: 40px;
}

.size-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.size-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
}

.size-list li:last-child {
    border-bottom: none;
}

/* Custom Radio */
.custom-radio {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    user-select: none;
    font-family: 'Outfit', sans-serif;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radiomark {
    position: relative;
    display: inline-block;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 50%;
    margin-right: 12px;
    transition: 0.2s;
}

.custom-radio:hover input~.radiomark {
    border-color: #FF3229;
}

.custom-radio input:checked~.radiomark {
    border-color: #FF3229;
}

.radiomark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF3229;
}

.custom-radio input:checked~.radiomark:after {
    display: block;
}

/* Latest Products Widget */
.widget-latest-products {
    margin-top: 40px;
}

.latest-product-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-product-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.latest-img-placeholder {
    width: 70px;
    height: 70px;
    background: #e0e0e0;
    border-radius: 4px;
    flex-shrink: 0;
}

.latest-info {
    display: flex;
    flex-direction: column;
}

.latest-info .stars {
    color: #FF3229;
    font-size: 10px;
    display: flex;
    gap: 2px;
    margin-bottom: 5px;
}

.latest-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
}

.latest-title a {
    color: #111;
    text-decoration: none;
    transition: 0.3s;
}

.latest-title a:hover {
    color: #FF3229;
}

.latest-price {
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

/* List View Mode */
.product-grid.list-view {
    grid-template-columns: repeat(2, 1fr);
}

.product-grid.list-view .product-card {
    flex-direction: row;
    width: 100%;
    max-width: none;
    align-items: center;
}

.product-grid.list-view .product-image-wrapper {
    width: 250px;
    height: 250px;
    flex-shrink: 0;
    border-right: 1px solid #eaeaea;
}

.product-grid.list-view .product-info {
    text-align: left;
    padding: 30px;
    flex-grow: 1;
}

.product-grid.list-view .product-price {
    justify-content: flex-start;
}

/* Mobile Filter Button Base */
.mobile-filter-btn {
    display: none;
    background: #FF3229;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.mobile-filter-btn:hover {
    background: #e02820;
}

/* =========================================
   COMPREHENSIVE MEDIA QUERIES
   ========================================= */

@media (max-width: 1400px) {
    .shop-hero-content h1 {
        font-size: 55px;
    }

    .shop-content-section {
        padding: 60px 5%;
    }

    .product-card {
        width: 100%;
    }

    .shop-container {
        gap: 19px;
    }

    .shop-sidebar {
        width: 280px;
        flex-shrink: 0;
    }

    .shop-topbar {
        padding: 0px 17px;
    }

    .product-image-wrapper {
        width: 100%;
        height: 275px;
    }
}

@media (max-width: 1200px) {
    .shop-hero-content h1 {
        font-size: 45px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-sidebar {
        width: 230px;
        flex-shrink: 0;
    }
}

@media (max-width: 992px) {
    .shop-hero-content h1 {
        font-size: 40px;
    }

    .shop-container {
        flex-direction: column;
    }

    .shop-sidebar {
        display: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .shop-sidebar.show-sidebar {
        display: block;
    }

    .mobile-filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid.list-view {
        grid-template-columns: 1fr;
    }

    .topbar-left {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image-wrapper {
        gap: 20px;
    }

    .product-image-wrapper {
        height: 360px;
    }

    .product-card .product-img {
        transform: scale(1.12);
    }
}

@media (max-width: 768px) {
    .shop-hero {
        min-height: 450px;
    }

    .shop-hero-content h1 {
        font-size: 35px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .product-grid.list-view .product-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .product-image-wrapper {
        height: 390px;
    }
}

@media (max-width: 576px) {
    .shop-hero {
        min-height: 350px;
        padding: 100px 5% 40px;
    }

    .shop-hero-content h1 {
        font-size: 30px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-grid.list-view .product-card {
        flex-direction: column;
    }

    .product-grid.list-view .product-image-wrapper {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }
}

@media (max-width: 480px) {
    .shop-hero-content h1 {
        font-size: 26px;
    }

    .shop-hero-content p {
        font-size: 16px;
    }

    .product-info {
        padding: 15px;
    }

    .product-card {
        padding: 0px;
        width: 100%;
    }
}