/* General Styles */
.qr-wrapper {
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

/* Header */
.header, .qr-footer {
    text-align: center;
    padding: 10px;
}

.header img, .qr-footer img {
    max-width: 225px;
    height: auto;
}

.qr-footer img {
    max-width: 150px;
}

/* Store Info */
.store-info {
    text-align: center;
    padding: 10px;
    background: white;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #ddd;
    line-height: 1.5;
}

.store-info span {
    color: #333;
    margin: 0 5px;
}

.store-info a {
    color: #0070d2;
    text-decoration: none;
}

/* Button Grid */
.button-grid, .happy-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px 15px;
}

.button-grid a, .happy-buttons a {
    display: flex;
    align-items: left;
    justify-content: left;
    padding: 15px;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    transition: all 0.3s ease;
}

.button-grid a:hover, .happy-buttons a:hover {
    transform: translateY(-2px);
}

/* Full Width Button */
.full-width-button {
    display: block;
    width: calc(100% - 30px);
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    background-color: #333333;
}

/* Button Grid: Icon and Label Spacing */
.button-grid a i, 
.happy-buttons a i, 
.full-width-button i {
    margin-right: 8px;
    font-size: 16px;
    line-height: 1;
}

/* Button Grid Stack Layout */
.button-grid-stack {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
}

.button-grid-stack a:only-child {
    max-width: 280px;
    margin: 0 auto;
}

.button-grid-stack a {
    justify-content: center;
    text-align: center;
    font-size: 15px;
    padding: 18px 30px;
}

.button-grid-stack a i {
    margin-right: 10px;
}

/* Button Grid Square Layout */

.button-grid-square {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 18px 30px;
}

.button-grid-square a {
    padding: 18px 10px;
    min-height: 110px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    line-height: 1.2;
    gap: 8px;
}

.button-grid-square a i {
    margin-right: 0;
    margin-bottom: 8px;
    font-size: 24px;
}

.button-grid-square a:only-child {
    grid-column: span 2;
}

/* Header Icons */
.header-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.header-icons a {
    text-decoration: none;
    font-size: 28px;
    background: #fff;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.header-icons a:hover {
    transform: scale(1.1);
}

.header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mobile-frame .myqiosk-link {
    display: none !important;
}

.icon-label {
    font-size: 10px; /* Small font */
    opacity: 0.7; /* Slightly faded */
    margin-top: 3px; /* Space between icon and label */
    text-transform: uppercase; /* Optional for consistency */
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    margin-top: 20px;
    width: 100%;
}

.faq-question {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 10px;
}

.faq-question h5 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.faq-toggle-icon {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}

.faq-answer {
    display: none;
    padding: 10px;
    background-color: #f1f1f1;
    border-left: 3px solid #007bff;
    border-radius: 5px;
}

.faq-answer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.faq-answer li {
    margin-bottom: 10px;
}

.faq-answer strong {
    font-weight: bold;
}

/* Office Hours Section */
.office-hours-section {
    display: none;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.25s ease-in-out;
}

.office-hours-section.show {
    display: block;
    opacity: 1;
}

.office-hours-section .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    text-align: left;
}

.office-hours-section .col-sm-12 {
    padding: 10px;
    font-size: 14px;
}

.office-hours-section .col-sm-6 p {
    margin: 5px 0;
    line-height: 1.5;
}

.office-hours-section h4 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: bold;
}

.office-hours-section .office-hours-details,
.office-hours-section .access-hours-details {
    font-size: 14px;
    color: #555;
}

/* Lunch Toggle */
.lunch-toggle {
    font-size: 14px;
    font-weight: bold;
    color: #0070d2;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 5px;
}

.lunch-info {
    font-size: 12px;
    font-style: italic;
}

.office-hours-section .col-sm-12 p.lunch-info {
    margin-top: 5px;
}

/* Priority Section */
.priority-section {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    color: black;
}

/* Media Queries */
@media (max-width: 768px) {
    .office-hours-section .col-sm-12 {
        font-size: 12px;
    }

    .lunch-info {
        font-size: 11px;
    }
}

