/* ==========================================================================
   Giassaris — Catalog (PLP + PDP + Filters drawer)
   ========================================================================== */

/* Category pages: no top padding on the main section (page_class body hook). */
[class*="product_category-"] .section { padding-top: 0; }

/* ---- Breadcrumbs ---- */
.breadcrumbs { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--c-text-muted); padding-block: 18px; }
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--c-accent); }
.breadcrumbs .current { color: var(--c-text); }

/* ---- Category banner ---- */
.cat-banner { display: flex; align-items: center; gap: 14px; padding-block: 8px 16px; border-bottom: 1px solid var(--c-border); }
.cat-banner h1 { font-size: var(--fs-2xl); }
.cat-banner svg { width: 30px; height: 20px; color: var(--c-accent); }
.cat-banner i { font-size: 22px; color: var(--c-accent); }
/* Orange angled flag — same shape as .eyebrow::before */
.cat-banner__flag { width: 22px; height: 14px; background: var(--c-accent); clip-path: polygon(5px 0, 91% 0, 0% 100%, 0 100%); flex: none; }

/* ---- Suggestion tabs ---- */
.cat-tabs { display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.cat-tabs__label { font-size: 16px; font-weight: var(--fw-bold); letter-spacing: .06em; color: var(--c-black); }
.cat-tabs__group { display: flex; gap: 10px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cat-tabs__group::-webkit-scrollbar { display: none; }
.chip-tab { height: 44px; padding-inline: 18px; border-radius: 10px; border: 1.5px solid var(--c-border); font-size: var(--fs-sm); font-weight: var(--fw-medium); display: inline-flex; align-items: center; flex: 0 0 auto; white-space: nowrap; }
.chip-tab.is-active, .chip-tab:hover { background: var(--c-black); color: #fff; border-color: var(--c-black); }

/* ---- Toolbar (filters / sorting / view) ---- */
.toolbar { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.toolbar__spacer { flex: 1; }

/* Search results — refine controls (category scope + subcategory/description). */
.search-refine { margin-top: 20px; }
.search-refine__row { display: flex; flex-wrap: wrap; gap: 12px; }
.search-refine__input { flex: 1 1 240px; min-width: 0; height: 50px; padding: 0 18px; border: 1.5px solid var(--c-border); border-radius: 10px; font-size: var(--fs-sm); background: #fff; -webkit-appearance: none; appearance: none; transition: box-shadow var(--t); }
.search-refine__input:hover, .search-refine__input:focus { box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12); outline: none; }
.search-refine__opts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 12px; font-size: var(--fs-sm); }
.search-refine__opts label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
@media (max-width: 560px) {
  .search-refine__row .btn { width: 100%; }
}
.btn-tool { height: 50px; padding-inline: 22px; border: none; border-radius: 10px; display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.04em; background: var(--c-black); color: #fff; transition: background var(--t); }
.btn-tool:hover { background: var(--c-accent); }
.btn-tool svg { width: 18px; height: 18px; }
.btn-tool i { font-size: 16px; }
.select { height: 50px; padding: 0 40px 0 18px; border: 1.5px solid var(--c-border); border-radius: 10px; font-size: var(--fs-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23252525' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; -webkit-appearance: none; appearance: none; transition: box-shadow var(--t); }
.select:hover { box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12); }

/* ---- Selected filter chips ---- */
.selected-filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.selected-filters__label { font-size: var(--fs-xs); font-weight: var(--fw-medium); text-transform: uppercase; color: var(--c-black); }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; height: 29px; padding-inline: 12px; background: var(--c-grey-150); border-radius: var(--radius-pill); font-size: var(--fs-xs); }
.filter-chip button { color: var(--c-grey-500); font-size: 14px; line-height: 1; }
.filter-chip button:hover { color: var(--c-accent); }
.selected-filters__sep { width: 1px; height: 22px; background: var(--c-border); }
.clear-filters { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #e2574c; font-weight: var(--fw-bold); text-transform: uppercase; }

/* ---- cart ---- */
#cart.header__cart #cart-total {
  width: 18px;
  height: 18px;
}

/* ---- Mobile (≤560) — PLP header / tabs / toolbar ---- */
@media (max-width: 560px) {
  .breadcrumbs {
    justify-content: center;
    font-size: 11px;
  }
  .cat-banner {
    justify-content: center;
  }
  .cat-banner h1 {
    font-size: 28px;
  }
  .cat-tabs {
    flex-direction: column;
    align-items: center;
  }
  .cat-tabs__group {
    align-self: stretch;
    justify-content: flex-start;
  }
  .cat-tabs__label {
    font-size: 14px;
  }
  .chip-tab {
    height: 44px;
    font-size: 13px;
  }
  .toolbar {
    gap: 10px;
  }
  .btn-tool,
  .select {
    height: 48px;
    font-size: 14px;
  }
  /* Drop the per-page select + spacer; Φίλτρα and Ταξινόμηση split 50/50.
     Target the limit select structurally (it follows the spacer) so it stays
     hidden regardless of the translated aria-label text. */
  .toolbar__spacer,
  .toolbar__spacer + .select {
    display: none;
  }
  .btn-tool,
  .toolbar > .select {
    flex: 0 0 calc(50% - 5px); /* exact halves; 5px = half the 10px gap */
    min-width: 0;
  }

}

/* ---- Product grid ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 1023px) { .product-grid { grid-template-columns: 1fr 1fr; } }
/* Tablet: 3 across (was 2, which made cards oversized) */
@media (min-width: 768px) and (max-width: 1023px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; gap: 10px; }
  .product-grid.is-cols2 { grid-template-columns: 1fr 1fr; }
  /* same card styling as the PLP 2-col grid — also applied to the
     PDP same-category grid (.samecat), which is 2-col on mobile.
     The .swiper-wrapper part keeps specificity above the .pcard-lg base rules. */
  .product-grid.is-cols2 .product-card__name,
  .samecat .swiper-wrapper .product-card__name {
    font-size: 13px;
  }
  .product-grid.is-cols2 .product-card__price del,
  .samecat .swiper-wrapper .product-card__price del {
    font-size: 12px;
  }
  .product-grid.is-cols2 .product-card__now,
  .samecat .swiper-wrapper .product-card__now {
    font-size: 16px;
  }
  .product-grid.is-cols2 .product-card__body,
  .samecat .swiper-wrapper .product-card__body {
    padding: 14px 8px 16px;
  }
  .product-card__buy {
    height: 40px;
  }
  .product-grid.is-cols2 .product-card__buy i,
  .samecat .swiper-wrapper .product-card__buy i {
    left: 6px;
  }
  /* keep the icon-slide hover working: these card selectors (0,3,1) out-rank
     the generic .product-card__buy:hover i (0,2,1), so restore it at matching
     specificity or the icon stays pinned left and the button looks empty. */
  .product-grid.is-cols2 .product-card__buy:hover i,
  .samecat .swiper-wrapper .product-card__buy:hover i {
    left: 50%;
  }
}

/* ---- Large product card (ProductCard/Large) — PLP grid + same-category swiper ---- */
.pcard-lg {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}
.pcard-lg .product-card__media {
  display: block;
  background: #fff;
}
/* Free-shipping pill (top-left) */
.product-card__ship {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-grey-150);
  color: var(--c-black);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 3px;
}
.pcard-lg .product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}
/* meta row: colour count (left) + wishlist (right) */
.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.product-card__colors {
  background: var(--c-grey-150);
  color: var(--c-text-muted);
  font-size: 10px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 3px;
}
.pcard-lg .product-card__wish {
  position: static;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  color: var(--c-grey-500);
  transition: background var(--t-fast), color var(--t-fast);
}
.pcard-lg .product-card__wish i {
  font-size: 14px;
  line-height: 1;
}
.pcard-lg .product-card__wish:hover {
  color: var(--c-black);
}
.pcard-lg .product-card__wish:hover i {
  font-weight: 900;
}
.pcard-lg .product-card__wish.is-active {
  background: rgba(225, 25, 0, 0.12);
  color: #e11900;
}
.pcard-lg .product-card__name {
  font-size: 16px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  line-height: 1.3;
  min-height: 40px;
}
.pcard-lg .product-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 14px;
}
.product-card__now {
  color: var(--c-accent);
  font-weight: normal;
}
.pcard-lg .product-card__price del {
  font-size: 15px;
}
/* Buy button pinned to the bottom of the card.
   Text centered, icon at the left; on hover the icon slides to the
   centre while the text fades out. */
