﻿/* #region ===== DesigntypeProductListPartial ===== */
.btn-outline-brown {
    --bs-btn-color: var(--design-btn-outline-color, #563329);
    --bs-btn-border-color: var(--design-btn-outline-border, #563329);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--design-btn-outline-hover-bg, #563329);
    --bs-btn-hover-border-color: var(--design-btn-outline-border, #563329);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--design-btn-outline-active-bg, #563329);
    --bs-btn-active-border-color: var(--design-btn-outline-border, #563329);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--design-btn-disabled-color, #563329);
    --bs-btn-disabled-bg: transparent;
    --bs-gradient: none;
    height: 51px;
}

.section-instock-products {
    background-color: var(--design-section-instock-bg, #f9f9f9);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: var(--theme-font-primary);
}

.section-subtitle {
    color: var(--design-section-subtitle-color, #666);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.product-card {
    background: var(--design-product-card-bg, #fff);
    padding: 4px;
    box-shadow: 0 0 10px var(--design-product-card-shadow, rgba(0, 0, 0, 0.05));
    transition: all 0.3s ease-in-out;
}

    .product-card:hover {
        box-shadow: 0 6px 20px var(--design-product-card-hover-shadow, rgba(0, 0, 0, 0.12));
        transform: translateY(-5px);
    }

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--design-badge-gold-bg, #d4af37);
    color: var(--design-badge-gold-text, #fff);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--design-product-name-color, #333);
}

.product-price {
    font-size: 1rem;
    padding: 0px;
}

.rating-stars i {
    font-size: 14px;
}

@media (max-width: 576px) {
    .product-card {
        padding: 4px;
    }

    .img-stretch {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.text-start {
    padding: 10px;
}

.badge-bestseller {
    background: var(--design-badge-bestseller, linear-gradient(135deg, #FFD700 0%, #4f4d45 100%));
    color: var(--design-badge-bestseller-text, #6b4e00);
}

/* === ALWAYS SHOW ALL ICONS & BADGES === */
.product-image-wrapper {
    position: relative;
}

    .product-image-wrapper .btn-cart-icon,
    .product-image-wrapper .btn-video-icon,
    .product-image-wrapper .rating-badge,
    .product-image-wrapper .badge-bestseller {
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
    }

.product-item:hover .btn-cart-icon,
.product-item:hover .btn-video-icon {
    transform: scale(1.1);
}

.product-image-wrapper .z-3 {
    z-index: 3;
}

h2 {
    font-size: 1.6rem !important;
    margin-bottom: 1.5rem;
}
/* #endregion */

/* #region =====DesignTypeProduct ===== */
.breadcrumb-nav {
    font-family: var(--theme-font-primary);
    font-size: 14px;
    color: var(--design-breadcrumb-color, #666);
    margin-bottom: -20px;
}

    .breadcrumb-nav a {
        color: var(--design-breadcrumb-color, #666);
        text-decoration: none;
        cursor: pointer;
    }

.active {
    color: var(--design-breadcrumb-active, #c09853);
    text-decoration: none;
    cursor: pointer;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span.separator {
    margin: 0 8px;
    color: var(--design-breadcrumb-separator, #aaa);
}

@media (max-width: 576px) {
    .breadcrumb-nav {
        font-size: 13px;
    }
}

/*...........................*/

/* Mobile Action Bar Styles */
.btn-primary {
    background: white !important;
    color: var(--design-btn-primary-color, black);
    border: none;
    cursor: pointer;
    padding: 18px;
}

.sort-btn {
    display: flex;
    align-items: center;
}

/* Sort Overlay Styles */
.sort-overlay {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--design-sort-overlay-bg, rgba(0, 0, 0, 0.5));
    height: 100%;
    transition: all 0.3s ease;
    z-index: 1000;
    visibility: hidden;
}

    .sort-overlay.active {
        bottom: 0;
        visibility: visible;
    }

.sort-overlay-content {
    background: var(--design-sort-content-bg, white);
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.sort-header {
    margin-bottom: 15px;
}

    .sort-header h3 {
        margin: 0;
        font-size: 18px;
    }

.sort-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sort-item {
    text-decoration: none;
    color: var(--design-sort-item-color, #333);
    padding: 10px;
    display: block;
    border-bottom: 1px solid var(--design-sort-item-border, #eee);
}

    .sort-item:hover {
        background: var(--design-sort-item-hover-bg, #f5f5f5);
        color: var(--design-sort-item-hover-color, #563329);
    }

/* Hide on desktop */
@media (min-width: 992px) {
    .mobile-action-bar {
        display: none;
    }

    .sort-overlay {
        display: none;
    }
}

/* Product Card & General */
.product-title {
    font-family: var(--theme-font-primary);
    font-weight: 600;
    color: var(--design-product-title-color, #333);
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    max-width: 150px !important;
}

.product-item:hover .product-image-wrapper img {
    transition: transform 0.3s ease;
}

.product-item {
    position: relative;
    overflow: hidden;
    border: 0.009rem solid #eaeaea;
    transition: all 0.3s ease;
    border-radius: 15px;
}

    .product-item.hover-border:hover {
        border: 1px solid var(--design-product-border-hover, #d1d1d1);
        box-shadow: 0 4px 12px var(--design-product-shadow-hover, rgba(0, 0, 0, 0.1));
    }

.product-image-wrapper .zoom-image {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-item:hover .zoom-image {
    opacity: 1;
    transform: scale(1.15);
}

.product-amount {
    font-size: 18px;
    font-weight: bold;
    color: var(--design-product-amount-color, #861b2d);
}

.star-rating .flaticon-star-1 {
    color: var(--design-star-active, #f1c40f);
    transition: color 0.3s ease;
}

.star-rating.empty .flaticon-star-1 {
    color: var(--design-star-inactive, #b0b0b0);
}

.product-title {
    font-size: 16px;
    color: var(--design-product-title-color, #b0b0b0);
    font-weight: 600;
    line-height: 1.4;
}

    .product-title.text-truncate {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.wishlist-icon .fa-heart.filled {
    color: var(--design-wishlist-filled, #861b2d);
}

.wishlist-icon .fa-heart.empty {
    color: var(--design-wishlist-empty, #0003);
}

.common-contentBox {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100%;
}

.product-grid {
    padding-bottom: 100px;
    background-color: var(--web-bg-main, #fff);
}

/* Sidebar Styling */
.modern-sidebar {
    background: var(--design-sidebar-bg, #ffffff);
    border-radius: 10px;
/*    box-shadow: 0 4px 15px var(--design-sidebar-shadow, rgba(0, 0, 0, 0.05));*/
/*    padding-left: 70px;*/
    padding-right: 30px;
/*    padding-top: 25px;*/
    height: fit-content;
    transition: all 0.3s ease;
}

.sidebar-title {
    font-size: 13px;
    color: var(--design-sidebar-title-color, rgba(0, 0, 0, .85));
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

    .sidebar-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: var(--design-sidebar-title-underline, #563329);
        transition: width 0.3s ease;
    }

.filter-group {
    margin-bottom: 20px;
}

.filter-group-title {
    font-size: 12px;
    color: var(--design-filter-group-title-color, #444);
    font-weight: 500;
    margin-bottom: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .filter-group-title:hover {
        color: var(--design-filter-group-title-hover, #563329);
    }

.custom-checkbox {
    position: relative;
    margin-bottom: 12px;
}

    .custom-checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    .custom-checkbox label {
        position: relative;
        padding-left: 28px;
        cursor: pointer;
        font-family: var(--theme-font-primary);
        font-size: 14px;
        color: var(--design-checkbox-label-color, #666);
        transition: color 0.3s ease;
    }

        .custom-checkbox label:before {
            content: '';
            position: absolute;
            left: 0px;
            top: 5px;
            width: 14px;
            height: 14px;
            border: 1px solid var(--design-checkbox-border, #b3b2b2);
            border-radius: 4px;
            background: var(--design-checkbox-bg, #fff);
            transition: all 0.3s ease;
        }

    .custom-checkbox input:checked + label:before {
        background: var(--design-checkbox-checked-bg, #982464) !important;
        border-color: var(--design-checkbox-checked-border, #982464) !important;
    }

    .custom-checkbox input:checked + label:after {
        content: '\2713';
        position: absolute;
        left: 5px;
        top: 2px;
        color: var(--design-checkbox-check-color, #fff);
        font-size: 12px;
    }

    .custom-checkbox label:hover {
        color: var(--design-checkbox-label-hover, #563329);
    }

.modern-select {
    border: none !important;
    padding: 8px 20px;
    font-size: 12px !important;
    background: var(--design-select-bg, #fff);
    box-shadow: 0 2px 4px var(--design-select-shadow, rgba(0, 0, 0, 0.05));
    cursor: pointer;
}

.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white !important;
    box-shadow: 0 -2px 10px var(--design-mobile-bar-shadow, rgba(0, 0, 0, 0.1));
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

    .mobile-action-bar .filter-btn {
        font-size: 14px;
        background: white !important;
        border: none;
        font-family: var(--theme-font-primary);
    }

    .mobile-action-bar .modern-select {
        font-size: 14px;
        height: auto;
    }

@media (max-width: 991px) {
    .sidebar-wrapper {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100%;
        background: var(--design-sidebar-bg, #fff);
        z-index: 1001;
        transition: left 0.3s ease;
    }

        .sidebar-wrapper.active {
            left: 0;
        }

    .modern-sidebar {
        height: 100%;
        overflow-y: auto;
        border-radius: 0;
        box-shadow: none;
        padding: 20px;
/*        display:none;*/
    }

    .mobile-action-bar {
        display: flex;
    }
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--design-sort-overlay-bg, rgba(0, 0, 0, 0.5));
    z-index: 999;
    display: none;
}

.no-horizontal-padding > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ==========================================================================
   FINAL FILTER STYLES – UNDERLINE ONLY ON HOVER (NO COLOR CHANGE)
   ========================================================================== */
.accordion-button,
.filter-options .custom-checkbox label {
    position: relative;
    transition: none;
}

/* Accordion Heading (Metal, Price Range, etc.) */
.accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--design-accordion-color, #333);
    font-weight: 600;
    text-decoration: none;
}

    .accordion-button::after {
        display: none;
    }

    .accordion-button i {
        transition: transform 0.2s ease;
    }

    .accordion-button:not(.collapsed) i {
        transform: rotate(180deg);
    }

    /* Underline on hover – accordion heading */
    .accordion-button::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: var(--design-accordion-hover-underline, currentColor);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s ease;
    }

    .accordion-button:hover::before {
        transform: scaleX(0.1);
    }

/* Filter Options (checkbox labels) */
.filter-options .custom-checkbox label {
    display: inline-block;
    padding-bottom: 2px;
}

    .filter-options .custom-checkbox label::after {
        content: "";
        position: absolute;
        left: 25px;
        right: 0;
        bottom: 0;
        height: 1px;
        background: var(--design-accordion-hover-underline, currentColor);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s ease;
    }

    .filter-options .custom-checkbox label:hover::after {
        transform: scaleX(0.1);
    }

/* Keep 14px font */
.accordion-button,
.filter-checkbox + label,
.custom-checkbox label,
.sidebar-title,
.breadcrumb-nav,
.modern-select,
.sort-item,
.mobile-action-bar button {
    font-size: 14px !important;
}

/* Bottom border for each filter group */
.filter-group {
    border-bottom: 1px solid var(--design-filter-group-border, #eee) !important;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

/* Clean accordion item */
.accordion-item {
    border-bottom: 1px solid var(--design-accordion-border, #eee);
    border-top: none;
    border-left: none;
    border-right: none;
}

/* Hover background for checkbox row */
.custom-checkbox {
    padding: 3px 0;
    transition: background 0.2s;
}

    .custom-checkbox:hover {
        background: var(--design-section-instock-bg, #f9f9f9);
    }

/* Selected state */
.filter-checkbox:checked + label {
    font-weight: 600;
}

.gap-8 {
    gap: 10rem;
}

.accordion-button:focus {
    background-color: transparent;
    color: black;
}

.accordion-button:active {
    background-color: transparent;
    color: black;
}

/*............................................*/
/* Sort Overlay Styles */
.sort-overlay .sort-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sort-overlay .sort-item {
    text-align: left;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

    .sort-overlay .sort-item.active {
        background: var(--design-sort-item-active-bg, #800020);
        color: black;
        border: none;
    }

@media (max-width: 991px) {
    .sort-overlay .sort-item {
        font-size: 13px;
        padding: 10px;
        background: white;
    }

    .gap-8 {
        gap: 6rem !important;
    }
}

.otp-input {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    font-size: 1.25rem;
    border: 1px solid var(--design-otp-border, #ccc);
    transition: border 0.3s ease;
}

    .otp-input:focus {
        border-color: var(--design-otp-focus-border, #1c0823);
        outline: none;
        box-shadow: 0 0 5px var(--design-otp-focus-shadow, rgba(169, 116, 95, 0.3));
    }

.btn-login-primary {
    background-color: var(--design-otp-login-bg, #1c0823);
    color: white;
    border-radius: 50px;
    border: none;
}

    .btn-login-primary:hover {
        background-color: var(--design-otp-login-hover, #8e5f4d);
    }

/* #endregion */

/* #region ===== FAQ Section Styles ===== */
.section-template--faq_section-padding {
    padding-top: 25px;
    padding-bottom: 25px;
}

@media screen and (min-width: 750px) {
    .section-template--faq_section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* FAQ Styles */
#shopify-section-template--faq_section h3.accordion__title.inline-richtext.h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--design-faq-title-color, #222);
    margin: 0;
}

#shopify-section-template--faq_section details {
    border: 1px solid var(--design-faq-border, #e1e1e1);
    border-radius: 8px;
    background: var(--design-faq-bg, #fff);
    margin-bottom: 12px;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

    #shopify-section-template--faq_section details[open] {
        box-shadow: 0 5px 15px var(--design-faq-shadow, rgba(0,0,0,0.08));
        border-color: #d5d5d5;
    }

#shopify-section-template--faq_section summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

    #shopify-section-template--faq_section summary::-webkit-details-marker {
        display: none;
    }

#shopify-section-template--faq_section .accordion__content {
    margin-top: 10px;
    color: var(--design-faq-content-color, #555);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-right: 10px;
}

#shopify-section-template--faq_section .icon-caret {
    width: 14px;
    height: 10px;
    transition: transform 0.3s ease;
}

#shopify-section-template--faq_section details[open] .icon-caret {
    transform: rotate(180deg);
}

@media (max-width: 676px) {
    #shopify-section-template--faq_section h3.accordion__title.inline-richtext.h4 {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    #shopify-section-template--faq_section .collapsible-content__heading {
        margin-bottom: 1rem !important;
    }
}

/* #endregion */

@media (max-width: 1591px) {
    .gap-8 {
        gap: 4rem !important;
    }
}

@media (max-width: 591px) {
    .text-start {
/*        padding: 0px !important;*/
    }

    .product-title {
        font-size: 10px !important;
        max-width: 100px !important;
    }

    .fs-5 {
        font-size: 1rem !important;
    }
}

@media (max-width: 767px) {
    .price {
        margin-top: 0px !important;
    }
}

.radious10 {
    border-radius: 10px !important;
}

/* DesignTypeMain.css */
.accordion-button:not(.collapsed) {
    color: var(--design-accordion-color, #333) !important;
    background-color: transparent !important;
}

.custom-checkbox input:checked + label:before {
    background: var(--design-checkbox-checked-bg, #982464) !important;
    border-color: var(--design-checkbox-checked-border, #982464) !important;
}

.custom-checkbox input:checked + label:after {
    content: '\2713';
    position: absolute;
    left: 3px;
    top: 2px;
    color: var(--design-checkbox-check-color, #fff);
    font-size: 12px;
}

@media (max-width: 1300px) {
    .modern-sidebar {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 25px;
        height: fit-content;
        transition: all 0.3s ease;
    }
}
@media (max-width:990px) {
    .filter-overlay,
    .sort-overlay {
        position: fixed;
        inset: 0;
        background: var(--tag-overlay-bg, rgba(0,0,0,0.4));
        z-index: 1055;
        display: none;
    }

        .filter-overlay.active,
        .sort-overlay.active {
            display: block;
        }

    @media (max-width: 491px) {
        body {
            /*        padding-top: 120px;*/
        }

        .sort-item {
            font-size: 12px !important;
        }

        .filter-overlay,
        .sort-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.4);
            z-index: 1055;
            display: none;
        }

        .gap-8 {
            gap: 13rem !important;
        }

        .filter-overlay.active,
        .sort-overlay.active {
            display: block;
        }

        .filter-overlay-content,
        .sort-overlay-content {
            position: absolute;
            bottom: 0;
            width: 100%;
            background: #fff;
            border-radius: 16px 16px 0 0;
            max-height: 85vh;
            overflow-y: auto;
            animation: slideUp 0.3s ease-out;
        }

        .filter-header h3,
        .sort-header h3 {
            font-size: 16px;
            font-weight: 600;
        }

        @keyframes slideUp {
            from {
                transform: translateY(100%);
            }

            to {
                transform: translateY(0);
            }
        }

        .EzfyHeaderSearch .search-input-container {
            top: -20px;
        }

        .EzfyHeaderSearch {
            padding-bottom: 0px;
        }

        .hero-area {
            padding-top: 5%;
        }
    }

    .mobile-category-section {
        display: none !important;
    }
