/*=========================================================
  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;

        }
    }

}

/* =========================================
   ASME 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.5 HERO SECTION
================================================== */

.b165-hero {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 18px;
    background: #172633;
    color: #ffffff;
    font-family: inherit;
}

.b165-hero *,
.b165-hero *::before,
.b165-hero *::after {
    box-sizing: border-box;
}

.b165-hero__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.b165-hero__content {
    width: 100%;
}

.b165-hero__eyebrow {
    margin: 0 0 14px;
    color: #ff9a36;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.b165-hero h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 750;
    line-height: 1.2;
}

.b165-hero h2 {
    margin: 0 0 12px;
    color: #ff9a36;
    font-size: 24px;
    font-weight: 650;
    line-height: 1.3;
}

.b165-hero__description {
    max-width: 1050px;
    margin: 0 0 10px;
    color: #f1f4f7;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

/* STATS */

.b165-hero__stats {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    margin: 8px 0 10px;
}

.b165-hero__stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.b165-hero__stat:first-child {
    padding-left: 0;
}

.b165-hero__stat:last-child {
    border-right: none;
}

.b165-hero__stat strong {
    color: #ff9a36;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.35;
    white-space: nowrap;
}

.b165-hero__stat span {
    margin-top: 4px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

/* BUTTONS */

.b165-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.b165-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
    transition: background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}

.b165-hero__btn--primary {
    background: #ff7900;
    border-color: #ff7900;
    color: #ffffff;
}

.b165-hero__btn--primary:hover {
    background: #e96d00;
    border-color: #e96d00;
    color: #ffffff;
}

.b165-hero__btn--primary span {
    font-size: 19px;
    line-height: 1;
}

.b165-hero__btn--secondary {
    background: transparent;
    border-color: #74808a;
    color: #ffffff;
}

.b165-hero__btn--secondary:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #172633;
}

/* TABLET */

@media (max-width: 768px) {
    .b165-hero {
        padding: 24px 20px;
    }

    .b165-hero h1 {
        font-size: 27px;
        margin-bottom: 16px;
    }

    .b165-hero h2 {
        font-size: 22px;
    }

    .b165-hero__description {
        font-size: 14px;
    }
}

/* MOBILE */

@media (max-width: 480px) {
    .b165-hero {
        padding: 22px 16px;
    }

    .b165-hero__eyebrow {
        font-size: 11px;
    }

    .b165-hero h1 {
        font-size: 25px;
    }

    .b165-hero h2 {
        font-size: 21px;
    }

    .b165-hero__stats {
        row-gap: 12px;
    }

    .b165-hero__stat {
        padding: 4px 10px;
    }

    .b165-hero__stat:first-child {
        padding-left: 0;
    }

    .b165-hero__stat strong {
        font-size: 18px;
    }

    .b165-hero__stat span {
        font-size: 10px;
    }

    .b165-hero__btn {
        min-height: 44px;
        font-size: 12px;
        padding: 10px 12px;
    }
}

/*==================================================
  ASME B16.5 — PRESSURE CLASS CARDS
  File: /css/b165-browse-cards.css
==================================================*/

.b165-page {
    padding: 26px 0 80px;
    background-color: #eef2f6;
    background-image: url("/images/asme-b16.5.jpg/background.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.b165-page,
.b165-page * {
    box-sizing: border-box;
}

/* Container */

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

/* Heading */

.b165-heading {
    max-width: 700px;
    margin: 0 auto 44px;
    text-align: center;
}

.b165-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(245, 130, 32, 0.12);
    color: #f58220;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border-radius: 30px;
}

.b165-heading h2 {
    margin: 0 0 14px;
    color: #0e3558;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.b165-heading h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 14px auto 0;
    background: #f58220;
    border-radius: 2px;
}

.b165-heading p {
    margin: 0;
    color: #4a5f72;
    font-size: 15px;
    line-height: 1.7;
}

/* Card list */

.b165-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.b165-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    min-height: 130px;
    padding: 16px 26px 16px 16px;
    background: #ffffff;
    border: 1px solid #f58220;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(14, 53, 88, 0.08);
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

/* Drawing tile */

.b165-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 104px;
    padding: 8px;
    overflow: hidden;
    background: #0d2947;
    border-radius: 10px;
}