.product-card__buy {
  position: relative;
  margin-top: auto;
  text-transform: none;
  overflow: hidden;
}
.product-card__buy i {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  transition: left 0.3s ease, transform 0.3s ease;
}
.product-card__buy:hover i {
  left: 50%;
  transform: translate(-50%, -50%);
}
.product-card__buy-text {
  transition: opacity 0.2s ease;
}
.product-card__buy:hover .product-card__buy-text {
  opacity: 0;
}

/* ---- Mobile (≤560) — product card refinements ---- */
@media (max-width: 560px) {
  .product-card__ship {
    height: 22px;
    padding-block: 0;
    font-size: 12px;
    font-weight: var(--fw-medium);
  }
  .product-card__colors {
    font-size: 10px;
    padding: 11px 12px;
    border-radius: 8px;
  }
  .product-card__buy {
    border-radius: 4px;
  }
}

/* ---- Related products sliders (centered title + cards like home best-sellers
   + nav/pagination centered below) ---- */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.sec-head .eyebrow { justify-content: center; font-size: 28px; }
.sec-head .eyebrow::before { content: ''; width: 22px; height: 14px; background: var(--c-accent); clip-path: polygon(5px 0, 91% 0, 0% 100%, 0 100%); flex: none; }
.sec-head__sub { margin-top: 16px; font-size: 14px; color: var(--c-text-muted); }

