/* ==========================================================================
   1. PRODUCT PAGE TYPOGRAPHY OVERRIDES
   ========================================================================== */
p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ==========================================================================
   2. PRODUCT HERO SECTION
   ========================================================================== */
.hero {
    padding: 0;
    text-align: center;
    max-width: 1920px;
    margin: 7.5rem auto 3rem auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: transparent;
    background-image: linear-gradient(180deg, #ffffff, var(--accent-light-gold));
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    padding: 0.75rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: lightgoldenrodyellow;
    max-width: 860px;
    margin: 0 auto;
    opacity: 0.9;
    padding: 0 1.5rem;
    font-weight: 400;
}

/* ==========================================================================
   3. PRODUCT CONTENT CARDS & COMMON HEADINGS
   ========================================================================== */
.section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    width: 100%;
}

.card {
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(201, 168, 76, 0.35);
    outline: 1px solid rgba(255, 255, 255, 0.15);
    outline-offset: -1px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), inset 0 0 20px rgba(131, 45, 189, 0.15);
    max-width: 1400px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card-header-group {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.25rem;
}

.card-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-light-gold);
    margin-bottom: 0.5rem;
}

.card h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.highlight-quote {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-light-gold);
    padding: 1rem 1.5rem;
    background: rgba(201, 168, 76, 0.1);
    border-left: 4px solid var(--accent-dark-gold);
    border-radius: 0 10px 10px 0;
    margin: 1.75rem 0;
}

/* ==========================================================================
   4. PRODUCT LISTING GRID & ROW ITEMS
   ========================================================================== */
.fittings-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 2rem;
    width: 100%;
}

.fitting-item-row {
    background: rgba(20, 5, 10, 0.45);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.fitting-item-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-light-gold), var(--accent));
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.fitting-item-row:hover {
    transform: translateY(-4px);
    border-color: var(--accent-light-gold);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 168, 76, 0.2);
}

.fitting-item-row:hover::before {
    opacity: 1;
}

.fitting-info {
    flex: 1;
    min-width: 0;
}

.fitting-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.fitting-index {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-light-gold);
    letter-spacing: 0.5px;
}

.fitting-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.fitting-desc {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ==========================================================================
   5. SPECIFICATION DOWNLOAD BUTTONS & ICONS
   ========================================================================== */
.btn-download-spec {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: linear-gradient(180deg, var(--accent-dark-gold), var(--accent-light-gold));
    border: 1px solid var(--accent-dark-gold);
    color: #000000;
    font-family: var(--font-exo);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: inset -1px -2px 3px rgba(253, 254, 254, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.btn-download-spec:hover,
.btn-download-spec:focus-visible {
    background: linear-gradient(180deg, var(--accent-light-gold), var(--accent-dark-gold));
    transform: translateY(-2px);
    box-shadow: inset -1px -2px 3px rgba(253, 254, 254, 0.4), 0 6px 20px rgba(201, 168, 76, 0.6);
    outline: none;
}

.pdf-icon {
    width: 18px;
    height: 18px;
    fill: #000000;
    transition: transform 0.3s ease;
}

.btn-download-spec:hover .pdf-icon {
    transform: translateY(-1px);
}

.btn-disabled-spec {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(201, 168, 76, 0.35);
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-exo);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: not-allowed;
    user-select: none;
}

.icon-border {
    border: 1px solid red;
    border-radius: 0.25rem;
    outline: 2px solid var(--accent-light-gold);
    outline-offset: -4px;
}

/* ==========================================================================
   6. MATERIAL CLASSIFICATION BADGES
   ========================================================================== */
.materials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.mat-badge {
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: var(--accent-light-gold);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   7. TECHNICAL SPECIFICATION TABLES
   ========================================================================== */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 12px;
    background: rgba(15, 3, 7, 0.6);
    -webkit-overflow-scrolling: touch;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
    min-width: 580px;
}

.spec-table th, 
.spec-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.5;
}

.spec-table th {
    background: rgba(30, 8, 15, 0.85);
    color: var(--accent-light-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--accent-dark-gold);
}

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

.spec-table tbody tr:hover {
    background: rgba(201, 168, 76, 0.06);
}

.spec-table td strong {
    color: #ffffff;
}

.spec-table td span {
    color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (CARD & ROW ADAPTATION)
   ========================================================================== */
@media (max-width: 992px) {
    .card {
        padding: 40px 28px;
    }

    .fitting-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.75rem 1.5rem;
    }

    .btn-download-spec {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .card {
        padding: 30px 18px;
    }
}