/*
Theme Name: Theme creado por Abat Studio
Theme URI: https://www.fritzsportcatalogo.pe/pdf
Author: Abat Studio
Description: Theme creado por Abat Studio. Tema WordPress responsive para catálogos CJ1 Jeans, con cuatro catálogos, veinte productos editables y el directorio de tiendas.
Version: 1.0.50
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fritz-sport-catalogos
*/

:root{--ink:#090a0a;--green:#32d39b;--paper:#fff;--muted:#85888a;--line:#e8e9e9;--wrap:1528px;--radius:23px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#111;background:#fff;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}.fs-wrap{width:min(var(--wrap),calc(100% - 64px));margin-inline:auto}.fs-topbar{height:112px;background:#050505;color:white;display:flex;align-items:center}.fs-topbar-inner{display:flex;justify-content:space-between;align-items:center}.fs-logo{font-size:37px;font-weight:950;font-style:italic;letter-spacing:-2px;transform:skew(-10deg);display:inline-block;line-height:1}.fs-logo:before{content:"";display:block;width:48px;height:3px;background:var(--green);margin:0 0 5px 5px;transform:skew(18deg)}.fs-join{display:inline-flex;align-items:center;gap:9px;padding:8px 15px;border:1px solid #303030;border-radius:24px;background:#151515;color:#eee;font-size:12px;font-weight:700}.fs-join i{width:7px;height:7px;background:var(--green);border-radius:50%}.fs-main{padding:26px 0 76px;background:#fff url('assets/pattern-cj1.svg') repeat}.fs-hero{min-height:316px;border-radius:var(--radius);background:#090a0a;color:white;box-shadow:0 16px 28px #0002;display:grid;grid-template-columns:1fr 320px;overflow:hidden;position:relative}.fs-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#ffffff15 .65px,transparent .65px);background-size:8px 8px;opacity:.45;pointer-events:none}.fs-hero-copy{padding:42px;position:relative;z-index:1}.fs-season{display:flex;align-items:center;gap:8px;color:var(--green);font-size:11px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;margin-bottom:16px}.fs-season:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green)}.fs-hero h1{font-size:47px;line-height:1.03;letter-spacing:-2.5px;margin:0 0 14px;text-transform:uppercase;font-weight:950}.fs-hero h1 span{display:block;color:var(--green)}.fs-hero-desc{display:inline-flex;align-items:center;gap:8px;border:1px solid #303232;background:#121414;padding:7px 13px;border-radius:20px;color:#f1f1f1;font-size:13px;font-weight:700;letter-spacing:.01em}.fs-hero-desc:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green)}.fs-count{margin-top:23px;width:max-content;min-width:148px;max-width:100%;box-sizing:border-box;border:1px solid #292b2b;background:#161717;border-radius:12px;padding:10px 20px;display:flex;align-items:center;gap:12px}.fs-count b{flex:0 0 auto}.fs-count span{display:block;flex:0 0 auto}.fs-count b{color:var(--green);font-size:21px}.fs-count span{font-size:9px;line-height:1.1;letter-spacing:.06em;color:#aaa;font-weight:800}.fs-brands{border-left:1px solid #292b2b;display:flex;align-content:center;justify-content:center;align-items:center;gap:11px;flex-wrap:wrap;padding:32px}.fs-brand-mark{width:55px;height:55px;border-radius:14px;background:#171919;display:flex;justify-content:center;align-items:center;color:#c7c9c9;font-size:13px;font-weight:900;font-style:italic;letter-spacing:-.5px}.fs-brand-mark:nth-child(2){font-size:0}.fs-brand-mark:nth-child(2):after{content:"✓";font-size:30px;transform:rotate(-15deg)}.fs-filter-label{margin:36px 0 13px;color:#8a8c8e;font-size:10px;letter-spacing:.12em;font-weight:900;text-transform:uppercase}.fs-filters{display:flex;gap:8px;flex-wrap:wrap}.fs-filter{border:1px solid #dedfdf;background:#fff;border-radius:13px;padding:9px 14px;display:inline-flex;align-items:center;gap:9px;font-weight:800;font-size:12px;color:#252727;box-shadow:0 2px 3px #00000008;cursor:pointer;transition:.18s}.fs-filter:hover{transform:translateY(-1px);border-color:#bfc3c3}.fs-filter.is-active{color:#fff;background:#101111;border-color:#101111}.fs-filter-icon{width:19px;height:19px;border-radius:6px;background:#161717;color:white;display:grid;place-items:center;font-size:10px}.fs-filter.is-active .fs-filter-icon{background:#4b4e4e}.fs-filter[data-filter="Liquidación"] .fs-filter-icon{background:#e92750}.fs-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}.fs-result{display:flex;align-items:center;gap:9px;color:#747779;font-size:15px;font-weight:700}.fs-result:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--green)}.fs-search{width:min(288px,100%);height:42px;border:1px solid #dedfdf;background:#fff;border-radius:13px;padding:0 17px;outline:none;font-size:13px;color:#222}.fs-search:focus{border-color:#33c596;box-shadow:0 0 0 3px #32d39b25}.fs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.fs-card{border:1px solid #e6e7e7;background:#fff;overflow:hidden;border-radius:17px;box-shadow:0 8px 20px #0000000a;transition:transform .2s,box-shadow .2s}.fs-card:hover{transform:translateY(-4px);box-shadow:0 15px 28px #00000015}.fs-cover{aspect-ratio:.72;position:relative;overflow:hidden;background:#121414}.fs-cover img{width:100%;height:100%;object-fit:cover;display:block}.fs-pill{position:absolute;top:12px;right:12px;border-radius:12px;background:#111d;color:white;padding:5px 9px;text-transform:uppercase;font-size:9px;font-weight:900;letter-spacing:.04em}.fs-card-info{padding:17px}.fs-card-kicker{font-size:10px;font-weight:900;letter-spacing:.1em;color:#9b9d9f;text-transform:uppercase;margin-bottom:7px}.fs-card h2{font-size:17px;line-height:1.18;margin:0 0 15px;font-weight:900;text-transform:uppercase}.fs-tag-row{display:flex;gap:6px;min-height:22px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.fs-tag{font-size:9px;font-weight:900;color:#555;border-radius:7px;background:#f1f2f2;padding:5px 7px;text-transform:uppercase;letter-spacing:.03em}.fs-card-actions{display:flex;gap:7px}.fs-action{min-height:38px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:900;flex:1}.fs-action-web{background:#0b0c0c;color:#fff}.fs-action-pdf{border:1px solid #dedfdf;background:#fff;color:#292b2b}.fs-action:hover{filter:brightness(.94)}.fs-empty{display:none;padding:45px 15px;text-align:center;color:#777;grid-column:1/-1}.fs-footer{background:#0b0c0c;color:#ddd;padding:52px 0 22px}.fs-footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:35px}.fs-footer h3{margin:0 0 16px;color:#fff;font-size:11px;letter-spacing:.12em}.fs-footer p,.fs-footer a{font-size:12px;line-height:1.8;color:#aaa}.fs-footer a:hover{color:var(--green)}.fs-footer-logo{margin-bottom:15px}.fs-copy{border-top:1px solid #242626;padding-top:17px;margin-top:34px;font-size:10px;color:#777}.fs-float{position:fixed;right:20px;bottom:22px;z-index:10;display:flex;flex-direction:column;gap:9px}.fs-float a{min-width:118px;height:42px;padding:0 15px;border-radius:24px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:900;box-shadow:0 5px 14px #0002}.fs-locations{background:#3979f6;color:white}.fs-whatsapp{background:#25ce74;color:#fff}.fs-call{background:#101111;color:white}.fs-admin-note{margin:16px 0;padding:12px 14px;border-radius:10px;background:#edf9f4;color:#18563f;font-size:13px}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}

@media(max-width:1100px){.fs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fs-hero{grid-template-columns:1fr 240px}.fs-hero-copy{padding:34px}.fs-hero h1{font-size:42px}}
@media(max-width:760px){.fs-wrap{width:calc(100% - 32px)}.fs-topbar{height:78px}.fs-logo{font-size:30px}.fs-main{padding-top:16px}.fs-hero{min-height:0;grid-template-columns:1fr}.fs-hero-copy{padding:28px 23px}.fs-hero h1{font-size:38px}.fs-brands{border-left:0;border-top:1px solid #292b2b;justify-content:flex-start;padding:16px 23px}.fs-brand-mark{width:42px;height:42px;border-radius:11px}.fs-filter-label{margin-top:25px}.fs-filters{flex-wrap:wrap;overflow:visible;padding-bottom:0}.fs-filter{white-space:nowrap;padding:9px 11px}.fs-toolbar{margin:20px 0;align-items:stretch;flex-direction:column}.fs-search{width:100%}.fs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fs-card{border-radius:13px}.fs-card-info{padding:12px}.fs-card h2{font-size:14px}.fs-cover{aspect-ratio:.68}.fs-card-actions{flex-direction:column}.fs-footer-grid{grid-template-columns:1fr 1fr;gap:20px}.fs-footer-grid>div:first-child{grid-column:1/-1}.fs-float{right:12px;bottom:12px;gap:6px}.fs-float a{min-width:108px;height:38px;font-size:11px}}
@media(max-width:390px){.fs-grid{grid-template-columns:1fr}.fs-cover{aspect-ratio:.75}.fs-card-actions{flex-direction:row}.fs-join{font-size:10px;padding:7px 10px}}

.fs-card-actions{display:block}.fs-card-actions .fs-action-web{width:100%;min-height:50px;margin-inline:auto;border-radius:12px;font-size:13px}

.fs-pill{display:none!important}

/* CJ1 Jeans brand panel */
.fs-brands{justify-content:center;padding:28px}.fs-cj1-logo{display:block;width:100%;max-width:270px;height:auto;object-fit:contain}
@media(max-width:760px){.fs-brands{justify-content:center;padding:20px 23px}.fs-cj1-logo{max-width:220px}}

.fs-logo-link{display:flex;align-items:center;flex:0 1 auto}.fs-header-logo{display:block;width:185px;max-width:46vw;height:auto;object-fit:contain}
@media(max-width:760px){.fs-header-logo{width:160px;max-width:43vw}}

.fs-footer-logo-img{display:block;width:230px;max-width:100%;height:auto;margin-bottom:15px}
@media(max-width:760px){.fs-footer-logo-img{width:210px}}

.fs-filters{margin-top:36px}@media(max-width:760px){.fs-filters{margin-top:25px}}

/* Buscador de productos con acceso directo a las categorías. */
.fs-search-wrap{position:relative;width:min(288px,100%);z-index:25}
.fs-search-wrap .fs-search{width:100%}
.fs-search-suggestions[hidden]{display:none!important}
.fs-search-suggestions{position:absolute;top:calc(100% + 7px);right:0;width:max(100%,345px);max-width:calc(100vw - 24px);max-height:340px;overflow-y:auto;padding:7px;background:#fff;border:1px solid #dce1df;border-radius:14px;box-shadow:0 15px 35px #00000022;z-index:200}
.fs-search-option{display:flex;flex-direction:column;gap:4px;padding:11px 12px;border-radius:9px;color:#252b29;font-size:12px;outline-offset:-2px}
.fs-search-option strong{font-size:12px;font-weight:900}
.fs-search-option small{font-size:10px;color:#858b88}
.fs-search-option:hover,.fs-search-option.is-highlighted{background:#eaf8f2;color:#126848}
.fs-search-option:focus-visible{outline:2px solid #32d39b}
.fs-detail-main .fs-category-nav{margin:6px 0 20px}
.fs-detail-main .fs-bottom-categories .fs-category-nav{margin:26px 0 4px}
@media(max-width:760px){.fs-search-wrap{width:100%}.fs-search-suggestions{left:0;right:0;width:100%;max-width:100%}}


/* Buscador rápido bajo las categorías: código, nombre y clasificación del producto. */
.fs-detail-main .fs-product-search{display:flex;align-items:center;gap:10px;width:min(100%,520px);min-height:48px;margin:-8px 0 22px;padding:0 13px;border:1px solid #dfe3e1;border-radius:14px;background:#fff;box-shadow:0 2px 7px #00000008;transition:border-color .18s,box-shadow .18s}
.fs-detail-main .fs-product-search:focus-within{border-color:#32c596;box-shadow:0 0 0 3px #32d39b20}
.fs-product-search-icon{width:19px;height:19px;flex:0 0 19px;color:#7c8581}
.fs-product-search input{width:100%;min-width:0;height:46px;padding:0;border:0!important;outline:0!important;background:transparent!important;color:#202522;font-size:13px;box-shadow:none!important}
.fs-product-search input::placeholder{color:#969d99;opacity:1}
.fs-product-search-clear{width:28px;height:28px;flex:0 0 28px;padding:0;border:0;border-radius:50%;background:#f0f3f1;color:#58625d;font-size:21px;line-height:1;cursor:pointer}
.fs-product-search-clear:hover{background:#e3e9e5}
.fs-product-search-clear[hidden]{display:none!important}
@media(max-width:760px){.fs-detail-main .fs-product-search{width:100%;min-height:46px;margin:-8px 0 18px}.fs-product-search input{height:44px;font-size:12px}}


/* Buscador principal: acabado limpio y compacto como la referencia visual. */
.fs-toolbar .fs-search-wrap{position:relative;width:min(360px,100%);flex:0 1 360px;z-index:25}
.fs-toolbar .fs-search-wrap .fs-search{display:block;width:100%;height:40px;box-sizing:border-box;padding:0 14px 0 39px;border:1px solid #e5e8e6;border-radius:14px;background:#fff;box-shadow:0 2px 7px #00000008;color:#252b29;font-size:13px;font-weight:700;outline:none;transition:border-color .18s,box-shadow .18s}
.fs-toolbar .fs-search-wrap .fs-search::placeholder{color:#929a96;opacity:1;font-weight:700}
.fs-toolbar .fs-search-wrap .fs-search:focus{border-color:#cfd7d2;box-shadow:0 2px 9px #0000000d}
.fs-search-icon{position:absolute;left:14px;top:50%;z-index:1;width:16px;height:16px;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;color:#7c8581;pointer-events:none}
.fs-search-icon svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.fs-toolbar .fs-search-wrap{width:100%;flex:1 1 100%}.fs-toolbar .fs-search-wrap .fs-search{height:42px}}


/* Barra de categorías: una sola línea, sin botón "Todos" y con desplazamiento horizontal en móvil. */
.fs-category-nav{
  display:flex;
  flex-wrap:nowrap !important;
  align-items:center;
  gap:8px;
  width:100%;
  max-width:100%;
  overflow-x:auto !important;
  overflow-y:hidden;
  white-space:nowrap;
  padding:2px 1px 8px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.fs-category-nav::-webkit-scrollbar{display:none}
.fs-category-nav .fs-filter{
  flex:0 0 auto;
  white-space:nowrap;
}


/* Corrección final de la barra de categorías:
   - elimina el comportamiento que originaba el círculo negro
   - mantiene las 4 categorías en una sola línea
   - deja "Niña bebe" al costado de "Niña" */
.fs-category-nav{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
  width:100%;
  max-width:100%;
  overflow:hidden !important;
  overflow-x:hidden !important;
  overflow-y:hidden !important;
  white-space:normal !important;
  padding:2px 0 8px !important;
  align-items:stretch;
  scrollbar-width:none !important;
}
.fs-category-nav::-webkit-scrollbar{display:none !important}
.fs-category-nav::before,
.fs-category-nav::after{
  content:none !important;
  display:none !important;
}
.fs-category-nav .fs-filter{
  width:100%;
  min-width:0;
  justify-content:center;
  padding:9px 10px;
  gap:6px;
  font-size:11px;
  white-space:nowrap;
}
.fs-category-nav .fs-filter-icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  font-size:9px;
  border-radius:5px;
}
@media (max-width:520px){
  .fs-category-nav{gap:6px !important}
  .fs-category-nav .fs-filter{
    padding:8px 7px;
    font-size:10.5px;
    gap:5px;
  }
  .fs-category-nav .fs-filter-icon{
    width:16px;
    height:16px;
    flex-basis:16px;
    font-size:8px;
  }
}


/* Ajustes móviles finales: buscador con el texto solicitado y categorías sin recortes. */
@media (max-width: 600px) {
  .fs-toolbar .fs-search-wrap {
    display:block;
    width:100% !important;
    max-width:100%;
    min-width:0;
    flex:1 1 100% !important;
  }
  .fs-toolbar .fs-search-wrap .fs-search {
    width:100% !important;
    min-width:0;
    height:42px;
    box-sizing:border-box;
    padding:0 8px 0 34px;
    font-size:10.5px;
    letter-spacing:-.25px;
    white-space:nowrap;
  }
  .fs-toolbar .fs-search-wrap .fs-search::placeholder {
    font-size:10.5px;
    letter-spacing:-.25px;
    white-space:nowrap;
  }
  .fs-toolbar .fs-search-wrap .fs-search-icon {
    left:11px;
  }

  .fs-category-nav {
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    grid-template-columns:none !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:6px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    white-space:nowrap !important;
    padding:3px 12px 9px 2px !important;
    margin-left:0 !important;
    margin-right:0 !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    touch-action:pan-x;
  }
  .fs-category-nav::-webkit-scrollbar { display:none !important; }
  .fs-category-nav .fs-filter {
    display:inline-flex !important;
    flex:0 0 auto !important;
    width:auto !important;
    min-width:max-content !important;
    max-width:none !important;
    box-sizing:border-box !important;
    justify-content:center !important;
    gap:5px !important;
    padding:7px 8px !important;
    font-size:10px !important;
    white-space:nowrap !important;
  }
  .fs-category-nav .fs-filter-icon {
    width:16px !important;
    height:16px !important;
    flex:0 0 16px !important;
    font-size:8px !important;
  }
}
