/* =========================================================
   IPENKCO PRODUCT MANAGER
   FRONTEND CSS
   ========================================================= */

:root {
    --ipk-navy: #08233d;
    --ipk-navy-2: #0d3558;
    --ipk-navy-3: #123f64;
    --ipk-orange: #f58220;
    --ipk-orange-dark: #d96d12;
    --ipk-bg: #f4f6f8;
    --ipk-border: #dfe5ea;
    --ipk-text: #172331;
    --ipk-muted: #667482;
    --ipk-white: #ffffff;
    --ipk-success: #20855a;
    --ipk-shadow: 0 12px 35px rgba(8, 35, 61, .08);
    --ipk-radius: 12px;
    --ipk-font: Yekan, "Yekan Bakh", IRANSans, Tahoma, Arial, sans-serif;
}


/* =========================================================
   GLOBAL
   ========================================================= */

.ipenkco-product-page,
.ipenkco-product-category-page {
    font-family: var(--ipk-font);
    color: var(--ipk-text);
}

.ipenkco-product-page *,
.ipenkco-product-category-page * {
    box-sizing: border-box;
}

.ipenkco-product-page a,
.ipenkco-product-category-page a {
    text-decoration: none;
}

.ipenkco-single-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.ipenkco-new-breadcrumb,
.ipenkco-product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 0 20px;
    color: var(--ipk-muted);
    font-size: 13px;
}

.ipenkco-new-breadcrumb a,
.ipenkco-product-breadcrumb a {
    color: var(--ipk-muted);
}

.ipenkco-new-breadcrumb a:hover,
.ipenkco-product-breadcrumb a:hover {
    color: var(--ipk-orange);
}

.ipenkco-new-breadcrumb strong,
.ipenkco-product-breadcrumb strong {
    color: var(--ipk-text);
    font-weight: 600;
}


/* =========================================================
   PRODUCT HERO
   ========================================================= */

.ipenkco-new-product-hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(0, .92fr);
    gap: 52px;
    align-items: start;
    padding: 10px 0 55px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.ipenkco-new-gallery {
    min-width: 0;
}

.ipenkco-new-main-image {
    width: 100%;
    height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f7f9fb 100%
        );
    border: 1px solid var(--ipk-border);
    border-radius: var(--ipk-radius);
    overflow: hidden;
    position: relative;
}

.ipenkco-new-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 25px;
    transition:
        opacity .18s ease,
        transform .25s ease;
}

.ipenkco-new-main-image img.is-changing {
    opacity: 0;
}

.ipenkco-new-main-image:hover img {
    transform: scale(1.015);
}

.ipenkco-new-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            145deg,
            var(--ipk-navy),
            var(--ipk-navy-2)
        );
    color: var(--ipk-white);
}

.ipenkco-new-image-placeholder strong {
    font-size: 32px;
    letter-spacing: 2px;
}

.ipenkco-new-image-placeholder span {
    margin-top: 7px;
    font-size: 11px;
    letter-spacing: 1.5px;
    opacity: .7;
}


/* =========================================================
   THUMBNAILS
   ========================================================= */

