/* ============================================
   PRODUCT DETAIL PAGE - SHARED STYLES
   ============================================ */

.pd-hero {
    background:
        linear-gradient(180deg, rgba(8, 12, 28, 0.78) 0%, rgba(15, 23, 42, 0.88) 100%),
        url('images/products-header.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.pd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 166, 80, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(46, 49, 146, 0.18) 0%, transparent 50%);
    pointer-events: none;
}

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

.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pd-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pd-breadcrumb a:hover {
    color: #00a650;
}

.pd-breadcrumb .sep {
    opacity: 0.5;
}

.pd-breadcrumb .current {
    color: #fff;
    font-weight: 500;
}

/* Hero layout */
.pd-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pd-hero-image {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.pd-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 166, 80, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pd-hero-image img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.pd-hero-info .pd-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 166, 80, 0.15);
    color: #4ade80;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 166, 80, 0.3);
}

.pd-hero-info h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pd-hero-info .pd-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin-bottom: 28px;
}

.pd-quick-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.pd-quick-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.pd-quick-meta-item i {
    color: #4ade80;
    font-size: 1.1rem;
}

.pd-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.pd-btn-primary,
.pd-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.pd-btn-primary {
    background: linear-gradient(135deg, #00a650 0%, #00873f 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 166, 80, 0.35);
}

.pd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 166, 80, 0.45);
}

.pd-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.pd-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* ============================================
   PRODUCT DETAIL BODY
   ============================================ */
.pd-body {
    padding: 80px 0;
    background: #f8fafc;
}

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

.pd-section {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.pd-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 14px;
}

.pd-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00a650, #2e3192);
    border-radius: 2px;
}

.pd-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    margin: 24px 0 12px;
}

.pd-section p {
    color: #475569;
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 14px;
}

.pd-section ul {
    list-style: none;
    padding: 0;
}

.pd-section ul li {
    position: relative;
    padding-left: 32px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 1rem;
}

.pd-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #00a650;
    position: absolute;
    left: 0;
    top: 2px;
    background: rgba(0, 166, 80, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Benefit grid */
.pd-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.pd-benefit-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 1px solid #d1fae5;
    padding: 22px;
    border-radius: 16px;
    transition: all 0.25s ease;
}

.pd-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 166, 80, 0.12);
}

.pd-benefit-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00a650, #00873f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.pd-benefit-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.pd-benefit-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Specifications table */
.pd-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.pd-specs-table tr {
    border-bottom: 1px solid #e2e8f0;
}

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

.pd-specs-table th,
.pd-specs-table td {
    padding: 14px 0;
    text-align: left;
    font-size: 0.95rem;
}

.pd-specs-table th {
    color: #64748b;
    font-weight: 500;
    width: 35%;
}

.pd-specs-table td {
    color: #0f172a;
    font-weight: 600;
}

/* FAQ */
.pd-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.pd-faq-item.open {
    border-color: #00a650;
    box-shadow: 0 6px 18px rgba(0, 166, 80, 0.1);
}

.pd-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    font-size: 1rem;
    background: #fff;
    user-select: none;
}

.pd-faq-q:hover {
    background: #f8fafc;
}

.pd-faq-q i {
    color: #00a650;
    transition: transform 0.25s ease;
}

.pd-faq-item.open .pd-faq-q i {
    transform: rotate(180deg);
}

.pd-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 22px;
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

.pd-faq-item.open .pd-faq-a {
    max-height: 500px;
    padding: 0 22px 20px;
}

/* Sidebar */
.pd-sidebar {
    position: sticky;
    top: 100px;
}

.pd-sidebar-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.pd-sidebar-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 166, 80, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.pd-sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.pd-sidebar-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
    position: relative;
}

.pd-sidebar-card .pd-btn-primary {
    width: 100%;
    justify-content: center;
    position: relative;
}

.pd-trust-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.pd-trust-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.pd-trust-list {
    list-style: none;
    padding: 0;
}

