/* ============================================================
   NECI Products & Services ÔÇö page-specific styles
   Global tokens: style.css (--neci-primary, --neci-accent, etc.)
============================================================ */

.services-page {
    overflow-x: hidden;
}

/* ===================== SERVICES HERO ===================== */

.services-hero {
    position: relative;
    width: 100%;
    min-height: clamp(420px, 72vh, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.services-hero > .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.services-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            135deg,
            rgba(5, 10, 35, 0.88),
            rgba(27, 31, 107, 0.72),
            rgba(0, 0, 0, 0.5)
        ),
        url("../images/hero/services_hero_bg.png") center / cover no-repeat;
    transform: scale(1);
}

@media (prefers-reduced-motion: no-preference) {
    .services-hero-bg {
        animation: heroBgZoom 18s ease-in-out infinite alternate;
    }
}

@keyframes heroBgZoom {
    from { transform: scale(1); }
    to { transform: scale(1.04); }
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 12% 18%, rgba(244, 180, 0, 0.14), transparent 42%),
        radial-gradient(circle at 88% 78%, rgba(59, 130, 246, 0.2), transparent 48%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.22));
}

.services-hero-particles {
    display: none;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
    max-width: 1200px; /* Increased from 920px to prevent layout wrapping */
    margin-left: auto;
    margin-right: auto;
    padding: clamp(2rem, 5vw, 3.5rem) var(--neci-container-x);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .services-hero-content h1 {
        white-space: nowrap !important;
    }
}

.services-hero-content h1,
.services-hero-content p {
    width: 100%;
    text-align: center;
}

.services-badge {
    display: inline-block;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.services-hero-content h1,
.services-hero-content h1 * {
    font-size: var(--neci-hero-title) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin-bottom: 1.25rem !important;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
}

.services-hero-content p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto;
    max-width: 720px;
}

.hero-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-reveal-delay-1.is-visible { transition-delay: 0.1s; }
.hero-reveal-delay-2.is-visible { transition-delay: 0.22s; }
.hero-reveal-delay-3.is-visible { transition-delay: 0.34s; }

/* ===================== CATALOG LAYOUT ===================== */

.service-catalog-page {
    background: linear-gradient(180deg, #f8fafc 0%, #fdfdfd 120px);
    color: var(--neci-text);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.catalog-shell {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 0 var(--neci-container-x) clamp(3rem, 5vw, 4rem);
    align-items: start;
}

/* ===================== SIDEBAR ACCORDION ===================== */

.catalog-sidebar {
    align-self: start;
    position: sticky !important;
    top: calc(var(--neci-navbar-height) + 14px);
    z-index: 5;
    border-radius: 12px !important;
    background: #fff;
    border: 1px solid rgba(27, 31, 107, 0.12) !important;
    box-shadow: 0 10px 30px rgba(27, 31, 107, 0.05) !important;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.catalog-sidebar.is-scrolled {
    box-shadow:
        0 16px 40px rgba(27, 31, 107, 0.12),
        0 0 0 1px rgba(244, 180, 0, 0.15);
}

.catalog-sidebar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1.1rem 1.25rem;
    background: rgba(244, 180, 0, 0.08); /* Premium light gold/cream background tint */
    border-bottom: 1px solid rgba(27, 31, 107, 0.08);
}

.catalog-sidebar-head i {
    color: var(--neci-accent);
    font-size: 1.15rem;
}

.catalog-sidebar-head h2 {
    color: var(--neci-primary);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.catalog-category-list {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.catalog-accordion-item {
    border-bottom: 1px solid rgba(27, 31, 107, 0.06);
    transition: background var(--neci-transition);
}

.catalog-accordion-item:last-child {
    border-bottom: 0;
}

.catalog-accordion-header {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: transparent;
    transition: background var(--neci-transition);
}

.catalog-category-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 1.15rem 0.5rem 1.15rem 1.25rem;
    border: 0;
    border-left: 5px solid transparent;
    background: transparent;
    color: var(--neci-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        background var(--neci-transition),
        border-color var(--neci-transition),
        box-shadow var(--neci-transition);
}

.catalog-category-btn:hover {
    background: rgba(27, 31, 107, 0.04);
}

.catalog-arrow-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--neci-muted);
    transition:
        background var(--neci-transition),
        color var(--neci-transition);
}

.catalog-arrow-toggle:hover {
    background: rgba(27, 31, 107, 0.04);
    color: var(--neci-primary);
}

.catalog-accordion-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.catalog-accordion-label strong {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--neci-primary);
    text-transform: none; /* Changed from uppercase to Title Case as per screenshot */
    letter-spacing: -0.01em;
}

.catalog-accordion-label small {
    font-size: 0.78rem;
    color: var(--neci-muted);
    font-weight: 500;
}

.catalog-accordion-icon {
    flex-shrink: 0;
    font-size: 0.95rem;
    color: var(--neci-muted);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color var(--neci-transition);
}

.catalog-accordion-item.is-expanded .catalog-accordion-icon {
    transform: rotate(180deg);
    color: var(--neci-primary);
}

/* Active Highlight Style exactly like current screenshot */
.catalog-accordion-item.is-active .catalog-category-btn {
    border-left-color: var(--neci-accent) !important;
    background: linear-gradient(90deg, rgba(27, 31, 107, 0.05) 0%, transparent 100%) !important;
}

.catalog-accordion-item.is-active .catalog-accordion-label strong {
    color: var(--neci-primary) !important;
}

.catalog-accordion-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
}

