
/* Back Order Notice (modern) */
.bo-notice{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(217,163,0,.35);
  background: linear-gradient(180deg, rgba(255,220,115,.55), rgba(255,220,115,.20));
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  color:#3a2a00;
}

.bo-notice__icon{
  flex:0 0 auto;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background: rgba(217,163,0,.18);
  border:1px solid rgba(217,163,0,.25);
  font-size:18px;
}

.bo-notice__text{
  min-width:0;
  flex:1 1 auto;
}

.bo-notice__title{
  font-weight:800;
  letter-spacing:.2px;
  line-height:1.1;
}

.bo-notice__sub{
  margin-top:4px;
  font-size:14px;
  opacity:.85;
  line-height:1.25;
}

.bo-notice__cta{
  flex:0 0 auto;
  text-decoration:none;
  font-weight:800;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(217,163,0,.55);
  background:#fff;
  color:#3a2a00;
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.bo-notice__cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
}

.bo-notice__cta:active{
  transform: translateY(0px);
}

@media (max-width: 520px){
  .bo-notice{
    flex-wrap:wrap;
    gap:10px;
    padding:12px;
  }
  .bo-notice__cta{
    width:100%;
    text-align:center;
  }
}


/* =========================
   PRO OPC Payment Accordion
========================= */
.proopc-payment-accordion{
  display: grid;
  gap: 12px;
}

/* Card */
.proopc-pay-item{
  border: 1px solid #e6e8eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

/* Header button */
.proopc-pay-head{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f7f8fa;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.proopc-pay-title{
  font-weight: 700;
  font-size: 0.98rem;
  flex: 1;
}

.proopc-pay-meta{
  font-size: .9rem;
  opacity: .75;
  white-space: nowrap;
}

/* Simple chevron */
.proopc-pay-chevron{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(0,0,0,.45);
  border-bottom: 2px solid rgba(0,0,0,.45);
  transform: rotate(45deg);
  transition: transform .15s ease;
}

/* Body */
.proopc-pay-body{
  padding: 14px 16px;
  border-top: 1px solid #e6e8eb;
  display: none; /* accordion default */
}

/* Expanded state */
.proopc-pay-item.is-open .proopc-pay-body{ display:block; }
.proopc-pay-item.is-open .proopc-pay-chevron{ transform: rotate(-135deg); }

/* Selected state (PocketBike red outline) */
.proopc-pay-item.is-selected{
  border-color: #7a0019;
  box-shadow: 0 10px 26px rgba(122,0,25,.12);
}

.proopc-pay-body input[type="radio"]{
  transform: scale(1.05);
}

/* Optional: tighten ugly plugin spacing */
.proopc-pay-body > *:first-child{ margin-top: 0; }
.proopc-pay-body > *:last-child{ margin-bottom: 0; }


/* Hide Username + Displayed Name fields on registration form */
#adminForm .control-group .username-label,
#adminForm .control-group .name-label,
#adminForm #username_field,
#adminForm #name_field{
  display: none !important;
}

#PrimeManufacturerCarousel-111-iw{
  display: flex;
  justify-content: center;
}

.modal-content{ border-radius: 20px; }
.modal-header{ border-radius: 20px; }

.category-name, .manufacturer-name, .product-name{
  font-size: 1.3rem;
  color: inherit;
  text-decoration: none;
}

.nav-tabs-simple .nav-link{
  font-size: 2.2rem;
  text-transform: unset;
}

/* Full-screen overlay */
#loadingOverlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* Spinner */
.spinner{
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255,255,255,0.3);
  border-top: 5px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin{
  0%{ transform: rotate(0deg); }
  100%{ transform: rotate(360deg); }
}

#ProOPC .proopc-table-striped{
  border-radius: 10px;
}

/* NOTE: This is aggressive but kept as-is from your file */
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.main-section{
  padding-top: unset;
}

/* Logo Styles */
.brand-logo,
.site-logo{
  max-width: 200px;
  height: auto;
}

.offcanvas-brand-logo{
  max-width: 100px;
  height: auto;
}

