/* nh-productpage- prefix required */

.nh-productpage-wrapper {
    background-color: #121212;
    color: #f1f1f1;
    font-family: inherit;
    overflow-x: hidden;
    line-height: 1.6;
}

.nh-productpage-wrapper * {
    box-sizing: border-box;
}

.nh-productpage-container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 20px;
}

.nh-productpage-title {
    color: #ffffff !important;
    line-height: 1.35 !important;
    word-wrap: break-word;
}

/* Animations */
@keyframes nhFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes nhSlideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes nhSlideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.nh-productpage-animate {
    opacity: 0;
}

.nh-productpage-visible.nh-fade-up {
    animation: nhFadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.nh-productpage-visible.nh-slide-left {
    animation: nhSlideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.nh-productpage-visible.nh-slide-right {
    animation: nhSlideInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* 1. Hero Section */
.nh-productpage-hero {
    background: linear-gradient(135deg, #181818 0%, #2a2a2a 100%);
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 4px solid #ED1B24;
    position: relative;
}

.nh-productpage-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 10px);
    pointer-events: none;
}

.nh-productpage-badge {
    display: inline-block;
    background-color: rgba(237, 27, 36, 0.1);
    color: #ED1B24;
    padding: 6px 16px;
    border: 1px solid #ED1B24;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.nh-productpage-hero .nh-productpage-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
    line-height: 1.2;
}

.nh-productpage-hero .nh-productpage-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
}

/* 2. Intro Section */
.nh-productpage-intro {
    padding: 100px 0;
    background-color: #1a1a1a;
}

.nh-productpage-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nh-productpage-intro-content p {
    font-size: 17px;
    color: #bbb;
    margin-bottom: 20px;
}

.nh-productpage-intro-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nh-productpage-highlight-card {
    background: #222;
    padding: 30px 20px;
    border-left: 3px solid #ED1B24;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.nh-productpage-highlight-card:hover {
    transform: translateY(-5px);
    background: #2a2a2a;
}

.nh-productpage-highlight-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* 3. Products Section */
.nh-productpage-products {
    padding: 100px 0;
    background-color: #151515;
}

.nh-productpage-products-header {
    text-align: center;
    margin-bottom: 60px;
}

.nh-productpage-products-header .nh-productpage-title {
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 16px;
}

.nh-productpage-products-header .nh-productpage-subtitle {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter */
.nh-productpage-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.nh-productpage-filter-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #444;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
}

.nh-productpage-filter-btn:hover,
.nh-productpage-filter-btn.active {
    background: #ED1B24;
    border-color: #ED1B24;
    color: #fff;
}

/* Product Grid */
.nh-productpage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.nh-productpage-card {
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.nh-productpage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: #ED1B24;
}

.nh-productpage-image-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #fff; /* Keep image bg white for product clarity if needed or #f8f8f8 */
}

.nh-productpage-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.nh-productpage-card:hover .nh-productpage-image-wrap img {
    transform: scale(1.1);
}

.nh-productpage-card-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ED1B24;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

.nh-productpage-card-content {
    padding: 25px 20px;
}

.nh-productpage-card-title {
    font-size: 20px;
    color: #fff;
    margin: 0 0 10px;
}

.nh-productpage-card-desc {
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.nh-productpage-btn-outline {
    display: inline-block;
    color: #ED1B24;
    border: 1px solid #ED1B24;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.nh-productpage-btn-outline:hover {
    background: #ED1B24;
    color: #fff;
}

/* Hide animation class for filtering */
.nh-productpage-card.hide {
    display: none;
}

/* 4. Laser Cutting & Bending Services Section */
.nh-productpage-services {
    padding: 100px 0;
    background-color: #111;
}

.nh-productpage-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nh-productpage-services-content .nh-productpage-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
}

.nh-productpage-services-content p {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 17px;
}

.nh-productpage-service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nh-productpage-service-card {
    background: #1a1a1a;
    padding: 30px;
    border: 1px solid #333;
    transition: all 0.3s;
    text-align: center;
}

.nh-productpage-service-card:hover {
    border-color: #ED1B24;
    background: rgba(237, 27, 36, 0.05);
}

.nh-productpage-service-icon {
    width: 40px;
    height: 40px;
    color: #ED1B24;
    margin-bottom: 15px;
}

.nh-productpage-service-title {
    font-size: 16px;
    margin: 0;
    color: #fff;
}

/* 5. Popular Brands Section */
.nh-productpage-brands {
    padding: 100px 0;
    background-color: #1a1a1a;
    text-align: center;
}

.nh-productpage-brands .nh-productpage-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 15px;
}

.nh-productpage-brands .nh-productpage-subtitle {
    color: #aaa;
    margin-bottom: 50px;
}

.nh-productpage-brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.nh-productpage-brand-card {
    background: #222;
    padding: 30px 20px;
    border-radius: 8px;
    border: 1px solid #333;
    font-size: 24px;
    font-weight: 800;
    color: #888;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nh-productpage-brand-card:hover {
    color: #fff;
    border-color: #ED1B24;
    box-shadow: 0 10px 20px rgba(237, 27, 36, 0.2);
    transform: translateY(-5px);
}

.nh-productpage-brand-highlight {
    color: #ED1B24;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* 6. Retail & Wholesale Section */
.nh-productpage-supply {
    padding: 100px 0;
    background-color: #151515;
}

.nh-productpage-supply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nh-productpage-supply-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.nh-productpage-supply-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #222;
    padding: 20px;
    border-radius: 6px;
    transition: transform 0.3s;
}

.nh-productpage-supply-feature:hover {
    transform: translateX(10px);
}

.nh-productpage-supply-feature svg {
    color: #ED1B24;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.nh-productpage-supply-feature span {
    font-weight: 600;
}

/* 7. CTA Section */
.nh-productpage-cta {
    padding: 100px 0;
    background-color: #111;
    text-align: center;
    position: relative;
    border-top: 1px solid #333;
}

.nh-productpage-cta-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 15px;
}

.nh-productpage-cta-text {
    color: #aaa;
    margin-bottom: 40px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}

.nh-productpage-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nh-productpage-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.nh-productpage-btn.primary {
    background: #ED1B24;
    color: #fff;
    border: 2px solid #ED1B24;
}

.nh-productpage-btn.primary:hover {
    background: transparent;
    color: #ED1B24;
}

.nh-productpage-btn.whatsapp {
    background: #25D366;
    color: #fff;
    border: 2px solid #25D366;
}

.nh-productpage-btn.whatsapp:hover {
    background: transparent;
    color: #25D366;
}

.nh-productpage-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #555;
}

.nh-productpage-btn.secondary:hover {
    border-color: #ED1B24;
    color: #ED1B24;
}

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

@media (max-width: 991px) {
    .nh-productpage-intro-grid,
    .nh-productpage-services-grid,
    .nh-productpage-supply-grid {
        grid-template-columns: 1fr;
    }
    .nh-productpage-brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .nh-productpage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nh-productpage-btn-group {
        flex-direction: column;
    }
    .nh-productpage-btn {
        width: 100%;
        justify-content: center;
    }
    .nh-productpage-brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .nh-productpage-grid {
        grid-template-columns: 1fr;
    }
    .nh-productpage-intro-highlights,
    .nh-productpage-service-cards,
    .nh-productpage-supply-features {
        grid-template-columns: 1fr;
    }
}
