/* Products Page – Glasco Traders (metal theme) */

.products-page-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    background: var(--primary-color);
    overflow: hidden;
}

.products-page-hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=1600&q=80') center/cover no-repeat;
    opacity: 0.32;
}

.products-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(24, 24, 24, 0.88) 0%, rgba(24, 24, 24, 0.55) 55%, rgba(24, 24, 24, 0.35) 100%);
    z-index: 1;
}

.products-page-hero .container {
    position: relative;
    z-index: 2;
}

.products-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(237, 199, 1, 0.12);
    border: 1px solid rgba(237, 199, 1, 0.35);
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.products-hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
}

.products-page-hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--white-color);
    margin-bottom: 20px;
    max-width: 720px;
}

.products-page-hero h1 em {
    color: var(--accent-color);
    font-style: normal;
}

.products-page-hero-lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 32px;
}

.products-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.products-hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.products-hero-scroll-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

/* Section spacing */
.products-categories-metal,
.products-why-metal,
.products-brands-metal,
.products-applications-metal,
.products-projects-metal,
.products-testimonials-metal,
.products-faq-metal {
    padding: 110px 0;
    background: var(--bg-color);
}

.products-featured-metal,
.products-comparison-metal,
.products-showroom-metal {
    padding: 110px 0;
    background: var(--primary-color);
}

.products-detail-metal {
    padding: 110px 0;
    background: var(--white-color);
}

/* Category cards */
.products-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.products-cat-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: var(--white-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    position: relative;
    height: 100%;
}

.products-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.products-cat-card:hover .products-cat-img img {
    transform: scale(1.06);
}

.products-cat-img {
    height: 200px;
    overflow: hidden;
}

.products-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.products-cat-body {
    padding: 22px 20px 24px;
}

.products-cat-icon {
    width: 42px;
    height: 42px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.products-cat-body h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.products-cat-body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.products-cat-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--primary-color);
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.35s ease;
}

.products-cat-card:hover .products-cat-arrow {
    opacity: 1;
    transform: scale(1);
}

/* Featured products */
.products-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.products-feat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
}

.products-feat-card:hover {
    border-color: rgba(237, 199, 1, 0.45);
    transform: translateY(-6px);
}

.products-feat-card:hover .products-feat-img img {
    transform: scale(1.05);
}

.products-feat-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.products-feat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.products-feat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.products-feat-body {
    padding: 22px;
}

.products-feat-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--white-color);
    margin-bottom: 8px;
}

.products-feat-body > p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin-bottom: 14px;
}

.products-feat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
}

.products-feat-list li i {
    color: var(--accent-color);
    font-size: 11px;
    margin-top: 4px;
}

/* Detail tabs */
.products-detail-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: var(--bg-color);
    border-radius: 12px;
    padding: 6px;
    margin: 40px 0 44px;
}

.products-detail-tab {
    flex: 1;
    min-width: max-content;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.products-detail-tab.active,
.products-detail-tab:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.products-detail-panel {
    display: none;
}

.products-detail-panel.active {
    display: block;
    animation: productsFadeIn 0.4s ease both;
}

@keyframes productsFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.products-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 40px;
}

.products-detail-header-img {
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
}

.products-detail-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-detail-header-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    margin-bottom: 14px;
    line-height: 1.2;
}

.products-detail-header-text p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 22px;
}

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

