/* Original catalog photography, clipped without altering the supplied image. */
.catalog-photo{display:block;position:relative;overflow:hidden;aspect-ratio:171/168;width:100%;border-radius:13%;flex-shrink:0;background:#f8f5ef}
.catalog-photo.catalog-photo>img{position:absolute;left:-18.71345%;top:calc(-1 * var(--crop-top));width:539.7661%;max-width:none;height:auto;max-height:none;aspect-ratio:auto;object-fit:initial;border-radius:0;mix-blend-mode:normal;transform:none;transition:none}
.card-photo .catalog-photo{border-radius:9%;transition:transform .3s}
.card-photo:hover .catalog-photo{transform:scale(1.025)}
.bread-card .card-photo{padding:12px;aspect-ratio:1}
.card-badge{top:20px;left:20px;font-size:10px}
.card-bottom .product-price{font-family:Gilroy,Arial,sans-serif;font-size:20px;font-weight:700;color:var(--espresso)}
.product-price small{display:block;font-size:11px;line-height:1.6;font-weight:400;color:var(--cocoa);letter-spacing:.1px}
.bread-card .add-button{height:44px;width:44px;flex-shrink:0}
.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.shop-grid .bread-card{display:flex;flex-direction:column;max-width:none}
.shop-grid .card-name{line-height:1.15}
.shop-grid .shop-rating{margin-top:auto;padding-top:4px}
.shop-grid .card-bottom{align-items:center}
#modal{width:min(790px,94vw);padding:44px 36px 30px;overscroll-behavior:contain}
#modal .modal-title{line-height:1.07;outline:none;font-size:clamp(29px,3.8vw,40px)}
#modal .modal-close{width:42px;height:42px;top:12px;right:13px}
.modal-product{grid-template-columns:.9fr 1.1fr}
.modal-product>.catalog-photo{margin:auto;max-width:320px}
.modal-product .eyebrow{font-size:11px;margin:7px 0 14px}
.modal-product .modal-title{margin:0 0 18px}
.modal-product p.product-detail-price{font-family:Gilroy,Arial,sans-serif;font-weight:700;font-size:28px;margin:20px 0}
.product-detail-price small{font-size:13px;font-weight:400}
.modal-product .cta{width:100%;font-size:15px;gap:12px;padding:16px 12px}
.modal-product .product-order-note{font-size:12px;line-height:1.5;color:var(--cocoa)}
.bag-item{display:grid;grid-template-columns:65px minmax(0,1fr) auto;gap:15px;padding:20px 0}
.bag-item>.catalog-photo{width:65px;border-radius:13px}
.bag-item h3{font-size:20px;line-height:1.2;letter-spacing:-.25px;overflow-wrap:anywhere}
.bag-product-info p{font-size:12px;margin:7px 0 0;color:var(--cocoa)}
.bag-line-controls{display:flex;flex-direction:column;align-items:end;gap:10px}
.bag-line-total{font-family:Gilroy,Arial,sans-serif;font-size:16px;font-weight:700}
.bag-item .quantity{gap:0;border:1px solid var(--line);border-radius:5px;overflow:hidden;background:var(--oat)}
.quantity button{width:38px;height:38px;border:0;border-radius:0;touch-action:manipulation;font-size:20px}
.quantity button:hover{background:var(--wheat)}
.quantity button:disabled{opacity:.35;cursor:default}
.quantity span{min-width:25px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums}
.bag-subtotal{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:22px;font-size:18px}
.bag-subtotal strong{font-size:25px}
.bag-subtotal small{font-size:12px;font-weight:400}
.bag-footer{margin-top:24px}
.bag-footer .whatsapp-checkout{width:100%;background:#315645;border-color:#315645;gap:15px;padding:18px 15px}
.bag-footer .whatsapp-checkout:hover{background:#264435;border-color:#264435}
.bag-footer .checkout-note{font-size:12px;line-height:1.6;color:var(--cocoa);text-align:center;margin:14px 0}
.continue-shopping{display:block;margin:16px auto 0;border:0;background:none;color:var(--espresso);text-decoration:underline;text-underline-offset:4px;padding:12px;font-size:14px}
.bag-empty{text-align:center;padding:30px 15px}
.bag-empty>span{font-size:62px;color:var(--crust)}
.search-results button{gap:17px}
.search-results .catalog-photo{width:65px;border-radius:11px}
.search-results button>span:nth-child(2){flex:1;line-height:1.3;font-weight:700}
.search-results small{display:block;font-size:12px;font-weight:400;padding-top:8px}
body:has(#modal[open]){overflow:hidden}
@media(min-width:1600px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
  .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}
  .shop-grid .bread-card .card-photo{padding:5px}
  .shop-grid .card-badge{top:10px;left:10px;padding:4px 6px;font-size:8px}
  .shop-grid .card-name{font-size:18px;line-height:1.15;letter-spacing:-.45px;margin:16px 0 10px}
  .shop-grid .shop-rating{font-size:10px;line-height:1.5;margin-bottom:13px}
  .shop-grid .card-bottom .product-price{font-size:17px;white-space:nowrap}
  .shop-grid .card-bottom .product-price small{font-size:9px}
  .shop-grid .bread-card .add-button{height:40px;width:40px;font-size:24px}
  .shop-grid .card-bottom{gap:5px}
  #modal{margin:auto 0 0;width:100%;max-width:100%;max-height:92dvh;padding:50px 22px calc(24px + env(safe-area-inset-bottom));border-radius:23px 23px 0;border-bottom:0}
  #modal .modal-title{font-size:31px;margin-top:6px}
  #modal .eyebrow{font-size:10px}
  .modal-product{grid-template-columns:1fr;gap:24px}
  .modal-product>.catalog-photo{max-width:225px}
  .modal-product .modal-title{font-size:30px}
  .bag-item{grid-template-columns:50px minmax(0,1fr) auto;gap:10px;padding:20px 0}
  .bag-item>.catalog-photo{width:50px;border-radius:10px}
  .bag-item h3{font-size:16px;line-height:1.18}
  .bag-product-info p{font-size:10px}
  .bag-line-total{font-size:14px}
  .bag-item .quantity{gap:0}
  .quantity button{width:34px;height:38px}
  .quantity span{min-width:20px;font-size:13px}
  .floating-bag{max-width:calc(100vw - 32px);gap:14px}
  .floating-bag span:nth-child(2){font-size:12px}
}
@media(max-width:359px){
  .shop-grid .card-bottom{flex-wrap:wrap;row-gap:10px}
  .bag-item{grid-template-columns:42px minmax(0,1fr);gap:10px}
  .bag-item>.catalog-photo{width:42px}
  .bag-line-controls{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){.card-photo .catalog-photo{transition:none}.card-photo:hover .catalog-photo{transform:none}}

/* Customer feedback is a private draft until the customer sends it. */
.review-message-preview{padding:24px;background:#f4eee3;border-radius:12px;margin:24px 0;overflow-wrap:anywhere}
.review-message-preview>p{white-space:pre-wrap;line-height:1.7}
.review-message-preview>small{display:block;line-height:1.6;color:#715442}
.review-drafts{margin-top:35px;padding-top:24px;border-top:1px solid #d8cbbb}
.review-drafts>h3{font-size:23px}.review-drafts>p{font-size:13px;line-height:1.6}
.review-draft-actions{display:flex;gap:20px;flex-wrap:wrap;margin-top:18px}
.review-draft-actions button{padding:8px 0;border:0;border-bottom:1px solid currentColor;background:transparent;color:#654635;font:inherit;font-size:12px;cursor:pointer}