/* cards — identical to the home best-sellers cards */
.product-swiper .product-card { border: 1px solid var(--c-grey-300); border-radius: 16px; transition: border-color var(--t); background: #fff; height: auto;}
.product-swiper .product-card__media { background: #fff; }
.product-swiper .product-card__price { color: var(--c-accent); }
.product-card__swatches { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 5px; }
.product-card__swatches span { display: block; width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--c-grey-300); }
.product-card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--c-grey-500); transition: color var(--t); }
.product-card__more-icon { transition: transform var(--t), color var(--t); }
.product-swiper .product-card:hover { border-color: var(--c-grey-700); }
.product-swiper .product-card:hover .product-card__more { color: var(--c-accent); }
.product-swiper .product-card:hover .product-card__more-icon { transform: translateX(5px); }

/* Same-category section: full-bleed width with PLP-style cards */
.samecat { padding-inline: var(--gutter); }
.samecat .samecat-swiper { overflow: hidden; }
/* load-more button is mobile-only (see ≤560 block) */
.samecat__more { display: none; }

/* nav + pagination centered below the swiper */
.rel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.rel-nav { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--c-border); display: grid; place-items: center; font-size: 18px; color: var(--c-text-muted); transition: var(--t-fast); }
.rel-nav:hover { border-color: var(--c-black); color: var(--c-black); }
.rel-nav.swiper-button-disabled { opacity: .35; cursor: default; }
.rel-controls .swiper-pagination { position: static; width: auto; display: flex; justify-content: center; gap: 8px; }
.rel-controls .swiper-pagination-bullet { width: 28px; height: 2px; margin: 0; border-radius: 3px; background: var(--c-grey-300); opacity: 1; }
.rel-controls .swiper-pagination-bullet-active { background: var(--c-grey-700); }
/* Phone: drop the nav arrows (touch users swipe) — they pushed the controls
   wider than the viewport and caused horizontal page scroll. Pagination stays. */
