/* ==============================================================
   CATEGORY PAGES — Design System v2 "Editorial Premium"
   Prefix: cp- | Type: Jost (display) + Roboto (text)
   Palette: canvas #f7f6f3 · hairline #e9e6e0 · ink text #17140f
   PRIMARY = branding --primary-color (#A2784E) drives all actions
   ============================================================== */

.cp-page {
    font-family: "Roboto", sans-serif;
    color: #201d18;
    background:
        linear-gradient(180deg, #fbfaf8 0%, #f7f6f3 240px, #f4f2ee 100%);
    padding-bottom: 64px;
}

.cp-page .container {
    max-width: 1320px;
}

.cp-page ::selection {
    background: rgba(162,120,78, .22);
}

/* ============================================================
   HERO — contained editorial banner
   ============================================================ */
.cp-hero {
    position: relative;
    margin: 22px 0 26px;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(560px 220px at 88% -30%, rgba(255, 255, 255, .18), transparent 65%),
        radial-gradient(400px 200px at -10% 120%, rgba(23, 20, 15, .22), transparent 60%),
        linear-gradient(160deg, rgba(255, 255, 255, .07), transparent 42%, rgba(0, 0, 0, .14)),
        var(--primary-color, #A2784E);
    box-shadow: 0 24px 48px -22px rgba(162,120,78, .55);
}

.cp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 90px);
    pointer-events: none;
}

.cp-hero::after {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 204, 175, .55), transparent);
}

.cp-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    padding: 36px 40px;
}

/* refined breadcrumb trail */
.cp-crumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    list-style: none;
    margin: 0 0 14px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(3px);
    border-radius: 99px;
}

.cp-crumb li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}

.cp-crumb a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    transition: color .2s;
}

