:root {
    --rt-primary-color: #006d5b;
    --rt-secondary-color: #00473b;
    --rt-tertiary-color: #ffb000;
    --rt-body-bg-color: #ffffff;
    --rt-body-color: #6e7676;
    --rt-border-color: #e7e7e7;
    --rt-title-color: #041b16;
    --rt-button-color: #ffffff;
    --rt-button-text-color: #00030C;
    --rt-meta-color: #006d5b;
    --rt-meta-light: #b2c2c0;
    --rt-gray10: #f1f1f1;
    --rt-gray20: #edf5f4;
    --rt-body-rgb: 110, 118, 118;
    --rt-title-rgb: 4, 27, 22;
    --rt-primary-rgb: 0, 109, 91;
    --rt-secondary-rgb: 0, 71, 59;
    --rt-tertiary-rgb: 255, 176, 0;
    --rt-container-width: 1364px;
    --brand-green: var(--rt-primary-color);
    --brand-green-dark: var(--rt-secondary-color);
    --card-bg: var(--rt-body-bg-color);
    --border-light: var(--rt-border-color);
    --text-muted: var(--rt-body-color);
    --surface-soft: var(--rt-gray20);
    --warning: var(--rt-tertiary-color);
    --radius-md: 12px;
    --radius-lg: 16px;
}

.polymer-market {
    background: var(--rt-gray20);
    color: var(--rt-title-color);
}