.catalog-accordion-item.is-expanded .catalog-accordion-panel {
    max-height: 520px;
    opacity: 1;
}

.catalog-accordion-panel-inner {
    padding: 0.25rem 0 1rem 0;
    background: #fafafa;
}

.catalog-sub-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    border-left: 0;
}

.catalog-sub-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.65rem 1.25rem 0.65rem 1.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit; /* use standard body font for product name */
    color: var(--neci-muted) !important;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition:
        color var(--neci-transition),
        background var(--neci-transition),
        border-color var(--neci-transition),
        transform 0.25s ease;
}

.catalog-sub-prefix {
    font-family: monospace; /* keep monospace only for the tree connectors */
    color: var(--neci-accent); /* gold color tree connectors */
    font-weight: 700;
    opacity: 0.8;
}

.catalog-sub-name {
    color: var(--neci-muted);
    transition: color var(--neci-transition);
}

.catalog-sub-link:hover {
    color: var(--neci-primary) !important;
    background: rgba(27, 31, 107, 0.04);
}

.catalog-sub-link:hover .catalog-sub-name {
    color: var(--neci-primary);
}

.catalog-sub-link.is-selected {
    color: var(--neci-primary) !important;
    border-left-color: var(--neci-accent) !important;
    background: rgba(244, 180, 0, 0.08) !important;
    border-radius: 0 8px 8px 0;
}

.catalog-sub-link.is-selected .catalog-sub-name {
    color: var(--neci-primary) !important;
    font-weight: 700;
}

/* ===================== BREADCRUMBS ===================== */

.catalog-breadcrumb {
    margin-bottom: 1.15rem;
}

.catalog-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
}

.catalog-breadcrumb .breadcrumb-item {
    color: var(--neci-muted);
    display: inline-flex;
    align-items: center;
}

.catalog-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin-right: 0.5rem;
    color: rgba(27, 31, 107, 0.25);
    font-weight: 400;
}

.catalog-breadcrumb .breadcrumb-item a {
    color: var(--neci-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--neci-transition);
}

.catalog-breadcrumb .breadcrumb-item a:hover {
    color: var(--neci-accent);
}

.catalog-breadcrumb .breadcrumb-item.active {
    color: var(--neci-text);
    font-weight: 700;
}

/* ===================== PAGINATION ===================== */
.neci-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(2.5rem, 5vw, 4rem) 0 1rem;
    width: 100%;
}

.neci-pagination-wrap[hidden] {
    display: none !important;
}

