/* ======================================================
    Header
=======================================================*/
header {
    padding: 32px 0 50px;
}

.header-inner {
    background-color: #FFFFFF1A;
    backdrop-filter: blur(40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-radius: 100px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 72px;
}

.logo-wrappper {
    max-width: 198px;
}

.main-navigation ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.main-navigation a {
    font-weight: 300;
    font-style: Regular;
    font-size: 16px;
    line-height: 1.25em;
    vertical-align: middle;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
}

.header-inner.bg-primary-lighter .main-navigation a {
    color: var(--secondary-color);
}

.header-inner.bg-primary-lighter .main-navigation li.active-menu-item a {
    color: var(--primary-color);
}


.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary-color);
}

/* White icon on dark homepage header */
header.bg-dark .cart-icon-btn {
    color: #ffffff;
}

.cart-icon-btn svg {
    width: 26px;
    height: 26px;
    display: block;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2px;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(41, 86, 161, 0.45);
}

.cart-count.has-items {
    display: flex;
}

/* ======================================================
    Hero Section
=======================================================*/
.hero-section {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 52%;
}

.hero-title {
    font-size: 60px;
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -1px;
    display: inline-block;
    color: var(--secondary-color);
}

.gradient-heading span:first-child{
    background: linear-gradient(172deg, #ffffff 0%, #ffffff 46%, #88bcf3 62%, #78aaff 80%, #2956a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.gradient-heading span:last-child{
    background: linear-gradient(175deg, #ffffff 0%, #ffffff 0%, #6aadf5 62%, #4880DE 80%, #2956A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--secondary-color);
    margin-bottom: 44px;
}

.hero-section.bg-dark .hero-subtitle {
    color: #AFB9CA;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 36px;
}

.hero-cta .btn-primary {
    font-size: 15px;
    font-weight: 400;
    padding: 16px 36px;
}

.btn-watch {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
}

.play-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.play-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 11px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 3px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 660px;
    height: auto;
    display: block;
}


/* ======================================================
    Animated Text Section
=======================================================*/

.large-animated-text {
    font-size: 60px;
    font-weight: 400;
    line-height: 1.2;
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.large-animated-text .word {
    display: inline-flex;
    white-space: nowrap;
}

.text-animate {
    display: inline-block;
    color: #8d99b0;
}

.large-animated-text.in-view .text-animate {
    animation: fadeInLetterBlack 0ms forwards;
    animation-delay: calc(var(--char-index) * 0.04s);
}

.bg-dark .large-animated-text.in-view .text-animate {
    animation: fadeInLetterWhite 0ms forwards;
    animation-delay: calc(var(--char-index) * 0.04s);
}

@keyframes fadeInLetterBlack {
    to {
        color: #000000;
    }
}

@keyframes fadeInLetterWhite {
    to {
        color: #ffffff;
    }
}




/* ======================================================
    Marquee Section
=======================================================*/
.section-marquee {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 14s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-right: 48px;
    white-space: nowrap;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}




/* ======================================================
    Next-Generation Bow Stop Solution Section
=======================================================*/
.next-generation-bow-stop-solution-section {
    background-image: url('../images/next-generation-bow-stop-solution-bg-image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.next-generation-bow-stop-solution-section .section-subtitle {
    color: white;
}

.next-generation-bow-stop-solution-section p {
    color: white;
    font-weight: 300;
}


/* ======================================================
    Why Bigvee Section
=======================================================*/
.why-bigvee-section {
    overflow-x: clip;
}

.why-bigvee-content {
    gap: 28px;
    padding-left: 40px;
    padding-bottom: 120px;
    position: relative;
}

/* vertical line — primary at diamond, transparent going up and down */
.why-bigvee-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
            transparent 0%,
            var(--primary-light) var(--diamond-vert-pct, 50%),
            transparent 100%);
}

/* full-viewport-width horizontal line — primary at diamond, transparent both sides */
.content-divider {
    position: relative;
    height: 1px;
    overflow: visible;
    margin-left: -40px;
}

.content-divider::after {
    content: '';
    position: absolute;
    top: 0;
    height: 1px;
    left: calc(-1 * var(--diamond-left-px, 40px));
    width: 100vw;
    background: linear-gradient(to right,
            transparent 0%,
            var(--primary-light) var(--diamond-pct, 5%),
            transparent calc(var(--diamond-pct, 5%) + 35%));
}

/* diamond at the intersection */
.content-divider::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--primary-light);
    z-index: 1;
}


/* ======================================================
    Testimonial Section
=======================================================*/
.testimonial-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.testimonial-card {
    max-width: 740px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    text-align: center;
}