.ipenkco-new-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ipenkco-new-thumbnail {
    flex: 0 0 76px;
    width: 76px;
    height: 68px;
    padding: 4px;
    border: 1px solid var(--ipk-border);
    border-radius: 8px;
    background: var(--ipk-white);
    cursor: pointer;
    overflow: hidden;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.ipenkco-new-thumbnail:hover {
    border-color: var(--ipk-orange);
    transform: translateY(-1px);
}

.ipenkco-new-thumbnail.active {
    border-color: var(--ipk-orange);
    box-shadow:
        0 0 0 1px var(--ipk-orange);
}

.ipenkco-new-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* =========================================================
   PRODUCT INFO
   ========================================================= */

.ipenkco-new-product-info {
    min-width: 0;
}

.ipenkco-new-category-label {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 4px;
    background: #eef3f7;
    color: var(--ipk-navy-2);
    font-size: 12px;
    font-weight: 700;
}

.ipenkco-new-category-label:hover {
    background: var(--ipk-orange);
    color: #fff;
}

.ipenkco-new-product-title {
    margin: 14px 0 7px;
    color: var(--ipk-navy);
    font-size: 31px;
    line-height: 1.45;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.ipenkco-new-product-en-name {
    color: var(--ipk-muted);
    font-size: 14px;
    line-height: 1.7;
    direction: ltr;
    text-align: left;
    overflow-wrap: anywhere;
}

.ipenkco-new-product-divider {
    height: 1px;
    margin: 20px 0;
    background:
        linear-gradient(
            to left,
            transparent,
            var(--ipk-border),
            transparent
        );
}


/* =========================================================
   PRODUCT DATA
   ========================================================= */

.ipenkco-new-product-data {
    border-top: 1px solid var(--ipk-border);
}

.ipenkco-new-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 46px;
    border-bottom: 1px solid var(--ipk-border);
    font-size: 13px;
}

.ipenkco-new-data-row > span {
    color: var(--ipk-muted);
}

.ipenkco-new-data-row strong {
    color: var(--ipk-text);
    font-weight: 700;
    text-align: left;
    overflow-wrap: anywhere;
}

.ipenkco-new-data-row a {
    color: var(--ipk-orange);
    font-weight: 700;
}


/* =========================================================
   SUPPLY
   ========================================================= */

.ipenkco-new-supply {
    margin-top: 22px;
    padding: 17px;
    background: #f8fafb;
    border: 1px solid var(--ipk-border);
    border-radius: 10px;
}

.ipenkco-new-supply-heading {
    margin-bottom: 13px;
}

.ipenkco-new-supply-heading span {
    display: block;
    color: var(--ipk-muted);
    font-size: 11px;
    margin-bottom: 3px;
}

.ipenkco-new-supply-heading strong {
    display: block;
    color: var(--ipk-navy);
    font-size: 14px;
}

.ipenkco-new-supply-options {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.ipenkco-new-supply-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 67px;
    padding: 9px 11px;
    border: 1px solid var(--ipk-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background .2s ease;
}

.ipenkco-new-supply-option:hover {
    border-color: #b7c4cf;
}

.ipenkco-new-supply-option.active {
    border-color: var(--ipk-orange);
    background:
        rgba(245, 130, 32, .045);
}

.ipenkco-new-supply-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ipenkco-new-radio {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    border: 2px solid #aebbc5;
    border-radius: 50%;
    position: relative;
}

.ipenkco-new-supply-option.active
.ipenkco-new-radio {
    border-color: var(--ipk-orange);
}

.ipenkco-new-supply-option.active
.ipenkco-new-radio::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: var(--ipk-orange);
}

.ipenkco-new-supply-text {
    min-width: 0;
}

.ipenkco-new-supply-text strong {
    display: block;
    color: var(--ipk-navy);
    font-size: 13px;
}

.ipenkco-new-supply-text small {
    display: block;
    margin-top: 3px;
    color: var(--ipk-muted);
    font-size: 10px;
    line-height: 1.6;
}


/* =========================================================
   QUOTE BUTTON
   ========================================================= */

.ipenkco-new-quote-button {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background:
        linear-gradient(
            135deg,
            var(--ipk-orange),
            var(--ipk-orange-dark)
        );
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 7px 18px rgba(245, 130, 32, .18);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.ipenkco-new-quote-button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 23px rgba(245, 130, 32, .25);
}

.ipenkco-new-quote-button.is-selected {
    background:
        linear-gradient(
            135deg,
            var(--ipk-navy),
            var(--ipk-navy-2)
        );
}

.ipenkco-new-quote-button b {
    font-size: 19px;
}

.ipenkco-new-quote-note {
    margin-top: 8px;
    color: var(--ipk-muted);
    font-size: 10px;
    line-height: 1.7;
    text-align: center;
}


/* =========================================================
   INFORMATION
   ========================================================= */

.ipenkco-new-information {
    padding: 45px 0 55px;
    border-top: 1px solid var(--ipk-border);
}

.ipenkco-new-section-title {
    margin-bottom: 28px;
}

.ipenkco-new-section-title > span {
    display: block;
    margin-bottom: 4px;
    color: var(--ipk-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    direction: ltr;
}

.ipenkco-new-section-title h2 {
    margin: 0;
    color: var(--ipk-navy);
    font-size: 25px;
    font-weight: 800;
}

.ipenkco-new-info-block {
    margin-bottom: 24px;
    padding: 23px;
    background: #fff;
    border: 1px solid var(--ipk-border);
    border-radius: 10px;
}

.ipenkco-new-info-block h3 {
    margin: 0 0 15px;
    padding-right: 11px;
    border-right: 3px solid var(--ipk-orange);
    color: var(--ipk-navy);
    font-size: 17px;
    font-weight: 800;
}

.ipenkco-new-description,
.ipenkco-new-application {
    color: #4d5b67;
    font-size: 14px;
    line-height: 2;
}

.ipenkco-new-description p,
.ipenkco-new-application p {
    margin: 0 0 10px;
}

.ipenkco-new-description p:last-child,
.ipenkco-new-application p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SPECIFICATIONS
   ========================================================= */

.ipenkco-new-specifications {
    border: 1px solid var(--ipk-border);
    border-radius: 8px;
    overflow: hidden;
}

.ipenkco-new-spec-row {
    display: grid;
    grid-template-columns:
        minmax(150px, .75fr)
        minmax(0, 1.25fr);
    min-height: 45px;
    border-bottom: 1px solid var(--ipk-border);
}

.ipenkco-new-spec-row:last-child {
    border-bottom: 0;
}

.ipenkco-new-spec-row > div {
    padding: 11px 13px;
    background: #f7f9fa;
    color: var(--ipk-muted);
    font-size: 12px;
}

.ipenkco-new-spec-row strong {
    padding: 11px 13px;
    color: var(--ipk-text);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.ipenkco-new-spec-row strong span {
    color: var(--ipk-muted);
    font-weight: 400;
}


/* =========================================================
   KEYWORDS
   ========================================================= */

.ipenkco-new-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ipenkco-new-keywords span {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 4px 10px;
    border: 1px solid var(--ipk-border);
    border-radius: 5px;
    background: #f7f9fa;
    color: var(--ipk-navy);
    font-size: 10px;
    line-height: 1.5;
}

.ipenkco-new-keywords span:hover {
    border-color: var(--ipk-orange);
    color: var(--ipk-orange);
}


/* =========================================================
   DOCUMENTS
   ========================================================= */

.ipenkco-new-documents {
    display: grid;
    gap: 9px;
}

.ipenkco-new-document {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 65px;
    padding: 10px 12px;
    border: 1px solid var(--ipk-border);
    border-radius: 8px;
    background: #fafbfc;
}

.ipenkco-new-document-icon {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #fff0e7;
    color: var(--ipk-orange);
    font-size: 10px;
    font-weight: 900;
}

.ipenkco-new-document > div {
    min-width: 0;
    flex: 1;
}

.ipenkco-new-document strong {
    display: block;
    color: var(--ipk-navy);
    font-size: 12px;
}

.ipenkco-new-document small {
    display: block;
    margin-top: 3px;
    color: var(--ipk-muted);
    font-size: 10px;
}

.ipenkco-new-document > a {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 5px;
    background: var(--ipk-navy);
    color: #fff;
    font-size: 11px;
}

.ipenkco-new-document > a:hover {
    background: var(--ipk-orange);
}


/* =========================================================
   RELATED PRODUCTS
   ========================================================= */

.ipenkco-new-related {
    padding: 42px 0 65px;
    border-top: 1px solid var(--ipk-border);
}

.ipenkco-new-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.ipenkco-new-related-heading span {
    display: block;
    color: var(--ipk-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    direction: ltr;
}

.ipenkco-new-related-heading h2 {
    margin: 4px 0 0;
    color: var(--ipk-navy);
    font-size: 23px;
}

.ipenkco-new-related-heading > a {
    color: var(--ipk-orange);
    font-size: 12px;
    font-weight: 700;
}

.ipenkco-new-related-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ipenkco-new-related-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ipk-border);
    border-radius: 9px;
    background: #fff;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.ipenkco-new-related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ipk-shadow);
}

.ipenkco-new-related-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f9fa;
    overflow: hidden;
}

.ipenkco-new-related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.ipenkco-new-related-image > span {
    color: var(--ipk-navy);
    font-size: 17px;
    font-weight: 900;
}

.ipenkco-new-related-content {
    padding: 13px;
}

.ipenkco-new-related-content small {
    display: block;
    margin-bottom: 5px;
    color: var(--ipk-orange);
    font-size: 10px;
}

.ipenkco-new-related-content h3 {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.7;
}

.ipenkco-new-related-content h3 a {
    color: var(--ipk-navy);
}

.ipenkco-new-related-content > span {
    color: var(--ipk-muted);
    font-size: 10px;
}


/* =========================================================
   CATALOG
   ========================================================= */

.ipenkco-products-wrapper {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    font-family: var(--ipk-font);
}

.ipenkco-products-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 0 24px;
}

