/* ==========================================================================
   00. CORE BRAND FONTS (Lexend Deca - Weights 100-900)
   ========================================================================== */

/* 100 - Thin */
@font-face {
    font-display: swap;
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 100;
    src: url('/assets/fonts/main-font/lexend-deca-v22-latin_latin-ext-100.woff2') format('woff2');
}

/* 200 - Extra Light */
@font-face {
    font-display: swap;
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 200;
    src: url('/assets/fonts/main-font/lexend-deca-v22-latin_latin-ext-200.woff2') format('woff2');
}

/* 300 - Light */
@font-face {
    font-display: swap;
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 300;
    src: url('/assets/fonts/main-font/lexend-deca-v22-latin_latin-ext-300.woff2') format('woff2');
}

/* 400 - Regular */
@font-face {
    font-display: swap;
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 400;
    src: url('/assets/fonts/main-font/lexend-deca-v22-latin_latin-ext-regular.woff2') format('woff2');
}

/* 500 - Medium */
@font-face {
    font-display: swap;
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 500;
    src: url('/assets/fonts/main-font/lexend-deca-v22-latin_latin-ext-500.woff2') format('woff2');
}

/* 600 - Semi Bold */
@font-face {
    font-display: swap;
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 600;
    src: url('/assets/fonts/main-font/lexend-deca-v22-latin_latin-ext-600.woff2') format('woff2');
}

/* 700 - Bold */
@font-face {
    font-display: swap;
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 700;
    src: url('/assets/fonts/main-font/lexend-deca-v22-latin_latin-ext-700.woff2') format('woff2');
}

/* 800 - Extra Bold */
@font-face {
    font-display: swap;
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 800;
    src: url('/assets/fonts/main-font/lexend-deca-v22-latin_latin-ext-800.woff2') format('woff2');
}

/* 900 - Black */
@font-face {
    font-display: swap;
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 900;
    src: url('/assets/fonts/main-font/lexend-deca-v22-latin_latin-ext-900.woff2') format('woff2');
}

/* =======================================================================
   🏁 GLOBAL TYPOGRAPHY FALLBACK STACK
   ======================================================================= */
body {
    font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}


.hsection2 #view_cart_product svg:hover{
    fill: #2f7ec4;
}


.hsection2 .addtocart{
    width: 170px !important;
}

.calc-price.btn-outline-success:hover {
    background-color: transparent !important; /* Prevents green background */
    color: #16a34a !important;
    border-color: #16a34a !important;
}
.addQty, .subtractQty {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
;
}
.addQty:hover, .subtractQty:hover {
    /* background-color: transparent !important; */
    color: var(--bs-btn-hover-color) !important;
    /* border-color: #16a34a !important; */
    background-color: var(--bs-btn-hover-bg) !important;
    border-color: var(--bs-btn-hover-border-color);
}

.addQty:hover svg, .subtractQty:hover svg{
    fill: var(--bs-btn-hover-color) !important;  
}
 
.ui-datepicker-today .ui-state-default{background: rgb(47, 126, 196)!important;}
  .qtyblock:hover,
  .qtyblock:active,
  .qtyblock:focus{
    background:transparent;
  }
#toggleButton {
  display: inline-block !important;
}

.qtyblock, 
.qtyblock.active, 
.qtyblock.show, 
.qtyblock:first-child:active, 
.qtyblock:active{
      background-color: transparent;
    background: transparent;
}
.subtractQty{
    border-right-color: transparent;
}
.viewCartbtn #view_cart_product{
    margin-left: 12px;
    /* font-size: 14px; */
}
.viewCartbtn #view_cart_product svg{
    width: 20px;
}
.hsection2 .addtocarEnquiryBlock button,
.hsection2 .addtocarEnquiryBlock a{
    width: 100% !important;
    padding-right: 0;
    padding-left: 0;
}
@media (max-width: 1200px) {

    /* Extra-large screens */
    .hsection1 {
        width: 100%;
    }
    .hsection2 {
        width: 100%;
    }
}

@media (max-width: 800px) {
    .cartbuttons{
        flex-direction: column!important;
    }
    .calc-price{
        margin-top: 80px!important;
    }
    .cartbuttons > div{
        width: 100%;
    }
    .addtocart{
        width: 100%!important;
    }
    .quantity-dropdown{
        width: 100%;
/*        left: -289px!important;*/
    }
    .cartbodyitems{
        left: -289px!important;
    }
    .mainhrline{
        display: none !important;
    }

}

.qtyicons svg{
    height: 16px;
    width: 16px;
}

.addtocart{
    position: relative; width: 150px; transition: 600ms all;
}
.addtocart:hover{
    background-color: var(--bs-light-bg-subtle) !important;
}

.items-button{
    width: 100%;
}