/* Quote text */
.testimonial-quote {
    text-align: left;
    overflow: hidden;
}

.testimonial-quote--mark {
    float: left;
    margin-right: 5px;
    margin-top: 8px;
}

.testimonial-quote--mark img {
    height: 32px;
    width: auto;
    display: block;
}

.testimonial-quote p {
    font-size: 54px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--secondary-color);
}

/* Gradient divider */
.testimonial-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--primary-light) 50%, transparent);
}

/* Author box */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-author--avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #d0e3f5;
    flex-shrink: 0;
}

.testimonial-author--avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author--name {
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.4;
}

.testimonial-author--role {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.4;
}

/* Navigation dots */
.testimonial-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: #c5cfe3;
    cursor: pointer;
    transition: background 0.3s ease;
}

.t-dot--active {
    background: var(--primary-color);
}


/* ======================================================
    Gallery Section
=======================================================*/
.gallery-section {
    overflow-x: clip;
    padding-bottom: 60px;
}

.gallery-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* Description max-width */
.gallery-section .section-description {
    max-width: 700px;
}

/* Slider — 110vw wide, centred (bleeds 5vw each side) */
.gallery-slider {
    width: 110vw;
    margin-left: -5vw;
    overflow: hidden;
    position: relative;
}

/* Top semi-oval */
.gallery-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110vw;
    height: 120px;
    background: var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Bottom semi-oval */
.gallery-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 110vw;
    height: 120px;
    background: var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.gallery-track {
    display: flex;
    gap: 24px;
    width: max-content;
    transition: transform 0.4s ease;
    cursor: default;
    user-select: none;
}

.gallery-track.is-dragging {
    transition: none;
    cursor: grabbing;
}

