:root {
    --accent-color: #E2D1C2;
    --brand-color: #b07d50;
    --brand-color-hover: #8d6240;
    --brand-contrast: #ffffff;
}

/* Brand-themed primary buttons (default submit / CTAs) */
button[type="submit"]:not(.btn-outline-light):not(.btn-outline-danger):not(.btn-outline-dark):not(.btn-secondary):not(.btn-link):not(.btn-close),
.btn-dark {
    background: var(--brand-color) !important;
    border-color: var(--brand-color) !important;
    color: var(--brand-contrast) !important;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
button[type="submit"]:not(.btn-outline-light):not(.btn-outline-danger):not(.btn-outline-dark):not(.btn-secondary):not(.btn-link):not(.btn-close):hover,
.btn-dark:hover {
    background: var(--brand-color-hover) !important;
    border-color: var(--brand-color-hover) !important;
    color: var(--brand-contrast) !important;
}
button[type="submit"]:disabled,
.btn-dark:disabled,
.btn-dark.disabled {
    background: var(--brand-color) !important;
    border-color: var(--brand-color) !important;
    opacity: .7;
}
.btn-outline-dark {
    color: var(--brand-color) !important;
    border-color: var(--brand-color) !important;
}
.btn-outline-dark:hover {
    background: var(--brand-color) !important;
    border-color: var(--brand-color) !important;
    color: var(--brand-contrast) !important;
}

/* RTL font + alignment */
[dir="rtl"] body,
[dir="rtl"] body * { font-family: 'Cairo', sans-serif !important; }
[dir="rtl"] .me-auto { margin-left: auto !important; margin-right: 0 !important; }

body { --bs-body-color: #555; }
h1, h2, h3, h4, h5, h6 { color: #222; }
.navbar-brand img { height: 40px; width: auto; object-fit: contain; }
.btn-wishlist.active svg { fill: #e53e3e; color: #e53e3e; }

.cart-count-badge {
    position: absolute;
    top: -6px;
    background: #E2D1C2;
    color: #222;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
[dir="ltr"] .cart-count-badge { right: -6px; }
[dir="rtl"] .cart-count-badge { left: -6px; }

.header-icon-wrap { position: relative; display: inline-flex; }
.swal2-popup.swal-fav-popup { border-top: 4px solid #E2D1C2; border-radius: 16px !important; }

/* Discount badge + price display */
.discount-badge {
    position: absolute;
    top: 10px;
    z-index: 3;
    background: linear-gradient(135deg, #ff5858, #e53935);
    color: #fff;
    font-weight: 800;
    font-size: .78rem;
    padding: .35rem .55rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(229, 57, 53, .35);
    letter-spacing: .02em;
}
[dir="ltr"] .discount-badge { left: 10px; }
[dir="rtl"] .discount-badge { right: 10px; }

.price-wrap { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price-wrap .price-old { color: #999; text-decoration: line-through; font-size: .9rem; }
.price-wrap .price-new { color: #e53935; font-weight: 800; }

/* Glossy shop filter card */
.filter-glass {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, .85) 0%, rgba(253, 246, 238, .85) 60%, rgba(245, 233, 216, .85) 100%);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .7);
    border-radius: 18px;
    padding: 1.25rem 1rem;
    overflow: hidden;
}
.filter-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at 10% -10%, rgba(255, 196, 63, .25), transparent 40%),
                radial-gradient(500px circle at 120% 120%, rgba(226, 209, 194, .35), transparent 45%);
    pointer-events: none;
}
.filter-glass > * { position: relative; z-index: 1; }
.filter-glass .filter-title { font-weight: 800; color: #222; letter-spacing: .04em; font-size: .85rem; text-transform: uppercase; }
.filter-glass .form-control,
.filter-glass .form-select { background: rgba(255, 255, 255, .75); border: 1px solid rgba(0, 0, 0, .06); border-radius: 12px; }
.filter-glass .form-control:focus,
.filter-glass .form-select:focus { box-shadow: 0 0 0 .2rem rgba(255, 196, 63, .25); border-color: #E2D1C2; }
.filter-glass .filter-link { display: flex; align-items: center; gap: .5rem; text-decoration: none; padding: .45rem .75rem; border-radius: 10px; color: #555; transition: all .2s; }
.filter-glass .filter-link:hover { background: rgba(255, 255, 255, .6); color: #222; }
.filter-glass .filter-link.active { background: linear-gradient(135deg, #ffe29a, #ffc43f); color: #222; font-weight: 700; box-shadow: 0 4px 10px rgba(255, 196, 63, .35); }
.filter-glass .form-check-input:checked { background-color: #e53935; border-color: #e53935; }
.filter-glass .btn-apply { background: linear-gradient(135deg, #222, #444); color: #fff; border: none; border-radius: 12px; font-weight: 700; padding: .6rem 1rem; transition: transform .15s; }
.filter-glass .btn-apply:hover { transform: translateY(-1px); color: #fff; }

/* Static info / policy pages */
.info-page { color: #444; line-height: 1.9; font-size: 1rem; }
.info-page p { margin: 0 0 1rem; }
.info-page p.lead { font-size: 1.1rem; color: #333; margin-bottom: 1.5rem; }
.info-page h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin: 2rem 0 .75rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid rgba(176, 125, 80, .18);
}
.info-page ul { padding-inline-start: 1.5rem; margin: 0 0 1rem; }
.info-page ul li { margin-bottom: .35rem; }
.info-page a { color: var(--brand-color, #b07d50); text-decoration: none; font-weight: 600; }
.info-page a:hover { text-decoration: underline; }
.info-page .info-callout {
    background: #fdf6ee;
    border-inline-start: 4px solid var(--brand-color, #b07d50);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    color: #4a3a2a;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4ece2;
    color: var(--brand-color, #b07d50);
    border: 1px solid rgba(176, 125, 80, .15);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.social-icon:hover {
    background: var(--brand-color, #b07d50);
    color: #fff;
    transform: translateY(-2px);
}

/* Language switcher */
.lang-flag {
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
    flex-shrink: 0;
}
.lang-switcher .dropdown-toggle {
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: #f7f3ee;
    transition: background-color .15s ease;
}
.lang-switcher .dropdown-toggle:hover,
.lang-switcher .dropdown-toggle:focus {
    background: #ede2d3;
    box-shadow: none;
}
.lang-switcher .dropdown-menu {
    min-width: 160px;
    border-radius: 10px;
    padding: 6px;
    border: 1px solid #eee;
}
.lang-switcher .dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
}
.lang-switcher .dropdown-item.active,
.lang-switcher .dropdown-item:active {
    background: var(--brand-color, #b07d50);
    color: #fff;
}
[dir="rtl"] .lang-switcher .dropdown-menu { text-align: right; }

/* Responsive header tweaks */
@media (max-width: 575.98px) {
    .lang-switcher .dropdown-toggle { padding: 0.3rem 0.5rem; }
    .header-icon-wrap svg { width: 22px; height: 22px; }
    .navbar-brand img { height: 38px; }
}

/* Active navbar link */
.navbar-nav .nav-link.active {
    color: var(--brand-color, #b07d50) !important;
    position: relative;
    display: inline-block;
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--brand-color, #b07d50);
    border-radius: 2px;
}

.footer-menu .widget-title { font-weight: 700; color: #222; margin-bottom: 1rem; }
.footer-menu .menu-list .nav-link { color: #747474; padding: 0.2rem 0; }
.footer-menu .menu-list .nav-link:hover { color: #E2D1C2; }
#footer-bottom { background: #f8f8f8; border-top: 1px solid #eee; padding: 1rem 0; font-size: .85rem; color: #888; }

/* App promo section */
.app-promo-section {
    background: linear-gradient(135deg, #fdf6ee 0%, #f5e9d8 50%, #ede0cc 100%);
    overflow: hidden;
    padding: 0;
    min-height: 400px;
}
.app-promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    padding: 3rem 0 0;
}
.app-promo-text { padding-bottom: 3rem; }
.app-promo-eyebrow {
    font-size: .95rem;
    font-weight: 600;
    color: #b07d50;
    margin-bottom: .5rem;
    letter-spacing: .02em;
}
.app-promo-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.app-promo-desc { font-size: 1rem; color: #555; line-height: 1.8; }
.app-promo-phone { flex-shrink: 0; width: 300px; align-self: flex-end; }
.app-promo-phone img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .15));
    border-radius: 20px;
}
@media (max-width: 576px) {
    .app-promo-inner { flex-direction: column; padding-bottom: 0; text-align: center; }
    .app-promo-phone { width: 160px; align-self: center; }
    .app-promo-text { padding-bottom: 1rem; }
}

/* Shop page header */
.shop-page-header {
    position: relative;
    height: 300px;
    background: #f8f8f8;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    margin-bottom: 2rem;
}
.shop-page-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .2) 60%, transparent 100%);
}
.shop-page-header__content { position: relative; z-index: 1; padding-bottom: 1.5rem; }

.product-item .btn-wishlist.active { background: #ffe8e8; border-color: #e53e3e; }
.search-bar-main { background: #f8f8f8; border-radius: 50px; padding: .5rem 1rem; }
.search-bar-main input { background: transparent; border: none; outline: none; width: 100%; }
.search-bar-main input:focus { box-shadow: none; }

.preloader-logo {
    max-width: 150px;
    max-height: 150px;
    animation: pulse 2s infinite;
    border-radius: 50%;
}
@keyframes pulse {
    0%   { transform: scale(0.95); opacity: 0.7; }
    50%  { transform: scale(1);    opacity: 1;   }
    100% { transform: scale(0.95); opacity: 0.7; }
}


.btn-add-to-cart{
    display:flex;
    align-items:end;
    justify-content:center;
}

/* ── Cart table → stacked cards on mobile ───────────────────────── */
@media (max-width: 767.98px) {
    .cart-table thead { display: none; }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100% !important;
    }

    .cart-table tr {
        border: 1px solid #eee;
        border-radius: 12px;
        margin-bottom: 1rem;
        padding: .5rem 1rem;
    }

    .cart-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        text-align: end;
        padding: .65rem 0 !important;
        border: none;
        border-bottom: 1px solid #f4f4f4;
    }

    .cart-table td:last-child { border-bottom: none; }

    /* Field label pulled from the (hidden) table header */
    .cart-table td[data-label]::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6c757d;
        text-align: start;
        white-space: nowrap;
    }

    /* Product cell spans full width with image + name */
    .cart-table td.cart-cell-product {
        padding-inline: 0 !important;
        justify-content: flex-start;
        text-align: start;
    }

    /* Quantity control stays compact and right-aligned */
    .cart-table td.cart-cell-qty .product-qty { margin: 0 !important; }

    /* Remove button row */
    .cart-table td.cart-cell-remove { justify-content: flex-end; }
    .cart-table td.cart-cell-remove form { width: auto; }
}
/* Clickable category chip on product cards (shown above the product name) */
.product-category-link {
    display: inline-block;
    align-self: flex-start;   /* don't stretch inside flex-column cards */
    width: fit-content;
    max-width: 100%;
    margin-bottom: .4rem;
    padding: .15rem .6rem;
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--brand-color);
    background: var(--accent-color);
    border-radius: 999px;
    transition: background-color .15s ease, color .15s ease;
}
.product-category-link:hover,
.product-category-link:focus {
    color: var(--brand-contrast);
    background: var(--brand-color);
}

/* ─────────────────────────────────────────────────────────────────────────
   Product card (redesigned) — partials/product-card.blade.php
   Two variants: .product-card--sale (badge + red/struck price) vs normal
   ───────────────────────────────────────────────────────────────────────── */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #efe7df;
    border-radius: 22px;
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .10);
}

/* Media / image — square */
.product-card__media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f4ede5;
    aspect-ratio: 1 / 1;
}
.product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
}
.product-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.04); }

/* Discount badge (sale variant) */
.product-card__badge {
    position: absolute;
    top: 12px;
    z-index: 3;
    background: linear-gradient(135deg, #ff5b5b, #e8362f);
    color: #fff;
    font-weight: 700;
    font-size: .72rem;
    padding: .28rem .55rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(229, 57, 53, .3);
    letter-spacing: .01em;
}
[dir="ltr"] .product-card__badge { left: 12px; }
[dir="rtl"] .product-card__badge { right: 12px; }

/* Wishlist — sits in the actions row next to Add to Cart (keeps JS hooks) */
.product-card__fav {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e6ded6;
    border-radius: 12px;
    color: #cfc8c0;
    cursor: pointer;
    transition: transform .15s ease, color .15s ease, border-color .15s ease, background-color .15s ease;
}
.product-card__fav:hover { transform: scale(1.06); color: #e8362f; }
.product-card__fav svg { width: 20px; height: 20px; fill: currentColor; }
.product-card__fav.active {
    color: #e8362f;
    border-color: #f5c6c3;
    background: #fff5f5;
}
.product-card__fav.active svg { fill: #e8362f; }

/* Body */
.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1rem .4rem .65rem;
}
.product-card__category {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: .4rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-color);
    text-decoration: none;
}
.product-card__category:hover { color: var(--brand-color-hover); text-decoration: underline; }

/* Title (start) + price (end) share one row, top-aligned */
.product-card__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .85rem;
}
.product-card__title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__title a { color: #1d1d1d; text-decoration: none; }
.product-card__title a:hover { color: var(--brand-color); }

/* Pricing column (end-aligned) */
.product-card__pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    text-align: end;
    white-space: nowrap;
}
.product-card__price { font-size: 1rem; font-weight: 800; color: #1d1d1d; line-height: 1.3; }
.product-card--sale .product-card__price--new { color: #e8362f; }
.product-card__price--old {
    margin-top: .1rem;
    font-size: .8rem;
    font-weight: 600;
    color: #a9a29a;
    text-decoration: line-through;
}

/* Actions row: Add to cart (fills) + wishlist, vertically centered */
.product-card__actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: auto;
}
.product-card__cart { flex: 1 1 auto; min-width: 0; margin: 0; }
.product-card__cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    height: 38px;
    border: none;
    border-radius: 12px;
    background: var(--brand-color);
    color: var(--brand-contrast);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: background-color .15s ease;
}
.product-card__cart-btn:hover { background: var(--brand-color-hover); }
.product-card__cart-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Favorite toggle on product detail: branded active (favorited) state
   so it isn't filled black by Bootstrap's .btn-outline-dark.active */
.js-fav-btn.btn-outline-dark.active,
.js-fav-btn.btn-outline-dark.active:focus {
    background: var(--brand-color) !important;
    border-color: var(--brand-color) !important;
    color: var(--brand-contrast) !important;
}
.js-fav-btn.btn-outline-dark.active:hover {
    background: var(--brand-color-hover) !important;
    border-color: var(--brand-color-hover) !important;
    color: var(--brand-contrast) !important;
}
.js-fav-btn.btn-outline-dark.active svg { fill: currentColor; }

/* ─────────────────────────────────────────────────────────────────────────
   Shop page — filter sidebar + sort toolbar (redesign)
   ───────────────────────────────────────────────────────────────────────── */
.shop-filter {
    background: #fff;
    border: 1px solid #efe9e2;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .04);
}
.shop-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}
.shop-filter__heading,
.shop-filter__title {
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.shop-filter__heading { font-size: .9rem; }
.shop-filter__title { font-size: .78rem; margin: 0 0 .7rem; }
.shop-filter__clear { font-size: .8rem; color: #e8362f; text-decoration: none; }
.shop-filter__clear:hover { text-decoration: underline; }
.shop-filter__group { margin-bottom: 1.25rem; }

.shop-filter__input {
    width: 100%;
    padding: .55rem .8rem;
    font-size: .9rem;
    color: #333;
    background: #fff;
    border: 1.5px solid #efe9e2;
    border-radius: 10px;
    outline: none;
    transition: border-color .15s ease;
}
.shop-filter__input:focus { border-color: var(--brand-color); }
.shop-filter__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Category list */
.shop-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.shop-cats__item {
    display: block;
    padding: .5rem .75rem;
    font-size: .9rem;
    color: #6b6b6b;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color .15s ease, color .15s ease;
}
.shop-cats__item:hover { background: #f6f1ec; color: #222; }
.shop-cats__item.is-active {
    background: var(--accent-color);
    color: var(--brand-color);
    font-weight: 600;
}

/* On-sale toggle (iOS-style switch) */
.shop-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.shop-toggle input { display: none; }
.shop-toggle__track {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 11px;
    background: #e6ded6;
    transition: background-color .2s ease;
}
.shop-toggle__track::after {
    content: '';
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    transition: transform .2s ease;
}
.shop-toggle input:checked + .shop-toggle__track { background: var(--brand-color); }
.shop-toggle input:checked + .shop-toggle__track::after { transform: translateX(18px); }
[dir="rtl"] .shop-toggle input:checked + .shop-toggle__track::after { transform: translateX(-18px); }
.shop-toggle__label { font-size: .9rem; color: #555; font-weight: 600; }

/* Apply button */
.shop-filter__apply {
    width: 100%;
    padding: .65rem 1rem;
    border: none;
    border-radius: 10px;
    background: var(--brand-color);
    color: var(--brand-contrast);
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background-color .15s ease;
}
.shop-filter__apply:hover { background: var(--brand-color-hover); }

/* Toolbar above the grid */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 1.5rem;
}
.shop-toolbar__count { font-size: .85rem; color: #9d9d9d; }

/* Sort dropdown */
.shop-sort { position: relative; }
.shop-sort__trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: #555;
    background: #fff;
    border: 1.5px solid #efe9e2;
    border-radius: 10px;
    padding: .5rem .85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .15s ease;
}
.shop-sort__trigger:hover { border-color: var(--brand-color); }
.shop-sort__chevron { display: flex; transition: transform .2s ease; }
.shop-sort.is-open .shop-sort__chevron { transform: rotate(180deg); }
.shop-sort__menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid #efe9e2;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
    padding: 6px;
    z-index: 50;
}
.shop-sort__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: .6rem .85rem;
    font-size: .85rem;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color .15s ease;
}
.shop-sort__option:hover { background: #f6f1ec; color: #222; }
.shop-sort__option.is-active { color: var(--brand-color); font-weight: 600; }
.shop-sort__check { display: flex; color: var(--brand-color); }

@media (max-width: 575.98px) {
    .shop-toolbar { flex-direction: column; align-items: stretch; }
    .shop-sort__trigger { justify-content: space-between; width: 100%; }
}

/* Price range — dual-handle slider */
.price-range__values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .6rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--brand-color);
}
.price-range__slider { position: relative; height: 24px; }
.price-range__rail,
.price-range__fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    border-radius: 2px;
}
.price-range__rail { left: 0; right: 0; background: #e6ded6; }
.price-range__fill { background: var(--brand-color); }
.price-range input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    background: transparent;
    pointer-events: none;          /* only the thumbs are interactive */
    -webkit-appearance: none;
    appearance: none;
}
.price-range input[type="range"]::-webkit-slider-runnable-track { background: transparent; border: none; }
.price-range input[type="range"]::-moz-range-track { background: transparent; border: none; }
.price-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brand-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    cursor: pointer;
    margin-top: 3px;               /* center 18px thumb on the 24px track */
}
.price-range input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brand-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    cursor: pointer;
}

/* Price range — slider + dedicated Apply button on one row */
.price-range__row { display: flex; align-items: center; gap: .6rem; margin-top: .2rem; }
.price-range__row .price-range__slider { flex: 1 1 auto; min-width: 0; }
.price-range__apply {
    flex-shrink: 0;
    white-space: nowrap;
    padding: .2rem .6rem;
    border: none;
    border-radius: 8px;
    background: var(--brand-color);
    color: var(--brand-contrast);
    font-weight: 700;
    font-size: .82rem;
    cursor: pointer;
    transition: background-color .15s ease;
}
.price-range__apply:hover { background: var(--brand-color-hover); }

/* Shop filters — responsive offcanvas drawer (tablet & mobile) */
.shop-filters { --bs-offcanvas-width: 320px; }
/* Let the filter card fill the column/drawer (override Bootstrap's flex body) */
.shop-filters .offcanvas-body { display: block; padding: 0; }

.shop-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .9rem;
    font-size: .85rem;
    font-weight: 700;
    color: var(--brand-color);
    background: #fff;
    border: 1.5px solid var(--brand-color);
    border-radius: 10px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.shop-filter-toggle:hover { background: var(--brand-color); color: var(--brand-contrast); }

/* Pagination — brand themed, spaced rounded squares (shop design) */
.pagination { display: flex; gap: 6px; align-items: center; justify-content: center; margin: 0; }
.pagination .page-item { margin: 0; }
.pagination .page-link {
    margin: 0;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 .55rem;
    font-weight: 700;
    color: #6b6b6b;
    background: #fff;
    border: 1.5px solid #efe9e2;
    border-radius: 10px;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pagination .page-link:hover { color: var(--brand-color); border-color: var(--brand-color); background: #fff; }
.pagination .page-link:focus { box-shadow: none; }
.pagination .page-item.active .page-link {
    background: var(--brand-color);
    border-color: var(--brand-color);
    color: var(--brand-contrast);
}
.pagination .page-item.disabled .page-link {
    opacity: .45;
    color: #9d9d9d;
    background: #fff;
    border-color: #efe9e2;
}

.shop-load-more { display: flex; justify-content: center; margin-top: 2rem; }
.shop-load-more__btn {
    min-width: 200px;
    padding: .75rem 2rem;
    font-weight: 700;
    font-size: .95rem;
    color: var(--brand-color);
    background: #fff;
    border: 1.5px solid var(--brand-color);
    border-radius: 50px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
.shop-load-more__btn:hover {
    background: var(--brand-color);
    color: var(--brand-contrast);
}
.shop-load-more__btn:disabled { opacity: .6; cursor: default; }