@media (max-width: 390px) {
    .office-hours-section .row {
        grid-template-columns: 1fr;
    }

    .office-hours-section h4 {
        font-size: 14px;
    }

    .office-hours-section .col-sm-12 {
        font-size: 12px;
    }

    .button-grid a, .happy-buttons a {
        font-size: 14px;
    }

    .priority-section {
        font-size: 16px;
    }
}

/* Default - Small Chat-Style Pop-Up (Desktop) */
.contact-panel {
    position: fixed;
    bottom: 80px; /* Moves the panel higher so the X button stays below */
    right: 20px;
    width: 350px;
    height: 450px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(120%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

/* Make it appear */
.contact-panel.show {
    transform: translateY(0);
    opacity: 1;
}

/* Full-Screen Panel on Mobile */
@media (max-width: 768px) {
    .contact-panel {
        width: 100%;
        height: 70vh;
        bottom: 80px; /* Moves it higher on mobile */
        left: 0;
        right: 0;
        border-radius: 15px 15px 0 0;
        transform: translateY(100%);
    }
}

/* Form Wrapper - Ensures form is fully visible above the close button */
.form-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure iframe fits */
.contact-panel iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
    z-index: 10000; /* Keeps form on top */
}

/* Floating Close Button - Now positioned below the panel */
.close-btn {
    position: fixed;
    bottom: 20px; /* Keeps it below the panel */
    right: 20px;
    background: #ff4d4d;
    color: white;
    border: none;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 50%; /* Keeps it round */
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease-in-out;
    z-index: 10001; /* Ensures button is always above other elements */
}

.close-btn:hover {
    background: #d63c3c;
}

/* Hide close button when panel is closed */
.contact-panel:not(.show) + .close-btn {
    display: none;
}

/* Styled Back Button */
.back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* Match header icon background */
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Match shadow effect */
    transition: transform 0.2s ease;
    z-index: 999; /* Ensure it's on top */
}

/* Hover Effect - Slight Scale */
.back-button:hover {
    transform: scale(1.1);
}

