/* ==========================================================================
   Internacional de Santiago Fútbol Club — estilos del tema
   CSS plano, se carga después de theme.css y woocommerce.css.
   ========================================================================== */

:root {
    --isfc-blue: #1E5FD9;
    --isfc-blue-dark: #1449AE;
    --isfc-blue-light: #6FA0FF;
    --isfc-ink: #0B0F19;
    --isfc-ink-2: #232A38;
    --isfc-muted: #4A5263;
    --isfc-line: #E3E7EF;
    --isfc-grey: #F3F5F9;
    --isfc-white: #ffffff;
    --isfc-radius: 8px;
    --isfc-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --isfc-body: 'Barlow', system-ui, -apple-system, sans-serif;
    --isfc-stripes: repeating-linear-gradient(118deg,
        rgba(30, 95, 217, 0) 0, rgba(30, 95, 217, 0) 90px,
        rgba(30, 95, 217, .55) 90px, rgba(30, 95, 217, .55) 150px);
}

/* Base ------------------------------------------------------------------- */
body.isfc {
    margin: 0;
    font-family: var(--isfc-body);
    color: var(--isfc-ink);
    background: var(--isfc-white);
    font-size: 17px;
    line-height: 1.55;
}
.isfc a { color: var(--isfc-blue); }
.isfc a:hover { color: var(--isfc-blue-dark); }
.isfc img { max-width: 100%; height: auto; }

.isfc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.isfc-muted { color: var(--isfc-muted); margin: 0; }
.isfc-lead { font-size: 19px; color: var(--isfc-muted); margin: 0; }
.isfc-stripes { background: var(--isfc-ink) var(--isfc-stripes); }

.isfc-kicker {
    font-family: var(--isfc-display); font-weight: 700; font-size: 16px;
    letter-spacing: 1.5px; text-transform: uppercase; color: var(--isfc-blue);
}
.isfc-kicker--sm { font-family: var(--isfc-body); font-size: 13px; letter-spacing: 1px; }

.isfc-h2 {
    margin: 0; font-family: var(--isfc-display); font-weight: 800;
    font-size: 48px; line-height: 1; text-transform: uppercase; color: var(--isfc-ink);
}
.isfc-h2--xl { font-size: clamp(44px, 5vw, 56px); line-height: .95; }
.isfc-h2 span { color: var(--isfc-blue); }

.isfc-more { font-weight: 700; text-decoration: none; }

