/*=========================================================
  FERROBEND
  GLOBAL STYLES
=========================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #222;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/*=========================================================
  CONTAINER
=========================================================*/

.container {
    width: 92%;
    max-width: 1380px;
    margin: auto;
}

/*=========================================================
  TOP BAR
=========================================================*/

.top-bar {
    background: #232323;
    height: 42px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.top-left a,
.top-right a {
    color: #ffffff;
    font-size: 14px;
    transition: .3s;
}

.top-left a:hover,
.top-right a:hover {
    color: #ff6b00;
}

.top-right i {
    color: #ff6b00;
    margin-right: 7px;
}

/*==================================================
TOP BAR — MOBILE
==================================================*/

@media (max-width: 768px) {

    .top-bar {
        height: auto;
        padding: 10px 0;
    }

    .top-bar-container {
        height: auto;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-left,
    .top-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .top-left a,
    .top-right a {
        font-size: 12px;
    }

}

/*==================================================
TOP BAR — SMALL MOBILE
==================================================*/

@media (max-width: 400px) {

    .top-bar {
        padding: 8px 0;
    }

    .top-left,
    .top-right {
        gap: 6px 14px;
    }

    .top-left a,
    .top-right a {
        font-size: 11px;
    }

}


/*=========================================================
  HEADER
=========================================================*/

.header {
    background: #ffffff;
    border-bottom: 1px solid #ececec;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    height: 95px;

}

/*=========================================================
  LOGO
=========================================================*/

.logo {

    flex: 0 0 200px;

}

.logo img {

    width: 200px;

}

/*=========================================================
  NAVIGATION
=========================================================*/

.navbar {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    margin-left: 20px;
}

.header .navbar>ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header .navbar>ul>li {
    white-space: nowrap;
}

.header .navbar>ul>li>a {

    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 17px;
    font-weight: 400;

    color: #111111;

    transition: .3s;

}

.header .navbar>ul>li>a:hover {

    color: #ff6b00;

}

.navbar ul li a i {

    font-size: 11px;
    margin-left: 6px;

    transition: 0.3s;

}

/*=========================================================
DROPDOWN
=========================================================*/

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    background: #ffffff;
    min-width: 260px;

    display: none;

    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    padding: 10px 0;
    z-index: 9999;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;

    color: #222222 !important;
    background: #ffffff;
}

.dropdown-menu li a:hover {
    background: #ff6b00 !important;
    color: #ffffff !important;
}


/*==================================================
  DIMENSIONS MEGA DROPDOWN
==================================================*/

.navbar {
    position: static;
}

.nav-menu>li.dropdown.dimensions-parent {
    position: static;
}

.nav-menu>li.dropdown>.dimensions-dropdown-menu {
    display: none;

    position: absolute;

    top: 100%;
    left: 50%;

    transform: translateX(-50%);

    width: 900px;
    min-width: 900px;

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

    gap: 8px 30px;

    padding: 20px;

    margin: 0;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

    z-index: 9999;

    box-sizing: border-box;
}

.nav-menu>li.dropdown:hover>.dimensions-dropdown-menu {
    display: grid;
}

.nav-menu>li.dropdown>.dimensions-dropdown-menu li {
    width: 100%;
}

.nav-menu>li.dropdown>.dimensions-dropdown-menu li a {
    display: block;

    padding: 12px 20px;

    color: #222222 !important;

    white-space: nowrap;
}

.nav-menu>li.dropdown>.dimensions-dropdown-menu li a:hover {
    background: #ff6b00 !important;
    color: #ffffff !important;
}

@media (hover: hover) and (pointer: fine) {
    .dropdown-menu li a:hover {

        background: #ff6b00 !important;

        color: #ffffff !important;

    }
}



/*=========================================================
  HEADER RIGHT
=========================================================*/

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}


/*=========================================================
  BUTTON
=========================================================*/
.contact-btn {

    padding: 14px 22px;

    border: 1px solid #d7d7d7;

    color: #0B1F33;

    border-radius: 5px;

    font-size: 15px;

    font-weight: 600;

    transition: .25s ease;

}

.contact-btn:hover {

    background: #0B1F33;

    color: #ffffff;

}

.quote-btn {

    background: #ff6b00;

    color: #ffffff;

    padding: 18px 32px;

    border-radius: 5px;

    font-size: 17px;

    font-weight: 600;

    transition: .25s ease;

}

/*=========================================================
  SEARCH
=========================================================*/

.search-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #d9d9d9;

    border-radius: 50%;

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

    color: #111111;

    font-size: 22px;

    transition: 0.25s;

}