.products-dp-card {
    background: var(--bg-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
}

.products-dp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.products-dp-card:hover .products-dp-img img {
    transform: scale(1.05);
}

.products-dp-img {
    height: 170px;
    overflow: hidden;
}

.products-dp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.products-dp-body {
    padding: 18px;
}

.products-dp-body h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.products-dp-feat {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.products-dp-feat li {
    font-size: 13px;
    color: var(--text-color);
    padding: 3px 0;
    display: flex;
    gap: 6px;
}

.products-dp-feat li::before {
    content: '▸';
    color: var(--accent-color);
}

.products-dp-app {
    font-size: 12px;
    color: var(--text-color);
    border-top: 1px solid var(--divider-color);
    padding-top: 10px;
    margin-top: 8px;
    line-height: 1.5;
}

.products-dp-app strong {
    font-weight: 600;
}

/* Why choose */
.products-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.products-why-card {
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 16px;
    padding: 30px 26px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.products-why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.products-why-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.products-why-card:hover::after {
    transform: scaleX(1);
}

.products-why-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.products-why-card h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
}

.products-why-card p {
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* Brands */
.products-brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.products-brands-grid--row2 {
    margin-top: 16px;
    grid-template-columns: repeat(3, 1fr);
}

.products-brand-card {
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 14px;
    padding: 26px 18px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.products-brand-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(237, 199, 1, 0.12);
}

.products-brand-logo {
    font-size: 20px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 12px;
}

.products-brand-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.products-brand-card p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    color: var(--text-color);
}

/* Comparison */
.products-comp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 36px 0 28px;
}

.products-comp-tab {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.products-comp-tab.active,
.products-comp-tab:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.products-comp-panel {
    display: none;
}

.products-comp-panel.active {
    display: block;
    animation: productsFadeIn 0.4s ease both;
}

.products-comp-table {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.products-comp-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.products-comp-row:first-child {
    border-top: none;
}

.products-comp-row > div {
    padding: 16px 22px;
    font-size: 14px;
}

.products-comp-row.head > div {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
}

.products-comp-row.head .col-a {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.products-comp-row .col-feat {
    color: rgba(255, 255, 255, 0.55);
}

.products-comp-row .col-val {
    color: rgba(255, 255, 255, 0.85);
}

.products-comp-row .col-val.yes {
    color: #4ade80;
}

.products-comp-row .col-val.no {
    color: #f87171;
}

/* Applications */
.products-app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.products-app-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 260px;
}

.products-app-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.products-app-card:hover img {
    transform: scale(1.07);
}

.products-app-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.products-app-overlay h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--white-color);
    margin-bottom: 6px;
}

.products-app-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s ease;
}

.products-app-card:hover .products-app-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* Projects */
.products-proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.products-proj-card {
    background: var(--white-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    height: 100%;
}

.products-proj-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.products-proj-card:hover .products-proj-img img {
    transform: scale(1.05);
}

.products-proj-img {
    height: 220px;
    overflow: hidden;
}

.products-proj-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.products-proj-body {
    padding: 18px 20px 22px;
}

.products-proj-body h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
}

.products-proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.products-proj-tag {
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Testimonials */
.products-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.products-testi-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-top: 3px solid transparent;
    transition: all 0.35s ease;
    height: 100%;
}

.products-testi-card:hover {
    border-top-color: var(--accent-color);
    transform: translateY(-4px);
}

.products-testi-stars {
    color: var(--accent-color);
    font-size: 13px;
    margin-bottom: 10px;
}

.products-testi-quote {
    font-size: 42px;
    color: var(--accent-color);
    line-height: 0.8;
    margin-bottom: 12px;
    font-family: Georgia, serif;
}

.products-testi-text {
    font-size: 14px;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 18px;
}

.products-testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    flex-shrink: 0;
}

.products-testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-testi-author h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
}

.products-testi-author span {
    font-size: 12px;
    color: var(--text-color);
}

/* Showroom */
.products-showroom-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    margin-top: 44px;
    align-items: start;
}

.products-showroom-main {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.products-showroom-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-showroom-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.products-showroom-thumb {
    border-radius: 10px;
    overflow: hidden;
    height: 185px;
}

.products-showroom-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.products-showroom-thumb:hover img {
    transform: scale(1.04);
}

.products-showroom-info {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 20px;
}

.products-showroom-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* FAQ */
.products-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 44px;
}

