﻿/* ============================================================
   Tachli Shop Styles
   Consolidated styles for shop section only:
   - Filter sidebar
   - Product cards
   - Hover effects
   Load this file after custom-site.css
   ============================================================ */

:root {
    --shop-honey: #F2A93B;
    --shop-honey-dark: #C98218;
    --shop-choco: #4E3B2B;
    --shop-choco-dark: #33241A;
    --shop-cream: #FBF6EC;
    --shop-beige: #EADFC9;
    --shop-olive: #6E8B4D;
    --shop-text: #5F5245;
}

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */

.shop-filter-wrap {
    background: #fff;
    border: 1px solid var(--shop-beige);
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(78, 59, 43, 0.08) !important;
    padding: 28px 24px;
}

@media (min-width: 992px) {
    .shop-filter-wrap {
        position: sticky;
        top: 20px;
    }
}

/* Filter titles */
.shop-filter-wrap .shop-filter-item h2 {
    color: var(--shop-choco);
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 14px;
}

    .shop-filter-wrap .shop-filter-item h2:after {
        background: #6E8B4D;
        width: 34px;
        height: 3px;
    }

/* ============================================================
   SEARCH INPUT + BUTTON — EXACT STRUCTURE FROM YOUR HTML

   <div class="shop-filter-search">
       <div>
           <input type="text" id="searchInput" class="form-control" placeholder="جستجو در محصولات...">
           <button type="button" onclick="applySearchFilter()">
               <i class="ti-search"></i>
           </button>
       </div>
   </div>

   ✓ Button INSIDE .shop-filter-search box
   ✓ Button positioned on the LEFT side of the input (as you wanted)
   ✓ Full solid color + hover (choco → honey) forced
   ============================================================ */

/* Container */
.shop-filter-search {
    position: relative !important;
}

    /* Inner wrapper (the <div> inside) */
    .shop-filter-search > div {
        position: relative !important;
        display: block !important;
        width: 100% !important;
    }

    /* INPUT - space on LEFT for button (user wants search button on the left side) */
    .shop-filter-search input,
    .shop-filter-search input.form-control {
        width: 100% !important;
        height: 50px !important;
        background: var(--shop-cream) !important;
        border: 1px solid var(--shop-beige) !important;
        border-radius: 10px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
        color: var(--shop-text) !important;
        /* LEFT padding = room for button on left side */
        padding-left: 52px !important;
        padding-right: 16px !important;
    }

        .shop-filter-search input:focus,
        .shop-filter-search input.form-control:focus {
            border-color: var(--shop-honey) !important;
            background: #fff !important;
            box-shadow: 0 0 0 3px rgba(242, 169, 59, 0.15) !important;
            outline: none !important;
        }

        /* ========== THE SEARCH BUTTON (EXACT) ==========
   Must be INSIDE .shop-filter-search > div
   Positioned on the LEFT side of the input (as you requested)
   Solid color + visible hover (choco → honey)
   Ultra high specificity
*/
        .shop-filter-search > div > button,
        .shop-filter-search > div button,
        .shop-filter-search button[type="button"],
        .shop-filter-search button,
        .shop-filter-search input + button {
            position: absolute !important;
            /* LEFT side inside the box (correct for your RTL preference) */
            left: 6px !important;
            right: auto !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            -webkit-transform: translateY(-50%) !important;
            width: 38px !important;
            height: 38px !important;
            border-radius: 10px !important;
            /* FORCE solid color - no transparency */
            background: #4E3B2B !important;
            background-color: #4E3B2B !important;
            color: #ffffff !important;
            border: none !important;
            border-width: 0 !important;
            outline: none !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            z-index: 9999 !important;
            font-size: 16px !important;
            padding: 0 !important;
            margin: 0 !important;
            cursor: pointer !important;
            line-height: 1 !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
            transition: background-color 0.2s ease, transform 0.1s ease !important;
            text-decoration: none !important;
            float: none !important;
            vertical-align: middle !important;
        }

            /* HOVER - strong and visible */
            .shop-filter-search > div > button:hover,
            .shop-filter-search > div button:hover,
            .shop-filter-search button[type="button"]:hover,
            .shop-filter-search button:hover,
            .shop-filter-search input + button:hover {
                background: #F2A93B !important;
                background-color: #F2A93B !important;
                color: #ffffff !important;
                transform: translateY(-50%) scale(1.06) !important;
                -webkit-transform: translateY(-50%) scale(1.06) !important;
                box-shadow: 0 4px 12px rgba(242, 169, 59, 0.45) !important;
            }

            /* Icon inside the button */
            .shop-filter-search > div > button i,
            .shop-filter-search button i.ti-search,
            .shop-filter-search button i {
                font-size: 16px !important;
                color: #ffffff !important;
                line-height: 1 !important;
            }

