/* =========================================================
   Product Archive
   ========================================================= */

   .pa-archive {
    --pa-navy: #005E95;
    --pa-blue: #005E95;
    --pa-link: #005E95;
    --pa-border: #d9dee6;
    --pa-muted: #939597;
    --pa-text: #474747;
    --pa-grad-from: #163a78;
    --pa-grad-to: #18b6cf;
    margin: 0 auto;
    position: relative;
    font-family: 'Trebuchet MS', sans-serif;
}

.pa-archive.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ---------- CATEGORY CAROUSEL ---------- */

.pa-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 56px;
    margin: 0 auto 50px;
    max-width:1438px;
}

.pa-carousel__track {
    display: flex;
    gap: 62px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    scrollbar-width: none;
    justify-content:center;
    padding:0 80px;
}

.pa-carousel__item.is-active .pa-carousel__name{
    color:#fff;
}

.pa-carousel__track::-webkit-scrollbar {
    display: none;
}

.pa-carousel__nav {
       position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    border: 0;
    background: transparent !important;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;

}

span.pa-active-chip__name {
    width: 85%;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.pa-carousel__nav--prev { left: 12px; }
.pa-carousel__nav--next { right: 12px; }

.pa-carousel__item {
    min-width: 140px;
    border: 2px solid transparent;
    background: #fff !important;
    border-radius: 6px;
    padding: 10px 11px;
    cursor: pointer;
    transition: 0.2s ease;
    flex-shrink: 0;
    text-align: center;
}

.pa-carousel__item.is-active {
    background: #005E95 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.pa-carousel__image {
    display: block;
    height: 103px;
    width:184px;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.pa-carousel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pa-carousel__name {
    font-size: 16px;
    font-weight: 700;
    color: #005E95;
}

/* ---------- BODY LAYOUT ---------- */

.pa-archive__body {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    max-width:1438px;
    margin: 0 auto;
    background: #fff !important;
}

.pa-archive.white_background {
    width: 100%;
    max-width: 100%;
    background: #fff;
    padding: 50px;
}

.pa-sidebar {
    width: 334px;
    flex-shrink: 0;
}

.pa-main {
    flex: 1;
    min-width: 0;
}

/* ---------- SIDEBAR ---------- */

.pa-sidebar__title {
    background: #005E95;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 3px;
    margin-bottom: 18px;
}

/* Active filters */
.pa-active-filters:empty {
    display: none;
}

.pa-active-filters__inner {
    background: #EBEDEE;
    padding: 16px;
    border-radius: 3px;
    margin-bottom: 22px;
}

.pa-active-filters__group {
    margin-bottom: 12px;
}

.pa-active-filters__label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--pa-link);
    margin-bottom: 6px;
}

.pa-active-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    background: transparent !important;
    border: 0;
    padding: 3px 0;
    cursor: pointer;
    font-size: 16px;
    color: var(--pa-text);
    text-align: left;
}

.pa-active-chip__remove {
    color: var(--pa-link);
    font-size: 24px;
    line-height: 0;
    margin-top:-4px;
}

.pa-clear-all {
    background: none !important;
    border: 0;
    padding: 0;
    margin-top: 6px;
    color: var(--pa-link);
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
}

/* Filter groups */
.pa-filter-group {
    margin-bottom: 22px;
}

.pa-filter-group__title {
    margin: 0 0 12px;
    font-size: 18px !important;
    line-height:130% !important;
    font-weight: 700;
    color: var(--pa-link) !important;
}

button.pa-carousel__item.is-active:hover {
    background: #005E95 !important;
}

.pa-filter-group__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pa-filter-group__item {
    margin-bottom: 9px;
}

.pa-filter-group__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    color: var(--pa-text);
}

button.pa-active-chip:hover {
    color: #474747;
}

.pa-filter-group__label input {
    flex-shrink: 0;
    accent-color: var(--pa-navy);
    width: 15px;
    height: 15px;
}

/* ---------- MAIN HEADER ---------- */

.pa-main__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.pa-main__title {
    margin: 0;
    font-weight: 700;
    color: var(--pa-navy);
}

.pa-sort {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #005E95;
    border-radius: 4px;
    padding: 0 12px;
    height: 38px;
    color: #005E95;
}

.pa-sort__icon {
    display: inline-flex;
    margin-right: 8px;
    color: #005E95;
}