.ipenkco-products-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--ipk-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    direction: ltr;
}

.ipenkco-products-heading h2,
.ipenkco-category-header h1 {
    margin: 0;
    color: var(--ipk-navy);
    font-size: 28px;
    font-weight: 800;
}

.ipenkco-products-heading p,
.ipenkco-category-header p {
    margin: 7px 0 0;
    color: var(--ipk-muted);
    font-size: 13px;
}

.ipenkco-products-search {
    flex: 0 1 430px;
}

.ipenkco-search-box {
    display: flex;
    align-items: center;
    min-height: 45px;
    border: 1px solid var(--ipk-border);
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}

.ipenkco-search-icon {
    padding: 0 10px;
    color: var(--ipk-orange);
}

.ipenkco-search-box input {
    flex: 1;
    min-width: 0;
    height: 43px;
    border: 0;
    outline: 0;
    font-family: inherit;
    font-size: 12px;
}

.ipenkco-search-box button {
    height: 43px;
    padding: 0 17px;
    border: 0;
    background: var(--ipk-navy);
    color: #fff;
    font-family: inherit;
    cursor: pointer;
}

.ipenkco-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    margin-bottom: 18px;
    border-top: 1px solid var(--ipk-border);
    border-bottom: 1px solid var(--ipk-border);
}

