/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Astra Child Theme
Author: Brainstorm Force
Author URI: https://wpastra.com/about/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/


/* ==========================================================
   PREMIUM MOBILE SIDEBAR (SEAMLESS UNIFORM LOOK & SCROLL LOCK)
   ========================================================== */
/* 1. ULTIMATE FOCUS BORDER KILL-SWITCH (For all browsers) */
button, 
button:focus, 
button:active, 
button:focus-visible,
a:focus-visible,
.ast-button-wrap button,
.menu-toggle,
.ast-mobile-popup-close {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-tap-highlight-color: transparent !important; /* Removes blue tap highlight */
}

/* 2. MAKE HEADER & SIDEBAR MERGE UNIFORMLY */
/* Jab menu open ho, tab Header ki shadow hata do taaki wo alag box na lage */
body.ast-main-header-nav-open header#masthead {
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Stop Background Page Scrolling when Menu is Open */
body.ast-main-header-nav-open {
    overflow: hidden !important;
}

/* 3. Sidebar Dropdown Styling */
.ast-desktop-header-content, 
.ast-mobile-header-content {
    position: absolute !important; 
    top: 100% !important; /* Header ke theek niche se shuru hoga */
    left: 0 !important;
    
    width: 75% !important; /* 80% width */
    max-width: 400px !important;
    
    /* Perfect Height */
    height: 100vh !important; 
    height: calc(100vh - 60px) !important; 
    
    background-color: #ffffff !important; 
    z-index: 999999 !important; 
    
    overflow-y: auto !important; 
    overflow-x: hidden !important;
    
    /* Shadow sirf right aur bottom side par taaki panel jaisa lage */
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.15) !important; 
    border-top: 1px solid #f8fafc !important; /* Halka sa blend line */
    transition: all 0.3s ease-in-out !important;
}

/* Remove default top border from Astra */
.ast-mobile-header-content .main-header-bar-navigation {
    border-top: none !important;
}

/* ==========================================================================
   Zyra Foods Custom Shopify-Style Footer
   ========================================================================== */
.zyra-site-footer {
  background-color: #042618;
  color: #b5c4bc;
  padding: 60px 0 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.zyra-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr 1.2fr;
  gap: 30px;
  box-sizing: border-box;
}

.zyra-footer-col {
  margin-bottom: 30px;
}

.zyra-footer-logo {
  margin-bottom: 20px;
}

.zyra-footer-logo img {
  display: block;
  max-width: 120px;
  height: auto;
}

.zyra-contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #b5c4bc;
  font-size: 14px;
}

.contact-item a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #b5c4bc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #e7bb67;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #b5c4bc;
}

.footer-heading {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.zyra-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zyra-footer-col ul li {
  margin-bottom: 12px;
  list-style-type: none;
}

.zyra-footer-col ul li a {
  color: #b5c4bc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.zyra-footer-col ul li a:hover {
  color: #e7bb67;
  padding-left: 3px;
}

/* Signup Column */
.signup-desc {
  line-height: 1.5;
  margin-bottom: 20px;
}

.zyra-signup-form .form-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 8px;
  margin-bottom: 15px;
  position: relative;
}

.zyra-signup-form input[type="email"] {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  width: 100%;
  padding: 5px 35px 5px 0;
  font-size: 14px;
}

.zyra-signup-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.zyra-signup-form button {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.zyra-signup-form button:hover {
  color: #e7bb67;
}

.signup-note {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(181, 196, 188, 0.7);
  margin-bottom: 25px;
}

.signup-note a {
  color: #b5c4bc;
  text-decoration: underline;
}
.zyra-signup-form input[type="email"]:-webkit-autofill,
.zyra-signup-form input[type="email"]:-webkit-autofill:hover, 
.zyra-signup-form input[type="email"]:-webkit-autofill:focus, 
.zyra-signup-form input[type="email"]:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #0c2d20 inset !important; /* Footer ke Dark Green Hex code se match karne ke liye */
    -webkit-text-fill-color: #ffffff !important; /* Text hamesha white rahega */
    transition: background-color 5000s ease-in-out 0s;
    border-radius: 0 !important;
}

