/**
 * Product Detail Page Styles
 * Matches Fiorentini.com product page design
 */

/* Product Page Logo Header - Hidden since main header now shows logo */
.pf-product-logo-header {
    display: none;
}

.pf-product-logo-header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pf-product-logo-header__logo {
    display: flex;
    align-items: center;
}

.pf-product-logo-header__logo img {
    height: 50px;
    width: auto;
}

.pf-product-logo-header__logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 2px solid var(--pf-primary);
}

.pf-product-logo-header__logo-text .company-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--pf-secondary);
    letter-spacing: 1px;
}

.pf-product-logo-header__logo-text .company-tagline {
    font-size: 12px;
    color: var(--pf-primary);
    font-weight: 500;
}

/* Product Page Breadcrumb - Enhanced */
.pf-product-breadcrumb {
    padding: 15px 0;
    padding-top: 130px; /* Account for fixed header (top bar + nav) */
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.pf-product-breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.pf-product-breadcrumb__list li {
    display: flex;
    align-items: center;
}

.pf-product-breadcrumb__list li:not(:last-child)::after {
    content: '>';
    display: inline-block;
    margin: 0 10px;
    color: var(--pf-primary);
    font-weight: 400;
}

.pf-product-breadcrumb__list a {
    color: var(--pf-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.pf-product-breadcrumb__list a:hover {
    color: var(--pf-secondary);
    text-decoration: underline;
}

.pf-product-breadcrumb__list li:last-child {
    color: var(--pf-black);
    font-weight: 600;
}

/* Product Detail Hero */
.pf-product-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pf-product-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.pf-product-hero__image {
    background: var(--pf-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    max-width: 380px;
    margin: 0 auto;
}

.pf-product-hero__image img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.pf-product-hero__image {
    position: relative;
}

.pf-product-hero__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.pf-product-hero__badge--h2 {
    background: #10b981;
    color: #fff;
}

.pf-product-hero__info {
    padding-top: 20px;
}

.pf-product-hero__category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--pf-primary);
    color: var(--pf-white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.pf-product-hero__title {
    font-size: 42px;
    font-weight: 700;
    color: var(--pf-secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.pf-product-hero__subtitle {
    font-size: 18px;
    color: var(--pf-primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.pf-product-hero__desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.pf-product-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.pf-product-hero__highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--pf-white);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pf-secondary);
}

.pf-product-hero__highlight svg {
    width: 18px;
    height: 18px;
    color: var(--pf-primary);
}

.pf-product-hero__actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Both buttons same outline style */
.pf-product-hero__actions .pf-btn,
.pf-product-hero__actions .pf-btn--primary,
.pf-product-hero__actions .pf-btn--outline {
    padding: 14px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    border: 2px solid var(--pf-primary) !important;
    color: var(--pf-primary) !important;
}

.pf-product-hero__actions .pf-btn:hover,
.pf-product-hero__actions .pf-btn--primary:hover,
.pf-product-hero__actions .pf-btn--outline:hover {
    background: var(--pf-primary) !important;
    color: var(--pf-white) !important;
}

/* Product Specs Section */
.pf-product-specs {
    padding: 80px 0;
    background: var(--pf-white);
}

.pf-product-specs__header {
    text-align: center;
    margin-bottom: 50px;
}

.pf-product-specs__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--pf-secondary);
    margin-bottom: 15px;
}

.pf-product-specs__subtitle {
    font-size: 16px;
    color: #666;
}

.pf-product-specs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.pf-product-specs__table {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.pf-product-specs__table-header {
    background: var(--pf-primary);
    color: var(--pf-white);
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
}

.pf-product-specs__table-body {
    padding: 10px 0;
}

.pf-product-specs__row {
    display: flex;
    justify-content: space-between;
    padding: 12px 25px;
    border-bottom: 1px solid #e9ecef;
}

.pf-product-specs__row:last-child {
    border-bottom: none;
}

.pf-product-specs__label {
    font-weight: 600;
    color: var(--pf-secondary);
    font-size: 14px;
}

.pf-product-specs__value {
    color: #555;
    font-size: 14px;
    text-align: right;
}

/* Full width specs table */
.pf-product-specs__table--full {
    grid-column: 1 / -1;
}

.pf-product-specs__table--full .pf-product-specs__table-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.pf-product-specs__table--full .pf-product-specs__row {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    border-right: 1px solid #e9ecef;
}

.pf-product-specs__table--full .pf-product-specs__row:nth-child(3n) {
    border-right: none;
}

.pf-product-specs__table--full .pf-product-specs__value {
    text-align: center;
}

/* Applications Section */
.pf-product-applications {
    padding: 80px 0;
    background: #f8f9fa;
}

.pf-product-applications__header {
    text-align: center;
    margin-bottom: 50px;
}

.pf-product-applications__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--pf-secondary);
    margin-bottom: 15px;
}

.pf-product-applications__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.pf-product-application {
    background: var(--pf-white);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pf-product-application:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pf-product-application__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--pf-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pf-product-application:hover .pf-product-application__icon {
    background: var(--pf-primary);
}

.pf-product-application__icon svg {
    width: 28px;
    height: 28px;
    color: var(--pf-primary);
    transition: color 0.3s ease;
}

.pf-product-application:hover .pf-product-application__icon svg {
    color: var(--pf-white);
}

.pf-product-application__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--pf-secondary);
}

/* Features Section */
.pf-product-features {
    padding: 80px 0;
    background: var(--pf-white);
}

.pf-product-features__header {
    text-align: center;
    margin-bottom: 50px;
}

.pf-product-features__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--pf-secondary);
    margin-bottom: 15px;
}