.gallery-set {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.gallery-image {
    flex: 0 0 calc((110vw - 3 * 24px) / 4);
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-image:hover img {
    transform: scale(1.04);
}


/* Dots */
.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
}

.g-dot {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.g-dot--active {
    background: #ffffff;
}


/* ======================================================
    FAQ Section
=======================================================*/
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 24px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 40px;
    cursor: pointer;
    user-select: none;
}

.faq-number {
    font-size: 18px;
    font-weight: 300;
    color: #000000;
    min-width: 28px;
    flex-shrink: 0;
}

.faq-question {
    flex: 1;
    font-size: 24px;
    font-weight: 400;
    color: #000000;
    line-height: 1.35;
}

/* +/- toggle icon */
.faq-toggle {
    width: 28px;
    height: 28px;
    position: relative;
    flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-toggle::before {
    width: 22px;
    height: 3px;
}

.faq-toggle::after {
    width: 3px;
    height: 22px;
}

/* Rotate vertical bar to 0 when open (shows minus) */
.faq-item.is-open .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* Answer body — grid height animation */
.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease, margin-top 0.35s ease;
    margin-top: 0;
    overflow: hidden;
}

.faq-body>* {
    overflow: hidden;
}

.faq-item.is-open .faq-body {
    grid-template-rows: 1fr;
    margin-top: 30px;
}

.faq-body p {
    font-size: 18px;
    line-height: 1.65;
    color: #061A3C;
    padding-left: 68px;
}


/* ======================================================
    Footer
=======================================================*/

/* CTA */
.footer-cta-section {
    text-align: center;
}

.footer-cta-title span {
    background: linear-gradient(to right, #6eb3f7, #2956A1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-cta-desc {
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0.2px;
    color: #AFB9CA;
    max-width: 560px;
}

.footer-cta-btn {
    background: #ffffff;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 16px;
    padding: 16px 48px;
}

.footer-cta-btn:hover {
    background: #e8ecf5;
    color: var(--secondary-color);
}

/* Full-width logo */
.footer-logo-full {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-full img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-col-title {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
}

.footer-brand p {
    font-size: 20px;
    color: #AFB9CA;
    font-weight: 300;
    line-height: 1.4em;
}

.footer-secure {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-secure img:first-child {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.footer-secure span {
    font-size: 18px;
    color: #AFB9CA;
    font-weight: 300;
    line-height: 1.4em;
}

.footer-secure img:last-child {
    width: 118px;
}

.footer-stripe {
    height: 28px;
    width: auto;
}

.footer-cards {
    height: auto;
    display: block;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
}

.footer-links a {
    color: #AFB9CA;
    text-decoration: none;
    font-weight: 300;
    font-size: 20px;
    line-height: 2em;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #AFB9CA;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
    margin-top: 22px;
}

.footer-email-icon{
    flex-shrink: 0;
    background: white;
    border-radius: 50%;
    padding: 10px;
}

.footer-email:hover {
    color: #ffffff;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid #FFFFFF2E;
    padding: 24px 0;
    margin-top: 50px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 18px;
    color: #AFB9CA;
    font-weight: 300;
    text-decoration: none;
}

.footer-bottom p a {
    text-decoration: underline;
    color: #AFB9CA;
    font-weight: 300;
}

.footer-bottom p a:hover,
.footer-bottom a:hover {
    color: #ffffff;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal span {
    color: #AFB9CA;
}


/* ======================================================
    Installation Guide Section
=======================================================*/

/* No container — inner handles its own left alignment so right panel bleeds to viewport edge */
.installation-guide-inner {
    display: flex;
    align-items: stretch;
    gap: 60px;
    padding-left: max(20px, calc((100vw - 1310px) / 2));
}

.installation-guide-left {
    flex: 0 0 min(45vw, 607.5px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 4px;
}

.installation-guide-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.installation-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Square dots — same style as homepage .t-dot */
.i-dot {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: #c5cfe3;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.i-dot--active {
    background: var(--primary-color);
}

/* Right panel fills remaining width to the viewport right edge */
.installation-guide-right {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.installation-slider {
    overflow: hidden;
    width: 100%;
}

.installation-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s ease;
}

/*
 * Card width: sized so exactly 2 full cards + 65% of the 3rd are visible (35% bleeds off-screen).
 * Formula derived from: slider_width = 2.65 × card_width + 2 × gap(20px)
 * Wide screens  (≥1350px): slider = 50vw + 7.5px  → card = (50vw − 32.5px) / 2.65
 * Narrow screens (<1350px): slider = 55vw − 60px   → card = (55vw − 100px)  / 2.65
 * min() picks the correct branch automatically at both sizes.
 */
.installation-card {
    width: min(calc((50vw - 32.5px) / 2.65), calc((55vw - 100px) / 2.65));
    flex-shrink: 0;
    background: #eef1f8;
    border-radius: 20px;
    padding: 40px 20px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 428px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
    box-sizing: border-box;
}

.installation-card.is-active {
    background: var(--primary-color);
}

.installation-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.installation-card-number {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: #afafaf;
    transition: color 0.4s ease;
    letter-spacing: -2px;
}

.installation-card.is-active .installation-card-number {
    color: #ffffff;
}

.installation-card-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.4s ease, filter 0.4s ease;
    flex-shrink: 0;
}

.installation-card.is-active .installation-card-icon {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.installation-card-body {
    position: relative;
    z-index: 1;
}

.installation-card-body h4 {
    font-size: 18px;
    line-height: 1.389em;
    font-weight: 400;
    color: #afafaf;
    margin-bottom: 10px;
    transition: color 0.4s ease;
}

.installation-card.is-active .installation-card-body h4 {
    color: #ffffff;
}

.installation-card-body p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.375em;
    color: #afafaf;
    transition: color 0.4s ease;
}

.installation-card.is-active .installation-card-body p {
    color: #ffffff;
}

.installation-card-bg {
    position: absolute;
    top: 20px;
    right: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    user-select: none;
}

.installation-card.is-active .installation-card-bg {
    opacity: 1;
}


/* ======================================================
    Precision Fit Design Section
=======================================================*/

/* Semi-circle protrudes from section bottom into the next light section,
   giving the dark section a rounded bottom edge */
.precision-fit-section {
    position: relative;
    overflow-x: clip;
    margin-bottom: 100px;
}

.precision-fit-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 110vw;
    height: 140px;
    background: #000413;
    border-radius: 0 0 50% 50%;
    z-index: 1;
}

.precision-fit-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.precision-fit-content {
    gap: 28px;
}

.precision-fit-title {
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.precision-fit-desc {
    color: #AFB9CA;
    font-weight: 300;
}

.tick-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 4px;
}

.tick-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #AFB9CA;
    font-weight: 300;
}

.tick-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}


/* ======================================================
    Mission & Vision Section
=======================================================*/
.mission-vision-header {
    margin-bottom: 50px;
    align-items: flex-start;
}

.mission-vision-intro {
    line-height: 1.7;
    padding-top: 80px;
}

.mission-vision-cards {
    display: flex;
    gap: 22px;
}

.mission-vision-card {
    flex: 1;
    padding: 44px 45px;
    min-height: 410px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mission-card {
    background-color: var(--primary-color);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.vision-card {
    background-color: #eef1f8;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.mv-card-desc {
    font-weight: 300;
}

.mission-card p{
    font-weight: 300;
}


/* ======================================================
    Team Section
=======================================================*/
.team-header {
    margin: 0 auto 50px;
    align-items: center;
    text-align: center;
}

.team-intro {
    color: var(--text-color);
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto;
}

.team-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.team-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
}

/* 4 cards fully visible: (100% - 3 gaps) / 4 */
.team-card {
    flex-shrink: 0;
    width: calc((100% - 72px) / 4);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 4;
}

.team-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.team-card:hover .team-card-image {
    transform: scale(1.08);
}

.team-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(90, 100, 120, 0.45);
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.team-card:hover .team-card-overlay {
    opacity: 0;
}

/* Dark gradient + text at bottom */
.team-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 24px 28px;
    background: linear-gradient(to top, rgb(0, 4, 19) 40%, transparent 100%);
}

.team-member-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.team-member-role {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.4;
}

.team-dots {
    display: flex;
    gap: 8px;
    margin-top: 55px;
    justify-content: center;
}

.tm-dot {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: #c5cfe3;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.tm-dot--active {
    background: var(--primary-color);
}


/* ======================================================
    Why We Exist Section
=======================================================*/
.why-we-exist-inner {
    align-items: stretch;
}

.why-we-exist-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.why-we-exist-content {
    gap: 32px;
    justify-content: center;
}

/* Purpose Accordion */
.purpose-accordion {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.purpose-accordion-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 0 20px;
}

.purpose-accordion-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.purpose-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 12px;
    cursor: pointer;
    user-select: none;
}

.purpose-accordion-title {
    font-size: 20px;
    font-weight: 300;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.purpose-num {
    font-weight: 300;
    color: var(--secondary-color);
}

.purpose-accordion-dot {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: #c5cfe3;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.purpose-accordion-item.is-open .purpose-accordion-dot {
    background: var(--primary-color);
}

.purpose-accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease, padding-bottom 0.35s ease;
    overflow: hidden;
    padding-bottom: 0;
    padding-left: 22px;
}

.purpose-accordion-content > * {
    overflow: hidden;
}

.purpose-accordion-item.is-open .purpose-accordion-content {
    grid-template-rows: 1fr;
    padding-bottom: 20px;
}

.purpose-accordion-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
}