.ipenkco-results-count {
    color: var(--ipk-muted);
    font-size: 12px;
}

.ipenkco-manufacture-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ipenkco-manufacture-filters a {
    padding: 6px 10px;
    border-radius: 5px;
    color: var(--ipk-muted);
    font-size: 11px;
}

.ipenkco-manufacture-filters a:hover,
.ipenkco-manufacture-filters a.active {
    background: var(--ipk-navy);
    color: #fff;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.ipenkco-products-grid {
    display: grid;
    gap: 18px;
}

.ipenkco-columns-2 {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}

.ipenkco-columns-3 {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

.ipenkco-columns-4 {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}

.ipenkco-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ipk-border);
    border-radius: 10px;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.ipenkco-product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ipk-shadow);
}

.ipenkco-product-image {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f9fa;
    overflow: hidden;
}

.ipenkco-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 13px;
    transition: transform .2s ease;
}

.ipenkco-product-card:hover
.ipenkco-product-image img {
    transform: scale(1.025);
}

.ipenkco-product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            145deg,
            var(--ipk-navy),
            var(--ipk-navy-2)
        );
    color: #fff;
}

.ipenkco-product-image-placeholder span {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
}

.ipenkco-product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px;
}

.ipenkco-product-category {
    margin-bottom: 5px;
    color: var(--ipk-orange);
    font-size: 10px;
    font-weight: 700;
}

.ipenkco-product-title {
    margin: 0 0 9px;
    font-size: 15px;
    line-height: 1.65;
}

.ipenkco-product-title a {
    color: var(--ipk-navy);
}

.ipenkco-product-meta {
    display: grid;
    gap: 4px;
    padding: 9px 0;
    border-top: 1px solid var(--ipk-border);
    border-bottom: 1px solid var(--ipk-border);
    color: var(--ipk-muted);
    font-size: 10px;
}

