* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================================
   Product Page V3
===================================================== */

:root {
    --rayan-blue: #0872b9;
    --rayan-dark: #061f33;
    --rayan-navy: #031522;
    --rayan-orange: #f7941d;
    --rayan-yellow: #ffc400;
    --rayan-white: #ffffff;
    --rayan-text: #5f6f7f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--rayan-text);
    background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
}

img {
    max-width: 100%;
}

/* ===============================
           Simple Header
        =============================== */

.product-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(6, 31, 51, 0.10);
}

.product-navbar {
    min-height: 86px;
}

.product-logo img {
    max-height: 62px;
    width: auto;
}

.product-menu .nav-link {
    color: var(--rayan-dark);
    font-size: 15px;
    font-weight: 850;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
}

.product-menu .nav-link:hover,
.product-menu .nav-link.active {
    color: var(--rayan-orange);
}

.product-call-btn {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 50px;
    color: var(--rayan-dark);
    background: linear-gradient(135deg, var(--rayan-orange), var(--rayan-yellow));
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.product-call-btn:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--rayan-blue), var(--rayan-dark));
    transform: translateY(-3px);
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
}

.navbar-toggler span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--rayan-dark);
    margin: 5px 0;
    border-radius: 50px;
}

/* ===============================
           Product Page
        =============================== */

.product-page-v3 {
    background: #ffffff;
    overflow: hidden;
}

/* Banner */
.product-page-v3-banner {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: var(--rayan-navy);
    overflow: hidden;
}

.product-page-v3-banner-bg {
    position: absolute;
    inset: 0;
    background-image: url("assets/images/banner/product.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.product-page-v3-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(3, 21, 34, 0.96), rgba(6, 31, 51, 0.86), rgba(3, 21, 34, 0.76)),
        radial-gradient(circle at 20% 22%, rgba(247, 148, 29, 0.30), transparent 34%);
    z-index: 1;
}

.product-page-v3-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.45;
    z-index: 2;
}

.product-page-v3-banner .container {
    position: relative;
    z-index: 3;
}

.product-page-v3-banner-content {
    max-width: 900px;
    padding: 105px 0;
}

.product-page-v3-banner-content>span {
    display: inline-flex;
    color: var(--rayan-dark);
    background: linear-gradient(135deg, var(--rayan-orange), var(--rayan-yellow));
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 22px;
}

.product-page-v3-banner-content h1 {
    color: #ffffff;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: -1.6px;
    margin-bottom: 24px;
}

.product-page-v3-banner-content h1::after {
    content: "";
    display: block;
    width: 110px;
    height: 5px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--rayan-orange), var(--rayan-yellow));
    margin-top: 24px;
}

.product-page-v3-banner-content p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 26px;
}

.product-page-v3-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    padding: 11px 16px;
    border-radius: 50px;
}

.product-page-v3-breadcrumb a {
    color: var(--rayan-yellow);
    font-weight: 900;
    text-decoration: none;
}

.product-page-v3-breadcrumb em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.45);
}

.product-page-v3-breadcrumb strong {
    color: #ffffff;
    font-weight: 900;
}

/* Gallery Section */
.product-gallery-v3-section {
    position: relative;
    padding: 96px 0;
    background:
        radial-gradient(circle at 10% 16%, rgba(247, 148, 29, 0.12), transparent 30%),
        radial-gradient(circle at 90% 84%, rgba(8, 114, 185, 0.14), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f5f9fc 48%, #eef6fb 100%);
    overflow: hidden;
}

.product-gallery-v3-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 31, 51, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 31, 51, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.58;
    pointer-events: none;
}

.product-gallery-v3-section::after {
    content: "";
    position: absolute;
    right: -190px;
    bottom: -190px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(247, 148, 29, 0.11);
    pointer-events: none;
}

.product-gallery-v3-section .container {
    position: relative;
    z-index: 2;
}

.product-gallery-v3-heading {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: center;
}

.product-gallery-v3-heading span {
    display: inline-flex;
    color: var(--rayan-orange);
    background: rgba(247, 148, 29, 0.10);
    border: 1px solid rgba(247, 148, 29, 0.20);
    padding: 8px 17px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
}

.product-gallery-v3-heading h2 {
    color: var(--rayan-dark);
    font-size: clamp(31px, 4vw, 50px);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.product-gallery-v3-heading h2::after {
    content: "";
    display: block;
    width: 96px;
    height: 5px;
    margin: 18px auto 0;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--rayan-orange), var(--rayan-yellow));
}

.product-gallery-v3-heading p {
    color: var(--rayan-text);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 700px;
}

/* Product Grid */
.product-gallery-v3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.product-gallery-v3-card {
    position: relative;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(6, 31, 51, 0.08);
    box-shadow: 0 24px 68px rgba(6, 31, 51, 0.12);
    overflow: hidden;
    transition: all 0.45s ease;
}

