/* ==============================================================
 * Universal Product Catalog styles
 * assets/catalog.css
 * ============================================================ */

.sp-catalog-wrap { }

/* --- 2-column layout: sidebar + main --- */
.sp-layout-2col {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}
.sp-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #e0e4ec;
    padding: 20px;
}
.sp-sidebar-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #de4d5a;
    padding-bottom: 10px;
    border-bottom: 2px solid #de4d5a;
    margin-bottom: 10px;
}
.sp-cat-list {
    display: flex;
    flex-direction: column;
}
.sp-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    color: #494949;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all .15s;
}
.sp-cat-item:hover {
    background: #f5f7fa;
    color: #163a63;
    border-left-color: #163a63;
}
.sp-cat-item-active {
    background: #f5f7fa;
    color: #163a63;
    border-left-color: #de4d5a;
}
.sp-cat-item-count {
    background: #e0e4ec;
    color: #494949;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}
.sp-cat-item-active .sp-cat-item-count {
    background: #de4d5a;
    color: #fff;
}
.sp-sidebar-cta {
    margin-top: 16px;
    padding: 16px;
    background: #163a63;
    color: #fff;
}
.sp-sidebar-cta-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.sp-sidebar-cta p {
    color: #ffffff !important;
    font-size: 13px;
    margin: 0 0 12px;
    line-height: 1.6;
    opacity: 1 !important;
}
.sp-sidebar-cta .btn {
    color: #ffffff !important;
}

/* --- Main column --- */
.sp-main { min-width: 0; }
.sp-cat-heading {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e4ec;
}
.sp-cat-heading h2 {
    font-size: 24px !important;
    color: #163a63;
    font-weight: 700;
}

/* Responsive: stack on tablets/mobile */
@media (max-width: 900px) {
    .sp-layout-2col {
        grid-template-columns: 1fr;
    }
    .sp-sidebar {
        position: static;
    }
    .sp-cat-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 4px;
    }
    .sp-cat-item {
        padding: 10px 12px;
        font-size: 13px;
    }
    .sp-sidebar-cta { display: none; }
}

/* --- Category tabs --- */
.sp-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e0e4ec;
}
.sp-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #e0e4ec;
    color: #163a63;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}
.sp-cat-tab:hover {
    border-color: #163a63;
    background: #f5f7fa;
}
.sp-cat-active {
    background: #163a63;
    border-color: #163a63;
    color: #fff;
}
.sp-cat-active:hover {
    background: #163a63;
    color: #fff;
}
.sp-cat-count {
    font-size: 12px;
    opacity: .7;
    font-weight: 500;
}

/* --- Filters --- */
.sp-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e0e4ec;
}
.sp-filter-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.sp-filter-chip {
    padding: 8px 16px;
    background: #f5f7fa;
    border: 1px solid #e0e4ec;
    color: #494949;
    font-size: 13px;
    font-weight: 600;
    font-family: Manrope, sans-serif;
    cursor: pointer;
    transition: all .15s;
}
.sp-filter-chip:hover {
    border-color: #163a63;
    color: #163a63;
}
.sp-chip-active {
    background: #de4d5a;
    border-color: #de4d5a;
    color: #fff;
}
.sp-chip-active:hover { color: #fff; border-color: #de4d5a; }
.sp-search-wrap { flex: 1; min-width: 240px; }
.sp-search {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e4ec;
    font-size: 14px;
    font-family: Manrope, sans-serif;
    color: #494949;
    background: #f5f7fa;
}
.sp-search:focus {
    outline: none;
    border-color: #163a63;
    background: #fff;
}

/* --- Catalog list --- */
.sp-catalog {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Card --- */
.sp-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #fff;
    border: 1px solid #e0e4ec;
    transition: box-shadow .2s;
}
.sp-card:hover { box-shadow: 0 4px 20px rgba(22,58,99,.10); }
.sp-card-sold { opacity: .7; }

/* --- Image + slider --- */
.sp-card-image {
    border-right: 1px solid #e0e4ec;
    overflow: hidden;
    flex-shrink: 0;
}
.sp-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f7fa;
}
.sp-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .3s ease;
}
.sp-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}
.sp-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f5f7fa;
}
.sp-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(22,58,99,.12);
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(22,58,99,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    padding: 0;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.sp-slider-btn:hover {
    background: #163a63;
    border-color: #163a63;
    box-shadow: 0 10px 18px rgba(22,58,99,.18);
}
.sp-slider-btn:hover svg { stroke: #fff; }
.sp-slider-prev { left: 10px; }
.sp-slider-next { right: 10px; }
.sp-slider-btn svg {
    width: 15px;
    height: 15px;
    stroke: #163a63;
    transition: stroke .18s ease;
}
.sp-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15,35,60,.16);
    backdrop-filter: blur(4px);
    z-index: 3;
}
.sp-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.58);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width .18s ease, background .18s ease, opacity .18s ease;
}
.sp-dot:hover { background: rgba(255,255,255,.9); }
.sp-dot-active {
    width: 14px;
    background: #fff;
}
.sp-slider-counter {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 12px;
    padding: 2px 7px;
    z-index: 2;
}
.sp-no-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
}