/* ======================================================
    Contact Form Section
=======================================================*/
.contact-form,
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* Strip CF7's outer wrapper margin */
.wpcf7 {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 1000px;
    margin: 0 auto !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-row--full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Neutralise any <p>/<br> CF7 autop injects inside form groups */
.wpcf7-form .form-group p {
    margin: 0;
    display: contents;
}

.wpcf7-form .form-group br {
    display: none;
}

.wpcf7-form .form-submit p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.form-textarea {
    min-height: 260px;
}

.form-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
}

.form-response,
.wpcf7-response-output {
    align-self: flex-start;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
}

.form-submit-btn {
    padding: 18px 60px;
    font-size: 16px;
    font-weight: 500;
    outline: 0;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}


/* ======================================================
    Gallery Hero Section
=======================================================*/
.gallery-hero-header {
    align-items: center;
    margin-bottom: 48px;
}

.gallery-hero-desc {
    font-weight: 300;
}

.gallery-hero-images {
    display: flex;
    gap: 24px;
}

.gallery-hero-image-wrap {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}


/* ======================================================
    Gallery Grid Section
=======================================================*/
.gallery-grid-header {
    align-items: center;
    margin-bottom: 60px;
}

.gallery-grid-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.gallery-grid-desc {
    font-weight: 300;
    color: var(--text-color);
    line-height: 1.7;
    padding-top: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-grid-item {
    background: #f8f9fb;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-grid-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-grid-item:hover .gallery-grid-img {
    transform: scale(1.04);
}



/* ======================================================
    Product Detail Section
=======================================================*/

.product-detail-inner {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.product-gallery {
    flex: 0 0 46%;
    max-width: 46%;
}

.product-main-image-wrap {
    background: #f4f6fa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
    min-height: 520px;
}

.product-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
    max-height: 425px;
}

.product-thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.product-thumbnails-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.product-thumbnails {
    display: flex;
    gap: 14px;
    transition: transform 0.35s ease;
    width: 100%;
}

.product-thumb-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #d0d8e8;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--secondary-color);
    transition: border-color 0.2s, opacity 0.2s;
    padding: 0;
    line-height: 1;
    padding-bottom: 4px;
}

.product-thumb-arrow:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.product-thumb-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.product-thumbnail-item {
    flex: 0 0 calc(25% - 10.5px);
    background: #f4f6fa;
    border-radius: 12px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease;
    overflow: hidden;
}

.product-thumbnail-item.is-active {
    border-color: var(--primary-color);
}

.product-thumbnail-item:hover:not(.is-active) {
    border-color: #c5cfe3;
}