.product-gallery-v3-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 38px 96px rgba(6, 31, 51, 0.22);
}

.product-gallery-v3-img-btn {
    position: relative;
    width: 100%;
    height: 300px;
    padding: 0;
    border: 0;
    outline: none;
    overflow: hidden;
    cursor: zoom-in;
    background: #eef6fb;
    display: block;
}

.product-gallery-v3-img-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.6s ease;
}

.product-gallery-v3-card:hover .product-gallery-v3-img-btn img {
    transform: scale(1.12);
    filter: brightness(0.78);
}

.product-gallery-v3-img-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 25%, rgba(3, 21, 34, 0.76) 100%),
        radial-gradient(circle at 50% 50%, rgba(247, 148, 29, 0.16), transparent 45%);
    opacity: 0;
    z-index: 2;
    transition: all 0.4s ease;
}

.product-gallery-v3-card:hover .product-gallery-v3-img-btn::before {
    opacity: 1;
}

.product-gallery-v3-zoom {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 3;
    transform: translate(-50%, 18px);
    opacity: 0;
    color: var(--rayan-dark);
    background: linear-gradient(135deg, var(--rayan-orange), var(--rayan-yellow));
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
    transition: all 0.4s ease;
}

.product-gallery-v3-card:hover .product-gallery-v3-zoom {
    opacity: 1;
    transform: translate(-50%, 0);
}

.product-gallery-v3-content {
    position: relative;
    padding: 24px 22px 26px;
    background: #ffffff;
}

.product-gallery-v3-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 74px;
    height: 4px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--rayan-orange), var(--rayan-yellow));
}

.product-gallery-v3-content span {
    display: inline-flex;
    color: var(--rayan-orange);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 9px;
}

.product-gallery-v3-content h3 {
    color: var(--rayan-dark);
    font-size: 21px;
    font-weight: 950;
    line-height: 1.24;
    margin-bottom: 18px;
}

.product-gallery-v3-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 19px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rayan-blue), var(--rayan-dark));
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 950;
    transition: all 0.35s ease;
}

.product-gallery-v3-content a:hover {
    color: var(--rayan-dark);
    background: linear-gradient(135deg, var(--rayan-orange), var(--rayan-yellow));
    transform: translateY(-3px);
}

/* Big Zoom Modal */
.product-image-zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background:
        radial-gradient(circle at 20% 20%, rgba(247, 148, 29, 0.16), transparent 32%),
        radial-gradient(circle at 80% 80%, rgba(8, 114, 185, 0.20), transparent 36%),
        rgba(3, 21, 34, 0.96);
    backdrop-filter: blur(14px);
}

.product-image-zoom-modal.product-zoom-open {
    display: flex;
}

.product-image-zoom-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.45;
    pointer-events: none;
}

.product-image-zoom-box {
    position: relative;
    z-index: 2;
    width: min(1320px, 96vw);
    max-height: 94vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: productZoomIn 0.35s ease;
}

.product-image-zoom-frame {
    position: relative;
    width: 100%;
    max-height: 94vh;
    padding: 18px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 40px 130px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.product-image-zoom-frame::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 26px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    pointer-events: none;
    z-index: 3;
}