.custom_review p {
            padding: 0 !important;
            margin: 0 !important;
        }

        .bline-wrapper {
            width: fit-content;
            position: relative;
        }

        .nav-item {
            /*        width: fit-content!important;*/
        }

        .bline {
            width: 0%;
            background-color: #000;
            height: 2px;
            transition: width .3s ease-in-out !important;
            position: absolute;
            bottom: 6px;
        }

        .custom-link {
            padding: 10px 0px !important;
            /*        margin: 0px 10px 0px 0px!important;*/
        }

        .custom-link:hover+.bline {
            width: 100% !important;


        }

        @media(min-width: 1200px) {
            .custom-ul {
                display: flex;
                gap: 24px;
            }
        }

        @media (min-width: 576px) {

            /* Small screens */
            .feedback-text {
                font-size: 14px;
            }
        }

        @media (min-width: 768px) {

            /* Medium screens */
            .feedback-text {
                font-size: 16px;
            }
        }

        @media (min-width: 992px) {

            /* Large screens */
            .feedback-text {
                font-size: 16px;
            }
        }

        @media (min-width: 1200px) {

            /* Extra-large screens */
            .feedback-text {
                font-size: 14px;
            }
        }

        @media (max-width: 600px) {
            .imagescollection {
                /* flex-direction: column; */
            }

            .imagescollection img {
                width: 100% !important;
                aspect-ratio: 3 / 4.3;
            }
            .imagescollection.btm-images-collec img{
                aspect-ratio: 3 / 2;
            }

            #current-currency,
            #arrowIcon {
                display: none;
            }
            .navbar { 
                min-height: 89px;
            }
            .blogsection figure img{
                aspect-ratio: 4 / 2.5;
                width: 100%;
                object-fit: cover;
            }
            
        }

        .goverlay {
            background: rgba(0, 0, 0, 0.8) !important;
        }

        .mask {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: rgba(0, 0, 0, .6);
            text-align: center;
            opacity: 0;
            filter: alpha(opacity=0);
            overflow: hidden;
            -webkit-transition: opacity linear .2s;
            -moz-transition: opacity linear .2s;
            -ms-transition: opacity linear .2s;
            -o-transition: opacity linear .2s;
            transition: opacity linear .2s;
            text-align: center;


        }

        .mask .triangle {
            border-color: transparent #3f85c2 transparent transparent;
            border-color: transparent #3f85c2 transparent transparent;
            font-size: 20px;
            border-width: 0 35px 35px 0;
            width: 35px !important;
            position: absolute;
            right: 0;
            top: -50px;
            -webkit-transition: top linear .2s;
            -moz-transition: top linear .2s;
            -ms-transition: top linear .2s;
            -o-transition: top linear .2s;
            transition: top linear .2s;
            height: 0;
            border-style: solid;
            display: inline !important;
        }

        .mask .triangle i,
        .mask a {
            color: #fff;
        }

        .mask-wrapper {
            position: relative;
            display: block;
        }

        .mask-wrapper:hover .mask {
            opacity: 1;
        }

        .mask-wrapper:hover .triangle {
            top: 0px;
        }

        .mask-wrapper .mask i {
            font-size: 16px;
            position: absolute;
            right: 0;
            top: 0px;
            left: 18px;
        }



        /* @media (min-width: 1200px) {
            .col-xl-2.custom_review  {
                width: 20%;
                max-width: 20%;
            }
        } */


.innerslides{
    display: flex;
    align-items: center;
    width: 628px !important;
}

.text-wrapper {
  flex: 1;
  overflow: hidden;
  text-align: center;
}
.gap-5 {
    gap: 2rem !important;
}
.text-link:hover {
    background-size: 100% 2px;
    text-decoration: none;
}
.text-track {
  display: flex;
  transition: transform 1.7s ease-in-out;
}
[aria-expanded=true] .chevron-down {
    transform: rotate(-180deg);
}
.chevron-down {
    display: inline-block;
    transition: .5s ease-in-out;
}
.pt-5 {
    padding-top: 2rem !important;
}
.text-slide {
  min-width: 100%;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow {
    border: none;
    cursor: pointer;
    font-size: 11px;
    background-color: #dad7d2;
    border-radius: 50px;
    padding: 0;
    height: 20px;
    width: 20px;
}
.arrow svg{
    margin-top: -2px;
}
.arrow:hover {
  color: #000;
}

.close-btn { 
        font-weight: 200;
    color: #000;
    position: absolute;
    right: 0;
    font-size: 23px;
  background: none;
  border: none;  
  cursor: pointer;
  padding: 0 12px;
  padding-right: 0 !important;
}

.close-btn:hover {
  color: #000;
}
.bgslidebar{
     background: #ecebe9;

}
.topbar-slider {
   height: 36.1px;     
  background: #ecebe9;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #555;
  position: relative;
  overflow: hidden;
justify-content: center;
}
@media (min-width: 992px) {
     

    .close-btn {
        right: 0;
        top: 0px;
    }
}
@media (max-width: 768px) {
       .innerslides{
        width: auto !important;
    }
    .arrow.right{
        position: absolute;
        right: 0;
    }
    .close-btn{
        bottom: 0;
    }
    .arrow.left{
        position: absolute;
        left: 0;
    }
    
     .topbar-slider {
    height: auto !important;
    padding: 6px 0;
           align-items: center;
  }

  .text-wrapper {
    overflow: visible !important;
  }

  .text-track {
    /* align-items: stretch; */
  }

  .text-slide {
    white-space: normal !important;
    min-width: 100%;
    text-align: center;
    line-height: 2.3;
    padding: 0;
  }

  
.text-slide {
  min-height: 2.6em; /* enough for 2 lines */
}
}

.navbar {
    background-color: var(--bs-body-bg);
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    padding: .5rem;
}

.currencydropdown svg {
    margin-left: 8px;
    position: relative;
    top: -1px;
    transform: translate(.5px, 1.5px);
}
.currencydropdown svg, .qtyicons svg {
    height: 16px;
    width: 16px;
}
.navbar .dropdown .dropdown-toggle:after{
    display: none;
}
.navbar .dropdown .dropdown-toggle svg {
    width: 16px;
    height: 16px;
    color: var(--bs-gray-500);
    line-height: 1.5rem;
    margin-left: .625rem;
    border: 0;
    vertical-align: .255em;
    float: right;
    display: inline-block;
    margin-top: 4px;
}
@media (max-width: 1200px) and (min-width: 990px) {
    .imagescollection img{
        width: 100%;
    }
    .mediumSettingLeft{
        width: 70%;
    }
    .mediumSettingRight{
        width: 25%;
        padding: 0;
    }
    .quantity-dropdown{
        width: 72%;
    }
    .viewCartbtn #view_cart_product {
        margin-left: 1px;
    }
}


@media (max-width: 436px) {
.navbar .navbar-brand img{
        width: 147px;
    height: auto;
    }
}