.ipenkco-product-meta span {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.ipenkco-product-meta strong {
    color: var(--ipk-text);
}

.ipenkco-product-short-description {
    margin-top: 9px;
    color: var(--ipk-muted);
    font-size: 10px;
    line-height: 1.8;
}

.ipenkco-manufacture-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: var(--ipk-muted);
    font-size: 10px;
}

.ipenkco-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #aaa;
}

.ipenkco-manufacture-yes
.ipenkco-status-dot {
    background: var(--ipk-success);
}

.ipenkco-manufacture-no
.ipenkco-status-dot {
    background: #64748b;
}

.ipenkco-manufacture-review
.ipenkco-status-dot {
    background: var(--ipk-orange);
}

.ipenkco-product-actions {
    display: grid;
    grid-template-columns:
        minmax(0, .8fr)
        minmax(0, 1.2fr);
    gap: 7px;
    margin-top: auto;
    padding-top: 13px;
}

.ipenkco-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background .2s ease,
        transform .2s ease;
}

.ipenkco-btn-primary {
    background: var(--ipk-orange);
    color: #fff;
}

.ipenkco-btn-primary:hover {
    background: var(--ipk-orange-dark);
}

.ipenkco-btn-primary.is-selected {
    background: var(--ipk-navy);
}

.ipenkco-btn-secondary {
    background: #eef2f5;
    color: var(--ipk-navy);
}

.ipenkco-btn-secondary:hover {
    background: #e0e6eb;
}


/* =========================================================
   EMPTY
   ========================================================= */

.ipenkco-products-empty {
    padding: 60px 20px;
    text-align: center;
    border: 1px dashed var(--ipk-border);
    border-radius: 10px;
    background: #fafbfc;
}

.ipenkco-empty-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #edf2f5;
    color: var(--ipk-orange);
    font-size: 20px;
}

.ipenkco-products-empty h3 {
    margin: 0;
    color: var(--ipk-navy);
    font-size: 17px;
}

.ipenkco-products-empty p {
    margin: 6px 0 0;
    color: var(--ipk-muted);
    font-size: 12px;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.ipenkco-category-page {
    font-family: var(--ipk-font);
}

.ipenkco-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--ipk-border);
}

.ipenkco-category-en {
    margin-top: 5px;
    color: var(--ipk-muted);
    font-size: 12px;
    direction: ltr;
}

.ipenkco-category-count {
    flex: 0 0 auto;
    text-align: center;
    padding: 13px 20px;
    border: 1px solid var(--ipk-border);
    border-radius: 8px;
    background: #fafbfc;
}

.ipenkco-category-count strong {
    display: block;
    color: var(--ipk-navy);
    font-size: 24px;
}

.ipenkco-category-count span {
    color: var(--ipk-muted);
    font-size: 10px;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.ipenkco-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 28px 0 45px;
}

.ipenkco-pagination .page-numbers {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid var(--ipk-border);
    border-radius: 5px;
    color: var(--ipk-navy);
    font-size: 11px;
}

.ipenkco-pagination .page-numbers.current,
.ipenkco-pagination .page-numbers:hover {
    border-color: var(--ipk-orange);
    background: var(--ipk-orange);
    color: #fff;
}

/* =========================================================
   QUOTE BASKET
   ========================================================= */

#ipenkco-quote-bar {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    visibility: visible !important;
    pointer-events: none !important;
}

#ipenkco-quote-bar .ipenkco-quote-floating-trigger {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 2147483002 !important;

    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    pointer-events: auto !important;
}

#ipenkco-quote-bar.is-open {
    pointer-events: auto !important;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.ipenkco-quote-basket-overlay {
    position: absolute;
    inset: 0;

    background: rgba(3, 17, 29, .55);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

#ipenkco-quote-bar.is-open
.ipenkco-quote-basket-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================================================
   BASKET PANEL
   ========================================================= */

.ipenkco-quote-basket-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, calc(100% - 24px));
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow:
        -15px 0 45px rgba(0, 0, 0, .18);
    transform: translateX(100%);
    transition:
        transform .28s ease;
    pointer-events: auto;
}

