/* ================================================================
   Category Page Styles
   Extracted from category.blade.php inline <style> block
   All brand colors via design-system.css variables
================================================================ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ch { overflow: hidden; }
.ch__wrap { position: relative; }
.ch__img { width: 100%; height: clamp(220px, 30vw, 520px); object-fit: cover; object-position: center; display: block; }
.ch__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.05) 100%); pointer-events: none; }
.ch__body { position: absolute; inset: 0; display: flex; align-items: center; }
.ch__inner { max-width: 600px; color: #fff; padding: 24px 0; }
.ch__top-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ch__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border-radius: 20px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ch__title { font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 900; line-height: 1.1; letter-spacing: .02em; margin: 0 0 10px; color: #fff; }
.ch__intro { font-size: .88rem; color: rgba(255,255,255,.8); margin: 0 0 18px; line-height: 1.6; max-width: 540px; }
.ch__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ch__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); color: #fff; text-decoration: none; font-size: .82rem; font-weight: 800; letter-spacing: .03em; transition: all .18s; }
.ch__btn:hover { background: rgba(255,255,255,.15); color: #fff; }
.ch__btn--solid { background: #fff; border-color: #fff; color: #111; }
.ch__btn--solid:hover { background: #f0f0f0; color: #111; }

@media (max-width: 767px) {
  .ch__overlay { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.75) 100%); }
  .ch__body { align-items: flex-end; padding-bottom: 24px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BREADCRUMB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ch-breadcrumb { background: #fafafa; border-bottom: 1px solid #efefef; padding: 8px 0; }
.ch-breadcrumb .breadcrumb { margin: 0; background: transparent; padding: 0; font-size: .8rem; }
.ch-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #bbb; }
.ch-breadcrumb .breadcrumb-item a { color: #555; text-decoration: none; }
.ch-breadcrumb .breadcrumb-item a:hover { color: #111; }
.ch-breadcrumb .breadcrumb-item.active { color: #111; font-weight: 600; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CATEGORY INFO BAR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cat-info-bar { padding: 24px 0 0; border-bottom: 1px solid #efefef; background: #fff; }
.cat-info-bar__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin-bottom: 20px; }
.cat-info-bar__name { font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 6px; }
.cat-info-bar__desc { font-size: .88rem; color: #555; line-height: 1.7; margin: 0; max-width: 640px; }
.cat-info-bar__trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 260px; }
.trust-item { display: flex; align-items: flex-start; gap: 10px; }
.trust-item__icon { width: 32px; height: 32px; border-radius: 8px; background: #f5f5f5; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; color: #555; flex-shrink: 0; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong { font-size: .78rem; color: #111; line-height: 1.3; }
.trust-item span { font-size: .72rem; color: #888; }
.cat-stats-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid #f0f0f0; }
.cat-stat { display: flex; align-items: center; gap: 8px; }
.cat-stat__icon { font-size: 1.1rem; color: #999; flex-shrink: 0; }
.cat-stat__icon--green { color: #16a34a; }
.cat-stat__val { display: block; font-size: .9rem; font-weight: 800; color: #111; line-height: 1.2; }
.cat-stat__lbl { display: block; font-size: .68rem; color: #888; text-transform: uppercase; letter-spacing: .05em; }
.cat-stat--separator { border-left: 1px solid #ececec; padding-left: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-brand-chip { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border: 1.5px solid #ddd; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #444; text-decoration: none; transition: all .15s; }
.cat-brand-chip:hover { background: #111; border-color: #111; color: #fff; }
.cat-brand-chip--cta { border-color: var(--cp-sale); color: var(--cp-sale); }
.cat-brand-chip--cta:hover { background: var(--cp-sale); border-color: var(--cp-sale); color: #fff; }

@media (max-width: 991px) {
  .cat-info-bar__inner { grid-template-columns: 1fr; }
  .cat-info-bar__trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .cat-info-bar__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GUIDE CARDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cat-guide-section { background: #f8f8f8; padding: 36px 0 32px; border-bottom: 1px solid #eee; content-visibility: auto; contain-intrinsic-size: 480px; }
.cat-guide__title { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; margin-bottom: 20px; }
.cat-guide-card { background: linear-gradient(180deg, #fff 0%, #fcfcfc 100%); border: 1px solid #e8e8e8; border-radius: 14px; padding: 20px 16px; box-shadow: 0 10px 24px rgba(0,0,0,.03); }
.cat-guide-card__icon { font-size: 1.6rem; margin-bottom: 10px; }
.cat-guide-card__title { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.cat-guide-card__body { font-size: .8rem; color: #555; line-height: 1.6; margin: 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SMART FILTER BAR
   Desktop sticky: below Layer 2 (68px) + Layer 3 navbar (50px)
   Mobile: not sticky (mobile has single-layer header)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sfb { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; background: #fff; border-top: 1px solid #f0f0f0; border-bottom: 2px solid var(--cp-primary); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-bottom: 4px; z-index: 95; }

@media (min-width: 992px) {
  .sfb {
    position: sticky;
    top: calc(var(--cp-header-height-desktop) + var(--cp-header-height-nav));
  }
}

@media (max-width: 991.98px) {
  .sfb { position: relative; top: auto; }
}
.sfb::-webkit-scrollbar { display: none; }
.sfb__left { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.sfb__right { white-space: nowrap; flex-shrink: 0; }
.sfb__total { font-size: .75rem; color: #888; }
.sfb__total strong { color: #111; }
.sfb-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; font-size: .74rem; font-weight: 700; color: #333; background: #fff; border: 1.5px solid #d0d0d0; border-radius: 4px; cursor: pointer; white-space: nowrap; transition: all .15s; flex-shrink: 0; }
.sfb-pill:hover { border-color: #555; color: #111; }
.sfb-pill--on { background: #111; color: #fff; border-color: #111; }
.sfb-pill--on:hover { background: #333; border-color: #333; }
.sfb-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; background: var(--cp-sale); color: #fff; font-size: .58rem; font-weight: 800; border-radius: 9px; }
.sfb-menu { padding: 8px 0; border: 1.5px solid #111; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.sfb-menu--scroll { max-height: 260px; overflow-y: auto; }
.sfb-menu-item { display: flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: .78rem; font-weight: 600; cursor: pointer; background: none; border: none; width: 100%; text-align: left; }
.sfb-menu-item:hover { background: #f5f5f5; }
.sfb-menu-item--on { font-weight: 800; }
.sfb-ci { width: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: .62rem; color: var(--cp-sale); }
.sfb-check-row { padding: 4px 12px; }
.sfb-check-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .78rem; font-weight: 600; color: #111; user-select: none; }
.sfb-cb { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.sfb-check-box { width: 17px; height: 17px; flex-shrink: 0; border: 1.5px solid #ccc; border-radius: 4px; background: #fff; position: relative; transition: background .12s, border-color .12s; }
.sfb-cb:checked ~ .sfb-check-box { background: #111; border-color: #111; }
.sfb-cb:checked ~ .sfb-check-box::after { content: ''; position: absolute; left: 3px; top: 2px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.sfb-price-panel { padding: 14px 16px; min-width: 240px; }
.sfb-price-labels { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; margin-bottom: 8px; }
.sfb-price-sep { color: #bbb; }
.sfb-slider-el { padding: 0 4px; }
.noUi-connect { background: var(--cp-primary); }
.noUi-handle { border: 2px solid var(--cp-primary); box-shadow: none; }
.noUi-handle:before, .noUi-handle:after { display: none; }
.sfb-apply-btn { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 14px; background: var(--cp-primary); color: #fff; border: none; border-radius: 4px; font-size: .74rem; font-weight: 800; cursor: pointer; flex-shrink: 0; }
.sfb-apply-cnt { background: rgba(255,255,255,.3); border-radius: 8px; padding: 1px 5px; font-size: .6rem; }
.sfb-clear-btn { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; background: #fff; color: var(--cp-primary); border: 1.5px solid var(--cp-primary); border-radius: 4px; font-size: .74rem; font-weight: 800; cursor: pointer; flex-shrink: 0; transition: all .15s; }
.sfb-clear-btn:hover { background: var(--cp-primary); color: #fff; }
.sfb-hidden { display: none !important; }
.sfb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sfb-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 14px; font-size: .72rem; font-weight: 700; color: #333; cursor: pointer; }
.sfb-chip:hover { background: var(--cp-primary); border-color: var(--cp-primary); color: #fff; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PRODUCT CARDS  (.pc)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pc { border: 1px solid rgba(0,0,0,.07); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s, border-color .2s; content-visibility: auto; contain-intrinsic-size: 420px; }
.pc:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); border-color: rgba(0,0,0,.12); }
.pc--out { opacity: .75; }
.pc__thumb { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #f7f7f7; }
.pc__img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; display: block; }
.pc:hover .pc__img { transform: scale(1.06); }
.pc__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.pc__badge { display: inline-flex; align-items: center; padding: 3px 8px; font-size: .68rem; font-weight: 800; color: #fff; border-radius: 4px; line-height: 1.3; letter-spacing: .02em; }
.pc__badge--sale { background: var(--cp-sale); }
.pc__badge--soldout { background: #6c757d; }
.pc__hover-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding-bottom: 14px; opacity: 0; transition: opacity .2s; z-index: 3; }
.pc:hover .pc__hover-overlay { opacity: 1; }
.pc__hover-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 18px; background: #fff; color: #111; border-radius: 999px; font-size: .75rem; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.pc__hover-btn:hover { background: #111; color: #fff; }
.pc__hover-btn--detail { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.4); text-decoration: none; font-size: .8rem; transition: background .15s; flex-shrink: 0; }
.pc__hover-btn--detail:hover { background: rgba(255,255,255,.35); color: #fff; }
.pc__body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.pc__meta-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.pc__brand-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: #f2f2f2; color: #111; font-size: .65rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; text-decoration: none; }
.pc__brand-tag:hover { background: #111; color: #fff; }
.pc__stock { display: inline-flex; align-items: center; gap: 4px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pc__stock i { font-size: .4rem; }
.pc__stock--in { color: #16a34a; }
.pc__stock--out { color: #9a3412; }
.pc__name { font-size: .88rem; font-weight: 700; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0 0 8px; flex: 1; }
.pc__name a { color: #111; text-decoration: none; }
.pc__name a:hover { color: var(--cp-primary); }
.pc__price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.pc__price-old { font-size: .8rem; color: #aaa; text-decoration: line-through; }
.pc__price-new { font-size: .95rem; font-weight: 800; color: #111; }
.pc__price-sale { color: var(--cp-sale); }
.pc__low-stock { position: absolute; bottom: 8px; left: 8px; z-index: 2; background: rgba(230,81,0,.9); color: #fff; font-size: .62rem; font-weight: 800; padding: 2px 7px; border-radius: 4px; letter-spacing: .03em; pointer-events: none; }
.pc__sold-chip { font-size: .72rem; color: #888; margin-bottom: 8px; }
.pc__sold-chip strong { color: #111; font-weight: 800; }
.card-btn-row { display: flex; align-items: center; gap: 0; margin-top: auto; border-top: 1px solid #f0f0f0; padding-top: 8px; }
.btn-listing-cart { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; height: 32px; padding: 0 8px; font-size: .72rem; font-weight: 700; color: #444; background: transparent; border: 1px solid #e0e0e0; border-radius: 4px 0 0 4px; cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.btn-listing-cart:hover:not([disabled]) { border-color: var(--cp-primary); color: var(--cp-primary); background: #f8f8f8; }
.btn-listing-cart[disabled], .btn-listing-cart--soldout { flex: 1; height: 32px; display: flex; align-items: center; justify-content: center; font-size: .72rem; color: #ccc; background: #f7f7f7; border: 1px solid #eee; border-radius: 4px; cursor: not-allowed; }
.btn-buynow { flex: 1; display: flex; align-items: center; justify-content: center; height: 32px; padding: 0 8px; font-size: .72rem; font-weight: 800; color: #fff; background: var(--cp-gradient); border: 1px solid var(--cp-primary); border-radius: 0 4px 4px 0; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn-buynow:hover:not([disabled]) { background: var(--cp-primary-mid); border-color: var(--cp-primary-mid); }
.empty-state { text-align: center; padding: 60px 20px; color: #aaa; }
.empty-state__icon { font-size: 3rem; margin-bottom: 14px; display: block; }
.empty-state__text { font-size: .9rem; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SEO BLOCK / FAQ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cat-seo-block { background: #fff; border-top: 1px solid #f0f0f0; padding: 36px 0; content-visibility: auto; contain-intrinsic-size: 340px; }
.cat-seo-block__title { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; margin-bottom: 14px; }
.cat-seo-block__body p { font-size: .875rem; color: #444; line-height: 1.75; margin-bottom: 12px; }
.cat-seo-block__body strong { color: #111; }
.cat-faq-block { background: #fafafa; border-top: 1px solid #efefef; padding: 40px 0; content-visibility: auto; contain-intrinsic-size: 360px; }
.brand-faq__head { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.brand-faq__icon { font-size: 1.4rem; color: var(--cp-primary); }
.brand-faq__head h2 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 800; margin: 0; }
.brand-faq__item { border: none; border-bottom: 1px solid #eee; background: transparent; }
.brand-faq__item:first-child { border-top: 1px solid #eee; }
.brand-faq__btn { background: #fff; font-weight: 700; font-size: .88rem; color: #111; padding: 16px 20px; border-radius: 0 !important; box-shadow: none !important; border: none; }
.brand-faq__btn:not(.collapsed) { color: var(--cp-primary); }
.brand-faq__body { font-size: .86rem; line-height: 1.75; padding: 12px 20px 18px; background: #fff; color: #555; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGINATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pager { padding: 10px 0 28px; }
.pager__info { font-size: .78rem; color: #888; }
.pager__info strong { color: #111; }
