.ferrer-home-component {
  --c-brand: #9C0C04;
  --c-ink: #161616;
  --c-surface: #F2F2F0;
  --c-padel: #1F5FA8;
  --c-tenis: #B4471E;
  --c-esqui: #2D6E8E;
  --t-padel: color-mix(in srgb, var(--c-padel) 12%, #ffffff);
  --t-tenis: color-mix(in srgb, var(--c-tenis) 12%, #ffffff);
  --t-esqui: color-mix(in srgb, var(--c-esqui) 12%, #ffffff);
  font: var(--text-font-style) var(--text-font-weight) 16px/1.5 var(--text-font-family);
  letter-spacing:normal;
  color:var(--c-ink);
  background:#fff;
.page-width{max-width:1400px;margin:0 auto;padding-left:24px;padding-right:24px}
img{max-width:100%;height:auto;display:block} a:not(.button){color:var(--c-ink)} a:not(.button):hover{color:var(--c-brand)} :focus-visible{outline:3px solid var(--c-brand);outline-offset:2px}

.sport-padel{--sport:var(--c-padel);--tint:var(--t-padel)}
.sport-tenis{--sport:var(--c-tenis);--tint:var(--t-tenis)}
.sport-esqui{--sport:var(--c-esqui);--tint:var(--t-esqui)}
.sport-other{--sport:var(--c-ink);--tint:var(--c-surface)}

/* Type */
.cond{font-family:var(--heading-font-family);text-transform:uppercase}
.h-display{margin:0;font-family:var(--heading-font-family);font-weight:800;text-transform:uppercase;line-height:.88;letter-spacing:-.005em}
.h-xl{font-size:clamp(64px,8vw,108px);line-height:.85}
.h-lg{font-size:clamp(48px,6vw,88px)}
.h-md{font-size:clamp(40px,5vw,64px)}
.h-sm{font-size:clamp(32px,3.6vw,48px)}
.hl{color:var(--c-brand)}
.eyebrow{font-family:var(--heading-font-family);font-weight:700;font-size:20px;text-transform:uppercase;letter-spacing:.06em}
.lead{font-size:17px;line-height:1.55;margin:0}

/* Buttons */
.link-arrow{font-weight:600}
.icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:0;background:var(--c-surface);cursor:pointer;color:var(--c-ink);text-decoration:none;position:relative}
.icon-btn--brand{background:var(--c-brand);color:#fff}
.icon-btn--brand:hover{color:#fff}
.count-dot{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;border-radius:999px;background:var(--c-ink);color:#fff;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;padding:0 5px;box-shadow:0 0 0 2px #fff}
.count-dot[hidden]{display:none}

/* Stamp (sello) */
.stamp{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:999px;background:var(--c-brand);color:#fff;font-family:var(--heading-font-family);font-weight:700;text-transform:uppercase;line-height:1;transform:rotate(-12deg)}
.stamp--sm{width:62px;height:62px;font-size:14px}
.stamp--md{width:96px;height:96px;font-size:20px}
.stamp--lg{width:156px;height:156px;font-size:17px;box-shadow:0 0 0 6px #fff}
.stamp--lg b{font-size:32px}
.stamp--ink{background:var(--c-ink)}



.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.cat-card{border-radius:18px;background:var(--tint);padding:16px;text-decoration:none;display:flex;flex-direction:column;gap:10px}
.cat-card .media{
  aspect-ratio:3/2;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:12px;
}

.cat-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  mix-blend-mode:normal;
}
.cat-card .row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.cat-card .name{font-family:var(--heading-font-family);font-weight:700;font-size:22px;line-height:1;text-transform:uppercase}
.cat-card .dot{width:10px;height:10px;border-radius:999px;background:var(--sport);flex:none}

/* Section heads */
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px}


.placeholder-svg{width:100%;height:100%;fill:#c9c9c4}

.brands-row{border-top:2px solid var(--c-ink);border-bottom:2px solid var(--c-ink);padding:22px 0;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 28px;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:34px;text-transform:uppercase}
.brands-row a{text-decoration:none}
.brands-row img{height:36px;width:auto}

/* Services */
.services{border-radius:28px;background:var(--c-brand);color:#fff;padding:56px;display:flex;flex-wrap:wrap;gap:40px}
.services-copy{flex:1 1 380px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.services-grid{flex:1 1 460px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.service{border-radius:20px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.3);padding:22px;display:flex;flex-direction:column;gap:10px;min-height:160px}
.service .stamp{width:52px;height:52px;background:#fff;color:var(--c-brand);font-size:22px;font-weight:800;transform:rotate(-10deg)}
.service-t{font-family:var(--heading-font-family);font-weight:700;font-size:26px;line-height:1;text-transform:uppercase}
.service p{margin:0;font-size:15px;line-height:1.45;opacity:.92}
@media (max-width:600px){.services{padding:32px 24px}.services-grid{grid-template-columns:1fr}}

/* Promo (esquí) */
.promo{display:flex;flex-wrap:wrap;border-radius:28px;overflow:hidden;background:var(--sport);color:#fff}
.promo-copy{flex:1 1 420px;min-width:0;padding:56px;display:flex;flex-direction:column;gap:16px;justify-content:center;align-items:flex-start}
.promo-media{flex:1 1 420px;min-width:0;min-height:440px;position:relative;background:rgba(0,0,0,.12)}
.promo-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.promo-media .stamp{position:absolute;right:32px;top:32px;width:120px;height:120px;font-size:15px;z-index:1}
.promo-media .stamp b{font-size:26px}
@media (max-width:600px){.promo-copy{padding:32px 24px}}


 .cat-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(170px,1fr);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;scrollbar-width:thin}.cat-card{scroll-snap-align:start} 
 .service{position:relative;overflow:hidden}.service-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) brightness(1.25) contrast(1.05);mix-blend-mode:multiply;z-index:0}.service:has(.service-img){background:var(--c-brand);border-color:transparent;min-height:220px;justify-content:flex-end}.service:has(.service-img)::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,color-mix(in srgb,var(--c-brand) 75%,#000) 100%);z-index:0}.service>*:not(.service-img){position:relative;z-index:1}.service:has(.service-img) .stamp{margin-bottom:auto}.service-img{filter:grayscale(1) brightness(1.8) contrast(1.05)}.service:has(.service-img)::after{background:linear-gradient(180deg,transparent 40%,color-mix(in srgb,var(--c-brand) 80%,#000) 100%);opacity:.85} 
}
.ferrer-home-component .ferrer-store-section{padding-top:16px;padding-bottom:80px}
.ferrer-home-component .store-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:16px}
.ferrer-home-component .store-card{border-radius:28px;background:var(--c-surface);padding:48px;display:flex;flex-direction:column;gap:24px;align-items:flex-start;min-width:0}
.ferrer-home-component .services-copy .h-lg,
.ferrer-home-component .promo-copy .h-lg{font-size:clamp(40px,5vw,72px);font-weight:700;line-height:.98}
.ferrer-home-component .service-t{font-size:24px;font-weight:600;line-height:1.1}
.ferrer-home-component .store-title{font-size:clamp(36px,3vw,40px);font-weight:600;text-transform:none;line-height:1.15;overflow-wrap:break-word}
.ferrer-home-component .store-title .hl{display:block}
.ferrer-home-component .store-description{font-size:17px;line-height:1.55;color:#3c3c38}
.ferrer-home-component .store-description p{margin:0}
.ferrer-home-component .store-benefits{display:flex;gap:20px;list-style:none;margin:8px 0;padding:0;width:100%}
.ferrer-home-component .store-benefits li{display:flex;align-items:center;gap:12px;flex:1;min-width:0;font-size:16px;line-height:1.35}
.ferrer-home-component .store-benefits li+li{border-left:1px solid #ccc;padding-left:20px}
.ferrer-home-component .store-benefits svg{width:40px;height:40px;flex:none}
.ferrer-home-component .news-card{border-radius:28px;background:var(--c-ink);color:#fff;padding:40px;display:flex;flex-direction:column;gap:14px;justify-content:center;min-width:0}
.ferrer-home-component .news-card .h-display{font-size:clamp(28px,2.4vw,32px);font-weight:700;line-height:1.1}
.ferrer-home-component .news-description{font-size:15px;color:#d4d4cf;margin:0}
.ferrer-home-component .news-card form{display:flex;flex-direction:column;gap:8px;margin:0}
.ferrer-home-component .news-card input[type=email]{width:100%;min-width:0;height:50px;border:0;border-radius:999px;padding:0 18px;background:#fff;color:var(--c-ink);font:inherit}
.ferrer-home-component .form-msg{font-size:14px;font-weight:600;margin:4px 0 0}
@media(max-width:999px){.ferrer-home-component .store-grid{grid-template-columns:minmax(0,1fr)}.ferrer-home-component .store-card,.ferrer-home-component .news-card{padding:32px 24px}}
@media(max-width:599px){.ferrer-home-component .store-benefits{flex-direction:column;gap:16px}.ferrer-home-component .store-benefits li+li{border-left:0;padding-left:0}}
.ferrer-home-component :is(.h-display,.cond,.eyebrow,.stamp,.service-t){font-family:'Barlow Condensed',sans-serif;font-weight:600;font-style:normal}
.ferrer-home-component .services-copy .h-lg,
.ferrer-home-component .promo-copy .h-lg{font-size:clamp(40px,4.5vw,64px);font-weight:700;line-height:1.02}
.ferrer-home-component .section-head .h-md{font-size:clamp(32px,3.5vw,48px);font-weight:700;line-height:1.05}
.ferrer-home-component .cat-card .name{font-family:var(--text-font-family);font-size:clamp(16px,1.2vw,18px);font-weight:600;font-style:var(--text-font-style);line-height:1.2}
.ferrer-home-component .store-title,
.ferrer-home-component .news-card .h-display{font-family:var(--text-font-family);font-weight:600;font-style:var(--text-font-style)}
.ferrer-home-component .services .button{--button-background:255 255 255;--button-text-color:156 12 4;--button-outline-color:255 255 255}
.ferrer-home-component .promo .button{--button-background:255 255 255;--button-text-color:22 22 22;--button-outline-color:255 255 255}
.ferrer-home-component .store-card .button{--button-background:22 22 22;--button-text-color:255 255 255;--button-outline-color:22 22 22}
.ferrer-home-component .news-card .button{--button-background:156 12 4;--button-text-color:255 255 255;--button-outline-color:156 12 4}

.ferrer-home-component .news-card { position:relative; }
.ferrer-club-email, .ferrer-club-whatsapp { display:grid; gap:14px; min-width:0; }
.news-card:has(.ferrer-club-choice) { gap:0; }
.news-card:has(.ferrer-club-choice) .ferrer-club-email, .ferrer-club-whatsapp { margin-top:32px; }
.ferrer-club-choice__toggle { position:absolute; top:18px; right:24px; cursor:pointer; list-style:none; border:1px solid #ffffff60; border-radius:999px; padding:8px 14px; font-size:13px; line-height:1.5; font-weight:600; min-height:38px; color:#fff; }
.ferrer-club-choice__toggle::-webkit-details-marker { display:none; }
.ferrer-club-choice__toggle:hover { border-color:#fff; background:#ffffff12; }
.ferrer-club-choice:not([open]) .ferrer-club-choice__toggle { background:#25d366; border-color:#25d366; color:#102b1b; }
.ferrer-club-choice:not([open]) .ferrer-club-choice__toggle:hover { background:#20bd5a; border-color:#20bd5a; }
.ferrer-club-choice__toggle:focus-visible, .ferrer-club-whatsapp__join:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.ferrer-club-choice__close, .ferrer-club-choice[open] .ferrer-club-choice__open { display:none; }
.ferrer-club-choice[open] .ferrer-club-choice__close { display:inline; }
.ferrer-club-choice[open] ~ .ferrer-club-email { display:none; }
.ferrer-club-whatsapp__benefits { list-style:none; padding:0; margin:2px 0; display:grid; gap:10px; font-size:14px; }
.ferrer-club-whatsapp__benefits li { display:flex; align-items:baseline; gap:10px; padding:0 !important; }
.ferrer-club-whatsapp__benefits li::before { content:''; width:8px; height:8px; flex:0 0 8px; background:#25d366; border-radius:50%; }
.ferrer-club-whatsapp__join { white-space:normal; text-align:center; letter-spacing:0; text-transform:none; }
.ferrer-home-component .news-card .ferrer-club-whatsapp__join { --button-background:37 211 102; --button-text-color:16 43 27; --button-outline-color:37 211 102; }
.ferrer-club-whatsapp__qr { margin:8px 0 0; display:grid; justify-items:center; gap:10px; }
.ferrer-club-whatsapp__qr img { width:200px; max-width:100%; height:auto; border:1px solid #25d366; border-radius:8px; background:white; }
.ferrer-club-whatsapp__qr figcaption { font-size:12px; color:#d4d4cf; text-align:center; }
@media(max-width:699px) { .ferrer-club-whatsapp__qr { display:none; } }