.cp-crumb a:hover {
    color: var(--secondary-color, #E9CCAF);
}

.cp-crumb i {
    font-size: 9px;
}

.cp-crumb .sep {
    opacity: .45;
}

.cp-crumb .current {
    color: var(--secondary-color, #E9CCAF);
    font-weight: 600;
}

.cp-hero__title {
    font-family: "Jost", sans-serif;
    font-size: clamp(26px, 3.6vw, 42px);
    font-weight: 800;
    letter-spacing: -.4px;
    line-height: 1.08;
    color: #fff;
    margin: 0 0 16px;
    text-wrap: balance;
}

.cp-hero__sub {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cp-hero__count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 99px;
    padding: 7px 15px;
}

.cp-hero__count i {
    color: var(--secondary-color, #E9CCAF);
    font-size: 11px;
}

.cp-hero__thumb {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .45), inset 0 0 0 4px rgba(255, 255, 255, .06);
    background: #fff;
}

/* ============================================================
   LAYOUT GRID
   ============================================================ */
.cp-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

/* ============================================================
   TOOLBAR — minimal hairline bar
   ============================================================ */
.cp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 4px 2px 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--hairline, #e9e6e0);
}

.cp-toolbar__meta {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #8a857c;
}

.cp-toolbar__meta > i {
    color: var(--primary-color, #A2784E);
    font-size: 13px;
}

.cp-toolbar__meta strong {
    color: #17140f;
    font-weight: 700;
}

.cp-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-filter-open {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--primary-color, #A2784E);
    border: 1px solid var(--primary-color, #A2784E);
    color: #fff;
    font-family: "Jost", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .4px;
    padding: 10px 18px;
    border-radius: 99px;
    cursor: pointer;
    transition: all .22s;
}

.cp-filter-open:hover {
    filter: brightness(.92);
}

.cp-sort {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #e2ded7;
    border-radius: 10px;
    transition: border-color .2s, box-shadow .2s;
}

.cp-sort:focus-within {
    border-color: var(--primary-color, #A2784E);
    box-shadow: 0 0 0 3px rgba(162,120,78, .13);
}

.cp-sort > i {
    font-size: 12px;
    color: #a39d92;
}

.cp-sort select {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39d92' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right center;
    background-size: 13px;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #26221c;
    height: 100%;
    width: auto;
    padding: 0 22px 0 0 !important;
    cursor: pointer;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.cp-sidebar {
    position: sticky;
    top: 92px;
}

.cp-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cp-sidebar__title {
    font-family: "Jost", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #17140f;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

.cp-sidebar__title::after {
    content: "";
    flex: 1;
    min-width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color, #A2784E), transparent);
    margin-left: 4px;
}

.cp-sidebar__title i {
    font-size: 13px;
    color: var(--primary-color, #A2784E);
}

.cp-drawer-close {
    display: none;
    align-items: center;
    gap: 7px;
    background: var(--primary-color, #A2784E);
    color: #fff;
    border: 0;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 15px;
    border-radius: 99px;
    cursor: pointer;
}

/* panels */
.cp-panel {
    background: #fff;
    border: 1px solid var(--hairline, #e9e6e0);
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: box-shadow .25s, border-color .25s;
}

.cp-panel:hover {
    border-color: #ddd7cc;
    box-shadow: 0 10px 28px -14px rgba(35, 28, 16, .14);
}

/* accordion — de-chromed header */
.cp-panel .accordion-item {
    border: 0;
    background: transparent;
}

.cp-panel .accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    box-shadow: none;
    border: 0;
    font-family: "Roboto", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #17140f;
    padding: 17px 20px;
}

.cp-panel .accordion-button::before {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    order: 2;
    font-size: 10px;
    color: #b3ac9f;
    transform-origin: center;
    transition: transform .28s, color .28s;
}

.cp-panel .accordion-button:not(.collapsed)::before {
    transform: rotate(180deg);
    color: var(--primary-color, #A2784E);
}

.cp-panel .accordion-button::after {
    display: none;
}

.cp-panel .accordion-button:not(.collapsed) {
    background: #fff;
    color: #17140f;
    box-shadow: inset 0 -1px 0 var(--hairline, #e9e6e0);
}

.cp-panel .accordion-body {
    padding: 12px 20px 18px;
}

/* link list */
.cp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 264px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd6ca transparent;
}

.cp-list::-webkit-scrollbar {
    width: 4px;
}

.cp-list::-webkit-scrollbar-thumb {
    background: #ddd6ca;
    border-radius: 4px;
}

.cp-list li + li {
    border-top: 1px solid #f4f1eb;
}

.cp-list a {
    position: relative;
    display: block;
    padding: 9px 4px 9px 20px;
    font-size: 13px;
    line-height: 1.4;
    color: #6d675c;
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}

.cp-list a::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    translate: 0 -50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ddd6ca;
    transition: all .2s;
}

.cp-list a:hover,
.cp-list a.active {
    color: #17140f;
    font-weight: 600;
    padding-left: 24px;
}

.cp-list a:hover::before,
.cp-list a.active::before {
    background: var(--primary-color, #A2784E);
    box-shadow: 0 0 0 3px rgba(162,120,78, .16);
}

/* price filter */
.cp-collapse-box {
    position: relative;
}

.cp-price-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
}

.cp-price-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #faf9f6;
    border: 1.5px solid #eae6df;
    border-radius: 11px;
    padding: 8px 11px;
    font-size: 12px;
    color: #a39d92;
    transition: border-color .2s, box-shadow .2s;
}

.cp-price-box:focus-within {
    border-color: var(--primary-color, #A2784E);
    box-shadow: 0 0 0 3px rgba(162, 120, 78, .12);
}

.cp-price-label {
    position: absolute;
    top: -9px;
    left: 8px;
    padding: 0 5px;
    background: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #9a917f;
    border: 1px solid #eae6df;
    border-radius: 5px;
}

.cp-price-box .cur {
    font-weight: 800;
    color: var(--primary-color, #A2784E);
    font-size: 13px;
}

.cp-price-box input {
    border: 0 !important;
    background: transparent;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    width: 100%;
    min-width: 0;
    text-align: right;
    font-family: "Jost", sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #17140f;
}

.cp-slider {
    position: relative;
    height: 4px !important;
    background: #edeae3 !important;
    border: 0 !important;
    border-radius: 99px;
    margin: 12px 6px 8px;
}

.cp-slider .ui-slider-range {
    background: var(--primary-color, #A2784E) !important;
    border-radius: 99px;
    top: 0;
    height: 100%;
}

.cp-slider .ui-slider-handle {
    width: 17px !important;
    height: 17px !important;
    border-radius: 50%;
    background: #fff !important;
    border: 2.5px solid var(--primary-color, #A2784E) !important;
    box-shadow: 0 3px 10px rgba(35, 28, 16, .25);
    top: -6.5px !important;
    cursor: grab;
    outline: none !important;
    transition: transform .15s;
}

.cp-slider .ui-slider-handle:active {
    cursor: grabbing;
    transform: scale(1.18);
}

.cp-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #b3ac9f;
    margin: 12px 0 0;
}

/* checkbox list */
.cp-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd6ca transparent;
}

.cp-checks::-webkit-scrollbar {
    width: 4px;
}

.cp-checks::-webkit-scrollbar-thumb {
    background: #ddd6ca;
    border-radius: 4px;
}

.cp-checks li + li {
    margin-top: 2px;
}

.cp-check {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: 9px;
    cursor: pointer;
    transition: background .18s;
}

.cp-check:hover {
    background: #faf8f4;
}

.cp-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1.6px solid #d5cec2;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all .18s;
}

.cp-check input[type="checkbox"]:hover {
    border-color: var(--primary-color, #A2784E);
}

.cp-check input[type="checkbox"]:checked {
    background: var(--primary-color, #A2784E);
    border-color: var(--primary-color, #A2784E);
    box-shadow: 0 0 0 3px rgba(162,120,78, .22);
}

.cp-check input[type="checkbox"]:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 9px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.cp-check p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #55503f;
    user-select: none;
}

.cp-check input:checked ~ p {
    color: #17140f;
    font-weight: 600;
}

/* trust card */
.cp-trust {
    background: linear-gradient(165deg, #1d1913, #14110c);
    border-radius: 16px;
    padding: 20px 20px 16px;
    box-shadow: 0 18px 40px -18px rgba(20, 17, 12, .55);
}

.cp-trust h6 {
    font-family: "Jost", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color, #E9CCAF);
    margin: 0 0 14px;
}

.cp-trust ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cp-trust li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 6.5px 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .78);
}

.cp-trust li + li {
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.cp-trust li i {
    width: 15px;
    font-size: 12px;
    color: var(--secondary-color, #E9CCAF);
    text-align: center;
}

/* ============================================================
   PRODUCT GRID + CARD v2
   ============================================================ */
.cp-grid-wrap {
    min-width: 0;
}

.cp-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

@media (min-width: 1400px) {
    .cp-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
}

.cp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--hairline, #e9e6e0);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.23, 1, .32, 1),
                box-shadow .35s cubic-bezier(.23, 1, .32, 1),
                border-color .35s;
}

.cp-card:hover {
    transform: translateY(-5px);
    border-color: #d9d2c4;
    box-shadow: 0 26px 52px -20px rgba(35, 28, 16, .22);
}

/* visual */
.cp-card__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f6f5f2;
    overflow: hidden;
}

.cp-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s cubic-bezier(.23, 1, .32, 1), filter .4s;
}

.cp-card:hover .cp-card__visual img {
    transform: scale(1.05);
    filter: brightness(1.02);
}

.cp-card__visual-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* discount chip */
.cp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    background: #c02b2b;
    color: #fff;
    border-radius: 7px;
    padding: 5px 9px;
    line-height: 1;
}

.cp-badge b {
    font-family: "Jost", sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: -.1px;
}

.cp-badge small {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    opacity: .85;
}

/* sold counter chip */
.cp-sold-pill {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(35, 28, 16, .07);
    color: #8a5a22;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 5.5px 11px;
    border-radius: 99px;
}

.cp-sold-pill i {
    font-size: 9.5px;
    color: #e58e2b;
}

/* sold-out overlay */
.cp-soldout {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 249, 247, .78);
    backdrop-filter: blur(2.5px);
}

.cp-soldout span {
    background: var(--primary-color, #A2784E);
    color: #fff;
    font-family: "Jost", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.6px;
    padding: 10px 22px;
    border-radius: 99px;
    box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .45);
}

/* hover action bar (slides up over image) */
.cp-hoverbar {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    transform: translateY(calc(100% + 14px));
    transition: transform .32s cubic-bezier(.23, 1, .32, 1);
}

.cp-card:hover .cp-hoverbar {
    transform: translateY(0);
}

.cp-hoverbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--primary-color, #A2784E);
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-family: "Jost", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(23, 20, 15, .55);
    transition: filter .22s, transform .22s;
}

.cp-hoverbar__btn:hover {
    filter: brightness(.92);
    transform: translateY(-1px);
    color: #fff;
}

.cp-hoverbar__btn i {
    font-size: 11px;
}

/* body */
.cp-card__body {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
    padding: 15px 16px 16px;
}

.cp-card__name {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    min-height: 37.5px;
}

.cp-card__name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #26221a;
    text-decoration: none;
    transition: color .2s;
}

.cp-card__name a:hover {
    color: var(--primary-color, #A2784E);
}

.cp-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.cp-price-now {
    font-family: "Jost", sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.4px;
    color: #17140f;
}

.cp-price-old {
    font-size: 12px;
    color: #aaa498;
}

.cp-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.cp-save-tag {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #b91c1c;
    background: #fdf1f0;
    border: 1px solid #f6d5d2;
    padding: 3px 9px;
    border-radius: 99px;
}

.cp-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .2px;
    color: #15803d;
}

.cp-stock i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(21, 128, 61, .13);
}

.cp-stock--low {
    color: #b45309;
}

.cp-stock--low i {
    box-shadow: 0 0 0 3px rgba(180, 83, 9, .14);
}

.cp-stock--out {
    color: #b91c1c;
}

.cp-stock--out i {
    box-shadow: 0 0 0 3px rgba(185, 28, 28, .11);
}

/* CTA — brand button (#A2784E) */
.cp-card__cta {
    padding-top: 3px;
}

.cp-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 41px;
    border: 1px solid var(--primary-color, #A2784E);
    border-radius: 10px;
    background: var(--primary-color, #A2784E);
    color: #fff !important;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    text-decoration: none;
    transition: all .24s ease;
}

.cp-order-btn > i:first-child {
    font-size: 13px;
}

.cp-order-btn:hover {
    filter: brightness(.92);
    border-color: var(--primary-color, #A2784E);
    box-shadow: 0 12px 26px -8px rgba(162,120,78, .65);
    transform: translateY(-1px);
    color: #fff !important;
}

.cp-order-btn:focus-visible {
    outline: 2px solid var(--primary-color, #A2784E);
    outline-offset: 2px;
}

.cp-order-btn:active {
    transform: translateY(0) scale(.985);
}

.cp-order-btn .arr {
    font-size: 10px;
    opacity: .7;
    transition: transform .24s ease, opacity .24s;
}

.cp-order-btn:hover .arr {
    transform: translateX(4px);
    opacity: 1;
}

.cp-order-btn form {
    display: contents;
}

.cp-order-btn.is-disabled {
    background: #eceae5;
    border-color: #eceae5;
    color: #a5a096 !important;
    cursor: not-allowed;
}

.cp-order-btn.is-disabled:hover {
    transform: none;
    box-shadow: none;
    background: #eceae5;
    border-color: #eceae5;
    color: #a5a096 !important;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.cp-empty {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px dashed #ddd6ca;
    border-radius: 18px;
    padding: 72px 26px;
    text-align: center;
}

.cp-empty .cp-empty__icon {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f6f2ea;
    margin-bottom: 20px;
}

.cp-empty .cp-empty__icon i {
    font-size: 30px;
    color: var(--primary-color, #A2784E);
}

.cp-empty h4 {
    font-family: "Jost", sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #17140f;
    margin: 0 0 7px;
}

.cp-empty p {
    font-size: 13.5px;
    color: #8a857c;
    margin: 0 0 22px;
}

.cp-empty a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--primary-color, #A2784E);
    color: #fff;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 10px;
    transition: all .22s;
}

.cp-empty a:hover {
    filter: brightness(.92);
    color: #fff;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.cp-paginate {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.cp-paginate .pagination {
    gap: 7px;
    margin: 0;
    flex-wrap: wrap;
}

.cp-paginate .page-link {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    background: #fff;
    border: 1px solid var(--hairline, #e9e6e0) !important;
    border-radius: 10px !important;
    color: #55503f;
    font-size: 13px;
    font-weight: 600;
    box-shadow: none !important;
    transition: all .2s;
}

.cp-paginate .page-link:hover,
.cp-paginate .page-link:focus {
    border-color: var(--primary-color, #A2784E) !important;
    color: var(--primary-color, #A2784E);
    background: #fff;
}

.cp-paginate .active .page-link {
    background: var(--primary-color, #A2784E) !important;
    border-color: var(--primary-color, #A2784E) !important;
    color: #fff;
}

.cp-paginate .disabled .page-link {
    background: transparent;
    color: #c5c0b5;
}

/* ============================================================
   SEO DESCRIPTION
   ============================================================ */
.cp-desc {
    background: #fff;
    border: 1px solid var(--hairline, #e9e6e0);
    border-radius: 16px;
    padding: 28px 30px;
    margin-top: 36px;
    font-size: 13.5px;
    line-height: 1.9;
    color: #6d675c;
    position: relative;
    overflow: hidden;
}

.cp-desc::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color, #A2784E), rgba(162,120,78, .15));
}

.cp-desc h2,
.cp-desc h3 {
    font-family: "Jost", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #17140f;
    margin: 0 0 10px;
}

.cp-desc p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   QUICK VIEW MODAL VARIATIONS (shared)
   ============================================================ */
.variation-group {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.variation-group .form-label {
    font-weight: 600;
    margin-bottom: 0;
    margin-right: .5rem;
}

.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.variation-item input[type="radio"] {
    display: none;
}

.variation-item .variation-box {
    padding: .375rem .85rem;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    background: #fff;
    color: #212529;
    transition: all .2s ease-in-out;
}

.variation-item .variation-box:hover {
    border-color: var(--primary-color, #A2784E);
}

.variation-item input[type="radio"]:checked + .variation-box {
    border-color: var(--primary-color, #A2784E);
    background: var(--primary-color, #A2784E);
    color: #fff;
}

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.cp-overlay {
    position: fixed;
    inset: 0;
    z-index: 1045;
    background: rgba(20, 16, 10, .52);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s, visibility .28s;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
    .cp-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .cp-layout {
        grid-template-columns: 1fr;
    }

    .cp-filter-open {
        display: inline-flex;
    }

    .cp-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1050;
        width: min(340px, 88vw);
        background: #f7f6f3;
        padding: 18px 16px 34px;
        overflow-y: auto;
        transform: translateX(-104%);
        transition: transform .32s cubic-bezier(.4, 0, .2, 1);
        box-shadow: 0 0 70px rgba(0, 0, 0, .3);
    }

    .filter_sidebar.active,
    .cp-sidebar.active {
        transform: translateX(0);
    }

    .cp-drawer-close {
        display: inline-flex;
    }

    /* hover-only UI becomes always visible on touch layouts */
    .cp-hoverbar {
        transform: translateY(0);
    }

    .cp-hoverbar__btn {
        padding: 8px;
        font-size: 10.5px;
        border-radius: 9px;
    }

    .cp-sold-pill {
        display: none;
    }

    .cp-badge b {
        font-size: 11.5px;
    }
}

@media (max-width: 767.98px) {
    .cp-page {
        padding-bottom: 56px;
    }

    .cp-hero {
        margin: 14px 0 18px;
        border-radius: 16px;
    }

    .cp-hero__inner {
        padding: 24px 20px;
        gap: 16px;
    }

    .cp-hero__title {
        margin-bottom: 12px;
    }

    .cp-hero__thumb {
        width: 66px;
        height: 66px;
        border-radius: 15px;
    }

    .cp-hero__count {
        font-size: 10px;
        padding: 6px 11px;
    }

    .cp-crumb {
        margin-bottom: 11px;
        padding: 5px 12px;
    }

    .cp-layout {
        gap: 14px;
    }

    .cp-toolbar {
        padding: 0 0 12px;
        margin-bottom: 14px;
    }

    .cp-toolbar__meta {
        width: 100%;
        order: 2;
        font-size: 11.5px;
    }

    .cp-toolbar__actions {
        width: 100%;
        order: 1;
        justify-content: space-between;
    }

    .cp-sort {
        flex: 1;
        max-width: 200px;
        height: 38px;
    }

    .cp-filter-open {
        padding: 9px 15px;
        font-size: 12px;
    }

    .cp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .cp-card {
        border-radius: 13px;
    }

    .cp-card__body {
        padding: 11px 12px 12px;
        gap: 7px;
    }

    .cp-card__name {
        font-size: 12px;
        min-height: 34px;
    }

    .cp-price-now {
        font-size: 16.5px;
    }

    .cp-price-old {
        font-size: 11px;
    }

    .cp-save-tag,
    .cp-stock {
        font-size: 9.5px;
    }

    .cp-stock i {
        width: 5px;
        height: 5px;
    }

    .cp-order-btn {
        height: 36px;
        font-size: 12px;
        letter-spacing: .2px;
        border-radius: 8px;
    }

    .cp-order-btn .arr {
        display: none;
    }

    .cp-badge {
        top: 9px;
        left: 9px;
        padding: 4px 7px;
    }

    .cp-hoverbar {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .cp-empty {
        padding: 54px 18px;
    }

    .cp-paginate {
        margin-top: 26px;
    }

    .cp-paginate .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .cp-desc {
        padding: 20px 18px;
        margin-top: 26px;
    }
}

/* ============================================================
   LISTING HERO ADDONS — timer, lead, icon (v2)
   ============================================================ */
.cp-hero__icon {
    margin-right: 14px;
    font-size: 0.62em;
    color: var(--secondary-color, #E9CCAF);
    vertical-align: 6px;
}

.cp-hero__lead {
    display: block;
    font-family: "Jost", "Roboto", sans-serif;
    font-size: 13px;
    letter-spacing: .3px;
    color: rgba(247, 244, 238, 0.72);
    margin-bottom: 10px;
}

.cp-hero__timer-wrap {
    flex-shrink: 0;
    text-align: right;
}

.cp-hero__timer-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Jost", "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(247, 244, 238, 0.55);
    margin-bottom: 12px;
}

.cp-hero__timer-label i {
    color: var(--secondary-color, #E9CCAF);
}

.cp-hero__timer .syotimer-body,
.cp-hero__timer .syotimer__body {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cp-hero__timer .syotimer-cell,
.cp-hero__timer .syotimer__cell {
    min-width: 64px;
    padding: 12px 10px 10px;
    background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    text-align: center;
}

.cp-hero__timer .syotimer-cell__value,
.cp-hero__timer .syotimer__cell__value {
    display: block;
    font-family: "Jost", "Roboto", sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: #f7f4ee;
    font-variant-numeric: tabular-nums;
}

.cp-hero__timer .syotimer-cell__unit,
.cp-hero__timer .syotimer__cell__unit {
    display: block;
    margin-top: 4px;
    font-family: "Jost", "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(247, 244, 238, 0.65);
}

@media (max-width: 767px) {
    .cp-hero__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cp-hero__timer-wrap {
        width: 100%;
        text-align: left;
    }

    .cp-hero__timer .syotimer-body,
    .cp-hero__timer .syotimer__body {
        justify-content: flex-start;
    }

    .cp-hero__timer .syotimer-cell,
    .cp-hero__timer .syotimer__cell {
        min-width: 56px;
    }
}