#ipenkco-quote-bar.is-open
.ipenkco-quote-basket-panel {
    transform: translateX(0);
}


/* =========================================================
   BASKET HEADER
   ========================================================= */

.ipenkco-quote-basket-header {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    background:
        linear-gradient(
            135deg,
            var(--ipk-navy),
            var(--ipk-navy-2)
        );
    color: #fff;
}

.ipenkco-quote-basket-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--ipk-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    direction: ltr;
}

.ipenkco-quote-basket-header h3 {
    margin: 0;
    font-size: 19px;
}

.ipenkco-quote-basket-header p {
    margin: 5px 0 0;
    color: rgba(255,255,255,.7);
    font-size: 10px;
    line-height: 1.6;
}

.ipenkco-quote-basket-close {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.ipenkco-quote-basket-close:hover {
    background: rgba(255,255,255,.1);
}


/* =========================================================
   SUMMARY
   ========================================================= */

.ipenkco-quote-basket-summary {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--ipk-border);
    color: var(--ipk-muted);
    font-size: 11px;
}

.ipenkco-quote-basket-summary strong {
    min-width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ipk-orange);
    color: #fff;
    font-size: 11px;
}


/* =========================================================
   QUOTE ITEMS AREA
   ========================================================= */

.ipenkco-quote-items {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 13px 15px 18px;
}


/* =========================================================
   SINGLE QUOTE ITEM
   ========================================================= */

.ipenkco-quote-item {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 13px;
    border: 1px solid var(--ipk-border);
    border-radius: 9px;
    background: #fafbfc;
}

.ipenkco-quote-item:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PRODUCT NAME + REMOVE
   ========================================================= */

.ipenkco-quote-item-top {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7ebee;
}

