/* Pilas Kodak — brand layer over Flex (loaded from the template's "Before </head>" code). */
:root {
    --pk-yellow: #ffad0d;
    --pk-yellow-soft: #fff4dc;
    --pk-red: #e22726;
    --pk-ink: #1d1d1b;
    --pk-grey: #6b6b6b;
    --pk-line: #ececec;
    --pk-radius: 14px;
}

body, .sp-megamenu-parent > li > a, .btn { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--pk-ink); }
h1, h2, h3, h4, h5, h6 { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--pk-ink); letter-spacing: -0.01em; }
a { color: var(--pk-red); }
a:hover, a:focus { color: #b51d1c; }

/* header / top bar */
#sp-top-bar { background: var(--pk-ink) !important; color: #fff; }
#sp-top-bar a { color: #fff; }
#sp-header .logo img { max-height: 44px; width: auto; }
.sp-megamenu-parent > li > a { font-weight: 600; letter-spacing: .02em; }
.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li:hover > a { color: var(--pk-red) !important; }

/* buttons */
.btn.pk-btn, .pk-btn {
    background: var(--pk-yellow); color: var(--pk-ink); border: 0; border-radius: 999px;
    padding: .7rem 1.4rem; font-weight: 700; text-decoration: none; display: inline-block;
}
.btn.pk-btn:hover, .pk-btn:hover { background: #f29e00; color: var(--pk-ink); }
.pk-btn--dark { background: var(--pk-ink); color: #fff; }
.pk-btn--dark:hover { background: #000; color: #fff; }

/* ---------------------------------------------------------------- product page */
.pk-product { padding: 2rem 0 3rem; }
.pk-product__image {
    margin: 0; background: #fff; border: 1px solid var(--pk-line); border-radius: var(--pk-radius);
    padding: 1.5rem; position: sticky; top: 100px;
}
.pk-product__image img { width: 100%; height: auto; display: block; object-fit: contain; aspect-ratio: 1 / 1; }
.pk-product__category {
    display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: var(--pk-grey); text-decoration: none; margin-bottom: .4rem;
}
.pk-product__title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; line-height: 1.15; margin: 0 0 1rem; }
.pk-badge-new {
    display: inline-block; vertical-align: middle; margin-left: .5rem; background: var(--pk-red); color: #fff;
    font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: .25rem .7rem;
}
.pk-product__body .lead { font-size: 1.08rem; color: #333; }
.pk-product__body h3 {
    font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin: 2rem 0 .8rem;
    padding-bottom: .4rem; border-bottom: 3px solid var(--pk-yellow); display: inline-block;
}
.pk-product__body ul { padding-left: 1.2rem; }
.pk-product__body ul li { margin-bottom: .3rem; }
.pk-product__body ul li::marker { color: var(--pk-red); }
.pk-presentaciones table { font-size: .92rem; margin: 0; }
.pk-presentaciones thead th {
    background: var(--pk-ink); color: #fff; font-weight: 600; white-space: nowrap; border: 0;
}
.pk-presentaciones td:first-child { font-weight: 700; white-space: nowrap; }
.pk-presentaciones td:nth-child(3) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-presentaciones td:nth-child(n+4), .pk-presentaciones th:nth-child(n+4) { text-align: right; }
.product-docs { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.product-docs li { margin: 0 !important; }
.product-docs a {
    display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--pk-line); border-radius: 999px;
    padding: .45rem 1rem; color: var(--pk-ink); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.product-docs a::before { content: "PDF"; font-size: .65rem; font-weight: 800; color: #fff; background: var(--pk-red); border-radius: 4px; padding: .1rem .3rem; }
.product-docs a:hover { border-color: var(--pk-yellow); background: var(--pk-yellow-soft); }
.pk-cta {
    margin-top: 2.5rem; background: var(--pk-yellow-soft); border-left: 6px solid var(--pk-yellow); border-radius: var(--pk-radius);
    padding: 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; align-items: flex-start;
}
.pk-cta strong { font-size: 1.1rem; }
.pk-cta .pk-btn { margin-top: .6rem; }

/* phones: presentations table becomes stacked cards */
@media (max-width: 640px) {
    .pk-product__image { position: static; }
    .pk-presentaciones thead { display: none; }
    .pk-presentaciones table, .pk-presentaciones tbody, .pk-presentaciones tr, .pk-presentaciones td { display: block; width: 100%; }
    .pk-presentaciones tr { border: 1px solid var(--pk-line); border-radius: 10px; margin-bottom: .8rem; padding: .4rem .8rem; }
    .pk-presentaciones td { border: 0 !important; padding: .2rem 0 !important; text-align: left !important; display: flex; justify-content: space-between; gap: 1rem; }
    .pk-presentaciones td::before { content: attr(data-label); color: var(--pk-grey); font-weight: 600; }
}

/* ---------------------------------------------------------------- category grid (product listings) */
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; margin: 1.5rem 0 3rem; }
.pk-card {
    background: #fff; border: 1px solid var(--pk-line); border-radius: var(--pk-radius); overflow: hidden;
    display: flex; flex-direction: column; text-decoration: none; color: var(--pk-ink);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; position: relative;
}
.pk-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.08); border-color: var(--pk-yellow); color: var(--pk-ink); }
.pk-card__img { aspect-ratio: 1 / 1; padding: 1.2rem; background: #fff; display: flex; align-items: center; justify-content: center; }
.pk-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pk-card__body { padding: .9rem 1.1rem 1.2rem; border-top: 1px solid var(--pk-line); flex: 1; display: flex; flex-direction: column; gap: .3rem; }
.pk-card__title { font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 0; }
.pk-card__meta { font-size: .8rem; color: var(--pk-grey); }
.pk-card .pk-badge-new { position: absolute; top: .8rem; left: .8rem; margin: 0; }
.pk-cat-header { padding: 2rem 0 .5rem; }
.pk-cat-header h1 { font-weight: 800; margin-bottom: .6rem; }
.pk-cat-header .pk-cat-desc { max-width: 760px; color: #444; font-size: 1.05rem; }
.pk-subcats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.pk-subcats a {
    display: inline-block; border: 1px solid var(--pk-line); border-radius: 999px; padding: .45rem 1rem;
    font-weight: 600; font-size: .9rem; color: var(--pk-ink); text-decoration: none;
}
.pk-subcats a:hover { background: var(--pk-yellow); border-color: var(--pk-yellow); }
.pk-section-title { font-weight: 800; font-size: 1.4rem; margin: 2.2rem 0 .2rem; }

/* footer */
#sp-bottom, #sp-footer { background: var(--pk-ink) !important; color: #cfcfcf; }
#sp-bottom a, #sp-footer a { color: #fff; }

.pk-product__logistics { margin-top: 3rem; }
.pk-product__logistics h2 {
    font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
    padding-bottom: .4rem; border-bottom: 3px solid var(--pk-yellow); display: inline-block; margin-bottom: 1rem;
}
.pk-product > .pk-cta { margin-top: 2.5rem; }

/* ---------------------------------------------------------------- home */
.pk-home { padding-bottom: 2rem; }
.pk-hero {
    display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem;
    background: var(--pk-yellow); border-radius: 22px; padding: clamp(1.5rem, 4vw, 3.5rem); margin: 1.5rem 0 1rem; overflow: hidden;
}
.pk-eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--pk-ink); color: #fff; padding: .35rem .8rem; border-radius: 999px; }
.pk-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.02; margin: 1rem 0; color: var(--pk-ink); }
.pk-hero h1 span { color: #b3141b; }   /* 3.7:1 on the yellow (WCAG large text) */
.pk-hero p { font-size: 1.1rem; max-width: 34rem; color: #2b2b2b; }
.pk-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.pk-btn--light { background: #fff; color: var(--pk-ink); }
.pk-btn--light:hover { background: #f5f5f5; color: var(--pk-ink); }
.pk-btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.pk-btn--outline:hover { background: #fff; color: var(--pk-ink); }
.pk-hero__media img { width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.pk-block { margin: 3.2rem 0 0; }
.pk-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.pk-block__head h2, .pk-block > h2 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.pk-block__head a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.pk-ranges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.pk-range {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding: 1rem .8rem 1.1rem;
    border: 1px solid var(--pk-line); border-radius: var(--pk-radius); text-decoration: none; color: var(--pk-ink); background: #fff;
    transition: border-color .15s ease, transform .15s ease;
}
.pk-range:hover { border-color: var(--pk-yellow); transform: translateY(-2px); color: var(--pk-ink); }
.pk-range__img { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.pk-range__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pk-range__title { font-weight: 700; line-height: 1.25; }
.pk-range__count { font-size: .8rem; color: var(--pk-grey); }
.pk-why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.pk-why__grid > div { background: var(--pk-yellow-soft); border-radius: var(--pk-radius); padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; }
.pk-why__grid strong { font-size: 1.25rem; font-weight: 800; }
.pk-why__grid span { color: #3a3a3a; }
.pk-band {
    margin: 3.2rem 0 0; background: var(--pk-ink); color: #fff; border-radius: 22px; padding: clamp(1.5rem, 4vw, 3rem);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.pk-band h2 { color: #fff; font-weight: 800; margin: 0 0 .5rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.pk-band p { color: #d6d6d6; max-width: 40rem; margin: 0; }
.pk-band__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.pk-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.pk-news__item { text-decoration: none; color: var(--pk-ink); border: 1px solid var(--pk-line); border-radius: var(--pk-radius); overflow: hidden; display: flex; flex-direction: column; }
.pk-news__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pk-news__item h3 { font-size: 1.05rem; font-weight: 700; margin: .9rem 1rem .3rem; }
.pk-news__item p { font-size: .9rem; color: var(--pk-grey); margin: 0 1rem 1rem; }
.pk-news__item:hover { border-color: var(--pk-yellow); color: var(--pk-ink); }
@media (max-width: 767px) {
    .pk-hero { grid-template-columns: 1fr; }
    .pk-hero__media { order: -1; }
    .pk-hero__media img { max-height: 260px; }
}

/* distributor area */
.pk-pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.2rem; margin: 1.5rem 0; }
.pk-pos { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: start; border: 1px solid var(--pk-line); border-radius: var(--pk-radius); padding: 1rem; }
.pk-pos img { width: 140px; height: 140px; object-fit: contain; }
.pk-pos h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; }
.pk-pos__code { font-size: .8rem; color: var(--pk-grey); margin: 0 0 .4rem; }

/* phones: keep the logo clear of the off-canvas toggle */
@media (max-width: 767px) {
    #sp-header .logo img, #sp-header .sp-default-logo { max-height: 30px; max-width: 58vw; width: auto; }
}

/* mid widths: 7 menu items + logo must fit */
@media (min-width: 768px) and (max-width: 1199px) {
    #sp-header .logo img { max-height: 32px; width: auto; }
    .sp-megamenu-parent > li > a { padding-left: 8px !important; padding-right: 8px !important; font-size: 14px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .sp-megamenu-parent > li > a { padding-left: 5px !important; padding-right: 5px !important; font-size: 13px; }
}

.pk-breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--pk-grey); padding-top: 1.5rem; }
.pk-breadcrumb a { color: var(--pk-grey); text-decoration: none; }
.pk-breadcrumb a:hover { color: var(--pk-red); }
.pk-breadcrumb + .pk-product { padding-top: 1rem; }

/* ---------------------------------------------------------------- lead-capture landings */
.pk-landing { padding: 1.5rem 0 3rem; }
.pk-landing__hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: start; }
.pk-landing__intro h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 900; line-height: 1.08; margin: .9rem 0 1rem; }
.pk-landing__intro .lead { font-size: 1.12rem; color: #333; }
.pk-benefits { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.pk-benefits li { position: relative; padding-left: 2rem; font-weight: 600; }
.pk-benefits li::before { content: "✓"; position: absolute; left: 0; top: -.05rem; width: 1.4rem; height: 1.4rem; border-radius: 50%;
    background: var(--pk-yellow); color: var(--pk-ink); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 900; }
.pk-lead { background: #fff; border: 1px solid var(--pk-line); border-top: 6px solid var(--pk-yellow); border-radius: var(--pk-radius);
    padding: 1.5rem; box-shadow: 0 14px 40px rgba(0,0,0,.07); position: sticky; top: 100px; }
.pk-lead h2 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.pk-lead__sub { color: var(--pk-grey); margin: .2rem 0 1rem; font-size: .95rem; }
.pk-lead__form { display: grid; gap: .8rem; }
.pk-lead__form label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; color: #333; }
.pk-lead__form input[type=text], .pk-lead__form input[type=email], .pk-lead__form input[type=tel], .pk-lead__form select, .pk-lead__form textarea {
    width: 100%; border: 1px solid #d6d6d6; border-radius: 10px; padding: .6rem .75rem; font: inherit; font-weight: 400; background: #fff; }
.pk-lead__form input:focus, .pk-lead__form select:focus, .pk-lead__form textarea:focus { outline: 2px solid var(--pk-yellow); border-color: var(--pk-yellow); }
.pk-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pk-lead__checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.pk-lead__checks legend { font-size: .85rem; font-weight: 600; margin-bottom: .2rem; }
.pk-lead__checks label, .pk-lead__consent { display: flex !important; align-items: center; gap: .45rem; font-weight: 500 !important; }
.pk-lead__consent { font-size: .8rem !important; }
.pk-lead .pk-btn { width: 100%; padding: .85rem; font-size: 1rem; cursor: pointer; }
.pk-landing__body { max-width: 900px; margin-top: 3rem; }
.pk-landing__body h2 { font-weight: 800; font-size: 1.5rem; margin: 2.4rem 0 .8rem; }
.pk-landing__body .pk-grid { max-width: none; }
.pk-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.pk-channels a { display: flex; flex-direction: column; gap: .4rem; padding: 1.2rem 1.3rem; border: 1px solid var(--pk-line);
    border-radius: var(--pk-radius); text-decoration: none; color: var(--pk-ink); background: var(--pk-yellow-soft); }
.pk-channels a:hover { border-color: var(--pk-yellow); color: var(--pk-ink); }
.pk-channels strong { font-size: 1.05rem; }
.pk-channels span { color: #444; font-size: .95rem; }
.pk-channels a::after { content: "Ver más →"; color: var(--pk-red); font-weight: 700; margin-top: .3rem; }
.pk-steps { padding-left: 1.3rem; display: grid; gap: .5rem; }
.pk-faq details { border-bottom: 1px solid var(--pk-line); padding: .9rem 0; }
.pk-faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.pk-faq summary::after { content: "+"; color: var(--pk-red); font-weight: 900; }
.pk-faq details[open] summary::after { content: "–"; }
.pk-faq details p { margin: .6rem 0 0; color: #3a3a3a; }
.pk-landing__cta { margin-top: 3rem; }
.pk-landing__cta a:not(.pk-btn) { color: var(--pk-yellow); }
@media (max-width: 991px) {
    .pk-landing__hero { grid-template-columns: 1fr; }
    .pk-lead { position: static; }
}
@media (max-width: 520px) { .pk-f2 { grid-template-columns: 1fr; } }
.pk-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin: 1rem 0 .5rem; }
.pk-pillars > div { border-top: 5px solid var(--pk-yellow); background: #fafafa; border-radius: 0 0 var(--pk-radius) var(--pk-radius); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.pk-pillars strong { font-size: 1.1rem; font-weight: 800; }
.pk-pillars span { color: #3a3a3a; font-size: .95rem; }

/* cookie consent (pk-consent.js) */
#pk-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 10000; max-width: 760px; margin: 0 auto;
    background: var(--pk-ink); color: #fff; border-radius: 16px; padding: 1.1rem 1.3rem; box-shadow: 0 12px 40px rgba(0,0,0,.25);
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; font-size: .92rem; }
#pk-consent p { margin: 0; flex: 1 1 360px; }
#pk-consent a { color: var(--pk-yellow); }
.pk-consent__btns { display: flex; gap: .6rem; }
.pk-consent__btns button { border: 0; border-radius: 999px; padding: .6rem 1.2rem; font-weight: 700; cursor: pointer; font-size: .92rem; }
.pk-consent__yes { background: var(--pk-yellow); color: var(--pk-ink); }
.pk-consent__no { background: #fff; color: var(--pk-ink); }   /* same weight as "Aceptar" (AEPD) */

/* guide tables */
.pk-table { font-size: .92rem; }
.pk-table thead th { background: var(--pk-ink); color: #fff; font-weight: 600; border: 0; }
.pk-table td { vertical-align: top; }
.pk-equiv td:first-child, .pk-devices td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.pk-equiv td:first-child a { color: var(--pk-red); text-decoration: none; }
.pk-note { font-size: .82rem; color: var(--pk-grey); border-top: 1px solid var(--pk-line); padding-top: .8rem; margin-top: 2rem; }
.pk-guide-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-weight: 700; text-decoration: none; }
.pk-guide-link::before { content: "?"; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--pk-yellow); color: var(--pk-ink);
    display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
@media (max-width: 640px) {
    .pk-equiv td:first-child, .pk-devices td:nth-child(2) { white-space: normal; }
}
.pk-local { background: var(--pk-yellow-soft); border-radius: 22px; padding: clamp(1.5rem, 4vw, 3rem); border-left: 8px solid var(--pk-yellow); }
.pk-local h2 { font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: .8rem 0 .6rem; }
.pk-local p { max-width: 46rem; color: #333; font-size: 1.05rem; }
.pk-local .pk-btn--light { box-shadow: inset 0 0 0 2px var(--pk-ink); }

/* SGS comparison table: Kodak rows highlighted, numbers right-aligned */
.pk-sgs td:not(:first-child), .pk-sgs th:not(:first-child) { text-align: right; white-space: nowrap; }
.pk-sgs th small { font-weight: 400; opacity: .8; }
.pk-sgs .pk-row-kodak td { background: #fff4cc; }
