/*
 * Shop page refinements
 * Uses the homepage palette and overrides only shop-page conflicts that the base theme
 * does not already handle.
 */

:root {
    --shop-ivory: #fbf7f0;
    --shop-pearl: #fffdf9;
    --shop-champagne: #f5ead7;
    --shop-gold: #c59a4a;
    --shop-gold-deep: #9d7130;
    --shop-wine: #5b1f2d;
    --shop-emerald: #123f35;
    --shop-ink: #211b18;
    --shop-muted: #7d7066;
    --shop-line: #eadfce;
    --shop-shadow: 0 18px 45px rgba(33, 27, 24, 0.12);
    --shop-strong-shadow: 0 28px 70px rgba(33, 27, 24, 0.18);
}

body.template-color-2 {
    background: linear-gradient(180deg, #fffdf9 0%, #fbf7f0 44%, #fffdf9 100%);
    color: var(--shop-ink);
}

.shop-hero.breadcrumb-area {
    min-height: 430px !important;
    background: var(--shop-emerald) !important;
    overflow: hidden;
}

.shop-hero__bg {
    background-image: url("../images/breadcrumb/shop-hero.jpg");
    background-image: image-set(
        url("../images/breadcrumb/shop-hero.webp") type("image/webp"),
        url("../images/breadcrumb/shop-hero.jpg")  type("image/jpeg")
    );
    transform-origin: center;
}

.shop-hero__overlay {
    background:
        linear-gradient(90deg, rgba(18, 63, 53, 0.9) 0%, rgba(18, 63, 53, 0.58) 48%, rgba(18, 63, 53, 0.16) 100%),
        linear-gradient(0deg, rgba(91, 31, 45, 0.24), rgba(91, 31, 45, 0));
}

.shop-hero__inner {
    max-width: 720px;
    padding-top: 92px;
    padding-bottom: 82px;
    text-align: left;
    align-items: flex-start;
}

.shop-hero__accent {
    background: linear-gradient(90deg, var(--shop-gold), rgba(245, 234, 215, 0));
}

.shop-hero__tag {
    color: #f4d890;
    letter-spacing: 0.18em;
}

.shop-hero__title {
    color: #ffffff;
    font-size: clamp(38px, 5vw, 72px);
    letter-spacing: 0;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
}

.shop-hero__crumbs ol {
    justify-content: flex-start;
}

.shop-hero__crumbs li a:hover {
    color: #f4d890 !important;
}

.hiraola-content_wrapper {
    padding-top: 78px;
    padding-bottom: 86px;
    background: linear-gradient(180deg, #fffdf9 0%, #fbf7f0 48%, #fffdf9 100%);
}

.shop-filter-form.is-loading {
    opacity: 0.68;
    pointer-events: none;
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories {
    border: 1px solid rgba(234, 223, 206, 0.92);
    background: rgba(255, 253, 249, 0.95);
    box-shadow: 0 12px 30px rgba(33, 27, 24, 0.07);
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories + .hiraola-sidebar_categories {
    margin-top: 22px;
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories .hiraola-categories_title {
    border-bottom-color: var(--shop-line);
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories .hiraola-categories_title::before {
    background: var(--shop-gold);
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories .hiraola-categories_title h5 {
    color: var(--shop-ink);
    letter-spacing: 0.08em;
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget {
    padding: 25px;
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget .module-body {
    padding: 0;
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget .module-list_item,
.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget .module-sub-list_item {
    margin: 0;
    padding: 0;
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget .module-list_item > li {
    padding-bottom: 15px;
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget .module-list_item > li:first-child {
    padding-top: 20px;
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget .module-list_item > li:last-child,
.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.filter-widget .sidebar-checkbox_list > li:last-child {
    padding-bottom: 0;
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget .module-list_item label,
.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget .module-sub-list_item label,
.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.filter-widget .sidebar-checkbox_list label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--shop-muted);
    font-weight: 500;
    line-height: 1.45;
    cursor: pointer;
    transition: color 0.2s ease;
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget .module-list_item label:hover,
.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget .module-sub-list_item label:hover,
.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.filter-widget .sidebar-checkbox_list label:hover {
    color: var(--shop-wine);
}

.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.category-module.filter-widget input[type="checkbox"],
.hiraola-sidebar-catagories_area .hiraola-sidebar_categories.filter-widget input[type="checkbox"] {
    margin-top: 4px;
    flex: 0 0 auto;
    accent-color: var(--shop-emerald);
}

.premium-search-box {
    border: 1px solid rgba(234, 223, 206, 0.95);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 234, 215, 0.55));
    box-shadow: 0 10px 22px rgba(33, 27, 24, 0.05);
}

.premium-search-box:focus-within {
    border-color: rgba(197, 154, 74, 0.74);
    box-shadow: 0 16px 34px rgba(33, 27, 24, 0.12);
}

.premium-search-box input {
    color: var(--shop-ink);
}

.premium-search-box .premium-search-btn {
    background: var(--shop-emerald);
    color: #ffffff;
}

.premium-search-box .premium-search-btn:hover {
    background: var(--shop-gold);
    color: #ffffff !important;
}

.filter-search-box {
    position: relative;
}

.filter-search-box::before {
    content: "";
    left: 18px;
    z-index: 1;
    width: 15px;
    height: 15px;
    border: 2px solid #8f867c;
    border-radius: 50%;
}

.filter-search-box::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 50%;
    z-index: 1;
    width: 8px;
    height: 2px;
    background: #8f867c;
    transform: translateY(5px) rotate(45deg);
    pointer-events: none;
}

.filter-search-box input {
    width: 100%;
    height: 56px;
    border: 1px solid var(--shop-line);
    border-radius: 4px;
    background: #ffffff;
    color: var(--shop-ink);
    padding: 0 18px 0 48px;
    font-size: 15px;
    line-height: 56px;
}

.filter-search-box input::placeholder {
    color: #8a8580;
    opacity: 1;
}

.filter-search-box input:focus {
    border-color: rgba(197, 154, 74, 0.72);
}

.price-filter .ui-slider {
    height: 5px;
    border: 0;
    background: var(--shop-line);
}

.price-filter .ui-slider-range {
    background: var(--shop-gold);
}

.price-filter .ui-slider-handle {
    width: 17px;
    height: 17px;
    border: 2px solid #ffffff;
    background: var(--shop-emerald);
    box-shadow: 0 6px 16px rgba(18, 63, 53, 0.22);
}

.price-filter .ui-slider-handle::before {
    background: var(--shop-gold);
}

.price-filter .price-slider-amount {
    margin-top: 28px;
}

.price-filter .price-slider-amount .label-input {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.price-filter .price-slider-amount .label-input label {
    color: var(--shop-ink);
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.price-filter .price-slider-amount .label-input input {
    width: 260px;
    max-width: calc(100vw - 190px);
    color: var(--shop-ink);
    font-size: 18px;
    font-weight: 500;
    overflow: visible;
    text-overflow: clip;
}

.shop-toolbar {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid rgba(234, 223, 206, 0.92);
    background: rgba(255, 253, 249, 0.95);
    box-shadow: 0 12px 30px rgba(33, 27, 24, 0.07);
}

.shop-toolbar .product-view-mode {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-toolbar .product-view-mode > a {
    width: 42px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--shop-line);
    background: #ffffff;
    color: var(--shop-muted);
    font-size: 19px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(33, 27, 24, 0.04);
}

.shop-toolbar .product-view-mode > a i {
    line-height: 1;
}

.shop-toolbar .product-view-mode > a.active,
.shop-toolbar .product-view-mode > a:hover {
    border-color: var(--shop-emerald);
    background: var(--shop-emerald);
    color: #ffffff !important;
}

.shop-toolbar .product-item-selection_area .product-short > label {
    color: var(--shop-ink);
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.shop-toolbar .product-item-selection_area .product-short .nice-select {
    height: 42px;
    line-height: 40px;
}

.shop-toolbar .product-item-selection_area .product-short .nice-select .current {
    display: block;
    overflow: hidden;
    padding-right: 28px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-toolbar .nice-select {
    border-color: var(--shop-line);
    background: #ffffff;
    color: var(--shop-muted);
}

.shop-toolbar .nice-select:focus,
.shop-toolbar .nice-select.open {
    border-color: rgba(197, 154, 74, 0.72);
}

.tooltip-inner {
    background-color: #c28b5e;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    padding: 8px 16px;
}

.tooltip.bs-tooltip-auto[x-placement^="top"] .arrow::before,
.tooltip.bs-tooltip-top .arrow::before {
    border-top-color: #c28b5e;
}

#shop-summary .product-select-box {
    margin-bottom: 8px;
    color: var(--shop-muted);
}

#shop-summary p,
#shop-infinite-end,
#shop-infinite-loader span,
.no-products-found {
    color: var(--shop-muted);
}

.sidebar-banner_area .banner-item {
    overflow: hidden;
    border: 1px solid rgba(234, 223, 206, 0.8);
    box-shadow: 0 18px 42px rgba(33, 27, 24, 0.11);
}

.sidebar-banner_area .banner-item img {
    display: block;
}

@media (min-width: 992px) {
    #mobileFilter {
        position: sticky;
        top: 96px;
        align-self: flex-start;
        max-height: calc(100vh - 116px);
        overflow-y: auto;
        padding-bottom: 18px;
        scrollbar-width: thin;
        scrollbar-color: rgba(197, 154, 74, 0.55) rgba(234, 223, 206, 0.45);
    }

    #mobileFilter::-webkit-scrollbar {
        width: 6px;
    }

    #mobileFilter::-webkit-scrollbar-track {
        background: rgba(234, 223, 206, 0.45);
    }

    #mobileFilter::-webkit-scrollbar-thumb {
        background: rgba(197, 154, 74, 0.65);
        border-radius: 999px;
    }
}

#shop-product-grid .slide-item {
    padding: 0;
}

#shop-product-grid .single_product {
    display: block;
    height: auto;
    overflow: hidden;
    border: 1px solid rgba(234, 223, 206, 0.92);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(33, 27, 24, 0.07);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#shop-product-grid .single_product:hover {
    border-color: rgba(197, 154, 74, 0.7);
    box-shadow: 0 26px 56px rgba(33, 27, 24, 0.16);
    transform: translateY(-6px);
}

#shop-product-grid .single_product .product-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f6efe4, #fffaf2);
}

#shop-product-grid .single_product .product-img img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    transition: transform 0.45s ease, opacity 0.3s ease !important;
}

#shop-product-grid .single_product:hover .product-img img.primary-img,
#shop-product-grid .single_product:hover .product-img img.secondary-img {
    transform: scale(1.045);
}

#shop-product-grid .single_product .hiraola-product_content {
    padding: 20px 20px 22px;
    background: linear-gradient(180deg, #ffffff, #fffdf9);
}

#shop-product-grid .product-desc_info h6 {
    min-height: 44px;
    margin-bottom: 8px;
    padding-bottom: 0;
}

#shop-product-grid .product-desc_info h6 .product-name {
    color: var(--shop-ink);
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#shop-product-grid .product-desc_info h6 .product-name:hover {
    color: var(--shop-gold-deep) !important;
}

#shop-product-grid .price-box .new-price {
    color: var(--shop-wine);
    font-size: 18px;
    font-weight: 800;
}

#shop-product-grid .price-box .old-price {
    color: #a99c90;
}

