/* Royal Bloomaa Custom CSS
   Purpose: Small, project-specific tweaks that extend the theme safely.
   Scope: Quick View UI, size buttons, and minor spacing adjustments. */
.size-options .size-btn {
  padding: 4px 10px;
  margin-right: 5px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
}

/* Related Products: mobile — add gentle side padding for breathing room */
@media (max-width: 767.98px) {
  .royal-product_area-5 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Keep internal gutters removed, but let content sit within safe edges */
  .royal-product_area-5 .tab-content,
  .royal-product_area-5 .tab-pane {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

.size-options .size-btn.active {
  background-color: #160000;
  color: #fff;
  border-color: #222;
}

/* ===== Quick View (Royal) enhancements ===== */
#rbQuickViewModal .modal-content{border-radius:10px;border:0;box-shadow:0 12px 40px rgba(0,0,0,.18)}
#rbQuickViewModal .modal-dialog{max-width:min(1800px,98vw)}
#rbQuickViewModal .modal-content{min-height:90vh}
#rbQuickViewModal .modal-body{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
#rbQuickViewModal .modal-dialog, #rbQuickViewModal .modal-content{overflow-x:hidden}
#rbQuickViewBody{max-height:88vh;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:16px}
#rbQuickViewModal .modal-header{border:0;padding:16px 20px}
#rbQuickViewModal .modal-title{font-weight:700;letter-spacing:.3px;display:none}
#rbQuickViewModal .modal-body{padding:0}
#rbQuickViewModal .btn-close{position:absolute;right:12px;top:12px;background-color:#fff;border-radius:50%;width:34px;height:34px;opacity:1;box-shadow:0 2px 6px rgba(0,0,0,.15);background-size:12px 12px;filter:none;transform-origin:center;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}
#rbQuickViewModal .btn-close:after{content:'\00d7';display:block;line-height:34px;text-align:center;color:#000;font-size:18px;font-weight:700}
#rbQuickViewModal .btn-close{background-image:none}
/* Hover animation and color only */
#rbQuickViewModal .btn-close:hover{transform:rotate(90deg) scale(1.15);box-shadow:0 0 0 8px rgba(0,152,218,.12),0 2px 10px rgba(0,0,0,.18);opacity:.95}
#rbQuickViewModal .btn-close:hover:after{color:#0098da}
#rbQuickViewModal .btn-close:active{transform:scale(.95) rotate(0)}

#rbQuickViewBody .qv-title{font-weight:800;font-size:22px}

/* Left gallery */
#rbQuickViewBody .qv-thumb{background:#fff;border:0;cursor:pointer;transition:transform .15s ease}
#rbQuickViewBody .qv-thumb:hover{transform:translateY(-2px)}
#rbQuickViewBody #qv-main-img{border-radius:8px;box-shadow:0 6px 16px rgba(0,0,0,.08)}
#rbQuickViewBody .qv-main-img{width:560px;height:560px;object-fit:contain;margin:0 auto;display:block}
#rbQuickViewBody .qv-main-wrap{text-align:center}

/* Slick-based Quick View gallery */
/* Layout: ensure thumbnails always visible under the main image */
#rbQuickViewBody .qv-gallery{padding:0; display:flex; flex-direction:column; justify-content:flex-start; align-items:center; min-height:0; gap:0}
#rbQuickViewBody .qv-main-slider{position:relative; flex:1 1 auto; min-height:0; width:444px; margin:0 auto}
#rbQuickViewBody .qv-main-slider .slick-slide img{width:440px;height:545px;object-fit:contain;border-radius:8px;border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#6bc1ff,#ff6ec4,#ffc107,#6bc1ff) border-box;background-origin:border-box;background-clip:padding-box,border-box;box-shadow:0 8px 22px rgba(0,0,0,.10);margin:0 auto;display:block;transition:box-shadow .2s ease,transform .1s ease}
#rbQuickViewBody .qv-main-slider .slick-slide img:hover{box-shadow:0 12px 28px rgba(0,0,0,.12);transform:translateY(-1px)}
#rbQuickViewBody .qv-thumb-slider{margin-top:8px !important; position:relative; overflow:visible; flex:0 0 auto; min-height:74px; width:444px; margin-left:auto; margin-right:auto}
#rbQuickViewBody .qv-thumb-slider .slick-list{overflow:hidden; min-height:62px}
#rbQuickViewBody .qv-thumb-slider .slick-track{display:flex !important; justify-content:center; align-items:center; margin:0 auto !important}
#rbQuickViewBody .qv-thumb-slider .slick-slide{margin:0 6px}
#rbQuickViewBody .qv-thumb-slider .slick-slide img{width:54px;height:54px;object-fit:cover;border-radius:6px;border:2px solid transparent;display:block}
#rbQuickViewBody .qv-thumb-slider .slick-current img{border-color:#0098da}

/* Thumbnail navigation arrows */
#rbQuickViewBody .qv-thumb-nav{display:none !important}
#rbQuickViewBody .qv-nav{display:none !important}

/* Hide any stray text-based arrows */
#rbQuickViewBody .slick-prev,#rbQuickViewBody .slick-next{font-size:0; display:none !important}
#rbQuickViewBody .slick-prev:before{content:'\276E';font-size:20px;color:#111}
#rbQuickViewBody .slick-next:before{content:'\276F';font-size:20px;color:#111}
#rbQuickViewBody .qv-thumbs{justify-content:center}
#rbQuickViewBody .qv-main-wrap{overflow:hidden}
#rbQuickViewBody .qv-main-img{transition:transform .2s ease;cursor:zoom-in;transform-origin:center center}
#rbQuickViewBody .qv-main-img.zoom-active{transform:scale(2);cursor:zoom-out}
#rbQuickViewBody .qv-main-wrap{position:relative}
#rbQuickViewBody .qv-thumbs{gap:14px}

/* Center non-slick thumbnail row under the large image */
#rbQuickViewBody .qv-thumbs{width:560px; margin:8px auto 0; justify-content:center}
#rbQuickViewBody .qv-thumb{margin:0 6px !important}
#rbQuickViewBody .qv-thumb img{width:54px; height:54px; object-fit:cover; border-radius:6px; border:2px solid transparent}
#rbQuickViewBody .qv-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.4);color:#fff;border:0;border-radius:50%;width:36px;height:36px;line-height:36px;text-align:center;font-size:18px;cursor:pointer}
#rbQuickViewBody .qv-thumb.active img{border-color:#0098da !important}
#rbQuickViewBody .qv-prev{left:8px}
#rbQuickViewBody .qv-next{right:8px}
#rbQuickViewBody .qv-nav:hover{background:rgba(0,0,0,.55)}

/* Right info */
#rbQuickViewBody .product-details_content{padding:6px 0}
#rbQuickViewBody .price-box .new-price{font-size:22px;font-weight:700;color:#111}
#rbQuickViewBody .size-options{display:flex;gap:6px;flex-wrap:wrap;max-width:280px}
#rbQuickViewBody .size-options .size-btn{border:1px solid #e3e3e3;background:#fff;border-radius:18px;padding:4px 10px;font-weight:600;cursor:pointer;transition:all .15s ease;font-size:13px}
#rbQuickViewBody .size-options .size-btn:hover{border-color:#0098da;color:#0098da}
#rbQuickViewBody .size-options .size-btn.active{background:#0098da;border-color:#0098da;color:#fff}

/* Tighten spacing so quantity and Add to Cart sit directly below size */
#rbQuickViewBody .qv-select-group{margin-bottom:8px}

#rbQuickViewBody .short-desc{color:#555;line-height:1.6;max-height:90px;overflow:auto}
#rbQuickViewBody .royal-btn.sorbus-color{background:#0098da;border:0;border-radius:6px;padding:10px 18px;font-weight:700}
#rbQuickViewBody .royal-btn.sorbus-color:hover{background:#0b78ab}

@media (max-width: 991.98px){
#rbQuickViewBody{padding:10px;max-height:92vh;align-items:flex-start;overflow-y:auto}
#rbQuickViewBody .qv-main-slider .slick-slide img{width:85vw;height:85vw;object-fit:contain}
#rbQuickViewBody .qv-main-slider, #rbQuickViewBody .qv-thumb-slider{width:85vw}
#rbQuickViewBody .qv-thumb-slider{margin-top:8px !important}
#rbQuickViewModal .modal-content{max-height:96vh}
}

/* Quick View: mobile — remove short description scrollbar */
@media (max-width: 767px){
  #rbQuickViewBody .short-desc{
    max-height: none;
    overflow: visible;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none;    /* Firefox */
  }
  #rbQuickViewBody .short-desc::-webkit-scrollbar{ display: none; } /* Chrome/Safari */
}

/* Quick View quantity controls */
#rbQuickViewBody .qv-qty{display:flex;align-items:center;gap:8px}
#rbQuickViewBody .qv-qty-input{width:70px;text-align:center;border:1px solid #e3e3e3;border-radius:6px;height:36px}
#rbQuickViewBody .qv-qty-btn{width:36px;height:36px;border:1px solid #e3e3e3;border-radius:6px;background:#fff;font-size:18px;line-height:34px;cursor:pointer}
#rbQuickViewBody .qv-qty-btn:hover{border-color:#0098da;color:#0098da}

/* Stack quantity below size, and Add to Cart below quantity */
#rbQuickViewBody .qv-purchase-row{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:6px}

/* Ensure strike-through old price everywhere, including Quick View */
.price-box .old-price{ text-decoration: line-through; color:#b0b0b0; font-weight:600; margin-right:10px; opacity:.85 }
.price-box .new-price{ color:#111; font-weight:700 }

/* Notify Me modal close icon (Lastudio) */
#notifyMeModal .modal-header{display:flex;align-items:center;justify-content:space-between;position:relative}
#notifyMeModal .modal-close-icon{
  position:absolute;right:12px;top:12px;
  background:#fff;border:none;border-radius:50%;
  width:34px;height:34px;opacity:1;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease
}
#notifyMeModal .modal-close-icon i{font-size:18px;color:#000;line-height:1}
#notifyMeModal .modal-close-icon i{display:none}
#notifyMeModal .modal-close-icon:after{
  content:'\00d7';
  display:block;
  width:34px;height:34px;
  line-height:34px;text-align:center;
  font-size:18px;font-weight:700;color:#000
}
#notifyMeModal .modal-close-icon:hover{
  transform:rotate(90deg) scale(1.15);
  box-shadow:0 0 0 8px rgba(0,152,218,.12),0 2px 10px rgba(0,0,0,.18);
  opacity:.95
}
#notifyMeModal .modal-close-icon:active{transform:scale(.95) rotate(0)}