.b165-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Card content */

.b165-info h4 {
    margin: 0 0 4px;
    color: #0e3558;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.b165-info p {
    margin: 0;
    color: #4a5f72;
    font-size: 15px;
    line-height: 1.5;
}

.b165-description {
    margin-top: 6px;
    color: #647789;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 400;
}

/* Optional two-column metadata inside the description */

.b165-description span {
    display: inline-block;
    margin-right: 14px;
}

/* View Dimensions button */

.b165-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 155px;
    padding: 11px 15px;
    background: #ffffff;
    border: 1px solid #f58220;
    border-radius: 4px;
    color: #0e3558;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: background 0.25s ease, color 0.25s ease;
}

.b165-arrow {
    color: #f58220;
    font-size: 18px;
    transition: transform 0.25s ease;
}

.b165-card:hover .b165-btn {
    background: #f58220;
    color: #ffffff;
}

.b165-card:hover .b165-arrow {
    color: #ffffff;
    transform: translateX(4px);
}

/* CTA heading */

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

/* Tablet */

@media (max-width: 900px) {
    .b165-card {
        grid-template-columns: 140px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .b165-art {
        width: 140px;
        height: 90px;
    }

    .b165-btn {
        min-width: 130px;
    }

    .b165-description {
        font-size: 11px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .b165-page {
        padding-bottom: 56px;
    }

    .b165-heading {
        margin-bottom: 32px;
    }

    .b165-list {
        gap: 18px;
    }

    .b165-card {
        grid-template-columns: 1fr;
        gap: 14px;
        min-height: 0;
        padding: 14px;
    }

    .b165-art {
        width: 100%;
        height: 110px;
    }

    .b165-btn {
        width: 100%;
    }

    .b165-description {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .b165-card,
    .b165-btn,
    .b165-arrow {
        transition: none;
    }
}

/*==================================================
PRODUCT HERO (same as Series A page)
==================================================*/

.product-hero {
    width: 100%;
    background: #17232f;
    padding: 52px 24px;
    overflow: hidden;
    box-sizing: border-box;
}

.product-hero,
.product-hero * {
    box-sizing: border-box;
}

.product-hero .product-hero-container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 48px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

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

.product-hero .hero-top-text {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #ffa63d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    line-height: 1.7;
}

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

.product-hero h1 {
    margin: 18px 0;
    color: #ffffff;
    font-size: clamp(38px, 4vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
}

.product-hero .hero-title-highlight {
    color: #ffa63d;
}

.product-hero p {
    max-width: 620px;
    margin: 0 0 22px;
    color: #d3deea;
    font-size: 17px;
    line-height: 1.7;
}

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

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

.product-hero .dimensions-stat strong {
    color: #ffa63d;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

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

.product-hero .dimensions-stat-divider {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.22);
}

.product-hero .dimensions-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.product-hero .dimensions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-hero .dimensions-btn-primary {
    color: #ffffff !important;
    background: #ff6b00;
    border-color: #ff6b00;
}

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

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

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

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

.product-hero .dimensions-hero-drawing {
    display: block;
    width: 100%;
    max-width: 820px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .product-hero { padding: 42px 22px; }
    .product-hero .product-hero-container {
        gap: 28px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .product-hero h1 { font-size: clamp(34px, 4vw, 46px); }
    .product-hero p { font-size: 15px; }
}

@media (max-width: 768px) {
    .product-hero { padding: 34px 18px; }
    .product-hero .product-hero-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }
    .product-hero h1 {
        font-size: clamp(34px, 8vw, 44px);
        line-height: 1.1;
    }
    .product-hero .dimensions-stat strong { font-size: 21px; }
    .product-hero .dimensions-btn { min-height: 46px; padding: 12px 15px; font-size: 14px; }
    .product-hero .dimensions-hero-drawing { max-width: 560px; }
}

@media (max-width: 480px) {
    .product-hero { padding: 28px 15px; }
    .product-hero h1 { font-size: 32px; }
    .product-hero .dimensions-stat strong { font-size: 18px; }
    .product-hero .dimensions-hero-buttons { flex-direction: column; align-items: stretch; }
    .product-hero .dimensions-btn { width: 100%; }
}

/*==================================================
SERIES HEADING (above class cards)
==================================================*/

.dimensions-page {
    padding-top: 30px !important;
}

.series-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 38px;
    padding-top: 10px;
}

.series-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(245, 130, 32, 0.12);
    color: #f58220;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border-radius: 30px;
}

.series-heading h2 {
    margin: 0 0 14px;
    color: #0e3558;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.series-heading h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 14px auto 0;
    background: #f58220;
    border-radius: 2px;
}

.series-heading p {
    margin: 0;
    color: #4a5f72;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .series-heading { margin-bottom: 28px; }
    .series-heading p { font-size: 14px; }
}

/*==================================================
MORE GAP: BETWEEN CARDS + BEFORE CTA
==================================================*/

/* gap between cards */
.dimension-cards .dimension-card {
    margin-bottom: 34px !important;
}

/* last card: no extra margin (the section padding handles it) */
.dimension-cards .dimension-card:last-child {
    margin-bottom: 0 !important;
}

/* gap between last card and CTA (blueprint background continues through it) */
.dimensions-page {
    padding-bottom: 80px !important;
}

/* mobile */
@media (max-width: 768px) {
    .dimension-cards .dimension-card {
        margin-bottom: 24px !important;
    }

    .dimensions-page {
        padding-bottom: 50px !important;
    }
}

/*==================================================
GAP BETWEEN LAST CARD AND CTA (reliable version)
==================================================*/

.dimensions-container .dimension-cards {
    padding-bottom: 75px !important;
}

section.dimensions-page {
    padding-bottom: 0 !important;
}

@media (max-width: 768px) {
    .dimensions-container .dimension-cards {
        padding-bottom: 50px !important;
    }
}

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

.cta-section {

    background: #d4822f;

    padding: 72px 20px;

    text-align: center;

    position: relative;

    overflow: hidden;

}

.cta-section::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

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

    border-radius: 50%;

    left: -180px;

    top: -180px;

}

.cta-section::after {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

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

    border-radius: 50%;

    right: -240px;

    bottom: -300px;

}

.cta-section .container {

    position: relative;

    z-index: 2;

}

.cta-section h2 {

    color: #ffffff;

    font-size: clamp(34px, 4vw, 50px);

    font-weight: 800;

    line-height: 1.12;

    margin: 0 auto 15px;

    max-width: 850px;

    letter-spacing: -.5px;

}

.cta-section p {

    color: rgba(255, 255, 255, .92);

    font-size: 18px;

    line-height: 1.6;

    margin: 0 auto 32px;

}


/*==================================================
CTA BUTTONS
==================================================*/

.cta-btn-group {

    display: flex;

    gap: 12px;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

}

.cta-btn {

    min-height: 52px;

    padding: 0 23px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border-radius: 5px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: .2px;

    transition: all .3s ease;

    box-sizing: border-box;

}

.cta-btn i {

    font-size: 14px;

}


/* PRIMARY */

.cta-btn-primary {

    background: #0a2540;

    color: #ffffff;

    border: 1px solid #0a2540;

}

.cta-btn-primary:hover {

    background: #ffffff;

    color: #0a2540;

    border-color: #ffffff;

    transform: translateY(-2px);

}


/* SECONDARY */

.cta-btn-secondary {

    background: #0a2540;

    color: #ffffff;

    border: 1px solid #0a2540;

}

.cta-btn-secondary:hover {

    background: #ffffff;

    color: #0a2540;

    border-color: #ffffff;

    transform: translateY(-2px);

}


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

.footer {

    background: #17232f;

    padding: 72px 0 0;

    color: #ffffff;

}


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

.footer-grid {

    display: grid;

    grid-template-columns: 1.15fr 1fr 1fr 1fr 1.45fr;

    gap: 38px;

}


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

.footer-column h4 {

    color: #ef7f1a;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.8px;

    margin: 0 0 22px;

}


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

.footer-column ul {

    padding: 0;

    margin: 0;

    list-style: none;

}

.footer-column ul li {

    margin-bottom: 12px;

}

.footer-column ul li a {

    color: #bfc7ce;

    font-size: 14px;

    line-height: 1.5;

    text-decoration: none;

    transition: all .25s ease;

}

.footer-column ul li a:hover {

    color: #ffffff;

    padding-left: 3px;

}


/*==================================================
CONTACT
==================================================*/

.footer-contact p {

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin: 0 0 16px;

    color: #c8ced3;

    font-size: 14px;

    line-height: 1.65;

}

.footer-contact i {

    color: #ef7f1a;

    width: 16px;

    flex-shrink: 0;

    margin-top: 4px;

}

.footer-contact a {

    color: #c8ced3;

    text-decoration: none;

    transition: .25s ease;

}

.footer-contact a:hover {

    color: #ffffff;

}


/*==================================================
SOCIAL
==================================================*/

.footer-social {

    display: flex;

    gap: 9px;

    margin: 24px 0 20px;

}

.footer-social a {

    width: 38px;

    height: 38px;

    border: 1px solid rgba(239, 127, 26, .65);

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 4px;

    color: #ef7f1a;

    text-decoration: none;

    transition: all .3s ease;

}

.footer-social a:hover {

    background: #ef7f1a;

    color: #ffffff;

    border-color: #ef7f1a;

    transform: translateY(-3px);

}


/*==================================================
LIVE DATE & TIME
==================================================*/

#liveDateTime {

    font-size: 12px;

    color: #7f8b94;

    line-height: 1.5;

    margin-top: 8px;

}


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