#shop-product-grid .rating-star {
    color: #d9d0c4;
}

#shop-product-grid .rating-star--filled {
    color: var(--shop-gold);
}

.lpc {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid rgba(234, 223, 206, 0.92);
    margin-top: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(33, 27, 24, 0.07);
    transition: border-color .3s ease, box-shadow .35s ease, transform .25s ease;
    text-align: left;
}

.lpc:hover {
    border-color: rgba(197, 154, 74, 0.7);
    box-shadow: 0 26px 56px rgba(33, 27, 24, 0.16);
    transform: translateY(-4px);
}

.lpc__img {
    position: relative;
    flex: 0 0 38%;
    max-width: 38%;
    overflow: hidden;
    background: linear-gradient(135deg, #f6efe4, #fffaf2);
}

.lpc__img-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
}

.lpc__img-primary,
.lpc__img-secondary {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity .5s ease;
}

.lpc__img-secondary,
.lpc__img:hover .lpc__img-primary {
    opacity: 0;
}

.lpc__img:hover .lpc__img-secondary {
    opacity: 1;
}

.lpc__body {
    flex: 1 1 62%;
    padding: 30px 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lpc__accent {
    width: 36px;
    height: 3px;
    margin-bottom: 14px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--shop-gold), rgba(197, 154, 74, 0.12));
}