/* Adjust for Smaller Screens */
@media (max-width: 768px) {
    .back-button {
        top: 10px;
        left: 10px;
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* New get more and referral */

        
.r-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
  }
  
  .r-modal-content {
    background-color: #fff;
    margin: 10% auto;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: fadeInModal 0.3s ease-in-out;
  }
          
  @keyframes fadeInModal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
          
  /* Referral Modal Custom Styling */
  .referral-modal {
    padding: 25px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    margin: 10% auto;
    position: relative;
  }
  
  .close-button {
    float: right;
    font-size: 24px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
  }

.close-btn:hover {
    background: #d63c3c;
    height: auto;
}
  .referral-title {
    font-size: 22px;
    margin-bottom: 5px;
    text-align: center;
  }
  
  .referral-subtext {
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center;
    color: #444;
  }
  
  .referral-input-group {
    margin-bottom: 15px;
  }
  
  .referral-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    margin-top: 5px;
  }
  
  .referral-generate-btn {
      display: block;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  .referral-share-output {
    margin-top: 10px;
  }
         
  .referral-share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
  }
  
  
  
  .referral-share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
  }
  
  .referral-disclaimer {
    font-size: 12px;
    color: #777;
    margin-top: 20px;
    text-align: center;
  }
          
          .referral-share-buttons a i {
    margin-right: 6px;
  }
  
          .full-site-button {
    justify-content: center !important;
    grid-column: span 2;
      
  }
          
          /* Referral Banner Heading */
  .referral-header-banner {
    background: linear-gradient(to right, #4CAF50, #2E7D32); /* Green gradient */
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    border-radius: 10px 10px 0 0;
    position: relative;
  }
  
  /* Dollar Badge */
  .dollar-badge {
    background-color: #fff;
    color: #2E7D32;
    font-weight: bold;
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }
  
  /* Updated Subtext */
  .referral-subtext {
    font-size: 15px;
    margin: 15px 0;
    text-align: center;
    color: #555;
  }
          .referral-close-button {
    position: absolute;
    top: -5px;
    right: 6px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .referral-close-button:hover {
    color: #333;
  }
  
  /* Show Mobile Frame on Larger Screens */
@media (min-width: 768px) {        
/* Mobile Frame Wrapper */
.mobile-frame {
        display: flex;
        width: 420px; /* Adjusted width for a phone-like look */
        height: auto; /* Adjusted height */
        max-width: 100%;
        background: white;
        border-radius: 40px; /* More rounded edges */
        box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4); /* Stronger shadow for depth */
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        padding: 15px;
        position: relative;
        padding-top: 40px;
    }

/* Center the Page */
.qr-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}

/* Ensure Logo and Contact Buttons Stay Stacked */
.qr-footer,
.contact-buttons {
    width: 100%;
    text-align: center;
}

.qr-footer img {
    max-width: 150px;
    margin-bottom: 10px;
}

/* Adjust Button Grid for Two Columns */
.button-grid {
    display: grid;
    gap: 10px;
    padding: 15px 10px;
    width: 100%;
}

.button-grid:not(.button-grid-stack):not(.button-grid-square) {
    grid-template-columns: repeat(2, 1fr);
}

.button-grid a {
    display: flex;
    align-items: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Adjust Icon Spacing */
.button-grid a i {
    margin-right: 6px;
}

/* Happy Buttons (Still in Two Columns) */
.happy-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    padding: 10px 10px;
}

.happy-buttons a {
    display: flex;
    align-items: center;
    padding: 12px;
    text-align: center;
}

/* Ensure Priority Section Stays Centered */
.priority-section {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    width: 100%;
}

/* Notch Effect for Phone Look */
.mobile-frame::before {
    content: "";
    width: 150px;
    height: 20px;
    background: black;
    border-radius: 10px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Media Queries */
@media (max-width: 390px) {
    .button-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
        
        .header-logo>img {
    float: none; }
        }
        

.header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-label {
    font-size: 10px;
    opacity: 0; /* Hidden initially */
    margin-top: 3px;
    text-transform: uppercase;
    font-weight: 500;
    transition: opacity 0.8s ease-in-out; /* Smooth fade-in effect */
}

.icon-label.show-label {
    opacity: 1; /* Show label when class is added */
}

.address-info {
    font-size: 12px;
    color: #000;
    text-align: center;
    opacity: .7;
}

        
@media (max-width: 767px) {
    .header-logo>img {
        float: none !important;
        margin: 0 auto;
        display: flex;
    }
}
.qr-wrapper .accordion-header.has-background-link {
  background-color: #dcdcdc !important;
}
.qr-wrapper .accordion {
    border: 4px solid #dcdcdc;
    border-radius: 6px;
    overflow: visible;
    margin-bottom: 10px;
    position: relative;
    background: #fff;
    box-sizing: border-box;
}

.qr-wrapper .accordion-header {
    background: #f7f7f7;
    padding: 0 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    min-height: 50px;
    position: relative;
    user-select: none;
    box-sizing: border-box;
}

.qr-wrapper .accordion-header:hover {
  background: #eaeaea;
}

.qr-wrapper .ribbon {
  background: radial-gradient(100% 50% at left, #00539f 98%, transparent 101%) 100% 0 / .5lh calc(100% - .8em), radial-gradient(100% 50% at right, rgba(0, 0, 0, .333) 98%, transparent 101%) 0 100% / .4em .8em, conic-gradient(from 90deg at .4em calc(100% - .8em), transparent 25%, #00539f 0) 0 0 / calc(101% - .5lh) 100%;
  background-repeat: no-repeat;
  border-radius: .4em 0 0 .4em;
  color: #fff;
  font-size: 1.25em;
  font-weight: 700;
  left: -.4em;
  line-height: 1.8;
  padding: 0 .5em .8em;
  position: absolute;
  top: 10px;
}

.qr-wrapper .accordion-content {
    display: none;
    background: #fff;
    border-top: 1px solid #dcdcdc;
    box-sizing: border-box;
}

.qr-wrapper .nested-accordion .accordion-content {
    border-top: 1px solid #dcdcdc;
}

.qr-wrapper .arrow {
    transition: transform 0.35s ease-in-out;
    font-size: 1.75em;
    margin-right: 5px;
}

.qr-wrapper .accordion-header.active .arrow {
  transform: rotate(180deg); /* Pointing down when active */
}

.qr-wrapper .hours {
    width: 100%;
    padding: 10px 15px;
    margin-top: 5px;
    box-sizing: border-box;
}

.qr-wrapper .hours div {
    display: flex;
    justify-content: space-between;
}

.qr-wrapper .hours-header {
    font-weight: bold;
}

.qr-wrapper .open {
  color: #048004;
}

.qr-wrapper .closed {
  color: #81212e;
}

.qr-wrapper .hub-true .hours {
  margin-top: 45px;
}
.qr-wrapper .hours-detail span {
    max-width: 50%;
    overflow-wrap: anywhere;
}
.has-text-right {
    text-align: right !important;
}
.qr-wrapper .hours-header {
    font-weight: bold;
}
.is-align-items-center {
    align-items: center !important;
}
.is-flex-grow-1 {
    flex-grow: 1 !important;
}
@media print, screen and (min-width: 769px) {
    .columns:not(.is-desktop) {
        display: flex;
    }
    .column.is-half, .column.is-half-tablet {
        flex: none;
        width: 50%;
        display: block;
        padding: 0.75rem;
    }
}

h3 {
    font-size: 20px;
    font-weight: 400;
}
.is-size-7 {
    font-size: .75rem !important;
}
.is-italic {
    font-style: italic !important;
}
p{
    font-size: 15px;
}
.has-text-weight-bold {
    font-weight: 700 !important;
}

.full-width-button {
        margin: 0px;
        }

/*** RC Chat ***/
.dimelo-chat-b382bd159016c10d0ca9007f-wrapper .dimelo-chat-round-button {
    background-color: #166a3a;
}

.dimelo-chat-b382bd159016c10d0ca9007f-wrapper .dimelo-chat-header {
    color: #fff;
    background-color: #166a3a;
    -webkit-tap-highlight-color: transparent;
}

.dimelo-chat-pre-chat-form-wrapper > header {
  display: none;
}


/* Hide RC Chat Button */
.dimelo-chat-round-button {
    display: none;
}

.myqiosk-unavailable-box {
    margin: 20px 10px;
    padding: 32px 20px;
    min-height: 260px;
    border-radius: 14px;
    background: #f7f7f7;
    border: 2px dashed #d3d3d3;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.myqiosk-unavailable-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.myqiosk-unavailable-text {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto;
}

.myqiosk-unavailable-icon {
    margin-top: 16px;
    font-size: 30px;
    color: #888;
}

/* MyQiosk / QR accordion fixes only.
   Scoped to .qr-wrapper so the main Store page accordions are not affected. */
.qr-wrapper .office-hours-section,
.qr-wrapper .office-hours-section *,
.qr-wrapper .accordion,
.qr-wrapper .accordion *,
.qr-wrapper .hours,
.qr-wrapper .hours * {
    box-sizing: border-box;
}

.qr-wrapper .office-hours-section {
    width: 100%;
    overflow: hidden;
}

.qr-wrapper .accordion {
    width: 100%;
    max-width: 100%;
}

.qr-wrapper .accordion-header,
.qr-wrapper .accordion-content {
    width: 100%;
    max-width: 100%;
}

.qr-wrapper .hours {
    width: 100%;
    max-width: 100%;
    padding: 10px 15px;
}

@media (max-width: 991px) {

    /* Expanded hours text only */
    .accordion-content p,
    .accordion-content span,
    .accordion-content div,
    .accordion-content .hours-detail {
        font-size: 14px;
        line-height: 1.3;
    }

    /* Hours headings */
    .accordion-content h3 {
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    /* Small notes */
    .accordion-content .is-size-7 {
        font-size: 12px !important;
    }

    .hours div {
    font-size: 14px;
}

.ribbon {
    font-size: 1.1em;
}
}