.zyra-signup-form button {
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* Social Links */
.zyra-social-links {
  display: flex;
  gap: 15px;
}

.zyra-social-links a {
  color: #b5c4bc;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zyra-social-links a:hover {
  color: #e7bb67;
  transform: translateY(-2px);
}

/* Footer Bottom */
.zyra-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding: 25px 20px;
}

.zyra-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.zyra-bottom-inner p {
  margin: 0;
  font-size: 13px;
  color: rgba(181, 196, 188, 0.7);
}

/* Responsive */
@media (max-width: 991px) {
  .zyra-footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .store-info-col {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .zyra-site-footer {
    padding-top: 20px;
  }

  .zyra-footer-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .zyra-footer-col {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .store-info-col {
    grid-column: span 1;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .collapsible-col {
    padding: 0;
  }

  .collapsible-col .footer-heading {
    margin-bottom: 0;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
  }

  .collapsible-col .footer-heading::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 5px;
    display: inline-block;
  }

  .collapsible-col.active .footer-heading::after {
    transform: rotate(-135deg);
  }

  .collapsible-col .collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }

  .collapsible-col.active .collapsible-content {
    max-height: 400px;
    padding-bottom: 20px;
  }

  .signup-col {
    border-bottom: none;
  }

  .zyra-footer-bottom {
    margin-top: 20px;
    padding: 20px 10px;
  }
}

/* ==========================================================
   FLOATING ACTIONS (DESKTOP & MOBILE) & MOBILE BOTTOM NAV
   ========================================================== */

/* 1. Global Wrapper for Floating Elements */
.zyra-mobile-ui-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    pointer-events: none; /* Allows clicking background elements */
}

/* 2. Floating Actions Container */
.zyra-floating-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 40px 30px 40px; 
    max-width: 1400px; 
    margin: 0 auto;
}

/* 3. Pre-Booking Button (Your Original Style) */
.zyra-prebook-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 32px; 
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* FIX: Added gap for icon and text spacing */
    position: relative;
    overflow: hidden;
    animation: zyra-float 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zyra-prebook-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5);
    color: #ffffff;
}

/* Glass Shine Effect (Your Original Style) */
.zyra-prebook-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: zyra-shine 4s infinite;
}

/* ==========================================================
   NEW: PRE-BOOKING BUTTON TEXT ANIMATION (STRICT TIMELINE)
   ========================================================== */
.zyra-animated-text {
    display: grid;
    grid-template-areas: "text-stack";
    align-items: center;
    justify-items: flex-start; 
}

.zyra-animated-text > span {
    grid-area: text-stack;
    display: block;
    animation-duration: 6s; /* Total loop time: 6 seconds */
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1); 
    animation-iteration-count: infinite;
    white-space: nowrap;
}

.text-slide1 {
    animation-name: slideFadeText1;
}

.text-slide2 {
    opacity: 0; /* Default hidden */
    animation-name: slideFadeText2;
}

/* TEXT 1 ANIMATION */
@keyframes slideFadeText1 {
    0%, 40%   { opacity: 1; transform: translateY(0); }       /* Stay visible */
    44%       { opacity: 0; transform: translateY(-20px); }   /* Slide up and leave */
    45%, 94%  { opacity: 0; transform: translateY(20px); }    /* Instantly go to bottom & wait hidden */
    98%, 100% { opacity: 1; transform: translateY(0); }       /* Slide up and enter */
}

/* TEXT 2 ANIMATION */
@keyframes slideFadeText2 {
    0%, 44%   { opacity: 0; transform: translateY(20px); }    /* Wait hidden at bottom */
    48%       { opacity: 1; transform: translateY(0); }       /* Slide up and enter */
    50%, 90%  { opacity: 1; transform: translateY(0); }       /* Stay visible */
    94%       { opacity: 0; transform: translateY(-20px); }   /* Slide up and leave */
    95%, 100% { opacity: 0; transform: translateY(20px); }    /* Go back to bottom & wait */
}