.product-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.product-stars {
    display: flex;
    gap: 5px;
}

.product-stars img {
    width: 22px;
    height: 22px;
    display: inline-block;
}

.product-rating-score {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
}

.product-rating-count {
    font-size: 15px;
    font-weight: 300;
    color: #6b7280;
}

.product-title {
    font-size: 46px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--secondary-color);
    margin-bottom: 35px;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 35px;
}

.product-price {
    font-size: 32px;
    font-weight: 400;
}

.product-price-original {
    font-size: 16px;
    font-weight: 300;
    color: #ffffff;
    background: var(--primary-color);
    padding: 0px 18px;
    border-radius: 100px;
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.65);
}

.product-description {
    font-size: 16px;
    line-height: 1.75;
    color: #4b5563;
    font-weight: 400;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description.is-expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.product-show-more {
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary-color);
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 25px;
    display: inline-block;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.product-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid #d1d5db;
    border-radius: 100px;
    height: 58px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-qty-btn {
    width: 86px;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 35px;
    line-height: 35px;
    text-align: center;
    font-weight: 300;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
    padding-bottom: 5px;
}

.product-qty-btn:hover {
    background: #f3f4f6;
}

.product-qty-count {
    width: 44px;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: var(--secondary-color);
    pointer-events: none;
    user-select: none;
}

.product-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #061A3C;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    height: 58px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.product-add-to-cart:hover {
    background: #404657;
}

.product-add-to-cart.is-loading {
    pointer-events: none;
}

.product-add-to-cart.is-loading::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    flex-shrink: 0;
}

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

.product-cart-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.product-packaging-notice {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 25px;
}

.packaging-banner {
    background: #e8294a;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
}

.packaging-banner-text {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.packaging-details {
    background: #fff0f2;
    padding: 16px 20px;
}

.packaging-details p {
    font-size: 16px;
    font-weight: 400;
    color: #c0324a;
    line-height: 1.65;
    margin: 0;
}

.product-key-points {
    border-top: 1.5px solid #e5e7eb;
    border-bottom: 1.5px solid #e5e7eb;
}

.product-key-points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    user-select: none;
}

.product-key-points-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary-color);
}

.product-key-points-toggle {
    font-size: 26px;
    font-weight: 300;
    color: var(--secondary-color);
    line-height: 1;
    transition: transform 0.25s ease;
    display: inline-block;
}

.product-key-points.is-open .product-key-points-toggle {
    transform: rotate(45deg);
}

.product-key-points-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    overflow: hidden;
}

.product-key-points-body > * {
    overflow: hidden;
}

.product-key-points.is-open .product-key-points-body {
    grid-template-rows: 1fr;
}

.product-key-points-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
}

.product-key-points-content li {
    font-size: 15px;
    color: #4b5563;
    font-weight: 300;
    line-height: 1.65;
    padding-left: 20px;
    position: relative;
}

.product-key-points-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    background: var(--primary-color);
    border-radius: 50%;
}



/* ======================================================
    Installation Videos Section
=======================================================*/
.installation-videos-section {
    position: relative;
    overflow-x: clip;
    margin-bottom: 100px;
}

.installation-videos-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 110vw;
    height: 140px;
    background: var(--secondary-color);
    border-radius: 0 0 50% 50%;
    z-index: 1;
    pointer-events: none;
}

.installation-videos-header {
    max-width: 700px;
    margin: 0 auto 60px;
    gap: 20px;
}

.installation-videos-desc {
    font-weight: 300;
    color: #AFB9CA;
    line-height: 1.7;
    text-align: center;
}

.installation-videos-slider {
    overflow: hidden;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.installation-videos-track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease;
}

.installation-video-slide {
    min-width: calc(50% - 20px);
    width: calc(50% - 20px);
    max-width: calc(50% - 20px);
    flex-shrink: 0;
}

.installation-video-inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0 auto;
    padding: 0 24px;
}

.installation-video-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
}

.installation-video-desc {
    font-weight: 300;
    color: #AFB9CA;
    max-width: 570px;
    margin-top: -10px;
}