/* Typography */
pre{
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

.bike-header h1{
  position: absolute;
  padding-bottom: 0.8rem;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  font-size: 2rem;
}

/* Tags/Badges */
.express,
.expressD,
special,
.schematics,
.promoBannerBlackFriday{
  display: inline-block;
  height: 25px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  border-radius: 4px;
  text-align: center;
  vertical-align: middle;
}

.express{ background-color: #1BB107; color: #fff; }
.expressD{ background-color: #006600; color: #fff; }
.special{ background-color: #FF8000; color: #fff; display: inline-block;
  height: 25px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  border-radius: 4px;
  text-align: center;
  vertical-align: middle; }

.schematics{
  background-color: #FFD24D;
  color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  white-space: nowrap;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.schematics:hover{
  background-color: #FFC107;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.promoBannerBlackFriday{
  background-color: #000;
  color: #fff;
  height: 30px;
  max-height: 30px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.promoIconBlackFriday{ margin-right: 6px; display: inline-block; vertical-align: middle; }
.promoTextBlackFriday{ vertical-align: middle; }

/* Small modern pill buttons (Buy + Parts) */
.myButtonBuy,
.myButtonParts{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .2px;
  border-radius: 999px;
  border: 1px solid rgba(15,17,17,.18);
  text-decoration: none;
  user-select: none;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 2px 0 rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.08);
  transition: transform .08s ease, box-shadow .12s ease, opacity .12s ease, background-color .12s ease;
}
.myButtonBuy:hover,
.myButtonParts:hover{ opacity: .92; }
.myButtonBuy:active,
.myButtonParts:active{
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0,0,0,.12), 0 5px 12px rgba(0,0,0,.08);
}
.myButtonBuy{
  background: #FFD814;
  border-color: #FCD200;
  color: #0F1111;
}
.myButtonParts{
  background: #0F1111;
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.myButtonBuy:focus-visible,
.myButtonParts:focus-visible{
  outline: 3px solid rgba(255,153,0,.45);
  outline-offset: 2px;
}

/* Buttons (existing custom classes) */
.btn-details{
  --btn-color: var(--template-primary-contrast-color);
  --btn-bg: #2f7d32;
  --btn-border-color: #2f7d32;
  --btn-hover-color: var(--template-primary-hover-contrast-color);
  --btn-hover-bg: var(--template-primary-hover-color);
  --btn-hover-border-color: var(--template-primary-hover-color);
  --btn-focus-shadow-rgb: 39, 39, 111;
  --btn-active-color: var(--template-primary-hover-contrast-color);
  --btn-active-bg: var(--template-primary-hover-color);
  --btn-active-border-color: var(--template-primary-hover-color);
  --btn-active-shadow: none;
  --btn-disabled-color: var(--template-primary-contrast-color);
  --btn-disabled-bg: var(--template-primary-color);
  --btn-disabled-border-color: var(--template-primary-color);
}

.vpacr-btn-primary{
  --btn-color: #fff;
  --btn-bg: #8b0000;
  --btn-border-color: #b22222;
  --btn-hover-color: #fff;
  --btn-hover-bg: #d32f2f;
  --btn-box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.5);
  --btn-focus-box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 10px 20px;
  border-radius: 5px;
}

/* SP Page Builder buttons */
.sppb-btn{
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  outline: none;
}
.sppb-btn-primary{
  color: #ffffff;
  background-color: #ff0000;
  border: 2px solid #cc0000;
}
.sppb-btn-primary:hover{
  background-color: #cc0000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.sppb-btn-rounded{ border-radius: 50px; }
.sppb-btn-3d{
  box-shadow: 0 5px 0 #cc0000, 0 10px 15px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.sppb-btn-3d:active{
  box-shadow: 0 2px 0 #cc0000, 0 5px 10px rgba(0,0,0,0.3);
  transform: translateY(2px);
}

/* Layout */
.container1{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

/* Modern card-like box (single source of truth) */
.box1{
  width: calc(25% - 20px);
  margin: 10px;
  background: #fff;
  border: 1px solid rgba(15,17,17,.12);
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.box1:hover{
  transform: translateY(-4px);
  border-color: rgba(15,17,17,.18);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
}
.box1 img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.box1 *{ max-width: 100%; }
@media (max-width: 1100px){ .box1{ width: calc(33.333% - 20px); } }
@media (max-width: 800px){  .box1{ width: calc(50% - 20px); } }
@media (max-width: 520px){  .box1{ width: calc(100% - 20px); } }

/* Modern parts grid wrapper */
.parts-wrapper{
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 94%;
  padding: 0 10px;
}
.parts-wrapper > *{
  background: #fff;
  border: 1px solid rgba(15,17,17,.12);
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.parts-wrapper > *:hover{
  transform: translateY(-4px);
  border-color: rgba(15,17,17,.18);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
}
.parts-wrapper > * img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.parts-wrapper > * a{
  display: block;
  margin-top: 6px;
  font-weight: bold;
}

/* ProOPC typography block */
.ProOPC,
#ProOPC span,
#ProOPC div,
#ProOPC p,
#ProOPC input,
#ProOPC select,
#ProOPC button,
#ProOPC h1,
.proopc-finalpage h3,
.proopc-finalpage h2,
.proopc-finalpage h1,
.proopc-finalpage h4,
.proopc-register-login h3,
.proopc-register-login h2,
.proopc-register-login h4,
.proopc-register-login h1{
  font: 16px/1.55 "Roboto", sans-serif;
  border-radius: 10px;
  font-weight: 500;
}

#ProOPC .cart-page-title,
#ProOPC .cart-page-title span{
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
  border: 0 none;
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
}

#ProOPC input[type="checkbox"],
#ProOPC input[type="radio"]{
  width: auto;
  transform: scale(2);
}

/* ProOPC input style (kept the newer “Google-ish” version, removed the older duplicate) */
#ProOPC textarea,
#ProOPC input[type="text"],
#ProOPC input[type="password"],
#ProOPC input[type="datetime"],
#ProOPC input[type="datetime-local"],
#ProOPC input[type="date"],
#ProOPC input[type="month"],
#ProOPC input[type="time"],
#ProOPC input[type="week"],
#ProOPC input[type="number"],
#ProOPC input[type="email"],
#ProOPC input[type="url"],
#ProOPC input[type="search"],
#ProOPC input[type="tel"],
#ProOPC input[type="color"],
#ProOPC .uneditable-input,
#ProOPC select{
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  margin: 8px 0;
  font-size: 16px;
  line-height: 20px;
  color: #555;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  outline: none;
  box-sizing: border-box;
  height: 48px;
  overflow: visible;
  transition: border linear .2s, box-shadow linear .2s;
}


/* ProOPC input style (kept the newer “Google-ish” version, removed the older duplicate) */
#ProOPC input[type="email"]
{
  width: 100% !important;
  padding: 12px 16px;
}

#ProOPC textarea:focus,
#ProOPC input[type="text"]:focus,
#ProOPC input[type="password"]:focus,
#ProOPC input[type="datetime"]:focus,
#ProOPC input[type="datetime-local"]:focus,
#ProOPC input[type="date"]:focus,
#ProOPC input[type="month"]:focus,
#ProOPC input[type="time"]:focus,
#ProOPC input[type="week"]:focus,
#ProOPC input[type="number"]:focus,
#ProOPC input[type="email"]:focus,
#ProOPC input[type="url"]:focus,
#ProOPC input[type="search"]:focus,
#ProOPC input[type="tel"]:focus,
#ProOPC input[type="color"]:focus,
#ProOPC .uneditable-input:focus,
#ProOPC select:focus{
  border-color: #4285f4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3);
}

#ProOPC .proopc-input-append input[type="text"].proopc-qty-input,
#ProOPC .proopc-input-append input[type="number"].proopc-qty-input{
  max-width: 100px;
}

.proopc-btn-info{
  background-color: #27ae60;
  background-image: linear-gradient(to bottom, #2ecc71, #27ae60);
  border-radius: 4px;
  color: white;
  transition: background-image 0.3s ease;
}
.proopc-btn-info:hover{
  background-image: linear-gradient(to bottom, #27ae60, #229954);
}
.proopc-btn-info:active{
  background-image: linear-gradient(to bottom, #229954, #1e8449);
}

.vpacr-form-control{
  --input-color: #555;
  --input-placeholder-color: var(--vpacr-input-placeholder-color, #6c757d);
  --input-background-color: #fff;
  --input-border-color: #dfe1e5;
  --input-focus-border-color: var(--vpacr-input-focus-border-color, #80bdff);
  --input-focus-box-shadow: var(--vpacr-input-focus-box-shadow, 0 1px 6px rgba(32, 33, 36, 0.28));
  --input-border-width: 1px;
  --input-border-radius: 24px;
  --input-padding-top: 12px;
  --input-padding-bottom: 12px;
  --input-padding-left: 16px;
  --input-padding-right: 16px;
  --input-font-size: 16px;
  --input-font-weight: 400;
  --input-line-height: 20px;

  display: inline-block;
  width: 100%;
  padding-top: var(--input-padding-top);
  padding-bottom: var(--input-padding-bottom);
  padding-left: var(--input-padding-left);
  padding-right: var(--input-padding-right);
  font-size: var(--input-font-size);
  font-weight: var(--input-font-weight);
  line-height: var(--input-line-height);
  color: var(--input-color);
  appearance: none;
  background-color: var(--input-background-color);
  background-clip: padding-box;
  border: var(--input-border-width) solid var(--input-border-color);
  border-radius: var(--input-border-radius);
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  outline: none;
  box-sizing: border-box;
  height: 48px;
  overflow: visible;
  transition: border linear .2s, box-shadow linear .2s;
  margin: 8px 0;
  vertical-align: middle;
}

/* GUEST SUPPORT BUTTON SUBMIT */
.r-gs-button{
  cursor: pointer;
  display: inline-block;
  outline: 0;
  border: 0;
  vertical-align: baseline;
  background: #dc2626 !important;
  color: #fff !important;
  padding: 0.75rem 2rem;
  margin: 0;
  text-transform: none;
  text-shadow: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  font-style: normal;
  text-align: center;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.main-top-horizontal-section,
.main-top-vertical-section{
  margin: 0 !important;
}

/* === PocketBike Ajax search – Google style === */
.pbc-search-bar{
  margin: 0 auto;
}

.pbc-search-bar input[type="search"],
.pbc-search-bar input[type="text"]{
  width: 100%;
  padding: 12px 50px 12px 20px;
  font-size: 16px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  outline: none;
  box-sizing: border-box;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%227%22%20stroke%3D%22%235f6368%22%20stroke-width%3D%222%22%20fill%3D%22none%22/%3E%3Cline%20x1%3D%2216%22%20y1%3D%2216%22%20x2%3D%2221%22%20y2%3D%2221%22%20stroke%3D%22%235f6368%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: right 14px center;
}

.pbc-search-bar .input-group,
.pbc-search-bar form,
.pbc-search-bar .input-group-addon,
.pbc-search-bar .input-group-btn{
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pbc-search-bar .vpprime-ajax-search-btn-icon,
.pbc-search-bar button,
.pbc-search-bar input[type="submit"]{
  display: none !important;
}

.pbc-search-bar .input-group > .form-control,
.pbc-search-bar .input-group > input[type="search"],
.pbc-search-bar .input-group > input[type="text"]{
  border-top-right-radius: 24px !important;
  border-bottom-right-radius: 24px !important;
}

.pbc-search-bar input[type="search"]:focus,
.pbc-search-bar input[type="text"]:focus{
  border-color: #b30000 !important;
  box-shadow: none !important;
}

/* VirtueMart Add to Cart — Amazon NEW rounded style */
.addtocart-button,
.addtocart-button input.addtocart-button,
button.addtocart-button,
.vm-button-correct,
.vm-button-cart{
  background-color: #FFD814 !important;
  border: 2px solid #FCD200 !important;
  color: #111 !important;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s ease-in-out;
}
.addtocart-button:hover,
.addtocart-button input.addtocart-button:hover,
button.addtocart-button:hover,
.vm-button-correct:hover,
.vm-button-cart:hover{
  background-color: #F7CA00 !important;
  border-color: #F2C200 !important;
}

/* Hide only that specific menu item everywhere */
li.item-126{ display: none; }

/* OR: hide it only when that page is active (using body class) */
body.hide-this-item .item-126{ display: none; }


/* REGISTRATION PAGE  */
.vm-auth-accordion{
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.vm-auth-accordion .vm-auth-heading,
.vm-auth-accordion .accordion-button,
.vm-auth-accordion .accordion-button.collapsed{
  background-color: #990000;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.15rem;
  border: none;
}

.vm-auth-accordion .accordion-button:focus{ box-shadow: none; }
.vm-auth-accordion .accordion-button::after{ filter: invert(1); }
.vm-auth-accordion .accordion-item{ border: none; }
.vm-auth-accordion .accordion-body{
  border: none;
  padding-top: 1.25rem;
}

.vm-auth-accordion input[type="text"],
.vm-auth-accordion input[type="email"],
.vm-auth-accordion input[type="password"],
.vm-auth-accordion input[type="tel"],
.vm-auth-accordion input[type="number"],
.vm-auth-accordion select,
.vm-auth-accordion textarea{
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
}

.vm-auth-accordion .control-label,
.vm-auth-accordion label{
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 0.98rem;
}

.vm-auth-accordion .btn-primary,
.vm-auth-accordion button[type="submit"]{
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  background-color: #990000;
  border: none;
  color: #ffffff;
}

.vm-auth-accordion .btn-secondary,
.vm-auth-accordion button[type="reset"]{
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  background-color: #f5f5f5;
  border: none;
  color: #333333;
}

.vm-auth-accordion .btn-primary:hover{ opacity: 0.9; }
.vm-auth-accordion .btn-secondary:hover{ background-color: #e9e9e9; }

/* ---------- PASSWORD FIELD FIXES (deduped) ---------- */
.vm-auth-accordion .password-wrapper{ margin-bottom: 0.35rem; }

.vm-auth-accordion .password-wrapper .input-group{
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: 100%;
}

/* Input: left part of the box */
.vm-auth-accordion .password-wrapper .input-group input.form-control,
.vm-auth-accordion .password-wrapper .input-group input[type="password"],
.vm-auth-accordion .password-wrapper .input-group input[type="text"]{
  flex: 1 1 auto;
  border-radius: 6px 0 0 6px;
  border-right: none;
}

/* Eye button: right part of the box */
.vm-auth-accordion .password-wrapper .input-group .btn{
  flex: 0 0 auto;
  margin-left: 0;
  width: auto !important;
  min-width: auto;
  padding: 0 12px;
  font-size: 14px;
  border-radius: 0 6px 6px 0;
  border: 1px solid #ccc;
  border-left: none;
  background: #ffffff;
  color: #555555;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

/* Don’t let “secondary full width” rules break the eye button */
.vm-auth-accordion .btn-secondary.input-password-toggle{
  width: auto !important;
  padding: 0 12px;
  background: #ffffff;
}

/* Icon sizing */
.vm-auth-accordion .password-wrapper .input-group .btn span,
.vm-auth-accordion .password-wrapper .input-group .btn i,
.vm-auth-accordion .password-wrapper .input-group .btn svg{
  font-size: 16px;
  line-height: 1;
}

/* Strength meter full width */
.vm-auth-accordion .password-wrapper meter{ width: 100%; }


/* Amazon-style "Confirm Purchase" (flat color, beveled corners, no gradient) */
#proopc-order-submit.proopc-btn{
  background: #FFD814 !important;
  border: 1px solid #FCD200 !important;
  color: #0F1111 !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: 0 2px 0 #E6B800 !important;
  text-shadow: none !important;
  background-image: none !important;
  transition: transform .05s ease, box-shadow .12s ease, background-color .12s ease;
}
#proopc-order-submit.proopc-btn:hover{
  background: #F7CA00 !important;
  border-color: #F2BE00 !important;
}
#proopc-order-submit.proopc-btn:active{
  transform: translateY(1px);
  box-shadow: 0 1px 0 #E6B800 !important;
  background: #F2C200 !important;
}
#proopc-order-submit.proopc-btn:focus-visible{
  outline: 3px solid rgba(255, 153, 0, 0.45);
  outline-offset: 2px;
}

/* Coupon row */
.proopc-input-append.proopc-row{
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Coupon input */
#proopc-coupon-code{
  height: 44px;
  padding: 0 14px !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 24px !important;
  outline: none;
}

/* Coupon button */
#proopc-task-savecoupon.proopc-btn{
  height: 44px;
  padding: 0 16px !important;
  border-radius: 10px !important;
  background: #FFD814 !important;
  border: 1px solid #FCD200 !important;
  color: #0F1111 !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: transform .05s ease, background-color .12s ease, box-shadow .12s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,.12) !important;
}
#proopc-task-savecoupon.proopc-btn:hover{ background: #F7CA00 !important; }
#proopc-task-savecoupon.proopc-btn:active{
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(0,0,0,.12) !important;
  background: #F2C200 !important;
}
#proopc-task-savecoupon.proopc-btn:focus-visible{
  outline: 3px solid rgba(255,153,0,.45);
  outline-offset: 2px;
}

label{
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
}

/* Modern “Ask a question” button */
a.ask-a-question.link-body-invert{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: linear-gradient(135deg, #ff8a00, #ffb703);
  color: #111 !important;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none !important;
  box-shadow: 0 10px 20px rgba(255, 138, 0, 0.22);
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
a.ask-a-question.link-body-invert:hover{
  filter: brightness(1.03);
  box-shadow: 0 14px 26px rgba(255, 138, 0, 0.28);
}
a.ask-a-question.link-body-invert:active{
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(255, 138, 0, 0.22);
}
a.ask-a-question.link-body-invert:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.25), 0 14px 26px rgba(255, 138, 0, 0.22);
}
@media (max-width: 600px){
  a.ask-a-question.link-body-invert{ width: 100%; }
}

/* ==============================
   VirtueMart "Ask a question" popup (tmpl=component)
   ============================== */
#fancybox-overlay{
  background: rgba(2, 6, 23, 0.72) !important;
  backdrop-filter: blur(6px);
}
#fancybox-wrap, #fancybox-outer{
  border-radius: 18px !important;
}
#fancybox-content{
  border-radius: 18px !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
}
#fancybox-close{
  width: 38px !important;
  height: 38px !important;
  top: 10px !important;
  right: 10px !important;
  opacity: 0.95;
}
#fancybox-close:hover{ opacity: 1; }

body.tmpl-component.com-virtuemart.task-askquestion{
  margin: 0 !important;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(255,138,0,0.18), transparent 55%),
    radial-gradient(700px 380px at 95% 0%, rgba(59,130,246,0.10), transparent 50%),
    #f6f7fb !important;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: #0f172a;
}