/* Mobile */
@media (max-width: 991px) {
    .shop-filter-search input,
    .shop-filter-search input.form-control {
        height: 46px !important;
        padding-left: 46px !important;
    }

    .shop-filter-search > div > button,
    .shop-filter-search button[type="button"],
    .shop-filter-search button {
        width: 34px !important;
        height: 34px !important;
        left: 5px !important;
        font-size: 15px !important;
    }
}

/* Category tree */
.shop-filter-wrap .shop-filter-item ul li {
    position: relative;
}

.shop-filter-wrap .shop-filter-item ul ul {
    border-right: 2px solid var(--shop-beige);
    margin-right: 6px;
    padding-right: 10px;
}

/* ============================================================
   SIDEBAR: Radio buttons + Category count badges
   Exact positioning rules merged from the provided snippet:
   "Tachli - فیکس موقعیت رادیو باتن‌ها در سایدبار"
   - Makes radio buttons sit correctly on the left (absolute positioning)
   - Fixes vertical alignment problems caused by flex
   - Brings count badges close to the category names (small gap)
   - High specificity to override template conflicts
   - Load this block last among shop styles
   ============================================================ */

/* ====================== RADIO BUTTON POSITIONING ====================== */

/* Label: set relative + flex so absolute radio can be placed correctly inside */
.shop-filter-wrap .topcoat-radio-button__label,
.shop-filter-wrap .shop-filter-item label {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    /* Space on the left for the radio button */
    padding-left: 28px !important;
    padding-right: 4px !important;
}

/* Radio button visual (span) — positioned exactly like the original template */
.shop-filter-wrap .topcoat-radio-button {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-block !important;
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin: 0 !important;
    vertical-align: top !important;
    z-index: 5 !important;
}

/* Hide the real radio input */
.shop-filter-wrap input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* ====================== CATEGORY COUNT BADGES ====================== */
/* Bring the badge close to the category name (not pushed far away).
   Small margin after the text (instead of auto) keeps it right next to the name.
*/
.shop-filter-wrap .topcoat-radio-button__label .badge,
.shop-filter-wrap .shop-filter-item .badge {
    margin-left: 8px !important;
    flex-shrink: 0 !important;
}

/* ====================== ANTI-CONFLICT ====================== */
.shop-filter-wrap .shop-filter-item ul li {
    position: relative;
}

/* Mobile */
@media (max-width: 991px) {
    .shop-filter-wrap .topcoat-radio-button__label {
        padding-left: 26px !important;
    }
}

/* Price slider */
.noUi-connect {
    background: var(--shop-honey) !important;
}

.noUi-handle {
    border-color: var(--shop-honey-dark) !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    right: -10px !important;
}

    .noUi-handle:before,
    .noUi-handle:after {
        display: none !important;
    }

.price-display strong {
    color: var(--shop-honey-dark);
}

/* Apply price filter button */
.shop-filter-wrap .btn-primary {
    background: var(--shop-choco) !important;
    border-color: var(--shop-choco) !important;
    border-radius: 10px !important;
    font-weight: 600;
}

    .shop-filter-wrap .btn-primary:hover {
        background: var(--shop-honey) !important;
        border-color: var(--shop-honey) !important;
    }

    .shop-filter-wrap .btn-primary:focus {
        box-shadow: none;
    }
/* Clear filters button */
.shop-filter-wrap .btn-clear-filters {
    background: transparent !important;
    border: 1px dashed var(--shop-beige) !important;
    color: #8A7B6A !important;
    border-radius: 10px !important;
    font-size: 13px;
}

    .shop-filter-wrap .btn-clear-filters:hover {
        border-color: var(--shop-honey) !important;
        color: var(--shop-honey-dark) !important;
        background: #FBF3E3 !important;
    }

    .shop-filter-wrap .btn-clear-filters:focus {
        box-shadow: none;
    }

/* ============================================================
   TOP BAR (results count + sorting)
   ============================================================ */
.shop-section-top-inner {
    align-items: center;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--shop-beige);
    border-radius: 12px;
    margin-bottom: 26px;
}

    .shop-section-top-inner .shoping-product span {
        background: var(--shop-cream);
        color: var(--shop-choco);
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
    }

    /* Sorting dropdown */
    .shop-section-top-inner .short-by select {
        background: var(--shop-cream) !important;
        border: 1px solid var(--shop-beige) !important;
        border-radius: 8px !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
        color: var(--shop-choco) !important;
        cursor: pointer;
    }

        .shop-section-top-inner .short-by select:focus {
            outline: none;
            border-color: var(--shop-honey) !important;
        }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */

.shop-section .product-wrap .product-item {
    box-shadow: 0 4px 16px rgba(78, 59, 43, 0.07) !important;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid #F1E8DA;
}

    .shop-section .product-wrap .product-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(78, 59, 43, 0.12) !important;
    }

    /* Product image */
    .shop-section .product-wrap .product-item .product-img {
        padding: 30px !important;
        background: #FDFBF7 !important;
    }

        .shop-section .product-wrap .product-item .product-img img {
            transition: transform .3s ease;
        }

    .shop-section .product-wrap .product-item:hover .product-img img {
        transform: scale(1.05);
    }

/* Discount / new badge - placement-independent ribbon.
   The view renders .offer-thumb as a SIBLING of .product-img, so the
   template's ".product-img .offer-thumb" selectors never matched and the
   badge fell into the flow as an unstyled block. Anchoring to .product-item
   makes the ribbon work from either placement. */
.product-wrap .product-item {
    position: relative;
}

    .product-wrap .product-item .offer-thumb {
        position: absolute !important;
        top: 15px !important;
        right: 0 !important;
        width: 64px;
        height: 26px;
        line-height: 26px;
        text-align: center;
        font-size: 12px;
        font-weight: 700;
        color: #fff !important;
        background: linear-gradient(to left, #C0392B, #A93226); /* ruby = discount */
        border-top-left-radius: 20px !important;
        border-bottom-left-radius: 20px !important;
        z-index: 4;
        transition: all 0.4s ease;
    }

        /* template's rust under-layer is dead weight now */
        .product-wrap .product-item .offer-thumb::before {
            display: none !important;
        }

    .product-wrap .product-item:hover .offer-thumb {
        background: #FFFDF9;
        color: #C0392B !important;
    }

    /* "new" variant - olive ribbon */
    .product-wrap .product-item .offer-thumb.offer-new {
        background: linear-gradient(to left, #6E8B4D, #57703C);
    }

    .product-wrap .product-item:hover .offer-thumb.offer-new {
        color: #6E8B4D !important;
    }

/* Product content */
.shop-section .product-wrap .product-item .product-content {
    background: var(--shop-cream) !important;
    padding: 16px 18px 18px !important;
    border-top: 3px solid var(--shop-beige);
}

    .shop-section .product-wrap .product-item .product-content h3 a {
        color: var(--shop-choco) !important;
        font-size: 15px;
        font-weight: 700;
    }

        .shop-section .product-wrap .product-item .product-content h3 a:hover {
            color: var(--shop-honey-dark) !important;
        }

/* Short description */
.product-short-desc {
    color: #8A7B6A !important;
    font-size: 12px !important;
    margin-bottom: 10px !important;
}

/* Price */
.shop-section .product-wrap .product-item .product-price ul li:first-child {
    color: var(--shop-choco) !important;
    font-weight: 800;
    font-size: 15px;
}

/* Rating (placeholder) */
.product-ratting ul li span i {
    color: #E5D9C5 !important;
}

.product-ratting ul li i {
    color: #F2A93B !important;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination-wrapper .pg-pagination li a {
    border-color: var(--shop-beige) !important;
    color: var(--shop-text) !important;
    border-radius: 8px !important;
}

    .pagination-wrapper .pg-pagination .active a,
    .pagination-wrapper .pg-pagination li a:hover {
        background: var(--shop-honey) !important;
        border-color: var(--shop-honey) !important;
        color: #fff !important;
    }

/* Empty state */
.shop-section .alert-warning {
    background: var(--shop-cream);
    border: 1px dashed var(--shop-beige);
    color: var(--shop-choco);
    border-radius: 12px;
    text-align: center;
    padding: 40px;
}

/* Mobile */
@media (max-width: 991px) {
    .shop-section .col-lg-4 .shop-filter-wrap {
        margin-bottom: 30px;
        position: static;
    }
}

/* ============================================================
   PRODUCT HOVER OVERLAY + ICONS
   Exact template behavior (as you pasted)
   ============================================================ */

/* Curtain (exactly the gradient you want) */
.shop-section .product-wrap .product-item .product-img::before,
.product-item .product-img::before,
.product-wrap .product-item .product-img::before {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    content: "" !important;
    transform: translateY(-110%) !important;
    -webkit-transform: translateY(-110%) !important;
    background: linear-gradient(to bottom, rgba(45, 34, 25, 0.78), rgba(78, 59, 43, 0.68)) !important;
    transition: all 0.5s ease !important;
    z-index: 1 !important;
}

.shop-section .product-wrap .product-item:hover .product-img::before,
.product-item:hover .product-img::before,
.product-wrap .product-item:hover .product-img::before {
    transform: translateY(0%) !important;
    -webkit-transform: translateY(0%) !important;
}

/* Product image container */
.shop-section .product-wrap .product-item .product-img,
.product-item .product-img,
.product-wrap .product-item .product-img {
    position: relative !important;
    overflow: hidden !important;
}

    /* ICON LIST (ul) — exact template positioning + fully active on hover */
    .shop-section .product-wrap .product-item .product-img ul,
    .product-item .product-img ul,
    .product-wrap .product-item .product-img ul {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: 0% !important;
        right: 50% !important;
        transform: translate(50%, -50%) !important;
        -webkit-transform: translate(50%, -50%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all .5s ease !important;
        z-index: 15 !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        border: none !important;
        pointer-events: none !important; /* prevent blocking when hidden */
    }

/* Show icons on hover (template behavior) */
.shop-section .product-wrap .product-item:hover .product-img ul,
.product-item:hover .product-img ul,
.product-wrap .product-item:hover .product-img ul {
    opacity: 1 !important;
    visibility: visible !important;
    top: 50% !important;
    pointer-events: auto !important;
}

/* Individual icon items */
.shop-section .product-wrap .product-item .product-img ul li,
.product-item .product-img ul li,
.product-wrap .product-item .product-img ul li {
    margin: 0 4px !important;
}

    /* Icon links/buttons — clean (no white oval in normal state)
   Note: align-items: center removed per user feedback (icons now properly vertically centered in circle using line-height) */
    .shop-section .product-wrap .product-item .product-img ul li a,
    .shop-section .product-wrap .product-item .product-img ul li button,
    .product-item .product-img ul li a,
    .product-item .product-img ul li button,
    .product-wrap .product-item .product-img ul li a,
    .product-wrap .product-item .product-img ul li button {
        display: flex !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
        border: 1px solid #fff !important;
        border-radius: 50% !important;
        color: #fff !important;
        background: transparent !important; /* NO white background in normal state */
        text-align: center !important;
        transition: all .2s ease !important;
        text-decoration: none !important;
        font-size: 16px !important;
        cursor: pointer !important;
    }

        /* Icon hover state (white bg + honey color text) — fully active
   Using --shop-honey for hover (your change) — looks more elegant and brand-consistent
   than dark choco on white. */
        .shop-section .product-wrap .product-item .product-img ul li a:hover,
        .shop-section .product-wrap .product-item .product-img ul li button:hover,
        .product-item .product-img ul li a:hover,
        .product-item .product-img ul li button:hover,
        .product-wrap .product-item .product-img ul li a:hover,
        .product-wrap .product-item .product-img ul li button:hover {
            background: #fff !important;
            color: var(--shop-honey-dark) !important;
            border-color: #fff !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        }

/* ============================================================
   PRODUCT DETAILS / SINGLE PRODUCT PAGE
   Full styling to match shop aesthetic + Tachli brand palette
   ============================================================ */

.product-single-section {
    padding: 60px 0;
    background: var(--shop-cream);
}

.product-details {
    background: #fff;
    border: 1px solid var(--shop-beige);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(78, 59, 43, 0.08);
}

/* Gallery */
.product-single-img {
    position: relative;
}

    .product-active .item img,
    .product-single-img .owl-item img,
    .product-single-img .owl-item .item img {
        width: 100%;
        border-radius: 14px;
        border: 1px solid var(--shop-beige);
        box-shadow: 0 4px 20px rgba(78, 59, 43, 0.1);
        transition: transform 0.3s ease;
    }

        /* hover zoom - covers BOTH markup paths (bare img under .owl-item
           and img wrapped in .item) so owl's wrapper can never kill it */
        .product-active .item img:hover,
        .product-single-img .owl-item img:hover,
        .product-single-img .owl-item .item img:hover {
            transform: scale(1.02);
        }

/* Thumbnails */
.product-thumbnil-active {
    margin-top: 16px;
}

    .product-thumbnil-active .item img,
    .product-thumbnil-active .owl-item img {
        width: 100%;
        height: 78px;
        object-fit: cover;
        border-radius: 10px;
        border: 2px solid var(--shop-beige);
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .product-thumbnil-active .item img:hover,
        .product-thumbnil-active .owl-item.active img {
            border-color: var(--shop-honey);
            box-shadow: 0 0 0 3px rgba(242, 169, 59, 0.15);
        }

/* Product Info */
.product-single-content h5 {
    color: var(--shop-choco);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Price - brand honey */
.product-single-content h6 {
    color: var(--shop-honey);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 18px;
}

/* Rating stars - clearly different from price (distinct gold) */
.product-single-content .rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    padding: 0;
    list-style: none;
}

    .product-single-content .rating li i {
        color: #E8B84A; /* brighter gold, distinct from price color */
        font-size: 16px;
    }

.product-short-desc {
    color: var(--shop-text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Specifications */
.specification-section {
    background: var(--shop-cream);
    border: 1px solid var(--shop-beige);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

    .specification-section .color-name span {
        display: block;
        color: var(--shop-choco);
        font-weight: 700;
        font-size: 15px;
        margin-bottom: 10px;
    }

.specification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

    .specification-list li {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        color: var(--shop-text);
        padding: 4px 0;
        border-bottom: 1px dashed var(--shop-beige);
    }

        .specification-list li:last-child {
            border-bottom: none;
        }

    .specification-list strong {
        color: var(--shop-choco);
        font-weight: 600;
    }

/* Quantity + Add to Cart — keep exactly like the original template (no size or structure change) */
.pro-single-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

/* Quantity box — EXACT template selector you provided (preserve original size & structure) */
.product-details .product-single-content .pro-single-btn .quantity {
    margin-left: -5px;
    /* top: -2px; */ /* commented in original template — improves vertical position */
    background: var(--shop-cream);
    border: 1px solid var(--shop-beige);
    border-radius: 0;
    overflow: hidden;
}

    /* Increase space between +/- buttons and the center number (more breathing room — only padding changed) */
    .product-details .product-single-content .pro-single-btn .quantity input {
        width: 160px;
        text-align: center;
        border: none;
        background: transparent;
        font-weight: 600;
        color: var(--shop-choco);
        font-size: 15px;
        padding: 10px 28px; /* extra horizontal padding for more distance from +/- buttons */
        line-height: 1;
    }

/* Add to Cart Button - override template red gradient with Tachli palette */
.pro-single-btn .theme-btn,
.theme-btn {
    background: linear-gradient(to left, var(--shop-honey), var(--shop-honey-dark)) !important;
    background-size: 200% 100% !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    border-radius: 10px !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
}

    .pro-single-btn .theme-btn:hover,
    .theme-btn:hover {
        background: linear-gradient(to left, var(--shop-honey-dark), var(--shop-honey)) !important;
        transform: translateY(-1px);
    }

/* Social Share - circular icons inside circle, centered, colors and hover */
.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

    .social-share span {
        color: var(--shop-text);
        font-size: 14px;
        font-weight: 500;
    }

    .social-share .socialLinks {
        display: flex;
        gap: 10px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .social-share .socialLinks a {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 28px !important;
            height: 28px !important;
           /* border: 1px solid var(--shop-beige) !important;*/
            border-radius: 50% !important;
            color: var(--shop-honey-dark) !important;
            font-size: 15px !important;
            transition: all 0.2s ease !important;
            text-decoration: none !important;
        }

            .social-share .socialLinks a:hover {
                background: var(--shop-honey) !important;
                /*color: #fff !important;
                border-color: var(--shop-honey) !important;*/
            }

            .social-share .socialLinks a i {
                background: rgb(184 56 6) !important;
            }
                .social-share .socialLinks a i:hover {
                    background: var(--shop-honey) !important;
                    
                }

                /* Tabs */
                .product-tab-area {
                    background: #fff;
                    border: 1px solid var(--shop-beige);
                    border-radius: 16px;
                    padding: 24px 28px;
                }

    .product-tab-area .nav {
        border-bottom: 2px solid var(--shop-beige);
        margin-bottom: 24px;
    }

    .product-tab-area .nav-link {
        color: var(--shop-text);
        font-weight: 600;
        padding: 12px 24px;
        border: none;
        border-bottom: 3px solid transparent;
        transition: all 0.2s ease;
        border-radius: 0;
    }

        .product-tab-area .nav-link.active,
        .product-tab-area .nav-link:hover {
            color: var(--shop-honey-dark);
            border-bottom-color: var(--shop-honey);
            background: transparent;
        }

/* Tab content */
.Descriptions-item {
    color: var(--shop-text);
    line-height: 1.85;
    font-size: 15px;
}

    .Descriptions-item p,
    .Descriptions-item ul,
    .Descriptions-item ol {
        margin-bottom: 16px;
    }

/* Information table */
.product-tab-area .table {
    border: 1px solid var(--shop-beige);
    border-radius: 8px;
    overflow: hidden;
}

    .product-tab-area .table th {
        background: var(--shop-cream);
        color: var(--shop-choco);
        font-weight: 700;
        border-color: var(--shop-beige);
    }

    .product-tab-area .table td {
        color: var(--shop-text);
        border-color: var(--shop-beige);
    }

/* Ratings placeholder */
.rating-section {
    text-align: center;
    padding: 40px 20px;
    color: var(--shop-text);
    font-size: 15px;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .product-details {
        padding: 24px;
    }

    .product-single-content h5 {
        font-size: 24px;
    }

    .product-single-content h6 {
        font-size: 22px;
    }

    .pro-single-btn {
        flex-direction: column;
        align-items: stretch;
    }

        .pro-single-btn .theme-btn {
            text-align: center;
        }
}


/* ============================================================
   PRODUCT GRID - warm Tachli soul
   Template defaults were soulless: dusty #f4eae1 content bg, rust
   #b83806 prices/hovers, gray shadow, rust->yellow hover overlay.
   ============================================================ */

/* Page canvas */
.shop-section {
    background: linear-gradient(180deg, #FBF6EC 0%, #F5F0E6 100%);
}

    /* Card body */
    .shop-section .product-wrap .product-item {
        background: #FFFDF9;
        border: 1px solid #EADFC9;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(78, 59, 43, 0.08) !important;
        transition: all 0.3s ease;
    }

        .shop-section .product-wrap .product-item:hover {
            transform: translateY(-4px);
            border-color: #F2A93B;
            box-shadow: 0 12px 30px rgba(242, 169, 59, 0.22) !important;
        }

/* Photo stage: warm cream instead of flat white */
.product-wrap .product-item .product-img {
    background: linear-gradient(160deg, #FBF6EC 0%, #F3EAD8 100%);
}

    /* Hover overlay: honey wash instead of rust->yellow */
    .product-wrap .product-item .product-img::before {
        background: linear-gradient(0deg, rgba(168, 126, 42, 0.88) 0%, rgba(217, 164, 65, 0.88) 100%) !important;
    }

    /* Action chips on the overlay */
    .product-wrap .product-item .product-img ul li a {
        color: #FFFFFF !important;
        border: 1px solid rgba(255, 255, 255, 0.85) !important;
        background: transparent !important;
    }

        .product-wrap .product-item .product-img ul li a:hover {
            background: #FFFDF9 !important;
            color: #C98218 !important;
        }


/* Content area */
.product-wrap .product-item .product-content {
    background: #FFFDF9 !important;
    border-top: 1px solid #EFE7D5;
}

    .product-wrap .product-item .product-content h3 a {
        color: #4E3B2B !important;
        font-weight: 700;
    }

        .product-wrap .product-item .product-content h3 a:hover {
            color: #C98218 !important;
        }

.product-short-desc {
    color: #7A6A55;
    font-size: 13px;
}

/* Price + stars */
.product-wrap .product-item .product-content .product-btm .product-price ul li {
    color: #A8957F !important;
}

    .product-wrap .product-item .product-content .product-btm .product-price ul li:first-child {
        color: #C98218 !important;
        font-weight: 800;
    }

.product-wrap .product-item .product-btm .product-ratting ul li .fa-star {
    color: #F2A93B;
}

.product-wrap .product-item .product-btm .product-ratting ul li span .fa-star {
    color: #DCCEB3;
}

/* Results count chip */
.shoping-product span {
    background: #FFFDF9;
    border: 1px solid #EADFC9;
    color: #5F5245;
    padding: 6px 14px;
    border-radius: 50rem;
    font-size: 13px;
}

/* Lively product photo: gentle zoom on hover */
.product-wrap .product-item .product-img img {
    transition: transform 0.5s ease;
}

.product-wrap .product-item:hover .product-img img {
    transform: scale(1.06);
}



/* ============================================================
   Product Comments (product details - ratings tab)
   Rendered by ProductCommentsViewComponent
   (partial: Views/Shared/Components/ProductComments/Default.cshtml)
   ============================================================ */
.tachli-comment {
    border: 1px solid var(--shop-beige);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: right;
}

.tachli-comment-reply {
    border-right: 3px solid var(--shop-honey);
    background: var(--shop-cream);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 10px;
}

.tachli-stars {
    color: var(--shop-honey);
    letter-spacing: 2px;
}

    .tachli-stars .muted {
        color: var(--shop-beige);
    }

.tachli-admin-badge {
    background: var(--shop-olive);
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 50rem;
}


/* ============================================================
   Neutral notice (comments partial - "already commented")
   ============================================================ */
.tachli-alert {
    background: var(--shop-cream);
    border: 1px solid var(--shop-honey);
    color: var(--shop-text);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 15px;
    text-align: right;
    margin-bottom: 0;
}


/* ============================================================
   Related products spacing (details page)
   The theme's section-padding (125px 0 120px) assumes the demo
   description table above this section; Tachli has no such table,
   so the TOP gap collapses to zero (bottom stays as the theme set it).
   Scoped by modifier class - NEVER edit .section-padding globally.
   ============================================================ */
.section-padding.related-products-area {
    padding-top: 0 !important;
}



/* ============================================================
   Under-construction pages (About / Contact) - same visual
   language as the Blog page: warm cream section, white rounded
   card, dashed honey icon badge, gradient CTA. Palette vars only.
   ============================================================ */
.tachli-wip-section {
    background-color: var(--shop-cream);
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.tachli-wip-card {
    background: #fff;
    border: 1px solid var(--shop-beige);
}

.tachli-wip-icon-wrap {
    width: 100px;
    height: 100px;
    background: var(--shop-cream);
    border: 2px dashed var(--shop-honey);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tachli-wip-icon {
    font-size: 48px;
    color: var(--shop-honey);
}

.tachli-wip-title {
    color: var(--shop-choco);
    font-weight: 700;
}

.tachli-wip-text {
    max-width: 550px;
    margin-inline: auto;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--shop-text);
}

.tachli-wip-btn-primary {
    background: linear-gradient(to left, var(--shop-honey), var(--shop-honey-dark));
    color: #fff;
    font-weight: 600;
    border: none;
}

.tachli-wip-btn-secondary {
    border: 1px solid var(--shop-beige);
    color: var(--shop-choco);
    font-weight: 600;
}



/* ================================================================
   Home categories - single-row swipe slider (any category count)
   ================================================================ */
.tachli-category-slider {
    position: relative;
}

.tachli-category-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 8px 2px 16px;
}

    .tachli-category-track::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

.tachli-category-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--shop-beige);
    border-radius: 14px;
    padding: 22px 24px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .tachli-category-card:hover {
        transform: translateY(-3px);
        border-color: var(--shop-honey);
        box-shadow: 0 10px 24px rgba(200, 155, 60, 0.18);
    }

.tachli-category-icon {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--shop-cream);
    overflow: hidden;
    border-radius: 50%;
}

    .tachli-category-icon img {
        width: 44px;
        height: 44px;
        object-fit: cover;
        border-radius: 50%;
    }

.tachli-category-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tachli-category-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--shop-choco);
    line-height: 1.5;
}

.tachli-category-hint {
    font-size: 13.5px;
    color: var(--shop-text);
    opacity: 0.75;
}

    .tachli-category-hint i {
        margin-right: 4px;
        font-size: 12px;
        color: var(--shop-honey);
    }

/* Arrows (desktop only - mobile swipes the track natively) */
.tachli-cat-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--shop-beige);
    color: var(--shop-choco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

    .tachli-cat-arrow:hover {
        border-color: var(--shop-honey);
        color: var(--shop-honey);
    }

.tachli-cat-prev {
    right: -14px;
}

.tachli-cat-next {
    left: -14px;
}

@media (max-width: 991px) {
    .tachli-cat-arrow {
        display: none;
    }

    .tachli-category-card {
        flex-basis: 250px;
    }
}

/* ================================================================
   Square catalog images (1:1) - whole-photo thumbnails
   The old fixed 78px + cover cropped square photos top/bottom
   (visible on tablet). A square box shows a square photo intact.
   ================================================================ */
.product-thumbnil-active .item img {
    height: auto;
    aspect-ratio: 1 / 1;
}

/* ---- Product description (rich-text editor output) ---- */
.Descriptions-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.4rem 0 0.6rem;
}

.Descriptions-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.2rem 0 0.5rem;
}

.Descriptions-item p {
    line-height: 2;
    margin-bottom: 0.9rem;
}

.Descriptions-item ul, .Descriptions-item ol {
    padding-right: 1.4rem;
    margin-bottom: 0.9rem;
}

.Descriptions-item li {
    line-height: 1.9;
    margin-bottom: 0.3rem;
}

.Descriptions-item blockquote {
    border-right: 3px solid var(--shop-honey-dark);
    padding: 0.4rem 1rem 0.4rem 0;
    margin: 1rem 0;
    background: var(--shop-cream);
    border-radius: 8px;
}

.Descriptions-item hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}

.Descriptions-item a {
    color: var(--shop-honey-dark);
}

/* ======================================================================================
    Product grid: single-price state (discount unit not built yet)
    The template's default behavior is to strike through the only price li
    when the discount unit is not present. This is a bug, because the real
    price should never be struck through. These rules fix that.
======================================================================================== */
.shop-section .product-wrap .product-item .product-price ul li:only-child {
    text-decoration: none !important;
    color: var(--shop-choco) !important;
    font-weight: 800;
}

/* ======================================================================================
   Hero slider: banner rendering + tablet/mobile caption (Tachli) 
   The site template hides <img.slider-bg> (it expects CSS backgrounds)
   and keeps a 65-95px headline at every breakpoint; on small screens the caption
   went full-width over the product. These rules make the banners render as
   true cover backgrounds and rein the caption in. Desktop is untouched.
======================================================================================== */
.hero .slide .slider-bg {
    display: block !important;
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    z-index: 0;
}

.hero .slide .container {
    position: relative;
    z-index: 1;
}

/* Tablet (<=991px): sane headline size, caption stays compact */
@media (max-width: 991px) {
    .hero-style-2 .slide-caption .slide-title h2 {
        font-size: 40px !important;
        line-height: 1.35 !important;
        margin-bottom: 18px !important;
        color: #fff !important;
    }

    .hero .slide-caption .btn.theme-btn {
        padding: 10px 26px !important;
        font-size: 15px !important;
    }
}

/* Mobile (<=767px): caption anchored to the bottom over a soft scrim so the
   product stays visible; crop shifts toward the jar (left of the banner) */
@media (max-width: 767px) {
    .hero .slide .slider-bg {
        object-position: 30% center !important;
    }

    .hero .slide .container {
        display: block !important;
    }

    .hero .slide .row {
        display: block !important;
        vertical-align: unset !important;
    }

    .hero .slide-caption {
        position: absolute !important;
        top: auto !important;
        right: 10px !important;
        left: 10px !important;
        bottom: 34px !important;
        padding: 14px 12px 10px !important;
        text-align: center !important;
        background: linear-gradient(to top, rgba(38, 24, 8, 0.55), rgba(38, 24, 8, 0)) !important;
        border-radius: 12px !important;
    }

    .hero-style-2 .slide-caption .slide-title h2 {
        font-size: 26px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        color: #fff !important;
    }

    .hero .slide-caption .slide-title h2 span {
        color: #fff !important;
    }

    .hero .slide-caption .btn.theme-btn {
        padding: 8px 20px !important;
        font-size: 13px !important;
    }

    .hero .slick-dots {
        bottom: 8px !important;
    }
}

/* Small phones (<=575px) */
@media (max-width: 575px) {
    .hero-style-2 .slide-caption .slide-title h2 {
        font-size: 21px !important;
        line-height: 1.45 !important;
        margin-bottom: 8px !important;
    }

    .hero .slide-caption .btn.theme-btn {
        padding: 7px 16px !important;
        font-size: 12px !important;
    }
}

/* ======================================================================================
   Hero slider dots (mobile/foldables): fix raw "1 2 3 4" text 
   Slick writes the slide numbers as raw button text and expects its theme
   CSS to hide it and draw bullets - that theme CSS is missing from the
   template bundle (the stock template has the same bug). We hide the text,
   remove any :before glyph and draw our own brand-colored dots. Dots stay
   hidden on >=768px where the arrows work, exactly like the template. 
   ======================================================================================== */
@media (max-width: 767px) {
    .hero .slick-dots {
        display: flex !important;
        justify-content: center;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        z-index: 2;
    }

        .hero .slick-dots li {
            margin: 0 4px !important;
            padding: 0 !important;
            width: auto !important;
            height: auto !important;
        }

            .hero .slick-dots li button {
                font-size: 0 !important; /* hides the raw 1 2 3 4 text */
                line-height: 0 !important;
                color: transparent !important;
                width: 9px !important;
                height: 9px !important;
                padding: 0 !important;
                border: 0 !important;
                border-radius: 50% !important;
                background: rgba(255, 255, 255, 0.5) !important;
                transition: all .25s ease;
            }

                .hero .slick-dots li button::before {
                    content: none !important; /* remove template glyph */
                }

            .hero .slick-dots li.slick-active button {
                width: 22px !important;
                border-radius: 6px !important;
                background: var(--shop-honey) !important;
            }
}

/* ===========================================================
    Category icon disc: accept ANY panel-uploaded image
=============================================================*/
.tachli-category-icon {
    overflow: hidden;
}

    .tachli-category-icon img {
        width: 44px !important;
        height: 44px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }


/* ---- Category cards: brand refresh (matches header option A) ---- */
/*.tachli-category-card {*/
   /* background: linear-gradient(180deg, #FBF6EC 0%, #F5F0E6 100%) !important;*/
   /* border: 1px solid #EADFC9 !important;*/
    /*box-shadow: 0 3px 12px rgba(78, 59, 43, 0.07);
}

.tachli-category-icon {
    background: #FFFDF9 !important;
    border: 1px solid #EFE7D5;
}

.tachli-cat-arrow {
    background: #FBF6EC !important;
}*/