.search-btn:hover {

    border-color: #ff6b00;
    color: #ff6b00;

}

/*==================================================*
*MENU TOGGLE — DESKTOP (hidden)*
*==================================================*/

.menu-toggle {

    display: none;

    background: none;

    border: none;

    font-size: 26px;

    color: #111111;

    cursor: pointer;

}


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

@media (max-width: 768px) {

    .header-container {

        position: relative;

        height: 80px;

    }


    /* LOGO */

    .logo {

        flex: 0 0 auto;

    }

    .logo img {

        width: 170px;

    }


    /* HIDE DESKTOP CONTROLS */

    .header-right {

        display: none;

    }


    /* HAMBURGER */

    .menu-toggle {

        display: flex;

        align-items: center;

        justify-content: center;

        margin-left: auto;

        width: 44px;

        height: 44px;

        background: none;

        border: none;

        font-size: 26px;

        color: #111111;

        cursor: pointer;

    }


    /* MOBILE NAVIGATION */

    .navbar {
        display: none;
        order: 3;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: #ffffff;
        margin-left: 0;
        z-index: 9999;
        box-shadow: 0 10px 25px rgba(0, 0, 0, .12);

        max-height: calc(100vh - 78px);
        overflow-y: auto;
    }


    .navbar.active {

        display: block;

    }


    .header .navbar>ul {

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        width: 100%;

    }


    .header .navbar>ul>li {

        width: 100%;

        border-bottom: 1px solid #ececec;

    }


    .header .navbar>ul>li>a {

        width: 100%;

        padding: 14px 20px;

        justify-content: space-between;

    }


    /* MOBILE DROPDOWN */

    .dropdown-menu {

        position: static;

        display: none;

        width: 100%;

        min-width: 0;

        padding: 0 0 0 15px;

        box-shadow: none;

        border-radius: 0;

    }


    .dropdown.active .dropdown-menu {

        display: block;

    }

    /* DIMENSIONS MEGA DROPDOWN — MOBILE */

    .dropdown.active>.dimensions-dropdown-menu {

        display: block !important;

        position: static !important;

        grid-template-columns: 1fr !important;

        width: 100% !important;
        min-width: 0 !important;

        transform: none !important;
        left: auto !important;

        padding: 10px 0 !important;

        box-shadow: none !important;

        gap: 0 !important;

    }

    .nav-menu>li.dropdown>.dimensions-dropdown-menu li a {

        padding: 12px 20px !important;

        white-space: normal !important;

    }

}

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

@media (max-width: 400px) {

    .header-container {

        height: 72px;

    }


    .logo img {

        width: 150px;

    }


    .menu-toggle {

        width: 40px;

        height: 40px;

        font-size: 24px;

    }


    .header .navbar>ul>li>a {

        padding: 13px 16px;

        font-size: 15px;

    }

    @media (max-width: 480px) {

        .dimensions-dropdown-menu li a {

            padding: 10px 16px !important;

            font-size: 14px !important;

        }
    }

}

/* =========================================
   PRODUCT HERO BREADCRUMB
========================================= */

.product-hero-content .flange-breadcrumb {
    width: 100%;
    margin: 0 0 22px;
    padding: 0;
    background: transparent;
    position: relative;
    z-index: 5;
}

.product-hero-content .flange-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-hero-content .flange-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 400;
    color: #ffffff;
}

.product-hero-content .flange-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.product-hero-content .flange-breadcrumb a:hover {
    color: #ff941f;
}

.product-hero-content .flange-breadcrumb .breadcrumb-separator {
    color: #aab5c0;
    font-size: 23px;
    font-weight: 300;
}

.product-hero-content .flange-breadcrumb .breadcrumb-current {
    color: #ffffff;
    font-weight: 700;
}


/* TABLET */
@media (max-width: 768px) {

    .product-hero-content .flange-breadcrumb {
        margin-bottom: 20px;
    }

    .product-hero-content .flange-breadcrumb ol {
        gap: 6px;
    }

    .product-hero-content .flange-breadcrumb li {
        font-size: 14px;
        gap: 6px;
    }

}


/* MOBILE */
@media (max-width: 480px) {

    .product-hero-content .flange-breadcrumb {
        margin-bottom: 18px;
    }

    .product-hero-content .flange-breadcrumb li {
        font-size: 12px;
        gap: 5px;
    }

    .product-hero-content .flange-breadcrumb .breadcrumb-separator {
        font-size: 17px;
    }

}


/* =========================================================
   ASME B16.47 — HERO SECTION
========================================================= */

.dimensions-hero {
    background: #17232f;
    padding: 72px 0;
    overflow: hidden;
}