@media (max-width: 400px) {
    
    .navbar .navbar-toggler svg{
        width: 18px;
        height: 18px;
    }
    .navbar .navbar-toggler{
        padding: 4px 5px 4px;
        line-height: 0; 
    }
    .navbar .navbar-brand img{
        width: 127px;
    height: auto;
    }
     .navbar .navbar-brand{
        margin-left: 16px !important;
    }
    .dropdown-menu-end.cartbodyitems  {
        right: -68px;
        left: auto !important;
    }
    .navbar>.container{
        padding: 0 5px;
    }
    
}

@media (max-width: 350px) {
.gap-4.maindropdownnav {
        gap: 4px !important;
    }
}
@media (max-width: 600px) {
    .navbar {
        min-height: auto;
    }
}
@media (max-width: 990px) {
    .navbar {
        /* padding: .75rem .5rem; */
    }
}

/* ========================================== */
/* --- GLIGHTBOX PREMIUM OVERRIDES ---------- */
/* ========================================== */

/* 1. A lighter, sheer background (forces override) */
body .glightbox-container .goverlay {
    background: rgba(0, 0, 0, 0.7) !important; 
}

/* 2A. The OPENING speed (Snappier) */
body .gzoomIn, body .gfadeIn {
    animation-duration: 0.5s !important; 
}

/* 2B. The CLOSING speed (Smooth and relaxed) */
body .gzoomOut, body .gfadeOut {
    animation-duration: 0.9s !important; 
}

/* ========================================== */
/* --- MODERN IMAGE HOVER EFFECT (V2) ------- */
/* ========================================== */

/* Set up the container */
.modern-hover {
    position: relative;
    display: block;
    overflow: hidden; 
    border-radius: 6px; 
}

/* 1. The Dark Overlay Tint */
.modern-hover::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.25); /* Slightly lighter tint so the white pops more */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

/* 2. The White Circle with Blue Plus */
.modern-hover::after {
    content: '+';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8); 
    width: 40px;  /* Your custom 40px size */
    height: 40px; /* Your custom 40px size */
    background: #ffffff;
    color: #0d6efd; 
    font-size: 1.8rem; /* Scaled down slightly to fit the 40px circle */
    font-weight: 400;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease; 
    pointer-events: none;
    z-index: 2;

    /* -- THE ART DIRECTOR TWEAKS -- */
    line-height: 0;           /* Kills the font's weird invisible spacing */
    padding-bottom: 3px;      /* The micro-nudge. Change to 2px or 4px if it's still slightly off to your eye! */
    backface-visibility: hidden; /* Forces the graphics card to run it so it doesn't jitter */
    -webkit-font-smoothing: antialiased; /* Makes the plus sign look razor sharp */
}
/* 3. Show both on hover */
.modern-hover:hover::before {
    opacity: 1;
}
.modern-hover:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); /* Pops to full size */
}

/* ========================================== */
/* --- CUSTOM STAR RATING SYSTEM ------------ */
/* ========================================== */
.ratingstars {
    font-size: 2rem;       
    color: #dad7d2;          
    cursor: pointer;
    line-height: 1;
}

.ratingstars .star::before {
    content: '★';          /* Draws a perfect star */
    transition: color 0.2s ease;
}

/* When a star is clicked or hovered, turn it gold! */
.ratingstars .star.active::before,
.ratingstars .star.hover::before {
    color: #ffc107;        /* Bootstrap Gold/Warning color */
}

/* ========================================== */
/* --- RESTORE FLOATING LABELS -------------- */
/* ========================================== */

/* 1. Force the boxes to be tall enough for the label to float inside */
#reviewModal .form-floating > .form-control {
    height: calc(3.5rem + 2px) !important;
    padding-top: 1.625rem !important;
    padding-bottom: 0.625rem !important;
}

/* 2. Keep the textarea nice and tall for typing */
#reviewModal .form-floating > textarea.form-control {
    height: 125px !important;
}

/* 3. Ensure the label starts comfortably away from the left edge when resting */
#reviewModal .form-floating > label {
    padding: 1rem 1.2rem !important; /* Increased from 0.75 to 1.2 for resting breathing room */
    z-index: 5 !important;
    transition: all 0.2s ease-in-out !important;
}

/* 4. Lock the risen label into the exact same vertical track (No diagonal jumping!) */
#reviewModal .form-floating > .form-control:focus ~ label,
#reviewModal .form-floating > .form-control:not(:placeholder-shown) ~ label,
#reviewModal .form-floating > textarea.form-control:focus ~ label,
#reviewModal .form-floating > textarea.form-control:not(:placeholder-shown) ~ label {
    margin-left: 0.3rem !important;   /* Nudges the white mask container to protect the border line */
    padding-left: 0.9rem !important;  /* 0.3rem margin + 0.9rem padding = 1.2rem TOTAL horizontal track! */
    color: #4b5563 !important;        /* Active accent color */
}


/* ========================================== */
/* --- PREMIUM INPUT BOX ANIMATIONS --------- */
/* ========================================== */

/* 1. Make the default boxes feel a bit more substantial */
#reviewModal .form-control {
    border: 2px solid #e2e8f0; 
    transition: all 0.3s ease-in-out;
}

/* 2. The "Rising" glow effect when clicked */
#reviewModal .form-control:focus {
    border-color: #4b5563; /* You can change this hex to match your btn-cpsblue! */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08) !important; 
    transform: translateY(-1px); /* A literal 1-pixel lift */
}

/* ========================================== */
/* --- FRIENDLY VALIDATION (AMBER, NOT RED) - */
/* ========================================== */

/* Change the angry red borders to Amber */
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #f59e0b !important; /* Premium Amber/Orange */
}

/* Change the glowing focus ring on errors to Amber */
.was-validated .form-control:invalid:focus,
.form-control.is-invalid:focus {
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.15) !important;
}

