/* Camellia Catalog Engine — filter panel, toolbar and search suggestions. Fonts and product cards come from the theme. */
.cce{--ink:#273746;--line:#e3e1dc;--soft:#f5f4f1;--gold:#8a6a2a;--mute:#5d646b;--err:#a3271b;--top:132px;color:var(--ink);font-size:14px;line-height:1.4;position:relative}
.cce-hidden[hidden]{display:none!important}
.cce *,.cce *::before,.cce *::after{box-sizing:border-box}
.cce [hidden]{display:none!important}
.cce button,.cce input,.cce select{font:inherit;color:inherit;margin:0}
.cce :focus{outline:none}
.cce :focus-visible,.cce-suggest a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.cce-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* toolbar above the results */
.cce-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.cce-open{display:inline-flex;align-items:center;gap:12px;height:44px;padding:0 26px;border:1px solid var(--ink);background:var(--ink);color:#fff!important;cursor:pointer;letter-spacing:.02em;transition:background-color .15s}
.cce-open:hover{background:#1b2832}
.cce-badge{background:var(--ink);color:#fff;border-radius:999px;min-width:19px;height:19px;padding:0 5px;font-size:11.500px;font-weight:600;display:inline-flex;align-items:center;justify-content:center}
.cce-open .cce-badge{background:#fff;color:var(--ink)}
.cce-sort{margin:0 0 0 auto;display:flex;align-items:center;gap:0;border:1px solid #9a9c99;height:44px;padding:0 0 0 14px;background:#fff;cursor:pointer}
.cce-sort>span{white-space:nowrap}
.cce-sort select{border:0;background:transparent;height:42px;padding:0 10px 0 6px;cursor:pointer;max-width:220px}
.cce-countrow{display:flex;align-items:center;gap:14px;margin:0 0 14px}
.cce-count{margin:0!important;line-height:1.4}
.cce-page-reset{display:none;border:0;background:none;color:var(--mute);cursor:pointer;padding:0;min-height:32px;line-height:1.4;font-size:13px;align-items:center;gap:6px}
.cce-quick{display:none}
.cce-chips{display:flex;flex-wrap:wrap;gap:4px 16px;list-style:none;margin:0 0 16px;padding:0}
.cce-chips:empty{display:none}
.cce-chips li{margin:0;padding:0;list-style:none}
.cce-chips button{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:6px 0;min-height:28px;cursor:pointer;color:var(--mute);font-size:13px}
.cce-chips button:hover{color:var(--ink);text-decoration:underline}
.cce-variant{font-size:12px;color:var(--mute);margin-top:4px}
.cce-empty{width:100%;padding:56px 0;text-align:center;color:var(--mute)}
.cce-empty-clear,.cce-more{display:block;margin:16px auto 0;padding:12px 32px;border:1px solid var(--ink);background:none;cursor:pointer;color:var(--ink)}
.cce-more{margin:28px auto}

/* the panel as a dialog sliding in from the left */
.cce-backdrop{position:fixed;inset:0;background:rgba(20,26,32,.4);z-index:99998}
.cce-panel{display:none;flex-direction:column;position:fixed;top:0;bottom:0;inset-inline-start:0;width:min(340px,100vw);background:#fff;z-index:99999;box-shadow:12px 0 40px rgba(0,0,0,.14)}
.cce.is-open .cce-panel{display:flex}
.cce-panel-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 6px}
.cce-panel-head h2{margin:0;font-size:17px;font-weight:400;color:var(--ink)}
.cce-head-reset{margin-inline-start:auto;border:0;background:none;text-decoration:underline;cursor:pointer;padding:8px;font-size:13px}
.cce-head-reset+.cce-close{margin-inline-start:4px}
.cce-close{width:44px;height:44px;margin:-10px -12px -10px 0;border:0;background:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.cce-close:hover{background:var(--soft)}
.cce-panel-count{margin:0;padding:8px 20px 16px;border-bottom:1px solid var(--line);font-size:13px}
.cce-groups{flex:1;overflow:auto;overscroll-behavior:contain;padding:0 20px}
.cce-panel-foot{padding:14px 20px}
.cce-apply{width:100%;height:46px;border:1px solid var(--ink);background:var(--ink);color:#fff!important;cursor:pointer;text-transform:uppercase;letter-spacing:.08em;font-size:13px}
.cce-apply:hover{background:#1b2832}
html.cce-lock{overflow:hidden}

/* sections */
.cce-g{border-bottom:1px solid var(--line)}
.cce-g:last-child{border-bottom:0}
.cce-g>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:18px 0;min-height:44px;font-size:15px;user-select:none}
.cce-g>summary::-webkit-details-marker{display:none}
.cce-g>summary::after{content:"";margin-inline-start:auto;width:7px;height:7px;border-right:1.200px solid currentColor;border-bottom:1.200px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);transition:transform .15s}
.cce-g[open]>summary::after{transform:rotate(225deg) translate(-1px,-1px)}
.cce-body{padding:0 0 20px}
.cce-body input[type=checkbox]{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.cce-body label{position:relative;margin:0;cursor:pointer}
.cce-body label:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:2px}
.cce-body .is-empty{opacity:.35;cursor:default}
.cce-body .is-empty input{cursor:default}

/* picture / icon / swatch tiles, four across */
.cce-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 4px}
.cce-tile{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:2px 0}
.cce-disc{width:42px;height:42px;border-radius:50%;background:var(--soft);display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid transparent;transition:border-color .15s,box-shadow .15s}
.cce-disc img{width:100%;height:100%;object-fit:cover;display:block;mix-blend-mode:multiply}
.cce-disc svg{width:26px;height:26px;color:var(--ink)}
.cce-tile--swatch .cce-disc{background:none;width:34px;height:34px;margin:4px 0}
.cce-swatch{width:26px;height:26px;border-radius:50%;border:1px solid rgba(0,0,0,.14);display:block}
.cce-tile .cce-name{font-size:12px;color:var(--mute);line-height:1.250;overflow-wrap:anywhere}
.cce-tile:hover .cce-disc{border-color:#9a9c99}
.cce-tile:has(input:checked) .cce-disc{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.cce-tile:has(input:checked) .cce-name{color:var(--ink);font-weight:600}

/* plain checkbox rows */
.cce-checks{display:grid;gap:2px}
.cce-check{display:flex;align-items:center;gap:10px;min-height:30px;font-size:13px;color:var(--mute)}
.cce-box{width:15px;height:15px;border:1px solid #8d8f8c;background:#fff;flex:none;display:inline-flex;align-items:center;justify-content:center}
.cce-check:has(input:checked) .cce-box{background:var(--ink);border-color:var(--ink)}
.cce-check:has(input:checked) .cce-box::after{content:"";width:8px;height:4px;border-left:1.500px solid #fff;border-bottom:1.500px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
.cce-check:has(input:checked) .cce-name{color:var(--ink)}
.cce-check:hover .cce-name{color:var(--ink)}
.cce-check .cce-n{font-size:12px;font-variant-numeric:tabular-nums}

/* graded scales (cut, colour, clarity): stepped range bar, lowest grade on the left */
.cce-steps{margin-bottom:6px}
.cce-steps .cce-track{height:3px;top:12px}
.cce-steps .cce-track i{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#fff;z-index:1}
.cce-step-labels{display:flex;margin:0 0 2px}
.cce-step-labels span{flex:1 1 0;min-width:0;text-align:center;font-size:12px;line-height:1.200;color:#8b9096;padding:0 1px;overflow-wrap:anywhere}
.cce-step-labels span.is-on{color:var(--ink)}
.cce-step-labels span.is-empty{text-decoration:line-through;opacity:.6}

/* two-thumb slider + typed fields */
.cce-slider{position:relative;height:28px;margin:0 8px 10px;--lo:0%;--hi:100%}
.cce-track{position:absolute;left:-8px;right:-8px;top:13px;height:2px;background:#cfd2d0}
.cce-fill{position:absolute;top:0;bottom:0;left:calc(var(--lo));right:calc(100% - var(--hi));background:var(--ink)}
.cce-slider input[type=range]{position:absolute;left:-8px;right:-8px;width:calc(100% + 16px);top:0;height:28px;margin:0;padding:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none;z-index:2;border:0;box-shadow:none}
.cce-slider input[type=range]::-webkit-slider-runnable-track{background:none;height:28px;border:0}
.cce-slider input[type=range]::-moz-range-track{background:none;height:28px;border:0}
.cce-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;pointer-events:auto;width:16px;height:16px;border-radius:50%;background:var(--ink);border:2px solid #fff;box-shadow:0 0 0 1px var(--ink);cursor:grab;margin-top:6px}
.cce-slider input[type=range]::-moz-range-thumb{pointer-events:auto;width:13px;height:13px;border-radius:50%;background:var(--ink);border:2px solid #fff;box-shadow:0 0 0 1px var(--ink);cursor:grab}
.cce-slider input[type=range]:focus-visible{outline:none}
.cce-slider input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 1px var(--ink),0 0 0 4px var(--gold)}
.cce-slider input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 1px var(--ink),0 0 0 4px var(--gold)}
.cce-fields{display:flex;justify-content:space-between;gap:12px}
.cce-field{display:flex!important;align-items:center;gap:3px;border:1px solid #9a9c99;background:#fff;padding:0 8px;height:36px;width:104px;cursor:text!important}
.cce-field:focus-within{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.cce-field:last-child input{text-align:end}
.cce-field input{border:0;background:none;outline:0;width:100%;min-width:0;height:100%;padding:0;font-size:13px;font-variant-numeric:tabular-nums;box-shadow:none}
.cce-field:has(input[aria-invalid=true]){border-color:var(--err);box-shadow:0 0 0 1px var(--err)}
.cce-unit{color:var(--mute);font-size:12.500px}
.cce-err{margin:8px 0 0;color:var(--err);font-size:12.500px}

/* natural / lab switch */
.cce-switch{display:flex;gap:6px;margin:0 0 4px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.cce-switch button{flex:1;height:38px;border:1px solid var(--ink);border-radius:999px;background:#fff;cursor:pointer;font-size:12.500px;white-space:nowrap;padding:0 8px}
.cce-switch button[aria-pressed=true]{background:var(--ink);color:#fff}

.cce-switch--page{display:none}

/* diamond pages on wide screens: the panel is a fixed sidebar */
@media (min-width:992px){
  .cce--sidebar{display:grid;grid-template-columns:286px minmax(0,1fr);gap:0 48px;align-items:start}
  .cce--sidebar .cce-panel{display:flex;position:sticky;top:var(--top);width:auto;max-height:calc(100vh - var(--top) - 16px);box-shadow:none;z-index:1;border-top:1px solid var(--line);padding-top:14px}
  .cce--sidebar .cce-panel-head,.cce--sidebar .cce-panel-count,.cce--sidebar .cce-panel-foot,.cce--sidebar .cce-open{display:none}
  .cce--sidebar .cce-groups{padding:0 14px 0 0;scrollbar-width:thin}
  .cce--sidebar .cce-chips{margin-bottom:10px}
  .cce--sidebar .cce-bar{margin-bottom:10px}
  .cce--sidebar .cce-countrow{display:block;margin-bottom:18px}
  .cce--sidebar .cce-count{border:1px solid var(--line);padding:11px 16px;text-align:center}
  .cce--sidebar .result_list.cce-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  .cce--sidebar .result_list.cce-list>.card_item{width:auto!important;max-width:none!important;margin:0!important;flex:none!important}
}
@media (max-width:991px){
  .cce-panel .cce-switch{display:none}
  .cce--sidebar .cce-page-reset:not([hidden]){display:inline-flex}
  .cce-switch--page{display:flex;border-bottom:0;padding-bottom:0;margin-bottom:14px;max-width:420px}
  .cce--sidebar .cce-panel .cce-chips{padding:0 20px;margin:10px 0 0}
  .cce--sidebar .cce-switch{margin:14px 20px 0;padding-bottom:16px}
}
@media (max-width:767px){
  /* phones: the panel is a sheet that slides up from the bottom, with rounded top corners and a grab handle */
  .cce-panel{top:auto;left:0;right:0;bottom:0;width:auto;height:90vh;height:90dvh;border-radius:20px 20px 0 0;box-shadow:0 -10px 40px rgba(0,0,0,.2);overflow:hidden}
  .cce-panel::before{content:'';flex:none;width:44px;height:5px;margin:8px auto 0;border-radius:3px;background:#d5d7d4}
  .cce-panel-head{touch-action:none}
  .cce-panel-foot{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  .cce.is-open .cce-panel{animation:cce-sheet-in .34s cubic-bezier(.32,.72,0,1)}
  .cce.is-open .cce-backdrop{animation:cce-fade-in .25s ease}
  .cce.is-closing .cce-panel{animation:cce-sheet-out .24s ease-in forwards}
  .cce.is-closing .cce-backdrop{animation:cce-fade-out .24s ease forwards}
  /* the sort menu sits at the top of the sheet */
  .cce-panel .cce-sort{display:flex;width:100%;height:46px;margin:14px 0 4px}
  .cce-panel .cce-sort>span{display:inline}
  .cce-panel .cce-sort select{flex:1;max-width:none}
  /* phones: the Filters button is a pill floating in the middle of the bottom edge; it opens the full-screen panel.
     z-index 40 keeps it under the theme's cookie notice (#cookie-consent, z-index 50) and under the mobile menu. */
  .cce-open{position:fixed;left:50%;right:auto;bottom:calc(18px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:40;justify-content:center;gap:10px;height:52px;padding:0 28px;border:0;border-radius:999px;font-weight:600;white-space:nowrap;box-shadow:0 8px 24px rgba(0,0,0,.28),0 2px 6px rgba(0,0,0,.18)}
  .cce-open svg{order:-1}
  .cce-content{padding-bottom:92px}
  .cce-bar{justify-content:flex-end}
  /* phones: the shapes sit on the page itself, in one row that scrolls sideways */
  .cce-quick{display:flex;gap:2px;overflow-x:auto;padding:4px 14px 12px 2px;margin:0 -14px 6px 0;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .cce-quick::-webkit-scrollbar{display:none}
  .cce-quick .cce-tile{flex:0 0 74px;scroll-snap-align:start;padding:2px 0}
  .cce-quick .cce-disc{width:52px;height:52px}
  .cce-quick .cce-disc svg{width:32px;height:32px}
  .cce-quick .cce-name{font-size:12.500px}
  .cce-quick .is-empty{display:none}
  .cce-quick .cce-tile--image .cce-disc{width:58px;height:58px}
  .cce-panel-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line)}
  .cce-panel-head h2{grid-column:2;font-size:16px}
  .cce-panel-head .cce-head-reset{grid-column:3;grid-row:1;justify-self:end;margin-inline-end:44px}
  .cce-panel-head .cce-close{grid-column:3;grid-row:1;justify-self:end;margin:0 -8px 0 0}
  .cce-panel-count{display:none}
  .cce-step-labels span{font-size:12.500px}
  .cce-sort{min-width:0}
  .cce-sort>span{display:none}
  .cce-sort select{max-width:170px}
  .cce-check{min-height:40px}
  .cce-disc{width:46px;height:46px}
  .cce-field{height:42px;width:120px}
  .cce-slider input[type=range]::-webkit-slider-thumb{width:22px;height:22px;margin-top:3px}
  .cce-slider input[type=range]::-moz-range-thumb{width:18px;height:18px}
}

@media (prefers-reduced-motion:reduce){.cce *,.cce *::after{transition:none!important}}
@media (forced-colors:active){.cce-tile:has(input:checked) .cce-disc,.cce-seg:has(input:checked),.cce-check:has(input:checked) .cce-box{outline:2px solid Highlight}}

/* ---- driven by the admin settings ---- */
/* "Buttons" display */
.cce-pills{display:flex;flex-wrap:wrap;gap:8px}
.cce-pill{display:inline-flex;align-items:center;min-height:38px;padding:0 16px;border:1px solid #9a9c99;border-radius:999px;background:#fff;font-size:13px;color:var(--ink)}
.cce-pill:hover{background:var(--soft)}
.cce-pill:has(input:checked){background:var(--ink);border-color:var(--ink);color:#fff}
.cce-pills .is-empty{display:none}
/* "Number fields only" */
.cce-slider--off{display:none}
/* main bar on wide screens too */
@media (min-width:768px){
  .cce--quick-wide .cce-quick{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 18px;padding:4px 0 22px}
  .cce--quick-wide .cce-quick .cce-tile{flex:0 0 84px}
  .cce--quick-wide .cce-quick .cce-disc{width:64px;height:64px}
  .cce--quick-wide .cce-quick .cce-disc svg{width:38px;height:38px}
  .cce--quick-wide .cce-quick .cce-name{font-size:13px}
  .cce--quick-wide .cce-quick .is-empty{display:none}
}
@media (max-width:767px){
  .cce-quick.cce-pills{flex-wrap:nowrap}
  .cce-quick .cce-pill{flex:0 0 auto;min-height:42px}
}
/* product columns chosen in the admin panel */
.result_list.cce-grid{display:grid!important;grid-template-columns:repeat(var(--cce-cols-m,2),minmax(0,1fr));gap:12px;margin-left:0!important;margin-right:0!important;width:auto!important}
.result_list.cce-grid>.card_item{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;flex:none!important}
@media (min-width:768px){.result_list.cce-grid{grid-template-columns:repeat(var(--cce-cols-t,3),minmax(0,1fr));gap:18px}}
@media (min-width:992px){.result_list.cce-grid{grid-template-columns:repeat(var(--cce-cols-d,4),minmax(0,1fr));gap:22px}}

/* ---- main bar: endless carousel on every screen size ---- */
.cce-carousel{display:flex;align-items:center;gap:6px;margin:0 0 18px}
.cce-carousel .cce-quick{display:flex!important;flex:1;min-width:0;gap:0;overflow-x:auto;overflow-y:hidden;padding:6px 0;margin:0;scroll-snap-type:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;position:relative;justify-content:center;grid-template-columns:none}
.cce-carousel .cce-quick::-webkit-scrollbar{display:none}
.cce-carousel.is-loop .cce-quick{justify-content:flex-start;cursor:grab}
.cce-carousel.is-drag .cce-quick{cursor:grabbing}
.cce-carousel.is-drag .cce-quick *{pointer-events:none}
.cce-set{display:flex;flex:none;gap:2px;padding:0 1px}
.cce-carousel:not(.is-loop) .cce-set[aria-hidden]{display:none}
.cce-carousel .cce-tile,.cce-carousel .cce-pill{flex:0 0 auto;-webkit-user-select:none;user-select:none}
.cce-carousel .cce-tile{width:78px;padding:2px 0}
.cce-carousel .cce-pill{margin:0 4px;min-height:42px}
.cce-carousel .cce-disc{width:54px;height:54px}
.cce-carousel .cce-disc svg{width:32px;height:32px}
.cce-carousel .cce-disc img{-webkit-user-drag:none;pointer-events:none}
.cce-carousel .cce-name{font-size:12.500px}
.cce-carousel .is-empty{display:none}
.cce-car-btn{flex:none;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--ink)}
.cce-car-btn:hover{border-color:var(--ink)}
.cce-carousel:not(.is-loop) .cce-car-btn{visibility:hidden}
@media (min-width:768px){
  .cce-carousel{margin-bottom:24px;gap:12px}
  .cce-carousel .cce-tile{width:112px}
  .cce-carousel .cce-disc{width:72px;height:72px}
  .cce-carousel .cce-disc svg{width:40px;height:40px}
  .cce-carousel .cce-name{font-size:13.500px}
}
@media (max-width:767px){
  /* phones: the arrows float over both ends of the row, so it is clear the row can be moved */
  .cce-carousel{position:relative}
  .cce-car-btn{position:absolute;z-index:2;top:27px;width:34px;height:34px;margin-top:-17px;border:0;background:rgba(255,255,255,.94);box-shadow:0 2px 10px rgba(20,26,32,.18),0 0 0 1px rgba(20,26,32,.05);-webkit-tap-highlight-color:transparent;transition:transform .12s,background-color .12s}
  .cce-car-btn[data-car="-1"]{left:2px}
  .cce-car-btn[data-car="1"]{right:16px}
  .cce-car-btn:active{transform:scale(.92);background:#fff}
  .cce-car-btn svg{width:16px;height:16px}
  .cce-carousel .cce-pills~.cce-car-btn,.cce-carousel:has(.cce-pills) .cce-car-btn{top:50%}
  .cce .cce-carousel.cce-carousel--large .cce-car-btn{top:43px}
  /* a soft nudge on the "more" arrow when the page opens */
  .cce-carousel.is-loop .cce-car-btn[data-car="1"]{animation:cce-nudge 1.1s ease-in-out .9s 2}
  .cce-carousel{margin:0 -14px 10px 0}
}

/* ---- endless scrolling loader: three small gems lighting up in turn ---- */
.cce-loader{display:flex;flex-direction:column;align-items:center;gap:12px;padding:38px 0 44px;color:var(--mute);font-size:14px;letter-spacing:.04em}
.cce-loader[hidden]{display:none!important}
.cce-loader-gems{display:flex;gap:14px}
.cce-loader-gems i{width:13px;height:13px;border:1px solid var(--ink);transform:rotate(45deg);animation:cce-gem 1.2s ease-in-out infinite;background:transparent}
.cce-loader-gems i:nth-child(2){animation-delay:.18s}
.cce-loader-gems i:nth-child(3){animation-delay:.36s}
@keyframes cce-gem{0%,70%,100%{background:transparent;transform:rotate(45deg) scale(1);opacity:.45}35%{background:var(--ink);transform:rotate(45deg) scale(1.25);opacity:1}}
@media (prefers-reduced-motion:reduce){.cce-loader-gems i{animation:none;opacity:.7}}

/* The theme's old filter area is hidden from the first paint on pages where these filters run (the body class is set by PHP). */
.cce-listing .filter_section.all_filter_section,.cce-listing .filter-clear.filter_result,.cce-listing .result_control{display:none!important}
/* the theme's own "loading more search results" spinner: its request is stopped (storefront.js), the plugin loads more itself */
.cce-listing .search-scroll-loader{display:none!important}
/* the "Load More Products" plugin's button and spinner: the products it would add are taken out (storefront.js) */
.cce-listing .lmp_load_more_button,.cce-listing .lmp_products_loading{display:none!important}
/* the main Shop page is not a place shoppers are sent to: no filters there at all (the theme's or the previous plugin's) */
.woocommerce-shop .filter_section.all_filter_section,.woocommerce-shop .filter-clear.filter_result,.woocommerce-shop .bapf_sfilter{display:none!important}

/* Nothing matches: message in the middle of the results area */
.cce-empty{width:100%;flex:0 0 100%;grid-column:1/-1;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:420px;padding:48px 20px;text-align:center;color:var(--mute,#5d646b)}
.cce-gem{color:#8a6a2a;overflow:visible}
.cce-gem-stone{transform-origin:48px 52px;animation:cce-gem-float 3.6s ease-in-out infinite}
.cce-gem-spark{opacity:0;transform-origin:center;transform-box:fill-box;animation:cce-gem-spark 2.4s ease-in-out infinite}
.cce-gem-spark--b{animation-delay:.8s}.cce-gem-spark--c{animation-delay:1.6s}
@keyframes cce-gem-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-6px) rotate(3deg)}}
@keyframes cce-gem-spark{0%,100%{opacity:0;transform:scale(.4) rotate(0)}45%{opacity:1;transform:scale(1) rotate(45deg)}}
.cce-empty-title{margin:20px 0 8px;font-size:24px;line-height:1.25;font-weight:400;color:#273746}
.cce-empty-text{margin:0;max-width:440px;font-size:15px;line-height:1.6}
.cce-empty-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:28px}
.cce-empty .cce-chat,.cce-empty .cce-empty-clear{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;margin:0;padding:12px 28px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;border:1px solid #273746}
.cce-empty .cce-chat{background:#273746;color:#fff}
.cce-empty .cce-chat:hover{background:#1b2832}
.cce-empty .cce-empty-clear{background:none;color:#273746}
.cce-empty .cce-empty-clear:hover{background:#f5f4f1}
.cce-empty button:focus-visible{outline:2px solid #8a6a2a;outline-offset:3px}
@media (max-width:600px){.cce-empty{min-height:340px;padding:36px 16px}.cce-empty-title{font-size:21px}.cce-empty-actions{flex-direction:column;width:100%;max-width:320px}}
@media (prefers-reduced-motion:reduce){.cce-gem-stone{animation:none}.cce-gem-spark{animation:none;opacity:.8}}

/* Loose stones: no review stars on the cards; a small natural / lab grown badge on the photo */
.cce--stones .yotpo-stars-wrapper{display:none!important}
.cce--stones .card_image{position:relative}
/* diamond and gemstone pages: 3 cards a row on desktop, 2 below it, and no category banner between the cards (from the first paint, through the body class) */
body.cce-stone-page .result_list,.result_list.cce-stone-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-left:0!important;margin-right:0!important;width:auto!important}
body.cce-stone-page .result_list>.card_item,.result_list.cce-stone-grid>.card_item{width:auto!important;max-width:none!important;margin:0!important;flex:none!important}
body.cce-stone-page .result_list.result_list>.card_item.card_item.card_item.card_item.card_item.card_item:not(.product),.result_list.cce-stone-grid.cce-stone-grid>.card_item.card_item.card_item.card_item.card_item.card_item:not(.product){display:none!important}
body.cce-stone-page .result_list>.cce-empty,.result_list.cce-stone-grid>.cce-empty{grid-column:1/-1}
@media (min-width:992px){body.cce-stone-page .result_list,.result_list.cce-stone-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}

/* phones: the panel sheet slides up from the bottom and back down */
@keyframes cce-sheet-in{from{transform:translateY(100%)}to{transform:none}}
@keyframes cce-sheet-out{from{transform:translateY(var(--cce-drag,0px))}to{transform:translateY(100%)}}
@keyframes cce-fade-in{from{opacity:0}to{opacity:1}}
@keyframes cce-fade-out{from{opacity:1}to{opacity:0}}
@media (prefers-reduced-motion:reduce){.cce.is-open .cce-panel,.cce.is-open .cce-backdrop{animation:none!important}}

/* pictures chosen in the admin panel (Images tab): shown as they are, larger and without the round bubble.
   The automatic product photos keep the round disc. */
.cce .cce-tile--own{border-radius:10px;padding:6px 2px;transition:box-shadow .15s,background-color .15s}
.cce .cce-tile--own .cce-disc{width:60px;height:60px;background:none;border:0;border-radius:0;overflow:visible;box-shadow:none;transition:transform .15s}
.cce .cce-tile--own .cce-disc img{object-fit:contain;mix-blend-mode:normal}
.cce .cce-tile--own:hover .cce-disc{transform:scale(1.07)}
.cce .cce-tile--own:has(input:checked){background:#fff;box-shadow:inset 0 0 0 1.5px var(--ink)}
.cce .cce-tile--own:has(input:checked) .cce-disc,.cce .cce-tile--own:hover .cce-disc{border:0;box-shadow:none}
.cce .cce-tile--own:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.cce .cce-carousel .cce-tile--own .cce-disc,.cce .cce-quick .cce-tile--own .cce-disc{width:64px;height:64px}
@media (min-width:768px){
  .cce .cce-carousel .cce-tile--own .cce-disc{width:84px;height:84px}
  .cce.cce--quick-wide .cce-quick .cce-tile--own .cce-disc{width:76px;height:76px}
}
@media (max-width:767px){.cce .cce-panel .cce-tile--own .cce-disc{width:66px;height:66px}}
@media (forced-colors:active){.cce .cce-tile--own:has(input:checked){outline:2px solid Highlight}}
@media (prefers-reduced-motion:reduce){.cce .cce-tile--own:hover .cce-disc{transform:none}}

/* main bar with large square photo tiles (Main bar tab > Shown as): product-style photos on a plain background */
.cce .cce-carousel.cce-carousel--large{gap:10px;margin-bottom:26px}
.cce .cce-carousel.cce-carousel--large .cce-set{gap:12px;padding:0 6px}
.cce .cce-carousel.cce-carousel--large .cce-tile{width:108px;padding:0;gap:8px;border-radius:0;background:none!important;box-shadow:none!important}
.cce .cce-carousel.cce-carousel--large .cce-tile .cce-disc{width:108px;height:108px;border-radius:4px;background:#f7f7f5;overflow:hidden;border:0;box-shadow:none;transform:none;transition:box-shadow .15s}
.cce .cce-carousel.cce-carousel--large .cce-tile .cce-disc img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply} /* multiply: a white photo background takes the tile colour */
.cce .cce-carousel.cce-carousel--large .cce-tile--shape .cce-disc svg{width:56px;height:56px}
.cce .cce-carousel.cce-carousel--large .cce-tile:hover .cce-disc{box-shadow:0 0 0 1px #9a9c99;transform:none}
.cce .cce-carousel.cce-carousel--large .cce-tile:has(input:checked) .cce-disc{box-shadow:0 0 0 2px var(--ink)}
.cce .cce-carousel.cce-carousel--large .cce-name{font-size:13px;color:var(--ink)}
@media (min-width:768px){
  .cce .cce-carousel.cce-carousel--large .cce-set{gap:14px;padding:0 7px}
  .cce .cce-carousel.cce-carousel--large .cce-tile{width:140px;gap:10px}
  .cce .cce-carousel.cce-carousel--large .cce-tile .cce-disc{width:140px;height:140px}
  .cce .cce-carousel.cce-carousel--large .cce-tile--shape .cce-disc svg{width:72px;height:72px}
  .cce .cce-carousel.cce-carousel--large .cce-name{font-size:14.5px}
}

@keyframes cce-nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}
@media (prefers-reduced-motion:reduce){.cce-carousel .cce-car-btn{animation:none!important}}