/* --- Body --- */
.sp-card-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sp-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.sp-status {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    border: 1px solid;
}
.sp-badge-instock { color: #0a7a0a; border-color: #0a7a0a; background: #f0faf0; }
.sp-badge-order   { color: #b45309; border-color: #b45309; background: #fffbeb; }
.sp-badge-sold    { color: #c0392b; border-color: #c0392b; background: #fff5f5; }
.sp-discount {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    background: #de4d5a;
    color: #fff;
}
.sp-brand {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    background: #f5f7fa;
    color: #163a63;
    border: 1px solid #e0e4ec;
}
.sp-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #163a63;
    margin: 0;
    border: none;
    padding: 0;
}
.sp-card-desc {
    font-size: 14px;
    color: #494949;
    line-height: 1.6;
}
.sp-card-desc p { margin: 0 0 6px; }
.sp-card-desc ul { margin: 6px 0; padding-left: 20px; }
.sp-card-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.sp-old-price {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
}
.sp-price {
    font-size: 26px;
    font-weight: 800;
    color: #de4d5a;
}
.sp-price-ask {
    font-size: 18px;
    font-weight: 600;
    color: #163a63;
}
.sp-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.sp-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1px solid #e0e4ec;
    font-size: 13px;
    color: #2c62a8;
    text-decoration: none;
}
.sp-file-btn:hover {
    border-color: #2c62a8;
    background: #f0f4ff;
}
.sp-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 8px;
}
.sp-sold-note {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* --- Pagination --- */
.sp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.sp-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 2px solid #e0e4ec;
    background: #fff;
    color: #163a63;
    font-size: 15px;
    font-weight: 700;
    font-family: Manrope, sans-serif;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
    line-height: 1;
}
.sp-page-btn:hover {
    border-color: #163a63;
    background: #163a63;
    color: #fff;
}
.sp-page-btn:hover svg { stroke: #fff; }
.sp-page-active {
    background: #de4d5a;
    color: #fff;
    border-color: #de4d5a;
    cursor: default;
}
.sp-page-active:hover { background: #de4d5a; border-color: #de4d5a; color: #fff; }
.sp-page-arrow { min-width: 44px; padding: 0 10px; }
.sp-page-arrow svg { stroke: #163a63; }
.sp-page-info {
    font-size: 13px;
    color: #888;
    margin-left: 8px;
}

/* --- Responsive --- */
@media (max-width: 860px) {
    .sp-card { grid-template-columns: 1fr; }
    .sp-card-image {
        border-right: none;
        border-bottom: 1px solid #e0e4ec;
    }
    .sp-card-body { padding: 20px; }
    .sp-filters { padding: 12px; }
    .sp-cat-tabs { gap: 6px; }
    .sp-cat-tab { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 480px) {
    .sp-card-title { font-size: 17px; }
    .sp-price { font-size: 22px; }
}

/* page-394-catalog-left-sidebar-2026-07-27 */
.page-id-394 .sp-layout-2col {
    grid-template-columns: 280px minmax(0,1fr);
}
.page-id-394 .sp-sidebar {
    order: 1;
}
.page-id-394 .sp-main {
    order: 2;
}
@media (max-width: 900px) {
    .page-id-394 .sp-layout-2col {
        grid-template-columns: 1fr;
    }
    .page-id-394 .sp-sidebar {
        order: 1;
    }
    .page-id-394 .sp-main {
        order: 2;
    }
}

/* catalog-filter-redesign-2026-07-27 */
.sp-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 18px;
    background: linear-gradient(180deg,#f8fbff 0%,#f2f6fb 100%);
    border: 1px solid #dbe5ef;
}
.sp-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sp-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #d6e0ea;
    background: #ffffff;
    color: #163a63;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sp-filter-chip:hover {
    border-color: #163a63;
    box-shadow: 0 10px 24px rgba(22,58,99,.08);
    transform: translateY(-1px);
}
.sp-chip-active {
    background: #163a63;
    border-color: #163a63;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(22,58,99,.16);
}
.sp-filter-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    opacity: .75;
    flex: 0 0 10px;
}
.sp-filter-chip-stock .sp-filter-dot {
    background: #21a365;
    opacity: 1;
}
.sp-filter-chip-order .sp-filter-dot {
    background: #d58b1f;
    opacity: 1;
}
.sp-chip-active .sp-filter-dot {
    background: #ffffff;
}
.sp-search-wrap {
    flex: 1 1 360px;
    max-width: 460px;
}
.sp-search {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #d6e0ea;
    background: #ffffff;
    color: #163a63;
    font-size: 15px;
}
.sp-search::placeholder {
    color: #8a9aae;
}
.sp-search:focus {
    outline: none;
    border-color: #163a63;
    box-shadow: 0 0 0 3px rgba(22,58,99,.08);
}
@media (max-width: 900px) {
    .sp-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .sp-search-wrap {
        max-width: none;
        width: 100%;
    }
}

/* single-product-2026-07-27 */
.sp-card-title a{color:inherit;text-decoration:none}
.sp-single-area{width:100%}
.sp-single{display:flex;flex-direction:column;gap:32px}
.sp-single-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:30px;align-items:start}
.sp-single-gallery,.sp-single-summary,.sp-single-card{background:#fff;border:1px solid #d9e3ef;box-shadow:0 14px 34px rgba(20,58,99,.08)}
.sp-single-gallery{padding:20px}
.sp-single-stage{aspect-ratio:1/1;min-height:360px;background:#f4f8fc;border:1px solid #d9e3ef;display:flex;align-items:center;justify-content:center;cursor:zoom-in}
.sp-single-stage img{width:100%;height:100%;object-fit:contain}
.sp-single-noimage{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.sp-single-thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:12px;margin-top:14px}
.sp-single-thumb{padding:0;border:1px solid #d9e3ef;background:#fff;cursor:pointer;transition:.2s ease}
.sp-single-thumb img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
.sp-single-thumb.is-active,.sp-single-thumb:hover{border-color:#174c83;box-shadow:0 10px 22px rgba(23,76,131,.14)}
.sp-single-badges{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.sp-single-title{margin:0 0 14px!important;font-size:clamp(28px,4vw,42px);line-height:1.08!important}
.sp-single-excerpt{font-size:17px;line-height:1.7;color:#35577f;margin-bottom:18px}
.sp-single-price{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:20px}
.sp-single-specs{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:22px}
.sp-single-spec{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #e6edf5}
.sp-single-spec span{color:#5c728f}
.sp-single-spec strong{text-align:right;color:#17324d}
.sp-single-actions{display:flex;flex-wrap:wrap;gap:12px}
.sp-single-cta-repeat__grid{display:grid;grid-template-columns:minmax(0,1.1fr) auto;gap:24px;align-items:center}.sp-single-cta-repeat__text p{margin:0;color:#4a607a;line-height:1.72;text-wrap:pretty}.sp-single-actions-repeat{justify-content:flex-end}.sp-single-cta-repeat .sp-single-section-head{margin-bottom:18px}
.sp-single-section{padding:0}
.sp-single-section-head{margin-bottom:18px}
.sp-single-kicker{display:inline-block;padding:7px 12px;background:#e8f0f8;color:#174c83;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.sp-single-section h2{margin:14px 0 0!important;font-size:30px;line-height:1.15}
.sp-single-content,.sp-single-card p{font-size:17px;line-height:1.8;color:#35577f}
.sp-single-grid-2,.sp-single-grid-3{display:grid;gap:20px}
.sp-single-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sp-single-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sp-single-card{padding:24px}
.sp-single-card h3{margin:0 0 12px;font-size:22px;line-height:1.2;color:#163a63}
.sp-single-video iframe,.sp-single-video video{width:100%;min-height:280px}
.sp-lightbox{position:fixed;inset:0;background:rgba(12,25,39,.88);display:flex;align-items:center;justify-content:center;z-index:9999;padding:40px}
.sp-lightbox img{max-width:min(1200px,92vw);max-height:90vh;display:block;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.sp-lightbox-close{position:absolute;top:24px;right:24px;border:none;background:#fff;color:#163a63;width:44px;height:44px;font-size:28px;line-height:1;cursor:pointer}
body.sp-lightbox-open{overflow:hidden}
@media (max-width:991px) {
  .sp-single-hero,
  .sp-single-grid-2,
  .sp-single-grid-3 {
    grid-template-columns: 1fr;
  }
  .sp-single-stage {
    min-height: 300px;
  }
  .sp-single-summary {
    padding: 22px;
  }
  .sp-single-excerpt,
  .sp-single-content,
  .sp-single-card p {
    font-size: 16px;
  }
}
@media (max-width:640px){
  .sp-single-gallery {
    padding: 14px;
  }
  .sp-single-stage {
    min-height: 240px;
  }
  .sp-single-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .sp-single-cta-repeat__grid{grid-template-columns:1fr;gap:18px}
  .sp-single-actions-repeat{justify-content:stretch}
  .sp-single-spec {
    flex-direction: column;
    gap: 6px;
  }
  .sp-single-spec strong {
    text-align: left;
  }
}

/* catalog-redesign-2026-07-27 */
.sp-card{position:relative;grid-template-columns:minmax(260px,320px) minmax(0,1fr);border-color:#d8e3ef;box-shadow:0 12px 28px rgba(15,43,73,.05);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;border-radius:0;overflow:hidden}
.sp-card:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(15,43,73,.12);border-color:#c4d6ea}
.sp-card:focus-visible{outline:2px solid #174c83;outline-offset:2px}
.sp-card-image{position:relative;background:linear-gradient(180deg,#edf4fb 0%,#f8fbfe 100%)}
.sp-card-image-link{position:relative;display:block;height:100%;color:inherit;text-decoration:none}
.sp-card-media-top{position:absolute;top:14px;left:14px;right:14px;display:flex;gap:8px;justify-content:space-between;align-items:flex-start;pointer-events:none;z-index:3}
.sp-card-type,.sp-single-badges .sp-card-type{display:inline-flex;align-items:center;padding:7px 12px;background:#163a63;color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1}
.sp-card .sp-discount,.sp-single-badges .sp-discount{padding:7px 12px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:#de4d5a}
.sp-slider{background:linear-gradient(180deg,#edf4fb 0%,#f7fbff 100%)}
.sp-card-body{gap:16px;padding:24px 26px}
.sp-card-top{gap:8px 10px}
.sp-status,.sp-brand{border-radius:999px}
.sp-card-title{font-size:24px;line-height:1.12;color:#163a63}
.sp-card-title a{display:inline-block}
.sp-card-features{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.sp-card-features li{position:relative;padding-left:18px;font-size:15px;line-height:1.55;color:#395572}
.sp-card-features li:before{content:'';position:absolute;left:0;top:.62em;width:8px;height:8px;background:#174c83}
.sp-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:2px}
.sp-card-meta-item{padding:14px 16px;border:1px solid #e2ebf4;background:#f8fbfe}
.sp-card-meta-label{display:block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#70839b;margin-bottom:6px}
.sp-card-meta-value{font-size:15px;line-height:1.4;color:#17324d}
.sp-card-meta-item-price{background:#fff}
.sp-card-price{margin-top:0;gap:10px}
.sp-price{font-size:30px;color:#163a63;line-height:1}
.sp-old-price{font-size:14px}
.sp-price-ask{font-size:17px;color:#163a63}
.sp-files{margin-top:-4px}
.sp-file-btn{padding:7px 12px;border-radius:999px;background:#f5f9fd}
.sp-card-actions{gap:10px;padding-top:0}
.sp-card-actions .btn{min-width:154px;justify-content:center}
.sp-used-note{margin-top:-4px;padding:12px 14px;background:#f7f9fc;border-left:3px solid #174c83;color:#35577f;font-size:13px;line-height:1.55}
.sp-single{gap:36px}
.sp-single-hero{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:34px}
.sp-single-gallery,.sp-single-summary,.sp-single-card{border-color:#dbe5f0;box-shadow:0 18px 42px rgba(15,43,73,.08)}
.sp-single-stage{min-height:460px;background:linear-gradient(180deg,#edf4fb 0%,#f7fbff 100%)}
.sp-single-stage img{padding:24px}
.sp-single-summary{padding:30px;position:sticky;top:24px}
.sp-single-title{font-size:clamp(30px,4vw,46px)!important}
.sp-single-highlights{display:grid;gap:8px;margin:-2px 0 14px}
.sp-single-highlight-row{font-size:15px;line-height:1.55;color:#35577f;text-wrap:pretty;overflow-wrap:break-word;word-break:normal}
.sp-single-features{margin:0 0 20px;padding:0;list-style:none;display:grid;gap:10px}
.sp-single-features li{position:relative;padding-left:18px;font-size:15px;line-height:1.6;color:#395572}
.sp-single-features li:before{content:'';position:absolute;left:0;top:.68em;width:8px;height:8px;background:#174c83}
.sp-single-price-box{padding:18px 20px;background:#f8fbfe;border:1px solid #e1e9f2;margin-bottom:22px}
.sp-single-price{margin-bottom:8px}
.sp-single-price-note{font-size:14px;line-height:1.6;color:#5f7590}
.sp-single-specs{gap:0;border-top:1px solid #e6edf5;border-bottom:1px solid #e6edf5;padding:4px 0;margin-bottom:24px}
.sp-single-spec{padding:14px 0}
.sp-single-overview{align-items:start}
.sp-single-content{font-size:15px;line-height:1.8}
.sp-single-content p:first-child{margin-top:0}
.sp-single-points{display:grid;gap:14px}
.sp-single-point{padding:16px 18px;background:#f8fbfe;border-left:3px solid #174c83}
.sp-single-point strong{display:block;margin-bottom:6px;color:#163a63;font-size:16px}
.sp-single-point span{display:block;color:#40607f;font-size:15px;line-height:1.6}
.sp-single-card h3{font-size:24px}
.sp-single-video iframe,.sp-single-video video{display:block;width:100%;aspect-ratio:16/9;min-height:0;border:0}
.sp-lightbox{padding:28px}
@media (max-width:991px){
  .sp-card {
    grid-template-columns: 1fr;
  }
  .sp-card-body {
    padding: 20px;
  }
  .sp-card-title {
    font-size: 21px;
  }
  .sp-card-meta {
    grid-template-columns: 1fr;
  }
  .sp-card-actions .btn {
    min-width: 0;
    flex: 1 1 0;
  }
  .sp-single-summary {
    position: static;
  }
  .sp-single-stage {
    min-height: 340px;
  }
}
@media (max-width:640px){
  .sp-card-media-top {
    top: 10px;
    left: 10px;
    right: 10px;
    flex-wrap: wrap;
  }
  .sp-card .sp-discount,
  .sp-card-type {
    font-size: 10px;
    padding: 6px 10px;
  }
  .sp-slide img {
    padding: 16px;
  }
  .sp-card-features li,
  .sp-single-features li {
    font-size: 14px;
  }
  .sp-card-meta-item {
    padding: 12px 14px;
  }
  .sp-price {
    font-size: 24px;
  }
  .sp-single-stage {
    min-height: 260px;
  }
  .sp-single-stage img {
    padding: 16px;
  }
  .sp-single-summary {
    padding: 20px;
  }
  .sp-single-price-box {
    padding: 16px;
  }
  .sp-lightbox {
    padding: 16px;
  }
  .sp-lightbox-close {
    top: 12px;
    right: 12px;
  }
}

/* catalog-compact-site-style-2026-07-27 */
.sp-card{
    grid-template-columns:280px minmax(0,1fr);
    border:1px solid #d3dfeb;
    box-shadow:0 10px 24px rgba(22,58,99,.06);
}
.sp-card:hover{
    box-shadow:0 16px 32px rgba(22,58,99,.10);
}
.sp-card-image{
    background:#f2f7fc;
}
.sp-slider,
.sp-no-image{
    aspect-ratio: 1 / 1;
    background:#f2f7fc;
}
.sp-slide img{
    padding:14px;
}
.sp-card-media-top{
    top:10px;
    left:10px;
    right:10px;
}
.sp-card-type,
.sp-card .sp-discount,
.sp-single-badges .sp-card-type,
.sp-single-badges .sp-discount{
    padding:6px 10px;
    font-size:10px;
}
.sp-card-body{
    gap:12px;
    padding:18px 20px;
}
.sp-card-top{
    gap:6px 8px;
}
.sp-status,
.sp-brand{
    padding:4px 9px;
    font-size:11px;
}
.sp-card-title{
    font-size:21px;
    line-height:1.16;
}
.sp-card-features{
    gap:7px;
}
.sp-card-features li{
    padding-left:14px;
    font-size:14px;
    line-height:1.45;
}
.sp-card-features li:before{
    width:6px;
    height:6px;
    top:.58em;
}
.sp-used-note{
    margin-top:0;
    padding:10px 12px;
    font-size:12px;
    line-height:1.45;
}
.sp-card-meta{
    grid-template-columns:1fr 1fr;
    gap:10px;
}
.sp-card-meta-item{
    padding:11px 12px;
}
.sp-card-meta-label{
    margin-bottom:4px;
    font-size:11px;
}
.sp-card-meta-value{
    font-size:14px;
}
.sp-card-price{
    gap:8px;
}
.sp-old-price{
    font-size:13px;
}
.sp-price{
    font-size:25px;
}
.sp-price-ask{
    font-size:15px;
}
.sp-files{
    gap:6px;
}
.sp-file-btn{
    padding:6px 10px;
    font-size:12px;
}
.sp-card-actions{
    gap:8px;
}
.sp-card-actions .btn{
    min-width:136px;
    padding:11px 16px;
}
.sp-single{
    gap:28px;
}
.sp-single-hero{
    gap:24px;
}
.sp-single-gallery,
.sp-single-summary,
.sp-single-card{
    box-shadow:0 12px 28px rgba(22,58,99,.07);
}
.sp-single-gallery{
    padding:16px;
}
.sp-single-stage{
    min-height:400px;
}
.sp-single-stage img{
    padding:18px;
}
.sp-single-thumbs{
    gap:10px;
    margin-top:10px;
}
.sp-single-summary{
    padding:24px;
}
.sp-single-title{
    margin-bottom:10px!important;
}
.sp-single-excerpt{
    font-size:15px;
    line-height:1.6;
    margin-bottom:14px;
}
.sp-single-features{
    gap:8px;
    margin-bottom:16px;
}
.sp-single-features li{
    padding-left:14px;
    font-size:15px;
    line-height:1.5;
}
.sp-single-features li:before{
    width:6px;
    height:6px;
}
.sp-single-price-box{
    padding:14px 16px;
    margin-bottom:18px;
}
.sp-single-price-note{
    font-size:13px;
}
.sp-single-spec{
    padding:11px 0;
}
.sp-single-content,
.sp-single-card p{
    font-size:15px;
    line-height:1.7;
}
.sp-single-card{
    padding:20px;
}
.sp-single-card h3{
    margin-bottom:10px;
    font-size:21px;
}
.sp-single-overview{display:block}
.sp-single-points{
    gap:10px;
}
.sp-single-point{
    padding:13px 14px;
}
.sp-single-point strong{
    font-size:15px;
}
.sp-single-point span{
    font-size:14px;
}
@media (max-width:991px){
    .sp-card{grid-template-columns:1fr;}
    .sp-slider,
    .sp-no-image{aspect-ratio:4 / 3;}
    .sp-card-body{padding:16px;}
    .sp-card-title{font-size:19px;}
    .sp-card-meta{grid-template-columns:1fr;}
    .sp-single-stage{min-height:320px;}
    .sp-single-summary{padding:20px;}
}
@media (max-width:640px){
    .sp-card-body{padding:14px;gap:10px;}
    .sp-card-title{font-size:18px;}
    .sp-card-features li{font-size:13px;}
    .sp-card-actions .btn{min-width:0;flex:1 1 0;padding:10px 12px;}
    .sp-price{font-size:22px;}
    .sp-single-gallery{padding:12px;}
    .sp-single-stage{min-height:240px;}
    .sp-single-summary{padding:16px;}
    .sp-single-card{padding:16px;}
    .sp-single-highlights{gap:6px;margin-bottom:12px}
    .sp-single-highlight-row{font-size:14px;line-height:1.5}
}

.sp-single-stage.is-video{
    cursor:default;
    align-items:stretch;
}
.sp-single-stage.is-video .sp-single-video{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
}
.sp-single-thumb-video{
    position:relative;
    overflow:hidden;
    background:transparent;
    border:0;
}
.sp-single-video-tile{
    position:relative;
    display:flex;
    width:100%;
    height:100%;
    min-height:72px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:linear-gradient(180deg,#284d7c 0%,#163a63 100%);
    color:#fff;
    overflow:hidden;
}
.sp-single-video-tile::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,0));
}
.sp-single-video-play{
    position:relative;
    z-index:1;
    width:42px;
    height:42px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,.24);
    border:1px solid rgba(255,255,255,.26);
    box-shadow:0 8px 18px rgba(0,0,0,.18);
}
.sp-single-video-play svg{
    margin-left:2px;
}
.sp-single-video-label{
    position:relative;
    z-index:1;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.sp-single-stage.is-video{
    padding:0;
    overflow:hidden;
    background:#0f2743;
    border-color:#163a63;
}
.sp-single-stage.is-video .sp-single-video{
    width:100%;
    min-height:100%;
}
.sp-single-video-player{
    aspect-ratio:16/9;
    background:#0b1a2d;
}
.sp-single-video-player iframe,
.sp-single-video-player video{
    display:block;
    width:100%;
    height:100%;
    border:0;
    background:#0b1a2d;
}
.sp-single-video-fallback{
    display:grid;
    grid-template-columns:minmax(220px, 42%) 1fr;
    min-height:100%;
    background:linear-gradient(135deg,#102947 0%,#183b66 58%,#214c81 100%);
    color:#fff;
}
.sp-single-video-fallback-poster{
    position:relative;
    min-height:100%;
    background:rgba(255,255,255,.06);
}
.sp-single-video-fallback-poster img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    opacity:.9;
}
.sp-single-video-fallback-poster:after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(9,22,38,.04),rgba(9,22,38,.32));
}
.sp-single-video-fallback-play{
    position:absolute;
    left:50%;
    top:50%;
    width:84px;
    height:84px;
    transform:translate(-50%,-50%);
    border-radius:999px;
    background:rgba(255,255,255,.94);
    box-shadow:0 18px 36px rgba(0,0,0,.22);
    z-index:2;
}
.sp-single-video-fallback-play:before{
    content:'';
    position:absolute;
    left:34px;
    top:26px;
    border-top:16px solid transparent;
    border-bottom:16px solid transparent;
    border-left:24px solid #163a63;
}
.sp-single-video-fallback-body{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:14px;
    padding:34px 36px;
}
.sp-single-video-fallback-kicker{
    display:inline-flex;
    align-self:flex-start;
    padding:6px 10px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.sp-single-video-fallback-body strong{
    display:block;
    font-size:30px;
    line-height:1.08;
    color:#fff;
}
.sp-single-video-fallback-body p{
    margin:0;
    color:rgba(255,255,255,.8);
    font-size:15px;
    line-height:1.6;
}
.sp-single-video-fallback-body .btn{
    align-self:flex-start;
    margin-top:4px;
}
@media (max-width:991px){
    .sp-single-video-fallback{grid-template-columns:1fr;}
    .sp-single-video-fallback-poster{min-height:220px;}
    .sp-single-video-fallback-body{padding:24px;}
    .sp-single-video-fallback-body strong{font-size:24px;}
}
@media (max-width:640px){
    .sp-slider-btn{width:28px;height:28px;}
    .sp-slider-prev{left:10px;}
    .sp-slider-next{right:10px;}
    .sp-slider-dots{bottom:8px;padding:4px 7px;gap:4px;}
    .sp-dot{width:6px;height:6px;}
    .sp-dot-active{width:12px;}
    .sp-single-video-fallback-poster{min-height:180px;}
    .sp-single-video-fallback-play{width:68px;height:68px;}
    .sp-single-video-fallback-play:before{left:28px;top:21px;border-top:13px solid transparent;border-bottom:13px solid transparent;border-left:20px solid #163a63;}
    .sp-single-video-fallback-body{padding:20px;gap:12px;}
    .sp-single-video-fallback-body strong{font-size:20px;}
}

/* catalog card slider refinement */
.sp-card .sp-slider{
    overflow:hidden;
}
.sp-card .sp-slider-btn{
    top:50%;
    margin:0;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    min-width:32px;
    min-height:32px;
    padding:0;
    border-radius:999px;
    border:1px solid rgba(22,58,99,.22);
    background:rgba(255,255,255,.98);
    box-shadow:0 6px 16px rgba(22,58,99,.16);
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1;
}
.sp-card .sp-slider-prev{
    left:10px;
}
.sp-card .sp-slider-next{
    right:10px;
}
.sp-card .sp-slider-btn svg{
    width:15px;
    height:15px;
    display:block;
    stroke:#163a63;
    stroke-width:2.3;
}
.sp-card .sp-slider-btn:hover{
    background:#163a63;
    border-color:#163a63;
    box-shadow:0 10px 20px rgba(22,58,99,.2);
}
.sp-card .sp-slider-btn:hover svg{
    stroke:#fff;
}
.sp-card .sp-slider-dots{
    left:50%;
    bottom:10px;
    transform:translateX(-50%);
    gap:5px;
    padding:0;
    border-radius:0;
    background:transparent;
    backdrop-filter:none;
    box-shadow:none;
}
.sp-card .sp-dot{
    width:18px;
    height:6px;
    min-width:18px;
    min-height:6px;
    border-radius:999px;
    background:rgba(22,58,99,.18);
    border:none;
}
.sp-card .sp-dot-active{
    width:18px;
    background:#de4d5a;
}
.sp-card .sp-slider-counter{
    top:8px;
    right:8px;
    padding:2px 5px;
    border-radius:6px;
    background:rgba(15,35,60,.52);
    font-size:10px;
    line-height:1.1;
    font-weight:700;
    letter-spacing:.02em;
}
@media (max-width:640px){
    .sp-card .sp-slider-btn{
        width:28px;
        height:28px;
        min-width:28px;
        min-height:28px;
    }
    .sp-card .sp-slider-btn svg{
        width:13px;
        height:13px;
    }
    .sp-card .sp-slider-dots{
        bottom:8px;
        gap:4px;
    }
    .sp-card .sp-dot{
        width:14px;
        height:5px;
        min-width:14px;
        min-height:5px;
    }
    .sp-card .sp-dot-active{
        width:14px;
    }
}

/* force catalog slider controls */
.sp-catalog .sp-card .sp-slider-btn,
.sp-catalog .sp-card button.sp-slider-btn{
    appearance:none !important;
    -webkit-appearance:none !important;
    position:absolute !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    margin:0 !important;
    padding:0 !important;
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    min-height:32px !important;
    border-radius:50% !important;
    border:1px solid rgba(22,58,99,.22) !important;
    background:rgba(255,255,255,.98) !important;
    box-shadow:0 6px 16px rgba(22,58,99,.16) !important;
    color:#163a63 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:1 !important;
    text-indent:0 !important;
}
.sp-catalog .sp-card .sp-slider-prev,
.sp-catalog .sp-card button.sp-slider-prev{
    left:10px !important;
    right:auto !important;
}
.sp-catalog .sp-card .sp-slider-next,
.sp-catalog .sp-card button.sp-slider-next{
    right:10px !important;
    left:auto !important;
}
.sp-catalog .sp-card .sp-slider-btn:hover,
.sp-catalog .sp-card button.sp-slider-btn:hover{
    background:#163a63 !important;
    border-color:#163a63 !important;
    color:#fff !important;
}
.sp-catalog .sp-card .sp-slider-btn svg,
.sp-catalog .sp-card button.sp-slider-btn svg{
    width:15px !important;
    height:15px !important;
    display:block !important;
    stroke:currentColor !important;
    stroke-width:2.3 !important;
    fill:none !important;
}
.sp-catalog .sp-card .sp-slider-dots{
    position:absolute !important;
    left:50% !important;
    bottom:10px !important;
    transform:translateX(-50%) !important;
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}
.sp-catalog .sp-card .sp-dot,
.sp-catalog .sp-card button.sp-dot{
    appearance:none !important;
    -webkit-appearance:none !important;
    width:18px !important;
    height:6px !important;
    min-width:18px !important;
    min-height:6px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:999px !important;
    background:rgba(22,58,99,.18) !important;
    box-shadow:none !important;
}
.sp-catalog .sp-card .sp-dot-active,
.sp-catalog .sp-card button.sp-dot-active{
    background:#de4d5a !important;
}
@media (max-width:640px){
    .sp-catalog .sp-card .sp-slider-btn,
    .sp-catalog .sp-card button.sp-slider-btn{
        width:28px !important;
        height:28px !important;
        min-width:28px !important;
        min-height:28px !important;
    }
    .sp-catalog .sp-card .sp-slider-btn svg,
    .sp-catalog .sp-card button.sp-slider-btn svg{
        width:13px !important;
        height:13px !important;
    }
    .sp-catalog .sp-card .sp-slider-dots{
        bottom:8px !important;
        gap:4px !important;
    }
    .sp-catalog .sp-card .sp-dot,
    .sp-catalog .sp-card button.sp-dot{
        width:14px !important;
        height:5px !important;
        min-width:14px !important;
        min-height:5px !important;
    }
}


/* Products page informational zone */
.sp-info-zone {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 28px;
}
.sp-info-section {
    background: #fff;
    border: 1px solid #e0e4ec;
    padding: 28px;
}
.sp-info-head {
    margin-bottom: 18px;
    max-width: 820px;
}
.sp-info-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1f5fb8;
}
.sp-info-section h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.08;
    color: #163a63;
}
.sp-info-section h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.18;
    color: #163a63;
}
.sp-info-section p,
.sp-info-section li,
.sp-link-list a {
    font-size: 16px;
    line-height: 1.7;
}
.sp-info-grid {
    display: grid;
    gap: 18px;
}
.sp-info-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sp-info-card,
.sp-info-panel,
.sp-process-card,
.sp-faq-card {
    border: 1px solid #e0e4ec;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    padding: 22px;
    min-width: 0;
}
.sp-info-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 18px;
}
.sp-info-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}
.sp-link-list {
    display: grid;
    gap: 10px;
}
.sp-link-list a {
    display: block;
    padding: 12px 14px;
    border: 1px solid #d7e3f4;
    text-decoration: none;
    color: #163a63;
    font-weight: 700;
    background: #fff;
}
.sp-link-list a:hover {
    border-color: #163a63;
    background: #f5f8fd;
}
.sp-process-grid,
.sp-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.sp-process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 34px;
    padding: 0 12px;
    margin-bottom: 14px;
    background: #163a63;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}
.sp-cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #163a63 0%, #1f5fb8 100%);
    border-color: #163a63;
}
.sp-cta-band h2,
.sp-cta-band p,
.sp-cta-band .sp-info-kicker {
    color: #fff;
}
.sp-cta-band p {
    color: #ffffff !important;
    opacity: 1 !important;
    max-width: 760px;
}
.sp-cta-band .btn {
    color: #163a63;
}
.sp-cta-band .btn.primary {
    color: #ffffff !important;
}
.sp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}
.sp-cta-band .btn {
    min-width: 190px;
    justify-content: center;
}
@media (max-width: 1200px) {
    .sp-info-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .sp-info-section {
        padding: 22px;
    }
    .sp-info-section h2 {
        font-size: 28px;
    }
    .sp-info-split,
    .sp-process-grid,
    .sp-faq-grid,
    .sp-cta-band,
    .sp-info-grid-3 {
        grid-template-columns: 1fr;
    }
    .sp-cta-actions {
        justify-content: flex-start;
    }
}
@media (max-width: 640px) {
    .sp-info-zone {
        gap: 18px;
        margin-top: 20px;
    }
    .sp-info-section {
        padding: 18px;
    }
    .sp-info-section h2 {
        font-size: 24px;
    }
    .sp-info-section h3 {
        font-size: 18px;
    }
    .sp-info-section p,
    .sp-info-section li,
    .sp-link-list a {
        font-size: 15px;
        line-height: 1.6;
    }
    .sp-cta-band .btn {
        width: 100%;
        min-width: 0;
    }
}

.sp-info-section.sp-cta-band h2,
.sp-cta-band h2,
.sp-cta-band .sp-info-head h2 {
    color: #ffffff !important;
}
.sp-info-section.sp-cta-band .sp-info-kicker,
.sp-info-section.sp-cta-band p {
    color: #ffffff !important;
    opacity: 1 !important;
}


/* Product admin + single page fixes: 2026-07-28 */
.sp-single-title{
    display:block !important;
    margin:0 0 14px !important;
    padding:0 !important;
    border:0 !important;
    color:#163a63 !important;
}
.sp-single-content p,
.sp-single-content ul,
.sp-single-content ol{
    margin:0 0 14px;
}
.sp-single-content p:last-child,
.sp-single-content ul:last-child,
.sp-single-content ol:last-child{
    margin-bottom:0;
}
.sp-single-content li{
    margin:0 0 6px;
}
.sp-single-specs{
    align-content:start;
}

.sp-single-summary-text p:first-child{margin-top:0}
.sp-single-summary-text p:last-child{margin-bottom:0}
.sp-single-features-card{margin:0;padding-left:20px}
.sp-single-features-card li{margin:0 0 10px;color:#163a63;line-height:1.7}

.sp-cat-heading-title{margin:0 0 4px;border:none;padding:0}
.sp-cat-heading-meta{margin:0;color:#888;font-size:14px}
.sp-empty-notice{display:none}
.sp-empty-card{text-align:center}
.sp-empty-card-sm{padding:32px}
.sp-empty-card-lg{padding:48px}
.sp-empty-text{color:#494949}
.sp-status-label{font-weight:600}
.sp-status-label-instock{color:#0a7a0a}
.sp-status-label-order{color:#b45309}
.sp-status-label-sold{color:#c0392b}


/* catalog-typography-and-stability-2026-07-29 */
.sp-card-title,
.sp-single-title,
.sp-single-card h3,
.sp-single-section-head h2{
    text-wrap:balance;
    overflow-wrap:break-word;
    word-break:normal;
}
.sp-card-features li,
.sp-single-content,
.sp-single-point span,
.sp-single-price-note,
.sp-used-note,
.sp-single-cta-repeat__text p{
    text-wrap:pretty;
    overflow-wrap:break-word;
    word-break:normal;
}
.sp-card-title a,
.sp-single-title,
.sp-single-spec strong,
.sp-price,
.sp-price-ask,
.sp-old-price{
    -webkit-hyphens:none;
    hyphens:none;
}
.sp-card-body{min-width:0}
.sp-card-features li,
.sp-single-features li,
.sp-single-point,
.sp-single-spec,
.sp-single-cta-repeat__text{min-width:0}
.sp-card-actions .btn,
.sp-single-actions .btn{
    white-space:normal;
    text-align:center;
}
.sp-single-cta-repeat{padding:24px}
.sp-single-cta-repeat__grid{align-items:start}
@media (max-width:640px){
    .sp-card-actions{grid-template-columns:1fr 1fr}
    .sp-card-actions .btn{width:100%}
    .sp-single-cta-repeat{padding:18px}
}


/* catalog-sidebar-and-pagination-stability-2026-07-29 */
.sp-cat-item{gap:10px;align-items:flex-start}
.sp-cat-item-name{flex:1 1 auto;min-width:0;text-wrap:pretty;overflow-wrap:break-word;word-break:normal}
.sp-cat-item-count{flex:0 0 auto;white-space:nowrap}
.sp-filters{min-width:0}
.sp-filter-group{min-width:0}
.sp-search-wrap{min-width:min(240px,100%)}
.sp-search{min-width:0}
.sp-pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:24px 0}
.sp-page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 14px;line-height:1}
.sp-page-info{width:100%;text-align:center;color:#70839b;font-size:13px}
@media (max-width:900px){
  .sp-sidebar{padding:16px}
  .sp-cat-list{gap:8px}
  .sp-cat-item{min-height:100%;background:#fff;border:1px solid #e0e4ec;border-left-width:3px}
}
@media (max-width:640px){
  .sp-search-wrap{min-width:100%}
  .sp-filters{padding:14px}
  .sp-card-actions{display:grid;grid-template-columns:1fr 1fr}
  .sp-page-btn{min-width:40px;height:40px;padding:0 12px}
}


.sp-sidebar-cta-actions{display:grid;gap:10px}
.sp-sidebar-cta-actions .btn{width:100%;justify-content:center;text-align:center;white-space:normal}

/* codex-catalog-polish-2026-07-29 */
.sp-sidebar,
.sp-sidebar-cta,
.sp-card-body,
.sp-single-summary,
.sp-single-card,
.sp-single-cta-repeat__text{
  min-width:0;
}
.sp-sidebar-title,
.sp-sidebar-cta-title,
.sp-card-title,
.sp-card-title a,
.sp-single-title,
.sp-single-card h3,
.sp-single-kicker,
.sp-card-meta-value,
.sp-single-spec strong{
  text-wrap:balance;
  overflow-wrap:break-word;
  word-break:normal;
}
.sp-card-desc,
.sp-card-desc p,
.sp-card-features li,
.sp-single-excerpt,
.sp-single-content,
.sp-single-content p,
.sp-single-point span,
.sp-single-price-note,
.sp-sidebar-cta p,
.sp-page-info{
  text-wrap:pretty;
  overflow-wrap:break-word;
  word-break:normal;
}
.sp-price,
.sp-old-price,
.sp-price-ask,
.sp-single-price .sp-price,
.sp-single-price .sp-old-price,
.sp-single-price .sp-price-ask{
  white-space:nowrap;
}
.sp-card-body{
  height:100%;
}
.sp-card-actions,
.sp-single-actions,
.sp-single-actions-repeat{
  align-items:stretch;
}
.sp-card-actions{
  margin-top:auto;
}
.sp-card-actions .btn,
.sp-single-actions .btn,
.sp-single-actions-repeat .btn{
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  white-space:normal;
}
.sp-card-meta,
.sp-single-cta-repeat__grid{
  align-items:stretch;
}
.sp-card-meta-item,
.sp-single-point{
  height:100%;
}
.sp-single-cta-repeat__text{
  display:flex;
  align-items:center;
}
@media (max-width: 640px){
  .sp-card-actions .btn,
  .sp-single-actions .btn,
  .sp-single-actions-repeat .btn{
    width:100%;
  }
}

.sp-single-highlights-html{margin:-2px 0 16px}
.sp-single-highlights-html p,
.sp-single-highlights-html ul,
.sp-single-highlights-html ol{margin:0}
.sp-single-highlights-html ul,
.sp-single-highlights-html ol{padding-left:0;list-style:none;display:grid;gap:8px}
.sp-single-highlights-html li,
.sp-single-highlights-html p{position:relative;padding-left:0;font-size:15px;line-height:1.55;color:#35577f;text-wrap:pretty;overflow-wrap:break-word;word-break:normal}
.sp-single-highlights-html li + li,
.sp-single-highlights-html p + p{margin-top:0}
@media (max-width:640px){
  .sp-single-highlights-html{margin-bottom:12px}
  .sp-single-highlights-html li,
  .sp-single-highlights-html p{font-size:14px;line-height:1.5}
}
/* codex card price badge 2026-07-29 */
.sp-card-price{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:10px 14px;
  border:1px solid #dbe5f0;
  background:linear-gradient(180deg,#f7fbff 0%,#eef5fc 100%);
}
.sp-card-price .sp-price{
  order:1;
  font-size:clamp(22px,1.8vw,30px);
  font-weight:800;
  line-height:1;
  color:#163a63;
  letter-spacing:-.03em;
}
.sp-card-price .sp-old-price{
  order:2;
  font-size:15px;
  line-height:1;
  color:#6b7f96;
  text-decoration:line-through;
  text-decoration-thickness:1px;
  text-decoration-color:#6b7f96;
}
.sp-price-discount-badge{
  order:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:7px 12px;
  background:#de4d5a;
  color:#fff;
  font-size:14px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  box-shadow:none;
}
@media (max-width: 767px){
  .sp-card-price{gap:8px;padding:9px 12px}
  .sp-card-price .sp-price{font-size:clamp(20px,6vw,26px)}
  .sp-card-price .sp-old-price{font-size:14px}
  .sp-price-discount-badge{min-height:28px;padding:6px 10px;font-size:12px}
}
/* codex catalog price full width 2026-07-29 */
.sp-card-meta-price-only{
  display:block;
}
.sp-card-meta-price-only .sp-card-meta-item-price{
  width:100%;
  max-width:none;
  flex:1 1 100%;
}
.sp-card-meta-price-only .sp-card-meta-label{
  display:block;
  margin-bottom:8px;
}
.sp-card-meta-price-only .sp-card-price{
  width:100%;
}