.polymer-market__container {
    max-width: var(--rt-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.polymer-market__container .polymer-market__main--box{
    background: var(--rt-body-bg-color);
    border-radius: 12px;
    padding: 15px;
    margin-top: -60px;
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.12);
}

.polymer-market__hero {
    background-color: var(--rt-primary-color);
    background-image: url("http://localhost/web_polymart_new/wp-content/uploads/2024/07/section-noise-1.png");
    color: var(--rt-button-color);
    padding: 160px 0 60px;
}

.polymer-market__title {
    margin: 0 0 8px;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.1;
    color: var(--rt-button-color);
}

.polymer-market__subtitle {
    margin: 0;
    max-width: 820px;
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
}

.polymer-market__hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    color: var(--rt-button-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.polymer-market__hero-link:hover,
.polymer-market__hero-link:focus {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.48);
    color: var(--rt-button-color);
    transform: translateY(-1px);
}

.polymer-market__section {
    padding: 28px 0 12px;
}

.polymer-market__section--offers {
    padding-bottom: 48px;
}

.polymer-market__section--hidden {
    display: none;
}

.polymer-market__section-title {
    margin: 0 0 14px;
    font-size: 22px;
    color: var(--rt-title-color);
}

.polymer-market__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* .polymer-market__selection-summary {
    font-size: 13px;
    color: #4b635d;
    background: #eef5f2;
    border: 1px solid #d9e6e1;
    border-radius: 999px;
    padding: 6px 10px;
} */

.polymer-market__cards-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.polymer-market__slider {
    position: relative;
}

/* .polymer-market__slider::before,
.polymer-market__slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 8px;
    width: 38px;
    pointer-events: none;
    z-index: 1;
}

.polymer-market__slider::before {
    left: 0;
    background: linear-gradient(to right, #f8fbfa 20%, rgba(248, 251, 250, 0));
} */

.polymer-market__slider::after {
    right: 0;
    background: linear-gradient(to left, #f8fbfa 20%, rgba(248, 251, 250, 0));
}

.polymer-market__slider-arrow {
    position: absolute;
    top: calc(50% - 4px);
    transform: translateY(-50%);
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border: 1px solid var(--rt-border-color);
    background: var(--rt-body-bg-color);
    color: var(--rt-secondary-color);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    padding: 0;
}

.polymer-market__slider:hover .polymer-market__slider-arrow,
.polymer-market__slider:focus-within .polymer-market__slider-arrow {
    opacity: 1;
    pointer-events: auto;
}

.polymer-market__slider-arrow--left {
    left: 2px;
}

.polymer-market__slider-arrow--right {
    right: 2px;
}

.polymer-market__slider-arrow:hover {
    background: var(--rt-gray20);
    border-color: var(--rt-meta-light);
}

.polymer-market__slider-arrow:focus-visible {
    outline: 2px solid var(--brand-green);
    outline-offset: 2px;
}

.polymer-market__slider-arrow.is-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

.polymer-market__cards-row::-webkit-scrollbar {
    display: none;
}

.polymer-market__selector-card {
    min-width: 146px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--card-bg);
    transition: 0.2s ease;
    cursor: pointer;
    flex: 0 0 auto;
}

.polymer-market__selector-card--small {
    min-width: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-radius: 999px;
    border-color: var(--rt-border-color);
    box-shadow: 0 6px 18px rgba(var(--rt-title-rgb), 0.06);
}

.polymer-market__selector-card.is-active,
.polymer-market__selector-card:hover{
    border: 1px solid var(--brand-green);
    background: var(--rt-gray20);
}

.polymer-market__selector-card--small.is-active,
.polymer-market__selector-card--small:hover {
    background: linear-gradient(135deg, var(--rt-primary-color) 0%, var(--rt-secondary-color) 100%);
    border-color: var(--rt-primary-color);
    box-shadow: 0 10px 24px rgba(var(--rt-primary-rgb), 0.22);
}

.polymer-market__selector-card:focus-visible {
    outline: 2px solid var(--brand-green);
    outline-offset: 2px;
}

/* .polymer-market__selector-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    background: linear-gradient(135deg, #1e9470, #0d6d51);
    color: #fff;
} */

.polymer-market__selector-label {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color:var(--rt-button-text-color);
}

.polymer-market__selector-card--small .polymer-market__selector-label {
    color: var(--rt-body-color);
}

.polymer-market__selector-card--small.is-active .polymer-market__selector-label,
.polymer-market__selector-card--small:hover .polymer-market__selector-label {
    color: var(--rt-button-color);
}

.polymer-market__selector-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 999px;
    background: var(--rt-body-bg-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(15, 122, 91, 0.06);
}

.polymer-market__selector-icon-particles {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.polymer-market__selector-icon-dot {
    position: absolute;
    display: block;
    border-radius: 999px;
}

.polymer-market__selector-icon-dot.dot-1 {
    width: 6px;
    height: 6px;
    top: 3px;
    left: 3px;
    background: #d7dfdc;
}

.polymer-market__selector-icon-dot.dot-2 {
    width: 5px;
    height: 5px;
    top: 5px;
    right: 3px;
    background: #c2cdca;
}

.polymer-market__selector-icon-dot.dot-3 {
    width: 5px;
    height: 5px;
    bottom: 3px;
    left: 5px;
    background: #d7dfdc;
}

.polymer-market__selector-icon-dot.dot-4 {
    width: 6px;
    height: 6px;
    right: 4px;
    bottom: 4px;
    background: #c2cdca;
}

.polymer-market__selector-icon-dot.dot-5 {
    width: 4px;
    height: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #9eaaa6;
}

.polymer-market__selector-card--small.is-active .polymer-market__selector-icon,
.polymer-market__selector-card--small:hover .polymer-market__selector-icon {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.polymer-market__selector-card--small.is-active .polymer-market__selector-icon-dot.dot-1,
.polymer-market__selector-card--small.is-active .polymer-market__selector-icon-dot.dot-3,
.polymer-market__selector-card--small:hover .polymer-market__selector-icon-dot.dot-1,
.polymer-market__selector-card--small:hover .polymer-market__selector-icon-dot.dot-3 {
    background: #cfe8df;
}

.polymer-market__selector-card--small.is-active .polymer-market__selector-icon-dot.dot-2,
.polymer-market__selector-card--small.is-active .polymer-market__selector-icon-dot.dot-4,
.polymer-market__selector-card--small:hover .polymer-market__selector-icon-dot.dot-2,
.polymer-market__selector-card--small:hover .polymer-market__selector-icon-dot.dot-4 {
    background: #b8ddd0;
}

.polymer-market__selector-card--small.is-active .polymer-market__selector-icon-dot.dot-5,
.polymer-market__selector-card--small:hover .polymer-market__selector-icon-dot.dot-5 {
    background: #6ebea5;
}

.polymer-market__offers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.polymart-home-offers__list--columns-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.polymart-home-offers__list--columns-2 .polymer-market__offer-card {
    height: 100%;
}

@media (max-width: 991px) {
    .polymart-home-offers__list--columns-2 {
        grid-template-columns: 1fr;
    }
}

.polymer-market__offer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    border-radius: 10px;
    background: var(--rt-body-bg-color);
    gap: 24px;
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.12);
}

.polymer-market__offer-left {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    flex: 1 1 auto;
}

.polymer-market__offer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--rt-title-color);
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}

.polymer-market__offer-middle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 110px;
    flex-shrink: 0;
}

.polymer-market__offer-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.5;
    color: var(--rt-body-color);
}

.polymer-market__meta-label {
    font-weight: 500;
}

.polymer-market__meta-dot {
    color: #9ca3af;
}

