/* CodifyKit — Shop / Product Archive */

:root{
  --cka-max:1480px;
  --cka-text:#1d2127;
  --cka-muted:#747a83;
  --cka-border:#e7e9ed;
  --cka-soft:#f6f7f9;
  --cka-black:#111315;
  --cka-radius:13px;
  --cka-shadow:0 18px 55px rgba(22,29,40,.055);
}

.cka-archive,
.cka-archive *{box-sizing:border-box}

.cka-archive{
  width:100%;
  color:var(--cka-text);
  background:
    radial-gradient(900px 360px at 7% -4%,rgba(99,126,185,.05),transparent 72%),
    #fff;
}

.cka-shell{
  width:100%;
  max-width:var(--cka-max);
  margin:0 auto;
  padding:30px 28px 90px;
}

.cka-breadcrumb{
  margin-bottom:18px;
  color:#9a9ea6;
  font-size:12px;
}

.cka-breadcrumb .woocommerce-breadcrumb{
  margin:0!important;
  font-size:12px!important;
  color:#9a9ea6!important;
}

.cka-breadcrumb a{
  color:#6f747d!important;
  text-decoration:none!important;
}

.cka-breadcrumb span{
  display:inline-block;
  margin:0 7px;
  color:#c1c4ca;
}

.cka-hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
  padding:8px 0 42px;
  border-bottom:1px solid var(--cka-border);
}

.cka-eyebrow{
  display:block;
  margin-bottom:8px;
  color:#979ca4;
  font-size:10px;
  font-weight:750;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.cka-hero-copy h1{
  margin:0;
  color:#1b1f24;
  font-size:clamp(34px,4vw,54px);
  line-height:1.03;
  font-weight:760;
  letter-spacing:-.045em;
}

.cka-hero-copy p{
  max-width:610px;
  margin:12px 0 0;
  color:#727780;
  font-size:14px;
  line-height:1.7;
}

.cka-search{
  width:min(430px,38vw);
  min-height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 16px;
  border:1px solid #dfe2e7;
  border-radius:13px;
  background:#fff;
  box-shadow:0 8px 25px rgba(25,34,48,.035);
}

.cka-search:focus-within{border-color:#aeb4bc}

.cka-search svg{
  width:19px;
  height:19px;
  flex:0 0 auto;
  fill:none;
  stroke:#4c5159;
  stroke-width:1.7;
  stroke-linecap:round;
}

.cka-search input{
  width:100%;
  min-width:0;
  height:50px;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#22262c;
  font:inherit;
  font-size:13.5px;
  box-shadow:none!important;
}

.cka-layout{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:42px;
  align-items:start;
  padding-top:34px;
}

.cka-sidebar{
  position:sticky;
  top:24px;
}

.cka-filter-form{
  overflow:hidden;
  border:1px solid var(--cka-border);
  border-radius:13px;
  background:#fff;
  box-shadow:0 12px 38px rgba(20,28,40,.04);
}

.cka-filter-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  padding:20px 20px 17px;
  border-bottom:1px solid var(--cka-border);
}

.cka-filter-heading h2{
  margin:0;
  color:#24282e;
  font-size:19px;
  line-height:1.1;
  font-weight:700;
  letter-spacing:-.02em;
}

.cka-filter-heading>a{
  color:#777c84!important;
  font-size:11px;
  font-weight:600;
  text-decoration:none!important;
}

.cka-filter-section{border-bottom:1px solid var(--cka-border)}

.cka-filter-section-title{
  width:100%;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0!important;
  padding:0 20px!important;
  border:0!important;
  background:#fff!important;
  color:#31363d!important;
  font:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  box-shadow:none!important;
  cursor:pointer;
}

.cka-filter-section-title svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .18s ease;
}

.cka-filter-section.is-collapsed .cka-filter-section-title svg{
  transform:rotate(-90deg);
}

.cka-filter-section-body{padding:0 20px 18px}
.cka-filter-section.is-collapsed .cka-filter-section-body{display:none}

