/* ===========================
   无形资产交易平台（ip-supermarket）引导页样式
   依赖：site-shell.css（header/footer/令牌）、basic.css（.container 等）
   约定：BEM 语义化类名，前缀 at-（asset trading）
   =========================== */

/* ---------- 令牌 ---------- */
.ip-hero {
    --ip-primary: #ff6b00;
    --ip-primary-dark: #0f3fb0;
    --ip-text: #1f2329;
    --ip-text-weak: #646a73;
    --ip-line: #e8eaed;
    --ip-bg-soft: #f7f8fa;

    background: linear-gradient(180deg, #eef3fe 0%, #f7f9fd 100%);
    border-bottom: 1px solid var(--ip-line);
}

.ip-hero__inner {
    width: 1250px;
    margin: 0 auto;
    padding: 64px 0 52px;
    text-align: center;
}

    .ip-hero__title {
        margin: 0 0 14px;
        font-size: 38px;
        font-weight: 700;
        line-height: 1.25;
        color: var(--ip-text);
        letter-spacing: 2px;
    }

    .ip-hero__slogan {
        margin: 0 0 36px;
        font-size: 16px;
        line-height: 1.7;
        color: var(--ip-text-weak);
    }

/* ---------- 品类切换 tab ---------- */
.ip-switch {
    display: inline-flex;
    flex-wrap: wrap;              /* 窄屏兜底：宁可换行，不撑出横滚 */
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
}

    .ip-switch__item {
        display: block;
        min-width: 108px;
        padding: 10px 22px;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.4;
        text-align: center;
        color: var(--ip-text-weak);
        border-radius: 7px;
        transition: background .18s ease, color .18s ease;
    }

    .ip-switch__item:hover {
        background: var(--ip-bg-soft);
        color: var(--ip-primary);
    }

    .ip-switch__item.is-current {
        background: var(--ip-primary);
        color: #fff;
    }

.ip-switch__tip {
    margin: 14px 0 0;
    font-size: 12px;
    color: #9aa0a8;
}

/* ---------- 品类卡片 ---------- */
.ip-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 44px 0 8px;
}