body.tmpl-component.com-virtuemart.task-askquestion .ask-product{
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 14px 18px;
}

body.tmpl-component.com-virtuemart.task-askquestion .modal-page-title{
  text-align: center;
  margin: 4px 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

body.tmpl-component.com-virtuemart.task-askquestion .ask-product .card{
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15,23,42,0.10);
  background: #fff;
}

body.tmpl-component.com-virtuemart.task-askquestion .ask-product .row.g-0{
  display: flex;
  flex-wrap: wrap;
}

body.tmpl-component.com-virtuemart.task-askquestion .product-image{
  border-radius: 0 !important;
  object-fit: cover;
}

body.tmpl-component.com-virtuemart.task-askquestion .short-description{ color: #334155; }
body.tmpl-component.com-virtuemart.task-askquestion .card-title{
  font-weight: 900;
  letter-spacing: -0.01em;
}

body.tmpl-component.com-virtuemart.task-askquestion .social-share-list{
  padding-left: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
body.tmpl-component.com-virtuemart.task-askquestion .social-share-link{
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: #fff;
}

body.tmpl-component.com-virtuemart.task-askquestion .form-container{
  margin-top: 14px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
}

body.tmpl-component.com-virtuemart.task-askquestion .form-label{
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

body.tmpl-component.com-virtuemart.task-askquestion .form-control{
  border-radius: 999px;
  border: 1px solid #dfe1e5;
  padding: 12px 14px;
  box-shadow: 0 1px 6px rgba(32,33,36,0.12);
}
body.tmpl-component.com-virtuemart.task-askquestion textarea.form-control{
  border-radius: 18px;
  min-height: 140px;
  resize: vertical;
}
body.tmpl-component.com-virtuemart.task-askquestion .form-control:focus{
  outline: none;
  border-color: rgba(255,138,0,0.65);
  box-shadow: 0 0 0 4px rgba(255,138,0,0.18), 0 1px 8px rgba(32,33,36,0.12);
}

body.tmpl-component.com-virtuemart.task-askquestion .form-group-text-counter{
  margin-top: 10px;
  gap: 10px;
}
body.tmpl-component.com-virtuemart.task-askquestion #comment-text-counter{
  max-width: 90px;
  border-radius: 999px;
  padding: 8px 10px;
}

body.tmpl-component.com-virtuemart.task-askquestion .form-submit .btn.btn-primary{
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(135deg, #ff8a00, #ffb703);
  color: #111;
  font-weight: 900;
  padding: 12px 16px;
  box-shadow: 0 12px 22px rgba(255,138,0,0.22);
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}
body.tmpl-component.com-virtuemart.task-askquestion .form-submit .btn.btn-primary:hover{
  filter: brightness(1.03);
  box-shadow: 0 16px 28px rgba(255,138,0,0.28);
}
body.tmpl-component.com-virtuemart.task-askquestion .form-submit .btn.btn-primary:active{
  transform: translateY(1px);
}

@media (max-width: 768px){
  body.tmpl-component.com-virtuemart.task-askquestion .ask-product{
    padding: 12px 10px 14px;
  }
  body.tmpl-component.com-virtuemart.task-askquestion .col-md-3,
  body.tmpl-component.com-virtuemart.task-askquestion .col-md-9{
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  body.tmpl-component.com-virtuemart.task-askquestion .product-image{
    height: 220px !important;
  }
}


/* ===== Misc bits kept from your file (with syntax fix) ===== */
.mod-vmcategory-dropdown-menu{ width: 100%; overflow: auto; }
.mod-vmcategory-dropdown-menu--item-inner{ z-index: 9999; }

.image-overlay:hover::after{
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.text-center{ text-align: left !important; }

.video-wrapper{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#bg-video{
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.product-price .vm-price-value,
.vm-prices-info{
  display: flex;
  justify-content: space-between;
  font-size: 25px;
  margin-bottom: 0;
  align-items: flex-end;
}

.product-price .PricesalesPrice,
.col-total .PricesalesPrice{
  color: var(--neoteric-color-primary);
}

.mod-megamenu--item-title{ font-weight: bold; }

/* FIXED: removed invalid "max-width: max-width:" + extra semicolons */
.productdetails-view{
  max-width: calc(100% - 5%);
}

@media (min-width: 1400px){
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl,
  .productdetails-view{
    max-width: calc(100% - 5%);
  }
}

.nav-tabs-simple + .tab-content{ font-size: 16px; }

/* (kept as-is) */
.geek-search-wrapper .search-results .result-item{
  position: relative;
  padding: 15px 20px;
  margin: 0 0 10px 0;
  border: 1px solid #D7D7D7;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}
.geek-search-wrapper .search-results .result-item:hover{
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-color: #B0B0B0;
  transform: translateY(-2px);
}

#gpt_float_wrapper{
  position: fixed;
  bottom: 45px;
  left: 20px;
  margin-right: 20px;
  z-index: 999999;
}


/* Remove the extra spacing that form leaves behind (safe) */
body.com-finder .com-finder__form + * {
  margin-top: 0 !important;
}
/* Mobile only: shrink the logo */
@media (max-width: 768px){
  .site-logo,
  .brand-logo,
  .navbar-brand img,
  .header-logo img{
    max-width: 140px !important;  /* change this number */
    height: auto !important;
  }
}


/* ===== Pagination (modern pills + WRAPS on mobile) ===== */
ul.pagination{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;

  display: flex !important;
  flex-wrap: wrap !important;          /* <-- this makes it wrap */
  align-items: center;
  justify-content: center;             /* center on small screens */
  gap: 10px;                           /* consistent spacing */
}

/* remove bootstrap-ish margins that can fight wrapping */
ul.pagination .page-item{
  margin: 0 !important;
}

/* pill buttons */
ul.pagination .page-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 44px;
  height: 44px;
  padding: 0 14px;

  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: #111;
  text-decoration: none;

  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* hover */
ul.pagination .page-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}

/* active page */
ul.pagination .page-item.active .page-link{
  background: #990000;
  border-color: #990000;
  color: #fff;
}

/* disabled */
ul.pagination .page-item.disabled .page-link{
  opacity: .45;
  pointer-events: none;
}

/* icons look centered */
ul.pagination .page-link .icon-angle-left,
ul.pagination .page-link .icon-angle-right,
ul.pagination .page-link .icon-angle-double-left,
ul.pagination .page-link .icon-angle-double-right{
  line-height: 1;
}

/* tighter on phones so it wraps cleaner */
@media (max-width: 576px){
  ul.pagination{
    gap: 8px;
  }
  ul.pagination .page-link{
    height: 40px;
    min-width: 40px;
    padding: 0 12px;
    font-size: 14px;
  }
}

/* ===== Awesomplete dropdown (modern) ===== */
ul[role="listbox"][id^="awesomplete_list_"]{
  position: absolute;                 /* awesomplete usually positions this */
  z-index: 9999;

  margin: 10px 0 0 !important;
  padding: 8px !important;
  list-style: none !important;

  width: min(560px, 100%);            /* don’t get crazy wide */
  max-height: 340px;
  overflow: auto;

  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);

  box-shadow: 0 18px 50px rgba(0,0,0,.14);
}

/* hide when [hidden] is present (just in case) */
ul[role="listbox"][id^="awesomplete_list_"][hidden]{
  display: none !important;
}

/* items */
ul[role="listbox"][id^="awesomplete_list_"] > li[role="option"]{
  display: flex;
  align-items: center;

  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;

  color: #111;
  font-size: 15px;
  line-height: 1.25;

  transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}

/* hover / keyboard focus */
ul[role="listbox"][id^="awesomplete_list_"] > li[role="option"]:hover,
ul[role="listbox"][id^="awesomplete_list_"] > li[role="option"]:focus{
  background: rgba(0,0,0,.05);
  transform: translateY(-1px);
}

/* selected (Awesomplete often toggles aria-selected=true) */
ul[role="listbox"][id^="awesomplete_list_"] > li[role="option"][aria-selected="true"]{
  background: rgba(255,128,0,.14);
  box-shadow: inset 0 0 0 1px rgba(255,128,0,.35);
}

/* highlight match (your <mark> tags) */
ul[role="listbox"][id^="awesomplete_list_"] mark{
  background: rgba(255,128,0,.18);
  color: #111;
  padding: 2px 6px;
  border-radius: 8px;
}

/* nice scrollbar (webkit) */
ul[role="listbox"][id^="awesomplete_list_"]::-webkit-scrollbar{
  width: 10px;
}
ul[role="listbox"][id^="awesomplete_list_"]::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.18);
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.95);
}

/* mobile: full-width dropdown */
@media (max-width: 576px){
  ul[role="listbox"][id^="awesomplete_list_"]{
    width: 100%;
    max-height: 50vh;
    border-radius: 16px;
  }
}

/* Hide only the "Type: Virtuemart Product" chip (keep Product Category) */
.com-finder ul.finder-card__chips > li.finder-card__chip:first-child{
  display: none !important;
}

/* Back Order Notice (modern) */
.bo-notice{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(217,163,0,.35);
  background: linear-gradient(180deg, rgba(255,220,115,.55), rgba(255,220,115,.20));
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  color:#3a2a00;
}

.bo-notice__icon{
  flex:0 0 auto;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background: rgba(217,163,0,.18);
  border:1px solid rgba(217,163,0,.25);
  font-size:18px;
}

.bo-notice__text{
  min-width:0;
  flex:1 1 auto;
}

.bo-notice__title{
  font-weight:800;
  letter-spacing:.2px;
  line-height:1.1;
}

.bo-notice__sub{
  margin-top:4px;
  font-size:14px;
  opacity:.85;
  line-height:1.25;
}

.bo-notice__cta{
  flex:0 0 auto;
  text-decoration:none;
  font-weight:800;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(217,163,0,.55);
  background:#fff;
  color:#3a2a00;
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.bo-notice__cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
}

.bo-notice__cta:active{
  transform: translateY(0px);
}

@media (max-width: 520px){
  .bo-notice{
    flex-wrap:wrap;
    gap:10px;
    padding:12px;
  }
  .bo-notice__cta{
    width:100%;
    text-align:center;
  }
}

.pbc-backorder{
    max-width: 900px;
    margin: 16px auto;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(217,163,0,.35);
    background: linear-gradient(180deg, rgba(255,220,115,.55), rgba(255,220,115,.18));
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
  }

  .pbc-backorder__top{
    display:flex;
    justify-content:center;
    margin-bottom: 10px;
  }

  .pbc-backorder__badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(217,163,0,.35);
    font-weight: 900;
    letter-spacing: .2px;
    color: #3a2a00;
  }

  .pbc-backorder__icon{
    width: 32px;
    height: 32px;
    display:grid;
    place-items:center;
    border-radius: 10px;
    background: rgba(217,163,0,.15);
    border: 1px solid rgba(217,163,0,.22);
    font-size: 16px;
  }

  .pbc-backorder__body{
    text-align:center;
    padding: 4px 10px 10px;
  }

  .pbc-backorder__text{
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(58,42,0,.92);
  }

  .pbc-backorder__break{ display:inline; }
  @media (max-width: 520px){
    .pbc-backorder{ padding: 14px; border-radius: 16px; }
    .pbc-backorder__text{ font-size: 15px; }
    .pbc-backorder__break{ display:block; height: 8px; content:""; }
  }
  /* ==============================
   Add-to-cart modal (modern)
   Targets your exact structure:
   .modal-dialog > .modal-content ...
============================== */

