/* =========================================================================
   SHOP / PRODUCT CATEGORY ARCHIVE
   ========================================================================= */

/* --- Hero ------------------------------------------------------------- */

.sky-shop-hero{
  position:relative;
  display:flex;
  align-items:flex-end;
  background:var(--c-navy-900);
  color:#fff;
  overflow:hidden;
}

/* With a category image: a tall cinematic band, the photo behind a scrim
   dark enough to keep the title legible whatever the photo is. Without one
   the band collapses to a short flat header rather than an empty black box. */
.sky-shop-hero--image{
  min-height:clamp(280px,42vw,460px);
  background-image:
    linear-gradient(to bottom, rgba(10,18,39,.15) 0%, rgba(10,18,39,.72) 72%, rgba(10,18,39,.9) 100%),
    var(--sky-hero-image);
  background-size:cover;
  background-position:center 35%;
}
.sky-shop-hero--plain{
  min-height:0;
  padding-block:var(--sp-6);
  text-align:center;
  align-items:center;
  justify-content:center;
}

.sky-shop-hero__inner{
  position:relative;
  z-index:1;
  width:100%;
  padding-block:var(--sp-5);
}
.sky-shop-hero--plain .sky-shop-hero__inner{padding-block:0;}

.sky-shop-hero .sky-breadcrumbs,
.sky-shop-hero .sky-breadcrumbs a{color:rgba(255,255,255,.78);}
.sky-shop-hero .sky-breadcrumbs a:hover{color:#fff;}
.sky-shop-hero .eyebrow{color:var(--c-cyan);}

.sky-shop-hero__title{
  margin:0 0 .3em;
  color:#fff;
  font-size:var(--fs-h1);
  line-height:var(--lh-tight);
}
.sky-shop-hero__copy{
  max-width:56ch;
  margin:0;
  color:rgba(255,255,255,.86);
  font-size:1.0625rem;
}
.sky-shop-hero--plain .sky-shop-hero__copy{margin-inline:auto;}

/* --- Category pills --------------------------------------------------- */

.sky-shop-cats{
  display:flex;gap:.6rem;flex-wrap:wrap;padding-block:var(--sp-3);
}
.sky-shop-cats__pill{
  padding:.55em 1.2em;border:1px solid var(--c-border);border-radius:99px;
  font-size:.8rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--c-muted);
  transition:all var(--dur) var(--ease);
}
.sky-shop-cats__pill:hover{border-color:var(--c-navy-900);color:var(--c-navy-900);}
.sky-shop-cats__pill.is-active{background:var(--c-navy-900);border-color:var(--c-navy-900);color:#fff;}

/* --- Utility bar ------------------------------------------------------ */

/* Sticky under the site header: with a long grid, sort and filter should
   stay reachable without scrolling back to the top. */
.sky-shop-bar{
  position:sticky;
  top:var(--header-h,92px);
  z-index:40;
  background:#fff;
  border-block:1px solid var(--c-border);
}
.sky-shop-bar__inner{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:var(--sp-2);
  min-height:56px;
}
.sky-shop-bar__count{
  margin:0;
  text-align:center;
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--c-muted);
  white-space:nowrap;
}
.sky-shop-bar__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.5rem;
}

.sky-shop-bar__density{display:flex;gap:2px;}
.sky-density-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border:0;background:transparent;border-radius:6px;
  color:var(--c-muted-2);cursor:pointer;transition:color var(--dur) var(--ease),background var(--dur) var(--ease);
}
.sky-density-btn svg{width:17px;height:17px;fill:currentColor;}
.sky-density-btn:hover{color:var(--c-navy-900);background:var(--c-paper);}
.sky-density-btn.is-active{color:var(--c-navy-900);}

.sky-shop-bar .woocommerce-ordering{margin:0;}
.sky-shop-bar select{
  border:1px solid var(--c-border);border-radius:var(--radius-s,8px);
  padding:.5rem .8rem;font-size:.78rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  background:#fff;color:var(--c-ink);cursor:pointer;
}

.sky-shop-filter-toggle{
  display:inline-flex;align-items:center;gap:.5rem;
  border:1px solid var(--c-border);border-radius:var(--radius-s,8px);background:#fff;
  padding:.5rem 1rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;
  cursor:pointer;transition:border-color var(--dur) var(--ease);
}
.sky-shop-filter-toggle:hover{border-color:var(--c-navy-900);}
.sky-shop-filter-toggle svg{width:16px;height:16px;}

/* --- The grid --------------------------------------------------------- */

.sky-shop-results{padding-block:var(--sp-5);}

.sky-shop-results ul.products{
  display:grid;
  grid-template-columns:repeat(var(--sky-shop-cols,4),1fr);
  gap:var(--sp-4) var(--sp-3);
  list-style:none;
  margin:0;
  padding:0;
}
.sky-shop-results ul.products::before,
.sky-shop-results ul.products::after{content:none;}