/* Change the error text to Amber */
.invalid-feedback,
.invalid-feedback.for-stars {
    color: #f59e0b !important; 
    font-weight: 500;
}

/* ==========================================================================
   🟢 REVIEW MODAL: SUCCESS VALIDATION COAT (GREEN OUTLINES)
   ========================================================================== */

/* Turn the text box border green the instant its HTML rules are satisfied */
#reviewModal .form-control:valid {
    border-color: #16a34a !important; /* Premium Success Green */
}

/* Give it a beautiful, glowing soft green halo when focused and valid */
#reviewModal .form-control:valid:focus {
    border-color: #16a34a !important;
    box-shadow: 0 8px 16px rgba(22, 163, 74, 0.12) !important;
    transform: translateY(-1px);
}

/* =======================================================================
   🏁 MASTER TEMPLATE: RESPONSIVE ARCHITECTURAL PRODUCT GALLERY 
   ======================================================================= */
.gallery-matrix-row {
    display: flex;
    flex-wrap: nowrap; /* 📱 Forces items to stay locked on a single horizontal row on mobile */
    gap: 12px;
    margin-bottom: 12px;
    justify-content: start;
}

/* 📱 STAGE 1 - MOBILE VIEWPORTS: Proportional fluid calculations squeeze to fit any screen */
.gallery-tile-portrait {
    width: calc((100% - 24px) / 3); /* Splits row into thirds perfectly matching the 12px gaps */
    aspect-ratio: 1 / 1.45;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-tile-landscape {
    width: calc((100% - 12px) / 2); /* Splits row into halves perfectly matching the central 12px gap */
    aspect-ratio: 1.4 / 1;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* 🖥️ STAGE 2 - DESKTOP PROUD VIEWPORTS: Restores your preferred sizes when space allows */
@media (min-width: 768px) {
    .gallery-matrix-row {
        flex-wrap: wrap; /* Safe wrapping rule execution on wider screens */
    }
    .gallery-tile-portrait {
        width: 170px; /* ◄ Your chosen "Proud & Large" width preset */
    }
    .gallery-tile-landscape {
        width: 261px; /* ◄ Your exact mathematically balanced matching width */
    }
}

/* Universal Image Rendering Mechanics */
.gallery-tile-portrait img, .gallery-tile-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =======================================================================
   📅 ENQUIRY MODAL: CALENDAR TODAY HIGHLIGHT BRAND ALIGNMENT
   ======================================================================= */
.ui-datepicker-today .ui-state-default { 
    background: rgb(47, 126, 196) !important; 
    color: #ffffff !important;
}


/* =======================================================================
   📅 Taken from customtheme possible input fields yellow errors
   ======================================================================= */

.is-invalid {
  border-color: #eab308 !important; /* Your custom yellow border */
  background-image: none!important;
}

.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(234, 179, 8, 0.25) !important;
  border-color: #eab308 !important;
}

.invalid-feedback {
  color: #eab308 !important; /* Error message text color */
}

.form-control.is-invalid, .was-validated .form-control:invalid{
  border-color: #eab308 !important;
  background-image: none!important;
}
.form-select.is-invalid, .was-validated .form-select:invalid{
  border-color: #eab308 !important;
  background-image: none!important;
}

/* ==========================================================================
   🛒 PERMANENT DROPDOWN & FORM READABILITY OVERRIDES
   ========================================================================== */

/* Forces all dropdown selectors to be perfectly crisp, dark, and readable */
select.form-select,
select.form-control,
#deliveryDestination {
    font-family: 'Lexend Deca', sans-serif !important;
    font-weight: 500 !important; /* Medium weight (Change to 600 if you want it even bolder) */
    color: #1a1916 !important;    /* Deep high-contrast tone so it doesn't look washed out */
}

/* Ensures the individual country options inside the dropdown match the weight */
select.form-select option,
select.form-control option {
    font-weight: 500 !important;
    color: #1a1916 !important;
}

/* ==========================================================================
   🛒 CHECKOUT FLOW, CALENDAR, & STEP CUSTOMISATION STYLES
   ========================================================================== */

/* 🏁 Step Tracker & Validation Indicators */
.stepcheck {
    font-size: 40px;
    position: absolute;
    right: 0px;
    color: rgb(22, 163, 74);
}

.hide {
    display: none;
}

.stepcheckmain.completed {
    background: #333 !important;
}

/* 📋 Form Validation Overrides */
.form-control.is-valid,
.was-validated .form-control:valid,
.form-select.is-valid,
.was-validated .form-select:valid {
    background-image: none !important;
    border-color: inherit !important;
    padding-right: 0.75rem;
    box-shadow: none !important;
}

.form-control.is-invalid, 
.was-validated .form-control:invalid {
    background-image: none !important;
}

.form-control.is-valid:focus, 
.was-validated .form-control:valid:focus {
    box-shadow: var(--bs-box-shadow) !important;
}

/* 🎛️ Custom Form Switches & Buttons */
.form-check-input.step1switch:checked,
.form-check-input.step2switch:checked,
.form-check-input.step3switch:checked,
.form-check-input.step4switch:checked {
    background-color: rgb(47, 126, 196) !important;
    border-color: rgb(47, 126, 196) !important;
}

#flexRadioDefault1 {
    background-color: #1a1916 !important;
}

.shadowclass {
    border: none;
    box-shadow: var(--bs-box-shadow) !important;
}

.form-check.form-switch, 
.form-check-label {
    cursor: pointer !important;
}

/* Fixed: Cleaned up duplicate triple-hover typo */
.form-check.form-switch:hover {
    cursor: pointer;
    color: #333;
}

.yesnobtn {
    border: 1px solid #ccc; /* Slightly softer border for unselected state */
    border-radius: 4px;
    padding: 6px 20px;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.2s all ease-in-out;
}