.installation-videos-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.iv-dot {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.iv-dot--active {
    background: #ffffff;
}



/* ======================================================
    Ratings & Reviews Section
=======================================================*/
.ratings-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.ratings-reviews-inner {
    display: flex;
    gap: 120px;
    align-items: flex-start;
}

.rating-summary {
    flex: 0 0 calc(50% - 60px);
    max-width: calc(50% - 60px);
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.rating-summary-score {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.rating-score-big {
    font-size: 185px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -8px;
}

.rating-count {
    font-size: 18px;
    font-weight: 300;
    color: #6b7280;
    margin-top: 8px;
    white-space: nowrap;
}

.rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 10px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-bar-star {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.rating-bar-label {
    font-size: 18px;
    font-weight: 600;
    width: 28px;
    flex-shrink: 0;
}

.rating-bar-track {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 100px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 100px;
}

/* Testimonial overrides inside ratings section */
.rating-testimonial {
    flex: 0 0 calc(50% - 60px);
    max-width: calc(50% - 60px);
    min-width: 0;
}

.rating-testimonial .testimonial-slider {
    width: 100%;
    gap: 36px;
    max-width: 520px;
}

.rating-testimonial .testimonial-card {
    max-width: 525px;
    align-items: center;
    text-align: left;
    gap: 28px;
}

.rating-testimonial .testimonial-quote p {
    font-size: 34px;
}

.rating-testimonial .testimonial-author {
    justify-content: flex-start;
}

.rating-testimonial .testimonial-dots {
    justify-content: flex-start;
}



/* ======================================================
    Write a Review Modal
=======================================================*/
.review-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 4, 19, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.review-modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.review-modal {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    max-width: 700px;
    width: 100%;
    position: relative;
    transform: translateY(24px);
    transition: transform 0.35s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.review-modal-overlay.is-open .review-modal {
    transform: translateY(0);
}

.review-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.review-modal-close:hover {
    background: #e5e7eb;
}

.review-modal-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 36px;
}

.review-modal-title {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary-color);
}

.review-rating-row {
    margin-bottom: 24px;
}

.review-stars-select {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.review-star-btn {
    font-size: 38px;
    line-height: 1;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
    display: inline-block;
}

.review-star-btn:hover,
.review-star-btn.is-hover,
.review-star-btn.is-active {
    color: #f5a623;
}

.review-star-btn:hover {
    transform: scale(1.15);
}


/* ======================================================
    Cart Drawer
=======================================================*/
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 4, 19, 0.45);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cart-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

/* Panel — slides in as one unit, provides the 20px float margin */
.cart-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    transform: translateX(calc(100% + 80px));
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer-overlay.is-open .cart-panel {
    transform: translateX(0);
}

/* Close button — sits to the left of the cart card */
.cart-drawer-close {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 8px;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.cart-drawer-close:hover {
    transform: scale(1.08);
}

.cart-drawer-close img {
    width: 18px;
    height: 18px;
}

/* AJAX target wrapper — flex so .cart-drawer stretches to panel height */
#cartDrawerInner {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Cart card */
.cart-drawer {
    width: 460px;
    flex-shrink: 0;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

/* Header */
.cart-drawer-header {
    background: var(--primary-color);
    padding: 28px 28px;
    flex-shrink: 0;
}

.cart-drawer-title {
    text-align: center;
    color: #ffffff;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
}

.cart-drawer-shipping-msg {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 14px;
}

.cart-drawer-shipping-msg strong {
    color: #ffffff;
}

.cart-drawer-progress-track {
    height: 5px;
    background: rgba(255,255,255,0.25);
    border-radius: 999px;
    overflow: hidden;
}

.cart-drawer-progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* Body */
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #ffffff;
}

.cart-item {
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: #deeaf8;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-desc {
    font-size: 14px;
    color: #061A3C;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.cart-qty-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 25px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    flex-shrink: 0;
    padding-bottom: 5px;
}

.cart-qty-btn:hover {
    background: #f3f4f6;
}

.cart-qty-count {
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary-color);
    min-width: 32px;
    text-align: center;
    position: relative;
}

.cart-item-qty.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

.cart-qty-spinner {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(6, 26, 60, 0.2);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    margin-left: 10px;
    flex-shrink: 0;
}

.cart-item-price {
    font-size: 18px;
    font-weight: 400;
    color: var(--secondary-color);
    flex-shrink: 0;
    align-self: flex-end;
}

/* Footer */
.cart-drawer-footer {
    padding: 18px 20px 28px;
    flex-shrink: 0;
    background: #ffffff;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 10px 24px;
    background: var(--primary-color);
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
    letter-spacing: 0.01em;
}

.cart-checkout-btn:hover {
    background: var(--primary-light);
}

.cart-shipping-note {
    text-align: center;
    font-size: 14px;
    color: #565A61;
    margin-top: 12px;
}


/* ======================================================
    Policy Pages
=======================================================*/
.policy-hero {
    padding: 80px 0 60px;
    border-bottom: 1px solid #e5e7eb;
}

.policy-hero-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.policy-hero-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.policy-hero-meta {
    font-size: 15px;
    color: #6b7280;
}

.policy-body {
    padding: 60px 0 100px;
}

.policy-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.policy-sidebar {
    flex: 0 0 220px;
    position: sticky;
    top: 32px;
}

.policy-sidebar-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6b7280;
    margin-bottom: 16px;
}

.policy-sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.policy-sidebar-nav a {
    display: block;
    padding: 8px 12px;
    font-size: 15px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.policy-sidebar-nav a:hover {
    background: #f3f6ff;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.policy-content {
    flex: 1;
    min-width: 0;
}

.policy-section {
    margin-bottom: 52px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.policy-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 16px;
}

.policy-content p:last-child {
    margin-bottom: 0;
}

.policy-content ul,
.policy-content ol {
    margin: 12px 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.policy-content li {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: #374151;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-content a:hover {
    color: var(--primary-color-hover);
}

.policy-highlight-box {
    background: #f0f4ff;
    border-left: 3px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.policy-highlight-box p {
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    color: var(--secondary-color) !important;
}

.policy-contact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 32px;
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.policy-contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-contact-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.policy-contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.policy-contact-info strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
}

.policy-contact-info span {
    font-size: 15px;
    color: #6b7280;
}

.policy-contact-info a {
    font-size: 15px;
    color: var(--primary-color);
    text-decoration: none;
}

.policy-contact-info a:hover {
    text-decoration: underline;
}

/* ======================================================
    Checkout Page
=======================================================*/
.page-checkout header {
    padding-bottom: 0;
}

.checkout-layout {
    display: flex;
    min-height: calc(100vh - 160px);
}

/* Left column */
.checkout-form-col {
    flex: 0 0 54%;
    padding: 20px 64px 28px 40px;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* Right column */
.checkout-summary-col {
    flex: 1;
    padding: 28px 40px 28px 56px;
}

/* Express checkout */
.checkout-express {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-express-label {
    text-align: center;
    font-size: 16px;
    color: var(--secondary-color);
    letter-spacing: 0.02em;
}

.checkout-express-btns {
    display: flex;
    gap: 16px;
}

.checkout-express-btn {
    flex: 1;
    height: 52px;
    border: 0;
    border-radius: 100px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.checkout-express-btn:hover {
    border-color: #d1d5db;
}

.checkout-or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: -10px;
}

.checkout-or-line {
    flex: 1;
    height: 1px;
    background: #00000024;
}

.checkout-or-text {
    font-size: 16px;
    color: var(--secondary-color);
    letter-spacing: 0.05em;
}

/* Form blocks */
.checkout-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checkout-block-title {
    font-size: 20px;
    font-weight: 400;
    color: var(--secondary-color);
}

.checkout-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-fields-row {
    display: flex;
    gap: 10px;
}

.checkout-fields-row .checkout-field {
    flex: 1;
}

.checkout-fields-row--3 .checkout-field:first-child {
    flex: 1.2;
}

.checkout-field {
    position: relative;
}

.checkout-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: var(--secondary-color);
    background: transparent;
    outline: none;
    transition: border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.checkout-input::placeholder {
    color: #061A3C94;
}

.checkout-input:focus {
    border-color: var(--primary-color);
}

.checkout-select {
    appearance: auto;
    -webkit-appearance: auto;
    cursor: pointer;
}

.checkout-select.is-placeholder {
    color: #061A3C94;
}

/* Checkbox */
.checkout-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #061A3C94;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

.checkout-checkbox {
    display: none;
}

.checkout-checkbox-box {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.checkout-checkbox:checked + .checkout-checkbox-box {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkout-checkbox:checked + .checkout-checkbox-box::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    display: block;
}

/* Payment method */
.checkout-payment-options {
    border: 1.5px solid #00000024;
    border-radius: 10px;
    overflow: hidden;
}

.checkout-payment-option {
    border-bottom: 1.5px solid #00000024;
}

.checkout-payment-option:last-child {
    border-bottom: none;
}

.checkout-payment-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    user-select: none;
}

.checkout-payment-option.is-active .checkout-payment-option-header {
    background: #2956A114;
}

.checkout-radio-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--secondary-color);
    font-weight: 400;
}

.checkout-radio {
    display: none;
}

.checkout-radio-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease;
}

.checkout-radio:checked + .checkout-radio-dot {
    border-color: var(--primary-color);
}

.checkout-radio:checked + .checkout-radio-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    display: block;
}

.checkout-card-icons {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.checkout-paypal-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.checkout-payment-fields {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1.5px solid #e5e7eb;
    background: #f8f9fb;
}

/* Pay button */
.checkout-pay-btn {
    width: 100%;
    padding: 18px 24px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease;
    letter-spacing: 0.01em;
}

.checkout-pay-btn:hover {
    background: var(--primary-color-hover);
}

.checkout-express-logo {
    height: 26px;
    width: auto;
    object-fit: contain;
}

.checkout-paypal-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.checkout-pay-icon {
    width: 22px;
    height: 22px;
}

.checkout-form-divider {
    height: 1px;
    background: #e5e7eb;
}

/* Footer links */
.checkout-footer-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: -5px;
}

.checkout-footer-links a {
    font-size: 16px;
    font-weight: 300;
    color: #061A3C94;
    text-decoration: none;
    transition: color 0.15s ease;
}

.checkout-footer-links a:hover {
    color: var(--secondary-color);
}

.checkout-footer-links span {
    font-size: 13px;
    color: #d1d5db;
}

/* Order summary */
.checkout-summary-heading {
    display: none;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 22px;
}

.checkout-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 24px;
}

.checkout-summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.checkout-summary-img-wrap {
    position: relative;
    flex-shrink: 0;
    width: 78px;
    height: 86px;
}

.checkout-summary-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #A6D8FF;
    border-radius: 10px;
    padding: 6px;
}

