/* EDIT GUIDE: css/product.css
   Page-specific or legacy styles. Shared theme files load later and can override these rules. Check the page stylesheet list before changing colours or spacing.
   Search EDIT BLOCK for selectors/functions; see EDITING-GUIDE.md for the file map.
*/
/* FILE GUIDE: Original fitting-directory layout. Shared catalog.css and refresh.css provide the current reusable styling. */
/* =========================================================
   FERROBEND
   FITTINGS PAGE
========================================================= */


/* =========================================================
   FITTINGS HERO
========================================================= */


/* EDIT BLOCK: .fittings-hero. Change the declarations below; shared overrides may load later. */
.fittings-hero {
    position: relative;

    padding: 105px 0 100px;

    background:
        radial-gradient(circle at 78% 20%, rgba(215, 155, 50, 0.18), transparent 26%),
        linear-gradient(115deg, #061d32 0%, #0b3a5b 55%, #0a2f4b 100%);

    overflow: hidden;
}



/* EDIT BLOCK: .fittings-hero::after. Change the declarations below; shared overrides may load later. */
.fittings-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -220px;
    top: -240px;

    border-radius: 50%;

    background: rgba(215, 155, 50, 0.10);

    pointer-events: none;
}



/* EDIT BLOCK: .fittings-hero-content. Change the declarations below; shared overrides may load later. */
.fittings-hero-content {
    position: relative;
    z-index: 1;

    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}



/* EDIT BLOCK: .fittings-hero h1. Change the declarations below; shared overrides may load later. */
.fittings-hero h1 {
    margin-bottom: 25px;

    font-size: clamp(42px, 5vw, 64px);

    font-weight: 700;

    color: var(--white);
}



/* EDIT BLOCK: .fittings-hero h1 span. Change the declarations below; shared overrides may load later. */
.fittings-hero h1 span {
    display: block;

    color: #f0ba4f;
}



/* EDIT BLOCK: .fittings-hero p. Change the declarations below; shared overrides may load later. */
.fittings-hero p {
    max-width: 760px;

    margin: 0 auto 32px;

    font-size: 16px;

    line-height: 1.85;

    color: #d6e2eb;
}



/* EDIT BLOCK: .fittings-hero-actions. Change the declarations below; shared overrides may load later. */
.fittings-hero-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
}



/* EDIT BLOCK: .fittings-hero-trust. Change the declarations below; shared overrides may load later. */
.fittings-hero-trust {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 25px;

    margin-top: 35px;
}



/* =========================================================
   INTRODUCTION
========================================================= */


/* EDIT BLOCK: .fittings-introduction. Change the declarations below; shared overrides may load later. */
.fittings-introduction {
    padding: 105px 0;

    background: var(--white);
}



/* EDIT BLOCK: .fittings-intro-grid. Change the declarations below; shared overrides may load later. */
.fittings-intro-grid {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 70px;

    align-items: center;
}



/* EDIT BLOCK: .fittings-intro-content p. Change the declarations below; shared overrides may load later. */
.fittings-intro-content p {
    margin-bottom: 20px;

    font-size: 15px;

    line-height: 1.8;
}



/* EDIT BLOCK: .fittings-intro-panel. Change the declarations below; shared overrides may load later. */
.fittings-intro-panel {
    position: relative;

    padding: 40px;

    color: var(--white);

    background: var(--primary);

    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-lg);
}



/* EDIT BLOCK: .fittings-intro-panel::before. Change the declarations below; shared overrides may load later. */
.fittings-intro-panel::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -120px;
    top: -120px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);
}



/* EDIT BLOCK: .fittings-intro-panel > span. Change the declarations below; shared overrides may load later. */
.fittings-intro-panel > span {
    position: relative;
    z-index: 1;

    color: #d6a347;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.15em;
}