.ipenkco-quote-item-name {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    color: var(--ipk-navy);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.ipenkco-quote-item-name:hover {
    color: var(--ipk-orange);
}

.ipenkco-remove-quote {
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: #eef1f3;
    color: #687580;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.ipenkco-remove-quote:hover {
    background: #ffe9df;
    color: var(--ipk-orange);
}


/* =========================================================
   ITEM BOTTOM
   ========================================================= */

.ipenkco-quote-item-bottom {
    display: grid;
    grid-template-columns:
        minmax(100px, .75fr)
        minmax(150px, 1.25fr);
    gap: 10px;
    width: 100%;
    padding-top: 11px;
}


/* =========================================================
   QUANTITY
   ========================================================= */

.ipenkco-quote-quantity,
.ipenkco-quote-supply {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ipenkco-quote-quantity-label,
.ipenkco-quote-supply-label {
    display: block;
    color: var(--ipk-muted);
    font-size: 9px;
    line-height: 1.5;
    font-weight: 700;
}

.ipenkco-quote-quantity-input {
    width: 100%;
    height: 35px;
    min-width: 0;
    padding: 0 9px;
    border: 1px solid var(--ipk-border);
    border-radius: 5px;
    background: #fff;
    color: var(--ipk-text);
    font-family: inherit;
    font-size: 11px;
    outline: none;
    direction: ltr;
    text-align: center;
}

.ipenkco-quote-quantity-input:focus {
    border-color: var(--ipk-orange);
    box-shadow:
        0 0 0 2px rgba(245,130,32,.08);
}


/* =========================================================
   SUPPLY SELECT
   ========================================================= */

.ipenkco-quote-source {
    display: block;
    width: 100%;
    min-width: 0;
    height: 35px;
    padding: 0 9px;
    border: 1px solid var(--ipk-border);
    border-radius: 5px;
    background: #fff;
    color: var(--ipk-text);
    font-family: inherit;
    font-size: 10px;
    outline: none;
    cursor: pointer;
}

.ipenkco-quote-source:focus {
    border-color: var(--ipk-orange);
    box-shadow:
        0 0 0 2px rgba(245,130,32,.08);
}


/* =========================================================
   EMPTY
   ========================================================= */

.ipenkco-quote-empty {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.ipenkco-quote-empty-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #edf2f5;
    color: var(--ipk-orange);
    font-size: 20px;
}

.ipenkco-quote-empty strong {
    color: var(--ipk-navy);
    font-size: 14px;
}

.ipenkco-quote-empty span {
    margin-top: 5px;
    color: var(--ipk-muted);
    font-size: 10px;
    line-height: 1.7;
}


/* =========================================================
   BASKET FOOTER
   ========================================================= */

.ipenkco-quote-basket-footer {
    flex: 0 0 auto;
    padding: 14px 15px;
    border-top: 1px solid var(--ipk-border);
    background: #fff;
}

.ipenkco-quote-submit {
    width: 100%;
    text-decoration: none;
}

.ipenkco-quote-clear {
    width: 100%;
    min-height: 35px;
    margin-top: 7px;
    border: 0;
    background: transparent;
    color: var(--ipk-muted);
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}

.ipenkco-quote-clear:hover {
    color: var(--ipk-orange);
}


/* =========================================================
   FLOATING TRIGGER
   ========================================================= */

.ipenkco-quote-floating-trigger {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 0 13px;
    border: 0;
    border-radius: 8px;
    background: var(--ipk-navy);
    color: #fff;
    font-family: inherit;
    box-shadow:
        0 7px 20px rgba(8,35,61,.22);
    cursor: pointer;
    pointer-events: auto !important;
    transition:
        transform .2s ease,
        background .2s ease;
}

.ipenkco-quote-floating-trigger:hover {
    transform: translateY(-2px);
    background: var(--ipk-navy-2);
}

.ipenkco-floating-icon {
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: var(--ipk-orange);
    font-size: 16px;
}

.ipenkco-floating-text {
    font-size: 11px;
    font-weight: 700;
}

.ipenkco-quote-floating-trigger b {
    min-width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--ipk-navy);
    font-size: 9px;
}


/* =========================================================
   BODY WHEN BASKET OPEN
   ========================================================= */

body.ipenkco-quote-open {
    overflow: hidden;
}


/* =========================================================
   TOAST
   ========================================================= */

.ipenkco-toast {
    position: fixed;
    left: 50%;
    bottom: 25px;
    z-index: 1000002;
    transform:
        translate(-50%, 15px);
    opacity: 0;
    padding: 11px 17px;
    border-radius: 7px;
    background: var(--ipk-navy);
    color: #fff;
    font-family: var(--ipk-font);
    font-size: 11px;
    box-shadow:
        0 8px 25px rgba(0,0,0,.18);
    pointer-events: none;
    transition:
        opacity .25s ease,
        transform .25s ease;
}

.ipenkco-toast.show {
    opacity: 1;
    transform:
        translate(-50%, 0);
}


/* =========================================================
   STANDALONE SEARCH
   ========================================================= */

.ipenkco-standalone-search {
    display: flex;
    gap: 7px;
    max-width: 600px;
    margin: 20px auto;
}

.ipenkco-standalone-search input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--ipk-border);
    border-radius: 6px;
    font-family: inherit;
    outline: none;
}

.ipenkco-standalone-search input:focus {
    border-color: var(--ipk-orange);
}

