.card-body.blur {
    filter: blur(0.5px);
    /* Apply blur */
    pointer-events: none;
    /* Disable all interactions */
    opacity: 0.6;
    /* Make it a bit transparent */
}

/* Common Blur Class */
.blur {
    filter: blur(0.5px);
    /* Adjust the intensity of blur */
    pointer-events: none;
    /* Disable interactions */
    opacity: 0.6;
    /* Reduce visibility */
}

/* Ensure Targeted Elements Use the Blur Class */
.card-body .quotation-outer .quotation-details.blur,
.card-body .quotation-outer .quotation-buttons .quotation-buttons-left .footer-btn.blur,
.card-body .quotation-outer .quotation-buttons .footer-btn.blur {
    filter: blur(0.5px);
    pointer-events: none;
    opacity: 0.6;
}


:root {
    --prm-color: #7ead2f;
    --prm-gray: #b1b1b1;
}

/* CSS */
.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.step-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--prm-gray);
    transition: .4s;
}

.step-button[aria-expanded="true"] {
    background-color: var(--prm-color);
    color: #fff;
}

.done {
    background-color: var(--prm-color);
    color: #fff;
}

.step-item {
    z-index: 10;
    text-align: center;
}

.header {
    z-index: 99;
}

#progress {
    -webkit-appearance: none;
    position: absolute;
    width: 92%;
    z-index: 5;
    height: 10px;
    margin-left: 18px;
    margin-bottom: 18px;
}

/* to customize progress bar */
#progress::-webkit-progress-value {
    background-color: var(--prm-color);
    transition: .5s ease;
}

#progress::-webkit-progress-bar {
    background-color: var(--prm-gray);
}

.label-container {
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    text-align: center;
    /* Ensure text inside is also centered */
}

.sticky-progress {
    position: fixed;
    top: 76px;
    width: 47%;
    z-index: 1000;
    /* Adjust z-index to ensure it stays on top */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Optional shadow effect */
}

select.select2 {
    width: 300px;
}

.value {
    display: flex;
    flex-direction: column;
}

.note {
    font-weight: normal;
    color: #f10a0a;
}
.product-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px; /* reduced from 20px */
margin-top: 8px; /* reduced top spacing */
}
.product-grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px; /* reduced from 20px */
    margin-top: 8px; /* reduced top spacing */
    }
.product-grid3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* force equal columns */
  gap: 12px;
  width: 100%;
}

.product-card {
  background: #fff;
  border: 2.5px solid #ddd;
  border-radius: 18px;
  padding: 10px 6px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  min-width: 0;   /* critical for Safari */
  min-height: 0;  /* prevent stretching */
  max-width: 100%; /* don’t overflow grid cell */
  box-sizing: border-box;
}

.product-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0; /* prevent Safari from squishing */
}

.product-card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
border-color: #4b9dea;
}

.product-card img {
display: block;
background: transparent;
margin: 0 auto 10px auto; /* reduced bottom margin */
padding: 0;
border-radius: 0;
box-shadow: none;
object-fit: contain;
width: auto;
height: 150px;
transition: transform 0.3s ease;

}

.product-card:hover img {
transform: scale(1.05);
background-color: transparent;
}

.product-name {
font-size: 1.5rem;
line-height: 1.4rem;
font-weight: bold;
margin: 0 0 4px 0;
}

.availability {
font-size: 1.2rem;          /* Increased from 0.85rem */
line-height: 1.4rem;      /* Added for better spacing */
color: #777;
margin-bottom: 10px;
font-weight: 500;         /* Optional: Slightly bolder */
}
.qty-input-wrapper {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
margin-top: 2px; /* reduced from 4px */
}

.qty-input-wrapper label {
font-size: 1.3rem;
line-height: 1.1rem;
font-weight: bold;
margin-bottom: 2px;
}

.input-qty {
width: 8rem;
padding: 6px 10px;
font-size: 1.4rem;
line-height: 1.6rem;
text-align: center;
border-radius: 9999px;
border: 1px solid #aaa;
font-weight: 400;
transition: border 0.3s ease, box-shadow 0.3s ease;
}

.input-qty:focus {
border-color: #4b9dea;
box-shadow: 0 0 6px rgba(75, 157, 234, 0.3);
outline: none;
}
.mini-title-icon {
    height: 80px; /* Adjust size here */
    width: auto;
    object-fit: contain;
}
.product-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 7px;
}
.area-radio:disabled + .area-radio-label {
    cursor: not-allowed;
}


/* Responsive grid adjustments */
@media screen and (max-width: 992px) {
.product-grid {
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
}

@media screen and (max-width: 600px) {
.product-grid {
grid-template-columns: 1fr;
gap: 8px;
}
}
@media screen and (max-width: 768px) {
    .product-grid3 {
        grid-template-columns: 1fr;
    }
}
.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.8) !important; /* Darker backdrop */
    backdrop-filter: blur(5px); /* Apply a slight blur effect */
}
.lg-zoom-in, .lg-zoom-out {
  display: inline-block !important;
}