/* 4. WhatsApp Floating Button */
.zyra-whatsapp-btn {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    pointer-events: auto;
    flex-shrink: 0;
    animation: zyra-pulse 2s infinite;
    transition: transform 0.3s ease;
}

.zyra-whatsapp-btn:hover { transform: scale(1.1); }
.zyra-whatsapp-btn svg, .zyra-whatsapp-btn img { width: 34px; height: 34px; }

/* Desktop Body Padding RESET (Removes the white gap) */
body { padding-bottom: 0 !important; }

/* Bottom Nav Hidden on Desktop */
.zyra-bottom-nav { display: none; }

/* Animations */
@keyframes zyra-float { 0% { transform: translateY(0px); } 50% { transform: translateY(-6px); } 100% { transform: translateY(0px); } }
@keyframes zyra-shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
@keyframes zyra-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ==========================================================
   MOBILE SPECIFIC ADJUSTMENTS (Screens <= 768px)
   ========================================================== */
@media (max-width: 768px) {
    /* Add padding ONLY on mobile so content doesn't hide behind nav */
    body { padding-bottom: 64px !important; }

    .zyra-floating-actions { padding: 0 15px 15px 15px; }

    .zyra-prebook-btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .zyra-whatsapp-btn { width: 50px; height: 50px; }
    .zyra-whatsapp-btn svg, .zyra-whatsapp-btn img { width: 28px; height: 28px; }

    /* Mobile Bottom Nav Show */
    .zyra-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        padding: 10px 0;
        pointer-events: auto;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.05); 
    }

    .zyra-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #64748b;
        text-decoration: none;
        font-size: 11px;
        font-weight: 600;
        transition: color 0.2s ease;
    }

    /* Icon default stroke color */
    .zyra-bottom-nav .nav-item svg {
        stroke: #64748b;
        transition: all 0.2s ease;
    }

    /* ACTIVE TAB STYLING (Green Highlight) */
    .zyra-bottom-nav .nav-item.active {
        color: #d0473e;
		font-weight: bold;
    }
    .zyra-bottom-nav .nav-item.active svg {
        stroke: #d0473e;
        fill: #d0473e0f; /* Slight inner glow */
    }

    .zyra-bottom-nav .icon-wrapper { position: relative; margin-bottom: 4px; }

    /* Cart Notification Badge */
    .zyra-bottom-nav .cart-count.badge {
        position: absolute;
        top: -6px;
        right: -10px;
        background-color: #ef4444;
        color: white;
        font-size: 10px;
        font-weight: bold;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ==========================================================
   CLEAN UP WPCLEVER QUICK VIEW MODAL (EXACT TARGETING)
   ========================================================== */

/* Hide Delivery Checker, Buy Now, and Share buttons only inside Quick View */
.woosq-popup .hds-checker-wrap,
.woosq-popup .zyra-buy-now-btn,
.woosq-popup .zyra-share-btn {
    display: none !important;
}

/* Ensure Quantity and Add to Cart button align perfectly in the popup */
.woosq-popup form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: center !important;
    margin-top: 20px !important;
}

/* ==========================================================
   PRE-BOOKING PAGE STYLING (PREMIUM COMPACT UI)
   ========================================================== */
.zyra-prebooking-wrapper {
    max-width: 820px !important; 
    margin: 40px auto 80px auto;
}
.zyra-prebooking-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06); 
    border: 1px solid #092b1c;
}
.zyra-prebooking-card .form-group { 
    margin-bottom: 20px; 
}
.zyra-prebooking-card .form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}
.zyra-prebooking-card label {
    display: block; 
    font-size: 13px; 
    font-weight: 600; 
    color: #475569; 
    margin-bottom: 6px;
}
.zyra-prebooking-card label .req { 
    display: none; 
}
.zyra-prebooking-card input[type="date"],
.zyra-prebooking-card input[type="time"],
.zyra-prebooking-card input[type="number"],
.zyra-prebooking-card input[type="text"],
.zyra-prebooking-card select {
    width: 100%; 
    height: 46px; /* Slightly compact height */
    padding: 0 15px; 
    border: 1px solid #cbd5e1; 
    border-radius: 8px;
    font-size: 14px; 
    color: #0f172a; 
    background-color: #ffffff; 
    box-sizing: border-box; 
    outline: none;
    transition: all 0.2s ease;
}
.zyra-prebooking-card input:focus, 
.zyra-prebooking-card select:focus {
    border-color: #10b981; 
    box-shadow: 0 0 0 1px #10b981;
}
.zyra-prebooking-card .section-title {
    font-size: 18px; 
    font-weight: 800; 
    margin: 35px 0 15px 0; 
    color: #0f172a; 
}

