/* ============================================
   MANOHAR PIPE — Inner Pages Premium Styles
   Product Detail, Products, About, Contact
   ============================================ */

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.pd-section {
    padding: 60px 0 100px;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.pd-gallery {
    position: sticky;
    top: 100px;
}

.pd-gallery__main {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-light);
    border: 1px solid var(--gray-200);
    margin-bottom: 12px;
}

.pd-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-info__category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.pd-info__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pd-info__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.pd-info__price-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.pd-info__price-suffix {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
}

.pd-info__divider {
    height: 1px;
    background: var(--gray-200);
    margin: 20px 0;
}

.pd-info__desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.pd-info__desc p {
    margin-bottom: 12px;
}

/* Product Detail Table */
.pd-variants {
    margin-bottom: 28px;
}

.pd-variants__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-variants__title i {
    color: var(--primary);
    font-size: 14px;
}

.pd-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pd-table thead th {
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    text-align: left;
}

.pd-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--transition);
}

.pd-table tbody tr:hover {
    background: var(--primary-50);
}

.pd-table tbody tr:last-child {
    border-bottom: none;
}

.pd-table tbody td {
    font-size: 14px;
    padding: 12px 16px;
    color: var(--gray-700);
}

.pd-table tbody td:last-child {
    font-weight: 700;
    color: var(--primary);
}

/* Features/Highlights */
.pd-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.pd-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
}

.pd-feature__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pd-feature__icon i {
    font-size: 13px;
    color: var(--primary);
}

.pd-feature__text {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

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

/* Related Products */
.related-section {
    padding: 80px 0;
    background: var(--off-white);
}

/* =============================================
   ENHANCED PRODUCTS LISTING PAGE
   ============================================= */
.products-hero {
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary) 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.products-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.products-hero__text {
    flex: 1;
}

.products-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.15);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.products-hero__title {
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.products-hero__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    line-height: 1.7;
}

.products-hero__breadcrumb {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.products-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.products-hero__breadcrumb a:hover {
    color: var(--accent);
}

.products-hero__breadcrumb span {
    color: var(--accent);
}

.products-hero__stats {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.products-hero__stat {
    text-align: center;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(8px);
    min-width: 130px;
}

.products-hero__stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.products-hero__stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Product card with link */
.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 12px;
    transition: gap var(--transition);
}

.product-card__link:hover {
    gap: 8px;
}

/* =============================================
   ENHANCED ABOUT PAGE
   ============================================= */
.about-hero {
    background: linear-gradient(135deg, var(--primary-800) 0%, #001a3d 50%, var(--primary) 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-hero__inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.15);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-hero__title {
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.about-hero__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-hero__breadcrumb {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.about-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.about-hero__breadcrumb a:hover {
    color: var(--accent);
}

.about-hero__breadcrumb span {
    color: var(--accent);
}

/* Story Section */
.story-section {
    padding: 100px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.story-images {
    position: relative;
}

.story-images__main {
    width: 100%;
    height: 440px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.story-images__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-images__badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 107, 0, 0.35);
    z-index: 2;
}

.story-images__badge-number {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
}

.story-images__badge-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-top: 2px;
}

.story-content .section__subtitle {
    margin-bottom: 20px;
}

.story-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Mission / Vision Cards */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mv-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition);
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.mv-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all var(--transition);
}

.mv-card:hover .mv-card__icon {
    background: var(--primary);
}

.mv-card__icon i {
    font-size: 24px;
    color: var(--primary);
    transition: color var(--transition);
}

.mv-card:hover .mv-card__icon i {
    color: var(--white);
}

.mv-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.mv-card__desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Timeline */
.timeline-section {
    padding: 100px 0;
    background: var(--off-white);
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.timeline__item {
    position: relative;
    padding-bottom: 40px;
    padding-left: 24px;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.timeline__year {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.timeline__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.timeline__desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* =============================================
   ENHANCED CONTACT PAGE
   ============================================= */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary) 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-hero__inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.15);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-hero__title {
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 14px;
}

.contact-hero__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-hero__breadcrumb {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.contact-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
}

.contact-hero__breadcrumb a:hover {
    color: var(--accent);
}

.contact-hero__breadcrumb span {
    color: var(--accent);
}

/* Contact Quick Cards */
.contact-quick {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.contact-quick__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-quick__card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.contact-quick__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.contact-quick__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all var(--transition);
}

.contact-quick__card:hover .contact-quick__icon {
    background: var(--primary);
}

.contact-quick__icon i {
    font-size: 22px;
    color: var(--primary);
    transition: color var(--transition);
}

.contact-quick__card:hover .contact-quick__icon i {
    color: var(--white);
}

.contact-quick__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: 6px;
}

.contact-quick__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.5;
}

/* Contact Form Section */
.contact-main {
    padding: 40px 0 100px;
}

.contact-main__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-main__info-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.contact-main__info-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-main__social {
    margin-top: 28px;
}

.contact-main__social-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.contact-main__social-links {
    display: flex;
    gap: 10px;
}

.contact-main__social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition);
}

.contact-main__social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.contact-main__social-link i {
    font-size: 16px;
}

/* Map Section */
.contact-map {
    background: var(--off-white);
    padding: 0;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* =============================================
   RESPONSIVE — Inner Pages
   ============================================= */
@media (max-width: 1024px) {
    .pd-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pd-gallery {
        position: static;
    }

    .products-hero__inner {
        flex-direction: column;
        text-align: center;
    }

    .products-hero__desc {
        margin: 0 auto;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-quick__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-main__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pd-gallery__main {
        height: 280px;
    }

    .pd-info__title {
        font-size: 24px;
    }

    .pd-features {
        grid-template-columns: 1fr;
    }

    .products-hero__title,
    .about-hero__title,
    .contact-hero__title {
        font-size: 30px;
    }

    .products-hero__stats {
        gap: 12px;
    }

    .products-hero__stat {
        min-width: 100px;
        padding: 16px 20px;
    }

    .products-hero__stat-number {
        font-size: 24px;
    }

    .story-images__main {
        height: 300px;
    }

    .story-images__badge {
        right: 10px;
        bottom: -15px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .contact-quick__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .pd-actions {
        flex-direction: column;
    }

    .pd-actions .btn {
        width: 100%;
    }

    .products-hero__stats {
        flex-direction: column;
        align-items: center;
    }

    .products-hero__stat {
        width: 100%;
        max-width: 200px;
    }
}