/* Styling for the zoomed image */
.lg-current img {
    object-fit: contain !important;
    max-width: 100%;
    max-height: 90vh;
}

/* Zoom-in effect on hover for product images */
.zoom-img {
    cursor: zoom-in;
    transition: transform 0.2s ease;

}

/* Slight zoom effect on hover */
.zoom-img:hover {
    transform: scale(1.02); /* Subtle zoom effect */

}
/* Toolbar buttons: zoom in, zoom out, close, etc. */
.lg-toolbar .lg-icon {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;          /* Rectangular, not circular */
    padding: 8px 12px !important;
    font-size: 18px !important;
    transition: background-color 0.3s ease;
    box-shadow: none !important;
  }
  
  /* Hover effect for toolbar buttons */
  .lg-toolbar .lg-icon:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
  }
  
  /* Navigation arrows: previous and next */
  .lg-prev, .lg-next {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;           /* Keep it rectangular */
    padding: 12px 14px !important;
    font-size: 20px !important;
    transition: background-color 0.3s ease;
  }
  
  /* Thumbnails background customization */
  .lg-thumb-outer {
    background-color: #1d1d1f !important; /* Match your gallery backdrop */
  }
  .must-follow-steps {
    background-color: #f1f8e9; /* soft green background */
    border-left: 6px solid #8bc34a; /* your primary green */
    color: #33691e; /* dark green text */
    padding: 20px 30px;
    border-radius: 10px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.4rem; /* larger text */
    font-weight: 600;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  .must-follow-steps .emoji {
    font-size: 1.8rem;
  }
  .base-station-warning {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.btn-container .step3-btn {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: none !important;
}
  

/* =========================================
   Mobile Quotation Sidebar 
   ========================================= */

@media (max-width: 1199px) {
    .page-content-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;   
        max-width: 450px;
        height: 105vh; 
        background-color: #ffffff;
        z-index: 9999; 
        transition: right 0.3s ease-in-out;    
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        padding-top: 80px; 
        overflow-y: auto;
        display: block; 
    }

    .page-content-right.ShowSidebar {
        right: 0 !important;
    }

    .page-content-right.ShowSidebar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1; 
        pointer-events: none;
        transform: translateX(-100%);
    }
}

/* =========================================
   Active-Standby Card — shared by Galaxy Pro & Galaxy Expand
   (Quotation panel, iOS-style switch with status block)
   ========================================= */

.ge-as-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 4px 0;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f6fbef 0%, #eef9e2 100%);
    border: 1.5px solid #d4ecb0;
    border-radius: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}