/* --- Clean Grouped Product Row --- */
.product-row {
    display: flex; 
    gap: 12px; 
    align-items: center; 
    margin-bottom: 12px;
    padding: 12px;
    background: #f8fafc; /* Subtle gray background to group items */
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    flex-wrap: wrap; /* Allows wrapping on mobile */
}
.select-search-container {
    flex: 1; 
    min-width: 200px;
}
.qtyInput {
    width: 75px !important; 
    height: 46px !important;
    text-align: center; 
    padding: 0 !important;
}

/* Secondary Red styling for Remove Button */
.removeProductBtn {
    background-color: #fee2e2 !important; 
    color: #dc2626 !important; 
    border: none !important;
    padding: 0 15px !important; 
    border-radius: 8px !important; 
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer; 
    height: 46px;
    transition: 0.2s ease;
}
.removeProductBtn:hover {
    background-color: #fca5a5 !important;
    color: #991b1b !important;
}

/* Dashed Add Product Button */
#addProductBtn {
    width: 100%; 
    background-color: transparent; 
    color: #092b1c; 
    border: 2px dashed rgb(9 43 28 / 30%); 
    padding: 12px;
    border-radius: 8px; 
    font-weight: 700; 
    font-size: 14px; 
    cursor: pointer; 
    margin-top: 5px; 
    margin-bottom: 25px; 
    transition: 0.2s ease;
}
#addProductBtn:hover { 
    background-color: #d0473e; 
}

/* Primary Checkout Button */
#submitPrebookBtn {
    width: 100%; 
    background-color: #092b1c; 
    color: #ffffff; 
    border: none; 
    padding: 15px;
    border-radius: 8px; 
    font-weight: 700; 
    font-size: 15px; 
    cursor: pointer; 
    transition: 0.2s ease;
    box-shadow: 0 4px 12px rgba(9, 43, 28, 0.2);
}
#submitPrebookBtn:hover { 
    background-color: #10b981; 
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

/* Mobile Specific Adjustments for Form */
@media (max-width: 600px) {
    .zyra-prebooking-card { padding: 25px 16px; }
    .zyra-prebooking-card .form-row-2col { grid-template-columns: 1fr; gap: 15px; }
    
    /* Forces Select to Top, Qty and Remove exactly below it side-by-side */
    .select-search-container { flex: 0 0 100%; max-width: 100%; }
    .qtyInput { flex: 0 0 80px !important; width: 80px !important; }
    .removeProductBtn { flex: 1; } /* Takes remaining space beside Qty */
}

/* ==========================================================
   SELECTWOO CUSTOM STYLING TO MATCH EXACT INPUT HEIGHT
   ========================================================== */
.select2-container--default .select2-selection--single {
    height: 46px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important; /* Vertically centers the content */
    outline: none;
    transition: all 0.2s ease;
}

/* FIX: Text Alignment */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #0f172a !important;
    font-size: 14px;
    padding-left: 15px !important;
    padding-right: 30px !important; /* Space for arrow */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 100%;
    line-height: normal !important; /* FIX: Removes the forced gap pushing text down */
    margin: 0 !important;
}

/* FIX: Arrow Alignment */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    top: 0 !important;
    right: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* FIX: Removes default absolute offset from the arrow icon */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    position: relative !important;
    margin-top: 0 !important;
    top: auto !important;
    left: auto !important;
}