.polymer-market__offer-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--rt-primary-color);
    line-height: 1.1;
}

.polymer-market__offer-transit {
    margin: 4px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--rt-body-color);
}

.polymer-market__transit-icon {
    width: 14px;
    height: 14px;
    color: var(--rt-body-color);
    display: inline-flex;
}

.polymer-market__transit-icon svg {
    width: 100%;
    height: 100%;
}

.polymer-market__offer-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.polymer-market__brochure-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--rt-border-color);
    background: var(--rt-body-bg-color);
    color: var(--rt-title-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease;
}

.polymer-market__brochure-btn:hover {
    background: var(--rt-gray20);
}

.polymer-market__brochure-icon {
    width: 14px;
    height: 18px;
    object-fit: contain;
}

.polymer-market__brochure-unavailable {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--rt-border-color);
    background: var(--rt-gray20);
    color: var(--rt-body-color);
    font-size: 14px;
    font-weight: 500;
    cursor: default;
    user-select: none;
    white-space: nowrap;
}

.polymer-market__quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 10px;
    background: #0f766e;
    color: #fff;
    border: none;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.polymer-market__quote-btn:hover {
    filter: brightness(0.95);
}

/* .polymer-market__inquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 10px;
    background: #0f766e;
    color: #ffffff;
    border: none;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
} */

.polymer-market__inquiry-btn:hover {
    filter: brightness(0.95);
}

.polymer-market__brochure-btn:focus-visible,
.polymer-market__quote-btn:focus-visible,
.polymer-market__inquiry-btn:focus-visible,
.polymer-market__empty-action:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

.polymer-market__state {
    margin-top: 10px;
}

.polymer-market__error,
.polymer-market__empty {
    font-size: 14px;
    color: var(--text-muted);
    padding: 10px 0 0;
}

.polymer-market__empty-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
}

.polymer-market__empty-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #eaf5f1;
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.polymer-market__empty-text {
    color: #6b7280;
    font-size: 14px;
}

.polymer-market__empty-action {
    border: 1px solid #d4e4dd;
    background: #f8fbfa;
    color: #0f766e;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.polymer-market__retry-btn {
    margin-top: 8px;
    border: 1px solid var(--brand-green);
    background: #fff;
    color: var(--brand-green);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 13px;
    cursor: pointer;
}

.polymer-market__empty-state {
    width: 100%;
    animation: polymartEmptyFadeIn 0.45s ease-out;
}

.polymer-market__empty-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.polymer-market__empty-image {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
}

.polymer-market__empty-heading {
    margin: 0;
    font-size: 20px;
    color:#5f656c;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
}

.polymer-market__empty-subtext {
    max-width: 680px;
    margin: 12px auto 0;
    color: #a0aec0;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

@keyframes polymartEmptyFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes polymartEmptyFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.polymer-market__skeleton {
    background: linear-gradient(90deg, #ecf3f0 25%, #f6fbf9 40%, #ecf3f0 60%);
    background-size: 200% 100%;
    animation: polymerShimmer 1.2s infinite;
}

.polymer-market__skeleton--card {
    width: 146px;
    height: 84px;
    border-radius: var(--radius-md);
    flex: 0 0 auto;
}

.polymer-market__skeleton--small {
    width: 130px;
    height: 56px;
}

.polymer-market__skeleton--offer {
    width: 100%;
    height: 96px;
    border-radius: var(--radius-md);
}

@keyframes polymerShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 1024px) {
    .polymer-market__selector-card {
        min-width: 136px;
    }
}

@media (max-width: 767px) {
    .polymer-market__hero {
        padding-top: 72px;
        padding-bottom: 40px;
    }

    .polymer-market__offer-card {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
    }

    .polymer-market__offer-left,
    .polymer-market__offer-middle,
    .polymer-market__offer-actions {
        width: 100%;
        min-width: 0;
    }

    .polymer-market__offer-actions {
        justify-content: flex-start;
    }

    .polymer-market__offer-price {
        font-size: 20px;
    }

    .polymer-market__empty-shell {
        padding: 22px 16px;
    }

    .polymer-market__empty-heading {
        font-size: 24px;
    }

    .polymer-market__empty-subtext {
        font-size: 14px;
    }

    /* .polymer-market__selection-summary {
        width: 100%;
    } */

    .polymer-market__cards-row {
        -webkit-overflow-scrolling: touch;
    }

    /* .polymer-market__slider::before,
    .polymer-market__slider::after {
        display: none;
    } */

    .polymer-market__slider-arrow {
        display: none;
    }
}