.dimensions-hero .product-hero-container {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 42px;
    max-width: 1440px;
    margin: 0 auto;
}

.dimensions-hero .product-hero-content {
    min-width: 0;
}

.dimensions-hero .hero-top-text {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #ff7540;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.7;
}

.dimensions-hero .hero-top-text i {
    color: #ff7540;
    font-size: 15px;
}

.dimensions-hero h1 {
    color: #ffffff;
    font-size: clamp(38px, 4.2vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    margin: 22px 0 4px;
}

.dimensions-hero .dimensions-hero-title {
    color: #ffffff;
    font-size: clamp(34px, 3.7vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 22px;
}

.dimensions-hero .dimensions-hero-description {
    color: #d3deea;
    font-size: 17px;
    line-height: 1.8;
    max-width: 540px;
    margin: 0 0 28px;
}

/* STATISTICS */

.dimensions-hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin: 28px 0 32px;
}

.dimensions-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dimensions-stat strong {
    color: #ff7540;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.1;
}

.dimensions-stat span {
    color: #c7d4e2;
    font-size: 12px;
    line-height: 1.5;
}

.dimensions-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* BUTTONS */

.dimensions-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.dimensions-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 23px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
    transition: background 0.25s ease, border-color 0.25s ease,
        color 0.25s ease;
}

.dimensions-btn-primary {
    color: #ffffff !important;
    background: #ed7029;
    border: 1px solid #ed7029;
}

.dimensions-btn-primary:hover {
    color: #ffffff !important;
    background: #d95e1b;
    border-color: #d95e1b;
}

.dimensions-btn-secondary {
    color: #ffffff !important;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.dimensions-btn-secondary:hover {
    color: #17232f !important;
    background: #ffffff;
    border-color: #ffffff;
}

/* TRANSPARENT IMAGE */