/* Modal sizing + spacing */
.modal-dialog{
  max-width: 560px;
}

.modal-content{
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

/* Header */
.modal-header{
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: linear-gradient(180deg, rgba(255,128,0,.95), rgba(255,128,0,.78)) !important;
  color: #fff !important;
}

/* Title */
.modal-title{
  font-weight: 900;
  letter-spacing: .2px;
  margin: 0;
}

/* Close button */
.modal-header .btn-close{
  opacity: 1;
  filter: invert(1) grayscale(1);
  border-radius: 999px;
  padding: 10px;
  transition: transform .12s ease, opacity .12s ease, background .12s ease;
}
.modal-header .btn-close:hover{
  transform: scale(1.05);
  background: rgba(255,255,255,.18);
}

/* Body */
.modal-body{
  padding: 18px 18px 12px;
  background: #fff;
}

.cart-popup-content{
  display: grid;
  gap: 12px;
}

/* Message box */
.cart-popup-message{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.00));
}

.cart-popup-message p{
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

/* Footer */
.modal-footer{
  padding: 14px 18px 18px;
  border-top: 0;
  background: #fff;
  gap: 10px;
}

/* Buttons (both) */
.modal-footer .btn{
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  letter-spacing: .2px;
  border: 1px solid transparent;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.modal-footer .btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0,0,0,.14);
}
.modal-footer .btn:active{
  transform: translateY(0);
}

/* Continue Shopping (secondary) */
.modal-footer .btn-secondary,
.modal-footer .continue-link{
  background: #f3f4f6;
  color: #111;
  border-color: rgba(0,0,0,.08);
}

/* Show Cart (primary) — PocketBike orange */
.modal-footer .btn-primary,
.modal-footer .cart-link{
  background: #ff8000;
  border-color: #ff8000;
  color: #fff;
}
.modal-footer .btn-primary:hover,
.modal-footer .cart-link:hover{
  opacity: .95;
}

/* Mobile layout */
@media (max-width: 520px){
  .modal-dialog{
    margin: 12px;
  }
  .modal-footer{
    flex-direction: column;
    align-items: stretch !important;
  }
  .modal-footer .btn{
    width: 100%;
  }
}