.pf-product-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1199px) {
    .pf-product-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pf-product-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.pf-product-feature__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pf-primary);
    border-radius: 8px;
}

.pf-product-feature__icon svg {
    width: 20px;
    height: 20px;
    color: var(--pf-white);
}

.pf-product-feature__text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--pf-secondary);
    margin-bottom: 5px;
}

.pf-product-feature__text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Product Description Section */
.pf-product-description {
    padding: 60px 0;
    background: #f8f9fa;
}

.pf-product-description__header {
    margin-bottom: 30px;
}

.pf-product-description__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--pf-secondary);
}

.pf-product-description__content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.pf-product-description__content p {
    margin-bottom: 20px;
}

.pf-product-description__content ul,
.pf-product-description__content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.pf-product-description__content li {
    margin-bottom: 10px;
}

/* Downloads Section */
.pf-product-downloads {
    padding: 80px 0;
    background: var(--pf-secondary);
}

.pf-product-downloads__header {
    text-align: center;
    margin-bottom: 50px;
}

.pf-product-downloads__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--pf-white);
    margin-bottom: 15px;
}

.pf-product-downloads__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.pf-product-downloads__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pf-product-download {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.pf-product-download:hover {
    background: rgba(255, 255, 255, 0.2);
}

.pf-product-download__icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pf-primary);
    border-radius: 8px;
}

.pf-product-download__icon svg {
    width: 22px;
    height: 22px;
    color: var(--pf-white);
}

.pf-product-download__info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--pf-white);
    margin-bottom: 3px;
}

.pf-product-download__info span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Related Products */
.pf-related-products {
    padding: 80px 0;
    background: #f8f9fa;
}

.pf-related-products__header {
    text-align: center;
    margin-bottom: 50px;
}

.pf-related-products__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--pf-secondary);
    margin-bottom: 15px;
}

/* Breadcrumb for product pages */
.pf-product-breadcrumb {
    padding: 20px 0;
    background: var(--pf-white);
    border-bottom: 1px solid #e9ecef;
}

.pf-product-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.pf-product-breadcrumb__list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pf-product-breadcrumb__list li:not(:last-child)::after {
    content: '>';
    color: var(--pf-primary);
}

.pf-product-breadcrumb__list a {
    color: var(--pf-primary);
    text-decoration: none;
}

.pf-product-breadcrumb__list a:hover {
    text-decoration: underline;
}

.pf-product-breadcrumb__list li:last-child {
    color: var(--pf-black);
    font-weight: 500;
}

/* Product CTA */
.pf-product-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.pf-product-cta__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--pf-secondary);
    margin-bottom: 15px;
}

.pf-product-cta__text {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.pf-product-cta__actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* CTA Buttons - Same outline style as hero buttons */
.pf-product-cta__actions .pf-btn,
.pf-product-cta__actions .pf-btn--white,
.pf-product-cta__actions .pf-btn--outline {
    padding: 14px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    border: 2px solid var(--pf-primary) !important;
    color: var(--pf-primary) !important;
}

.pf-product-cta__actions .pf-btn:hover,
.pf-product-cta__actions .pf-btn--white:hover,
.pf-product-cta__actions .pf-btn--outline:hover {
    background: var(--pf-primary) !important;
    color: var(--pf-white) !important;
}

/* Responsive */
@media (max-width: 1199px) {
    .pf-product-applications__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .pf-product-hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pf-product-hero__title {
        font-size: 32px;
    }

    .pf-product-specs__grid {
        grid-template-columns: 1fr;
    }

    .pf-product-specs__table--full .pf-product-specs__table-body {
        grid-template-columns: repeat(2, 1fr);
    }

    .pf-product-downloads__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pf-product-applications__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .pf-product-breadcrumb {
        padding-top: 100px; /* Smaller header on mobile */
    }

    .pf-product-hero {
        padding: 40px 0;
    }

    .pf-product-hero__title {
        font-size: 28px;
    }

    .pf-product-hero__actions {
        flex-direction: column;
    }

    .pf-product-hero__actions .pf-btn {
        width: 100%;
        justify-content: center;
    }

    .pf-product-specs,
    .pf-product-applications,
    .pf-product-features,
    .pf-product-downloads,
    .pf-related-products {
        padding: 50px 0;
    }

    .pf-product-specs__title,
    .pf-product-applications__title,
    .pf-product-features__title,
    .pf-product-downloads__title,
    .pf-related-products__title {
        font-size: 26px;
    }

    .pf-product-specs__table--full .pf-product-specs__table-body {
        grid-template-columns: 1fr;
    }

    .pf-product-specs__table--full .pf-product-specs__row {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .pf-product-features__grid {
        grid-template-columns: 1fr;
    }

    .pf-product-downloads__grid {
        grid-template-columns: 1fr;
    }

    .pf-product-applications__grid {
        grid-template-columns: 1fr;
    }

    .pf-product-cta__title {
        font-size: 26px;
    }

    .pf-product-cta__actions {
        flex-direction: column;
        align-items: center;
    }
}