@media (max-width: 560px) {
  .rel-nav { display: none; }
}

/* ---- Pagination ---- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; font-size: var(--fs-xs); border: 1.5px solid transparent; color: var(--c-text-muted); }
.pagination a:hover { border-color: var(--c-border); }
.pagination .is-active { background: var(--c-black); color: #fff; }
.pagination .nav-btn { display: inline-flex; align-items: center; padding-inline: 16px; border-color: transparent; font-size: 12px; gap: 12px; }
.pagination .nav-btn:hover { border-color: transparent; }
/* Mobile: page numbers on top (centered), prev/next on a second row below */
@media (max-width: 560px) {
  .pagination { flex-wrap: wrap; row-gap: 18px; margin-top: 32px; }
  .pagination .nav-btn { flex: 1 1 calc(50% - 4px); padding-inline: 4px; gap: 8px; white-space: nowrap; }
  .pagination .nav-btn:first-child { order: 2; justify-content: flex-start; }
  .pagination .nav-btn:last-child { order: 3; justify-content: flex-end; }
}

/* ==========================================================================
   Filters drawer
   ========================================================================== */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1002; opacity: 0; visibility: hidden; transition: var(--t); }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; left: 0; height: 100%; width: 460px; max-width: 90vw; background: #fff; z-index: 1003; transform: translateX(-100%); transition: transform var(--t); display: flex; flex-direction: column; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; border-bottom: 1px solid var(--c-border); }
.drawer__head h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 10px; }
.drawer__head .icon-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--c-grey-150); transition: background var(--t-fast); }
.drawer__head .icon-btn:hover { background: var(--c-grey-300); }
/* Layout toggle (1-col / 2-col) — mobile only, sits before the close button */
.view-toggle { display: none; gap: 6px; margin-left: auto; margin-right: 12px; }
.view-toggle button { height: 20px; display: grid; place-items: center; background: none; color: var(--c-grey-500); font-size: 20px; transition: color var(--t-fast); }
.view-toggle button.is-active { color: var(--c-accent); }
/* Divider between the layout toggle and the close button (mobile only) */
.drawer__head-sep { display: none; width: 1px; height: 24px; background: var(--c-border); }

.drawer__body { flex: 1; overflow-y: auto; }
.drawer__foot { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; padding: 20px 28px; border-top: 1px solid var(--c-border); }
.drawer-clear { display: inline-flex; height: 50px; width: 100%; align-items: center; gap: 8px; padding: 0 18px; background: #fdecea; color: #e2574c; border: none; border-radius: 8px; font-size: 11px; font-weight: var(--fw-bold); line-height: 1.2; text-align: left; cursor: pointer; transition: background var(--t); }
.drawer-clear i { font-size: 15px; }
.drawer-clear:hover { background: #fbdbd8; }
.drawer-apply { flex: 1; justify-content: space-between; font-size: 13px; }
.filter-group { border-bottom: 1px solid var(--c-border); padding: 22px 28px; }
.filter-group__title { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-sm); font-weight: var(--fw-bold); cursor: pointer; }
.filter-group__title svg { width: 14px; height: 14px; transition: transform var(--t); }
.filter-group__title i { font-size: 13px; transition: transform var(--t); }
.filter-group.is-collapsed .filter-group__body { display: none; }
.filter-group.is-collapsed .filter-group__title svg { transform: rotate(180deg); }
.filter-group.is-collapsed .filter-group__title i { transform: rotate(180deg); }
.filter-group__body { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px 16px; }
.fcheck { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); cursor: pointer; }
.fcheck input { width: 24px; height: 24px; }
/* off: light-grey fill, no border (checked state stays orange+white via the global rule) */
.fcheck input:not(:checked) { background: var(--c-grey-150); border-color: transparent; }
/* re-centre the checkmark for the larger 24px box */
.fcheck input:checked::after { left: 8px; top: 4px; }

