/* ========================================================================== 
   SK-METZ INDUSTRIAL CATALOG UI KIT
   Scope: JoomShopping category pages only
   ========================================================================== */

:root {
    --sk-cat-primary: #005bd8;
    --sk-cat-primary-dark: #003f9e;
    --sk-cat-accent: #ff8a00;
    --sk-cat-text: #071b46;
    --sk-cat-muted: #53627d;
    --sk-cat-soft: #f6faff;
    --sk-cat-border: #e2eaf5;
    --sk-cat-card: #ffffff;
    --sk-cat-radius: 12px;
    --sk-cat-radius-sm: 8px;
    --sk-cat-shadow: 0 12px 32px rgba(7, 27, 70, .06);
    --sk-cat-shadow-hover: 0 18px 42px rgba(7, 27, 70, .10);
}

.sk-cat-page {
    color: var(--sk-cat-text);
}

.sk-cat-page *,
.sk-cat-page *:before,
.sk-cat-page *:after {
    box-sizing: border-box;
}

.sk-cat-page a {
    text-decoration: none !important;
}


/* ========================================================================== 
   01. HERO
   ========================================================================== */

.sk-cat-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
    margin: 18px 0 28px;
}

.sk-cat-hero__main {
    position: relative;
    min-width: 0;
    min-height: 360px;
    padding: 18px 0 22px;
}

.sk-cat-hero__title {
    position: relative;
    z-index: 2;

    max-width: 620px;
    margin: 0 0 16px;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--sk-cat-text);
}

.sk-cat-hero__text {
    position: relative;
    z-index: 2;

    max-width: 560px;
    font-size: 16px;
    line-height: 1.68;
    color: #1d2f50;
}

.sk-cat-hero__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 14px;
    max-width: 640px;
    margin-top: 28px;
    position: relative;
    z-index: 2;
}

.sk-cat-hero__image {
    position: absolute;
    right: -40px;
    top: 34px;
    width: 460px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.sk-cat-hero__image img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
}

.sk-cat-hero__actions {
    overflow: hidden;
    background: var(--sk-cat-card);
    border: 1px solid var(--sk-cat-border);
    border-radius: var(--sk-cat-radius);
    box-shadow: var(--sk-cat-shadow);
}

.sk-cat-action {
    display: grid;
    grid-template-columns: 46px 1fr 24px;
    gap: 14px;
    align-items: center;
    min-height: 96px;
    padding: 18px 20px;
    color: var(--sk-cat-text) !important;
    transition: background .18s ease, color .18s ease;
}

.sk-cat-action + .sk-cat-action {
    border-top: 1px solid var(--sk-cat-border);
}

.sk-cat-action:hover {
    background: #f7fbff;
}

.sk-cat-action__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--sk-cat-primary);
    background: #edf5ff;
    font-weight: 800;
}

.sk-cat-action--document .sk-cat-action__icon {
    color: #ff312b;
    background: #fff1f0;
    font-size: 13px;
}

.sk-cat-action--consult .sk-cat-action__icon {
    color: var(--sk-cat-accent);
    background: #fff6ec;
}

.sk-cat-action__body strong {
    display: block;
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.sk-cat-action__body small {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    color: var(--sk-cat-muted);
}

.sk-cat-action__arrow {
    color: var(--sk-cat-primary);
    font-size: 30px;
    line-height: 1;
}

/* ========================================================================== 
   02. SERIES CARDS — 3 transformer types
   ========================================================================== */

.sk-cat-series {
    margin: 0 0 26px;
}

.sk-cat-series__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sk-cat-series-card {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 26px 24px;
    color: var(--sk-cat-text) !important;
    background: var(--sk-cat-card);
    border: 1px solid var(--sk-cat-border);
    border-radius: var(--sk-cat-radius);
    box-shadow: 0 8px 24px rgba(7, 27, 70, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sk-cat-series-card:hover {
    transform: translateY(-3px);
    border-color: #bcd2f1;
    box-shadow: var(--sk-cat-shadow-hover);
}

.sk-cat-series-card__image {
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px;
}

.sk-cat-series-card__image img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.sk-cat-series-card__content strong {
    display: block;
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sk-cat-series-card__content small {
    display: block;
    min-height: 58px;
    max-width: 260px;
    font-size: 16px;
    line-height: 1.45;
    color: #1d2f50;
}

.sk-cat-series-card__content em {
    display: inline-flex;
    margin-top: 24px;
    color: var(--sk-cat-primary);
    font-style: normal;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

/* ========================================================================== 
   03. EQUIPMENT PICKER / CATALOG
   ========================================================================== */

.sk-cat-picker {
    margin: 0 0 28px;
    padding: 24px;
    background: var(--sk-cat-card);
    border: 1px solid var(--sk-cat-border);
    border-radius: var(--sk-cat-radius);
    box-shadow: var(--sk-cat-shadow);
}

.sk-cat-picker__head {
    margin: 0 0 20px;
}

.sk-cat-picker__head h2,
.sk-cat-steps h2,
.sk-cat-about h2,
.sk-cat-info-card h2,
.sk-cat-cta h2 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--sk-cat-text);
}

.sk-cat-picker__head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--sk-cat-muted);
}

.sk-cat-picker__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.sk-cat-filter {
    min-height: 420px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--sk-cat-border);
    border-radius: var(--sk-cat-radius-sm);
}