/* Notify Me: submit button and trigger */
#notifyMeModal .notify-submit{background:#333;color:#fff}
.notify-trigger{background:#333 !important;color:#fff !important;margin-top:10px;display:none}
#notify-msg{display:none}

/* Login/Register password toggle */
.rb-pw-actions{ margin:8px 0 14px; display:flex; justify-content:center; align-items:center; width:100%; }
.rb-toggle-pw{ background:#f5f7fa; border:1px solid #e6e9ef; border-radius:8px; padding:6px 10px; font-size:14px; display:inline-flex; align-items:center; justify-content:center; line-height:1; color:#111; }
.rb-toggle-pw:hover{ border-color:#0098da; color:#0098da; }

/* ============================================== */
/* Cart Page Quantity: centered horizontal +/- controls */
/* ============================================== */
.royal-cart-area .table-content table td.quantity .cart-plus-minus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  text-align: center;
}
.royal-cart-area .table-content table td.quantity .cart-plus-minus > .qtybutton {
  position: static; /* override absolute in base CSS */
  width: 32px;
  height: 32px;
  line-height: 30px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}
.royal-cart-area .table-content table td.quantity .cart-plus-minus > .cart-plus-minus-box {
  width: 56px;
  height: 32px;
  line-height: 30px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  text-align: center;
  font-weight: 600;
}
/* Hide native number spinners for consistent look */
.royal-cart-area .table-content table td.quantity .cart-plus-minus input.cart-plus-minus-box::-webkit-outer-spin-button,
.royal-cart-area .table-content table td.quantity .cart-plus-minus input.cart-plus-minus-box::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.royal-cart-area .table-content table td.quantity .cart-plus-minus input.cart-plus-minus-box { -moz-appearance: textfield; }

@media (max-width: 640px) {
  /* Reduce only the top spacing of the cart section (keep breadcrumb as-is) */
  .royal-cart-area { padding-top: 16px !important; }

  /* Slightly larger tap targets on mobile */
  .royal-cart-area .table-content table td.quantity .cart-plus-minus > .qtybutton {
    width: 34px; height: 34px; line-height: 32px;
  }
  .royal-cart-area .table-content table td.quantity .cart-plus-minus > .cart-plus-minus-box {
    width: 58px; height: 34px; line-height: 32px;
  }
}

/* video modal */

/* Video Modal & Mobile Fixes */
.video-custom-card { border-radius: 12px; overflow: hidden; transform: translateZ(0); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
@media (max-width: 576px) {
  .video-review-item { padding: 0 18px; }
  .video-review-slider .slick-list { margin: 0 -18px; }
}

/* Video Modal Styles */
.rb-vm { position: fixed; inset: 0; z-index: 1000000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.rb-vm.open { opacity: 1; pointer-events: auto; }
.rb-vm-backdrop { position: absolute; inset: 0; background: #2e1b0f; }
.rb-vm-close { 
    position: absolute; 
    top: 16px; 
    right: 16px; 
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000002;
    transition: all 0.2s ease;
}
.rb-vm-close:hover {
    transform: scale(1.1);
    color: #dc3545;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.rb-vm-arrow { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 60px; background: none; border: none; z-index: 1000002; cursor: pointer; padding: 0 20px; transition: opacity 0.2s; }
.rb-vm-prev { left: 10px; }
.rb-vm-next { right: 10px; }
.rb-vm-arrow:hover { opacity: 0.7; }
.rb-vm-content { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rb-vm-card { position: absolute; width: 100%; max-width: 360px; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 0 10px 40px rgba(0,0,0,0.5); opacity: 0; transform: scale(0.8) translateX(0); }
.rb-vm-active { z-index: 1000001; opacity: 1; transform: scale(1) translateX(0); }
.rb-vm-left { z-index: 9999; opacity: 0.4; transform: scale(0.85) translateX(-120%); }
.rb-vm-right { z-index: 9999; opacity: 0.4; transform: scale(0.85) translateX(120%); }
.rb-vm video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.rb-vm-prod { position: absolute; bottom: 70px; top: auto; left: 15px; right: 15px; background: rgba(255,255,255,0.95); padding: 12px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; backdrop-filter: blur(10px); }
.rb-vm-prod-link { display: flex; align-items: center; text-decoration: none; color: #333; flex: 1; overflow: hidden; }
.rb-vm-prod-img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; margin-right: 10px; border: 1px solid #eee; }
.rb-vm-prod-info { display: flex; flex-direction: column; overflow: hidden; }
.rb-vm-prod-info .label { font-size: 9px; text-transform: uppercase; color: #888; font-weight: 700; letter-spacing: 0.5px; }
.rb-vm-prod-info .name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-vm-prod-info .price { font-size: 12px; color: #000; font-weight: 500; }
.rb-vm-prod-info .old-price { text-decoration: line-through; color: #999; margin-right: 4px; font-size: 11px; }
.rb-vm-prod-info .discount { color: #d32f2f; font-weight: 700; margin-left: 4px; font-size: 11px; }
.rb-vm-cart { width: 36px; height: 36px; border-radius: 50%; background: #000; color: #fff; border: none; display: flex; align-items: center; justify-content: center; margin-left: 10px; cursor: pointer; transition: transform 0.2s; }
.rb-vm-cart:hover { transform: scale(1.1); background: #333; }
@media (max-width: 576px) { .rb-vm-card { width: 90%; max-width: none; height: 80vh; } .rb-vm-arrow { font-size: 40px; padding: 0 10px; } }

/* Hide or shift the fixed footer bar while video modal is open */
.rb-vm-open .fixed-footerbar,
body.rb-vm-open .fixed-footerbar {
  transform: translateY(200%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: transform .25s ease, opacity .25s ease;
  display: none !important;
}

/* video modal */

/* Handwritten-style signature for invoice footer */
.signature-script {
  font-family: 'Brush Script MT', 'Segoe Script', 'Lucida Calligraphy', cursive;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transform: skewX(-5deg);
  display: inline-block;
  border: 1px solid #333;
  padding: 4px 10px;
  border-radius: 6px;
}

@media print {
  @page { size: A4; margin: 0; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body * { visibility: hidden; }
  #tax-invoice, #tax-invoice * { visibility: visible; }
  #tax-invoice { position: static; width: 100%; margin: 0 auto; }
  #tax-invoice { zoom: 0.90; }
  @supports not (zoom: 1) {
    #tax-invoice { transform: scale(0.90); transform-origin: top left; width: calc(100% / 0.90); }
  }
  table { page-break-inside: auto; }
  tr { page-break-inside: avoid; }
  #tax-invoice .card { break-inside: avoid-page; page-break-inside: avoid; }
  #tax-invoice thead { display: table-row-group !important; }
  #tax-invoice .invoice-totals { break-inside: avoid-page; page-break-inside: avoid; }
#tax-invoice .invoice-totals tr { break-inside: avoid-page; page-break-inside: avoid; }
  .promo-banner-top, .main-header_area, .header-sticky, .mobile-menu_wrapper, .offcanvas-menu_wrapper, .offcanvas-search_wrapper, .global-overlay { display: none !important; visibility: hidden !important; }
}

.rb-printing .promo-banner-top,
.rb-printing .main-header_area,
.rb-printing .header-sticky,
.rb-printing .mobile-menu_wrapper,
.rb-printing .offcanvas-menu_wrapper,
.rb-printing .offcanvas-search_wrapper,
.rb-printing .global-overlay { display: none !important; visibility: hidden !important; }

.rb-print-btn { background: linear-gradient(135deg,#0a1f33,#0098da); color: #fff !important; border: 0; border-radius: 18px; padding: 6px 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.rb-print-btn:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.rb-print-btn:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.rb-print-btn i { font-size: 14px; }

/* Removed temporary header overrides to restore original menu behavior */

/* ============================================== */
/* Cart Page (Mobile) – bigger image, tighter text/padding */
/* ============================================== */
@media (max-width: 640px) {
  /* Reduce excessive padding on stacked cells */
  .royal-cart-area .table-content table td { padding: 12px 10px !important; }
  /* Product name column (3rd) had large top padding; tighten it */
  .royal-cart-area .table-content table td:nth-child(3) { padding: 10px !important; }
  /* Image size up for mobile */
  .royal-cart-area .table-content table td:nth-child(2) img { width: 100px !important; height: auto !important; border-radius: 6px; }
  /* Remove button cell – compact spacing */
  .royal-cart-area .table-content table td:nth-child(1) { padding: 8px 10px !important; }
  .royal-cart-area .table-content table td:nth-child(1) i { font-size: 18px; }
  /* Price (MRP) – tighten spacing */
  .royal-cart-area .table-content table td:nth-child(4) { padding: 8px 10px !important; }
  /* Total – keep compact */
  .royal-cart-area .table-content table td:nth-child(6) { padding: 8px 10px !important; }
}

/* ============================================== */
/* PROMOTIONAL MARQUEE BANNER */
/* ============================================== */
.promo-banner-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 10px 0;
    overflow: hidden;
    position: fixed !important; /* Changed to fixed to match inline style behavior */
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block !important;
    z-index: 10;
    margin: 0 !important;
    width: 100%;
}

.promo-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 40px;
}

.promo-marquee {
    width: 100%;
    height: 100%;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: scroll 45s linear infinite;
    height: 100%;
}

.promo-marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 40px;
}

/* Ensure the duplicated content doesn't create extra space */
.marquee-content[aria-hidden="true"] {
    padding-right: 0;
}

.promo-item {
    display: inline-block !important;
    margin: 0 30px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    visibility: visible !important;
    opacity: 1 !important;
}

.promo-separator {
    color: rgba(255, 255, 255, 0.4) !important;
    margin: 0 20px;
    font-size: 20px;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Smooth infinite scroll animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .promo-banner-top {
        padding: 5px 0 !important; /* Reduced padding */
    }
    
    .promo-marquee-wrapper {
        height: 30px !important; /* Reduced height */
    }

    .promo-item {
        font-size: 11px !important;
        margin: 0 15px !important;
    }
    
    .promo-separator {
        margin: 0 10px !important;
        font-size: 16px !important;
    }

    /* Reduce white area above/below logo */
    .main-header {
        padding: 10px 0 !important;
    }
}

@media (max-width: 576px) {
    .promo-item {
        font-size: 10px !important;
        margin: 0 10px !important;
    }
    
    .promo-separator {
        margin: 0 8px !important;
        font-size: 14px !important;
    }
}

/* ============================================== */
/* Mobile-only: hide overlay actions while interacting with size buttons */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  /* Hide hover overlay icons entirely on phones */
  .product-img .add-actions { display: none !important; }
  .single-product:focus-within .product-img .add-actions,
  .single-product.rb-hide-actions .product-img .add-actions { display: none !important; }

  /* Show inline actions to the right of product content in a 2x2 grid */
  .product-content { position: relative; padding-right: 200px; }
  .product-content .mobile-inline-actions { 
    display: grid !important; 
    position: absolute; 
    right: 0; 
    top: calc(50% + 3px);
    transform: translateY(-50%);
    grid-template-columns: repeat(2, 1fr); 
    gap: 8px; 
    width: 200px; 
  }
  .mobile-inline-actions .btn-inline-cart,
  .mobile-inline-actions .wishlist-toggle,
  .mobile-inline-actions .rb-compare-toggle,
  .mobile-inline-actions .rb-quick-view-btn {
    min-width: 94px; width: 100%; text-align: center; font-size: 12px; border-radius: 18px; padding: 6px 10px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  }
  .mobile-inline-actions .btn-inline-cart { background:#0098da; color:#fff; border:0; font-weight:700; }
  .mobile-inline-actions .btn-inline-cart i{ font-size:16px; line-height:1 }
  .mobile-inline-actions .wishlist-toggle { background:#fff; color:#111; border:1px solid #e3e3e3; font-weight:700 }
  .mobile-inline-actions .wishlist-toggle.active { background:#10b981; color:#fff; border-color:#10b981 }
  .mobile-inline-actions .rb-compare-toggle { background:#fff; color:#111; border:1px solid #e3e3e3; font-weight:700 }
  .mobile-inline-actions .rb-compare-toggle.active { background:#6366F1; color:#fff; border-color:#6366F1 }
  .mobile-inline-actions .rb-quick-view-btn { background:#111; color:#fff; border:0; font-weight:700 }
}

/* ============================================== */
/* Homepage: Sale This Week – mobile layout        */
/* Place 2×2 actions to the right of content       */
/* ============================================== */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  .royal-product_area .single-product {
    display: grid;
    grid-template-columns: 1fr minmax(148px, 180px);
    column-gap: 10px;
    align-items: start;
  }
  .royal-product_area .single-product .product-img { grid-column: 1 / span 2; }
  .royal-product_area .single-product .product-content { grid-column: 1; padding-right: 0 !important; }
  .royal-product_area .single-product > .mobile-inline-actions {
    grid-column: 2;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    align-content: start;
    margin-top: 10px; /* Align with product name top padding */
  }

  /* Match typography and spacing to tabbed sections (first screenshot) */
  .royal-product_area .product-content .product-desc_info h3.product-name > a {
    font-size: 18px !important;
    line-height: 21.6px;
    font-weight: 600;
  }
  .royal-product_area .product-content .product-desc_info .price-box .new-price {
    font-size: 16px;
    line-height: 20.8px;
    font-weight: 700;
  }
  .royal-product_area .product-content .product-desc_info .price-box .old-price {
    font-size: 15px;
    font-weight: 600;
  }
  .royal-product_area .product-content .size-options { display: flex; gap: 6px; flex-wrap: wrap; }
  .royal-product_area .product-content .size-options .size-btn { flex: 0 0 auto; }

  /* Button sizing/styling consistent with tabbed product sections */
  .royal-product_area .mobile-inline-actions .btn-inline-cart,
  .royal-product_area .mobile-inline-actions .wishlist-toggle,
  .royal-product_area .mobile-inline-actions .rb-compare-toggle,
  .royal-product_area .mobile-inline-actions .rb-quick-view-btn {
    min-width: 0;
    width: 100%;
    white-space: normal;
    font-size: 12px;
    padding: 6px 10px;
    line-height: 1.2;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .royal-product_area .mobile-inline-actions .btn-inline-cart { background:#0098da; color:#fff; border:0; font-weight:700; }
  .royal-product_area .mobile-inline-actions .wishlist-toggle { background:#fff; color:#111; border:1px solid #e3e3e3; font-weight:700; }
  .royal-product_area .mobile-inline-actions .wishlist-toggle.active { background:#10b981; color:#fff; border-color:#10b981; }
  .royal-product_area .mobile-inline-actions .rb-compare-toggle { background:#fff; color:#111; border:1px solid #e3e3e3; font-weight:700; }
  .royal-product_area .mobile-inline-actions .rb-compare-toggle.active { background:#6366F1; color:#fff; border-color:#6366F1; }
  .royal-product_area .mobile-inline-actions .rb-quick-view-btn { background:#111; color:#fff; border:0; font-weight:700; }
}

/* Mobile: related products should mirror homepage spacing */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  /* For related products, put inline actions BELOW content to avoid cutting size buttons */
  .royal-product_area-5 .product-content { padding-right: 0; }
  /* Two-column layout: left = name/price/sizes, right = actions */
  .royal-product_area-5 .product-content .product-desc_info {
    display: grid;
    grid-template-columns: 1fr minmax(148px, 180px);
    column-gap: 10px;
    align-items: start;
  }
  .royal-product_area-5 .product-desc_info .product-name,
  .royal-product_area-5 .product-desc_info .price-box,
  .royal-product_area-5 .product-desc_info .size-options { grid-column: 1; }
  /* Match homepage typography for name and price */
  .royal-product_area-5 .product-desc_info h3.product-name > a {
    font-size: 18px !important; /* override base theme 14–16px */
    line-height: 21.6px;
    font-weight: 600;
  }
  .royal-product_area-5 .product-desc_info .price-box .new-price {
    font-size: 16px;
    line-height: 20.8px;
    font-weight: 700;
  }
  .royal-product_area-5 .product-desc_info .price-box .old-price {
    font-size: 15px;
    font-weight: 600;
  }
  .royal-product_area-5 .product-content .mobile-inline-actions {
    position: static !important;
    right: auto; top: auto; transform: none;
    display: grid !important; /* two-by-two grid */
    width: 100% !important;
    gap: 8px; /* spacing like listing */
    grid-template-columns: repeat(2, 1fr); /* 2-2 layout */
    margin-top: 0; /* align beside content */
    align-items: stretch;
    grid-column: 2;
    grid-row: 1 / span 3;
    align-content: start;
  }
  .royal-product_area-5 .mobile-inline-actions .btn-inline-cart,
  .royal-product_area-5 .mobile-inline-actions .wishlist-toggle,
  .royal-product_area-5 .mobile-inline-actions .rb-compare-toggle,
  .royal-product_area-5 .mobile-inline-actions .rb-quick-view-btn {
    min-width: 0; /* allow grid items to shrink */
    width: 100%; /* fill each grid cell */
    white-space: normal; /* allow wrapping like listing screenshot */
    font-size: 12px; /* homepage action text size */
    padding: 6px 10px;
    line-height: 1.2; /* give a bit more vertical breathing room when wrapped */
  }

  .royal-product_area-5 .mobile-inline-actions i { font-size: 14px; line-height: 1; }
  /* Hide overlay action icons in related products on mobile to avoid duplicates */
  .royal-product_area-5 .product-img .add-actions { display: none !important; opacity: 0 !important; visibility: hidden !important; }
  .royal-product_area-5 .size-options { display: flex; gap: 6px; flex-wrap: wrap; }
  .royal-product_area-5 .size-options .size-btn { flex: 0 0 auto; }
  /* Remove extra slide gutters within related-products slider for maximum card width */
  .royal-product_area-5 .product-slider .slick-list { margin: 0 !important; }
  .royal-product_area-5 .product-slider .slick-list .slick-slide { padding: 0 !important; }
}

/* Hide inline actions on tablet/desktop (overlay icons remain there) */
@media (min-width: 768px) {
  /* Hide regardless of placement inside or outside product-content */
  .product-content .mobile-inline-actions,
  .single-product > .mobile-inline-actions,
  .product-item > .mobile-inline-actions { display: none !important; }
}
/* Global mobile overflow suppression to avoid horizontal scrollbar */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}
/* Persistent show: keep overlay action icons visible after size selection (mobile only) */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  .single-product.rb-show-actions .product-img .add-actions,
  .product-item.rb-show-actions .single-product .product-img .add-actions {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    transition-delay: 0s !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .single-product.rb-show-actions .product-img .add-actions > ul > li,
  .product-item.rb-show-actions .single-product .product-img .add-actions > ul > li {
    opacity: 1 !important;
    /* Match hover state so icons slide into visible area */
    transform: translateY(-80px) !important;
    transition-delay: 0s !important;
  }

  /* Ensure mobile inline actions are visible even when not nested in product-content */
  .single-product > .mobile-inline-actions,
  .product-item > .mobile-inline-actions { display: grid !important; }

  /* Prevent horizontal scrolling when actions are visible on mobile */
  .shop-product-wrap,
  .product-item,
  .product-item .single-product,
  .product-item .single-product .product-img {
    overflow-x: hidden !important;
  }
}
/* E-COMMERCE BANNER STYLING */
/* ============================================== */
.banner-ecommerce .banner-img {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.banner-ecommerce .banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.banner-ecommerce:hover .banner-img img {
    transform: scale(1.1);
}

/* ============================================== */
/* HEADER NAV (NON-STICKY) FIT & WRAP IMPROVEMENTS */
/* ============================================== */
/* Ensure first header menu stays on one line like sticky header */
@media (min-width: 1200px) {
  .main-header_area .main-header .main-menu_area nav.main-nav > ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
  }

  .main-header_area .main-header .main-menu_area nav.main-nav > ul > li {
    /* reduce horizontal padding to fit all items */
    padding: 30px 6px;
  }

  .main-header_area .main-header .main-menu_area nav.main-nav > ul > li > a {
    /* trim anchor padding and prevent label wrapping */
    padding: 0 8px;
    white-space: nowrap;
  }

  /* Keep overlay behavior consistent for the megamenu */
  .main-header_area .main-header .main-menu_area nav.main-nav > ul > li.megamenu-holder .royal-megamenu_wrap {
    top: 100%;
    left: 0;
    width: 100%;
  }
}

/* ============================================== */
/* CHECKOUT: Highlighted Coupon Section */
/* ============================================== */
.highlighted-coupon-section {
    background-color: #f8f9fa; /* Light gray background */
    border: 2px dashed #0098da; /* Dashed primary color border */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px !important;
}

.highlighted-coupon-section .coupon-header {
    font-size: 20px;
    margin-bottom: 15px;
    color: #111;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlighted-coupon-section label {
    font-weight: 500;
    color: #555;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.highlighted-coupon-section .input-text {
    border: 1px solid #ddd;
    padding: 10px 15px;
    height: 48px;
    border-radius: 4px;
}

.highlighted-coupon-section .input-text:focus {
    border-color: #0098da;
    box-shadow: 0 0 0 3px rgba(0, 152, 218, 0.1);
}

.highlighted-coupon-section .button.royal-btn {
    height: 48px;
    padding: 0 30px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Replaced harsh bluish overlay with a subtle neutral tint */
    background: linear-gradient(135deg, rgba(0,0,0,0.28), rgba(0,0,0,0.45));
    transition: opacity 0.3s ease;
    opacity: 0.50;
    /* Do not intercept clicks on underlying buttons/links */
    pointer-events: none;
    /* Ensure overlay sits below content so text stays visible */
    z-index: 0;
}

/* ============================================== */
/* Sticky header: shift menu slightly to the right */
/* ============================================== */
@media (min-width: 1200px) {
  .main-header.header-sticky .main-menu_area {
    margin-left: 18px; /* subtle right shift */
  }
}

/* ============================================== */
/* Sticky header layout: mirror initial header     */
/* ============================================== */
.main-header.header-sticky .main-header_nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Reduce default horizontal gap to compact overall width */
  gap: 12px;
}

.main-header.header-sticky .header-logo { flex: 0 0 auto; }

.main-header.header-sticky .main-menu_area { flex: 1 1 auto; }
.main-header.header-sticky .main-nav { justify-content: center; }

.main-header.header-sticky .header-right_area { flex: 0 0 auto; margin-left: auto; }

/* ============================================== */
/* BLOG DETAIL: Image Full Width & Zoom Effect    */
/* ============================================== */
.blog-single_post .blog-img,
.blog-single_post .inner-img {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    display: block;
    border-radius: 8px;
}

/* Ensure the image takes full width and maintains aspect ratio */
.blog-single_post .inner-img.img-zoom_effect img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    display: block;
    object-fit: cover;
    transform-origin: center;
    /* Continuous slow zoom effect */
    animation: slowZoom 3s linear infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.main-header.header-sticky .header-right_area ul {
  display: inline-flex;
  align-items: center;
  /* Slightly tighter spacing between action icons */
  gap: 8px;
  margin: 0;
  padding: 0;
}

/* Search box sizing consistent with first menu */
.main-header .rb-searchBox {
  width: 180px;
  max-width: 50vw;
  height: 30px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  font-size: 14px;
}

.main-header.header-sticky .rb-searchBox {
  width: 180px;
  max-width: 50vw;
  /* Lower height for a shorter header */
  height: 30px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  font-size: 14px;
}

/* Icon sizing alignment */
.main-header.header-sticky .minicart-count_area i,
.main-header.header-sticky .mobile-menu_btn i,
.main-header.header-sticky .menu-btn i {
  font-size: 20px;
  line-height: 1;
}

/* Ensure the logo appears above adjacent elements (search/menu) */
.main-header .header-logo,
.main-header.header-sticky .header-logo {
  position: relative;
  z-index: 10;
}

/* When sticky on smaller screens, further tighten vertical padding */
@media (max-width: 1199px) {
  .main-header.header-sticky {
    /* Override theme padding to reduce vertical height */
    padding: 8px 0 !important;
  }
}

@media (max-width: 991px) {
  .header-sticky .sticky-header_nav {
    /* Override default 20px vertical padding */
    padding: 8px 0 !important;
  }
}

/* ============================================== */
/* Sticky header: stack logo above actions on mobile/tablet */
/* ============================================== */
@media (max-width: 1199px) {
  .main-header.header-sticky .main-header_nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Tighter vertical stacking to reduce header height */
    gap: 4px;
  }

  .main-header.header-sticky .header-logo {
    order: 0;
    /* Reduce spacing below the logo */
    margin-bottom: 4px;
    text-align: center;
  }

  .main-header.header-sticky .main-menu_area {
    display: none !important; /* hide menu row below xl (already hidden, enforced here) */
  }

  .main-header.header-sticky .header-right_area {
    order: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-header.header-sticky .header-right_area ul {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  /* Wider search on mobile/tablet for usability */
  .main-header .rb-searchBox,
  .main-header.header-sticky .rb-searchBox {
    width: min(520px, 80vw);
    /* Slightly shorter input to reduce overall header height */
    height: 32px;
    padding: 6px 10px;
    border-radius: 6px;
  }

  /* Ensure the logo matches the initial header size in sticky too */
  .main-header.header-sticky .header-logo img {
    width: 150px;
    max-width: 150px;
  }

  @media (max-width: 575px) {
    .main-header.header-sticky .header-logo img {
      width: 140px;
      max-width: 140px;
    }
  }
}

/* Override theme rule that shrinks the sticky logo to 120px */
.header-sticky .sticky-header_nav .header-logo_area > a > img {
  width: 150px;
  max-width: 150px;
}

.banner-ecommerce:hover .banner-overlay {
    opacity: 0.60;
}

.banner-content-ecommerce {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 30px;
    text-shadow: none;
    /* Ensure content sits above overlay for clarity */
    z-index: 2;
}

.banner-content-ecommerce .banner-badge,
.banner-content-ecommerce .banner-title,
.banner-content-ecommerce .banner-text {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.banner-content-ecommerce .btn {
    margin: 10px auto;
    display: inline-block;
}

.banner-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Ensure the badge pill is compact and not full-width within the banner */
.banner-content-ecommerce .banner-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Reduce only the initial (non-sticky) header height */
.main-header.position-relative {
  padding: 6px 0 !important;
}
/* Restore logo size to theme default */
.header-logo img {
  width: 180px !important;
  max-width: 180px !important;
}
@media (max-width: 575px) {
  .header-logo img {
    width: 180px !important;
    max-width: 180px !important;
  }
}

/* ============================================== */
/* Inline Quantity Limit Message (Minicart/Product/Checkout) */
/* ============================================== */
.cart-limit-inline-msg {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  background: #fff7ed; /* warm amber background */
  color: #7c2d12 !important; /* readable dark amber text */
  border: 1px solid #fdba74;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px !important;
  line-height: 16px !important;
  margin-top: 8px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  max-width: 320px;
}
.cart-limit-inline-msg::before {
  content: '⚠️';
  display: inline-block;
  font-size: 14px;
  line-height: 16px;
}

/* Ensure layout consistency inside minicart */
#miniCart .product-quantity-controls .cart-limit-inline-msg {
  display: block;
}

/* Product detail controls: place full-width below the row */
.product-details_area .product-details_content .product-details_variable .cart-limit-inline-msg {
  display: block;
}

/* Product detail page: ensure warning sits below quantity row */
.product-details_area .product-details_content .quantity-with_btn .cart-limit-inline-msg {
  display: block;
  width: 100%;
  flex: 0 0 100%;
  margin-top: 8px !important;
}

/* Checkout quantity controls */
.quantity-controls .cart-limit-inline-msg {
  display: block;
}

/* ============================================== */
/* Minicart product image tweaks */
/* ============================================== */
#miniCart .product-item_img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
#miniCart .product-item_img .img-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 8px;
  transition: transform .15s ease;
}
#miniCart .product-item_img:hover .img-full {
  transform: scale(1.04);
}

/* ============================================== */
/* NEWSLETTER AREA ENHANCEMENTS */
/* ============================================== */
.newsletter-area,
.footer-newsletter_area {
  padding: 50px 0;
}

.newsletter-area .newsletter-info .heading,
.footer-newsletter_area .newsletter-info .heading {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.newsletter-area .newsletter-info .short-desc,
.footer-newsletter_area .newsletter-info .short-desc {
  color: #566;
  margin-bottom: 18px;
}

.newsletter-area .newsletter-form_wrap,
.footer-newsletter_area .newsletter-form_wrap {
  max-width: 780px;
  margin: 0 auto;
}

.newsletter-area .mc-form,
.footer-newsletter_area .mc-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.newsletter-area .newsletter-input,
.footer-newsletter_area .newsletter-input {
  flex: 1 1 auto;
  height: 50px;
  padding: 0 18px;
  border: none;
  border-radius: 28px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.newsletter-area .newsletter-input::placeholder,
.footer-newsletter_area .newsletter-input::placeholder {
  color: #7a7a7a;
}

.newsletter-area .newsletter-btn,
.footer-newsletter_area .newsletter-btn {
  height: 50px;
  padding: 0 22px;
  border-radius: 28px;
  border: none;
  font-weight: 700;
  letter-spacing: .4px;
  color: #fff;
  background: linear-gradient(135deg, #0098da 0%, #0b78ab 100%);
  box-shadow: 0 6px 16px rgba(0,152,218,0.3);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: -6px; /* lift slightly more to reduce bottom float */
}

.newsletter-area .newsletter-btn:hover,
.footer-newsletter_area .newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,152,218,0.35);
}

.newsletter-area #mc-message,
.footer-newsletter_area #newsletter-message { 
  margin-top: 10px; 
}

/* Captcha row styling */
.newsletter-area .newsletter-captcha,
.footer-newsletter_area .newsletter-captcha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  color: #222;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.newsletter-area .newsletter-captcha input[type="checkbox"],
.footer-newsletter_area .newsletter-captcha input[type="checkbox"] {
  width: 18px; height: 18px;
  transform: scale(1.2);
  accent-color: #0098da;
}
.newsletter-area .newsletter-captcha label,
.footer-newsletter_area .newsletter-captcha label {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Remove any default borders/shadows from the wrapper */
.newsletter-area .mc-form,
.newsletter-area .subscribe-form,
.footer-newsletter_area .mc-form,
.footer-newsletter_area .subscribe-form {
  border: none !important;
  box-shadow: none !important;
}

/* Video Review Card Customizations */
.video-review-item {
    margin: 0 3px; /* Small gap between items */
}
.video-custom-card {
    width: 200px;
    height: 355px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.video-custom-card img.video-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-play-icon {
    font-size: 40px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 5;
}
.video-popup-content {
    position: relative;
    background: #000;
    padding: 0;
    width: auto;
    max-width: 400px;
    margin: 20px auto;
}
.video-popup-element {
    width: 100%;
    display: block;
}
.video-product-link {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 5px;
    background: rgba(0,0,0,0.6);
    border-radius: 8px;
    backdrop-filter: blur(2px);
    z-index: 10;
}
.video-product-img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 6px;
    border: 1px solid rgba(255,255,255,0.3);
}
.video-product-text {
    line-height: 1.1;
}
.video-product-label {
    font-size: 8px;
    margin-bottom: 1px;
}
.video-product-name {
    font-size: 10px;
    font-weight: 600;
}
@media (max-width: 576px) {
    .video-custom-card {
        height: 345px;
    }
}

@media (max-width: 576px) {
  .newsletter-area .mc-form,
  .footer-newsletter_area .mc-form { gap: 8px; }
  .newsletter-area .newsletter-input,
  .footer-newsletter_area .newsletter-input { height: 46px; }
  .newsletter-area .newsletter-btn,
  .footer-newsletter_area .newsletter-btn { height: 46px; padding: 0 18px; }
}

/* Subtle background block to make footer form stand out */
.footer-area .footer-newsletter_area {
  background: linear-gradient(135deg, rgba(0,152,218,0.06), rgba(118,75,162,0.06));
  border-radius: 16px;
}

/* Ensure text is readable against darker footers */
.footer-area .footer-newsletter_area .heading,
.footer-area .footer-newsletter_area .short-desc { color: #233 !important; }

.banner-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.45);
}

.banner-text {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.98;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.45);
}

.banner-btn {
    padding: 12px 30px;
    background: #ffffff;
    color: #667eea;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.banner-btn:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Ensure CTA text is visible even with .royal-btn !important color */
.banner-content-ecommerce .banner-btn.royal-btn {
    background: linear-gradient(135deg, #0098da 0%, #0b78ab 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 6px 18px rgba(0,152,218,0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 0 24px;
    line-height: 1;
}

.banner-content-ecommerce .banner-btn.royal-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.95);
    box-shadow: 0 8px 22px rgba(0,152,218,0.45);
}

/* Make hero slider CTA consistent and highly visible */
.video-slider_area .slide-btn .royal-btn {
    background: linear-gradient(135deg, #0098da 0%, #0b78ab 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 6px 18px rgba(0,152,218,0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 0 24px;
    line-height: 1;
}

.video-slider_area .slide-btn .royal-btn:hover {
    filter: brightness(0.95);
}

/* Ensure hero image shows without video slider initialization */
.video-slider_area { overflow: hidden; }
.video-slider_area .home-slider { position: relative; overflow: hidden; }
/* Lock the hero height to match production look and avoid pushing banners */
.video-slider_area .slide-item { position: relative; min-height: 520px; overflow: hidden; }
@media (max-width: 991px) { .video-slider_area .slide-item { min-height: 450px; } }
@media (max-width: 575px) { .video-slider_area .slide-item { min-height: 335px; } }

/* Center the product image, reduce size, and add continuous glide */
.video-slider_area .slide-item .inner-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  /* First slide-in, then start a gentle center sweep */
  animation: rb-hero-slide-in 1.6s ease-out 0.1s 1 both,
             rb-hero-center-sweep 9s ease-in-out 1.8s infinite alternate both;
}
.video-slider_area .slide-item .inner-img > img {
  height: auto;
  width: clamp(240px, 36vw, 860px);
}
@media (max-width: 1199px) {
  .video-slider_area .slide-item .inner-img > img { width: clamp(220px, 44vw, 420px); }
}
@media (max-width: 767px) {
  .video-slider_area .slide-item .inner-img > img { width: clamp(200px, 62vw, 380px); }
}

@keyframes rb-hero-slide-in {
  0% { transform: translateX(-180%); opacity: 0.0; }
  20% { opacity: 1; }
  100% { transform: translateX(-50%); opacity: 1; }
}

/* Continuous, centered left-to-right glide */
@keyframes rb-hero-center-sweep {
  0% { transform: translateX(-65%); }
  50% { transform: translateX(-50%); }
  100% { transform: translateX(-35%); }
}

/* Fallback: show bg-1 image even when slick is not initialized */
.bg-1:before {
  background-image: none;
  background-position: center;
  background-size: cover;
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  animation: kenburns-top 15s ease-out 0s 1 both;
  pointer-events: none;
  z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .banner-ecommerce .banner-img {
        height: 350px;
    }
    /* Keep banner content centered and visible */
    .banner-content-ecommerce {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 0 24px;
    }
    
    .banner-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .banner-ecommerce .banner-img {
        height: 300px;
    }
    
    /* Keep banner content centered and readable on small screens */
    .banner-content-ecommerce {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 0 16px;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .banner-text {
        font-size: 14px;
    }
    
    .banner-badge {
        font-size: 10px;
        padding: 6px 12px;
    }
    
.banner-btn {
    padding: 10px 24px;
    font-size: 14px;
}
}
/* ================= Quick View Info Column (Yena-style) ================ */
#rbQuickViewBody .qv-price .new-price{font-size:22px;font-weight:700;color:#111}
#rbQuickViewBody .qv-price .old-price{color:#9CA3AF;text-decoration:line-through;margin-right:8px}
#rbQuickViewBody .qv-select-group .size-label{display:block;font-weight:600;margin-bottom:6px;color:#374151}
#rbQuickViewBody .qv-select-group .nice-select{min-width:200px}
/* Inline size notice under stock status: keep layout stable even before message shows */
.size-notice {
  min-height: 18px;
  line-height: 18px;
}

/* Product detail stock status styling */
.product-info .in-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 18px;
}

.product-info .in-stock.text-success { color: #2e7d32; }
.product-info .in-stock.text-danger { color: #d93025; }

.product-info .in-stock .lastudioicon-check { color: #2e7d32; font-size: 18px; }
.product-info .in-stock .lastudioicon-close { color: #d93025; font-size: 18px; }

.size-notice {
  font-size: 13px;
}

.newsletter-area.newsletter-bg-1,
.newsletter-area-2.newsletter-bg-2,
.instagram-area.instagram-bg-1,
.testimonial-bg-1,
.banner-bg-1,
.banner-bg-2,
.banner-bg-3,
.banner-bg-4,
.banner-bg-5,
.banner-bg-6,
.banner-bg-7,
.banner-bg-8,
.banner-bg-9,
.home-slider .bg-1,
.home-slider .bg-2,
.home-slider .bg-3,
.home-slider .bg-4,
.home-slider .bg-5,
.home-slider .bg-6,
.home-slider .bg-8 {
  background-image: inherit;
}
  margin-top: 6px;
}
.size-notice.text-danger { color: #d93025; }
/* Ensure the inline size notice sits BELOW the stock line */
.product-details_area .product-details_content .essential-stuff .product-info {
  flex-wrap: wrap;
}
.product-details_area .product-details_content .essential-stuff .product-info .size-notice {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  margin-left: 0;
}
#rbQuickViewBody .qv-purchase-row{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:6px}
#rbQuickViewBody .qv-purchase-row .royal-btn{align-self:flex-start;margin-left:0}
#rbQuickViewBody .qv-action-links{font-size:13px;color:#6B7280}
#rbQuickViewBody .qv-action-links .wishlist-toggle{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#ff6ec4 0%, #ff9a44 100%);color:#fff;border:0;border-radius:20px;padding:8px 12px;font-weight:700;cursor:pointer;transition:filter .15s ease,transform .15s ease;box-shadow:0 6px 14px rgba(255,110,196,.25)}
#rbQuickViewBody .qv-action-links .wishlist-toggle i{font-size:16px;line-height:1}
#rbQuickViewBody .qv-action-links .wishlist-toggle:hover{filter:brightness(.95);transform:translateY(-1px)}
#rbQuickViewBody .qv-action-links .wishlist-toggle.active{background:linear-gradient(135deg,#34d399 0%, #10b981 100%);box-shadow:0 6px 14px rgba(16,185,129,.25)}

/* ============================================== */
/* Shop Megamenu: right column logo placement */
/* ============================================== */
@media (min-width: 1200px) {
  .main-nav > ul > li.megamenu-holder.shop-menu .royal-megamenu_wrap .royal-megamenu > li.mega-logo-wrap {
    text-align: center;
  }
  .main-nav > ul > li.megamenu-holder.shop-menu .royal-megamenu_wrap .royal-megamenu > li.mega-logo-wrap .mega-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  /* Transparent and larger logo */
  .main-nav > ul > li.megamenu-holder.shop-menu .royal-megamenu_wrap .royal-megamenu > li.mega-logo-wrap .mega-logo img {
    width: 750px; /* requested width */
    max-width: 100%;
    height: auto; /* maintain aspect ratio */
    max-height: 300px; /* requested height cap */
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    object-fit: contain;
  }

  /* Fill the megamenu with two equal columns for Shop */
  .main-nav > ul > li.megamenu-holder.shop-menu .royal-megamenu_wrap .royal-megamenu.royal-megamenu-2 > li {
    width: 50%;
  }
}

/* ============================================== */
/* Account & Pages Megamenu: mirror Shop logo placement */
/* Applies the same centering and sizing if a logo column exists */
@media (min-width: 1200px) {
  .main-nav > ul > li.megamenu-holder.position-static .royal-megamenu_wrap .royal-megamenu > li.mega-logo-wrap {
    text-align: center;
  }
  .main-nav > ul > li.megamenu-holder.position-static .royal-megamenu_wrap .royal-megamenu > li.mega-logo-wrap .mega-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .main-nav > ul > li.megamenu-holder.position-static .royal-megamenu_wrap .royal-megamenu > li.mega-logo-wrap .mega-logo img {
    width: 750px;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  /* Ensure two equal columns when using .royal-megamenu-2 template */
  .main-nav > ul > li.megamenu-holder.position-static .royal-megamenu_wrap .royal-megamenu.royal-megamenu-2 > li {
    width: 50%;
  }
}
/* ============================= */
/* Google Sign-In button styles  */
/* ============================= */
.google-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 18px;
  border-radius: 9999px; /* pill style */
  background: #fff;
  color: #3c4043;
  border: 1.5px solid #dadce0;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.google-btn:hover { background: #f8f9fa; border-color: #c9cdd3; color: #202124; }
.google-btn:active { background: #f1f3f4; }
.google-btn .google-icon { flex: 0 0 auto; width: 20px; height: 20px; }
.google-btn .label { display: inline; line-height: 1; }

/* Dark mode compatibility */
:root[data-theme="dark"] .google-btn {
  background: #131314; /* dark filled variant */
  color: #e4e4e6;
  border-color: #2a2d2f;
  box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
:root[data-theme="dark"] .google-btn:hover { background: #222427; }

/* ============================================== */
/* Wishlist Page                                  */
/* ============================================== */
/* AJAX feedback toast on wishlist page */
#ajax-feedback,
.rb-ajax-feedback {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  padding: 8px 18px;
  border-radius: 4px;
  background: #23272c; /* default neutral; JS may override for success/error */
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile-only: shrink toast notifications to avoid oversized UI */
@media (max-width: 640px) {
  /* Footer cart toast overrides inline styles */
  #cart-toast {
    font-size: 0.95rem !important;
    padding: 8px 14px !important;
    border-radius: 14px !important;
    min-width: 160px !important;
    top: 16px !important;
    gap: 6px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
    /* Slow, smooth transform for right→center glide on mobile */
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, top 0.35s ease !important;
    will-change: transform, opacity;
    backface-visibility: hidden;
    contain: layout paint style;
  }
  #cart-toast i { font-size: 16px !important; }

  /* Generic AJAX feedback toast */
  #ajax-feedback, .rb-ajax-feedback {
    top: 14px;
    /* Center for mobile and animate like cart toast */
    left: 50%;
    right: auto;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    transform: translateX(120vw); /* start fully off-screen to the right */
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, top 0.35s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
    contain: layout paint style;
  }

  /* Unified mobile toast classes for smoother GPU-accelerated animations */
  .toast-mobile {
    left: 50% !important;
    right: auto !important;
    transform: translateX(120vw) translateZ(0) !important;
    opacity: 0 !important;
  }
  .toast-mobile.toast-in {
    animation: toast-slide-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .toast-mobile.toast-out {
    animation: toast-slide-out 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  @keyframes toast-slide-in {
    from { transform: translateX(120vw) translateZ(0); opacity: 0; }
    60% { transform: translateX(-50%) translateZ(0); opacity: 1; }
    to { transform: translateX(-50%) translateZ(0); opacity: 1; }
  }
  @keyframes toast-slide-out {
    from { transform: translateX(-50%) translateZ(0); opacity: 1; }
    to { transform: translateX(140vw) translateZ(0); opacity: 0; }
  }

  /* Respect reduced motion on mobile */
  @media (prefers-reduced-motion: reduce) {
    .toast-mobile { transform: none !important; opacity: 1 !important; }
    .toast-mobile.toast-in, .toast-mobile.toast-out { animation: none !important; }
  }
}

/* Selected size & Add to Cart styling (moved from wishlist.html) */
.size-option.active {
  background-color: #0098da; /* brand blue */
  border-color: #0098da;
  color: #fff;
}
.size-option:not(:disabled):hover,
.size-option.active:not(:disabled):hover {
  background-color: #0098da;
  border-color: #0098da;
  color: #fff;
}
.size-option.oos {
  opacity: 0.6;
  cursor: not-allowed;
}

.size-cart-wrap .wishlist-add-btn {
  background-color: #0098da; /* brand blue permanent */
  border-color: #0098da;
  color: #fff;
}
.size-cart-wrap .wishlist-add-btn:hover {
  background-color: #000;
  border-color: #000;
  color: #fff;
}
/*
Royal Bloomaa custom styles.

- Overrides for product grids, size selectors, and popups
- Minor layout tweaks on top of theme/vendor styles
Comments only; no style changes here.
*/

/* ============================================== */
/* Global Scrollbar Styling — brand blue (#0098da) */
/* Applies across the site; Firefox + WebKit support */
/* ============================================== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #0098da #e5eef5; /* thumb / track */
}

/* WebKit (Chrome, Edge, Safari) */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: #e5eef5;
}
*::-webkit-scrollbar-thumb {
  background-color: #0098da;
  border-radius: 8px;
  border: 2px solid #e5eef5;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: #0b78ab; /* darker hover */
}

/* ============================================== */
/* Checkout Payment Icons — stack vertically on mobile */
/* ============================================== */
.payment-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 480px) {
  .payment-icons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Normalize icon boxes for consistent alignment */
.payment-icons img {
  height: 20px;
  display: block; /* avoid baseline misalignment */
  margin: 0;
  padding: 0;
}

/* On mobile, place icons below the label text */
@media (max-width: 480px) {
  .checkout-payment-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
/* Related Products: mobile — make section full-bleed (edge-to-edge) */
@media (max-width: 767.98px) {
  /* Remove horizontal padding from containers within related section */
  .royal-product_area-5,
  .royal-product_area-5 .container,
  .royal-product_area-5 .container-fluid,
  .royal-product_area-5 .tab-content,
  .royal-product_area-5 .tab-pane {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Neutralize Bootstrap row gutters inside the section */
  .royal-product_area-5 .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Remove column side paddings to maximize card width */
  .royal-product_area-5 [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Ensure the product slider uses the full width with no internal gutters */
  .royal-product_area-5 .product-slider .slick-list,
  .royal-product_area-5 .product-slider .slick-track {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .royal-product_area-5 .product-slider .slick-slide > div,
  .royal-product_area-5 .product-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Related Products: mobile — add gentle side padding for breathing room */
@media (max-width: 767.98px) {
  /* Let the whole section sit with small safe edges */
  .royal-product_area-5 {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Ensure the immediate inner container respects the gentle edges */
  .royal-product_area-5 .container-fluid {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* Product Detail: force arrow buttons instead of 'Previous/Next' text */
.product-details_area .pd-slider-nav.arrow-style-2 .slick-prev,
.product-details_area .pd-slider-nav.arrow-style-2 .slick-next {
  font-size: 0 !important; /* hide default text */
  color: transparent !important;
  /* Do not push generated content out of view */
  text-indent: 0 !important;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

/* Compact square buttons positioned above and below the thumbnail list */
.product-details_area .pd-slider-nav.arrow-style-2 .slick-arrow {
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  margin: 6px auto !important;
  border-radius: 3px;
  background-color: #211e1c !important; /* day color: black */
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-details_area .pd-slider-nav.arrow-style-2 .slick-arrow:hover {
  background-color: #0098da !important; /* theme blue on hover */
}

.product-details_area .pd-slider-nav.arrow-style-2 .slick-prev::before,
.product-details_area .pd-slider-nav.arrow-style-2 .slick-next::before {
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  color: #ffffff;
  display: inline-block;
}
.product-details_area .pd-slider-nav.arrow-style-2 .slick-prev::before { content: "\25B2" !important; }
.product-details_area .pd-slider-nav.arrow-style-2 .slick-next::before { content: "\25BC" !important; }

/* Global fail-safe: ensure triangles render wherever arrow-style-2 is used */
.arrow-style-2 .slick-prev::before { content: "\25B2" !important; }
.arrow-style-2 .slick-next::before { content: "\25BC" !important; }

/* Ensure the inner <i> icon uses reliable Unicode triangles after Slick initializes */
.product-details_area .pd-slider-nav.arrow-style-2 .slick-arrow.tty-slick-text-prev>i::before {
  content: "\25B2" !important; /* up triangle */
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  color: #ffffff;
}
.product-details_area .pd-slider-nav.arrow-style-2 .slick-arrow.tty-slick-text-next>i::before {
  content: "\25BC" !important; /* down triangle */
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  color: #ffffff;
}

/* Product Detail: arrow-style — ensure reliable left/right icons on overlay buttons */
.product-details_area .pd-slider-nav.arrow-style .slick-prev,
.product-details_area .pd-slider-nav.arrow-style .slick-next {
  font-size: 0 !important; /* hide any default text */
  color: transparent !important;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.product-details_area .pd-slider-nav.arrow-style .slick-prev::before,
.product-details_area .pd-slider-nav.arrow-style .slick-next::before {
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  color: #ffffff;
  display: inline-block;
}
.product-details_area .pd-slider-nav.arrow-style .slick-prev::before { content: "\25C0" !important; } /* ◀ left */
.product-details_area .pd-slider-nav.arrow-style .slick-next::before { content: "\25B6" !important; } /* ▶ right */
.product-details_area .pd-slider-nav.arrow-style .tty-slick-text-prev>i::before {
  content: "\25C0" !important; /* ◀ left */
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  color: #ffffff;
}
.product-details_area .pd-slider-nav.arrow-style .tty-slick-text-next>i::before {
  content: "\25B6" !important; /* ▶ right */
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  color: #ffffff;
}
/* ============================================== */
/* Sale This Week – image stack hover like tabs   */
/* ============================================== */
/* Ensure secondary image appears on hover, matching New/Trending/Best Seller */
.royal-product_area .product-img .img-stack { position: relative; display: block; }
.royal-product_area .product-img .img-stack img { display: block; width: 100%; height: auto; }
.royal-product_area .product-img .img-stack .img-primary { position: relative; z-index: 1; }
.royal-product_area .product-img .img-stack .img-secondary { position: absolute; inset: 0; z-index: 2; opacity: 0 !important; visibility: hidden !important; pointer-events: none; transition: opacity .25s ease; }
.royal-product_area .product-item:hover .product-img .img-stack .img-secondary { opacity: 1 !important; visibility: visible !important; }

.wa-widget{position:fixed;bottom:72px;left:20px;z-index:99999}
@media (max-width: 991.98px){.wa-widget{bottom:96px}}
.wa-button{width:56px;height:56px;border:none;border-radius:50%;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.22);cursor:pointer}
.wa-list{position:absolute;bottom:64px;left:0;background:#fff;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.15);overflow:hidden;visibility:hidden;opacity:0;transform:translateY(10px);transition:all .2s ease;pointer-events:auto;display:flex;gap:8px;padding:8px}
.wa-list.show{visibility:visible;opacity:1;transform:translateY(0)}
.wa-item{display:flex;align-items:center;justify-content:center;padding:10px 12px;border-bottom:1px solid #f1f3f5}
.wa-item:last-child{border-bottom:none}
.wa-iconbtn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#f8f9fa;color:#25D366;text-decoration:none}
.wa-iconbtn:hover{background:#eef7f1}
@media (hover:hover) and (pointer:fine){.wa-widget:hover .wa-list,.wa-list:hover{visibility:visible;opacity:1;transform:translateY(0)}}

/* ============================================== */
/* Blog Search Suggestions (Enhanced)             */
/* ============================================== */
.rb-search-box-wrapper {
  position: relative;
}

.rb-search-suggestions {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  z-index: 1000;
  display: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: 350px;
  overflow-y: auto;
  /* Scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
}

.rb-search-suggestions::-webkit-scrollbar {
  width: 5px;
}
.rb-search-suggestions::-webkit-scrollbar-track {
  background: transparent;
}
.rb-search-suggestions::-webkit-scrollbar-thumb {
  background-color: #e0e0e0;
  border-radius: 10px;
}

.rb-suggestion-item {
  display: block;
  padding: 14px 20px;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  line-height: 1.5;
  position: relative;
}

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

.rb-suggestion-item:hover {
  background-color: #fafafa;
  color: #bd8448; /* Royal Gold */
  padding-left: 28px;
}

.rb-suggestion-item::before {
  content: "\f002"; /* Search icon unicode (FontAwesome) - optional check if font exists */
  font-family: "Font Awesome 5 Pro", "FontAwesome", sans-serif;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.25s ease;
  font-size: 12px;
  color: #bd8448;
}

/* If FontAwesome isn't available, we can use a simple bullet or dash */
.rb-suggestion-item:hover::before {
  opacity: 1;
  left: 10px;
}

/* ============================================== */
/* Blog Sidebar - Recent Posts (Archives)         */
/* ============================================== */
.widgets-area.archives-area .single-blog {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.widgets-area.archives-area .single-blog .blog-img {
  flex: 0 0 80px;
  max-width: 80px;
}

.widgets-area.archives-area .single-blog .blog-img img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover;
  border-radius: 4px;
}

.widgets-area.archives-area .single-blog .blog-content {
  flex: 1;
}

.widgets-area.archives-area .single-blog .blog-content .title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 5px;
  margin-top: 0;
}

.twofactor-card .royal-btn.btn-lg.rb-2fa-cta {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 16px 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 6px;
  background-color: #000000;
  color: #fff;
  text-decoration: none;
}
.twofactor-card .royal-btn.btn-lg.rb-2fa-cta:hover {
  background-color: #0098da;
  color: #fff;
}
.twofactor-card .rb-2fa-actions { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 16px; }
.twofactor-card .rb-2fa-next { padding: 12px 24px; font-size: 16px; font-weight: 700; }
.twofactor-card .rb-2fa-cancel, .twofactor-card .rb-2fa-back { padding: 10px 20px; }
.twofactor-card .rb-2fa-next:hover { background-color: #0098da; transform: translateY(-1px); }
.twofactor-card .rb-2fa-cancel:hover, .twofactor-card .rb-2fa-back:hover { color: #0098da; transform: translateY(-1px); text-decoration: none; }

.twofactor-card .rb-2fa-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}
.twofactor-card .rb-2fa-next {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
}
.twofactor-card .rb-2fa-cancel,
.twofactor-card .rb-2fa-back {
  padding: 10px 20px;
}
.twofactor-card .rb-2fa-back { color: #fff !important; }
.twofactor-card .rb-2fa-back:hover { color: #fff !important; }
.rb-otp-qr-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:16px}
.rb-otp-qr{width:220px;height:220px;border-radius:8px;border:1px solid #eee}
.rb-otp-key{display:flex;flex-direction:column;align-items:center;margin-bottom:16px;gap:6px}
.rb-otp-key-label{font-weight:700;color:#333}
.rb-otp-code{display:inline-block;background:#111;color:#fff;padding:8px 12px;border-radius:6px;letter-spacing:1px}
.rb-2fa-complete-actions{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:16px}
.rb-2fa-generate{padding:12px 24px;font-size:16px;font-weight:700}
.rb-2fa-back{padding:10px 20px}
/* Profile page: align action buttons in one row */
.twofactor-card .rb-2fa-actions .royal-btn{
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}
.twofactor-card .royal-btn.rb-2fa-danger{
  background: #111;
  color: #fff;
}
.twofactor-card .royal-btn.rb-2fa-danger:hover{
  background-color: #d93025; /* red */
  color: #fff;
}

/* ============================================== */
/* Staff Asset Modal & Button Styling             */
/* ============================================== */
/* Custom Modal Close Button */
.modal .btn-close-custom {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}
.modal .btn-close-custom:hover {
    transform: scale(1.1);
    color: #dc3545; /* Red on hover */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Delete Button Red - Default & Hover */
.royal-btn.btn-delete-action {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}
.royal-btn.btn-delete-action:hover {
    background-color: #bb2d3b !important;
    border-color: #b02a37 !important;
    color: #fff !important;
}

/* Re-lock Button (Unlocked State) */
.royal-btn.btn-relock {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #fff !important;
    min-width: 110px; /* Ensure width is consistent for text swap */
    transition: background-color 0.2s ease; /* Only transition background, not content */
}

/* Default State */
.royal-btn.btn-relock .text-unlocked {
    display: inline-block !important;
}
.royal-btn.btn-relock .text-relock {
    display: none !important;
}

/* Hover State */
.royal-btn.btn-relock:hover {
    background-color: #dc3545 !important; /* Switch to red on hover to indicate locking/warning */
    border-color: #dc3545 !important;
}
.royal-btn.btn-relock:hover .text-unlocked {
    display: none !important;
}
.royal-btn.btn-relock:hover .text-relock {
    display: inline-block !important;
}

/* Custom Gray Checkbox Styling - FORCE VISIBILITY */
.form-check-input {
        background-color: #e9ecef !important;
        border-color: #ced4da !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 1.2em;
        height: 1.2em;
        cursor: pointer; }
  .form-check-input:checked {
        background-color: #6c757d !important;
        border-color: #6c757d !important;
    }
    /* Highlight the checkbox column */
  .col-checkbox {
        background-color: #f8f9fa;
        border-right: 1px solid #dee2e6;
        width: 50px;
        min-width: 50px;
        text-align: center;
        padding: 0 !important;
        vertical-align: middle;
    }
  .table th, .table td {
        vertical-align: middle;
    }
  .assets-toolbar {
        display: flex;
        gap: 8px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 12px;
    }
