/* Deli Fruity wholesale ordering portal. Shared by the English and Spanish pages. */
:root{
  --df-blue:#0062aa;
  --df-blue-dark:#064f88;
  --df-blue-soft:#eaf5fc;
  --df-pink:#d92d78;
}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.df-hero{background:linear-gradient(145deg,#fff 0%,#fbfaf5 60%,#eef8fd 100%);border-bottom:1px solid var(--line);padding:56px 0 48px}
.df-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center}
.df-back{display:inline-block;font-weight:800;font-size:.9rem;margin-bottom:24px;color:var(--df-blue)}
.df-brand-lockup{display:inline-flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 22px;margin-bottom:20px;box-shadow:var(--shadow)}
.df-brand-lockup img{width:auto;height:78px;object-fit:contain}
.df-hero .eyebrow{color:var(--df-blue);margin-bottom:10px}
.df-hero h1{font-size:clamp(2.55rem,5vw,4.3rem);margin-bottom:12px}
.df-hero .lead{max-width:58ch;margin-bottom:0}
.df-hero-photo{min-height:390px;border-radius:22px;background:url('delifruity-hero-v2.jpg') center/cover no-repeat;box-shadow:var(--shadow-lg)}
.df-order-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.df-order-actions .btn{justify-content:center}
.df-btn-primary{background:var(--df-blue);color:#fff;box-shadow:0 9px 24px rgba(0,98,170,.24)}
.df-btn-primary:hover{background:var(--df-blue-dark);color:#fff;transform:translateY(-2px)}
.df-btn-secondary{background:#fff;border-color:var(--df-blue);color:var(--df-blue)}
.df-btn-secondary:hover{background:var(--df-blue-soft);color:var(--df-blue-dark);transform:translateY(-2px)}
.df-quote-note{font-size:.9rem;color:var(--ink-soft);margin-top:14px;margin-bottom:0}

.df-order-section{padding:clamp(56px,7vw,88px) 0 92px;background:var(--cream)}
.df-portal-head{max-width:820px;margin:0 auto 28px;text-align:center}
.df-portal-head .eyebrow{justify-content:center;color:var(--df-blue)}
.df-portal-head .lead{margin:0 auto}
.df-flow-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;max-width:840px;margin:30px auto 40px;padding:0;list-style:none;border:1px solid #d9e4ea;border-radius:14px;overflow:hidden;background:#d9e4ea}
.df-flow-steps li{display:flex;gap:10px;align-items:center;background:#fff;padding:13px 16px;color:var(--green-deep);font-weight:800;font-size:.9rem}
.df-flow-steps span{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:50%;background:var(--df-blue);color:#fff;font-size:.8rem}
.df-order-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.df-order-main{display:grid;gap:22px;min-width:0}
.df-order-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:clamp(22px,3vw,32px);box-shadow:var(--shadow)}
.df-card-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 20px;align-items:end;margin-bottom:20px}
.df-card-head h3{margin:0;font-size:1.55rem}
.df-card-head p{margin:0;color:var(--ink-soft);font-size:.93rem}
.df-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.df-product-row{display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto auto;column-gap:11px;align-items:center;min-width:0;padding:10px;background:#fff;border:1px solid #e1e7e4;border-radius:13px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.df-product-row:focus-within,.df-product-row.has-qty{border-color:#86bfe2;background:#f8fcff;box-shadow:0 0 0 2px rgba(0,98,170,.08)}
.df-product-image{grid-row:1 / 3;width:58px;height:58px;border-radius:10px;background:#f7f7f3;display:grid;place-items:center;overflow:hidden}
.df-product-image img{width:100%;height:100%;object-fit:contain}
.df-product-info{min-width:0;align-self:end}
.df-product-info h4{font-family:var(--font-sans);font-size:.95rem;line-height:1.12;margin:0;color:var(--green-deep);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.df-product-info small{display:block;color:var(--ink-soft);font-size:.73rem;line-height:1.2;margin-top:2px}
.df-stepper{grid-column:2;display:grid;grid-template-columns:44px minmax(46px,1fr) 44px;gap:4px;align-items:center;margin-top:7px;max-width:158px}
.df-stepper button{width:44px;height:44px;border:1px solid #cddbd4;border-radius:9px;background:#fff;color:var(--df-blue);font:900 1.2rem/1 var(--font-sans);cursor:pointer}
.df-stepper button:hover{background:var(--df-blue-soft);border-color:#86bfe2}
.df-stepper button:focus-visible,.df-order-section a:focus-visible,.df-order-section button:focus-visible{outline:3px solid rgba(0,98,170,.28);outline-offset:2px}
.df-stepper input{height:44px;padding:7px 4px;border:1px solid #cddbd4;border-radius:9px;text-align:center;font-weight:900;font-size:1rem;background:#fff;-moz-appearance:textfield}
.df-stepper input::-webkit-outer-spin-button,.df-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.df-customer-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 18px}
.df-customer-grid .field{margin:0}
.df-customer-grid .full{grid-column:1 / -1}
.df-customer-grid label{font-size:.88rem;margin-bottom:6px}
.df-customer-grid input,.df-customer-grid textarea{min-height:48px;border-color:#cddbd4;background:#fff}
.df-customer-grid textarea{min-height:84px}
.df-check{display:flex;gap:10px;align-items:center;min-height:44px;margin-top:2px;font-weight:700;color:var(--green-deep);cursor:pointer}
.df-check input{width:20px;height:20px;min-height:0;accent-color:var(--df-blue);flex:none}
.field-error{margin:6px 0 0;color:#a12618;font-size:.83rem;font-weight:700}
[aria-invalid="true"]{border-color:#b5301f!important;box-shadow:0 0 0 3px rgba(181,48,31,.09)!important}
.df-form-errors{background:#fff1ef;border:1px solid #e8a69d;border-left:5px solid #b5301f;border-radius:12px;padding:14px 16px;color:#7d2115;font-weight:700}
.df-form-errors:focus{outline:3px solid rgba(181,48,31,.18)}
.df-submit-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.df-final-submit{display:grid;gap:8px;margin-top:22px}
.df-submit-row .btn{min-height:50px}
.df-submit-note{font-size:.88rem;color:var(--ink-soft);margin:0;max-width:54ch}
.df-submit-status{margin:0;font-weight:800;min-height:1.4em}
.df-submit-status.err{color:#a12618}.df-submit-status.ok{color:#24713c}

.df-summary{position:relative}
.df-summary-sticky{position:sticky;top:142px;display:grid;gap:18px}
.df-summary-card,.df-pdf-card{border-radius:18px;padding:24px;box-shadow:var(--shadow)}
.df-summary-card{background:var(--green-deep);color:#eaf1ec}
.df-summary-card h3{color:#fff;margin:0 0 6px;font-size:1.45rem}
.df-summary-card p{color:#cfe0d5;font-size:.9rem;margin:0}
.df-selected-list{list-style:none;margin:16px 0;padding:0;display:grid;gap:8px}
.df-selected-list li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:8px;color:#fff;font-size:.9rem}
.df-selected-list b{color:var(--gold);white-space:nowrap}
.df-summary-total{display:flex;justify-content:space-between;align-items:baseline;border-top:2px solid rgba(255,255,255,.25);padding-top:14px;margin-top:4px;font-weight:900}
.df-summary-total strong{font-family:var(--font-display);font-size:2rem;color:#fff}
.df-pdf-card{background:var(--df-blue);color:#fff}
.df-pdf-card h3{color:#fff;margin:0 0 6px;font-size:1.25rem}
.df-pdf-card p{color:#e4f4ff;font-size:.9rem;margin:0 0 14px}
.df-pdf-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;background:#fff;color:var(--df-blue);font-weight:900;padding:11px 16px;border-radius:999px;text-align:center}
.df-pdf-link:hover{background:#f2f9fd;color:var(--df-blue-dark)}

.df-confirmation{max-width:900px;margin:0 auto;background:#fff;border:1px solid #b7d9c1;border-top:7px solid #2d8b50;border-radius:20px;padding:clamp(28px,5vw,52px);box-shadow:var(--shadow-lg)}
.df-confirmation:focus{outline:3px solid rgba(45,139,80,.2);outline-offset:4px}
.df-confirmation .df-confirm-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#e7f5eb;color:#23733f;font-size:1.7rem;font-weight:900;margin-bottom:18px}
.df-confirmation h2{margin-bottom:8px}
.df-confirmation .lead{margin-bottom:22px}
.df-confirm-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f4f8f5;border-radius:12px;padding:16px 18px;margin-bottom:18px}
.df-confirm-meta span{display:block;color:var(--ink-soft);font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;font-weight:900}
.df-confirm-meta strong{display:block;color:var(--green-deep);font-size:1rem;margin-top:2px;overflow-wrap:anywhere}
.df-confirm-list{list-style:none;padding:0;margin:16px 0;border-top:1px solid var(--line)}
.df-confirm-list li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.df-confirm-list b{white-space:nowrap;color:var(--df-blue)}
.df-confirm-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}

@media(max-width:1120px){
  .df-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .df-order-layout{grid-template-columns:minmax(0,1fr) 290px}
}
@media(max-width:900px){
  .df-hero-grid{grid-template-columns:1fr;gap:34px}
  .df-hero-photo{min-height:300px}
  .df-order-layout{grid-template-columns:1fr}
  .df-summary-sticky{position:static;grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .df-hero{padding:34px 0 38px}
  .df-hero-grid{gap:28px}
  .df-brand-lockup img{height:62px}
  .df-hero-photo{min-height:220px}
  .df-order-actions{display:grid;grid-template-columns:1fr}
  .df-order-actions .btn{width:100%;min-height:50px}
  .df-flow-steps{grid-template-columns:1fr;gap:0;margin:24px auto 30px}
  .df-flow-steps li{border-bottom:1px solid #d9e4ea}.df-flow-steps li:last-child{border-bottom:0}
  .df-order-card{padding:19px 16px}
  .df-product-grid{grid-template-columns:1fr;gap:8px}
  .df-product-row{grid-template-columns:62px minmax(0,1fr) auto;grid-template-rows:auto;padding:9px}
  .df-product-image{grid-row:1;width:62px;height:62px}
  .df-product-info{align-self:center}
  .df-product-info h4{font-size:1rem;white-space:normal}
  .df-product-info small{font-size:.76rem}
  .df-stepper{grid-column:3;margin:0;grid-template-columns:44px 52px 44px;max-width:none}
  .df-customer-grid{grid-template-columns:1fr}.df-customer-grid .full{grid-column:auto}
  .df-summary-sticky{grid-template-columns:1fr}
  .df-confirm-meta{grid-template-columns:1fr}
}
@media(max-width:430px){
  .df-product-row{grid-template-columns:54px minmax(0,1fr);grid-template-rows:auto auto}
  .df-product-image{width:54px;height:54px;grid-row:1 / 3}
  .df-stepper{grid-column:2;grid-row:2;grid-template-columns:44px 62px 44px;margin-top:7px}
  .df-card-head{display:block}.df-card-head p{margin-top:6px}
}
@media(prefers-reduced-motion:reduce){.df-order-section *{scroll-behavior:auto!important;transition:none!important}}
@media print{
  body.df-print-confirmation>*{display:none!important}
  body.df-print-confirmation main{display:block!important}
  body.df-print-confirmation main>*{display:none!important}
  body.df-print-confirmation #orderConfirmation{display:block!important;box-shadow:none;border:0;padding:0}
  body.df-print-confirmation .df-confirm-actions{display:none!important}
}