.pa-sort .pa-orderby {
    border: 0;
    background: transparent;
    font-size: 14px;
    color: #005E95;
    cursor: pointer;
    outline: none;
    padding: 0px !important;
}

/* ---------- PRODUCT GRID ---------- */

.pa-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pa-card {
    border: 1px solid var(--pa-border);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding:16px 12px;
}

.pa-card__image {
    display: block;
    aspect-ratio: 16 / 11;
    background: #f1f3f6;
    overflow: hidden;
}

.pa-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pa-card__body {
    padding: 16px 0px 0px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.pa-card__code {
    margin: 0 0 2px;
    font-size: 18px !important;
    font-weight: 700;
}

.pa-card__code a {
    color: var(--pa-link);
    text-decoration: none;
}

.pa-card__name {
    font-size: 16px;
    color: var(--pa-muted);
    margin-bottom: 10px;
}

.pa-card__desc {
    font-size: 16px;
    line-height: 130%;
    color: var(--pa-text);
    margin: 0 0 16px;
}

.pa-card__footer {
    margin-top: auto;
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.pa-card__badges {
    display: flex;
    gap: 8px;
}

.pa-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1.1;
}

.pa-badge--material {
    background: #2a2d33;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.pa-badge--load {
    border: 1px solid var(--pa-border);
    color: var(--pa-navy);
}

.pa-badge__value {
    font-size: 16px;
    font-weight: 700;
}

.pa-badge__label {
    font-size: 15px;
    text-transform: capitalize;
    color: #005E95;
    letter-spacing: 0.3px;
}

.pa-card__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: linear-gradient(90deg, var(--pa-grad-from), var(--pa-grad-to));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    padding: 8px 14px;
    transition: opacity 0.2s ease;
    color:#fff !important;
}

.pa-card__btn:hover {
    opacity: 1;
    color: #fff;
}

.pa-empty {
    padding: 30px 0;
    color: var(--pa-muted);
    font-size: 15px;
}

/* ---------- PAGINATION ---------- */

.pa-pagination {
    margin-top: 34px;
    display: flex;
    justify-content: flex-end;
}

.pa-pagination__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pa-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--pa-border);
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pa-text);
    cursor: pointer;
    transition: 0.15s ease;
}

.pa-page:hover:not(.is-current):not(.is-disabled):not(.pa-page--dots) {
    border-color: var(--pa-blue);
    color: var(--pa-blue);
}

.pa-page.is-current {
    background: var(--pa-blue);
    border-color: var(--pa-blue);
    color: #fff;
    cursor: default;
}

.pa-page--prev,
.pa-page--next {
    font-size: 18px;
    line-height: 1;
    color: var(--pa-muted);
}

.pa-page.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.pa-page--dots {
    border: 0;
    background: transparent;
    cursor: default;
    min-width: auto;
    padding: 0 2px;
    color: var(--pa-muted);
}
.pa-card__btn span {
    display: none;
}

.pa-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pa-card__btn::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('/wp-content/uploads/2026/04/arrow_forward_ios-4.svg') no-repeat center;
    background-size: contain;
}
/* ---------- RESPONSIVE ---------- */



/* ---------- RESPONSIVE ---------- */
@media (max-width: 1440px) {
    .pa-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}