.sk-cat-filter__title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 800;
    color: var(--sk-cat-text);
}

.sk-cat-filter__placeholder {
    padding: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--sk-cat-muted);
    background: var(--sk-cat-soft);
    border: 1px dashed #c8d8ee;
    border-radius: 8px;
}

.sk-cat-products {
    min-width: 0;
}

.sk-cat-products .list_products_params {
    margin: 0 0 20px;
}

.sk-cat-products .form_search,
.sk-cat-products .form.inline {
    align-items: center;
}

/* Generic product card correction for existing JoomShopping markup */
.sk-cat-products .product,
.sk-cat-products .jshop_list_product .block_product,
.sk-cat-products .productitem,
.sk-cat-products .sblock2 {
    border-color: var(--sk-cat-border) !important;
    border-radius: 10px !important;
}

/* ========================================================================== 
   04. STEPS
   ========================================================================== */

.sk-cat-steps {
    margin: 0 0 28px;
    padding: 24px;
    background: linear-gradient(90deg, #f7fbff 0%, #ffffff 100%);
    border: 1px solid var(--sk-cat-border);
    border-radius: var(--sk-cat-radius);
    box-shadow: var(--sk-cat-shadow);
}

.sk-cat-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.sk-cat-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 14px;
    align-items: start;
}

.sk-cat-step span {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sk-cat-primary);
    background: #fff;
    border: 1px solid #cfe0f8;
    box-shadow: 0 8px 20px rgba(0, 91, 216, .08);
    font-size: 18px;
    font-weight: 800;
}

.sk-cat-step strong {
    display: block;
    margin: 2px 0 5px;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
}

.sk-cat-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--sk-cat-muted);
}

/* ========================================================================== 
   05. ABOUT
   ========================================================================== */

.sk-cat-about {
    margin: 0 0 28px;
    padding: 28px;
    min-height: 250px;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 62%, #f3f8ff 100%);
    border: 1px solid var(--sk-cat-border);
    border-radius: var(--sk-cat-radius);
    box-shadow: var(--sk-cat-shadow);
}

.sk-cat-about__content {
    max-width: 840px;
}

.sk-cat-about p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.65;
    color: #1d2f50;
}

.sk-cat-about__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 22px;
}

.sk-cat-about__benefits div {
    position: relative;
    padding-left: 18px;
}

.sk-cat-about__benefits div:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sk-cat-primary);
}

.sk-cat-about__benefits strong {
    display: block;
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
}

.sk-cat-about__benefits span {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: var(--sk-cat-muted);
}

.sk-cat-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    color: var(--sk-cat-primary) !important;
    background: #fff;
    border: 1px solid #bfd5f4;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
}

/* ========================================================================== 
   06. FAQ / DOCUMENTS / CONSULTATION
   ========================================================================== */

.sk-cat-info-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr .85fr;
    gap: 22px;
    margin: 0 0 28px;
}

.sk-cat-info-card {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--sk-cat-border);
    border-radius: var(--sk-cat-radius);
    box-shadow: var(--sk-cat-shadow);
}

.sk-cat-faq details {
    border: 1px solid var(--sk-cat-border);
    border-radius: 6px;
    background: #fff;
}

.sk-cat-faq details + details {
    margin-top: 8px;
}

.sk-cat-faq summary {
    cursor: pointer;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--sk-cat-text);
}

.sk-cat-faq details p {
    margin: 0;
    padding: 0 14px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--sk-cat-muted);
}

.sk-cat-faq > a,
.sk-cat-documents__all {
    display: inline-flex;
    margin-top: 14px;
    color: var(--sk-cat-primary) !important;
    font-size: 14px;
    font-weight: 800;
}

.sk-cat-documents > a:not(.sk-cat-documents__all) {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    color: var(--sk-cat-text) !important;
    border-bottom: 1px solid var(--sk-cat-border);
}

.sk-cat-documents span {
    color: #ff312b;
    font-size: 22px;
}

.sk-cat-documents strong {
    font-size: 14px;
    line-height: 1.3;
}

.sk-cat-documents em {
    color: var(--sk-cat-primary);
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
}

.sk-cat-consult {
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
}