.products-faq-item {
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.products-faq-item.open {
    border-color: var(--accent-color);
}

.products-faq-q {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

.products-faq-icon {
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.products-faq-item.open .products-faq-icon {
    transform: rotate(45deg);
}

.products-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
}

.products-faq-item.open .products-faq-a {
    max-height: 220px;
    padding: 0 20px 18px;
}

/* Products CTA strip */
.products-cta-strip {
    padding: 80px 0;
    background: var(--accent-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.products-cta-strip::before,
.products-cta-strip::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
}

.products-cta-strip::before {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
}

.products-cta-strip::after {
    width: 240px;
    height: 240px;
    bottom: -70px;
    left: -40px;
}

.products-cta-strip .container {
    position: relative;
    z-index: 1;
}

.products-cta-pre {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
}

.products-cta-strip h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;
    margin-bottom: 14px;
    line-height: 1.15;
}

.products-cta-strip p {
    max-width: 480px;
    margin: 0 auto 28px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.65;
}

.products-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.products-cta-btns .btn-default.btn-dark-cta {
    background: var(--primary-color);
    color: var(--white-color);
}

.products-cta-btns .btn-default.btn-dark-cta:hover {
    background: #2a2a2a;
}

/* Catalog — 8 categories, brands, product pool */
.products-cat-grid--8 {
    grid-template-columns: repeat(4, 1fr);
}

.products-cat-card--catalog {
    padding: 0;
    min-height: auto;
    overflow: hidden;
}

.products-cat-card--catalog .products-cat-img {
    display: none;
}

.products-cat-card--catalog.products-cat-card--visual .products-cat-img {
    display: none;
}

.products-cat-card--visual {
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 100%;
}

.products-cat-card--visual .products-cat-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--primary-color);
}

.products-cat-card--visual .products-cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.products-cat-card--visual:hover .products-cat-img-wrap img {
    transform: scale(1.06);
}

.products-cat-card--visual .products-cat-img-wrap .products-cat-img-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #2a2a2a);
    color: rgba(255, 255, 255, 0.85);
    font-size: 46px;
}

.products-cat-card--visual .products-cat-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(24, 24, 24, 0.55) 100%);
    pointer-events: none;
}

.products-cat-card--visual .products-cat-body--catalog {
    padding: 20px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.products-cat-card--visual .products-cat-body--catalog h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.products-cat-card--visual .products-cat-body--catalog p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-color);
    flex: 1;
    margin-bottom: 14px;
}

.products-cat-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-top: auto;
    transition: gap 0.25s ease;
}

.products-cat-card--visual:hover .products-cat-explore {
    gap: 12px;
}

.products-cat-card--visual .products-cat-num {
    z-index: 2;
    top: 12px;
    right: 12px;
    background: rgba(24, 24, 24, 0.65);
    backdrop-filter: blur(6px);
    padding: 4px 10px;
    border-radius: 20px;
}

.products-cat-card--catalog .products-cat-arrow {
    display: none;
}

.products-cat-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    opacity: 0.85;
}

.products-cat-body--catalog {
    padding: 0;
}

.products-cat-body--catalog h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.products-cat-body--catalog p {
    font-size: 13px;
    margin: 0;
    color: var(--text-color);
}

.products-brands-catalog-metal {
    padding: 110px 0;
    background: var(--primary-color);
}

.products-brand-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.products-brand-block {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.products-brand-block:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(237, 199, 1, 0.35);
}

.products-brand-block-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.products-brand-block-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(237, 199, 1, 0.15);
    color: var(--accent-color);
    font-size: 18px;
    flex-shrink: 0;
}

.products-brand-block-head h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
}

.products-brand-block-head p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.products-brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.products-brand-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.products-brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
}

.products-brand-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    padding: 12px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.products-brand-logo-card:hover {
    transform: translateY(-2px);
    border-color: rgba(237, 199, 1, 0.45);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.products-brand-logo-card--image img {
    display: block;
    width: auto;
    max-width: 88px;
    max-height: 38px;
    object-fit: contain;
}

.products-brand-logo-card--text span {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--primary-color);
}