.product-image-zoom-frame img {
    width: 100%;
    height: min(82vh, 780px);
    object-fit: contain;
    display: block;
    border-radius: 26px;
    background: #ffffff;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-image-zoom-title {
    position: absolute;
    left: 38px;
    right: 38px;
    bottom: 38px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    border-radius: 22px;
    background: rgba(3, 21, 34, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.product-image-zoom-title span {
    display: inline-flex;
    color: var(--rayan-dark);
    background: linear-gradient(135deg, var(--rayan-orange), var(--rayan-yellow));
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    white-space: nowrap;
}

.product-image-zoom-title h3 {
    color: #ffffff;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 950;
    line-height: 1.2;
    margin: 0;
    text-align: right;
}

.product-image-zoom-close {
    position: fixed;
    right: 30px;
    top: 26px;
    z-index: 100000;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    color: var(--rayan-dark);
    background: linear-gradient(135deg, var(--rayan-orange), var(--rayan-yellow));
    font-size: 38px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 18px 48px rgba(247, 148, 29, 0.36);
    transition: all 0.35s ease;
}

.product-image-zoom-close:hover {
    color: #ffffff;
    background: var(--rayan-blue);
    transform: rotate(90deg) scale(1.08);
}

.product-image-zoom-nav {
    position: fixed;
    top: 50%;
    z-index: 100000;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    color: var(--rayan-dark);
    background: linear-gradient(135deg, var(--rayan-orange), var(--rayan-yellow));
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 18px 48px rgba(247, 148, 29, 0.34);
    transform: translateY(-50%);
    transition: all 0.35s ease;
}

.product-image-zoom-prev {
    left: 30px;
}

.product-image-zoom-next {
    right: 30px;
}

.product-image-zoom-nav svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.product-image-zoom-nav:hover {
    color: #ffffff;
    background: var(--rayan-blue);
    transform: translateY(-50%) scale(1.08);
}

body.product-zoom-lock {
    overflow: hidden;
}

@keyframes productZoomIn {
    from {
        opacity: 0;
        transform: scale(0.90) translateY(26px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Footer */
.product-footer {
    background: linear-gradient(135deg, var(--rayan-navy), var(--rayan-dark));
    color: rgba(255, 255, 255, 0.78);
    padding: 34px 0;
    text-align: center;
}

.product-footer p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.product-footer a {
    color: var(--rayan-yellow);
    text-decoration: none;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 1199px) {
    .product-gallery-v3-grid {
        gap: 20px;
    }

    .product-gallery-v3-img-btn {
        height: 265px;
    }

    .product-gallery-v3-content h3 {
        font-size: 19px;
    }
}

@media (max-width: 991px) {
    .product-page-v3-banner-content {
        padding: 88px 0;
        text-align: center;
        margin: 0 auto;
    }

    .product-page-v3-banner-content h1::after {
        margin-left: auto;
        margin-right: auto;
    }

    .product-page-v3-banner-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .product-gallery-v3-section {
        padding: 74px 0;
    }

    .product-gallery-v3-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-menu {
        padding: 20px 0;
    }

    .product-call-btn {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .product-page-v3-banner {
        min-height: auto;
    }

    .product-page-v3-banner-content {
        padding: 72px 0;
    }

    .product-page-v3-banner-content h1 {
        font-size: 32px;
    }

    .product-page-v3-banner-content p {
        font-size: 15px;
        line-height: 1.65;
    }

    .product-gallery-v3-section {
        padding: 58px 0;
    }

    .product-gallery-v3-heading {
        margin-bottom: 32px;
    }

    .product-gallery-v3-heading h2 {
        font-size: 28px;
    }

    .product-gallery-v3-heading p {
        font-size: 14.5px;
    }

    .product-gallery-v3-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-gallery-v3-card {
        border-radius: 24px;
    }

    .product-gallery-v3-img-btn {
        height: 255px;
    }

    .product-gallery-v3-content {
        padding: 22px 18px 24px;
        text-align: center;
    }

    .product-gallery-v3-content::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .product-gallery-v3-content h3 {
        font-size: 20px;
    }

    .product-gallery-v3-content a {
        width: 100%;
    }

    .product-gallery-v3-zoom {
        opacity: 1;
        transform: translate(-50%, 0);
        bottom: 16px;
        font-size: 12px;
        padding: 9px 15px;
    }

    .product-image-zoom-modal {
        padding: 12px;
    }

    .product-image-zoom-frame {
        padding: 10px;
        border-radius: 24px;
    }

    .product-image-zoom-frame::before {
        inset: 7px;
        border-radius: 18px;
    }

    .product-image-zoom-frame img {
        height: 72vh;
        border-radius: 18px;
    }

    .product-image-zoom-title {
        left: 18px;
        right: 18px;
        bottom: 78px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 9px;
        padding: 13px;
        border-radius: 17px;
    }

    .product-image-zoom-title h3 {
        text-align: center;
        font-size: 16px;
    }

    .product-image-zoom-title span {
        font-size: 11px;
        padding: 7px 12px;
    }

    .product-image-zoom-close {
        right: 14px;
        top: 14px;
        width: 46px;
        height: 46px;
        font-size: 30px;
    }

    .product-image-zoom-nav {
        top: auto;
        bottom: 18px;
        width: 48px;
        height: 48px;
    }

    .product-image-zoom-prev {
        left: 18px;
    }

    .product-image-zoom-next {
        right: 18px;
    }

    .product-image-zoom-nav svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 420px) {
    .product-logo img {
        max-height: 52px;
    }

    .product-page-v3-banner-content h1 {
        font-size: 28px;
    }

    .product-gallery-v3-heading h2 {
        font-size: 25px;
    }

    .product-gallery-v3-img-btn {
        height: 225px;
    }

    .product-image-zoom-frame img {
        height: 68vh;
    }

    .product-image-zoom-title {
        bottom: 70px;
    }

    .product-image-zoom-title h3 {
        font-size: 15px;
    }

    .product-image-zoom-nav {
        width: 44px;
        height: 44px;
        bottom: 14px;
    }

    .product-image-zoom-prev {
        left: 14px;
    }

    .product-image-zoom-next {
        right: 14px;
    }
}