/* Focus and Active States */
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #092b1c !important;
    box-shadow: 0 0 0 1px #092b1c !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected], 
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: #092b1c !important;
    color: white !important;
}
.select2-search--dropdown .select2-search__field {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
}

/* ==========================================================
   DATE & TIME PICKER UX HACK (CLICK ANYWHERE TO OPEN)
   ========================================================== */
/* Custom Datepicker Styling */
.zyra-prebooking-card input#bookingDate {
    background: #ffffff url('data:image/svg+xml;utf8,<svg fill="%23475569" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"/></svg>') no-repeat right 12px center !important;
    background-size: 20px !important;
    cursor: pointer !important;
}

/* Optional: Flatpickr Popup Brand Color Styling */
.flatpickr-day.selected, 
.flatpickr-day.selected:hover {
    background: #092b1c !important;
    border-color: #092b1c !important;
}

/* ==========================================================
   ORDER MODE TOGGLE (PRE-BOOKING VS BULK)
   ========================================================== */
.zyra-order-mode-toggle {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 25px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.mode-radio {
    flex: 1;
    text-align: center;
    position: relative;
    margin: 0;
}
.mode-radio input {
    display: none;
}
.mode-radio .radio-btn {
    display: block;
    padding: 14px;
    font-weight: 700;
    font-size: 14px;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.mode-radio input:checked + .radio-btn {
    background: #ffffff;
    color: #092b1c; /* Default Pre-booking Active Color */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ==========================================================
   BULK MODE ACTIVE STYLES (DYNAMIC VISUAL CHANGE)
   ========================================================== */
.zyra-prebooking-card {
    transition: all 0.4s ease;
}

/* Change Border and Shadow */
.zyra-prebooking-card.bulk-mode-active {
    border-color: #d0473e; 
    box-shadow: 0 4px 24px rgba(208, 71, 62, 0.15);
}

/* Change Active Toggle Color */
.bulk-mode-active .mode-radio input:checked + .radio-btn {
    color: #d0473e;
}

/* Change Button Color to Red */
.bulk-mode-active #submitPrebookBtn {
    background-color: #d0473e;
    box-shadow: 0 4px 12px rgba(208, 71, 62, 0.2);
}
.bulk-mode-active #submitPrebookBtn:hover {
    background-color: #b93d35;
    box-shadow: 0 6px 15px rgba(208, 71, 62, 0.3);
}

/* Change Focus Color of Inputs in Bulk Mode */
.bulk-mode-active input:focus, 
.bulk-mode-active select:focus,
.bulk-mode-active .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #d0473e !important;
    box-shadow: 0 0 0 1px #d0473e !important;
}


/* ==========================================================
   RICH DROPDOWN (IMAGE, PRICE, DESC) & INFO BOX STYLES
   ========================================================== */