.footer-bottom {

    margin-top: 58px;

    padding: 22px 0;

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

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

}

.footer-bottom p {

    color: #7f8b94;

    font-size: 12px;

    margin: 0;

}

.footer-bottom div {

    display: flex;

    gap: 24px;

}

.footer-bottom a {

    color: #7f8b94;

    font-size: 12px;

    text-decoration: none;

    transition: .25s ease;

}

.footer-bottom a:hover {

    color: #ffffff;

}


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

.whatsapp-float {

    position: fixed;

    right: 28px;

    bottom: 28px;

    width: 58px;

    height: 58px;

    border-radius: 50%;

    background: #25D366;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

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

    z-index: 9999;

    transition: .3s ease;

}

.whatsapp-float i {

    color: #ffffff;

    font-size: 30px;

}

.whatsapp-float:hover {

    transform: translateY(-4px) scale(1.05);

}

/*==================================================
FIX: REMOVE LIGHT BLUE AREA AROUND CTA + FOOTER
==================================================*/

.dimensions-page {
    background-color: transparent !important;
    min-height: auto !important;
    padding-bottom: 0 !important;
}

.cta-section {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
}

.footer {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
}

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

@media (max-width: 1000px) {

    .footer-grid {

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

        gap: 40px 30px;

    }

    .footer-contact {

        grid-column: 1 / -1;

    }

}


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

@media (max-width: 768px) {

    .cta-section {

        padding: 55px 20px;

    }

    .cta-section h2 {

        font-size: 32px;

    }

    .cta-section p {

        font-size: 16px;

        margin-bottom: 25px;

    }

    .cta-btn-group {

        flex-direction: column;

        width: 100%;

    }

    .cta-btn {

        width: 100%;

        max-width: 360px;

    }

    .footer {

        padding-top: 52px;

    }

    .footer-grid {

        grid-template-columns: 1fr 1fr;

        gap: 35px 25px;

    }

    .footer-contact {

        grid-column: 1 / -1;

    }

    .footer-bottom {

        flex-direction: column;

        text-align: center;

        margin-top: 40px;

    }

}


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

@media (max-width: 480px) {

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }

    .footer-contact {

        grid-column: auto;

    }

    .footer-bottom div {

        flex-wrap: wrap;

        justify-content: center;

        gap: 12px 18px;

    }

    .whatsapp-float {

        width: 52px;

        height: 52px;

        right: 15px;

        bottom: 15px;

    }

    .whatsapp-float i {

        font-size: 27px;

    }

}