.cka-choice{
  position:relative;
  min-height:38px;
  display:flex;
  align-items:center;
  gap:9px;
  cursor:pointer;
  color:#5f656e;
  font-size:12.5px;
}

.cka-choice+.cka-choice{border-top:1px solid #f2f3f5}

.cka-choice input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.cka-control{
  width:17px;
  height:17px;
  flex:0 0 17px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1.5px solid #c8ccd2;
  background:#fff;
  transition:.16s ease;
}

.cka-choice-check .cka-control{border-radius:5px}
.cka-choice-radio .cka-control{border-radius:50%}

.cka-choice input:checked+.cka-control{
  border-color:#111315;
  background:#111315;
}

.cka-choice-radio input:checked+.cka-control{
  border-width:5px;
  background:#fff;
}

.cka-choice-check input:checked+.cka-control::after{
  content:"";
  width:7px;
  height:4px;
  margin-top:-2px;
  border-left:1.5px solid #fff;
  border-bottom:1.5px solid #fff;
  transform:rotate(-45deg);
}

.cka-choice-label{
  min-width:0;
  flex:1;
}

.cka-choice input:checked~.cka-choice-label{
  color:#1e2228;
  font-weight:650;
}

.cka-choice-count{
  color:#b0b4ba;
  font-size:10.5px;
}

.cka-tech-filter-icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.cka-tech-filter-icon img,
.cka-tech-filter-icon svg{
  display:block;
  width:18px!important;
  height:18px!important;
  max-width:18px;
  max-height:18px;
  object-fit:contain;
  margin:0!important;
}

.cka-price{padding:2px 0 12px}

.cka-price-values{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:13px;
  color:#626770;
  font-size:11px;
  font-weight:650;
}

.cka-price-track{
  position:relative;
  height:3px;
  margin:0 8px;
  border-radius:4px;
  background:#e5e7ea;
}

.cka-price-fill{
  position:absolute;
  top:0;
  height:3px;
  border-radius:4px;
  background:#111315;
}

.cka-price-range{
  position:absolute;
  top:50%;
  left:0;
  width:100%;
  height:3px;
  margin:0;
  padding:0;
  transform:translateY(-50%);
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
  pointer-events:none;
}

.cka-price-range::-webkit-slider-thumb{
  width:16px;
  height:16px;
  border:2px solid #111315;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 5px rgba(0,0,0,.12);
  appearance:none;
  -webkit-appearance:none;
  pointer-events:all;
  cursor:pointer;
}

.cka-price-range::-moz-range-thumb{
  width:14px;
  height:14px;
  border:2px solid #111315;
  border-radius:50%;
  background:#fff;
  pointer-events:all;
  cursor:pointer;
}

.cka-free-only{margin-top:12px}

.cka-filter-actions{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  padding:16px;
}

.cka-apply,
.cka-reset{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 16px!important;
  border-radius:11px!important;
  font:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:none!important;
}

.cka-apply{
  border:1px solid #111315!important;
  background:#111315!important;
  color:#fff!important;
  cursor:pointer;
}

.cka-reset{
  border:1px solid #e1e4e8!important;
  background:#fff!important;
  color:#4d525a!important;
}

.cka-results{min-width:0}

.cka-toolbar{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:16px;
}

.cka-result-count{
  display:flex;
  align-items:baseline;
  gap:8px;
}

.cka-result-count strong{
  color:#22262c;
  font-size:14px;
}

.cka-result-count span{
  color:#8c9198;
  font-size:11px;
}

.cka-sort{
  display:flex;
  align-items:center;
  gap:9px;
}

.cka-sort label{
  color:#979ba2;
  font-size:11px;
  font-weight:650;
}

.cka-sort select{
  min-width:160px;
  height:40px;
  padding:0 35px 0 12px!important;
  border:1px solid #e0e3e7!important;
  border-radius:10px!important;
  background-color:#fff!important;
  color:#353a41;
  font:inherit;
  font-size:11.5px;
  outline:0;
  box-shadow:none!important;
}

.cka-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.cka-card{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--cka-border);
  border-radius:13px;
  background:#fff;
  box-shadow:0 8px 25px rgba(23,31,43,.035);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.cka-card:hover{
  transform:translateY(-2px);
  border-color:#d9dde2;
  box-shadow:0 18px 44px rgba(23,31,43,.075);
}

.cka-card-media{
  position:relative;
  overflow:hidden;
  background:#f2f3f5;
}

.cka-card-image{
  display:block;
  overflow:hidden;
}

.cka-card-image img{
  display:block;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/10;
  object-fit:cover;
  margin:0!important;
  transition:transform .35s cubic-bezier(.2,.75,.3,1);
}

.cka-card:hover .cka-card-image img{transform:scale(1.018)}

.cka-card-media-actions{
  position:absolute;
  top:12px;
  right:12px;
  display:flex;
  gap:7px;
  opacity:0;
  transform:translateY(-3px);
  transition:.18s ease;
}

.cka-card:hover .cka-card-media-actions{
  opacity:1;
  transform:none;
}

.cka-card-media-actions .ck-product-wishlist,
.cka-card-preview{
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(20,24,30,.08)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.94)!important;
  color:#22262b!important;
  box-shadow:0 5px 14px rgba(0,0,0,.06)!important;
  backdrop-filter:blur(8px);
}