.neci-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 6px;
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(27, 31, 107, 0.04);
    border: 1px solid rgba(27, 31, 107, 0.06);
    flex-wrap: wrap;
    justify-content: center;
}

.neci-pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Base button style */
.neci-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    border: 1.5px solid #1f2b7b;
    background-color: #ffffff;
    color: #1f2b7b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

/* Number button style */
.neci-page-btn.neci-page-num {
    min-width: 44px;
    padding: 0 10px;
}

/* Previous / Next button style */
.neci-page-btn.neci-page-prev,
.neci-page-btn.neci-page-next {
    padding: 0 1.25rem;
}

/* Active Page State */
.neci-page-btn.active {
    background-color: #1f2b7b;
    color: #ffffff;
    border-color: #1f2b7b;
    box-shadow: 0 4px 12px rgba(31, 43, 123, 0.3);
    cursor: default;
    pointer-events: none;
}

/* Inactive Hover State */
.neci-page-btn:not(.active):not(:disabled):hover {
    background-color: rgba(31, 43, 123, 0.08); /* light navy background */
    border-color: #1f2b7b;
    color: #1f2b7b;
    transform: translateY(-2px); /* slight lift effect */
    box-shadow: 0 4px 10px rgba(27, 31, 107, 0.15);
}

/* Disabled State */
.neci-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    border-color: rgba(27, 31, 107, 0.2);
    color: rgba(27, 31, 107, 0.5);
    background-color: #ffffff;
}