.lpc__name {
    color: var(--shop-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 10px;
    padding: 0;
}

.lpc__name a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.lpc__name a:hover {
    color: var(--shop-gold-deep) !important;
}

.lpc__stars {
    margin-bottom: 10px;
    line-height: 1;
}

.lpc__stars i {
    font-size: 13px;
    margin-right: 1px;
}

.lpc__star--filled { color: var(--shop-gold); }
.lpc__star--empty { color: #d9d0c5; }

.lpc__price {
    margin-bottom: 12px;
}

.lpc__price-new {
    color: var(--shop-wine);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.lpc__price-old {
    color: #b0a99e;
    font-size: 14px;
    text-decoration: line-through;
    margin-left: 10px;
}

.lpc__desc {
    color: var(--shop-muted);
    font-size: 14px;
    line-height: 1.72;
    margin: 0 0 22px;
    flex-grow: 1;
}

.lpc__actions,
.lpc__btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lpc__btn-cart {
    display: inline-block;
    padding: 11px 26px;
    border: 1px solid var(--shop-emerald);
    background: var(--shop-emerald);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease, transform .15s ease;
    white-space: nowrap;
}

.lpc__btn-cart:hover,
.lpc__btn-icon:hover {
    border-color: var(--shop-gold) !important;
    background: var(--shop-gold) !important;
    color: #ffffff !important;
}

.lpc__btn-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--shop-line);
    color: var(--shop-muted) !important;
    font-size: 16px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

@media (max-width: 991px) {
    .shop-hero.breadcrumb-area {
        min-height: 340px !important;
    }

    .shop-hero__inner {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .hiraola-content_wrapper {
        padding-top: 44px;
        padding-bottom: 62px;
    }

    .mobile-filter_wrapper {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: var(--shop-pearl);
        z-index: 9999;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: var(--shop-strong-shadow);
        overflow-y: auto;
        padding: 0;
        display: block !important;
    }

    .mobile-filter_wrapper.open {
        left: 0;
    }

    .mobile-filter-overlay {
        position: fixed;
        inset: 0;
        background: rgba(18, 63, 53, 0.54);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-filter-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .offcanvas-filter-header {
        position: sticky;
        top: 0;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        background: var(--shop-emerald);
    }

    .offcanvas-filter-header h5,
    .offcanvas-filter-header .btn-close {
        color: #ffffff;
    }

    .mobile-filter_btn {
        position: fixed;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .mobile-filter_btn a {
        width: 36px;
        height: 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 12px 8px;
        border-radius: 0 8px 8px 0;
        background: var(--shop-emerald);
        color: #ffffff !important;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        text-decoration: none !important;
        writing-mode: vertical-lr;
        text-orientation: mixed;
        box-shadow: 2px 0 18px rgba(18, 63, 53, 0.24);
    }

    .mobile-filter_btn a:hover {
        background: var(--shop-gold);
    }

    .mobile-filter_btn a i {
        font-size: 16px;
        margin-bottom: 5px;
        writing-mode: horizontal-tb;
    }
}

@media (max-width: 767px) {
    .lpc {
        flex-direction: column;
    }

    .lpc__img {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .lpc__img-link {
        min-height: 220px;
    }

    .lpc__body {
        padding: 20px 20px 24px;
    }

    .shop-toolbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px;
    }

    .shop-toolbar .product-view-mode {
        justify-content: flex-start;
    }

    .shop-toolbar .product-view-mode > a {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .shop-toolbar .product-item-selection_area {
        width: 100%;
        padding-top: 0;
        text-align: left;
    }

    .shop-toolbar .product-item-selection_area .product-short {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        justify-content: stretch;
        width: 100%;
    }

    .shop-toolbar .product-item-selection_area .product-short > label {
        padding-right: 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .shop-toolbar .product-item-selection_area .product-short .nice-select {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575px) {
    .shop-toolbar {
        gap: 16px;
        margin-bottom: 18px;
    }

    .shop-toolbar > div,
    .shop-toolbar .product-item-selection_area {
        width: 100%;
    }

    .shop-toolbar .product-item-selection_area .product-short {
        width: 100%;
    }

    .shop-toolbar .product-item-selection_area .product-short .nice-select {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 479px) {
    .shop-hero.breadcrumb-area {
        min-height: 300px !important;
    }

    .shop-hero__inner {
        padding: 38px 0 42px;
    }

    .shop-hero__title {
        font-size: 32px;
    }

    .shop-hero__tag {
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .hiraola-content_wrapper {
        padding-top: 32px;
    }

    .shop-toolbar {
        padding: 14px;
    }

    .shop-toolbar .product-view-mode > a {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .shop-toolbar .product-item-selection_area .product-short {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .shop-toolbar .product-item-selection_area .product-short > label {
        font-size: 14px;
    }

    .shop-toolbar .product-item-selection_area .product-short .nice-select {
        height: 46px;
        line-height: 44px;
    }

    .price-filter .price-slider-amount .label-input {
        justify-content: flex-start;
    }

    .price-filter .price-slider-amount .label-input label,
    .price-filter .price-slider-amount .label-input input {
        font-size: 16px;
    }

    .price-filter .price-slider-amount .label-input input {
        width: 190px;
        max-width: calc(100vw - 145px);
    }

    #shop-product-grid > [class*="col-"] {
        padding-right: 6px;
        padding-left: 6px;
    }

    #shop-product-grid .single_product {
        border-radius: 8px;
        box-shadow: 0 12px 26px rgba(33, 27, 24, 0.08);
    }

    #shop-product-grid .single_product:hover {
        transform: none;
        border-color: rgba(234, 223, 206, 0.92);
        box-shadow: 0 12px 26px rgba(33, 27, 24, 0.08);
    }

    #shop-product-grid .single_product .hiraola-product_content {
        padding: 12px 12px 13px !important;
        background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
    }

    #shop-product-grid .single_product .hiraola-product_content .product-desc_info {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "title title"
            "price wish"
            "rating rating";
        row-gap: 8px;
        align-items: center;
    }

    #shop-product-grid .product-desc_info h6 {
        grid-area: title;
        min-height: 2.65em !important;
        margin-bottom: 0 !important;
    }

    #shop-product-grid .price-box {
        grid-area: price;
        display: flex !important;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 6px;
        margin: 0;
    }

    #shop-product-grid .additional-add_action {
        grid-area: wish;
        margin: 0;
    }

    #shop-product-grid .rating-box {
        grid-area: rating;
    }

    #shop-product-grid .price-box .new-price {
        font-size: 15px;
        line-height: 1.1;
    }

    .lpc__btn-cart {
        padding: 10px 18px;
        font-size: 12px;
    }

    .lpc__btn-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* ─── Skeleton loading cards ─────────────────────────────────────────────── */
@keyframes shop-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.shop-skeleton {
    background: #ffffff;
    border: 1px solid rgba(234, 223, 206, 0.92);
    border-radius: 4px;
    overflow: hidden;
    padding-bottom: 16px;
}

.shop-skeleton__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, #f0ebe3 25%, #faf6f0 50%, #f0ebe3 75%);
    background-size: 600px 100%;
    animation: shop-shimmer 1.4s infinite linear;
}

.shop-skeleton__line {
    margin: 12px 16px 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #f0ebe3 25%, #faf6f0 50%, #f0ebe3 75%);
    background-size: 600px 100%;
    animation: shop-shimmer 1.4s infinite linear;
}

.shop-skeleton__line--title {
    height: 14px;
    width: 80%;
}

.shop-skeleton__line--price {
    height: 14px;
    width: 45%;
    margin-top: 8px;
}

/* ─── content-visibility: auto on product cards (defers off-screen paint) ── */
#shop-product-grid .col-lg-3,
#shop-product-grid .col-md-6,
#shop-product-list .col-12 {
    content-visibility: auto;
    contain-intrinsic-size: 0 320px;
}

@media (max-width: 767px) {
    .shop-product-wrap.grid.gridview-4 > [class*="col-"] {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 50%;
        -moz-flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}