/* Brands page */
.brands-page-hero-bg {
    background-image: url('https://images.unsplash.com/photo-1565193566173-7a0ee3dbe261?w=1600&q=80');
}

.brands-page-all {
    padding: 110px 0;
    background: var(--primary-color);
}

.brands-page-categories {
    padding: 110px 0;
    background: var(--white-color);
}

.brands-page-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 16px;
}

.brands-page-logo-grid--all {
    max-width: 1180px;
    margin: 42px auto 0;
}

.brands-page-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 118px;
    padding: 20px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.brands-page-logo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(237, 199, 1, 0.45);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.brands-page-logo-card--image img {
    display: block;
    width: auto;
    max-width: 118px;
    max-height: 52px;
    object-fit: contain;
}

.brands-page-logo-card--image img.is-fallback {
    opacity: 0.55;
}

.brands-page-logo-card--text .brands-page-logo-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.3;
}

.brands-page-logo-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(24, 24, 24, 0.55);
    text-align: center;
    line-height: 1.3;
}

.brands-page-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.brands-page-category-block {
    padding: 24px;
    border-radius: 18px;
    background: var(--bg-color);
    border: 1px solid var(--divider-color);
}

.brands-page-category-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.brands-page-category-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brands-page-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(237, 199, 1, 0.14);
    color: var(--accent-color);
    font-size: 18px;
}

.brands-page-category-title h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.brands-page-category-title p {
    margin: 0;
    font-size: 12px;
    color: var(--text-color);
}

.brands-page-category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
    text-decoration: none;
}

.brands-page-category-link:hover {
    gap: 12px;
    color: var(--primary-color);
}

.brands-page-category-block .brands-page-logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
}

.brands-page-category-block .brands-page-logo-card {
    min-height: 84px;
    padding: 14px 12px;
    gap: 8px;
}

.brands-page-category-block .brands-page-logo-card--image img {
    max-height: 38px;
    max-width: 88px;
}

.brands-page-category-block .brands-page-logo-name {
    font-size: 9px;
}

.products-pool-metal {
    padding: 110px 0;
    background: var(--white-color);
}

.products-pool-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    margin-top: 44px;
    align-items: start;
}

.products-pool-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 110px;
    padding: 16px;
    border-radius: 16px;
    background: var(--bg-color);
    border: 1px solid var(--divider-color);
}

.products-pool-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.products-pool-tab i {
    width: 18px;
    color: var(--accent-color);
    font-size: 14px;
}

.products-pool-tab:hover {
    background: var(--white-color);
    border-color: var(--divider-color);
}

.products-pool-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.products-pool-tab.active i {
    color: var(--accent-color);
}

.products-pool-panels {
    min-width: 0;
}

.products-pool-panel {
    display: none;
    padding: 28px;
    border-radius: 18px;
    background: var(--bg-color);
    border: 1px solid var(--divider-color);
}

.products-pool-panel.active {
    display: block;
}

.products-pool-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--divider-color);
}

.products-pool-panel-head h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-pool-panel-head h3 i {
    color: var(--accent-color);
}

.btn-sm-metal {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding: 11px 42px 11px 20px;
    font-size: 13px;
}

.btn-sm-metal::before {
    right: 18px;
    width: 15px;
    height: 15px;
}

.products-pool-group h4 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.products-pool-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.products-pool-list li {
    position: relative;
    padding: 10px 12px 10px 28px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-color);
    background: var(--white-color);
    border: 1px solid var(--divider-color);
}

.products-pool-list li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--accent-color);
}

/* Product item cards */
.products-item-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.products-item-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.products-item-card:hover {
    border-color: rgba(237, 199, 1, 0.45);
    box-shadow: 0 16px 40px rgba(24, 24, 24, 0.08);
    transform: translateY(-3px);
}

.products-item-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--primary-color);
}