.cka-card-media-actions .ck-product-wishlist.is-active{
  background:#111315!important;
  border-color:#111315!important;
  color:#fff!important;
}

.cka-card-preview svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.cka-card-body{padding:17px}

.cka-card-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.cka-category-pill{
  min-height:28px;
  display:inline-flex;
  align-items:center;
  padding:0 9px;
  border:1px solid #e6e8eb;
  border-radius:8px;
  background:#fafbfc;
  color:#5f656d;
  font-size:10.5px;
  font-weight:650;
}

.cka-card-price{
  color:#1d2127;
  font-size:14px;
  line-height:1;
  font-weight:760;
  white-space:nowrap;
}

.cka-card-price .price,
.cka-card-price .amount{
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
}

.cka-card-price del{
  margin-right:4px;
  color:#a1a5ab!important;
  font-size:10px!important;
  font-weight:500!important;
}

.cka-card-price ins{text-decoration:none!important}

.cka-card-title{
  margin:0;
  font-size:18px;
  line-height:1.3;
  font-weight:720;
  letter-spacing:-.025em;
}

.cka-card-title a{
  color:#20242a!important;
  text-decoration:none!important;
}

.cka-card-rating{
  display:flex;
  align-items:center;
  gap:4px;
  margin-top:9px;
  color:#4d5259;
  font-size:10.5px;
  font-weight:650;
}

.cka-card-rating>span:first-child{
  color:#111315;
  font-size:12px;
}

.cka-card-rating em{
  color:#9a9ea5;
  font-style:normal;
  font-weight:500;
}

.cka-card-description{
  min-height:42px;
  display:-webkit-box;
  overflow:hidden;
  margin:12px 0 0;
  color:#777c84;
  font-size:12.5px;
  line-height:1.65;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.cka-card-tech{
  min-height:33px;
  margin-top:14px;
}

.cka-card-tech .ck-tech-card-tags{gap:6px!important}

.cka-card-tech .ck-tech-card-tags>span{
  padding:6px 8px!important;
  border-radius:7px!important;
  background:#f5f6f8!important;
  font-size:10.5px!important;
}

.cka-card-tech img,
.cka-card-tech svg{
  width:15px!important;
  height:15px!important;
}

.cka-card-cta{
  min-height:45px;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:16px;
  padding:0 14px;
  border:1px solid #111315;
  border-radius:11px;
  background:#111315;
  color:#fff!important;
  font-size:12px;
  font-weight:700;
  text-decoration:none!important;
}

.cka-card-cta svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .18s ease;
}

.cka-card-cta:hover svg{transform:translateX(2px)}