/* Selected state and hover state turned into Brand Blue */
.yesnobtn:hover,
.yesornoactive {
    background: rgb(47, 126, 196) !important;
    border-color: rgb(47, 126, 196) !important;
    color: #ffffff !important;
}
.country option:hover {
    background-color: #007bff;
    color: #fff;
}

.hovereffect {
    cursor: pointer;
    transition: 0.5s all;
}

.hovereffect:hover {
    color: #b3b3b3;
}

/* ==========================================================================
   📅 JQUERY UI DATEPICKER CUSTOM COLOURS (Applies Site-Wide)
   ========================================================================== */
.ui-datepicker .ui-datepicker-header {
    background: #dad7d2 !important;
}

.ui-state-disabled {
    background: rgb(218, 215, 210) !important;
}

.ui-state-default {
    background: #ffffff !important;
}

.ui-datepicker-today .ui-state-default {
    background: rgb(47, 126, 196) !important;
}

.ui-state-default:hover {
    background: rgb(218, 215, 210) !important;
}

.ui-state-active {
    background: rgb(47, 126, 196) !important;
}

.ui-datepicker-calendar {
    background: #fff !important;
}

/* 🗓️ Calendar Input Box Wrappers */
.no-edit {
    background-color: #fff;
    cursor: pointer;
}

.no-edit:focus {
    outline: none;
}

.calenderwrapper {
    position: relative;
}

.calendericon {
    position: absolute;
    right: 17px;
    top: 17px;
    cursor: pointer;
}

/* ==========================================================================
   🧰 TOOLTIPS & FILE UPLOAD PREVIEWS
   ========================================================================== */
.qmarktooltip {
    position: absolute;
    right: 75px; 
    top: -11px;
}

#previews {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.dz-remove {
    position: absolute !important;
    top: -22px !important;
    display: block;
    width: 100%;
}

.fileerror {
    padding: 10px 20px !important;
    display: none;
}

/* ==========================================================================
   📱 RESPONSIVE MOBILE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 800px) {
    .pbar1 {
        display: none;
    }
    .pbar1.mobile {
        display: flex !important;
    }
    .qmarktooltip {
        position: absolute;
        right: 50px; 
        top: -8px;
    }
    .form-check-label {
        font-size: 14px !important;
    }
    .progress-bar {
        font-size: 10px !important;
    }
    .scart-pname {
        flex-direction: column !important;
    }
}

/* ==========================================
   🧩 GLOBAL HEADER & LOGO STYLES
   ========================================== */
img[alt="Header Logo"] { 
    color: transparent !important; 
    text-indent: -10000px !important; 
    font-size: 0 !important; 
    width: 180px; 
    height: 57px;
    display: inline-block;
}

/* ==========================================
   💳 CARD SUCCESS PAGE OVERRIDES
   ========================================== */
#payment-form {
    background: white;
    border-radius: 10px;
}

#card-element {
    background: #f7f7f7;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 10px;
    margin-bottom: 20px;
}

#payment-button {
    background-color: #5469d4;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.form-label {
    color: #918c87;
}

.stepcheck {
    font-size: 40px;
    position: absolute;
    right: 0px;
    color: rgb(22, 163, 74);
}

.hide {
    display: none;
}

.form-control.is-valid,
.was-validated .form-control:valid {
    background-image: none !important;
    border-color: inherit !important;
    padding-right: 0.75rem;
    box-shadow: none !important;
}

.form-check-input.step1switch:checked,
.form-check-input.step2switch:checked,
.form-check-input.step3switch:checked {
    background-color: rgb(47, 126, 196) !important;
    border-color: rgb(47, 126, 196) !important;
}

#flexRadioDefault1 {
    background-color: #1a1916 !important;
}

.form-control.is-valid:focus, 
.was-validated .form-control:valid:focus {
    box-shadow: var(--bs-box-shadow) !important;
}

.form-check.form-switch, 
.form-check-label {
    cursor: pointer !important;
}

.form-check.form-switch:hover {
    cursor: pointer;
    color: #333;
}

.stepcheckmain.completed {
    background: #333 !important;
}

.yesnobtn {
    border: 1px solid #333;
    border-radius: 4px;
    padding: 4px 18px;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.5s all;
}

.yesnobtn:hover,
.yesornoactive {
    background: #333333;
    color: #fff;
}

.country option:hover {
    background-color: #007bff;
    color: #fff;
}

.hovereffect {
    cursor: pointer;
    transition: 0.5s all;
}

.hovereffect:hover {
    color: #b3b3b3;
}

/* Responsive Overrides */
@media (max-width: 800px) {
    .pbar1 {
        display: none;
    }
    .pbar1.mobile {
        display: flex !important;
    }
}

/* ==========================================
   🛒 CHECKOUT WIZARD FORM STYLES
   ========================================== */
.stepcheck {
    font-size: 40px;
    position: absolute;
    right: 0px;
    color: rgb(22, 163, 74);
}

.hide {
    display: none;
}

.form-control.is-valid,
.was-validated .form-control:valid {
    background-image: none !important;
    border-color: inherit !important;
    padding-right: 0.75rem;
    box-shadow: none !important;
}

.form-check-input.step1switch:checked,
.form-check-input.step2switch:checked,
.form-check-input.step3switch:checked,
.form-check-input.step4switch:checked {
    background-color: rgb(47, 126, 196) !important;
    border-color: rgb(47, 126, 196) !important;
}

#flexRadioDefault1 {
    background-color: #1a1916 !important;
}

.shadowclass {
    border: none;
    box-shadow: var(--bs-box-shadow) !important;
}

.form-control.is-valid:focus, 
.was-validated .form-control:valid:focus {
    box-shadow: var(--bs-box-shadow) !important;
}