/* EDIT BLOCK: .fittings-intro-panel h3. Change the declarations below; shared overrides may load later. */
.fittings-intro-panel h3 {
    position: relative;
    z-index: 1;

    margin: 13px 0 28px;

    color: var(--white);

    font-size: 25px;
}



/* EDIT BLOCK: .intro-panel-list. Change the declarations below; shared overrides may load later. */
.intro-panel-list {
    position: relative;
    z-index: 1;

    display: flex;

    flex-direction: column;

    gap: 15px;
}



/* EDIT BLOCK: .intro-panel-list div. Change the declarations below; shared overrides may load later. */
.intro-panel-list div {
    display: flex;

    align-items: center;

    gap: 12px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;
}



/* EDIT BLOCK: .intro-panel-list i. Change the declarations below; shared overrides may load later. */
.intro-panel-list i {
    color: var(--accent);
}



/* =========================================================
   FITTING PRODUCTS
========================================================= */


/* EDIT BLOCK: .fitting-products-section. Change the declarations below; shared overrides may load later. */
.fitting-products-section {
    padding: 105px 0;

    background: var(--bg);
}



/* EDIT BLOCK: .fitting-category-grid. Change the declarations below; shared overrides may load later. */
.fitting-category-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}



/* EDIT BLOCK: .fitting-category-card. Change the declarations below; shared overrides may load later. */
.fitting-category-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 340px;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}



/* EDIT BLOCK: .fitting-category-card::before. Change the declarations below; shared overrides may load later. */
.fitting-category-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: var(--accent);

    transform: scaleX(0);

    transform-origin: left;

    transition: transform var(--transition);
}



/* EDIT BLOCK: .fitting-category-card:hover. Change the declarations below; shared overrides may load later. */
.fitting-category-card:hover {
    transform: translateY(-7px);

    border-color: #d5dee5;

    box-shadow: var(--shadow);
}



/* EDIT BLOCK: .fitting-category-card:hover::before. Change the declarations below; shared overrides may load later. */
.fitting-category-card:hover::before {
    transform: scaleX(1);
}



/* EDIT BLOCK: .fitting-category-icon. Change the declarations below; shared overrides may load later. */
.fitting-category-icon {
    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    color: #f0ba4f;
    background: linear-gradient(135deg, #0b3a5b, #072a42);
    border: 1px solid rgba(215, 155, 50, 0.45);
    border-radius: 12px 12px 12px 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 14px rgba(7, 42, 66, 0.16);

    font-size: 23px;

    transition:
        color var(--transition),
        background var(--transition);
}



/* EDIT BLOCK: .fitting-category-card:hover .fitting-category-icon. Change the declarations below; shared overrides may load later. */
.fitting-category-card:hover .fitting-category-icon {
    color: var(--primary-dark);
    background: #f0ba4f;
}


/* EDIT BLOCK: .fitting-category-icon svg. Change the declarations below; shared overrides may load later. */
.fitting-category-icon svg {
    width: 40px;
    height: 40px;
}



/* EDIT BLOCK: .fitting-category-number. Change the declarations below; shared overrides may load later. */
.fitting-category-number {
    display: block;

    margin-bottom: 7px;

    color: var(--accent);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.12em;
}



/* EDIT BLOCK: .fitting-category-content h3. Change the declarations below; shared overrides may load later. */
.fitting-category-content h3 {
    margin-bottom: 10px;

    font-size: 21px;
}



/* EDIT BLOCK: .fitting-category-content p. Change the declarations below; shared overrides may load later. */
.fitting-category-content p {
    font-size: 13px;

    line-height: 1.75;
}



/* EDIT BLOCK: .fitting-category-link. Change the declarations below; shared overrides may load later. */
.fitting-category-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: auto;
    padding-top: 25px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    transition: gap var(--transition);
}



/* EDIT BLOCK: .fitting-category-card:hover .fitting-category-link. Change the declarations below; shared overrides may load later. */
.fitting-category-card:hover .fitting-category-link {
    gap: 13px;
}



/* =========================================================
   MATERIALS
========================================================= */