.checkout-summary-qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-summary-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-summary-name {
    font-size: 22px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 3px;
}

.checkout-summary-desc {
    font-size: 18px;
    color: #4E545E;
    font-weight: 300;
}

.checkout-summary-price {
    font-size: 24px;
    font-weight: 400;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.checkout-summary-divider {
    height: 1px;
    background: #00000024;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    color: var(--secondary-color);
}

.checkout-summary-shipping-msg {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 300;
}

.checkout-summary-total {
    font-size: 24px;
    font-weight: 500;
}

/* ── Outline button variants ──────────────────────────────── */
.btn-outline-dark {
    background: transparent;
    border: 1.5px solid #061A3C;
    color: #061A3C;
    padding: 13px 26px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.btn-outline-dark:hover {
    background: #061A3C;
    color: #ffffff;
}
.btn-outline-secondary {
    background: transparent;
    border: 1.5px solid #e5e7eb;
    color: #061A3C;
    padding: 13px 26px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}
.btn-outline-secondary:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* ── 404 Error Page ───────────────────────────────────────── */
.error-404-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}
.error-404-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}
.error-404-number {
    font-size: 160px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.12;
    margin-bottom: -16px;
    letter-spacing: -4px;
}
.error-404-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}
.error-404-desc {
    font-size: 17px;
    color: #4E545E;
    max-width: 420px;
    margin-bottom: 40px;
    line-height: 1.6;
}
.error-404-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ======================================================
    Dealers Policy Section