/* price range */
.price-inputs { display: flex; align-items: center; gap: 12px; width: 100%; }
.price-inputs .field { flex: 1; }
.price-inputs .field input { height: 50px; padding: 20px 16px 6px; color: var(--c-accent); }
.range { position: relative; height: 3px; background: var(--c-grey-300); border-radius: 3px; margin: 28px 6px 6px; width: 100%; }
.range__fill { position: absolute; height: 100%; background: var(--c-black); border-radius: 3px; }
.range__handle { position: absolute; top: 50%; width: 20px; height: 20px; background: var(--c-accent); border: 2px solid #fff; border-radius: 50%; transform: translate(-50%,-50%); }

@media (max-width: 560px) {
  .drawer { width: 95vw; max-width: 95vw; }
  .view-toggle { display: flex; margin-right: 0; }
  .drawer__head { height: 50px; padding: 0 14px; }
  .drawer__head .icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--c-grey-150);
    font-size: 8px;
  }
  .drawer__head-sep { display: block; margin: 0 12px; }
  .drawer__foot {
    padding: 16px 10px;
    flex-wrap: wrap;
  }
  .drawer-clear {
    height: 50px;
    width: 100%;
  }
  .drawer-apply {
    font-size: 11px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sec-head .eyebrow {
    font-size: 24px;
    letter-spacing: 0;
  }
}
/* ==========================================================================
   PDP — gallery + info
   ========================================================================== */
/* pinfo is responsive (clamp) so the gallery no longer gets crushed on laptops;
   the 773px gallery cap + 586px pinfo max keep the signed-off look on ≥1600. */
.pdp { display: grid; grid-template-columns: minmax(0, 773px) clamp(400px, 40%, 586px); margin-top: 1rem; gap: clamp(40px, 4vw, 64px); justify-content: center; align-items: start; padding-top: 8px; }
@media (max-width: 1023px) { .pdp { grid-template-columns: 1fr; gap: 32px; } }