/* EDIT BLOCK: .fittings-material-section. Change the declarations below; shared overrides may load later. */
.fittings-material-section {
    padding: 105px 0;

    background: var(--white);
}



/* EDIT BLOCK: .fittings-material-grid. Change the declarations below; shared overrides may load later. */
.fittings-material-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}



/* EDIT BLOCK: .fittings-material-item. Change the declarations below; shared overrides may load later. */
.fittings-material-item {
    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 80px;

    padding: 20px;

    background: var(--bg-light);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    color: #344555;

    font-size: 13px;

    font-weight: 600;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}



/* EDIT BLOCK: .fittings-material-item:hover. Change the declarations below; shared overrides may load later. */
.fittings-material-item:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-sm);
}



/* EDIT BLOCK: .fittings-material-item i. Change the declarations below; shared overrides may load later. */
.fittings-material-item i {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--accent);

    background: #fff8eb;

    border-radius: 9px;
}



/* =========================================================
   STANDARDS
========================================================= */


/* EDIT BLOCK: .fittings-standards-section. Change the declarations below; shared overrides may load later. */
.fittings-standards-section {
    padding: 100px 0;

    background: #f7f9fc;
}



/* EDIT BLOCK: .fittings-standards-content. Change the declarations below; shared overrides may load later. */
.fittings-standards-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}



/* EDIT BLOCK: .fittings-standards-content h2. Change the declarations below; shared overrides may load later. */
.fittings-standards-content h2 {
    margin-bottom: 18px;

    font-size: clamp(30px, 4vw, 42px);
}



/* EDIT BLOCK: .fittings-standards-content p. Change the declarations below; shared overrides may load later. */
.fittings-standards-content p {
    max-width: 620px;

    font-size: 14px;

    line-height: 1.8;
}



/* EDIT BLOCK: .fittings-standard-list. Change the declarations below; shared overrides may load later. */
.fittings-standard-list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}



/* EDIT BLOCK: .fittings-standard-list div. Change the declarations below; shared overrides may load later. */
.fittings-standard-list div {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 20px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 10px;

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;
}



/* EDIT BLOCK: .fittings-standard-list i. Change the declarations below; shared overrides may load later. */
.fittings-standard-list i {
    color: var(--accent);

    font-size: 18px;
}



/* =========================================================
   TABLET
========================================================= */


/* EDIT BLOCK: @media (max-width: 1100px). Change the declarations below; shared overrides may load later. */
@media (max-width: 1100px) {

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


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

}



/* =========================================================
   MOBILE
========================================================= */


/* EDIT BLOCK: @media (max-width: 800px). Change the declarations below; shared overrides may load later. */
@media (max-width: 800px) {

    .fittings-hero {
        padding: 75px 0 80px;
    }


    .fittings-hero h1 {
        font-size: clamp(38px, 9vw, 50px);
    }


    .fittings-hero p {
        font-size: 14px;
    }


    .fittings-introduction,
    .fitting-products-section,
    .fittings-material-section,
    .fittings-standards-section {
        padding: 75px 0;
    }


    .fittings-intro-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .fitting-category-grid {
        grid-template-columns: 1fr;
    }


    .fittings-material-grid {
        grid-template-columns: 1fr 1fr;
    }


    .fittings-standards-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */


/* EDIT BLOCK: @media (max-width: 520px). Change the declarations below; shared overrides may load later. */
@media (max-width: 520px) {

    .fittings-hero-actions {
        flex-direction: column;

        width: 100%;
    }


    .fittings-hero-actions .btn {
        width: 100%;
    }


    .fittings-hero-trust {
        flex-direction: column;

        align-items: center;

        gap: 10px;
    }


    .fittings-intro-panel {
        padding: 30px;
    }


    .fittings-material-grid {
        grid-template-columns: 1fr;
    }


    .fittings-standard-list {
        grid-template-columns: 1fr;
    }

}