=======================================================*/
.dealers-policy-grid {
    display: flex;
    gap: 32px;
}
.dealers-policy-card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgb(0 0 0 / 1%);
}
.dealers-policy-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-lighter);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.dealers-policy-icon img {
    width: 28px;
    height: 28px;
}
.dealers-policy-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}
.dealers-policy-card p {
    font-size: 16px;
    color: #4E545E;
    line-height: 1.65;
    margin: 0;
}

/* ─── Homepage Video Modal ─────────────────────────────────────────────────── */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 4, 19, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.video-modal {
    position: relative;
    width: 100%;
    max-width: 960px;
    transform: translateY(24px);
    transition: transform 0.35s ease;
}

.video-modal-overlay.is-open .video-modal {
    transform: translateY(0);
}

.video-modal-player {
    width: 100%;
    border-radius: 16px;
    display: block;
    background: #000;
}

.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.video-modal-close:hover {
    opacity: 1;
}

/* ─── Gallery Lightbox ────────────────────────────────────────────────────── */
[data-lightbox] {
    cursor: pointer;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}

.gallery-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 80px 100px;
    box-sizing: border-box;
}

.gallery-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.2s ease;
    display: block;
}

.gallery-lightbox-img.is-switching {
    opacity: 0;
}

.gallery-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s;
    z-index: 2;
}

.gallery-lightbox-close:hover { opacity: 1; }

.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 40px;
    line-height: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: opacity 0.2s, background 0.2s;
    z-index: 2;
}

.gallery-lightbox-prev { left: 24px; }
.gallery-lightbox-next { right: 24px; }

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox-prev:disabled,
.gallery-lightbox-next:disabled {
    opacity: 0.2;
    cursor: default;
}

.gallery-lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .gallery-lightbox-stage {
        padding: 64px 16px 80px;
    }

    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .gallery-lightbox-prev { left: 8px; }
    .gallery-lightbox-next { right: 8px; }

    .gallery-lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 32px;
    }
}
