.dl-lens-prescription{
  border:2px solid #9E743E;
  padding:18px;
  border-radius:10px;
  margin:18px 0;
  background:#fafafa;

  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

/* Ensure wrapping inside add-to-cart form if the theme sets it to flex */
form.cart{ flex-wrap: wrap; }

/* Default layout */
.dl-title{ margin:0 0 10px; }
.dl-eye-title{ margin:0 0 8px; font-size: 1rem; }
.dl-lens-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.dl-label{
  display:block;
  margin:10px 0 6px;
  font-weight:600;
}
.dl-lens-col select{
  width:100%;
  padding:10px;
  border-radius:8px;
}
.dl-lens-check{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:14px;
}
.dl-qty-locked{
  display:inline-block;
  padding:2px 8px;
  border-radius:6px;
  background:rgba(0,0,0,0.06);
}

/* Fallback: if theme still prints qty selector, hide it */
.quantity{ display:none !important; }

/* ---- Bw Zenny sticky add-to-cart: compact + inline left of button ---- */
.wrap-sticky-cart-price .dl-lens-prescription,
.sticky-addcart-fix .dl-lens-prescription,
.sticky-addcart-mobile .dl-lens-prescription{
  width:auto;
  max-width: 520px;
  padding:10px 12px;
  margin:0;
  border-width:1px;
  flex: 1 1 auto;
}

.wrap-sticky-cart-price .dl-title,
.sticky-addcart-fix .dl-title,
.sticky-addcart-mobile .dl-title{
  font-size: 14px;
  margin:0 0 6px;
}

.wrap-sticky-cart-price .dl-eye-title,
.sticky-addcart-fix .dl-eye-title,
.sticky-addcart-mobile .dl-eye-title{
  font-size: 13px;
  margin:0 0 4px;
}

.wrap-sticky-cart-price .dl-lens-grid,
.sticky-addcart-fix .dl-lens-grid,
.sticky-addcart-mobile .dl-lens-grid{
  gap:10px;
}

.wrap-sticky-cart-price .dl-label,
.sticky-addcart-fix .dl-label,
.sticky-addcart-mobile .dl-label{
  margin:6px 0 4px;
  font-size: 12px;
  font-weight: 600;
}

.wrap-sticky-cart-price .dl-lens-col select,
.sticky-addcart-fix .dl-lens-col select,
.sticky-addcart-mobile .dl-lens-col select{
  padding:6px 8px;
  border-radius:6px;
  font-size: 13px;
}

.wrap-sticky-cart-price .dl-lens-check,
.sticky-addcart-fix .dl-lens-check,
.sticky-addcart-mobile .dl-lens-check{
  margin-top:8px;
  font-size: 12px;
}

/* Make sticky wrapper place the block left of the button (theme uses flex already) */
.wrap-sticky-cart-price{
  gap: 12px;
}

/* On very small widths, stack */
@media (max-width: 520px){
  .wrap-sticky-cart-price .dl-lens-grid,
  .sticky-addcart-fix .dl-lens-grid,
  .sticky-addcart-mobile .dl-lens-grid{
    grid-template-columns:1fr;
  }
}

/* General responsive */
@media (max-width: 768px){
  .dl-lens-grid{ grid-template-columns:1fr; }
}