.cka-pagination{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
  margin-top:34px;
}

.cka-pagination .page-numbers{
  width:39px;
  height:39px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e1e4e8;
  border-radius:10px;
  background:#fff;
  color:#5b6068!important;
  font-size:11px;
  font-weight:650;
  text-decoration:none!important;
}

.cka-pagination .page-numbers.current{
  border-color:#111315;
  background:#111315;
  color:#fff!important;
}

.cka-empty{
  min-height:400px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:40px;
  border:1px dashed #d9dde2;
  border-radius:13px;
  background:#fafbfc;
  text-align:center;
}

.cka-empty h2{margin:0;font-size:19px}

.cka-empty p{
  max-width:370px;
  margin:8px 0 18px;
  color:#848991;
  font-size:12px;
}

.cka-empty a{
  color:#22262c!important;
  font-size:12px;
  font-weight:700;
}

.cka-mobile-filter-trigger{display:none}
.cka-drawer-overlay,.cka-drawer{display:none}

@media(max-width:1200px){
  .cka-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cka-layout{grid-template-columns:250px minmax(0,1fr);gap:28px}
}

@media(max-width:820px){
  .cka-shell{padding:20px 16px 60px}

  .cka-hero{
    align-items:stretch;
    flex-direction:column;
    gap:22px;
    padding-bottom:28px;
  }

  .cka-hero-copy h1{font-size:36px}
  .cka-search{width:100%}

  .cka-layout{
    display:block;
    padding-top:18px;
  }

  .cka-sidebar{display:none}

  .cka-mobile-filter-trigger{
    min-height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    margin-top:16px;
    padding:0 16px!important;
    border:1px solid #e0e3e7!important;
    border-radius:11px!important;
    background:#fff!important;
    color:#292e34!important;
    font:inherit!important;
    font-size:12px!important;
    font-weight:700!important;
    box-shadow:none!important;
  }

  .cka-mobile-filter-trigger svg{
    width:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
  }

  .cka-mobile-filter-trigger em{
    min-width:21px;
    height:21px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 5px;
    border-radius:7px;
    background:#111315;
    color:#fff;
    font-size:9px;
    font-style:normal;
  }

  .cka-toolbar{
    min-height:auto;
    align-items:flex-start;
    margin-bottom:18px;
  }

  .cka-sort label{display:none}
  .cka-sort select{min-width:145px}

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

  .cka-drawer-overlay{
    position:fixed;
    inset:0;
    z-index:99998;
    display:block;
    background:rgba(13,16,20,.48);
    opacity:0;
    visibility:hidden;
    transition:.2s ease;
  }

  .cka-drawer-overlay.is-open{
    opacity:1;
    visibility:visible;
  }

  .cka-drawer{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    z-index:99999;
    width:min(360px,90vw);
    display:flex;
    flex-direction:column;
    background:#fff;
    transform:translateX(-103%);
    transition:transform .24s cubic-bezier(.4,0,.2,1);
    box-shadow:20px 0 60px rgba(0,0,0,.15);
  }

  .cka-drawer.is-open{transform:none}

  .cka-drawer-head{
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 18px;
    border-bottom:1px solid var(--cka-border);
  }

  .cka-drawer-head strong{
    display:block;
    font-size:17px;
  }

  .cka-drawer-head button{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0!important;
    border:1px solid #e2e4e8!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#333!important;
    box-shadow:none!important;
  }

  .cka-drawer-head svg{
    width:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
  }

  .cka-drawer-content{
    flex:1;
    overflow:auto;
    padding:16px;
  }

  .cka-drawer .cka-filter-form{
    border:0;
    box-shadow:none;
  }

  .cka-drawer .cka-filter-heading{display:none}
}

@media(max-width:560px){
  .cka-grid{grid-template-columns:1fr}
  .cka-toolbar{align-items:center}
  .cka-result-count span{display:none}
  .cka-card-media-actions{opacity:1;transform:none}
  .cka-card-title{font-size:17px}
}