.form-check.form-switch, 
.form-check-label {
    cursor: pointer !important;
}

.form-check.form-switch:hover {
    cursor: pointer;
    color: #333;
}

.stepcheckmain.completed {
    background: #333 !important;
}

.yesnobtn {
    border: 1px solid #333;
    border-radius: 4px;
    padding: 4px 18px;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.5s all;
}

.yesnobtn:hover,
.yesornoactive {
    background: #333333;
    color: #fff;
}

.country option:hover {
    background-color: #007bff;
    color: #fff;
}

.hovereffect {
    cursor: pointer;
    transition: 0.5s all;
}

.hovereffect:hover {
    color: #b3b3b3;
}

/* Responsive UI Adjustments */
@media (max-width: 800px) {
    .pbar1 {
        display: none;
    }
    .pbar1.mobile {
        display: flex !important;
    }
}

/* ==========================================
   📦 ORDER DETAILS, CALENDAR & DROPZONE STYLES
   ========================================== */
.stepcheck {
    font-size: 40px;
    position: absolute;
    right: 0px;
    color: rgb(22, 163, 74);
}

.hide {
    display: none;
}

.form-control.is-valid,
.was-validated .form-control:valid,
.form-select.is-valid, 
.was-validated .form-select:valid {
    background-image: none !important;
    border-color: inherit !important;
    padding-right: 0.75rem;
    box-shadow: none !important;
}

.form-check-input.step1switch:checked,
.form-check-input.step2switch:checked,
.form-check-input.step3switch:checked,
.form-check-input.step4switch:checked {
    background-color: rgb(47, 126, 196) !important;
    border-color: rgb(47, 126, 196) !important;
}

#flexRadioDefault1 {
    background-color: #1a1916 !important;
}

/* ✨ REPLACE IT WITH THIS (Adds the invalid focus overrides): */
.shadowclass,
.form-control.is-valid:focus, 
.was-validated .form-control:valid:focus,
.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
    box-shadow: var(--bs-box-shadow) !important;
}
.shadowclass {
    border: none;
}

.form-check.form-switch, 
.form-check-label {
    cursor: pointer !important;
}

.form-check.form-switch:hover {
    cursor: pointer;
    color: #333;
}

.stepcheckmain.completed {
    background: #333 !important;
}

.yesnobtn {
    border: 1px solid #333;
    border-radius: 4px;
    padding: 4px 18px;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.5s all;
}

.yesnobtn:hover,
.yesornoactive {
    background: #333333;
    color: #fff;
}

.country option:hover {
    background-color: #007bff;
    color: #fff;
}

.hovereffect {
    cursor: pointer;
    transition: 0.5s all;
}

.hovereffect:hover {
    color: #b3b3b3;
}

/* jQuery UI Datepicker Calendar Overrides */
.ui-datepicker .ui-datepicker-header {
    background: #dad7d2 !important;
}

.ui-state-disabled {
    background: rgb(218, 215, 210) !important;
}

.ui-state-default {
    background: #ffffff !important;
}

.ui-datepicker-today .ui-state-default,
.ui-state-active {
    background: rgb(47, 126, 196) !important;
}

.ui-state-default:hover {
    background: rgb(218, 215, 210) !important;
}

.ui-datepicker-calendar {
    background: #fff !important;
}

.no-edit {
    background-color: #fff;
    cursor: pointer;
}

.no-edit:focus {
    outline: none;
}

.calenderwrapper {
    position: relative;
}

.calendericon {
    position: absolute;
    right: 17px;
    top: 17px;
    cursor: pointer;
}

.form-control.is-invalid, 
.was-validated .form-control:invalid {
    background-image: none !important;
}

.qmarktooltip {
    position: absolute;
    right: 75px; 
    top: -11px;
}

/* Dropzone File Upload Previews */
#previews {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.dz-remove {
    position: absolute !important;
    top: -22px !important;
    display: block;
    width: 100%;
}

.fileerror {
    padding: 10px 20px !important;
    display: none;
}

/* Responsive UI Overrides */
@media (max-width: 800px) {
    .pbar1 {
        display: none;
    }
    .pbar1.mobile {
        display: flex !important;
    }
    .qmarktooltip {
        right: 50px; 
        top: -8px;
    }
    .form-check-label {
        font-size: 14px !important;
    }
    .progress-bar {
        font-size: 10px !important;
    }
}

/* ========================================================
   🧱 FLASH-FREE TIMED INPUT SHADOWS
   ======================================================== */
.shadowclass {
    box-shadow: var(--bs-box-shadow) !important;
    transition: box-shadow 0.2s ease-in-out;
}


/* ==========================================
   🖼️ DROPZONE THUMBNAIL RESPONSIVE FIX
   ========================================== */
.dropzone .dz-preview .dz-image img {
    display: block;
    width: 125px;
}

/* ==========================================
   📦 DROPZONE STYLES custom
   ========================================== */

/* Give the preview box a softer, modern look */
.dropzone .dz-preview .dz-image {
    border-radius: 12px;
    border: 2px solid #DAD7D2;
    background: #ECEBE9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* 1. Ensure the preview box acts as the anchor point */
.dropzone .dz-preview {
    position: relative !important;
    overflow: visible !important; /* Prevents the text from getting cut off if pushed too low */
}

/* 2. Pin the Remove link to the bottom (Reinforced with !important) */
.dropzone .dz-preview .dz-remove {
    position: absolute !important;
    bottom: 5px !important;
    top: auto !important;
    left: 0;
    width: 100%;
    text-align: center;
    color: #000000 !important;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
    z-index: 30 !important;
}

/* 3. Keep the hover effect looking sharp (Reinforced) */
.dropzone .dz-preview:hover .dz-image {
    border-color: #b3aca3 !important; /* Forces the blue border to appear */
    box-shadow: 0 6px 12px rgba(49, 120, 214, 0.15) !important; /* Forces the blue shadow */
}

/* Hide Dropzone progress bar for manual upload queues */
.dropzone .dz-preview .dz-progress {
    display: none !important;
}

/* =======================================================================
   🎯 THE SAFEST TIMER RESTORATION FIX
   ======================================================================= */

#description:focus:not(.shadowclass) {
    box-shadow: none !important;
    transition: box-shadow 0.2s ease-in-out;
}