.products-item-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.products-item-card:hover .products-item-card-media img {
    transform: scale(1.05);
}

.products-item-card-media img.is-fallback {
    object-fit: contain;
    padding: 22%;
    background: #f4f4f2;
    opacity: 0.85;
}

.products-item-card:hover .products-item-card-media img.is-fallback {
    transform: none;
}

.products-item-card-media-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #2a2a2a);
    color: rgba(255, 255, 255, 0.85);
    font-size: 40px;
}

.products-item-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.12) 50%, transparent 55%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.products-item-card:hover .products-item-card-shine {
    transform: translateX(100%);
}

.products-item-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 20px;
    gap: 8px;
}

.products-item-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
}

.products-item-card-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-color);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-item-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.products-item-card-cta:hover {
    gap: 12px;
    color: var(--primary-color);
}

.products-item-card-cta i {
    font-size: 11px;
}

/* Category detail pages */
.category-detail-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.category-detail-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.28;
}

.category-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(24, 24, 24, 0.92) 0%, rgba(24, 24, 24, 0.72) 55%, rgba(24, 24, 24, 0.52) 100%);
    z-index: 1;
}

.category-detail-hero .container {
    position: relative;
    z-index: 2;
}

.category-detail-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.category-detail-breadcrumb a {
    color: var(--accent-color);
}

.category-detail-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.08;
    color: var(--white-color);
    margin-bottom: 18px;
}

.category-detail-hero-lead {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 30px;
}

.category-detail-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-detail-highlight {
    padding: 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.category-detail-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    margin-bottom: 16px;
    background: rgba(237, 199, 1, 0.14);
    color: var(--accent-color);
    font-size: 24px;
}

.category-detail-highlight h3 {
    color: var(--white-color);
    margin-bottom: 10px;
}

.category-detail-highlight p {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 18px;
}

.category-detail-highlight-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.category-detail-highlight-list li {
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.category-detail-highlight-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.category-detail-brands {
    padding: 100px 0;
}

.category-detail-brand-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 42px;
}

.category-detail-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 16px;
    margin-top: 42px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.category-detail-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 20px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.category-detail-brand-card:hover {
    transform: translateY(-3px);
    border-color: rgba(237, 199, 1, 0.45);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.category-detail-brand-card--logo img {
    display: block;
    width: auto;
    max-width: 118px;
    max-height: 52px;
    object-fit: contain;
}

.category-detail-brand-card--text span {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.3;
}

.category-detail-products {
    padding: 110px 0;
    background: var(--white-color);
}

.category-detail-range-section + .category-detail-range-section {
    margin-top: 34px;
}

.category-detail-range-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.category-detail-range-head h3 {
    margin: 0;
    font-size: 26px;
}

.category-detail-range-head p {
    margin: 0;
    font-size: 13px;
    color: var(--text-color);
}

.category-detail-range-section--note {
    margin-top: 10px;
}

.category-detail-range-empty,
.category-detail-note {
    padding: 28px;
    border-radius: 18px;
    background: var(--bg-color);
    border: 1px solid var(--divider-color);
}

.category-detail-range-empty {
    text-align: center;
}

.category-detail-range-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    margin-bottom: 16px;
    background: rgba(237, 199, 1, 0.14);
    color: var(--accent-color);
    font-size: 24px;
}

.category-detail-range-empty h3 {
    margin-bottom: 10px;
}

.category-detail-range-empty p {
    max-width: 680px;
    margin: 0 auto;
}

.category-detail-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
}

.category-detail-note i {
    color: var(--accent-color);
    margin-top: 4px;
}