/* Botones ---------------------------------------------------------------- */
.isfc-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.isfc-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 14px 26px; border-radius: 4px; box-sizing: border-box;
    font-family: var(--isfc-body); font-weight: 700; font-size: 17px;
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.isfc .isfc-btn--blue { background: var(--isfc-blue); color: #fff; }
.isfc .isfc-btn--blue:hover { background: var(--isfc-blue-dark); color: #fff; }
.isfc .isfc-btn--dark { background: var(--isfc-ink); color: #fff; }
.isfc .isfc-btn--dark:hover { background: var(--isfc-ink-2); color: #fff; }
.isfc .isfc-btn--light { background: #fff; color: var(--isfc-ink); font-weight: 800; }
.isfc .isfc-btn--light:hover { color: var(--isfc-blue); }
.isfc .isfc-btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.isfc .isfc-btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Top bar ---------------------------------------------------------------- */
.isfc-topbar { background: var(--isfc-ink); color: #C9D1E0; font-size: 13px; }
.isfc-topbar__inner {
    display: flex; flex-wrap: wrap; gap: 8px 24px;
    justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px;
}
.isfc-topbar__links { display: flex; gap: 20px; align-items: center; }
.isfc .isfc-topbar a { color: #C9D1E0; text-decoration: none; display: inline-flex; }
.isfc .isfc-topbar a:hover { color: #fff; }

/* Header ----------------------------------------------------------------- */
.isfc-header { background: #fff; border-bottom: 1px solid var(--isfc-line); }
.isfc-header__inner {
    display: flex; flex-wrap: wrap; gap: 16px 32px;
    align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px;
}
.isfc .isfc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--isfc-ink); }
.isfc-brand img { width: 56px; height: 56px; }
.isfc-brand__name {
    font-family: var(--isfc-display); font-weight: 800; font-size: 24px;
    line-height: .95; text-transform: uppercase; letter-spacing: .5px;
}
.isfc-brand__name span { color: var(--isfc-blue); }

.isfc-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.isfc-nav__menu { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; }
.isfc .isfc-nav__menu a {
    font-family: var(--isfc-display); font-weight: 700; font-size: 18px;
    text-transform: uppercase; letter-spacing: .5px; color: var(--isfc-ink); text-decoration: none;
}
.isfc .isfc-nav__menu a:hover,
.isfc .isfc-nav__menu .current-menu-item > a { color: var(--isfc-blue); }
.isfc .isfc-nav__cta {
    font-family: var(--isfc-display); text-transform: uppercase; letter-spacing: .5px; font-size: 18px;
}
.isfc .isfc-cart {
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
    background: var(--isfc-ink); color: #fff; border-radius: 4px; text-decoration: none; font-weight: 700;
}
.isfc .isfc-cart:hover { color: #fff; background: var(--isfc-ink-2); }
.isfc-cart__count {
    background: var(--isfc-blue); border-radius: 11px; min-width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 13px; padding: 0 6px;
}

/* Hero ------------------------------------------------------------------- */
.isfc-hero { color: #fff; overflow: hidden; }
.isfc-hero__inner {
    display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
    justify-content: space-between; padding-top: 88px; padding-bottom: 120px;
}
.isfc-hero__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 24px; }
.isfc-tag {
    align-self: flex-start; background: #fff; color: var(--isfc-ink);
    font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 6px 12px; border-radius: 3px;
}
.isfc-hero__title {
    margin: 0; font-family: var(--isfc-display); font-weight: 800;
    font-size: clamp(52px, 8vw, 104px); line-height: .9; text-transform: uppercase; color: #fff;
}
.isfc-hero__title span { color: var(--isfc-blue-light); }
.isfc-hero__lead { margin: 0; font-size: 20px; color: #D5DCEA; max-width: 520px; }
.isfc-hero__crest { flex: 0 1 400px; display: flex; justify-content: center; }
.isfc-hero__crest img { width: 100%; max-width: 400px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }

/* Secciones -------------------------------------------------------------- */
.isfc-section { padding: 88px 0; background: #fff; }
.isfc-section--grey { background: var(--isfc-grey); }
.isfc-section--overlap { padding-top: 0; }

.isfc-head {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: space-between; align-items: flex-end; margin: 0 0 28px;
}

/* Próximo partido -------------------------------------------------------- */
.isfc-match {
    position: relative; top: -48px; margin-bottom: 8px;
    background: #fff; border-radius: var(--isfc-radius); box-shadow: 0 12px 40px rgba(11, 15, 25, .12);
    padding: 32px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between;
}
.isfc-match__info { display: flex; flex-direction: column; gap: 6px; }
.isfc-match__teams { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.isfc-match__team {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--isfc-display); font-weight: 800; font-size: 28px; text-transform: uppercase;
}
.isfc-match__team img { width: 64px; height: 64px; }
.isfc-match__placeholder { width: 64px; height: 64px; border-radius: 50%; background: var(--isfc-line); }
.isfc-match__vs { font-family: var(--isfc-display); font-weight: 800; font-size: 28px; color: #8A93A6; }

/* Tarjetas de noticias --------------------------------------------------- */
.isfc-grid { display: grid; gap: 24px; }
.isfc-grid--news { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.isfc-card { background: #fff; border-radius: var(--isfc-radius); overflow: hidden; display: flex; flex-direction: column; }
.isfc-card__media { display: block; height: 220px; background-color: #DCE5F7; }
.isfc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.isfc-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.isfc-card__title { margin: 0; font-family: var(--isfc-display); font-weight: 700; font-size: 26px; line-height: 1.1; }
.isfc .isfc-card__title a { color: var(--isfc-ink); text-decoration: none; }
.isfc .isfc-card__title a:hover { color: var(--isfc-blue); }

/* Misión y pilares ------------------------------------------------------- */
.isfc-mission { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; margin-bottom: 48px; }
.isfc-mission .isfc-h2 { flex: 1 1 380px; }
.isfc-mission__text { flex: 1 1 520px; margin: 0; font-size: 22px; line-height: 1.5; color: var(--isfc-ink-2); }

.isfc-pillars {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px;
    background: var(--isfc-line); border: 2px solid var(--isfc-line); border-radius: var(--isfc-radius); overflow: hidden;
}
.isfc-pillar { background: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.isfc-pillar svg { color: var(--isfc-blue); }
.isfc-pillar h3 {
    margin: 0; font-family: var(--isfc-display); font-weight: 800; font-size: 28px; text-transform: uppercase;
}
.isfc-pillar p { margin: 0; color: var(--isfc-muted); }

/* Bloque dividido (camiseta) --------------------------------------------- */
.isfc-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.isfc-split__media {
    flex: 1 1 420px; background: #E8ECF5; border-radius: var(--isfc-radius);
    display: flex; justify-content: center; padding: 24px; box-sizing: border-box;
}
.isfc-split__media img { width: 100%; max-width: 440px; }
.isfc-split__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }

/* Banda socios ----------------------------------------------------------- */
.isfc-band {
    color: #fff; padding: 80px 0;
    background: var(--isfc-blue) repeating-linear-gradient(118deg,
        rgba(11, 15, 25, 0) 0, rgba(11, 15, 25, 0) 120px,
        rgba(11, 15, 25, .25) 120px, rgba(11, 15, 25, .25) 170px);
}
.isfc-band__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.isfc-band__inner > div { flex: 1 1 560px; }
.isfc-band__title {
    margin: 0 0 14px; font-family: var(--isfc-display); font-weight: 800;
    font-size: clamp(44px, 6vw, 72px); line-height: .92; text-transform: uppercase; color: #fff;
}
.isfc-band p { margin: 0; font-size: 20px; max-width: 580px; }

/* Auspiciadores ---------------------------------------------------------- */
.isfc-sponsors { display: flex; flex-direction: column; gap: 28px; align-items: center; }
.isfc-sponsors__title {
    margin: 0; font-family: var(--isfc-display); font-weight: 700; font-size: 20px;
    letter-spacing: 2px; text-transform: uppercase; color: var(--isfc-muted);
}
.isfc-sponsors__grid {
    width: 100%; display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.isfc-sponsor {
    height: 96px; border: 1px solid var(--isfc-line); border-radius: 6px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 0 12px; font-weight: 700; color: var(--isfc-muted);
}
.isfc-sponsor--dark { background: var(--isfc-ink); border-color: var(--isfc-ink); }
.isfc-sponsor img { max-height: 56px; width: auto; }

/* Footer ----------------------------------------------------------------- */
.isfc-footer { background: var(--isfc-ink); color: #C9D1E0; padding: 64px 0 28px; }
.isfc-footer__cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; margin-bottom: 40px; }
.isfc-footer__brand {
    flex: 1 1 300px; display: flex; gap: 16px; align-items: center;
    font-family: var(--isfc-display); font-weight: 800; font-size: 26px; line-height: 1;
    color: #fff; text-transform: uppercase;
}
.isfc-footer__brand img { width: 84px; height: 84px; }
.isfc-footer__col { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; }
.isfc-footer__title { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.isfc-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.isfc .isfc-footer a { color: #C9D1E0; text-decoration: none; }
.isfc .isfc-footer a:hover { color: #fff; }
.isfc-footer__bottom {
    border-top: 1px solid var(--isfc-ink-2); padding-top: 20px;
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 13px; color: #8A93A6;
}

/* Páginas internas y WooCommerce (base) ---------------------------------- */
.isfc-main .site-main,
.isfc-main > article,
.isfc-main .woocommerce { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.isfc .woocommerce a.button,
.isfc .woocommerce button.button,
.isfc .woocommerce input.button,
.isfc .woocommerce #place_order {
    background: var(--isfc-blue); color: #fff; border-radius: 4px;
    font-family: var(--isfc-body); font-weight: 700; padding: 14px 24px;
}
.isfc .woocommerce a.button:hover,
.isfc .woocommerce button.button:hover,
.isfc .woocommerce #place_order:hover { background: var(--isfc-blue-dark); color: #fff; }

/* Móvil ------------------------------------------------------------------ */
@media (max-width: 720px) {
    .isfc-hero__inner { padding-top: 56px; padding-bottom: 96px; }
    .isfc-hero__crest { flex-basis: 220px; }
    .isfc-section { padding: 64px 0; }
    .isfc-match { padding: 24px; }
    .isfc-h2 { font-size: 40px; }
    .isfc-nav { width: 100%; }
}

/* ==========================================================================
   v2 — Páginas internas, Socios, Noticias y WooCommerce
   ========================================================================== */

.isfc-mb { margin-bottom: 32px; }
.isfc-h3 {
    margin: 0 0 16px; font-family: var(--isfc-display); font-weight: 800;
    font-size: 28px; line-height: 1.05; text-transform: uppercase; color: var(--isfc-ink);
}
.isfc-section--tight { padding: 48px 0 88px; }

/* Cabecera de página ----------------------------------------------------- */
.isfc-pagehead { color: #fff; padding: 64px 0; }
.isfc-pagehead .isfc-wrap { display: flex; flex-direction: column; gap: 14px; }
.isfc-pagehead__kicker {
    font-family: var(--isfc-display); font-weight: 700; font-size: 16px;
    letter-spacing: 2px; text-transform: uppercase; color: #9FC0FF;
}
.isfc-pagehead__title {
    margin: 0; font-family: var(--isfc-display); font-weight: 800; color: #fff;
    font-size: clamp(40px, 6vw, 72px); line-height: .92; text-transform: uppercase;
}
.isfc-pagehead__title--xl { font-size: clamp(48px, 7vw, 92px); }
.isfc-pagehead__title--news { text-transform: none; font-size: clamp(34px, 5vw, 56px); line-height: 1; max-width: 900px; }
.isfc-pagehead__lead { margin: 0; font-size: 19px; color: #D5DCEA; max-width: 640px; }

/* Contenido editorial ---------------------------------------------------- */
.isfc-content { max-width: 780px; margin: 0 auto; font-size: 18px; line-height: 1.7; color: var(--isfc-ink-2); }
.isfc-content--wide { max-width: none; }
.isfc-content h2, .isfc-content h3 { font-family: var(--isfc-display); text-transform: uppercase; color: var(--isfc-ink); line-height: 1.1; }
.isfc-content h2 { font-size: 34px; margin: 40px 0 12px; }
.isfc-content h3 { font-size: 26px; margin: 32px 0 10px; }
.isfc-content img { border-radius: 6px; }
.isfc-content__cover { margin: 0 0 32px; }
.isfc-content__cover img { width: 100%; height: auto; display: block; }
.isfc-content__back { margin-top: 48px; }

.isfc-pagination { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.isfc .isfc-pagination .page-numbers {
    min-width: 44px; min-height: 44px; padding: 0 14px; box-sizing: border-box;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border-radius: 4px; text-decoration: none; font-weight: 700; color: var(--isfc-ink);
}
.isfc .isfc-pagination .page-numbers.current { background: var(--isfc-blue); color: #fff; }

/* Socios ----------------------------------------------------------------- */
.isfc-socios { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.isfc-socios__info { flex: 1 1 560px; display: flex; flex-direction: column; gap: 22px; }
.isfc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.isfc-checks li {
    background: var(--isfc-grey); border-radius: 6px; padding: 16px 16px 16px 48px; position: relative;
}
.isfc-checks li::before {
    content: ""; position: absolute; left: 18px; top: 19px; width: 14px; height: 8px;
    border-left: 3px solid var(--isfc-blue); border-bottom: 3px solid var(--isfc-blue); transform: rotate(-45deg);
}

.isfc-cuota {
    flex: 1 1 320px; background: var(--isfc-ink); color: #fff; border-radius: var(--isfc-radius);
    border-top: 6px solid var(--isfc-blue); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px;
}
.isfc-cuota__label { font-family: var(--isfc-display); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #9FC0FF; }
.isfc-cuota__price { font-family: var(--isfc-display); font-weight: 800; font-size: 64px; line-height: 1; }
.isfc-cuota p { margin: 0; color: #C9D1E0; }

.isfc-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.isfc-steps li { background: #fff; border-radius: var(--isfc-radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.isfc-steps p { margin: 4px 0 0; color: var(--isfc-muted); }
.isfc-steps__n {
    flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--isfc-blue); color: #fff;
    display: flex; align-items: center; justify-content: center; font-family: var(--isfc-display); font-weight: 800; font-size: 24px;
}

.isfc-pay { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.isfc-panel { background: #fff; border-radius: var(--isfc-radius); padding: 32px; box-sizing: border-box; }
.isfc-pay > .isfc-panel { flex: 1 1 400px; }
.isfc-pay > .isfc-form { flex: 1.3 1 480px; }
.isfc-panel--blue { border: 2px solid var(--isfc-blue); display: flex; flex-direction: column; gap: 18px; }

.isfc-bank { margin: 0; }
.isfc-bank__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--isfc-line); }
.isfc-bank dt { color: var(--isfc-muted); }
.isfc-bank dd { margin: 0; font-weight: 700; text-align: right; }
.isfc .isfc-copy { gap: 10px; width: 100%; }
.isfc .isfc-copy.is-done { background: #145A2E; }

/* Formularios ------------------------------------------------------------ */
.isfc-form { display: flex; flex-direction: column; gap: 18px; }
.isfc-form__row { display: flex; flex-wrap: wrap; gap: 16px; }
.isfc-form__row > .isfc-field { flex: 1 1 200px; }
.isfc-field { display: flex; flex-direction: column; gap: 6px; }
.isfc-field label { font-weight: 600; font-size: 15px; }
.isfc-optional { font-weight: 400; color: var(--isfc-muted); }
.isfc-field input,
.isfc-field select {
    font-family: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px; box-sizing: border-box;
    border: 1px solid #B8C0D0; border-radius: 4px; background: #fff; color: var(--isfc-ink); width: 100%;
}
.isfc-field input[type="file"] { border-style: dashed; background: #F8F9FC; }
.isfc-field input:focus, .isfc-field select:focus { outline: 2px solid var(--isfc-blue); outline-offset: 1px; }
.isfc-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.isfc-alert { border-radius: 4px; padding: 14px 16px; font-weight: 600; }
.isfc-alert--ok { background: #E6F4EA; color: #145A2E; }
.isfc-alert--error { background: #FDECEC; color: #8A1C1C; }

/* FAQ -------------------------------------------------------------------- */
.isfc-faq { max-width: 860px; }
.isfc-faq details { border-bottom: 1px solid var(--isfc-line); padding: 16px 0; }
.isfc-faq summary { font-weight: 700; font-size: 19px; cursor: pointer; min-height: 32px; }
.isfc-faq p { margin: 12px 0 0; color: var(--isfc-muted); }

/* WooCommerce ------------------------------------------------------------ */
.isfc .woocommerce-products-header { display: none; }
.isfc ul.products { margin: 0; }
.isfc ul.products li.product {
    background: #fff; border-radius: var(--isfc-radius); overflow: hidden; padding: 0 0 20px; text-align: left;
}
.isfc ul.products li.product a img { margin: 0 0 14px; background: #E8ECF5; }
.isfc ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--isfc-display); font-weight: 700; font-size: 22px; padding: 0 18px; color: var(--isfc-ink);
}
.isfc ul.products li.product .price { padding: 0 18px; color: var(--isfc-ink); font-weight: 700; font-size: 18px; }
.isfc ul.products li.product .button { margin: 12px 18px 0; background: var(--isfc-ink); }
.isfc .woocommerce-result-count, .isfc .woocommerce-ordering { margin-bottom: 24px; }

.isfc div.product .product_title {
    font-family: var(--isfc-display); font-weight: 800; font-size: clamp(36px, 5vw, 52px);
    line-height: .95; text-transform: uppercase;
}
.isfc div.product p.price, .isfc div.product span.price {
    font-family: var(--isfc-display); font-weight: 800; font-size: 40px; color: var(--isfc-ink);
}
.isfc div.product .woocommerce-product-gallery { background: #E8ECF5; border-radius: var(--isfc-radius); }
.isfc .woocommerce div.product form.cart .button,
.isfc div.product form.cart .button { min-height: 52px; padding: 0 28px; }
.isfc .quantity .qty { min-height: 48px; width: 72px; }
.isfc .woocommerce-message, .isfc .woocommerce-info { border-top-color: var(--isfc-blue); }
.isfc .woocommerce-message::before, .isfc .woocommerce-info::before { color: var(--isfc-blue); }
.isfc .woocommerce table.shop_table { border-radius: var(--isfc-radius); background: #fff; }
.isfc .woocommerce form .form-row input.input-text,
.isfc .woocommerce form .form-row select,
.isfc .woocommerce form .form-row textarea {
    min-height: 48px; padding: 10px 14px; border: 1px solid #B8C0D0; border-radius: 4px; box-sizing: border-box;
}
.isfc .woocommerce-checkout #payment { background: var(--isfc-grey); border-radius: var(--isfc-radius); }
.isfc .woocommerce-bacs-bank-details { background: var(--isfc-grey); border-radius: var(--isfc-radius); padding: 24px; margin-top: 24px; }

/* ==========================================================================
   v2.1 — Header responsive con menú hamburguesa
   ========================================================================== */
.isfc-header__inner { flex-wrap: nowrap; }
.isfc-nav { flex: 1 1 auto; justify-content: flex-end; }
.isfc-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.isfc-menu-toggle {
    display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 4px;
    background: var(--isfc-blue); color: #fff; cursor: pointer;
    align-items: center; justify-content: center;
}
.isfc-menu-toggle:focus-visible { outline: 3px solid var(--isfc-ink); outline-offset: 2px; }
.isfc-menu-toggle__bars,
.isfc-menu-toggle__bars::before,
.isfc-menu-toggle__bars::after {
    display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.isfc-menu-toggle__bars { position: relative; }
.isfc-menu-toggle__bars::before,
.isfc-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.isfc-menu-toggle__bars::before { top: -7px; }
.isfc-menu-toggle__bars::after { top: 7px; }
.isfc-menu-toggle.is-open .isfc-menu-toggle__bars { background: transparent; }
.isfc-menu-toggle.is-open .isfc-menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.isfc-menu-toggle.is-open .isfc-menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .isfc-header { position: relative; }
    .isfc-header__inner { flex-wrap: wrap; gap: 12px; }
    .isfc-brand { flex: 1 1 auto; min-width: 0; }
    .isfc-brand img { width: 48px; height: 48px; }
    .isfc-brand__name { font-size: 20px; }
    .isfc-menu-toggle { display: inline-flex; }

    .isfc-nav {
        order: 3; flex: 1 1 100%; width: 100%;
        display: none; flex-direction: column; align-items: stretch; gap: 0;
        border-top: 1px solid var(--isfc-line); padding: 8px 0 16px;
    }
    .isfc-nav.is-open { display: flex; }
    .isfc-nav__menu { flex-direction: column; gap: 0; }
    .isfc .isfc-nav__menu a {
        display: flex; align-items: center; min-height: 52px; padding: 0 4px;
        border-bottom: 1px solid var(--isfc-line); font-size: 22px;
    }
    .isfc .isfc-nav__cta { margin-top: 16px; width: 100%; }
}

@media (max-width: 400px) {
    .isfc-brand__name { font-size: 17px; }
    .isfc .isfc-cart { padding: 0 12px; }
}

/* ==========================================================================
   v2.2 — Indumentaria 2027 (Home)
   ========================================================================== */
.isfc-kits { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.isfc-kit { background: #fff; border-radius: var(--isfc-radius); overflow: hidden; display: flex; flex-direction: column; }
.isfc-kit__media { background: #E8ECF5; aspect-ratio: 4 / 5; overflow: hidden; }
.isfc-kit__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.isfc-kit:hover .isfc-kit__media img { transform: scale(1.03); }
.isfc-kit__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.isfc-kit__body .isfc-btn { margin-top: auto; align-self: flex-start; }
.isfc-kit__tag {
    align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 5px 10px; border-radius: 3px; background: var(--isfc-blue); color: #fff;
}
.isfc-kit__tag--red { background: #C8102E; }
.isfc-kit__tag--dark { background: var(--isfc-ink); }
.isfc-kit__title {
    margin: 0; font-family: var(--isfc-display); font-weight: 800; font-size: 32px;
    line-height: 1; text-transform: uppercase; color: var(--isfc-ink);
}

/* ==========================================================================
   v3 — Partidos y calendario
   ========================================================================== */

/* Escudos */
.isfc-crest { width: 64px; height: 64px; object-fit: contain; flex: none; }
.isfc-crest--sm { width: 36px; height: 36px; }
.isfc-crest--empty {
    display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
    background: var(--isfc-line); color: var(--isfc-muted);
    font-family: var(--isfc-display); font-weight: 800; font-size: 20px;
}
.isfc-crest--empty.isfc-crest--sm { font-size: 13px; }

/* Tarjeta próximo partido (amplía la de v1) */
.isfc-match__when {
    font-family: var(--isfc-display); font-weight: 800; font-size: 26px;
    text-transform: uppercase; line-height: 1.05; color: var(--isfc-ink);
}
.isfc-match__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.isfc-match--empty { justify-content: space-between; }

/* Temporadas */
.isfc-seasons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.isfc .isfc-seasons__item {
    min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center;
    border-radius: 22px; background: #fff; border: 1px solid #B8C0D0;
    color: var(--isfc-ink); text-decoration: none; font-weight: 700;
}
.isfc .isfc-seasons__item.is-active { background: var(--isfc-ink); border-color: var(--isfc-ink); color: #fff; }

/* Resumen de temporada */
.isfc-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 2px;
    background: var(--isfc-line); border-radius: var(--isfc-radius); overflow: hidden; margin: 0 0 48px;
}
.isfc-stats__item { background: #fff; padding: 18px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.isfc-stats__n { font-family: var(--isfc-display); font-weight: 800; font-size: 36px; line-height: 1; color: var(--isfc-ink); }
.isfc-stats__l { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--isfc-muted); }
.isfc-stats__item--pts { background: var(--isfc-blue); }
.isfc-stats__item--pts .isfc-stats__n, .isfc-stats__item--pts .isfc-stats__l { color: #fff; }

/* Columnas próximos / resultados */
.isfc-calendar { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin-top: 8px; }
.isfc-calendar__col { flex: 1 1 480px; min-width: 0; }
.isfc-calendar__month {
    margin: 28px 0 12px; font-family: var(--isfc-display); font-weight: 700; font-size: 18px;
    letter-spacing: 1.5px; text-transform: uppercase; color: var(--isfc-blue);
}
.isfc-calendar__col > .isfc-calendar__month:first-of-type { margin-top: 0; }
.isfc-calendar__empty { background: #fff; border-radius: var(--isfc-radius); padding: 24px; }

/* Fila de partido */
.isfc-fixtures { display: flex; flex-direction: column; gap: 10px; }
.isfc-fixture {
    background: #fff; border-radius: var(--isfc-radius); padding: 16px 18px;
    display: flex; align-items: center; gap: 18px;
}
.isfc-fixture__date {
    flex: none; width: 64px; display: flex; flex-direction: column; align-items: center;
    padding-right: 16px; border-right: 1px solid var(--isfc-line); text-transform: uppercase;
}
.isfc-fixture__wd { font-size: 12px; font-weight: 700; color: var(--isfc-muted); letter-spacing: 1px; }
.isfc-fixture__day { font-family: var(--isfc-display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--isfc-ink); }
.isfc-fixture__month { font-size: 13px; font-weight: 700; color: var(--isfc-blue); }

.isfc-fixture__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.isfc-fixture__teams { display: flex; flex-direction: column; gap: 6px; }
.isfc-fixture__team { display: flex; align-items: center; gap: 10px; }
.isfc-fixture__name {
    flex: 1 1 auto; min-width: 0; font-family: var(--isfc-display); font-weight: 700; font-size: 20px;
    text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.isfc-fixture__team.is-inter .isfc-fixture__name { color: var(--isfc-blue); }
.isfc-fixture__goals { font-family: var(--isfc-display); font-weight: 800; font-size: 24px; min-width: 24px; text-align: right; }
.isfc-fixture__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; color: var(--isfc-muted); }
.isfc-fixture__meta span + span::before { content: "·"; margin-right: 14px; color: #B8C0D0; }

.isfc-fixture__aside { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.isfc .isfc-fixture__link {
    display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 44px; min-height: 44px;
    justify-content: center; font-size: 12px; font-weight: 700; text-decoration: none;
}

.isfc-badge {
    width: 40px; height: 40px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--isfc-display); font-weight: 800; font-size: 20px; color: #fff;
}
.isfc-badge--g { background: #1F7A3D; }
.isfc-badge--e { background: #6B7280; }
.isfc-badge--p { background: #B42318; }
.isfc-badge--status {
    width: auto; height: auto; padding: 6px 10px; font-family: var(--isfc-body); font-size: 12px;
    letter-spacing: 1px; text-transform: uppercase; background: #FFF4E5; color: #8A4B00;
}

@media (max-width: 560px) {
    .isfc-fixture { padding: 14px; gap: 12px; align-items: flex-start; }
    .isfc-fixture__date { width: 48px; padding-right: 12px; }
    .isfc-fixture__day { font-size: 26px; }
    .isfc-fixture__name { font-size: 17px; }
    .isfc-match__when { font-size: 22px; }
}

/* ==========================================================================
   v3.2 — Banner de cookies
   ========================================================================== */
.isfc-cookies {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
    background: var(--isfc-ink); color: #D5DCEA;
    border-top: 4px solid var(--isfc-blue); box-shadow: 0 -8px 30px rgba(11, 15, 25, .25);
    padding: 20px 0;
}
.isfc-cookies[hidden] { display: none; }
.isfc-cookies__inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.isfc-cookies__text { flex: 1 1 520px; }
.isfc-cookies__title {
    margin: 0 0 6px; font-family: var(--isfc-display); font-weight: 800; font-size: 22px;
    text-transform: uppercase; color: #fff;
}
.isfc-cookies p { margin: 0; font-size: 15px; line-height: 1.5; }
.isfc .isfc-cookies a { color: #9FC0FF; }
.isfc .isfc-cookies a:hover { color: #fff; }
.isfc-cookies__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.isfc-cookies__actions .isfc-btn { min-width: 140px; }

.isfc-footer__legal { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.isfc-linkbtn {
    background: none; border: 0; padding: 0; min-height: 24px; cursor: pointer;
    font: inherit; color: #C9D1E0; text-decoration: underline; text-underline-offset: 2px;
}
.isfc-linkbtn:hover { color: #fff; }
.isfc-linkbtn[hidden] { display: none; }

@media (max-width: 560px) {
    .isfc-cookies { padding: 16px 0; }
    .isfc-cookies__actions { width: 100%; }
    .isfc-cookies__actions .isfc-btn { flex: 1 1 0; min-width: 0; }
}