/* =======================================================================
   🖼️ COMPACT DROPZONE SKIN (With Internal Text Protection)
   ======================================================================= */
.dropzone {
    height: auto !important; /* Allows container to grow naturally if needed */
    min-height: 115px !important; /* Slightly deeper footprint to cradle the text */
    padding: 12px 15px !important; 
    border: 2px dashed #dee2e6 !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Fix the internal thumbnail wrapper height */
.dropzone .dz-preview {
    margin: 5px !important; 
    width: 100px !important;
    height: 125px !important; /* 🌟 FORCES the preview box tall enough to contain text */
    position: relative !important;
    display: inline-block !important;
}

/* Ensure the thumbnail image sits neatly at the top */
.dropzone .dz-preview .dz-image {
    width: 100px !important; 
    height: 100px !important;
    border-radius: 6px !important;
}

/* Align the "Remove" text safely beneath the image inside the border */
.dropzone .dz-preview .dz-remove {
    display: block !important;
    margin-top: 4px !important;
    font-size: 0.75rem !important;
    text-align: center !important;
    text-decoration: none !important;
    position: relative !important; 
    z-index: 30 !important; 
}

/* Tweak the central "Drop files here" text prompt */
.dropzone .dz-message {
    margin: 1em 0 !important;
    font-size: 0.9rem !important;
    color: #6c757d !important;
}

/* =======================================================================
   💳 SECURE PAYMENT PAGE CONTAINER (Protected Sandbox Zone)
   ======================================================================= */

.payment-page #payment-form {
    background: white;
    border-radius: 10px;
}

.payment-page #card-element {
    background: #f7f7f7;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.payment-page #payment-button {
    background-color: #5469d4;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* 🛑 Stripe Real-Time Error Message Box */
.payment-page #error-message {
    color: #ff0000;
    margin-top: 14px;
}

/* 🧼 Quarantined Generic Label (Prevents text gray-out on other forms) */
.payment-page .form-label {
    color: #918c87;
}

/* =======================================================================
   Shopping cart page country dropdown
   ======================================================================= */


<style type="text/css">
        @media (max-width: 800px) {
            .scart-pname{
                flex-direction: column!important;
            }
        }
        h5.chooseHeading{
            font-size: 19px;
            font-weight: 600;
            margin-bottom: 15px;
        }
    </style>

/* =======================================================================
   🏁 PRODUCT SPECIFICATION FEATURE BANNER COMPONENT
   ======================================================================= */
@media (max-width: 991.98px) {
    .check-border-mobile { 
        border-bottom: 1px solid #dee2e6 !important; 
        border-right: 0 !important; 
        padding-bottom: 1.25rem; 
        margin-bottom: 0.25rem; 
    }
}

.custom-trim-toggle:hover { 
    background-color: #f8f9fa !important; 
    border-color: #c8cbcf !important; 
    color: #212529 !important; 
}

.custom-trim-toggle:focus { 
    box-shadow: none !important; 
}

.trim-swatch-tile {
    display: inline-flex;
    align-items: stretch;
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px;
    overflow: hidden;
    min-width: 155px;
    height: 38px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: all 0.2s ease-in-out;
    user-select: none;
}
    
.trim-swatch-tile:hover {
    border-color: #b8c0c7 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important;
}
    
.swatch-color-split {
    width: 42px;
    flex-shrink: 0;
}
    
.swatch-text-label {
    display: flex;
    align-items: center;
    padding-left: 12px;
    padding-right: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151 !important;
    white-space: nowrap;
}

/* =======================================================================
   🛍️ SUPER CART QUANTITY INPUTS & DYNAMIC PRICING SLATS
   ======================================================================= */

#pennant-qty::placeholder { 
    font-size: 0.85rem; 
    font-weight: normal; 
    color: #495057 !important; /* Kept your preferred darker slate grey! */
    opacity: 1 !important;
}

/* Hide default browser number input spin arrows */
#pennant-qty::-webkit-outer-spin-button,
#pennant-qty::-webkit-inner-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

#pennant-qty[type=number] { 
    -moz-appearance: textfield; 
}

/* Fix input-group border clipping */
.input-group > .position-relative:not(:first-child) #pennant-qty { 
    border-left: 0; 
    border-right: 0; 
}

/* Theme Filter Pill Buttons */
.custom-theme-toggle-pill { 
    font-size: 0.75rem; 
    border-color: #dee2e6; 
    border-radius: 20px; 
    color: #6c757d; 
    transition: all 0.2s; 
}

.custom-theme-toggle-pill:hover, 
.custom-theme-toggle-pill:focus, 
.custom-theme-toggle-pill:active, 
.custom-theme-toggle-pill.show-state-active {
    background-color: #ECEBE9 !important;
    border-color: #DAD7D2 !important;
    color: #495057 !important;
    box-shadow: none !important;
}

/* Premium Pricing Slat Grid Rows */
.pricing-slat { 
    transition: all 0.2s ease-in-out; 
    border: 1px solid transparent; 
    cursor: pointer; 
    user-select: none; 
}

.pricing-slat:hover { 
    transform: translateY(-1px); 
    box-shadow: 0 4px 8px rgba(0,0,0,0.04) !important; 
    background-color: #f8f9fa !important; 
}

/* Interactive Selection Flash & Active Highlight States */
.pricing-slat.slat-selection-flash {
    background-color: rgba(47, 126, 212, 0.2) !important;
    border-color: #2F7ED4 !important;
    transform: scale(0.98);
    transition: all 0.1s ease-out;
}

