/* =========================================================
   PRODUCTS SECTION
========================================================= */

.products-section {
    padding: 90px 0 100px;
    background: #ffffff;
}


/* ================= HEADING ================= */

.products-heading {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.products-heading > span {
    display: inline-block;
    position: relative;

    color: #c40012;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;

    margin-bottom: 10px;
}

.products-heading > span::before,
.products-heading > span::after {
    content: "";
    display: inline-block;

    width: 35px;
    height: 2px;

    background: #ff5a1f;

    vertical-align: middle;
    margin: 0 12px;
}

.products-heading h2 {
    margin: 0;

    color: #170304;

    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
}

.products-heading h2 strong {
    color: #ff5a1f;
}

.products-heading p {
    margin: 14px auto 0;

    max-width: 760px;

    color: #666;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.products-grid {
    max-width: 1280px;

    margin: 0 auto;
    padding: 0 20px;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    position: relative;

    background: #ffffff;

    border: 1px solid #f0dddd;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(100, 0, 0, 0.05);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-7px);

    border-color: rgba(196, 0, 18, .25);

    box-shadow:
        0 15px 35px rgba(100, 0, 0, 0.11);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image {
    width: 100%;
    height: 235px;

    padding: 10px;

    background: #fafafa;

    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    transition: transform .4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.product-content {
    padding: 20px 20px 22px;

    display: flex;
    flex-direction: column;

    flex: 1;
}

.product-content h3 {
    margin: 0 0 10px;

    color: #8f000d;

    font-size: 18px;
    line-height: 1.25;
    font-weight: 750;
}

.product-content p {
    margin: 0 0 20px;

    color: #666;

    font-size: 14px;
    line-height: 1.65;

    flex: 1;
}


/* =========================================================
   ENQUIRE BUTTON
========================================================= */

.enquire-btn {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    padding: 12px 20px;

    border: 0;
    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #a90012,
            #d51b16
        );

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.enquire-btn span {
    font-size: 18px;
    line-height: 1;

    transition: transform .25s ease;
}

.enquire-btn:hover {
    background:
        linear-gradient(
            135deg,
            #d51b16,
            #ff5a1f
        );

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(196, 0, 18, .25);
}

.enquire-btn:hover span {
    transform: translateX(4px);
}


/* =========================================================
   PAGINATION
========================================================= */

.product-pagination {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 8px;

    margin-top: 45px;
}

.page-btn,
.page-next {
    height: 42px;

    border: 1px solid #ead6d6;

    background: #ffffff;

    color: #555;

    border-radius: 7px;

    font-family: inherit;
    font-size: 14px;

    cursor: pointer;

    transition: all .25s ease;
}

.page-btn {
    width: 42px;
}

.page-next {
    padding: 0 18px;

    display: flex;
    align-items: center;

    gap: 8px;
}

.page-btn:hover,
.page-next:hover {
    border-color: #c40012;
    color: #c40012;
}

.page-btn.active {
    background: #b40012;
    border-color: #b40012;

    color: #ffffff;
}


/* =========================================================
   PRODUCT MODAL
========================================================= */

.product-modal {
    position: fixed;

    inset: 0;

    z-index: 10000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 25px;
}

.product-modal.active {
    display: flex;
}


/* DARK OVERLAY */

.modal-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(10, 0, 0, .72);

    backdrop-filter: blur(5px);
}


/* MODAL BOX */

.modal-box {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 950px;

    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .30);

    display: grid;

    grid-template-columns: 42% 58%;

    animation: modalShow .3s ease;
}

@keyframes modalShow {

    from {
        opacity: 0;
        transform: translateY(25px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* CLOSE */

.modal-close {
    position: absolute;

    top: 15px;
    right: 15px;

    z-index: 5;

    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    background: #a90012;

    color: #ffffff;

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

    transition: all .25s ease;
}

.modal-close:hover {
    background: #ff5a1f;

    transform: rotate(90deg);
}


/* MODAL IMAGE */

.modal-image {
    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px;

    background: #fafafa;
}

.modal-image img {
    width: 100%;
    height: 100%;

    max-height: 400px;

    object-fit: contain;
}


/* MODAL CONTENT */

.modal-content {
    padding: 45px 45px 40px;
}

.modal-label {
    color: #ff5a1f;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}

.modal-content h2 {
    margin: 8px 0 12px;

    color: #8f000d;

    font-size: 30px;
    line-height: 1.2;
}

.modal-description {
    margin: 0 0 25px;

    color: #666;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   SPECIFICATIONS
========================================================= */

.product-specifications {
    border-top: 1px solid #eee;

    border-bottom: 1px solid #eee;

    margin-bottom: 25px;
}

.spec-row {
    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 15px;

    padding: 14px 0;

    border-bottom: 1px solid #f0eeee;

    color: #555;

    font-size: 14px;

    line-height: 1.6;
}

.spec-row:last-child {
    border-bottom: 0;
}

.spec-title {
    color: #222;

    font-weight: 700;
}


/* MODAL ENQUIRE */

.modal-enquire {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 13px 23px;

    border-radius: 8px;

    background: #b40012;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: all .25s ease;
}

.modal-enquire:hover {
    background: #ff5a1f;

    transform: translateY(-2px);
}

.modal-enquire span {
    font-size: 18px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        max-width: 850px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .products-section {
        padding: 65px 0 70px;
    }

    .products-heading {
        margin-bottom: 35px;
    }

    .products-heading h2 {
        font-size: 32px;
    }

    .products-heading > span::before,
    .products-heading > span::after {
        width: 20px;
        margin: 0 7px;
    }

    .products-grid {
        grid-template-columns: 1fr;

        padding: 0 15px;

        max-width: 500px;
    }

    .product-image {
        height: 230px;
    }

    .modal-box {
        grid-template-columns: 1fr;

        max-height: 92vh;
    }

    .modal-image {
        min-height: 230px;

        height: 230px;

        padding: 20px;
    }

    .modal-content {
        padding: 30px 22px;
    }

    .modal-content h2 {
        font-size: 24px;
    }

    .spec-row {
        grid-template-columns: 100px 1fr;
    }

}


/* SMALL MOBILE */

@media (max-width: 420px) {

    .products-heading h2 {
        font-size: 28px;
    }

    .product-content h3 {
        font-size: 18px;
    }

    .product-pagination {
        margin-top: 30px;
    }

}

/* ================foil roll=========== */
/* =========================================================
   LIDDING & BLISTER SECTION
========================================================= */

/* =========================================
   LIDDING & BLISTER SECTION
========================================= */

.vp-lidding-section {
    position: relative;
    overflow: hidden;

    /* Background image */
    background-image: url("assets/products/liddingBg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    padding: 70px 0;
}

/* Keep content above background */
.vp-lidding-container {
    position: relative;
    z-index: 5;
}

/* Hide old decorative background elements */
.vp-lidding-bg {
    display: none;
}

/* =========================================================
   HEADING
========================================================= */

.vp-lidding-head {
    text-align: center;
    margin-bottom: 38px;
}

.vp-lidding-kicker {
    display: inline-flex;
    align-items: center;
    gap: 16px;

    color: #b00012;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.vp-lidding-kicker i {
    display: block;
    width: 75px;
    height: 2px;
    background: #c51620;
}

.vp-lidding-head h2 {
    margin: 14px 0 8px;

    color: #171717;
    font-size: clamp(38px, 4vw, 43px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.8px;
}

.vp-lidding-head h2 em {
    color: #c71920;
    font-style: italic;
}

.vp-lidding-head p {
    margin: 0;

    color: #707070;
    font-size: 16px;
    line-height: 1.6;
}





/* =========================================================
   PRODUCT CARD
========================================================= */



.vp-lid-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 16px 35px rgba(120, 55, 40, 0.13);
}



.vp-lid-card:hover img {
    transform: scale(1.04);
}




/* =========================================================
   LEFT DECORATION
========================================================= */

.vp-lidding-bg {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.vp-lidding-left {
    left: -100px;
    top: 125px;

    width: 300px;
    height: 560px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 55% 45%,
            rgba(255,255,255,.95) 0 24%,
            rgba(230,230,230,.8) 25% 30%,
            rgba(185,185,185,.55) 31% 40%,
            transparent 41%
        ),
        linear-gradient(
            145deg,
            #eee,
            #aaa,
            #f7f7f7,
            #b7b7b7,
            #eee
        );

    opacity: .65;
    transform: rotate(-18deg);
}


/* =========================================================
   RIGHT DECORATION
========================================================= */

.vp-lidding-right {
    right: -110px;
    top: 125px;

    width: 300px;
    height: 560px;

    border-radius: 45%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(220,220,220,.95) 0 20%,
            rgba(245,245,245,.9) 21% 35%,
            rgba(170,170,170,.7) 36% 38%,
            transparent 39%
        ),
        linear-gradient(
            135deg,
            #fafafa,
            #bdbdbd,
            #f8f8f8,
            #c5c5c5
        );

    opacity: .5;
    transform: rotate(18deg);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

   
    .vp-lidding-head h2 {
        font-size: 44px;
    }

    .vp-lidding-left,
    .vp-lidding-right {
        opacity: .25;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .vp-lidding-section {
        padding: 55px 0 60px;
    }

    .vp-lidding-container {
        width: 92%;
    }

    .vp-lidding-kicker {
        font-size: 11px;
        gap: 9px;
        padding-left: 30px;
    }

    .vp-lidding-kicker i {
        width: 35px;
    }

    .vp-lidding-head h2 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .vp-lidding-head p {
        font-size: 14px;
    }

   

    .vp-lid-card {
        min-height: 190px;
        padding: 10px;
        border-radius: 14px;
    }

    .vp-lid-card img {
        height: 135px;
    }

  

    .vp-lidding-left,
    .vp-lidding-right {
        display: none;
    }
}

/* =========================================================
   PACKAGING FORMAT SHOWCASE
   ========================================================= */

.vp-lid-grid {
    width: min(1380px, 94%);
    margin: 42px auto 0;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;

    position: relative;
    z-index: 5;
}


/* =========================================================
   CARD
   ========================================================= */

.vp-lid-card {
    position: relative;

    background: #ffffff;

    border: 1px solid rgba(174, 22, 5, 0.12);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(80, 20, 10, 0.08);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


.vp-lid-card:hover {
    transform: translateY(-7px);

    border-color: rgba(174, 22, 5, 0.28);

    box-shadow:
        0 18px 40px rgba(80, 20, 10, 0.14);
}


/* =========================================================
   COLLAGE IMAGE
   ========================================================= */

.vp-lid-image {
    width: 100%;
    height: 245px;

    overflow: hidden;

    background: #f7f7f7;
}


.vp-lid-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .5s ease;
}


.vp-lid-card:hover .vp-lid-image img {
    transform: scale(1.035);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.vp-lid-content {
    min-height: 92px;

    padding: 18px 18px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #ffffff;
}


.vp-lid-content h3 {
    position: relative;

    margin: 0;

    padding-bottom: 10px;

    color: #363636;

    font-size: 14px;

    line-height: 1.35;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .3px;
}


/* Small orange/red line under title */

.vp-lid-content h3::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 42px;
    height: 2px;

    transform: translateX(-50%);

    background: #f05a32;

    border-radius: 10px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .vp-lid-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        max-width: 850px;

        gap: 20px;
    }

    .vp-lid-image {
        height: 260px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .vp-lid-grid {
        width: 92%;

        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 32px;
    }


    .vp-lid-image {
        height: 250px;
    }


    .vp-lid-content {
        min-height: 82px;

        padding: 16px 15px 18px;
    }


    .vp-lid-content h3 {
        font-size: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .vp-lid-grid {
        width: 94%;
    }

    .vp-lid-image {
        height: 220px;
    }

    .vp-lid-content h3 {
        font-size: 14px;
    }

}

