/* ==========================================================================
   Yellow & Orange — Products page (shop.html)
   Loaded after style.css and before pages-mobile.css (mobile rules win).
   Slim top bar · brand + sort dropdowns · sticky filter sidebar · cards.
   ========================================================================== */
:root {
    --sp-ink: #1A1206;
    --sp-ink-2: #3D2F1F;
    --sp-muted: #7A6A58;
    --sp-line: #EFE7DB;
    --sp-soft: #F7F3EE;
    --sp-panel: #FBF8F4;
    --sp-orange: #E8620A;
    --sp-orange-soft: #FFF1E6;
}

/* Less dead space under the breadcrumb; no "Shop" heading */
.shop-inner-page { padding-top: 32px !important; padding-bottom: 72px !important; }
.shop-wrap > h4.title { display: none !important; }

/* ==========================================================================
   Top bar — slim: result count · Brand · Sort
   ========================================================================== */
.shop-page-meta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    min-height: 0 !important; padding: 6px 6px 6px 16px !important; margin-bottom: 16px !important;
    background: var(--sp-panel); border: 0 !important; border-radius: 999px;
}
.shop-page-meta.border-top { margin-top: 8px !important; padding: 6px 6px 6px 16px !important; }
.shop-showing-result p { margin: 0; font-size: 13px !important; line-height: 1.2; color: var(--sp-muted); }
.shop-short-by { margin: 0 !important; }
.shop-tools { display: flex; align-items: center; gap: 6px; margin: 0; }
.shop-tool {
    position: relative; display: inline-flex; align-items: center; gap: 6px; margin: 0 !important;
    height: 34px; padding: 0 30px 0 12px; background: #fff; border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--sp-line); cursor: pointer;
}
.shop-tool::after {
    content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
    border-right: 1.5px solid var(--sp-muted); border-bottom: 1.5px solid var(--sp-muted); transform: rotate(45deg); pointer-events: none;
}
.shop-tool:hover, .shop-tool:focus-within { box-shadow: inset 0 0 0 1px var(--sp-orange); }
.shop-tool > span { font-size: 12px; font-weight: 500; color: var(--sp-muted); white-space: nowrap; }
.shop-tool select {
    appearance: none; -webkit-appearance: none; max-width: 170px;
    height: 32px; padding: 0 !important; margin: 0; border: 0 !important; background: transparent !important;
    font-family: inherit; font-size: 13px !important; font-weight: 600; color: var(--sp-ink); cursor: pointer; outline: none;
    text-overflow: ellipsis;
}
.shop-pagination ul { gap: 4px !important; }
.shop-pagination .page-num-btn {
    min-width: 32px; height: 32px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600; color: var(--sp-ink-2); background: #fff; border: 0; border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--sp-line); transition: background .15s ease, color .15s ease;
}
.shop-pagination .page-num-btn:hover { color: var(--sp-orange); }
.shop-pagination li.active .page-num-btn { background: var(--sp-orange); color: #fff; box-shadow: none; }

/* ==========================================================================
   Sidebar — borderless panel, sticky while the products scroll
   ========================================================================== */
.shop-sidebar {
    padding: 20px 16px !important; border: 0 !important; border-radius: 20px !important;
    background: var(--sp-panel) !important; box-shadow: none !important;
}
@media (min-width: 768px) {
    .shop-sidebar {
        position: sticky !important; top: 100px !important; z-index: 2 !important;
        max-height: calc(100vh - 120px) !important; overflow-y: auto !important; overscroll-behavior: contain;
        scrollbar-width: thin; scrollbar-color: #E3D6C4 transparent;
    }
    .shop-sidebar::-webkit-scrollbar { width: 6px; }
    .shop-sidebar::-webkit-scrollbar-thumb { background: #E3D6C4; border-radius: 6px; }
}
.shop-sidebar .widget { margin: 0 0 22px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.shop-sidebar .widget:last-child { margin-bottom: 0 !important; }
.shop-sidebar .sidebar-title {
    font-family: 'Inter', system-ui, sans-serif; font-size: 11.5px !important; font-weight: 700 !important;
    letter-spacing: .09em; text-transform: uppercase; color: var(--sp-muted) !important;
    margin: 0 0 8px 6px !important; padding: 0 !important; border: 0 !important;
}
.shop-sidebar .sidebar-title::before, .shop-sidebar .sidebar-title::after { display: none !important; }

/* search */
.shop-sidebar .sidebar-search form { position: relative; }
.shop-sidebar .sidebar-search input[type="text"] {
    width: 100%; height: 42px !important; padding: 0 44px 0 16px !important; font-size: 13.5px !important; color: var(--sp-ink);
    background: #fff !important; border: 0 !important; border-radius: 999px !important;
    box-shadow: inset 0 0 0 1px var(--sp-line); transition: box-shadow .2s ease;
}
.shop-sidebar .sidebar-search input[type="text"]::placeholder { color: #A59682; }
.shop-sidebar .sidebar-search input[type="text"]:focus { box-shadow: inset 0 0 0 1.5px var(--sp-orange), 0 0 0 4px rgba(232, 98, 10, .10); }
.shop-sidebar .sidebar-search button {
    position: absolute; top: 5px; right: 5px; width: 32px; height: 32px; padding: 0 !important;
    border: 0; border-radius: 50% !important; background: var(--sp-ink) !important; color: #fff; font-size: 12px;
    transition: background .2s ease;
}
.shop-sidebar .sidebar-search button:hover { background: var(--sp-orange) !important; }

/* categories */
.shop-cat-list ul { border: 0 !important; margin: 0; padding: 0; }
.shop-cat-list ul li, .shop-cat-list ul li + li { border: 0 !important; margin: 0 !important; padding: 0 !important; }
.shop-cat-list ul li a {
    position: relative; display: flex !important; align-items: center; justify-content: space-between; gap: 10px;
    padding: 7px 10px 7px 12px !important; border: 0 !important; border-radius: 10px;
    font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.3; color: var(--sp-ink-2) !important;
    background: transparent; transition: background .15s ease, color .15s ease;
}
.shop-cat-list ul li a span {
    flex: 0 0 auto; font-size: 12px !important; font-weight: 500; color: #A59682 !important;
    background: none !important; min-width: 0; padding: 0; transition: color .15s ease;
}
.shop-cat-list ul li a:hover { background: #fff !important; color: var(--sp-ink) !important; }
.shop-cat-list ul li a.active { background: #fff !important; color: var(--sp-orange) !important; font-weight: 600 !important; box-shadow: 0 2px 8px rgba(26, 18, 6, .06); }
.shop-cat-list ul li a.active::before {
    content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--sp-orange);
}
.shop-cat-list ul li a.active span { color: var(--sp-orange) !important; font-weight: 600; }

/* price */
.shop-sidebar .price_filter { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.shop-sidebar .price_filter #slider-range { margin: 10px 10px 16px !important; }
.shop-sidebar .price_slider_amount { gap: 6px !important; }
.shop-sidebar .price_slider_amount input[type="text"] {
    flex: 1; min-width: 0; height: 36px; padding: 0 12px !important; font-size: 12.5px !important; color: var(--sp-ink);
    background: #fff !important; border: 0 !important; border-radius: 999px !important; box-shadow: inset 0 0 0 1px var(--sp-line);
}
.shop-sidebar .price_slider_amount input[type="button"] {
    height: 36px; padding: 0 16px !important; font-size: 12.5px !important; font-weight: 600;
    border: 0 !important; border-radius: 999px !important; background: var(--sp-ink) !important; color: #fff !important;
    transition: background .2s ease;
}
.shop-sidebar .price_slider_amount input[type="button"]:hover { background: var(--sp-orange) !important; }

/* ==========================================================================
   Product cards
   ========================================================================== */
#shop-products-grid > .yo-shop-col { margin-top: 0 !important; margin-bottom: 18px !important; }
.yo-shop-col .shop-item {
    padding: 10px !important; border: 1px solid var(--sp-line) !important; border-radius: 16px !important;
    box-shadow: none !important; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
.yo-shop-col .shop-item:hover { border-color: transparent !important; box-shadow: 0 14px 34px rgba(26, 18, 6, .10) !important; transform: translateY(-2px); }
.yo-shop-col .shop-thumb {
    height: auto !important; aspect-ratio: 1 / 1; padding: 14px;
    background: var(--edge-bg, #F7F3EE) !important; border-radius: 12px !important;
    transition: background-color .4s ease;
}
/* edge colour from the photo (assets/js/edge-color.js): solid-background photos fill the frame */
.yo-shop-col .shop-thumb.is-filled { padding: 0; }
.yo-shop-col .shop-thumb img { width: 100%; height: 100%; object-fit: contain !important; transition: transform .35s ease; }
.yo-shop-col .shop-thumb.is-cutout img { mix-blend-mode: multiply; }
.yo-shop-col .shop-item:hover .shop-thumb img { transform: scale(1.04); }
.yo-shop-col .shop-content { padding: 12px 4px 0 !important; }
.yo-shop-col .shop-content .cat { font-size: 10.5px !important; font-weight: 600 !important; letter-spacing: .06em !important; color: var(--sp-muted) !important; }
.yo-shop-col .shop-content .title { margin: 4px 0 2px !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.35 !important; }
.yo-shop-col .shop-content .title a {
    color: var(--sp-ink) !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.yo-shop-col .shop-content .title a:hover { color: var(--sp-orange) !important; }
.yo-shop-col .shop-discount { min-height: 16px; margin: 2px 0 0 !important; }
.yo-shop-col .shop-discount del { font-size: 11.5px !important; }
.yo-shop-col .shop-discount .discount-off {
    margin-left: 2px; padding: 1px 6px; border-radius: 999px; background: #FDECEC; font-size: 10.5px !important;
}
.yo-shop-col .shop-bottom { margin-top: 10px !important; padding: 10px 4px 2px !important; border-top: 1px solid var(--sp-line) !important; }
.yo-shop-col .shop-bottom .price { font-family: 'Poppins', sans-serif; font-size: 15px !important; font-weight: 700 !important; color: var(--sp-ink) !important; }
.yo-shop-col .shop-bottom .btn {
    width: 34px !important; height: 34px !important; min-width: 34px !important;
    background: var(--sp-ink) !important; color: #fff !important; transition: background .2s ease, transform .2s ease;
}
.yo-shop-col .shop-bottom .btn:hover { background: var(--sp-orange) !important; transform: scale(1.06); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .shop-sidebar { padding: 16px 12px !important; }
    .shop-cat-list ul li a { font-size: 13px !important; padding: 7px 8px 7px 10px !important; }
    .shop-tool > span { display: none; }
    .shop-tool select { max-width: 130px; }
}
@media (max-width: 767.98px) {
    .shop-page-meta { border-radius: 16px; padding: 10px 12px !important; }
    .shop-tools { width: 100%; }
    .shop-tool { flex: 1; min-width: 0; }
    .shop-tool select { max-width: none; width: 100%; }
    .shop-cat-list ul li a.active::before { display: none; }
    .shop-sidebar { background: transparent !important; padding: 0 !important; }
}

/* touch-ups */
.shop-page-meta .shop-showing-result { display: flex; align-items: center; min-height: 34px; }
.shop-sidebar .price_slider_amount input[type="text"] { padding: 0 8px !important; font-size: 12px !important; text-align: center; }
.shop-sidebar .price_slider_amount input[type="button"] { flex: 0 0 auto; padding: 0 14px !important; }

/* ==========================================================================
   Page banner — same design as the About page (classes shared with about.css)
   ========================================================================== */
.ab-banner {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 72px 0 76px; color: #fff; text-align: center;
    background:
        radial-gradient(45% 80% at 12% 110%, rgba(232, 98, 10, .55), transparent 70%),
        radial-gradient(40% 70% at 92% -10%, rgba(245, 196, 0, .35), transparent 70%),
        #1A1206;
}
.ab-banner::after { /* fine dot texture */
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.ab-banner-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ab-pill { position: absolute; width: 150px; height: 56px; border-radius: 999px; opacity: .9; }
.ab-pill::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; border-radius: 0 999px 999px 0; background: rgba(255, 255, 255, .22); }
.ab-pill--1 { left: 6%; top: 22%; background: linear-gradient(90deg, #E8620A, #F08A1C); transform: rotate(-24deg); }
.ab-pill--2 { right: 8%; top: 18%; width: 110px; height: 42px; background: linear-gradient(90deg, #F5C400, #FFD43B); transform: rotate(18deg); }
.ab-pill--3 { right: 16%; bottom: 14%; width: 90px; height: 34px; background: rgba(255, 255, 255, .14); transform: rotate(-12deg); }
.ab-ring { position: absolute; left: 14%; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .16); }
.ab-banner-inner { position: relative; }
.ab-crumbs { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; font-size: 13px; color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; }
.ab-crumbs a { color: rgba(255, 255, 255, .75); }
.ab-crumbs a:hover { color: #FFD43B; }
.ab-crumbs i { font-size: 9px; opacity: .6; }
.ab-crumbs span { color: #fff; font-weight: 600; }
.ab-banner h1 { margin-top: 20px; color: #fff; font-size: clamp(36px, 5vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.ab-banner h1 .hl { color: #FFD43B; }
.ab-banner p { margin: 14px auto 0; max-width: 520px; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .8); }

.sp-banner { font-family: 'Inter', system-ui, sans-serif; }
.sp-banner h1 { font-family: 'Poppins', system-ui, sans-serif; font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 0; }
.sp-banner p { max-width: 640px; font-size: 16px; }
@media (max-width: 991.98px) { .ab-pill--1 { left: -30px; } .ab-pill--2 { right: -20px; } }
@media (max-width: 767.98px) {
    .ab-banner { padding: 48px 0 52px; }
    .ab-banner h1 { font-size: clamp(30px, 9vw, 40px); margin-top: 16px; }
    .ab-banner p { font-size: 15px; }
    .ab-pill { width: 96px; height: 36px; }
    .ab-pill--1 { left: -34px; top: 14%; }
    .ab-pill--2 { right: -28px; top: auto; bottom: 16%; width: 80px; height: 30px; }
    .ab-pill--3, .ab-ring { display: none; }
}

/* ==========================================================================
   Top bar v2 — properly centred; custom Brand / Sort dropdowns
   ========================================================================== */
.shop-page-meta { align-items: center !important; padding: 6px 6px 6px 18px !important; }
.shop-page-meta > div,
.shop-page-meta .shop-showing-result,
.shop-page-meta .shop-short-by,
.shop-page-meta .shop-pagination { margin: 0 !important; display: flex; align-items: center; }
.shop-page-meta .shop-showing-result p { margin: 0 !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1 !important; color: var(--sp-muted) !important; }

.shop-tool { height: auto; padding: 0; background: none; box-shadow: none; cursor: default; }
.shop-tool::after { display: none; }
.shop-tool > span { display: none !important; }
.shop-tool .sp-dd-native { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; pointer-events: none; }

.sp-dd { position: relative; }
.sp-dd-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 16px; max-width: 240px;
    font-family: inherit; color: var(--sp-ink); background: #fff; border: 0; border-radius: 999px; cursor: pointer;
    box-shadow: inset 0 0 0 1px var(--sp-line); transition: box-shadow .15s ease;
}
.sp-dd-btn:hover { box-shadow: inset 0 0 0 1px #D9C9B4; }
.sp-dd-btn:focus-visible, .sp-dd.is-open .sp-dd-btn { outline: 0; box-shadow: inset 0 0 0 1.5px var(--sp-orange), 0 0 0 4px rgba(232, 98, 10, .10); }
.sp-dd-btn small { font-size: 12px; font-weight: 500; color: var(--sp-muted); }
.sp-dd-btn strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.sp-dd-btn i { margin-left: 2px; font-size: 10px; color: var(--sp-muted); transition: transform .2s ease; }
.sp-dd.is-open .sp-dd-btn i { transform: rotate(180deg); color: var(--sp-orange); }

.sp-dd-menu {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 230px; max-height: 320px; overflow-y: auto;
    margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(26, 18, 6, .06), 0 18px 40px rgba(26, 18, 6, .14);
    scrollbar-width: thin; scrollbar-color: #E3D6C4 transparent;
    animation: spDd .14s ease-out;
}
.sp-dd-menu[hidden] { display: none; }
@keyframes spDd { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sp-dd-menu li {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px;
    font-size: 13.5px; font-weight: 500; color: var(--sp-ink-2); cursor: pointer; outline: none;
}
.sp-dd-menu li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-dd-menu li em { font-style: normal; font-size: 12px; color: #A59682; }
.sp-dd-menu li i { width: 12px; font-size: 11px; color: var(--sp-orange); visibility: hidden; }
.sp-dd-menu li:hover, .sp-dd-menu li:focus { background: var(--sp-soft); color: var(--sp-ink); }
.sp-dd-menu li[aria-selected="true"] { color: var(--sp-orange); font-weight: 600; }
.sp-dd-menu li[aria-selected="true"] i { visibility: visible; }

/* ==========================================================================
   Categories v2 — clean rows, dark active chip
   ========================================================================== */
@media (min-width: 768px) {
    .shop-cat-list ul { display: flex; flex-direction: column; gap: 2px; }
    .shop-cat-list ul li a {
        min-height: 38px; padding: 0 8px 0 12px !important; border-radius: 12px !important;
        font-size: 13.5px !important; font-weight: 500 !important; color: var(--sp-ink-2) !important;
        background: transparent !important; box-shadow: none !important;
    }
    .shop-cat-list ul li a::before { display: none !important; }
    .shop-cat-list ul li a span {
        min-width: 28px; height: 22px; padding: 0 8px !important; border-radius: 999px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 11.5px !important; font-weight: 600 !important; color: var(--sp-muted) !important;
        background: rgba(26, 18, 6, .05) !important;
    }
    .shop-cat-list ul li a:hover { background: #fff !important; color: var(--sp-ink) !important; }
    .shop-cat-list ul li a:hover span { background: var(--sp-soft) !important; color: var(--sp-ink) !important; }
    .shop-cat-list ul li a.active { background: var(--sp-ink) !important; color: #fff !important; font-weight: 600 !important; box-shadow: 0 6px 16px rgba(26, 18, 6, .16) !important; }
    .shop-cat-list ul li a.active span { background: var(--sp-orange) !important; color: #fff !important; }
}

/* App section (shared with Home / About) */
.sp-app { background: #fff; }
.sp-app .yh-section { padding: 72px 0 !important; }
@media (max-width: 767.98px) {
    .shop-page-meta { padding: 10px !important; }
    .shop-page-meta .shop-showing-result { width: 100%; justify-content: center; }
    .shop-short-by { width: 100%; }
    .shop-tool, .sp-dd, .sp-dd-btn { width: 100%; max-width: none; }
    .sp-dd-btn { justify-content: space-between; }
    .sp-dd-menu { left: 0; right: auto; min-width: 100%; }
    .shop-tools .shop-tool:last-child .sp-dd-menu { left: auto; right: 0; }
    .sp-app .yh-section { padding: 44px 0 !important; }
}