/* Density toggle writes --sky-shop-cols on the grid; these are the two
   states the buttons offer, with the responsive rules below overriding
   both once there is no longer room. */
.sky-shop-results ul.products[data-cols="2"]{--sky-shop-cols:2;}
.sky-shop-results ul.products[data-cols="4"]{--sky-shop-cols:4;}

.sky-shop-results .woocommerce-pagination{margin-top:var(--sp-5);}
.sky-shop-results .woocommerce-pagination ul{
  display:flex;gap:.35rem;justify-content:center;list-style:none;margin:0;padding:0;border:0;
}
.sky-shop-results .woocommerce-pagination li{border:0;margin:0;}
.sky-shop-results .woocommerce-pagination a,
.sky-shop-results .woocommerce-pagination span{
  display:flex;align-items:center;justify-content:center;
  min-width:38px;height:38px;padding:0 .6rem;
  border:1px solid var(--c-border);border-radius:8px;
  font-size:.85rem;font-weight:600;
}
.sky-shop-results .woocommerce-pagination .current{
  background:var(--c-navy-900);border-color:var(--c-navy-900);color:#fff;
}

/* --- Filter drawer ---------------------------------------------------- */

/* A drawer at every width, not only on mobile. With four columns of
   products the page has no room for a permanent sidebar, and the reference
   pattern puts filters behind a button on desktop too. */
.sky-shop-filters{
  position:fixed;top:0;right:0;bottom:0;
  width:min(380px,90vw);
  background:#fff;
  z-index:1100;
  padding:var(--sp-4);
  overflow-y:auto;
  transform:translateX(100%);
  transition:transform .38s var(--ease);
  box-shadow:-20px 0 50px -30px rgba(10,18,39,.6);
}
.sky-shop-filters.is-open{transform:translateX(0);}

.sky-shop-filters__head{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:var(--sp-3);padding-bottom:var(--sp-2);
  border-bottom:1px solid var(--c-border);
}
.sky-shop-filters__head h4{margin:0;font-size:1rem;letter-spacing:.08em;text-transform:uppercase;}

.sky-shop-filters__group{margin-bottom:var(--sp-4);}
.sky-shop-filters__group h5{
  margin:0 0 .75rem;font-size:.75rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--c-muted);
}

.sky-shop-filters__list{list-style:none;margin:0;padding:0;}
.sky-shop-filters__list li{margin-bottom:.15rem;}
.sky-shop-filters__list a{
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  padding:.5rem .6rem;border-radius:8px;font-size:.95rem;color:var(--c-ink);
}
.sky-shop-filters__list a:hover{background:var(--c-paper);}
.sky-shop-filters__list a.is-active{background:var(--c-navy-900);color:#fff;}
.sky-shop-filters__list span{font-size:.8rem;opacity:.6;}

.sky-shop-filters__price{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;}
.sky-shop-filters__price label{flex:1 1 90px;margin:0;}
.sky-shop-filters__price input{
  width:100%;padding:.6rem .7rem;border:1px solid var(--c-border);border-radius:8px;font:inherit;font-size:.95rem;
}
.sky-shop-filters__price .btn{flex:1 1 100%;margin-top:.35rem;}
.sky-shop-filters__clear{
  display:inline-block;margin-top:.6rem;font-size:.85rem;color:var(--c-muted);text-decoration:underline;
}

.sky-shop-filters__widgets{border-top:1px solid var(--c-border);padding-top:var(--sp-3);}
.sky-shop-filters__widgets .widget{margin-bottom:var(--sp-3);}
.sky-shop-filters__widgets .widget-title{
  font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--c-muted);margin-bottom:.6rem;
}

.sky-shop-filters__backdrop{
  position:fixed;inset:0;background:rgba(10,18,39,.5);z-index:1050;
  opacity:0;pointer-events:none;transition:opacity .38s var(--ease);
}
.sky-shop-filters__backdrop.is-open{opacity:1;pointer-events:auto;}

.sky-shop-customiser-cta{margin-top:0;}

/* --- Responsive ------------------------------------------------------- */