/* Info Box */
.zyra-mode-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    transition: all 0.3s ease;
}
.zyra-mode-info-box strong { color: #092b1c; }
.bulk-mode-active .zyra-mode-info-box { background: #fef2f2; border-color: #fecaca; }
.bulk-mode-active .zyra-mode-info-box strong { color: #d0473e; }

/* SelectWoo Rich Option Layout */
.zyra-rich-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.zyra-option-img {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}
.zyra-option-text {
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Crucial for text truncation */
    width: 100%;
}
.zyra-option-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zyra-option-price {
    color: #10b981;
    font-weight: 700;
    font-size: 12px;
    margin-top: 2px;
}
.zyra-option-desc {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Truncates long text with ... */
}

/* Adjust SelectWoo Box Height for Rich Content */
.select2-container--default .select2-selection--single {
    height: auto !important; /* Allow it to expand for the image */
    min-height: 55px !important;
    padding: 5px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 5px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}

/* Hide description when selected inside the box to keep UI compact */
.select2-selection__rendered .zyra-option-desc { display: none; }
.select2-selection__rendered .zyra-option-img { width: 35px; height: 35px; }

/* ==========================================================
   SELECTED ITEM ROW VIEW (INSIDE THE BOX)
   ========================================================== */
.zyra-rich-option-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.zyra-option-img-small {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.zyra-option-text-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap; /* Prevents text from breaking layout on mobile */
}
.zyra-option-text-row .zyra-option-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 13px;
}
.zyra-option-price-small {
    color: #10b981;
    font-weight: 700;
    font-size: 13px;
}

/* Ensure the wrapper centers the custom row */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    padding-left: 8px !important;
}

/* ==========================================================
   COMPACT QTY STEPPER & TRASH GROUP
   ========================================================== */
.zyra-qty-action-group {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden; /* Ensures borders wrap neatly */
    height: 46px; /* Matches dropdown height */
    flex-shrink: 0;
    background: #ffffff;
}

.zyra-qty-action-group .qty-btn {
    background: #f8fafc;
    border: none;
    color: #475569;
    width: 36px;
    height: 100%;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.zyra-qty-action-group .qty-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Middle Input Area */
.zyra-qty-action-group .qtyInput {
    width: 45px !important;
    height: 100% !important;
    border: none !important;
    border-left: 1px solid #cbd5e1 !important;
    border-right: 1px solid #cbd5e1 !important;
    border-radius: 0 !important;
    text-align: center !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Hide Native Ugly Number Spinners */
.zyra-qty-action-group .qtyInput::-webkit-outer-spin-button,
.zyra-qty-action-group .qtyInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.zyra-qty-action-group .qtyInput[type=number] {
    -moz-appearance: textfield;
}

/* Red Tinted Trash Button */
.zyra-qty-action-group .removeProductBtn {
    background: #fef2f2 !important;
    color: #ef4444 !important;
    border: none !important;
    border-left: 1px solid #fecaca !important;
    width: 46px !important;
    height: 100% !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.zyra-qty-action-group .removeProductBtn:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

/* Mobile Alignment Fix */
@media (max-width: 600px) {
    .zyra-qty-action-group {
        flex: 1; /* Takes available space next to select box */
        justify-content: space-between;
    }
    .zyra-qty-action-group .qtyInput {
        width: 100% !important; /* Expands to fill space */
    }
}

/* ==========================================================
   HOVER VISIBILITY (DARK BACKGROUND FIX)
   ========================================================== */
/* Broad selector for Highlighted Items */
.select2-container--default .select2-results__option--highlighted .zyra-option-title {
    color: #ffffff !important; 
}
.select2-container--default .select2-results__option--highlighted .zyra-option-desc {
    color: #cbd5e1 !important; /* Soft light gray for desc */
}

/* ==========================================================
   STRIKETHROUGH & SALE PRICE FORMATTING (WOOCOMMERCE FIX)
   ========================================================== */
/* Regular Price (Strikethrough) - Targets inner WooCommerce spans too */
.zyra-option-price del, 
.zyra-option-price del span.woocommerce-Price-amount,
.zyra-option-price-small del,
.zyra-option-price-small del span.woocommerce-Price-amount {
    color: #94a3b8 !important; /* Slate Gray */
    text-decoration: line-through !important;
    font-size: 11px;
    font-weight: 500;
    margin-right: 6px;
    display: inline-block;
}

/* On Hover -> Keep Strikethrough gray, don't let it turn white */
.select2-container--default .select2-results__option--highlighted .zyra-option-price del,
.select2-container--default .select2-results__option--highlighted .zyra-option-price del span.woocommerce-Price-amount {
    color: #94a3b8 !important; 
}

/* Sale/Final Price - Bright Green */
.zyra-option-price ins, 
.zyra-option-price ins span.woocommerce-Price-amount,
.zyra-option-price-small ins,
.zyra-option-price-small ins span.woocommerce-Price-amount {
    text-decoration: none !important;
    color: #10b981 !important; /* Brand Green */
    font-weight: 700;
    display: inline-block;
}

/* Fallback: Base Price (When product has no sale price) */
.zyra-option-price > span.woocommerce-Price-amount, 
.zyra-option-price-small > span.woocommerce-Price-amount {
    color: #10b981 !important;
    font-weight: 700;
}