.ge-as-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}
.ge-as-card.is-on {
    border-color: #8bc34a;
    box-shadow: 0 4px 14px rgba(139, 195, 74, 0.22);
}
.ge-as-card.is-on::before {
    opacity: 1;
}
.ge-as-card-info {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}
.ge-as-icon-shield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #8bc34a, #5fa033);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(95, 160, 51, 0.35);
    flex-shrink: 0;
}
.ge-as-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.ge-as-title {
    font-size: 13px;
    font-weight: 700;
    color: #2d3a1f;
    letter-spacing: 0.2px;
}
.ge-as-subtitle {
    font-size: 10.5px;
    color: #5d6b48;
    font-weight: 500;
}
.ge-as-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}
.ge-as-status {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: right;
}
.ge-as-status-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #94a3b8;
    transition: color 0.25s ease;
}
.ge-as-status-hint {
    font-size: 10px;
    color: #94a3b8;
    transition: color 0.25s ease;
}
.ge-as-card.is-on .ge-as-status-text {
    color: #5fa033;
}
.ge-as-card.is-on .ge-as-status-hint {
    color: #6b7e54;
}
.ge-as-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}
.ge-as-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.ge-as-track {
    position: absolute;
    inset: 0;
    background: #e2e8f0;
    border-radius: 999px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.1);
}
.ge-as-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.18);
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}
.ge-as-icon {
    position: absolute;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.ge-as-icon-on {
    opacity: 0;
    transform: scale(0.6);
    color: #5fa033;
}
.ge-as-switch input[type="checkbox"]:checked ~ .ge-as-track {
    background: linear-gradient(135deg, #a3d96d 0%, #5fa033 100%);
    box-shadow: inset 0 1px 3px rgba(95, 160, 51, 0.3), 0 0 0 3px rgba(139, 195, 74, 0.18);
}
.ge-as-switch input[type="checkbox"]:checked ~ .ge-as-track .ge-as-knob {
    transform: translateX(22px);
    color: #5fa033;
}
.ge-as-switch input[type="checkbox"]:checked ~ .ge-as-track .ge-as-icon-off {
    opacity: 0;
    transform: scale(0.6);
}
.ge-as-switch input[type="checkbox"]:checked ~ .ge-as-track .ge-as-icon-on {
    opacity: 1;
    transform: scale(1);
}
.ge-as-switch:hover .ge-as-track {
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(15, 23, 42, 0.08);
}
.ge-as-switch input[type="checkbox"]:checked:hover ~ .ge-as-track {
    box-shadow: inset 0 1px 3px rgba(95, 160, 51, 0.3), 0 0 0 4px rgba(139, 195, 74, 0.22);
}

.download-menu {
    position: relative;
    display: inline-block;   /* hug the button so the menu can match its width */
    vertical-align: middle;
}

/* Hide Bootstrap's default dropdown caret so the button reads cleanly as
   "[download icon] Download" (the caret rule was orphaned in style.css). */
.download-menu .dropdown-toggle::after {
    display: none;
}

.download-menu .dropdown-toggle .fa-download {
    font-size: 0.95em;
}

.download-menu .download-option {
    position: absolute !important;
    inset: auto !important;       /* clear Popper's inset shorthand */
    top: auto !important;         /* not below the button */
    bottom: 100% !important;      /* sit directly above the button */
    left: 0 !important;
    right: auto !important;
    width: calc(100% + 2.5rem) !important;  /* a bit wider than the button */
    min-width: 100% !important;
    max-width: 90vw !important;             /* never run off small screens */
    margin: 0 0 0.4rem 0 !important;
    transform: none !important;   /* kill Popper's translate3d() offset */
    z-index: 1080;                /* above quote-panel content */
}

/* Reuse the polished look from the (currently unloaded) style.css so the menu
   reads as a proper card here too. */
.download-option {
    border: 0;
    overflow: hidden;
    border-radius: 0.6rem;
    padding: 0;
    box-shadow: 0 0.3rem 0.5rem -0.1rem rgba(50, 54, 62, 0.2),
                0 0.1rem 1.8rem 0 rgba(50, 54, 62, 0.12),
                0 0.6rem 1rem 0 rgba(50, 54, 62, 0.14);
}

.download-option li + li {
    border-top: 0.1rem solid #c5c5c5;
}

.download-option li a.dropdown-item {
    padding: 0.9rem 1rem;
    color: #000;
    white-space: normal;
}

.download-option li a.dropdown-item:hover,
.download-option li a.dropdown-item:active,
.download-option li a.dropdown-item:focus {
    background-color: #e1e1e1;
    color: #000;
}
/* ============================================================
   Quotation panel polish
   Pure CSS refinement of the right-hand Quotation card — no
   markup or JS hooks changed. Scoped to the quotation panel.
   ============================================================ */

/* --- Settings rows (SW Subscription / Type / HW Warranty) --- */
.quotation-details .headerbutton {
    gap: 6px;
    padding: 2px 0;
}
.quotation-details .headerbutton h6 {
    font-size: 13px;
    color: #3f4a26;
}
.quotation-details .headerbutton h6 b {
    font-weight: 600;
}
.quotation-details .headerbutton .form-select.form-control {
    padding: 8px 28px 8px 12px;
    font-size: 13px;
    min-width: 110px;
    border: 1.5px solid #9caf6e;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.quotation-details .headerbutton .form-select.form-control:focus {
    border-color: #73ad00;
    box-shadow: 0 0 0 3px rgba(115, 173, 0, 0.15);
    outline: none;
}

/* --- Divider lines between panel sections --- */
.quotation-details hr {
    border: 0;
    border-top: 1px solid #d8dfc6;
    opacity: 1;
    margin: 12px 0;
}

/* --- Section bars: One-time / Monthly / Warranty / Taxes --- */
.right-side-quation .sub_title {
    background: #f3f8e8 !important;
    border-left: 4px solid #73ad00;
    border-radius: 0 6px 6px 0;
    padding: 8px 12px !important;
    margin: 14px 0 8px !important;
    font-size: 13px;
    font-weight: 700;
    color: #465527;
    letter-spacing: 0.2px;
}

/* --- Total row --- */
.quotation-outer .quotation-total {
    border-bottom: 0;
    border-top: 2px solid #73ad00;
    background: #f7faf0;
    border-radius: 0 0 8px 8px;
    padding: 12px 14px;
    margin-top: 14px;
}
.quotation-outer .quotation-total h6 {
    margin: 0;
}

/* --- Footer buttons --- */
.quotation-outer .quotation-buttons {
    margin-top: 12px;
    gap: 8px;
}
.quotation-outer .quotation-buttons .footer-btn,
.quotation-outer .quotation-buttons .download-menu > .btn {
    border-radius: 8px;
}

/* "calculated at checkout" note inside the Taxes and fees section bar */
.sub_title .tf-note {
    float: right;
    font-weight: 600;
    font-size: 12px;
    color: #66743f;
}