@media (max-width: 1200px) {
    .pa-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    
    .pa-main{
        min-width:100%;
    }
    .pa-archive.white_background {
        padding: 30px 20px;
    }

    .pa-archive__body {
        flex-direction: column;
        gap: 24px;
    }

    .pa-sidebar {
        width: 100%;
    }

    /* Collapse filter groups into a horizontal scrollable row on tablet */
    .pa-filter-groups {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .pa-filter-groups::-webkit-scrollbar {
        display: none;
    }

    .pa-filter-group {
        min-width: 180px;
        margin-bottom: 0;
    }

    .pa-carousel {
        padding: 14px 44px;
        margin-bottom: 30px;
    }

    .pa-carousel__item {
        min-width: 120px;
    }

    .pa-main__header {
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .pa-archive.white_background {
        padding: 20px 16px;
    }
    
    .pa-main{
        min-width:100%;
    }

    .pa-carousel {
        padding: 12px 20px;
        margin-bottom: 24px;
    }

    .pa-carousel__item {
        min-width: 100px;
        padding: 6px;
    }


    .pa-carousel__name {
        font-size: 11px;
    }

    .pa-carousel__nav {
        width: 28px;
        height: 28px;
        font-size: 26px;
    }

    .pa-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .pa-card__code {
        font-size: 15px !important;
    }

    .pa-card__name,
    .pa-card__desc {
        font-size: 14px;
    }

    .pa-card__btn {
        font-size: 14px;
        padding: 7px 10px;
    }

    .pa-main__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pa-main__title {
        font-size: 22px;
    }

    .pa-sort {
        align-self: flex-start;
        margin-top:10px;
    }

    .pa-sidebar__title {
        font-size: 14px;
        padding: 8px 14px;
    }

    .pa-filter-group__title {
        font-size: 15px !important;
    }

    .pa-filter-group__label {
        font-size: 14px;
    }

    .pa-active-filters__label {
        font-size: 15px;
    }

    .pa-active-chip,
    .pa-clear-all {
        font-size: 14px;
    }

    .pa-pagination {
        justify-content: center;
        margin-top: 24px;
    }
    .pa-carousel__track{
        padding: 0px !important;
        gap:20px;
    }
}

@media (max-width: 575px) {
    .pa-archive.white_background {
        padding: 16px 12px;
    }

    .pa-products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pa-main__title {
        font-size: 20px;
    }

    .pa-carousel {
        padding: 10px 20px;
        margin-bottom: 20px;
    }

    .pa-carousel__item {
        min-width: 90px;
    }


    .pa-carousel__name {
        font-size: 10px;
    }

    .pa-card {
        padding: 12px 10px;
    }

    .pa-card__footer {
        flex-direction: column;
    }

    .pa-card__badges {
        justify-content: center;
    }

    .pa-card__btn {
        width: 100%;
        justify-content: center;
    }

    .pa-badge {
        padding: 4px 6px;
    }

    /* Active filters full width chips */
    .pa-active-chip {
        font-size: 13px;
    }

    .pa-pagination__list {
        gap: 4px;
    }

    .pa-page {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
        padding: 0 5px;
    }
}



/*Single product page*/
/* ============================================================
   GATIC SINGLE PRODUCT — full design restyle
   Drop this entire block in place of the existing <style> tag
   in content-single-product.php
   ============================================================ */

/* ── PAGE SHELL ─────────────────────────────────────────────── */

.gatic-single-product {
    float: none;
    width: 100%;
    padding: 50px 0;
    background: #0d0d0d;
    color: #e0e0e0;
    font-family: 'Trebuchet MS', sans-serif;
}

.gatic-single-product .gsp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── MAIN 2-COLUMN LAYOUT ────────────────────────────────────── */

.gatic-single-product .gsp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.gatic-single-product .gsp-main { min-width: 0; }

/* ── TOP: GALLERY + SUMMARY SIDE BY SIDE ─────────────────────── */

.gatic-single-product .gsp-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* ── GALLERY ─────────────────────────────────────────────────── */

.gatic-single-product .prd-gallery { position: relative; }

.gatic-single-product .prd-gallery__main {
    position: relative;
    background: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.gatic-single-product .prd-gallery__main-image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #1a1a1a;
}

.gatic-single-product .prd-gallery__main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Gallery prev/next arrows */
.gatic-single-product .prd-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.gatic-single-product .prd-gallery__nav:hover { background: rgba(255,255,255,0.25); }
.gatic-single-product .prd-gallery__nav--prev { left: 10px; }
.gatic-single-product .prd-gallery__nav--next { right: 10px; }

/* Thumbnails */
.gatic-single-product .prd-gallery__thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gatic-single-product .prd-gallery__thumb {
    width: 72px;
    height: 60px;
    border: 2px solid #2e2e2e;
    border-radius: 4px;
    overflow: hidden;
    background: #1a1a1a;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.gatic-single-product .prd-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gatic-single-product .prd-gallery__thumb.is-active,
.gatic-single-product .prd-gallery__thumb:hover {
    border-color: #18b6cf;
}

/* ── SUMMARY ─────────────────────────────────────────────────── */

.gatic-single-product .prd-intro { display: flex; flex-direction: column; }

.gatic-single-product .prd-intro__title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.2;
}

/* Product code row */
.gatic-single-product .gsp-code { margin-bottom: 16px; }

.gatic-single-product .gsp-code__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #9aabb8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gatic-single-product .gsp-code__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gatic-single-product .gsp-code__value {
    font-size: 16px;
    font-weight: 700;
    color: #e0e0e0;
}

/* Badges */
.gatic-single-product .pa-card__badges { display: flex; gap: 8px; }

.gatic-single-product .pa-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
    padding: 5px 10px;
    border-radius: 4px;
    line-height: 1.15;
}