@media (max-width:1200px){
  .sky-shop-results ul.products{--sky-shop-cols:3;}
  .sky-shop-results ul.products[data-cols="2"]{--sky-shop-cols:2;}

}
@media (max-width:1024px){
.sky-shop-results ul.products[data-cols="4"]{--sky-shop-cols:3;}
  
}
@media (max-width:900px){
  .sky-shop-results ul.products,
  .sky-shop-results ul.products[data-cols="4"]{--sky-shop-cols:2;}
  /* Density buttons stop meaning anything once the grid is locked to two. */
  .sky-shop-bar__density{display:none;}
  .sky-shop-bar__inner{grid-template-columns:1fr auto;}
  .sky-shop-bar__count{text-align:left;}
  .sky-shop-hero--image{min-height:240px;}
}
@media (max-width:560px){
  .sky-shop-bar__inner{grid-template-columns:1fr;row-gap:.5rem;padding-block:.6rem;}
  .sky-shop-bar__actions{justify-content:space-between;}
  .sky-shop-bar select{flex:1 1 auto;}
  /* Small phones: the sort box and Filter button share the row and may
     shrink, instead of pushing the bar wider than the screen. */
  .sky-shop-bar__inner > *{min-width:0;}
  .sky-shop-bar__actions{gap:.4rem;}
  .sky-shop-bar .woocommerce-ordering{flex:1 1 0;min-width:0;}
  .sky-shop-bar .woocommerce-ordering select{width:100%;min-width:0;max-width:100%;padding-inline:.6rem;}
  .sky-shop-filter-toggle{flex:none;padding:.5rem .8rem;}
  .sky-shop-bar__count{white-space:normal;}
  .sky-shop-results ul.products{gap:var(--sp-3) var(--sp-2);}
  .sky-shop-results ul.products[data-cols="4"]{--sky-shop-cols:1}
}

/* --- Phones: products in a 2-column grid (2026-11-13) ------------------
   Like boxxerworld.com/create: two cards side by side, big picture on top,
   then name, price and "Design now"; the page scrolls them (smooth). The
   old swipe slider's arrows (assets/js/shop.js) stay hidden. */
.sky-shop-slider-nav{display:none !important;}
@media (max-width:560px){
  .sky-shop-results ul.products,
  .sky-shop-results ul.products[data-cols="2"],
  .sky-shop-results ul.products[data-cols="4"]{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;
    overflow:visible;scroll-snap-type:none;margin:0;padding:0;
  }
  .sky-shop-results ul.products > *{flex:none;max-width:none;width:auto;margin:0;min-width:0;}
  .sky-shop-results ul.products > :only-child{grid-column:1 / -1;}
  .sky-shop-results .sky-product-card{height:100%;}
  .sky-shop-results .sky-product-card__link{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:12px;overflow:hidden;}
  .sky-shop-results .sky-product-card__media{aspect-ratio:4/5;overflow:hidden;}
  .sky-shop-results .sky-product-card__img{width:100%;height:100%;object-fit:cover;object-position:center 45%;}
  .sky-shop-results .sky-product-card__img--hover{display:none !important;}
  .sky-shop-results .sky-product-card__media .sky-badge{font-size:9px;padding:4px 6px;z-index:2;}
  .sky-shop-results .sky-product-card__info{flex:1 1 auto;display:flex;flex-direction:column;gap:3px;padding:12px 10px;min-width:0;}
  .sky-shop-results .sky-product-card__cat{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .sky-shop-results .sky-product-card__title{font-size:14px;line-height:1.2;margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .sky-shop-results .sk-product-bottom{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:auto;padding-top:8px;}
  .sky-shop-results .sky-product-card__price{font-size:14px;}
  .sky-shop-results .sky-card-design{min-height:40px;display:flex;align-items:center;justify-content:center;padding:0 8px;font-size:13px;white-space:nowrap;width:100%;box-sizing:border-box;}

  /* Card text (Option D, 2026-11-13): the category sits as a yellow tag on
     the picture (in place of "Design your own"), bold capital name, plain
     "From £99.00", black "Design now" button. */
  .sky-shop-results .sky-product-card__media .sky-badge{display:none !important;}
  .sky-shop-results .sky-product-card__info{position:relative;gap:4px;padding:12px 8px 8px;}
  .sky-shop-results .sk-cat-wrap{position:absolute;left:8px;top:-8px;transform:translateY(-100%);z-index:3;max-width:calc(100% - 16px);margin:0;display:flex;}
  .sky-shop-results .sky-product-card__cat{background:#fdc502;color:#111;font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:1.2;padding:4px 6px;border-radius:0;white-space:normal;overflow:visible;text-overflow:clip;}
  .sky-shop-results .sky-product-card__title{font-size:15px !important;font-weight:800;line-height:1.2;text-transform:uppercase;letter-spacing:.01em;min-height:2.4em;color:#111;}
  .sky-shop-results .sk-product-bottom{gap:8px;padding-top:2px;}
  .sky-shop-results .sky-product-card__price{font-size:14px;font-weight:500;line-height:1.3;color:#333;}
  .sky-shop-results .sky-product-card__price .sky-price-from{font-size:inherit !important;font-weight:inherit !important;letter-spacing:0 !important;text-transform:none !important;opacity:1 !important;margin-right:.25em !important;display:inline !important;}
  .sky-shop-results .sky-product-card__price .amount{font-weight:inherit;display:inline !important;}
  .sky-shop-results .sky-card-design,
  .sky-shop-results .sky-product-card__link:hover .sky-card-design,
  .sky-shop-results .sky-card-design:hover{background:#111 !important;color:#fff !important;border-color:#111 !important;border-radius:4px !important;min-height:40px !important;height:auto !important;padding:0 8px !important;font-size:13px !important;font-weight:600;box-shadow:none;}
}