.pricing-slat.active-slat-highlight { 
    background-color: #ffffff !important; 
    border-color: #2F7ED4 !important; 
    box-shadow: 0 4px 12px rgba(47, 126, 212, 0.12) !important; 
}

/* Success State: Active "View Cart" Button Animation */
.btn-view-cart-active {
    background-color: #16A34A !important;
    border-color: #15803D !important;
    color: #ffffff !important;
    opacity: 1.0 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2) !important;
    transition: all 0.2s ease-in-out;
}

.btn-view-cart-active:hover {
    background-color: #15803D !important;
    border-color: #166534 !important;
    transform: translateY(-1px);
}

/* =======================================================================
   🔼 GLOBAL FOOTER: SCROLL-TO-TOP BUTTON FIXES
   ======================================================================= */

.btn-scroll-top::before, 
.btn-scroll-top::after { 
    content: none !important; /* Disables the broken theme icon font-slot rule */
}

.btn-scroll-top {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.btn-scroll-top i {
    position: absolute;
    font-size: 23px; /* Perfectly sizes and scales your bootstrap arrow */
    z-index: 5;
}


/* =======================================================================
   🔼 taken from forms css
   ======================================================================= */
/* Custom Enquiry Form Modal Animation Override */
.modal.fade .modal-dialog {
transform: none !important;
transition: opacity 0.5s ease-in-out !important;
}

/* Dropzone Logo Upload Thumbnail Sizing Alignment */
.dropzone .dz-preview .dz-image img {
  width: 120px;
}  

.modal.fade.show .modal-dialog {
opacity: 1;
}

#enquiryForm input.is-invalid {
  border-color: #dc3545;
}

#enquiryForm .shadowclass {
  border: none;
  box-shadow: var(--bs-box-shadow) !important;
}

/* Custom Amber warning color for validation alerts */
#enquiryForm .form-control.is-invalid,
#enquiryForm .form-select.is-invalid {
  border-color: #eab308 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 179, 0, 0.25) !important;
}

/* Amber text for validation feedback */
#enquiryForm .invalid-feedback {
  color: #eab308 !important;
}

/* Injecting custom Amber validation SVGs */
#enquiryForm .form-control.is-invalid,
#enquiryForm .was-validated .form-control:invalid {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23eab308'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23eab308' stroke='none'/%3E%3C/svg%3E");
  background-position: right calc(.375em + .325rem) center;
  background-repeat: no-repeat;
  background-size: calc(.75em + .65rem) calc(.75em + .65rem);
  border-color: #eab308;
  padding-right: calc(1.5em + 1.3rem);
}

#enquiryForm .form-select.is-invalid:not([multiple]):not([size]) {
  --bs-form-select-bg-icon: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23eab308'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23eab308' stroke='none'/%3E%3C/svg%3E");
  background-position: right 1.25rem center, center right 2.5rem;
}

#enquiryForm .form-select.is-valid:not([multiple]):not([size]) {
  background-position: right 1.25rem center, center right 2.5rem;
}

/* Green border accent for active valid items */
#pennant_size.is-valid, 
#organisation_name.is-valid {
  border-color: #16a34a !important;
}



/* =========================================================================
   UNIFIED FLOATING LABELS & INPUT FOCUS (Review & Enquiry Modals)
   ========================================================================= */

/* 1. Base input box styling (2px border, smooth transitions) */
#reviewModal .form-control,
#enquiryModal .form-control,
#enquiryModal .form-select {
    border: 2px solid #e2e8f0 !important;
    transition: all 0.3s ease-in-out !important;
}

/* 2. Focused / Active state (Dark slate border, soft shadow, 1px lift) */
#reviewModal .form-control:focus,
#enquiryModal .form-control:focus,
#enquiryModal .form-select:focus {
    border-color: #4b5563 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-1px) !important;
}

/* 3. Floating label resting position */
#reviewModal .form-floating label,
#enquiryModal .form-floating label {
    padding: 1rem 1.2rem !important;
    z-index: 5 !important;
    transition: all 0.2s ease-in-out !important;
}

/* 4. Risen label tracking alignment when typing */
#reviewModal .form-floating > .form-control:focus ~ label,
#reviewModal .form-floating > .form-control:not(:placeholder-shown) ~ label,
#enquiryModal .form-floating > .form-control:focus ~ label,
#enquiryModal .form-floating > .form-control:not(:placeholder-shown) ~ label,
#enquiryModal .form-floating > .form-select ~ label {
    margin-left: 0.3rem !important;
    padding-left: 0.9rem !important;
    color: #4b5563 !important;
}

/* 5. Success state green outline when field rules pass */
#reviewModal .form-control:valid,
#enquiryModal .form-control.is-valid,
#enquiryModal .form-select.is-valid {
    border-color: #16a34a !important;
}

/* ==========================================================================
   GLOBAL SCROLLBAR STYLING & LAYOUT STABILITY
   ========================================================================== */
html {
    /* Prevent layout shift when modals open or dynamic content loads */
    scrollbar-gutter: stable;

    /* Styling for Firefox & modern standards */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

/* Custom WebKit fine-tuning (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px; /* Ultra-thin width */
}

::-webkit-scrollbar-track {
    background: transparent; /* Makes the grey track completely invisible */
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2); /* Semi-transparent pill */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5); /* Darkens slightly when hovered */
}

/* ==========================================================================
   STICKY FOOTER / FULL-HEIGHT LAYOUT FIX
   ========================================================================== */
html, body {
    height: 100%;
    margin: 0;
}

/* Force the main container to stretch full height */
main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Allow the shopping cart section to expand and push footer to the bottom */
section.pt-lg-4.pb-lg-8 {
    flex: 1 0 auto;
}