.ip-cat {
    display: flex;
    flex-direction: column;
    padding: 24px 22px 22px;
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: 12px;
    color: inherit;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

    .ip-cat:hover {
        border-color: var(--ip-primary);
        box-shadow: 0 8px 24px rgba(20, 80, 210, .10);
        transform: translateY(-2px);
    }

    .ip-cat.is-current {
        border-color: var(--ip-primary);
        box-shadow: 0 4px 16px rgba(20, 80, 210, .08);
    }

    .ip-cat__name {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 10px;
        font-size: 19px;
        font-weight: 700;
        color: var(--ip-text);
    }

    /* 分类图标：商标(3.png) / 专利(2.png) 两枚素材，16px 与菜单图标同量级 */
    .ip-cat__icon {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
        background: left center no-repeat;
        background-size: 16px 16px;
    }

    /* 简介占据中间弹性空间：四张卡等高且底部「进入频道」行对齐 */
    .ip-cat__intro {
        flex: 1 1 auto;
        margin: 0 0 14px;
        font-size: 13px;
        line-height: 1.7;
        color: var(--ip-text-weak);
    }

    /* 标签区固定占两行高度（商标/专利/域名各3 个，版权 2 个），避免卡片高度跳变 */
    .ip-cat__tags {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        gap: 6px;
        height: 56px;
        margin: 0 0 14px;
        padding: 0;
        list-style: none;
    }

    .ip-cat__tags li {
        padding: 3px 9px;
        font-size: 12px;
        line-height: 1.6;
        color: #4a5568;
        background: var(--ip-bg-soft);
        border-radius: 4px;
    }

    .ip-cat__tags em {
        font-style: normal;
        color: var(--ip-primary);
        font-weight: 500;
    }

    .ip-cat__stat {
        flex: 0 0 auto;
        margin: 0 0 12px;
        padding-top: 12px;
        font-size: 13px;
        color: var(--ip-text-weak);
        border-top: 1px dashed var(--ip-line);
    }

    .ip-cat__stat strong {
        font-size: 18px;
        font-weight: 700;
        color: var(--ip-text);
    }

    /* 空品类显式说明，避免用户点进去发现是空页 */
    .ip-cat__empty {
        display: inline-block;
        margin-left: 8px;
        padding: 1px 7px;
        font-size: 12px;
        color: #b26a00;
        background: #fff5e6;
        border-radius: 3px;
    }

    .ip-cat__go {
        flex: 0 0 auto;
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: var(--ip-primary);
    }

/* ---------- 区块标题 ---------- */
.ip-section-title {
    margin: 0 0 22px;
    font-size: 22px;
    font-weight: 700;
    color: var(--ip-text);
    text-align: center;
}

/* ---------- 交易流程 ---------- */
.ip-flow {
    padding: 46px 0 8px;
}

.ip-flow__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .ip-flow__step {
        position: relative;
        padding: 22px 20px;
        background: #fff;
        border: 1px solid var(--ip-line);
        border-radius: 10px;
    }

    .ip-flow__no {
        display: block;
        width: 28px;
        height: 28px;
        margin-bottom: 12px;
        font-size: 15px;
        font-weight: 700;
        line-height: 28px;
        text-align: center;
        color: #fff;
        background: var(--ip-primary);
        border-radius: 50%;
    }

    .ip-flow__step h3 {
        margin: 0 0 8px;
        font-size: 16px;
        font-weight: 500;
        color: var(--ip-text);
    }

    .ip-flow__step p {
        margin: 0;
        font-size: 13px;
        line-height: 1.7;
        color: var(--ip-text-weak);
    }

/* ---------- 服务保障 ---------- */
.ip-guarantee {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 40px 0 56px;
}

    .ip-guarantee__item {
        padding: 20px;
        background: #fff;
        border-left: 3px solid var(--ip-primary);
        border-radius: 0 8px 8px 0;
        box-shadow: 0 1px 4px rgba(15, 23, 42, .04);
    }

    .ip-guarantee__item h3 {
        margin: 0 0 8px;
        font-size: 15px;
        font-weight: 500;
        color: var(--ip-text);
    }

    .ip-guarantee__item p {
        margin: 0;
        font-size: 13px;
        line-height: 1.7;
        color: var(--ip-text-weak);
    }

/* ---------- 窄屏兜底（站点整体 min-width 1250，此处仅防极端情况） ---------- */
@media (max-width: 1300px) {
    .ip-hero__inner { width: auto; margin: 0 24px; }
}
/* 窄屏：切换器放弃 min-width 撑齐并列（660px 下 5 项约 429px，可一行放下） */
@media (max-width: 900px) {
    .ip-switch__item { min-width: 0; }
}
/* ============================================================
   品类列表页（list_template.php）
   ============================================================ */

/* ---------- 品类切换条 ---------- */
.ip-subnav {
    background: #fff;
    border-bottom: 1px solid #e8eaed;
}

    .ip-subnav .container {
        width: 1250px;
        margin: 0 auto;
        padding: 12px 0;
    }

    .ip-subnav .ip-switch {
        display: inline-flex;
        gap: 6px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

        .ip-subnav .ip-switch__item {
            min-width: 92px;
            padding: 7px 20px;
            font-size: 14px;
            border: 1px solid transparent;
        }

        .ip-subnav .ip-switch__item.is-current {
            background: var(--ip-primary);
            border-color: var(--ip-primary);
        }

/* ---------- 面包屑 ---------- */
.ip-crumb {
    padding: 18px 0 6px;
    font-size: 13px;
    color: var(--ip-text-weak);
}

    .ip-crumb a { color: var(--ip-text-weak); }
    .ip-crumb a:hover { color: var(--ip-primary); }
    .ip-crumb em { font-style: normal; color: var(--ip-text); }
    .ip-crumb span { margin: 0 6px; color: #c4c8ce; }

/* ---------- 两栏布局 ---------- */
.ip-list {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
    padding-bottom: 56px;
}

/* ---------- 左侧筛选 ---------- */
.ip-filter {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    overflow: hidden;
}

    .ip-filter__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        font-size: 14px;
        font-weight: 500;
        color: var(--ip-text);
        background: #f7f8fa;
        border-bottom: 1px solid #e8eaed;
    }

    .ip-filter__head a {
        font-size: 12px;
        font-weight: 400;
        color: var(--ip-text-weak);
    }

    .ip-filter__head a:hover { color: var(--ip-primary); }

    .ip-filter__group {
        padding: 12px 14px;
        border-bottom: 1px solid #f0f1f3;
    }

    .ip-filter__group:last-child { border-bottom: 0; }

    .ip-filter__label {
        margin: 0 0 8px;
        font-size: 13px;
        font-weight: 500;
        color: var(--ip-text);
    }

    .ip-filter__opts {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .ip-filter__opts > li { line-height: 28px; }

    .ip-filter__opts a {
        display: inline-block;
        padding: 0 8px;
        font-size: 13px;
        line-height: 24px;
        color: var(--ip-text-weak);
        border-radius: 4px;
    }

    .ip-filter__opts a:hover { color: var(--ip-primary); background: #f2f4ff; }

    .ip-filter__opts a.is-on {
        color: var(--ip-primary);
        background: #f2f4ff;
        font-weight: 500;
    }

    /* 行业树：一级 + 缩进二级 */
    .ip-filter__tree { line-height: 26px !important; }

    .ip-filter__subs {
        margin: 0 0 6px;
        padding: 0 0 0 10px;
        list-style: none;
        border-left: 1px solid #eceef1;
    }

    .ip-filter__subs li { line-height: 24px; }
    .ip-filter__subs a { font-size: 12px; padding: 0 6px; }

/* ---------- 右侧结果 ---------- */
.ip-results { min-width: 0; }

/* 工具条 */
.ip-toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

    .ip-toolbar__keyword {
        flex: 1;
        min-width: 0;
        height: 34px;
        padding: 0 12px;
        font-size: 13px;
        color: var(--ip-text);
        background: #fff;
        border: 1px solid #e8eaed;
        border-radius: 6px;
        box-sizing: border-box;
        outline: none;
    }

    .ip-toolbar__keyword:focus { border-color: var(--ip-primary); }

    .ip-toolbar__sort {
        height: 34px;
        padding: 0 10px;
        font-size: 13px;
        color: var(--ip-text-weak);
        background: #fff;
        border: 1px solid #e8eaed;
        border-radius: 6px;
        outline: none;
        cursor: pointer;
    }

    .ip-toolbar__go {
        height: 34px;
        padding: 0 20px;
        font-size: 13px;
        color: #fff;
        background: var(--ip-primary);
        border: 0;
        border-radius: 6px;
        cursor: pointer;
    }

    .ip-toolbar__go:hover { background: var(--ip-primary-dark); }

/* 已选条件 chips */
.ip-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ip-chip {
    padding: 4px 10px;
    font-size: 12px;
    color: var(--ip-primary);
    background: #f2f4ff;
    border-radius: 4px;
}

    .ip-chip em { font-style: normal; margin-left: 4px; opacity: .6; }
    .ip-chip:hover { background: #e6e9ff; }

.ip-chips__clear {
    font-size: 12px;
    color: var(--ip-text-weak);
    text-decoration: underline;
}

.ip-count {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--ip-text-weak);
}

    .ip-count strong { color: var(--ip-primary); font-weight: 500; }

/* ---------- 卡片列表 ---------- */
.ip-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ip-card {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

    .ip-card:hover {
        border-color: var(--ip-primary);
        box-shadow: 0 6px 18px rgba(255, 107, 0, .10);
        transform: translateY(-2px);
    }

    .ip-card__link {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 16px 16px 14px;
        color: inherit;
        /* flex 纵向 + head 固定 + keyword 弹性 ⇒ 各卡片高度一致 */
        min-height: 148px;
    }

    .ip-card__head { flex: 0 0 auto; }

    .ip-card__title {
        margin: 0 0 8px;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.5;
        color: var(--ip-text);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ip-tag {
        display: inline-block;
        margin: 0 5px 4px 0;
        padding: 1px 7px;
        font-size: 12px;
        line-height: 18px;
        color: var(--ip-primary);
        background: #f2f4ff;
        border-radius: 3px;
    }

    .ip-tag--sub { color: #0f6e56; background: #e6f5ef; }
    .ip-tag--deal { color: #854f0b; background: #fdf3e3; }

    .ip-card__keyword {
        flex: 1 1 auto;
        margin: 0;
        font-size: 12px;
        line-height: 1.7;
        color: var(--ip-text-weak);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-all;
    }

    .ip-card__foot {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px dashed #e8eaed;
    }

    /* 价格用「元/万元」中文单位（⛔ 不用 ¥，会被读成日元），文本比裸数字长，
       故字号略降并允许换行，避免长价格撑破卡片 */
    .ip-card__price {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.35;
        color: var(--ip-primary);
        word-break: break-all;
    }

/* ---------- 空态 ---------- */
.ip-empty {
    padding: 64px 0;
    text-align: center;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
}

    .ip-empty p { margin: 0 0 12px; font-size: 14px; color: var(--ip-text-weak); }
    .ip-empty a { font-size: 13px; color: var(--ip-primary); text-decoration: underline; }

/* ---------- 分页 ---------- */
.ip-pager {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
}

    .ip-pager a,
    .ip-pager span {
        display: block;
        min-width: 32px;
        height: 32px;
        padding: 0 10px;
        font-size: 13px;
        line-height: 30px;
        text-align: center;
        border: 1px solid #e8eaed;
        border-radius: 6px;
        background: #fff;
    }

    .ip-pager a { color: var(--ip-text-weak); }
    .ip-pager a:hover { color: var(--ip-primary); border-color: var(--ip-primary); }

    .ip-pager span.is-cur {
        color: #fff;
        background: var(--ip-primary);
        border-color: var(--ip-primary);
    }

/* ==================== 成品源码站板块入口（ip-extra） ==================== */
.ip-extra { margin: 26px 0 8px; }
.ip-extra__card {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    background: linear-gradient(120deg, #fff7ef 0%, #fff 55%, #f6f8fb 100%);
    border: 1px solid rgba(255, 107, 0, .22);
    border-radius: 16px; padding: 30px 36px;
    transition: box-shadow .18s ease, transform .18s ease;
}
.ip-extra__card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 107, 0, .12); }
.ip-extra__badge {
    display: inline-block; font-size: 12px; color: #ff6b00; letter-spacing: 2px;
    border: 1px solid rgba(255, 107, 0, .4); border-radius: 999px; padding: 3px 14px;
}
.ip-extra__title { margin: 12px 0 8px; font-size: 26px; color: #1a1a1a; font-weight: 800; }
.ip-extra__sub { margin: 0; color: #6a7078; font-size: 14px; line-height: 1.7; max-width: 760px; }
.ip-extra__go {
    flex-shrink: 0; background: #ff6b00; color: #fff; font-size: 15px; font-weight: 600;
    border-radius: 999px; padding: 13px 30px; white-space: nowrap;
}
.ip-extra__card:hover .ip-extra__go { background: #e85f00; }
@media (max-width: 860px) {
    .ip-extra__card { flex-direction: column; align-items: flex-start; }
}

/* ==================== 源码站第五卡（ip-cat--source） ==================== */
.ip-cat--source {
    grid-column: 1 / -1;                 /* 横跨整行：作为板块入口而非并列小卡 */
    border-color: rgba(255, 107, 0, .28);
    background: linear-gradient(120deg, #fff8f2 0%, #ffffff 55%, #fff5ec 100%);
}
.ip-cat--source .ip-cat__intro { max-width: 860px; }
.ip-cat--source .ip-cat__go { color: #ff6b00; }
.ip-cat--source .ip-cat__tags li em { color: #ff6b00; }

/* ==================== R6-9：令牌提升 + 列表/详情页 ==================== */
/* 原令牌只定义在 .ip-hero 上，导致卡片/筛选/分页在 hero 外取不到变量。
   R6-9 起三页统一包在 .ip-page 内，令牌在此定义（hero 内仍保留，兼容旧页）。 */
.ip-page {
    --ip-primary: #ff6b00;
    --ip-primary-dark: #0f3fb0;
    --ip-text: #1f2329;
    --ip-text-weak: #646a73;
    --ip-line: #e8eaed;
    --ip-bg-soft: #f7f8fa;

    background: var(--ip-bg-soft);
    padding-bottom: 40px;
}

.ip-page .ip-wrap { width: 1250px; max-width: 100%; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

/* 品类切换条（列表页） */
.ip-switch-bar { display: flex; justify-content: center; padding: 20px 0 4px; }
.ip-switch__item em { font-style: normal; margin-left: 6px; font-size: 12px; opacity: .75; }

/* 筛选面板内的表单行 */
.ip-filter__group { padding: 12px 14px; border-top: 1px solid var(--ip-line); }
.ip-filter__group:first-of-type { border-top: 0; }
.ip-filter__label { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--ip-text); }
.ip-filter__label span { font-weight: 400; color: var(--ip-text-weak); font-size: 12px; }
.ip-filter__inputs { display: flex; gap: 6px; align-items: center; }
.ip-filter__input {
    width: 0; flex: 1; min-width: 0; height: 30px; padding: 0 8px; font-size: 12px;
    border: 1px solid var(--ip-line); border-radius: 5px; outline: none; box-sizing: border-box;
    color: var(--ip-text); background: #fff;
}
.ip-filter__input:focus { border-color: var(--ip-primary); }
.ip-filter__submit {
    width: 100%; margin-top: 8px; height: 32px; font-size: 13px; color: #fff;
    background: var(--ip-primary); border: 0; border-radius: 5px; cursor: pointer;
}
.ip-filter__submit:hover { background: var(--ip-primary-dark); }
.ip-filter__reset { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--ip-text-weak); text-decoration: underline; }

/* 详情页 */
.ip-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; padding: 12px 0 56px; }
.ip-detail__main { background: #fff; border: 1px solid var(--ip-line); border-radius: 10px; padding: 22px 24px; min-width: 0; }
.ip-detail__side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.ip-detail__title { margin: 0 0 10px; font-size: 24px; line-height: 1.35; color: var(--ip-text); }
.ip-detail__meta { margin: 0 0 14px; color: var(--ip-text-weak); font-size: 13px; }
.ip-detail__price { margin: 0 0 4px; font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--ip-primary); word-break: break-all; }
.ip-detail__price small { font-size: 13px; font-weight: 400; color: var(--ip-text-weak); margin-left: 6px; }
.ip-detail__tags { margin: 10px 0 0; }
.ip-detail__attrs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 18px 0 0; padding: 14px 16px; background: var(--ip-bg-soft); border-radius: 8px; font-size: 13px; }
.ip-detail__attrs div { display: flex; gap: 8px; min-width: 0; }
.ip-detail__attrs dt { color: var(--ip-text-weak); flex: 0 0 auto; }
.ip-detail__attrs dd { margin: 0; color: var(--ip-text); min-width: 0; word-break: break-all; }
.ip-detail__section { margin-top: 24px; }
.ip-detail__section h2 { margin: 0 0 10px; font-size: 16px; color: var(--ip-text); }
.ip-detail__html { font-size: 14px; line-height: 1.9; color: var(--ip-text); word-break: break-word; }
.ip-detail__html img { max-width: 100%; height: auto; }
.ip-detail__html table { width: 100%; border-collapse: collapse; }
.ip-detail__html th, .ip-detail__html td { border: 1px solid var(--ip-line); padding: 8px; }
.ip-detail__cta { background: #fff; border: 1px solid var(--ip-line); border-radius: 10px; padding: 18px; }
.ip-detail__cta .ip-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 11px 0; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; margin-bottom: 10px; cursor: pointer; }
.ip-detail__cta .ip-btn:last-child { margin-bottom: 0; }
.ip-detail__cta .ip-btn--primary { background: var(--ip-primary); color: #fff; border: 1px solid var(--ip-primary); }
.ip-detail__cta .ip-btn--primary:hover { background: var(--ip-primary-dark); border-color: var(--ip-primary-dark); }
.ip-detail__cta .ip-btn--ghost { background: #fff; color: var(--ip-primary); border: 1px solid var(--ip-primary); }
.ip-detail__note { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--ip-text-weak); }
.ip-seller { display: flex; align-items: center; gap: 10px; }
.ip-seller__avatar { width: 40px; height: 40px; border-radius: 50%; background: #f2f4ff; color: var(--ip-primary); font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ip-seller__name { font-size: 14px; font-weight: 500; color: var(--ip-text); }
.ip-seller__meta { font-size: 12px; color: var(--ip-text-weak); }

@media (max-width: 900px) {
    .ip-detail { grid-template-columns: 1fr; }
    .ip-detail__side { position: static; }
    .ip-list { grid-template-columns: 1fr; }
    .ip-cards { grid-template-columns: 1fr; }
}

/* R6-9：窄屏兜底（hero 固定 1250px，需补 max-width 防横向滚动） */
.ip-page .ip-hero__inner { max-width: 100%; box-sizing: border-box; padding-left: 16px; padding-right: 16px; }

@media (max-width: 1024px) {
    .ip-cats { grid-template-columns: repeat(2, 1fr); }
    .ip-flow__steps { grid-template-columns: repeat(2, 1fr); }
    .ip-guarantee { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .ip-cats { grid-template-columns: 1fr; }
    .ip-flow__steps { grid-template-columns: 1fr; }
    .ip-hero__title { font-size: 28px; }
}