.dimensions-hero-visual {
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dimensions-hero-drawing {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    object-fit: contain;
    background: transparent;
    border: 0;
    box-shadow: none;
}


/* =========================================================
   B16.47 HERO — MATCH HOMEPAGE ORANGE
========================================================= */

.dimensions-hero .hero-top-text,
.dimensions-hero .hero-top-text i,
.dimensions-hero .dimensions-stat strong {
    color: #FFA63D;
}

.dimensions-hero .dimensions-hero-title-white,
.dimensions-hero .dimensions-hero-title-highlight {
    display: block;
}

.dimensions-hero .dimensions-hero-title-white {
    color: #FFFFFF;
}

.dimensions-hero .dimensions-hero-title-highlight {
    color: #FFA63D;
}

/* Keep the primary button orange */
.dimensions-hero .dimensions-btn-primary {
    background: #FF6B00;
    border-color: #FF6B00;
}

.dimensions-hero .dimensions-btn-primary:hover {
    background: #E85D00;
    border-color: #E85D00;
}


/* =========================================================
   ASME B16.47 — REDUCE NAVY HERO HEIGHT
========================================================= */

.dimensions-hero {
    padding: 38px 0 !important;
}

.dimensions-hero .product-hero-container {
    gap: 28px;
}

/* Reduce heading spacing */
.dimensions-hero h1 {
    margin-top: 12px;
    margin-bottom: 4px;
}

.dimensions-hero .dimensions-hero-title {
    margin-bottom: 16px;
    line-height: 1.08;
}

/* Reduce paragraph spacing */
.dimensions-hero .dimensions-hero-description {
    margin-bottom: 18px;
    line-height: 1.65;
}

/* Reduce statistics spacing */
.dimensions-hero-stats {
    margin: 20px 0 24px;
    gap: 18px;
}

.dimensions-stat strong {
    font-size: 24px;
}

/* Slightly reduce button height */
.dimensions-btn {
    min-height: 46px;
    padding: 12px 20px;
}

/* Tablet */
@media (max-width: 1024px) {
    .dimensions-hero {
        padding: 32px 0 !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .dimensions-hero {
        padding: 28px 0 !important;
    }

    .dimensions-hero .product-hero-container {
        gap: 22px;
    }
}


/* =========================================================
   ASME B16.47 — EXTRA COMPACT HERO
========================================================= */

.dimensions-hero {
    padding: 18px 0 !important;
}

.dimensions-hero .product-hero-container {
    gap: 22px;
}

/* Heading spacing */
.dimensions-hero h1 {
    margin-top: 8px;
    margin-bottom: 2px;
    line-height: 1.02;
}

.dimensions-hero .dimensions-hero-title {
    margin-bottom: 10px;
    line-height: 1.04;
}

/* Description */
.dimensions-hero .dimensions-hero-description {
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Statistics */
.dimensions-hero-stats {
    gap: 14px;
    margin: 14px 0 16px;
}

.dimensions-stat strong {
    font-size: 22px;
}

.dimensions-stat-divider {
    height: 32px;
}

/* Buttons */
.dimensions-btn {
    min-height: 42px;
    padding: 10px 18px;
}

/* Technical drawing */
.dimensions-hero-drawing {
    max-width: 680px;
    height: auto;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 1024px) {
    .dimensions-hero {
        padding: 22px 0 !important;
    }

    .dimensions-hero .product-hero-container {
        gap: 18px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .dimensions-hero {
        padding: 20px 0 !important;
    }

    .dimensions-hero .product-hero-container {
        gap: 18px;
    }

    .dimensions-hero-drawing {
        max-width: 520px;
    }
}


/* TABLET */

@media (max-width: 1024px) {
    .dimensions-hero {
        padding: 58px 0;
    }

    .dimensions-hero .product-hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px;
    }

    .dimensions-hero .hero-top-text {
        letter-spacing: 0.8px;
    }

    .dimensions-hero-stats {
        gap: 14px;
    }

    .dimensions-stat strong {
        font-size: 23px;
    }

    .dimensions-btn {
        padding: 13px 17px;
        font-size: 14px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .dimensions-hero {
        padding: 44px 0;
    }

    .dimensions-hero .product-hero-container {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .dimensions-hero .hero-top-text {
        font-size: 10px;
        letter-spacing: 0.7px;
    }

    .dimensions-hero h1 {
        font-size: 38px;
        margin-top: 18px;
    }

    .dimensions-hero .dimensions-hero-title {
        font-size: 34px;
        margin-bottom: 18px;
    }

    .dimensions-hero .dimensions-hero-description {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .dimensions-hero-stats {
        gap: 14px;
        justify-content: flex-start;
        margin: 24px 0 28px;
    }

    .dimensions-stat strong {
        font-size: 22px;
    }

    .dimensions-stat span {
        font-size: 11px;
    }

    .dimensions-stat-divider {
        height: 34px;
    }

    .dimensions-hero-buttons {
        gap: 12px;
    }

    .dimensions-btn {
        min-height: 48px;
        padding: 13px 16px;
        font-size: 14px;
    }

    .dimensions-hero-visual {
        width: 100%;
    }

    .dimensions-hero-drawing {
        max-width: 600px;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
    .dimensions-hero {
        padding: 36px 0;
    }

    .dimensions-hero h1 {
        font-size: 31px;
    }

    .dimensions-hero .dimensions-hero-title {
        font-size: 29px;
    }

    .dimensions-hero-stats {
        gap: 10px;
    }

    .dimensions-stat strong {
        font-size: 19px;
    }

    .dimensions-stat-divider {
        margin: 0 2px;
    }

    .dimensions-hero-buttons {
        flex-direction: column;
    }

    .dimensions-btn {
        width: 100%;
    }
}



/*==================================================
  BROWSE ASME B16.47 SERIES A & B
  File: /css/b1647-standards.css
==================================================*/

.b1647-section {
    padding: 40px 0 80px;
    background: #eef2f6;
}

.b1647-section,
.b1647-section * {
    box-sizing: border-box;
}

.b1647-container {
    width: min(1010px, calc(100% - 40px));
    margin: 0 auto;
}

/* Heading */

.b1647-head {
    margin-bottom: 32px;
    text-align: center;
}

.b1647-head h2 {
    margin: 0;
    color: #0e3558;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}

.b1647-head p {
    margin: 8px 0 0;
    color: #4a5f72;
    font-size: 15px;
}

/* Cards */

.b1647-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.b1647-card {
    --b1647-acc: #f58220;
    --b1647-tint: #fff1e6;

    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: start;
    padding: 20px 24px 22px 20px;
    background: #ffffff;
    border: 1px solid #e6ebf0;
    border-left: 4px solid var(--b1647-acc);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(14, 53, 88, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.b1647-card--b {
    --b1647-acc: #1f5b9e;
    --b1647-tint: #e8f1fb;
}

.b1647-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(14, 53, 88, 0.13);
}

/* Image container */

.b1647-icon {
    position: relative;
    width: 150px;
    height: 92px;
    min-width: 0;
    overflow: hidden;
    background: #0e2a4a;
    border-radius: 8px;
}

.b1647-icon img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
    object-position: center;
}

/* SVG illustration helpers */

.b1647-shadow {
    fill: rgba(14, 53, 88, 0.18);
}

.b1647-disc {
    fill: var(--b1647-acc);
}

.b1647-hub {
    fill: #ffffff;
}

.b1647-bore {
    fill: var(--b1647-tint);
}

.b1647-bolts {
    fill: #ffffff;
}

.b1647-dim {
    stroke: var(--b1647-acc);
    stroke-width: 1.4;
    fill: none;
}

.b1647-arrow {
    fill: var(--b1647-acc);
}

.b1647-text {
    fill: var(--b1647-acc);
    font-family: 'Poppins', sans-serif;
    font-size: 9.5px;
    font-weight: 600;
}

/* Animations */

@keyframes b1647-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes b1647-pulse {
    0% {
        opacity: 0.55;
        transform: scale(0.92);
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.b1647-spin {
    transform-origin: 0 0;
    animation: b1647-spin 24s linear infinite;
}

.b1647-spin--rev {
    animation-direction: reverse;
}

.b1647-pulse {
    fill: none;
    stroke: var(--b1647-acc);
    stroke-width: 2;
    transform-box: fill-box;
    transform-origin: center;
    animation: b1647-pulse 2.4s ease-out infinite;
}

/* Card text */

.b1647-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.b1647-title h3 {
    margin: 0;
    color: #0f2942;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.b1647-badge {
    padding: 3px 9px;
    background: #0e2a4a;
    border-radius: 20px;
    color: var(--b1647-acc);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.b1647-desc {
    max-width: 640px;
    margin: 8px 0 0;
    color: #4a5f72;
    font-size: 15px;
    line-height: 1.6;
}

.b1647-sub {
    margin: 4px 0 0;
    color: #788b9a;
    font-size: 13px;
}

.b1647-label {
    margin: 18px 0 8px;
    color: #0f2942;
    font-size: 12px;
    font-weight: 700;
}

/* Pressure-class chips */

.b1647-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.b1647-label + .b1647-chips {
    margin-top: 0;
}

.b1647-chips a {
    position: relative;
    z-index: 2;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #d9dee5;
    border-radius: 6px;
    color: #1f2f46;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease,
        border-color 0.2s ease;
}

.b1647-chips a:hover,
.b1647-chips a:active,
.b1647-chips a:focus-visible,
.b1647-chips a.active {
    background: #0f2744;
    border-color: #0f2744;
    color: #ffffff;
}

/* View Dimensions button */

.b1647-cta {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    background: #ffffff;
    border: 1px solid var(--b1647-acc);
    border-radius: 4px;
    color: var(--b1647-acc);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.b1647-cta::after {
    content: "";
    position: absolute;
    inset: 0;
}

.b1647-cta:focus-visible {
    outline: 3px solid #0e3558;
    outline-offset: 3px;
}

.b1647-card:hover .b1647-cta {
    background: var(--b1647-acc);
    color: #ffffff;
}

/* CTA heading must wrap on phones */

.cta-section h2 {
    white-space: normal;
}

/* Tablet and phone */

@media (max-width: 760px) {
    .b1647-section {
        padding: 28px 0 56px;
    }

    .b1647-card {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 16px;
    }

    .b1647-icon {
        width: 120px;
    }

    .b1647-title h3 {
        font-size: 21px;
    }

    .b1647-cta {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .b1647-spin,
    .b1647-pulse {
        animation: none;
    }

    .b1647-card,
    .b1647-chips a,
    .b1647-cta {
        transition: none;
    }
}

/* =========================================
   ASME B16.47 SERIES NOTE
========================================= */

.series-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 28px 0 0;
    padding: 14px 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid #f58220;
    border-radius: 6px;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
    box-sizing: border-box;
}

.series-note__icon {
    display: inline-flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    background: #f58220;
    border-radius: 50%;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.series-note strong {
    color: #0e3558;
    font-weight: 700;
}

@media (max-width: 640px) {
    .series-note {
        gap: 8px;
        margin-top: 22px;
        padding: 12px;
        font-size: 13px;
    }

    .series-note__icon {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }
}

/*=========================================================
  RESPONSIVE — TABLET / MOBILE
  MAX WIDTH: 768px
=========================================================*/

@media (max-width: 768px) {

    /*-------------------------------------------------------
    BREADCRUMB
  -------------------------------------------------------*/

    .dimensions-breadcrumb {
        max-width: 100%;
        padding: 16px 20px 0;
        gap: 6px;
        font-size: 15px;
        line-height: 1.4;
    }


    /*-------------------------------------------------------
    HERO
  -------------------------------------------------------*/

    .hero {
        margin-bottom: 26px;
        padding: 24px 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .hero h1 {
        font-size: 23px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-stats {
        width: 100%;
        gap: 28px;
    }

    .hero-stats div {
        text-align: left;
    }

    .hero-stats .num {
        font-size: 18px;
    }

    .hero-stats .label {
        font-size: 10px;
    }


    /*-------------------------------------------------------
    SERIES GRID
  -------------------------------------------------------*/

    .series-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 0;
    }


    /*-------------------------------------------------------
    SERIES CARD
  -------------------------------------------------------*/

    .series-card {
        width: 100%;
        padding: 24px 22px;
        gap: 14px;
        border-width: 2px;
    }


    /*-------------------------------------------------------
    SERIES HEADER
  -------------------------------------------------------*/

    .series-top {
        gap: 14px;
    }

    .series-icon {
        width: 54px;
        height: 54px;
        font-size: 18px;
    }

    .series-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .series-sub {
        font-size: 13px;
        line-height: 1.4;
    }


    /*-------------------------------------------------------
    SERIES DETAILS
  -------------------------------------------------------*/

    .series-meta {
        gap: 8px;
        margin-top: 4px;
    }

    .series-meta .row {
        font-size: 14px;
        line-height: 1.5;
    }


    /*-------------------------------------------------------
    SERIES CTA
  -------------------------------------------------------*/

    .series-cta {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.4;
    }


    /*-------------------------------------------------------
    NOTE
  -------------------------------------------------------*/

    .note {
        width: 100%;
        margin: 26px auto 32px;

        padding: 14px 16px;

        font-size: 14px;
        line-height: 1.6;

        text-align: center;
    }

}


/*=========================================================
  RESPONSIVE — SMALL MOBILE
  MAX WIDTH: 480px
=========================================================*/

@media (max-width: 480px) {

    /*-------------------------------------------------------
    BREADCRUMB
  -------------------------------------------------------*/

    .dimensions-breadcrumb {
        padding: 14px 14px 0;
        gap: 5px;
        font-size: 13px;
        line-height: 1.4;
    }


    /*-------------------------------------------------------
    HERO
  -------------------------------------------------------*/

    .hero {
        margin-bottom: 22px;
        padding: 22px 18px;
        gap: 18px;
        border-radius: 8px;
    }

    .hero h1 {
        font-size: 20px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 12px;
        line-height: 1.5;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-stats .num {
        font-size: 17px;
    }

    .hero-stats .label {
        font-size: 9px;
    }


    /*-------------------------------------------------------
    SERIES GRID
  -------------------------------------------------------*/

    .series-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }


    /*-------------------------------------------------------
    SERIES CARD
  -------------------------------------------------------*/

    .series-card {
        padding: 20px 18px;
        gap: 12px;
        border-radius: 8px;
    }


    /*-------------------------------------------------------
    SERIES HEADER
  -------------------------------------------------------*/

    .series-top {
        gap: 12px;
        align-items: center;
    }

    .series-icon {
        width: 48px;
        height: 48px;
        font-size: 16px;
        border-width: 2px;
    }

    .series-title {
        font-size: 18px;
        line-height: 1.25;
    }

    .series-sub {
        font-size: 12px;
        line-height: 1.35;
    }


    /*-------------------------------------------------------
    SERIES DETAILS
  -------------------------------------------------------*/

    .series-meta {
        gap: 7px;
        margin-top: 3px;
    }

    .series-meta .row {
        font-size: 13px;
        line-height: 1.5;
    }


    /*-------------------------------------------------------
    SERIES CTA
  -------------------------------------------------------*/

    .series-cta {
        margin-top: 6px;
        font-size: 12px;
        line-height: 1.4;
    }


    /*-------------------------------------------------------
    NOTE
  -------------------------------------------------------*/

    .note {
        margin: 22px auto 28px;

        padding: 13px 14px;

        font-size: 13px;
        line-height: 1.55;

        border-radius: 7px;
    }

}


/* =========================================================
   SERIES A & B — INCREASE TEXT SIZE
========================================================= */

/* Series A & Series B headings */
.series-row__title {
    font-size: 28px !important;
    font-weight: 800;
    line-height: 1.3;
}

/* Class labels — Class 75, 150, 300, etc. */
.series-row__tags span {
    font-size: 14px !important;
    font-weight: 700;
    padding: 7px 11px;
    line-height: 1.4;
}

/* Industry badges beside the headings */
.series-row__badge {
    font-size: 13px;
    padding: 6px 11px;
}

/* Improve description readability */
.series-row__desc {
    font-size: 15px;
    line-height: 1.7;
}

.series-row__sub {
    font-size: 14px;
    line-height: 1.6;
}

/* View Series buttons */
.series-row .series-row__cta {
    font-size: 14px;
    padding: 12px 15px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .series-row__title {
        font-size: 24px !important;
    }

    .series-row__tags span {
        font-size: 13px !important;
        padding: 6px 9px;
    }

    .series-row__desc {
        font-size: 14px;
    }
}


/* =========================================================
   SERIES A & B — PRESSURE CLASS BUTTONS
========================================================= */

/* Default state */
.series-row__tags span {
    color: #17232F;
    background: #FFFFFF;
    border: 1px solid #D5DDE7;
    cursor: pointer;
    transition: background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}

/* Hover and selected appearance */
.series-row__tags span:hover,
.series-row__tags span.active {
    color: #FFFFFF !important;
    background: #102747 !important;
    border-color: #102747 !important;
}


/* =========================================================
   SERIES A & B — ORANGE VIEW LINKS
========================================================= */

.series-row--a .series-row__cta,
.series-row--b .series-row__cta {
    color: #FF6B00 !important;
}

.series-row--a:hover .series-row__cta,
.series-row--b:hover .series-row__cta {
    color: #E85D00 !important;
}


/* =========================================================
   SERIES A & B — CLEAN CTA BUTTON
========================================================= */

.series-row .series-row__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 10px 14px;

    color: #FF6B00 !important;
    background: #FFFFFF;
    border: 1px solid #FF6B00;
    border-radius: 5px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;

    transition: background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}

.series-row .series-row__cta:hover {
    color: #FFFFFF !important;
    background: #FF6B00;
    border-color: #FF6B00;
}

/* Remove unwanted focus outline appearance */
.series-row .series-row__cta:focus {
    outline: none;
}

.series-row .series-row__cta:focus-visible {
    outline: 2px solid #FF6B00;
    outline-offset: 3px;
}

/* Mobile */
@media (max-width: 768px) {
    .series-row .series-row__cta {
        justify-self: start;
        margin-left: 0;
        white-space: normal;
    }
}


/*==================================================
CALL TO ACTION
==================================================*/

.cta-section {

    background-color: #d4822f;

    padding: 70px 20px;

    text-align: center;

}

.cta-section h2 {

    color: #ffffff;

    font-size: 42px;

    font-weight: 800;

    line-height: 1.2;

    margin-bottom: 15px;

}

.cta-section p {

    color: #ffffff;

    font-size: 20px;

    line-height: 1.6;

    margin-bottom: 30px;

    opacity: 0.95;

}

.cta-btn-group {

    display: flex;

    gap: 16px;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

}

.cta-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 14px 28px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 700;

    font-size: 17px;

    transition: all .3s ease;

}

.cta-btn-primary {

    background-color: #0a2540;

    color: #ffffff;

    border: 2px solid #0a2540;

}

.cta-btn-primary:hover {

    background-color: #ffffff;

    color: #d4822f;

    border-color: #ffffff;

}

.cta-btn-secondary {

    background-color: #0a2540;

    color: #ffffff;

    border: 2px solid #0a2540;

}

.cta-btn-secondary:hover {

    background-color: #ffffff;

    color: #d4822f;

    border-color: #ffffff;

}

/*==================================================
CTA - MOBILE
==================================================*/

@media (max-width: 768px) {

    .cta-section {

        padding: 55px 20px;

    }

    .cta-section h2 {

        font-size: 32px;

        line-height: 1.25;

        margin-bottom: 14px;

    }

    .cta-section p {

        font-size: 17px;

        line-height: 1.6;

        margin-bottom: 25px;

    }

    .cta-btn-group {

        flex-direction: column;

        gap: 12px;

        width: 100%;

    }

    .cta-btn {

        width: 100%;

        max-width: 380px;

        padding: 14px 20px;

        font-size: 16px;

    }

}

/*==================================================
FOOTER
==================================================*/

.footer {

    background: #17232f;

    padding: 80px 0 25px;

    color: #fff;

}

.footer-grid {

    display: grid;

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

    gap: 45px;

}

.footer-column h4 {

    color: #ef7f1a;

    font-size: 14px;

    letter-spacing: 2px;

    margin-bottom: 25px;

}

.footer-column ul li {

    margin-bottom: 14px;

}

.footer-column ul li a {

    color: #cfcfcf;

    font-size: 15px;

    transition: .3s;

}

.footer-column ul li a:hover {

    color: #ef7f1a;

}

.footer-contact p {

    display: flex;

    gap: 12px;

    margin-bottom: 18px;

    color: #d9d9d9;

    line-height: 1.7;

}

.footer-contact i {

    color: #ef7f1a;

    margin-top: 4px;

}

.footer-contact a {

    color: #d9d9d9;

}

.footer-social {

    display: flex;

    gap: 14px;

    margin: 25px 0;

}

.footer-social a {

    width: 50px;

    height: 50px;

    border: 2px solid #ef7f1a;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 8px;

    color: #ef7f1a;

    transition: .35s;

}

.footer-social a:hover {

    background: #ef7f1a;

    color: #ffffff;

    transform: translateY(-4px);

}

#liveDateTime {

    font-size: 17px;

    margin-top: 18px;

    color: #ffffff;

    line-height: 1.4;

}


.footer-bottom {

    margin-top: 60px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, .1);

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.footer-bottom p {

    color: #cfcfcf;

}

.footer-bottom div {

    display: flex;

    gap: 25px;

}

.footer-bottom a {

    color: #cfcfcf;

}

.footer-bottom a:hover {

    color: #ef7f1a;

}

/*==================================================
FLOATING WHATSAPP
==================================================*/

.whatsapp-float {

    position: fixed;

    right: 30px;

    bottom: 30px;

    width: 65px;

    height: 65px;

    border-radius: 50%;

    background: #25D366;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    box-shadow: 0 12px 30px rgba(37, 211, 102, .35);

    z-index: 9999;

    transition: .35s ease;

}

.whatsapp-float i {

    color: #ffffff;

    font-size: 34px;

}

.whatsapp-float:hover {

    transform: translateY(-6px) scale(1.08);

    box-shadow: 0 18px 38px rgba(37, 211, 102, .45);

}

/*==================================================
FOOTER - TABLET
==================================================*/

@media (max-width: 900px) {

    .footer {

        padding: 65px 0 25px;

    }

    .footer-grid {

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

        gap: 45px 35px;

    }

    .footer-column h4 {

        margin-bottom: 20px;

    }

    .footer-contact {

        grid-column: 1 / -1;

    }

}


/*==================================================
FOOTER - MOBILE
==================================================*/

@media (max-width: 780px) {

    .footer {

        padding: 55px 0 25px;

    }

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .footer-column {

        width: 100%;

    }

    .footer-column h4 {

        font-size: 14px;

        margin-bottom: 18px;

    }

    .footer-column ul li {

        margin-bottom: 12px;

    }

    .footer-column ul li a {

        font-size: 15px;

    }

    .footer-contact {

        grid-column: auto;

    }

    .footer-contact p {

        font-size: 15px;

        gap: 10px;

        margin-bottom: 16px;

    }

    .footer-social {

        gap: 10px;

        margin: 22px 0;

        flex-wrap: wrap;

    }

    .footer-social a {

        width: 44px;

        height: 44px;

    }

    #liveDateTime {

        font-size: 14px;

        line-height: 1.5;

    }

    .footer-bottom {

        margin-top: 40px;

        padding-top: 20px;

        flex-direction: column;

        align-items: center;

        gap: 18px;

        text-align: center;

    }

    .footer-bottom p {

        font-size: 14px;

        margin: 0;

    }

    .footer-bottom div {

        flex-wrap: wrap;

        justify-content: center;

        gap: 12px 20px;

    }

    .footer-bottom a {

        font-size: 14px;

    }

}


/*==================================================
FOOTER - SMALL MOBILE
==================================================*/

@media (max-width: 480px) {

    .footer {

        padding: 45px 0 20px;

    }

    .footer-grid {

        gap: 30px;

    }

    .footer-column h4 {

        font-size: 13px;

        letter-spacing: 1.5px;

    }

    .footer-column ul li a {

        font-size: 14px;

    }

    .footer-contact p {

        font-size: 14px;

    }

    .footer-social {

        gap: 8px;

    }

    .footer-social a {

        width: 42px;

        height: 42px;

    }

    .footer-social a i {

        font-size: 16px;

    }

    #liveDateTime {

        font-size: 13px;

    }

    .footer-bottom div {

        gap: 10px 16px;

    }

    .footer-bottom a {

        font-size: 13px;

    }

}


/*==================================================
FLOATING WHATSAPP - MOBILE
==================================================*/

@media (max-width: 780px) {

    .whatsapp-float {

        width: 56px;

        height: 56px;

        right: 18px;

        bottom: 18px;

    }

    .whatsapp-float i {

        font-size: 29px;

    }

}


/*==================================================
FLOATING WHATSAPP - SMALL MOBILE
==================================================*/

@media (max-width: 480px) {

    .whatsapp-float {

        width: 52px;

        height: 52px;

        right: 14px;

        bottom: 14px;

    }

    .whatsapp-float i {

        font-size: 27px;

    }

}