.ipenkco-standalone-search button {
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: var(--ipk-navy);
    color: #fff;
    font-family: inherit;
    cursor: pointer;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .ipenkco-new-product-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ipenkco-new-main-image {
        height: 390px;
    }

    .ipenkco-new-product-title {
        font-size: 27px;
    }

    .ipenkco-new-related-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .ipenkco-columns-3,
    .ipenkco-columns-4 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .ipenkco-products-header {
        align-items: stretch;
        flex-direction: column;
    }

    .ipenkco-products-search {
        flex-basis: auto;
        max-width: none;
    }

    .ipenkco-category-header {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   TABLET / SMALL SCREEN BASKET
   ========================================================= */

@media (max-width: 700px) {

    .ipenkco-quote-basket-panel {
        width: min(
            420px,
            calc(100% - 12px)
        );
    }

    .ipenkco-quote-item-bottom {
        grid-template-columns:
            1fr 1fr;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .ipenkco-single-container,
    .ipenkco-products-wrapper {
        width: calc(100% - 24px);
    }

    .ipenkco-new-breadcrumb,
    .ipenkco-product-breadcrumb {
        padding: 12px 0;
        font-size: 10px;
    }

    .ipenkco-new-product-hero {
        padding-bottom: 35px;
    }

    .ipenkco-new-main-image {
        height: 290px;
        border-radius: 8px;
    }

    .ipenkco-new-main-image img {
        padding: 15px;
    }

    .ipenkco-new-thumbnail {
        flex-basis: 62px;
        width: 62px;
        height: 57px;
    }

    .ipenkco-new-product-title {
        margin-top: 10px;
        font-size: 22px;
        line-height: 1.5;
    }

    .ipenkco-new-product-en-name {
        font-size: 11px;
    }

    .ipenkco-new-data-row {
        min-height: 42px;
        font-size: 11px;
    }

    .ipenkco-new-data-row strong {
        max-width: 60%;
    }

    .ipenkco-new-supply {
        padding: 12px;
    }

    .ipenkco-new-supply-options {
        grid-template-columns: 1fr;
    }

    .ipenkco-new-supply-option {
        min-height: 59px;
    }

    .ipenkco-new-information {
        padding: 32px 0 40px;
    }

    .ipenkco-new-info-block {
        padding: 15px;
        margin-bottom: 15px;
    }

    .ipenkco-new-section-title h2 {
        font-size: 21px;
    }

    .ipenkco-new-info-block h3 {
        font-size: 15px;
    }

    .ipenkco-new-description,
    .ipenkco-new-application {
        font-size: 12px;
        line-height: 2;
    }

    .ipenkco-new-spec-row {
        grid-template-columns: 1fr;
    }

    .ipenkco-new-spec-row > div {
        padding-bottom: 5px;
        border-bottom: 0;
    }

    .ipenkco-new-spec-row strong {
        padding-top: 5px;
    }

    .ipenkco-new-document {
        align-items: flex-start;
    }

    .ipenkco-new-related {
        padding: 30px 0 45px;
    }

    .ipenkco-new-related-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .ipenkco-new-related-heading h2 {
        font-size: 20px;
    }

    .ipenkco-new-related-grid {
        grid-template-columns: 1fr;
    }

    .ipenkco-new-related-image {
        height: 180px;
    }

    .ipenkco-products-header {
        padding-top: 20px;
    }

    .ipenkco-products-heading h2,
    .ipenkco-category-header h1 {
        font-size: 23px;
    }

    .ipenkco-products-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .ipenkco-manufacture-filters {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .ipenkco-manufacture-filters a {
        white-space: nowrap;
    }

    .ipenkco-columns-2,
    .ipenkco-columns-3,
    .ipenkco-columns-4 {
        grid-template-columns: 1fr;
    }

    .ipenkco-product-image {
        height: 210px;
    }

    .ipenkco-product-actions {
        grid-template-columns:
            1fr 1fr;
    }


    /* BASKET */

    .ipenkco-quote-basket-panel {
        width: calc(100% - 8px);
    }

    .ipenkco-quote-basket-header {
        padding: 17px 15px;
    }

    .ipenkco-quote-basket-summary {
        padding: 10px 15px;
    }

    .ipenkco-quote-items {
        padding: 10px;
    }

    .ipenkco-quote-item {
        padding: 11px;
    }

    .ipenkco-quote-item-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ipenkco-quote-quantity-input,
    .ipenkco-quote-source {
        height: 36px;
    }

    .ipenkco-quote-floating-trigger {
        right: 12px;
        bottom: 12px;
        min-height: 42px;
        padding: 0 11px;
    }

    .ipenkco-floating-text {
        display: none;
    }

    .ipenkco-toast {
        width: calc(100% - 30px);
        text-align: center;
    }

    .ipenkco-standalone-search {
        flex-direction: column;
    }

    .ipenkco-standalone-search button {
        width: 100%;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

    .ipenkco-quote-item-bottom {
        grid-template-columns: 1fr;
    }

    .ipenkco-quote-basket-panel {
        width: 100%;
    }

    .ipenkco-quote-floating-trigger {
        right: 9px;
        bottom: 9px;
    }
}