.gallery { position: sticky; top: 110px; display: grid; grid-template-columns: 80px 1fr; gap: 16px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumb { aspect-ratio: 1/1; background: var(--c-grey-150); border-radius: var(--radius-sm); border: 1.5px solid transparent; cursor: pointer; overflow: hidden; }
.gallery__thumb.is-active { border-color: var(--c-black); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main { position: relative; aspect-ratio: 1/1.05; background: var(--c-grey-150); border-radius: var(--radius); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__badge { position: absolute; top: 16px; right: 16px; background: var(--c-accent); color: #fff; font-size: var(--fs-xs); font-weight: var(--fw-bold); padding: 6px 12px; border-radius: 3px; }

/* Tablet + phone: gallery stacks (main image on top, thumbs in a scrollable row
   below) and is no longer sticky. */
@media (max-width: 1023px) {
  .header {
    border-bottom: 1px solid var(--c-border);
  }
  .gallery {
    position: static;
    top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .gallery__main {
    order: -1;
    aspect-ratio: 1/1.05;
    width: 100%;
  }
  .gallery__thumbs {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .gallery__thumb {
    flex: 0 0 64px;
    width: 64px;
  }
}
/* Tablet: center the stacked product column so the image isn't oversized
   (phones ≤560 stay full-bleed). */
@media (min-width: 561px) and (max-width: 1023px) {
  .pdp {
    max-width: 600px;
    margin-inline: auto;
  }
}
/* Wishlist / favourite button (shared PLP + PDP) */
.wish-btn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: none; color: var(--c-grey-500); transition: background var(--t-fast), color var(--t-fast); }
.wish-btn i { font-size: 14px; line-height: 1; }
.wish-btn:hover { color: var(--c-black); }
.wish-btn:hover i { font-weight: 900; }
.wish-btn.is-active { background: rgba(225, 25, 0, 0.12); color: #e11900; }

.pinfo__top { display: flex; align-items: flex-start; justify-content: space-between; }
.pinfo__brand { display: inline-flex; align-items: center; height: 50px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: 10px; }
.pinfo__brand img { max-height: 34px; width: auto; }
.pinfo__title { font-size: 26px; font-weight: var(--fw-bold); margin: 14px 0 18px; }
.pinfo__price { display: flex; align-items: baseline; gap: 12px; }
.pinfo__price .now { font-size: 26px; font-weight: var(--fw-book); color: var(--c-accent); }
.pinfo__price .was { font-size: var(--fs-base); color: var(--c-grey-500); text-decoration: line-through; }
.pinfo__meta { display: flex; justify-content: space-between; gap: 32px; padding: 16px 0; margin: 16px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); font-size: var(--fs-sm); }
.pinfo__meta b { font-weight: var(--fw-bold); }
.pinfo__label { font-size: var(--fs-xs); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.pinfo__label span {
  font-size: 10px;
}
.pinfo__block { margin: 22px 0; }

.swatches { display: flex; gap: 6px; }
.swatch { width: 64px; height: 80px; border-radius: var(--radius-sm); border: 1.5px solid var(--c-border); overflow: hidden; cursor: pointer; }
.swatch.is-active { border-color: var(--c-black); }
.swatch img { width: 100%; height: 100%; object-fit: cover; }

.sizes { display: flex; gap: 4px; flex-wrap: wrap; }
.size { min-width: 48px; height: 49px; padding-inline: 12px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); display: grid; place-items: center; font-size: var(--fs-sm); font-weight: var(--fw-medium); cursor: pointer; }
.size.is-active { background: var(--c-black); color: #fff; border-color: var(--c-black); }
.size.is-disabled { background: var(--c-grey-150); color: var(--c-grey-500); border-color: var(--c-grey-150); cursor: not-allowed; }
.size-guide { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--c-black); transition: border-color var(--t-fast); }
.size-guide i { color: var(--c-accent); font-size: 14px; }
.size-guide:hover { border-color: var(--c-black); }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--c-border); border-radius: 10px; height: 60px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; font-size: 18px; color: var(--c-grey-500); }
.qty input { width: 44px; text-align: center; border: none; height: 100%; font-weight: var(--fw-bold); }
.buy-row { display: flex; gap: 12px; margin-top: 22px; }
.buy-row .btn { flex: 1; height: 60px; }
/* Add-to-cart: bag icon at the left, label centred */
.buy-row__add { position: relative; border-radius: 10px; text-transform: none; font-size: var(--fs-base); overflow: hidden; }
.buy-row__add i { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); font-size: 16px; transition: left 0.3s ease, transform 0.3s ease; }
.buy-row__add:hover i { left: 50%; transform: translate(-50%, -50%); }
.buy-row__add span { transition: opacity 0.2s ease; }
.buy-row__add:hover span { opacity: 0; }
.buy-row .wish-btn--inline { display: none; }
/* Laptop: the pinfo column hits its 400px min here, so the add-to-cart button
   gets narrow and the centred label collided with the left bag icon. Trim the
   label size and pull the icon to the edge so they clear. */
@media (min-width: 1024px) and (max-width: 1499px) {
  .buy-row__add { font-size: 14px; }
  .buy-row__add i { left: 16px; }
}

.klarna-box, .installments-box, .extras-box { border: 1.5px solid var(--c-border); border-radius: var(--radius); padding: 18px 20px; margin-top: 18px; }
/* Extras + installments grouped in one gray panel */
.addons-box { background: var(--c-grey-100); border-radius: var(--radius); padding: 20px; margin-top: 8px; }
.addons-box .extras-box, .addons-box .installments-box { border: none; border-radius: 0; padding: 0; margin-top: 0; }
.addons-box .pinfo__label { color: var(--c-black); text-transform: none; letter-spacing: 0; font-size: 13px; }
/* Extra add-on cards (white rows: image · title · sizes · price · add) */
.extra-item { display: flex; align-items: flex-start; gap: 12px; background: #fff; border-radius: 8px; padding: 12px; margin-top: 4px; border: 1px solid var(--c-grey-300);}
.extra-item__img { width: 75px; height: 75px; flex: none; object-fit: contain; border-radius: 8px; background: var(--c-grey-150); }
.extra-item__info { flex: 1; min-width: 0; }
.extra-item__title { font-size: var(--fs-xs); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.3; }
.extra-item__sizes-label { display: block; margin-top: 8px; font-size: 10px; color: var(--c-text-muted); }
.extra-item__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.extra-chip { min-width: 30px; height: 26px; padding-inline: 6px; border: 1px solid var(--c-border); border-radius: 6px; font-size: 11px; font-weight: var(--fw-medium); display: inline-flex; align-items: center; justify-content: center; transition: var(--t-fast); }
.extra-chip:hover, .extra-chip.is-active { background: var(--c-black); color: #fff; border-color: var(--c-black); }
.extra-item__action { display: flex; align-items: center; gap: 10px; margin-left: auto; align-self: center; }
.extra-item__price { font-size: var(--fs-sm); font-weight: var(--fw-book); color: var(--c-accent); white-space: nowrap; }
.extra-item__add { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--c-accent); color: var(--c-accent); display: grid; place-items: center; font-size: 11px; transition: var(--t-fast); }
.extra-item__add:hover { background: var(--c-accent); color: #fff; }
.klarna-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }
.klarna-osm, .klarna-osm .container { border-radius: 8px; overflow: hidden; }
.free-ship { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--fs-sm); color: var(--c-text-muted); background: var(--c-grey-100); border-radius: 10px; padding: 14px; margin-top: 14px; }
.free-ship svg { width: 16px; height: 16px; color: var(--c-text-muted); }
.free-ship i { color: var(--c-text-muted); }

/* ---- Info tabs + description ---- */
.info-section { max-width: 1200px; margin: 56px auto 0; }
.info-tabs { display: flex; justify-content: center; gap: 8px; overflow-x: auto; }
.info-tab { padding: 12px 22px; font-size: var(--fs-sm); font-weight: var(--fw-bold); white-space: nowrap; border-radius: var(--radius-pill); background: var(--c-grey-150); color: var(--c-black); transition: background var(--t-fast), color var(--t-fast); }
.info-tab:hover { background: var(--c-grey-300); }
.info-tab.is-active { background: var(--c-black); color: #fff; }
.info-content { padding: 28px 0; max-width: 1189px; color: var(--c-text-muted); line-height: 1.7; }
.info-content h4 { color: var(--c-text); margin: 18px 0 8px; }

/* ---- PDP video promo ---- */
.pdp-video { position: relative; height: 660px; border-radius: var(--radius-lg); overflow: hidden; background: var(--grad-dark); color: #fff; display: flex; align-items: center; margin-top: 8px; }
.pdp-video::before { content: ""; position: absolute; inset: 0; width: 57%; background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.pdp-video__content { position: relative; z-index: 1; max-width: 460px; padding-left: 50px; }
.pdp-video__content h3 { font-size: var(--fs-xl); margin-bottom: 14px; }
/* Tablet: shorter feature banner (matches the home fsbanner treatment) */
@media (min-width: 561px) and (max-width: 1023px) {
  .pdp-video { height: 480px; }
}

@media (max-width: 1024px) {
  .info-tabs {
    justify-content: start;
  }
}

@media (max-width: 560px) {
  /* gallery stacking now handled in the ≤1023 block above */
  .gallery__badge {
    height: 20px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
  }
  /* drop the breadcrumb on the PDP only */
  .container:has(> .pdp) > .breadcrumbs {
    display: none;
  }
  /* brand sits to the right of the title */
  .pinfo {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    column-gap: 12px;
  }
  .pinfo > * {
    grid-column: 1 / -1;
  }
  .pinfo__top {
    grid-column: 2;
    grid-row: 1;
  }
  .pinfo__top .wish-btn {
    display: none;
  }
  .pinfo__title {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0;
    font-size: 18px;
  }
  .size-guide {
    padding: 6px 12px;
  }
  .extra-item__price {
    font-size: 11px;
  }
  .extra-item__add {
    width: 20px;
    height: 20px;
  }
  .extra-item__action {
    margin-bottom: auto;
    margin-top: 0;
  }
  .addons-box {
    padding: 20px 16px;
    /* break out of the .container 16px side padding → full width */
    margin-inline: -16px;
  }
  .addons-box.installments-calculator {
    background: transparent;
  }
  .klarna-box a {
    font-size: 10px;
  }
  .buy-row {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 8px;
  }
  .buy-row .qty {
    flex: 1 1 100%;
  }
  .buy-row .buy-row__add {
    flex: 1;
    font-size: 14px;
  }
  .buy-row .wish-btn--inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(225, 25, 0, 0.12);
    color: #e11900;
  }
  .buy-row .wish-btn--inline i {
    font-size: 18px;
  }
  .pdp .qty input {
    width: 100%;
  }
  .pdp .qty button {
    min-width: 40px;
    width: 40px;
  }
  .pdp .qty button:first-child {
    border-right: 1px solid var(--c-grey-300);
  }
  .pdp .qty button:last-child {
    border-left: 1px solid var(--c-grey-300);
  }
  .buy-row__add {
    border-radius: 8px;
  }
  .free-ship {
    font-size: 11px;
    padding: 13px 20px;
  }
  .info-section p {
    font-size: 13px;
  }
  .pdp-video__content {
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    justify-content: center;
  }
  .pdp-video__content h3 {
    font-size: 20px;
  }
  .pdp-video_content p {
    font-size: 14px;
  }
  .pdp-video {
    display: flex;
    text-align: center;
    align-items: end;
    padding-bottom: 2rem;
  }
  .sec-head__sub {
    margin-top: 10px;
  }
  .product-card__price, .product-card__more {
    font-weight: var(--fw-book);
  }
  .pinfo__block {
    margin: 8px 0;
  }
  .addons-box {
    border-radius: 0;
  }
  .klarna-box {
    padding: 10px 12px;
  }
  /* Same-category: swiper → 2-col grid + load-more (no carousel on mobile) */
  .samecat .samecat-swiper {
    overflow: visible;
  }
  .samecat .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    transform: none !important;
  }
  .samecat .swiper-slide {
    width: auto !important;
    margin: 0 !important;
  }
  .samecat .swiper-slide.is-hidden {
    display: none;
  }
  .samecat .rel-controls {
    display: none;
  }
  .samecat__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 195px;
    height: 40px;
    margin: 16px auto 0;
    border: none;
    border-radius: 20px;
    background: var(--c-grey-150);
    color: var(--c-black);
    font-size: 12px;
    font-weight: var(--fw-medium);
  }
  .samecat__more i {
    font-size: 11px;
  }
}

/* ---------- Filters drawer: module states & ion.rangeSlider skin ---------- */
.fcheck.is-disabled { opacity: .45; pointer-events: none; }
.fcheck__count { color: var(--c-text-muted); font-size: var(--fs-xs); }
.filter-group__clear { margin-left: auto; margin-right: 10px; font-size: var(--fs-xs); color: var(--c-accent); cursor: pointer; }
.filter-group .irs--flat { margin: 20px 6px 0; }
.filter-group .irs--flat .irs-line { top: 30px; height: 3px; background: var(--c-grey-300); border-radius: 3px; }
.filter-group .irs--flat .irs-bar { top: 30px; height: 3px; background: var(--c-black); }
.filter-group .irs--flat .irs-handle { top: 21px; width: 20px; height: 20px; background: var(--c-accent); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.2); cursor: grab; }
.filter-group .irs--flat .irs-handle > i { display: none; }
.filter-group .irs--flat .irs-min, .filter-group .irs--flat .irs-max,
.filter-group .irs--flat .irs-from, .filter-group .irs--flat .irs-to, .filter-group .irs--flat .irs-single { display: none; }