@media (min-width: 1400px) {
    .products-item-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive */
@media (max-width: 1199px) {
    .products-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-cat-grid--8 {
        grid-template-columns: repeat(4, 1fr);
    }

    .products-brand-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-pool-layout {
        grid-template-columns: 1fr;
    }

    .products-pool-tabs {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        max-height: none;
        overflow: visible;
    }

    .products-brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .products-cat-grid--8 {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-page-hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .category-detail-hero {
        padding: 140px 0 80px;
    }

    .category-detail-hero-content h1 {
        font-size: clamp(2.1rem, 6vw, 3.4rem);
    }

    .category-detail-highlight {
        padding: 24px;
    }

    .category-detail-brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        max-width: 100%;
    }

    .products-feat-grid,
    .products-why-grid,
    .products-dp-grid,
    .products-app-grid,
    .products-proj-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-detail-header,
    .products-showroom-layout {
        grid-template-columns: 1fr;
    }

    .products-detail-header-img {
        height: 260px;
    }

    .products-comp-row .col-feat {
        display: none;
    }

    .products-comp-row {
        grid-template-columns: 1fr 1fr;
    }

    .products-comp-row.head .col-feat {
        display: none;
    }
}

@media (max-width: 767px) {
    .products-categories-metal,
    .products-brands-catalog-metal,
    .products-pool-metal,
    .products-featured-metal,
    .products-detail-metal,
    .products-why-metal,
    .products-brands-metal,
    .products-comparison-metal,
    .products-applications-metal,
    .products-projects-metal,
    .products-testimonials-metal,
    .products-showroom-metal,
    .products-faq-metal {
        padding: 80px 0;
    }

    .products-cat-grid,
    .products-cat-grid--8,
    .products-feat-grid,
    .products-why-grid,
    .products-dp-grid,
    .products-app-grid,
    .products-proj-grid,
    .products-testi-grid,
    .products-faq-grid {
        grid-template-columns: 1fr;
    }

    .products-brand-catalog-grid {
        grid-template-columns: 1fr;
    }

    .category-detail-brands,
    .category-detail-products {
        padding: 64px 0;
    }

    .category-detail-brands .section-title p {
        font-size: 14px;
        line-height: 1.65;
    }

    .category-detail-hero-content h1 {
        font-size: clamp(1.9rem, 8vw, 2.7rem);
    }

    .category-detail-hero-lead {
        font-size: 15px;
    }

    .category-detail-range-head h3 {
        font-size: 22px;
    }

    .category-detail-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 28px;
        max-width: 100%;
    }

    .category-detail-brand-card {
        min-height: 80px;
        padding: 14px 12px;
        border-radius: 14px;
        width: 100%;
    }

    /* Center last brand when odd count (e.g. 7 items) */
    .category-detail-brand-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 5px);
        margin-left: auto;
        margin-right: auto;
    }

    .category-detail-brand-card--logo img {
        max-width: 100%;
        max-height: 44px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .category-detail-brand-card--text span {
        font-size: 14px;
    }

    .category-detail-brand-chips {
        gap: 10px;
        margin-top: 28px;
        padding: 0 4px;
    }

    .brands-page-all,
    .brands-page-categories {
        padding: 80px 0;
    }

    .brands-page-category-grid {
        grid-template-columns: 1fr;
    }

    .brands-page-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .brands-page-logo-card {
        min-height: 100px;
        padding: 16px 12px;
    }

    .brands-page-logo-grid .brands-page-logo-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 5px);
        margin-left: auto;
        margin-right: auto;
    }

    .products-pool-tabs {
        flex-direction: column;
    }

    .products-pool-tab {
        width: 100%;
        justify-content: flex-start;
    }

    .products-pool-list {
        grid-template-columns: 1fr;
    }

    .products-item-grid {
        grid-template-columns: 1fr;
    }

    .products-brands-grid,
    .products-brands-grid--row2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-detail-tabs {
        flex-direction: column;
    }

    .products-detail-tab {
        width: 100%;
        text-align: left;
    }

    .products-showroom-thumbs {
        grid-template-columns: 1fr;
    }

    .products-showroom-main {
        height: 280px;
    }

    .products-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-hero-scroll {
        display: none;
    }
}