/* Smooth fade transition for the product grid */
.catalog-products-grid {
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.catalog-products-grid.is-updating {
    opacity: 0;
    transform: translateY(10px);
}

/* ===================== CATALOG CONTENT ===================== */

.catalog-content {
    min-width: 0;
}

.catalog-header {
    padding: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
    border: 1px solid rgba(27, 31, 107, 0.06);
    border-radius: 12px;
    background: #f3f4f6;
    box-shadow: none;
}

.catalog-kicker,
.product-category-label {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    color: var(--neci-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.catalog-header h1 {
    color: var(--neci-primary);
    font-size: clamp(1.65rem, 3vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 0.65rem;
}

.catalog-header p {
    color: var(--neci-muted);
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    line-height: 1.55;
    margin: 0;
    max-width: 62ch;
}

/* ===================== PRODUCT GRID ===================== */

.catalog-products-panel {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.catalog-content.is-detail-view .catalog-header {
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.catalog-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.15rem, 2vw, 1.5rem);
    margin: 0;
}

.catalog-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(27, 31, 107, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    box-shadow: 0 12px 32px rgba(27, 31, 107, 0.08), 0 2px 5px rgba(0, 0, 0, 0.03);
}

.catalog-product-card:hover,
.catalog-product-card.active {
    border-color: rgba(27, 31, 107, 0.12);
    box-shadow: 0 25px 45px rgba(27, 31, 107, 0.16), 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.catalog-product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
}

.catalog-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.catalog-product-card:hover img {
    transform: scale(1.06);
}

.catalog-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--neci-primary);
    box-shadow: 0 2px 8px rgba(27, 31, 107, 0.2);
}

.catalog-product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.15rem 1.2rem 1.25rem;
    gap: 0.45rem;
}

.catalog-product-body h2 {
    color: var(--neci-primary);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.catalog-product-desc {
    color: var(--neci-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-product-price {
    color: var(--neci-primary);
    font-size: 1rem;
    font-weight: 800;
    margin: 0.15rem 0 0;
}

.catalog-product-price span {
    font-weight: 600;
    color: var(--neci-muted);
    font-size: 0.9rem;
}

.catalog-product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    width: 100%;
}

.catalog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 0.6rem 0.5rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    min-height: 38px;
    box-sizing: border-box;
}

/* Inquiry button style */
.catalog-btn-inquiry {
    background: #faf8f3;
    color: var(--neci-primary, #1F2A7A) !important;
    border: 1.5px solid rgba(27, 31, 107, 0.12);
}

.catalog-btn-inquiry:hover {
    background: var(--neci-primary, #1F2A7A) !important;
    color: #ffffff !important;
    border-color: var(--neci-primary, #1F2A7A) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(31, 42, 122, 0.15);
}

/* View Details button style */
.catalog-btn-details {
    background: #faf8f3;
    color: var(--neci-primary, #1F2A7A) !important;
    border: 1.5px solid rgba(27, 31, 107, 0.12);
    pointer-events: auto;
}

.catalog-product-card:hover .catalog-btn-details {
    background: #faf8f3;
    border-color: rgba(27, 31, 107, 0.2);
    color: var(--neci-primary, #1F2A7A) !important;
}

.catalog-product-card:hover .catalog-btn-details:hover,
.catalog-btn-details:hover {
    background: var(--neci-primary, #1F2A7A) !important;
    border-color: var(--neci-primary, #1F2A7A) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(31, 42, 122, 0.15);
}

.catalog-btn-details i {
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

.catalog-product-card:hover .catalog-btn-details i {
    transform: translateX(3px);
}

.catalog-btn-details:hover i {
    transform: translateX(6px) !important;
}

/* ===================== PRODUCT DETAIL ===================== */

.catalog-detail-card {
    border-radius: 24px;
    background: #fff;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid rgba(27, 31, 107, 0.08);
    box-shadow: 0 24px 60px rgba(27, 31, 107, 0.08);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    margin-top: 0.5rem;
}

.catalog-detail-card[hidden] {
    display: none !important;
}

.catalog-detail-card.is-updating {
    opacity: 0;
    transform: translateY(14px);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
}

.detail-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.main-product-image {
    min-height: clamp(300px, 42vw, 440px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f8fafc, #eef2ff);
    overflow: hidden;
    border: 1px solid rgba(27, 31, 107, 0.06);
    box-shadow: 0 16px 40px rgba(27, 31, 107, 0.08);
}

.main-product-image img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: contain;
    padding: 1.25rem;
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.main-product-image img.is-swapping {
    opacity: 0;
    transform: scale(0.98);
}

.gallery-thumbs--row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumbs--row button {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(27, 31, 107, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    padding: 3px;
    cursor: pointer;
    transition:
        border-color var(--neci-transition),
        box-shadow var(--neci-transition),
        transform 0.25s ease;
}

.gallery-thumbs--row button:hover {
    transform: scale(1.03);
}

.gallery-thumbs--row button.active {
    border-color: var(--neci-primary);
    box-shadow: 0 6px 18px rgba(27, 31, 107, 0.15);
}

.gallery-thumbs--row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.btn-back-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--neci-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--neci-transition), transform 0.25s ease;
}

.btn-back-products:hover {
    color: var(--neci-primary);
    transform: translateX(-4px);
}

.product-category-label {
    background: rgba(27, 31, 107, 0.07);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
    color: var(--neci-primary);
}

.product-details h2 {
    color: var(--neci-primary);
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 0;
    margin-bottom: 1.5rem;
    border: 0;
}

.product-meta-item {
    background: #f8fafc;
    border: 1px solid rgba(27, 31, 107, 0.06);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 4px 12px rgba(27, 31, 107, 0.02);
    transition: all 0.2s ease;
}

.product-meta-item:hover {
    border-color: rgba(244, 180, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 31, 107, 0.04);
}

.product-meta-item .meta-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neci-muted);
    margin-bottom: 0.35rem;
}

.product-meta-item .meta-value {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--neci-text);
}

.product-meta-item .meta-value strong {
    color: var(--neci-primary);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 800;
}

.product-meta-item .price-link {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neci-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--neci-transition);
}

.product-meta-item .price-link:hover {
    color: var(--neci-accent-hover);
}

.product-meta-item--location {
    grid-column: 1 / -1;
}

.spec-features-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--neci-muted);
}

.spec-features-list li i {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--neci-accent); /* premium gold checks */
    font-size: 1.15rem;
}

.spec-features-list li strong {
    color: var(--neci-primary);
    font-weight: 700;
}

.product-description-block {
    margin-bottom: 1.75rem;
}

.product-description-block h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--neci-primary);
    margin: 0 0 0.65rem;
}

.product-description-block p {
    color: var(--neci-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.product-actions--detail {
    margin-top: auto;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background var(--neci-transition),
        color var(--neci-transition);
}

.action-btn:hover {
    transform: translateY(-3px);
}

.action-btn-primary {
    background: var(--neci-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(27, 31, 107, 0.22);
}

.action-btn-primary:hover {
    background: var(--neci-primary-dark);
    color: #fff;
    box-shadow: 0 14px 28px rgba(27, 31, 107, 0.28);
}

.action-btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.25);
}

.action-btn-whatsapp:hover {
    background: #1ebe57;
    color: #fff;
}

.action-btn-call {
    background: rgba(244, 180, 0, 0.15);
    color: var(--neci-primary);
    border: 1px solid rgba(244, 180, 0, 0.45);
}

.action-btn-call:hover {
    background: var(--neci-accent);
    color: var(--neci-primary);
}

.action-btn-outline {
    background: #fff;
    color: var(--neci-primary);
    border: 2px solid rgba(27, 31, 107, 0.15);
    cursor: pointer;
}

.action-btn-outline:hover {
    border-color: var(--neci-primary);
    background: rgba(27, 31, 107, 0.04);
    color: var(--neci-primary);
}

.product-actions--detail {
    width: 100%;
}

.product-actions--detail .action-btn-primary {
    border-radius: 12px;
    padding: 0 2rem;
    min-height: 52px;
    font-size: 1rem;
    width: 100%;
    box-shadow: 0 10px 24px rgba(27, 31, 107, 0.15);
}

/* ===================== SCROLL REVEAL ===================== */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product Highlight Animation */
.product-highlight {
    animation: productGlow 2.5s ease;
}

@keyframes productGlow {
    0% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    50% {
        box-shadow: 0 0 40px rgba(244, 180, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 991.98px) {
    .catalog-shell {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .catalog-sidebar {
        position: static;
        border-radius: 16px;
        margin: 0 calc(-1 * var(--neci-container-x));
        width: calc(100% + 2 * var(--neci-container-x));
        max-width: 100vw;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .catalog-sidebar-head {
        padding-left: var(--neci-container-x);
        padding-right: var(--neci-container-x);
    }

    .catalog-category-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 12px var(--neci-container-x) 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .catalog-category-list::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .catalog-accordion-item.is-expanded .catalog-accordion-panel {
        max-height: none;
    }

    .catalog-sub-list {
        max-height: none;
        overflow: visible;
    }

    .catalog-accordion-item,
    .catalog-all-item {
        flex: 0 0 min(300px, 85vw);
        scroll-snap-align: start;
        border: 1px solid rgba(27, 31, 107, 0.1);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(27, 31, 107, 0.06);
        overflow: hidden;
    }

    .catalog-accordion-item.is-active {
        border-color: rgba(244, 180, 0, 0.5);
        box-shadow: 0 12px 28px rgba(27, 31, 107, 0.1);
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-meta-grid {
        grid-template-columns: 1fr;
    }

    .catalog-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .services-hero {
        min-height: 52vh;
    }

    .catalog-header {
        margin-bottom: 0.75rem;
        padding: 1.15rem;
    }

    .catalog-products-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-thumbs--row button {
        flex: 0 0 68px;
        width: 68px;
        height: 68px;
    }

    .main-product-image {
        min-height: 260px;
    }

    .product-actions,
    .product-actions--detail {
        flex-direction: column;
    }

    .product-actions .action-btn,
    .product-actions--detail .action-btn {
        width: 100%;
    }

    .btn-back-products {
        margin-bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-hero-bg,
    .services-hero-overlay,
    .services-hero-particles .particle,
    .catalog-product-card img,
    .hero-reveal,
    .reveal-on-scroll {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