.gatic-single-product .pa-badge--material {
    background: #2a2d33;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.gatic-single-product .pa-badge--load {
    border: 1px solid #005E95 !important;
    color: #005E95 !important;
    background: none !important;
}

.gatic-single-product .pa-badge__value {
    font-size: 16px;
    font-weight: 700;
}

.gatic-single-product .pa-badge__label {
    font-size: 15px;
    text-transform: uppercase;
    color: #005E95;
    letter-spacing: 0.3px;
}

/* Short description */
.gatic-single-product .prd-intro__description {
    font-size: 15px;
    line-height: 1.65;
    color: #c0c8d0;
    margin-bottom: 18px;
}

/* Features list */
.gatic-single-product .prd-intro__features h4 {
    font-size: 14px;
    font-weight: 700;
    color: #e0e0e0;
    margin: 0 0 8px;
}

.gatic-single-product .prd-intro__features ul {
    margin: 0 0 20px;
    padding-left: 18px;
}

.gatic-single-product .prd-intro__features ul li {
    font-size: 14px;
    color: #b0bbc7;
    margin-bottom: 5px;
    line-height: 1.5;
}

/* ── ACTION BUTTONS ──────────────────────────────────────────── */

.gatic-single-product .gsp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.gatic-single-product .gsp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.gatic-single-product .gsp-btn:hover { opacity: 0.88; }

.gatic-single-product .gsp-btn__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

/* Add to Project — solid blue */
.gatic-single-product .gsp-btn--project {
    background: #1565c0;
}

