/* Readable copy and stable controls within the existing storefront. */
.product-info p,
[dir=rtl] .product-info p{font-size:14px;line-height:1.65;min-height:0}
.dialog-inner .detail-description,
[dir=rtl] .dialog-inner .detail-description{font-size:14px!important;line-height:1.7}
.dialog-inner .detail-note,
[dir=rtl] .dialog-inner .detail-note{font-size:13px!important;line-height:1.65!important}
dialog label,
.address-picker label,
[dir=rtl] .address-picker label{font-size:13px}
.schedule-field-label,
.schedule-times legend{font-size:13px}

/* Keep every small cart action inside a full 44px hit area. */
.cart-item,
[dir=rtl] .cart-item{padding-inline:0}
.cart-item-info h3,
[dir=rtl] .cart-item-info h3{padding:0;padding-inline-end:48px}
.cart-item-info>p{padding-inline-end:48px}
.cart-item .remove-item,
[dir=rtl] .cart-item .remove-item{
  top:12px;right:auto;left:auto;inset-inline-end:0;
  width:44px;height:44px;padding:0;display:grid;place-items:center;
}
.cart-item .remove-item svg{width:18px;height:18px}
.stepper-small{gap:8px;padding:2px;flex:none}
.stepper-small button{width:44px;height:44px;min-width:44px;padding:0}
.stepper-small svg{width:18px;height:18px}
.stepper-small span{min-width:18px;font-size:14px}
.cart-item-controls{flex-wrap:wrap;gap:12px;align-items:flex-end}
.cart-upsell>div{min-width:0}
.cart-upsell{margin-top:16px}
.checkout-fields>.delivery-schedule{margin-bottom:0}
.cart-upsell .add-button{
  width:44px;height:44px;min-width:44px;padding:0;
  display:grid;place-items:center;flex:none;
}
.cart-upsell .add-button svg{width:18px;height:18px}
.cart-upsell strong{font-size:13px;line-height:1.5}
.cart-upsell>div>span{font-size:12px}

/* The stronger edge remains visible on the cream and white form surfaces. */
dialog input:not([type=radio]):not([type=checkbox]):not([type=hidden]),
dialog select,
dialog textarea{
  border:1.5px solid var(--field-border,#897b69);
}
dialog [aria-invalid=true]{--field-border:var(--red-dark);--field-focus:var(--red-dark)}
dialog input:not([type=radio]):not([type=checkbox]):not([type=hidden]):focus,
dialog select:focus,
dialog textarea:focus{
  border-color:var(--field-focus,var(--ink))!important;
  box-shadow:inset 0 0 0 .5px var(--field-focus,var(--ink));
  caret-color:var(--ink);
}

@media(max-width:640px){
  .together{min-height:220px}
  /* This permanent right-hand clearance keeps the stationary cart clear of
     hero actions, including at 320px and after switching to Arabic. */
  .hero-cravings .hero-actions{
    padding-right:76px;
    justify-content:flex-start;
  }
  [dir=rtl] .hero-cravings .hero-actions{justify-content:flex-end}
  .hero-cravings .hero-actions .button{min-width:0;max-width:100%;white-space:normal}
  .craving-copy .craving-order{
    margin-left:0;
    margin-right:auto;
    max-width:calc(100% - 76px);
    min-width:0;
  }
  dialog input:not([type=radio]):not([type=checkbox]):not([type=hidden]),
  dialog select,
  dialog textarea,
  .search-wrap input{font-size:16px!important}
}