.pd-trust-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #475569;
    font-size: 0.92rem;
    border-bottom: 1px dashed #e2e8f0;
}

.pd-trust-list li:last-child {
    border-bottom: none;
}

.pd-trust-list li i {
    color: #00a650;
    font-size: 1rem;
}

/* Related products */
.pd-related {
    padding: 80px 0;
    background: #fff;
}

.pd-related-header {
    text-align: center;
    margin-bottom: 50px;
}

.pd-related-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.pd-related-header p {
    color: #64748b;
    font-size: 1.05rem;
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.pd-related-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.pd-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    border-color: #00a650;
}

.pd-related-img {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    padding: 30px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-related-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pd-related-info {
    padding: 22px;
}

.pd-related-info .cat {
    font-size: 0.8rem;
    color: #00a650;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pd-related-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 8px 0;
}

.pd-related-info p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .pd-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pd-hero-info h1 {
        font-size: 2.25rem;
    }
    .pd-body-grid {
        grid-template-columns: 1fr;
    }
    .pd-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .pd-hero {
        padding: 110px 0 60px;
    }
    .pd-hero-info h1 {
        font-size: 1.85rem;
    }
    .pd-hero-image {
        padding: 24px;
    }
    .pd-hero-image img {
        max-height: 280px;
    }
    .pd-section {
        padding: 26px 22px;
    }
    .pd-section h2 {
        font-size: 1.4rem;
    }
    .pd-quick-meta {
        gap: 14px;
    }
    .pd-quick-meta-item {
        font-size: 0.88rem;
    }
    .pd-benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .pd-benefit-card {
        padding: 16px;
    }
    .pd-benefit-card h4 {
        font-size: 0.95rem;
    }
    .pd-benefit-card p {
        font-size: 0.82rem;
    }
    .pd-related {
        padding: 60px 0;
    }
    .pd-related-header h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .pd-hero {
        padding: 100px 0 50px;
    }
    .pd-hero-info h1 {
        font-size: 1.55rem;
        line-height: 1.25;
    }
    .pd-hero-info .pd-tagline {
        font-size: 0.98rem;
    }
    .pd-hero-image {
        padding: 18px;
    }
    .pd-hero-image img {
        max-height: 220px;
    }
    .pd-category {
        font-size: 0.78rem;
        padding: 6px 12px;
    }
    .pd-quick-meta {
        gap: 10px;
        margin-bottom: 22px;
    }
    .pd-hero-cta {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .pd-btn-primary,
    .pd-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 13px 22px;
        font-size: 0.92rem;
    }
    .pd-breadcrumb {
        font-size: 0.82rem;
        margin-bottom: 18px;
    }
    .pd-section {
        padding: 22px 18px;
        margin-bottom: 22px;
        border-radius: 16px;
    }
    .pd-section h2 {
        font-size: 1.2rem;
    }
    .pd-section p,
    .pd-section ul li {
        font-size: 0.92rem;
    }
    .pd-benefits-grid {
        grid-template-columns: 1fr;
    }
    .pd-specs-table th,
    .pd-specs-table td {
        font-size: 0.85rem;
        padding: 12px 0;
    }
    .pd-specs-table th {
        width: 45%;
    }
    .pd-faq-q {
        font-size: 0.92rem;
        padding: 14px 16px;
    }
    .pd-faq-item.open .pd-faq-a {
        padding: 0 16px 16px;
        font-size: 0.88rem;
    }
    .pd-sidebar-card,
    .pd-trust-card {
        padding: 22px 20px;
    }
    .pd-sidebar-card h3 {
        font-size: 1.1rem;
    }
    .pd-related {
        padding: 50px 0;
    }
    .pd-related-header h2 {
        font-size: 1.45rem;
    }
    .pd-related-header p {
        font-size: 0.92rem;
    }
    .pd-related-img {
        height: 170px;
        padding: 20px;
    }
}