/* Add to Spec — purple/magenta */
.gatic-single-product .gsp-btn--spec {
    background: linear-gradient(90deg, #6a1be0 0%, #c026d3 100%);
}

/* Print Data Sheet — gradient teal, full width */
.gatic-single-product .gsp-btn--print {
    background: linear-gradient(90deg, #005E95 0%, #18b6cf 100%);
    width: 100%;
    justify-content: space-between;
    margin-top: 4px;
}

/* ── ATTRIBUTE TABS ──────────────────────────────────────────── */

.gatic-single-product .prd-tabs { margin-top: 0; }

.gatic-single-product .prd-tabs__nav {
    display: flex;
    list-style: none;
    margin: 0 0 0;
    padding: 0;
    border-bottom: 2px solid #2a2a2a;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.gatic-single-product .prd-tabs__nav::-webkit-scrollbar { display: none; }

.gatic-single-product .prd-tabs__nav-item {
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #7a8fa0;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.gatic-single-product .prd-tabs__nav-item:hover { color: #c0d0de; }

.gatic-single-product .prd-tabs__nav-item.is-active {
    color: #18b6cf;
    border-bottom-color: #18b6cf;
}

.gatic-single-product .prd-tabs__panels { padding: 24px 0; }

.gatic-single-product .prd-tabs__panel { display: none; }
.gatic-single-product .prd-tabs__panel.is-active { display: block; }

/* Tab content table-style rows */
.gatic-single-product .prd-tabs__panel table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.gatic-single-product .prd-tabs__panel td {
    padding: 7px 12px 7px 0;
    color: #b0bcc8;
    vertical-align: top;
    border-bottom: 1px solid #1e2630;
}

.gatic-single-product .prd-tabs__panel td:first-child {
    color: #1e90c0;
    font-weight: 600;
    min-width: 180px;
    padding-right: 20px;
}

/* ── DOWNLOADS SIDEBAR ───────────────────────────────────────── */

.gatic-single-product .prd-downloads {
    background: #111827;
    border-radius: 6px;
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.gatic-single-product .prd-downloads__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #18b6cf;
    padding: 12px 16px;
}

.gatic-single-product .prd-downloads__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.gatic-single-product .prd-downloads__header-icon {
    color: #fff;
    font-size: 18px;
    opacity: 0.85;
}

.gatic-single-product .prd-downloads__body {
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #2a3a4a #111827;
}

/* Download categories */
.gatic-single-product .prd-downloads__cat-title {
    font-size: 12px;
    font-weight: 700;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 14px 0 8px;
}

.gatic-single-product .prd-downloads__cat-title:first-child { margin-top: 0; }

/* Download item row */
.gatic-single-product .prd-downloads__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.gatic-single-product .prd-downloads__item input[type="checkbox"] {
    accent-color: #18b6cf;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.gatic-single-product .prd-downloads__item-label {
    flex: 1;
    font-size: 13px;
    color: #b0bcc8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gatic-single-product .prd-downloads__item-pdf {
    color: #e05252;
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1;
    text-decoration: none;
}

/* Download buttons */
.gatic-single-product .prd-downloads__footer {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #1e2630;
}

.gatic-single-product .prd-downloads__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    color: #fff;
    transition: opacity 0.2s;
}

.gatic-single-product .prd-downloads__btn:hover { opacity: 0.88; }

.gatic-single-product .prd-downloads__btn--selected {
    background: linear-gradient(90deg, #005E95, #18b6cf);
}

.gatic-single-product .prd-downloads__btn--all {
    background: linear-gradient(90deg, #005E95, #18b6cf);
    opacity: 0.75;
}

/* ── CONSULTATION FORM ───────────────────────────────────────── */

.gatic-single-product .gsp-consultation {
    background: #111827;
    border: 1px solid #1e2e40;
    border-radius: 8px;
    padding: 36px 40px;
    margin-bottom: 60px;
}

.gatic-single-product .gsp-section-title {
    color: #18b6cf;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 28px;
}

/* CF7 form reset inside dark container */
.gatic-single-product .gsp-consultation .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 16px;
}

.gatic-single-product .gsp-consultation .wpcf7-form p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gatic-single-product .gsp-consultation .wpcf7-form label {
    font-size: 12px;
    color: #8899aa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.gatic-single-product .gsp-consultation .wpcf7-form input[type="text"],
.gatic-single-product .gsp-consultation .wpcf7-form input[type="email"],
.gatic-single-product .gsp-consultation .wpcf7-form input[type="tel"],
.gatic-single-product .gsp-consultation .wpcf7-form textarea {
    background: #0d1520;
    border: 1px solid #1e3048;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    color: #e0e0e0;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.gatic-single-product .gsp-consultation .wpcf7-form input:focus,
.gatic-single-product .gsp-consultation .wpcf7-form textarea:focus {
    outline: none;
    border-color: #18b6cf;
}

.gatic-single-product .gsp-consultation .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
    grid-column: 1 / -1;
}

/* Submit button row */
.gatic-single-product .gsp-consultation .wpcf7-form .wpcf7-submit {
    background: linear-gradient(90deg, #005E95, #18b6cf);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    width: auto;
    align-self: flex-start;
}

.gatic-single-product .gsp-consultation .wpcf7-form .wpcf7-submit:hover { opacity: 0.88; }

/* ── SECTION HEAD (title + nav arrows) ──────────────────────── */

.gatic-single-product .gsp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.gatic-single-product .gsp-section-head .gsp-section-title { margin: 0; }

.gatic-single-product .gsp-slider-nav { display: flex; gap: 10px; }

.gatic-single-product .gsp-slider-nav__btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #18b6cf;
    background: #18b6cf;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.gatic-single-product .gsp-slider-nav__btn:hover {
    background: transparent;
    color: #18b6cf;
}

/* ── RELATED PRODUCTS SLIDER ─────────────────────────────────── */

.gatic-single-product .gsp-related { margin-bottom: 60px; }

.gatic-single-product .gsp-related__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 20px) / 3);
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.gatic-single-product .gsp-related__track::-webkit-scrollbar { display: none; }

/* Product cards inside dark page */
.gatic-single-product .pa-card {
    border: 1px solid #1e2a38;
    border-radius: 6px;
    background: #111827;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gatic-single-product .pa-card__image {
    display: block;
    aspect-ratio: 16 / 11;
    background: #1a2233;
    overflow: hidden;
}

.gatic-single-product .pa-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gatic-single-product .pa-card__body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.gatic-single-product .pa-card__code {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
}

.gatic-single-product .pa-card__code a {
    color: #18b6cf;
    text-decoration: none;
}

.gatic-single-product .pa-card__name {
    font-size: 13px;
    color: #6a7f90;
    margin-bottom: 8px;
}

.gatic-single-product .pa-card__desc {
    font-size: 13px;
    line-height: 1.5;
    color: #9aabb8;
    margin: 0 0 14px;
}

.gatic-single-product .pa-card__footer {
    margin-top: auto;
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.gatic-single-product .pa-card__badges { display: flex; gap: 8px; }

.gatic-single-product .pa-card__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: linear-gradient(90deg, #005E95, #18b6cf);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    padding: 8px 14px;
    transition: opacity 0.2s;
}

.gatic-single-product .pa-card__btn:hover { opacity: 0.88; }

/* ── CASE STUDIES ────────────────────────────────────────────── */

.gatic-single-product .gsp-case-studies { margin-bottom: 40px; }

.gatic-single-product .prd-case-studies__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gatic-single-product .prd-case-studies__header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #18b6cf;
    margin: 0;
}

.gatic-single-product .prd-case-studies__nav { display: flex; gap: 10px; }

.gatic-single-product .prd-case-studies__nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #18b6cf;
    background: #18b6cf;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.gatic-single-product .prd-case-studies__nav-btn:hover {
    background: transparent;
    color: #18b6cf;
}

.gatic-single-product .prd-case-studies__track { position: relative; }

.gatic-single-product .prd-case-studies__item {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #1e2a38;
    border-radius: 6px;
    overflow: hidden;
    background: #111827;
}

.gatic-single-product .prd-case-studies__item.is-active { display: grid; }

.gatic-single-product .prd-case-studies__image {
    overflow: hidden;
    min-height: 260px;
}

.gatic-single-product .prd-case-studies__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gatic-single-product .prd-case-studies__content {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gatic-single-product .prd-case-studies__title {
    font-size: 20px;
    font-weight: 700;
    color: #18b6cf;
    margin: 0 0 14px;
    line-height: 1.3;
}

.gatic-single-product .prd-case-studies__excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: #9aabb8;
    margin: 0 0 20px;
}

.gatic-single-product .prd-case-studies__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #18b6cf;
    text-decoration: none;
}

.gatic-single-product .prd-case-studies__link:hover { text-decoration: underline; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1440px){
.gatic-single-product .gsp-related__track{
        grid-auto-columns: calc((100% - 2 * 20px) / 2) !important;
    }
    
}


@media (max-width: 1100px) {
    .gatic-single-product .gsp-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Sidebar moves below main on tablet */
    .gatic-single-product .prd-downloads {
        position: static;
        max-width: 100%;
    }

    .gatic-single-product .gsp-related__track {
        grid-auto-columns: calc((100% - 20px) / 2);
    }
}

@media (max-width: 900px) {
    .gatic-single-product .gsp-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gatic-single-product .prd-intro__title { font-size: 26px; }

    .gatic-single-product .gsp-consultation {
        padding: 28px 24px;
    }

    .gatic-single-product .gsp-consultation .wpcf7-form {
        grid-template-columns: 1fr 1fr;
    }

    .gatic-single-product .prd-case-studies__item {
        grid-template-columns: 1fr;
    }

    .gatic-single-product .prd-case-studies__image {
        min-height: 200px;
    }
}

@media (max-width: 640px) {
    .gatic-single-product { padding: 30px 0; }

    .gatic-single-product .gsp-container { padding: 0 16px; }

    .gatic-single-product .prd-intro__title { font-size: 22px; }

    .gatic-single-product .gsp-section-title { font-size: 20px; }

    .gatic-single-product .gsp-actions {
        flex-direction: column;
    }

    .gatic-single-product .gsp-btn--project,
    .gatic-single-product .gsp-btn--spec {
        width: 100%;
        justify-content: space-between;
    }

    .gatic-single-product .gsp-consultation {
        padding: 20px 16px;
    }

    .gatic-single-product .gsp-consultation .wpcf7-form {
        grid-template-columns: 1fr;
    }

    .gatic-single-product .gsp-related__track {
        grid-auto-columns: 85%;
    }

    .gatic-single-product .prd-tabs__nav-item {
        padding: 10px 14px;
        font-size: 13px;
    }

    .gatic-single-product .prd-gallery__thumb {
        width: 58px;
        height: 48px;
    }
}