.sk-cat-consult__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sk-cat-primary);
    background: #fff;
    border: 1px solid #cfe0f8;
    font-size: 28px;
}

.sk-cat-consult p {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--sk-cat-muted);
}

.sk-cat-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 6px;
    font-weight: 800;
}

.sk-cat-button--accent {
    width: 100%;
    color: #fff !important;
    background: var(--sk-cat-accent);
}

/* ========================================================================== 
   07. BOTTOM CTA
   ========================================================================== */

.sk-cat-cta {
    display: grid;
    grid-template-columns: 62px minmax(280px, 1fr) minmax(420px, .95fr);
    gap: 20px;
    align-items: center;
    margin: 0 0 28px;
    padding: 24px 28px;
    color: #fff;
    background: linear-gradient(90deg, #005bd8 0%, #003f9e 100%);
    border-radius: var(--sk-cat-radius);
    box-shadow: 0 16px 38px rgba(0, 91, 216, .22);
}

.sk-cat-cta__icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.55);
    font-size: 28px;
}

.sk-cat-cta h2 {
    margin-bottom: 4px;
    color: #fff;
    font-size: 24px;
}

.sk-cat-cta p {
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 14px;
    line-height: 1.5;
}

.sk-cat-cta__form {
    display: grid;
    grid-template-columns: 1fr 1fr 190px;
    gap: 12px;
}

.sk-cat-cta__form input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
}

.sk-cat-cta__form button {
    height: 44px;
    padding: 0 18px;
    color: #fff;
    background: var(--sk-cat-accent);
    border: none;
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
}

/* ========================================================================== 
   08. SEO
   ========================================================================== */

.sk-cat-seo {
    margin: 34px 0 0;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--sk-cat-border);
    border-radius: var(--sk-cat-radius);
}

.sk-cat-seo h2 {
    margin-top: 0;
}

/* ========================================================================== 
   09. RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .sk-cat-hero {
        grid-template-columns: 1fr;
    }

    .sk-cat-hero__content {
        grid-template-columns: minmax(0, 1fr) 360px;
    }

    .sk-cat-hero__actions {
        max-width: 100%;
    }

    .sk-cat-series__grid {
        gap: 16px;
    }

    .sk-cat-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sk-cat-consult {
        grid-column: 1 / -1;
    }

    .sk-cat-cta {
        grid-template-columns: 62px 1fr;
    }

    .sk-cat-cta__form {
        grid-column: 1 / -1;
    }
}


@media (max-width: 980px) {
    .sk-cat-hero__title {
        font-size: 34px;
    }

    .sk-cat-series__grid,
    .sk-cat-picker__layout,
    .sk-cat-steps__grid,
    .sk-cat-about__benefits,
    .sk-cat-info-grid {
        grid-template-columns: 1fr;
    }

    .sk-cat-filter {
        min-height: auto;
    }

.sk-cat-hero__image {
    display: none;
}

.sk-cat-hero__features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
    .sk-cat-hero {
        margin-top: 14px;
        gap: 20px;
    }

    .sk-cat-hero__title {
        font-size: 28px;
    }

    .sk-cat-hero__text {
        font-size: 15px;
    }

    .sk-cat-action {
        grid-template-columns: 38px 1fr 18px;
        min-height: 72px;
        padding: 14px;
    }

    .sk-cat-series-card,
    .sk-cat-picker,
    .sk-cat-steps,
    .sk-cat-about,
    .sk-cat-info-card,
    .sk-cat-seo {
        padding: 18px;
    }

    .sk-cat-series-card__content strong {
        font-size: 24px;
    }

    .sk-cat-picker__head h2,
    .sk-cat-steps h2,
    .sk-cat-about h2,
    .sk-cat-info-card h2 {
        font-size: 24px;
    }

    .sk-cat-cta {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .sk-cat-cta__form {
        grid-template-columns: 1fr;
    }
}


/* Catalog top alignment */

.sk-cat-page {
    margin-top: 0;
}

.sk-cat-page .sk-cat-hero {
    margin-top: 0;
}

body .sk-cat-page {
    padding-top: 0;
}

#content .sk-cat-page:first-child {
    margin-top: -10px;
}


/* Filters + series layout */

.sk-cat-filters_series {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin: 0 0 28px;
}

.sk-cat-filters {
    min-width: 0;
    position: sticky;
    top: 20px;
}

.sk-cat-filters .moduletable,
.sk-cat-filters .module,
.sk-cat-filters form {
    margin: 0;
}

.sk-cat-filters_series .sk-cat-series {
    min-width: 0;
    margin: 0;
}

@media (max-width: 980px) {
    .sk-cat-filters_series {
        display: block;
    }

    .sk-cat-filters {
        position: static;
        margin-bottom: 24px;
    }
}