/* Ultra Amino storefront fixes - 2026-11-14
   Loaded last (see inc/ua-fixes.php). */
:root{--ua-ink:#22231f;--ua-muted:#6b6a62;--ua-line:#e6e0d4;--ua-cream:#faf8f4;--ua-sage:#53634f;--ua-sage-2:#6b7d66;--ua-mint:#eef7f5}

/* 1. Product page: remove the extra boxes drawn around the price */
html body .nbp-pdp .nbp-pdp__pricebox .nbp-pdp__price-line,
html body .nbp-pdp .nbp-pdp__pricebox .nbp-pdp__price{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
html body .nbp-pdp .nbp-pdp__pricebox .nbp-pdp__price-line{display:inline-flex;align-items:baseline;gap:8px}

/* 3. Shop page: search had a second border on the inner input */
html body .bnp-shop-search input,
html body .bnp-shop-search input:focus,
html body #bnpAjaxShop .bnp-shop-topbar .bnp-shop-search input{padding-left:10px!important;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;border-radius:0!important;height:100%!important;padding-top:0!important;padding-bottom:0!important}
html body .bnp-shop-search:focus-within{border-color:var(--ua-sage)!important;box-shadow:0 0 0 3px rgba(83,99,79,.12)}

/* 4. Side cart spacing */
html body .bnp-mini-cart-head{padding:0 24px!important}
html body .bnp-mini-cart-shipping-progress{padding:16px 24px 0!important}
html body .bnp-cart-reservation-mini{margin:0!important;width:100%;box-sizing:border-box;justify-content:center;padding:10px 14px!important}
html body .bnp-mini-cart-items{padding:4px 24px!important}
html body .bnp-mini-cart-row{padding:20px 0!important;gap:16px!important;align-items:flex-start;border-bottom:1px solid var(--ua-line)}
html body .bnp-mini-cart-row:last-child{border-bottom:0}
html body .bnp-mini-cart-thumb{flex:0 0 84px!important;width:84px!important;border-radius:12px;overflow:hidden;background:#f3efe7}
html body .bnp-mini-cart-thumb img{width:84px!important;height:84px!important;object-fit:cover;display:block}
html body .bnp-mini-cart-info{display:flex;flex-direction:column;gap:6px;min-width:0}
html body .bnp-mini-cart-name{line-height:1.3}
html body .bnp-mini-cart-price{margin:0!important}
html body .bnp-mini-cart-row-actions{display:flex;align-items:center;justify-content:space-between;margin-top:4px}
html body .bnp-mini-cart-row-actions .bnp-qty-stepper{display:inline-flex;align-items:center;border:1px solid var(--ua-line);border-radius:999px;background:#fff;overflow:hidden;height:38px}
html body .bnp-mini-cart-row-actions .bnp-qty-stepper button{width:36px;height:36px;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:16px;line-height:1;cursor:pointer;color:var(--ua-ink)}
html body .bnp-mini-cart-row-actions .bnp-qty-stepper span{min-width:28px;text-align:center;font-weight:600;font-size:14px}
html body .bnp-mini-cart-remove{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;color:var(--ua-muted)}
html body .bnp-mini-cart-remove:hover{background:#f3efe7;color:var(--ua-ink)}
html body .bnp-mini-cart-footer{padding:18px 24px 24px!important;margin:0!important;border-top:1px solid var(--ua-line)}
html body .bnp-mini-cart-totals{margin:0 0 14px!important}
html body .bnp-mini-cart-totals>div{padding:5px 0!important}
html body .bnp-mini-cart-totals>div.total{padding:12px 0 4px!important;margin-top:6px!important}
html body .bnp-mini-cart-footer .bnp-btn{margin-top:10px!important;width:100%;box-sizing:border-box}
html body .bnp-mini-cart-trust{margin-top:18px!important;padding-top:16px!important;gap:12px!important}
@media (max-width:480px){
  html body .bnp-mini-cart-head{padding:0 18px!important}
  html body .bnp-mini-cart-shipping-progress{padding:14px 18px 0!important}
  html body .bnp-mini-cart-items{padding:4px 18px!important}
  html body .bnp-mini-cart-footer{padding:16px 18px 20px!important}
  html body .bnp-mini-cart-thumb,html body .bnp-mini-cart-thumb img{width:72px!important;height:72px!important;flex-basis:72px!important}
  html body .bnp-mini-cart-trust{display:none!important}
}

/* 5a. Cart page */
html body .bnp-shopify-cart-items{padding:4px 24px!important;border-radius:16px!important}
html body .bnp-shopify-cart-item{padding:22px 0!important;gap:18px!important}
html body .bnp-shopify-cart-thumb img{border-radius:12px;background:#f3efe7}
html body .bnp-shopify-cart-info{display:flex;flex-direction:column;gap:12px}
html body .bnp-shopify-cart-title-line{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
html body .bnp-shopify-cart-title-line a:first-child{font-weight:600;line-height:1.35}
html body a.remove.bnp-shopify-cart-remove{color:var(--ua-muted)!important;background:transparent!important;width:32px!important;height:32px!important;line-height:30px!important;border-radius:50%!important;border:1px solid var(--ua-line)!important;font-size:18px!important;flex:0 0 32px;text-align:center}
html body a.remove.bnp-shopify-cart-remove:hover{color:#fff!important;background:var(--ua-ink)!important;border-color:var(--ua-ink)!important}
html body .bnp-shopify-cart-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
html body .bnp-shopify-cart-qty .quantity input.qty{width:88px!important;height:44px!important;border:1px solid var(--ua-line)!important;border-radius:999px!important;text-align:center;font-weight:600;padding:0 8px!important}
html body .bnp-shopify-cart-actions-row{padding:20px 0 24px!important;display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--ua-line)}
html body .bnp-shopify-cart-coupon{display:flex;gap:10px;width:100%}
html body .bnp-shopify-cart-coupon input.input-text{flex:1 1 auto;height:48px!important;padding:0 16px!important;border-radius:999px!important}
html body .bnp-shopify-cart-coupon .button{height:48px!important;padding:0 26px!important;display:inline-flex;align-items:center}
html body .bnp-shopify-update-cart{height:46px!important;width:100%}
html body .bnp-shopify-cart-summary{padding:24px!important;border-radius:16px!important}
html body .bnp-shopify-cart-summary .cart_totals{border:0!important;padding:0!important;border-radius:0!important;background:transparent!important}
html body .bnp-shopify-cart-summary .cart_totals>h2{display:none}
html body .bnp-shopify-cart-summary table.shop_table{border:0!important;margin:0 0 16px!important;width:100%}
html body .bnp-shopify-cart-summary table.shop_table tr{border-bottom:1px solid var(--ua-line)}
html body .bnp-shopify-cart-summary table.shop_table tr:last-child{border-bottom:0}
html body .bnp-shopify-cart-summary table.shop_table th,
html body .bnp-shopify-cart-summary table.shop_table td{padding:14px 0!important;border:0!important;background:transparent!important}
html body .bnp-shopify-cart-summary table.shop_table td{display:flex!important;justify-content:space-between;align-items:center;text-align:right}
html body .bnp-shopify-cart-summary table.shop_table td::before{float:none!important;font-weight:500;color:var(--ua-muted)}
html body .bnp-shopify-cart-summary table.shop_table tr.order-total td{font-size:18px}
html body .bnp-shopify-cart-summary .wc-proceed-to-checkout{padding:4px 0 0!important}
html body .bnp-shopify-cart-summary .checkout-button{display:flex!important;align-items:center;justify-content:center;min-height:54px;font-size:15px!important;letter-spacing:.04em;margin:0!important}
@media (max-width:600px){
  html body .bnp-shopify-cart-items{padding:4px 16px!important}
  html body .bnp-shopify-cart-summary{padding:20px 16px!important}
}

/* Mobile bottom nav: cart count was dark on dark, and it covered the page end */
html body .bnp-mobile-bottom-nav .bnp-cart-count{color:#fff!important;font-weight:700;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;box-sizing:border-box}

/* 5b/6. Checkout */
html body .bnp-cart-reservation-checkout{width:auto!important;max-width:1180px;box-sizing:border-box;margin:14px 16px 12px!important}
@media (min-width:1180px){ html body .bnp-cart-reservation-checkout{margin:16px auto 12px!important} }
html body .bnp-flow-checkout-page{overflow-x:clip}
html body .bnp-flow-section{padding:24px!important;border:1px solid var(--ua-line)!important;border-radius:16px!important;margin-bottom:16px}
html body .bnp-flow-section h2,html body .bnp-flow-section .bnp-flow-subheading{font-size:22px!important;line-height:1.2;margin:0 0 16px!important;text-transform:none!important;letter-spacing:-.01em}
html body .bnp-flow-section .bnp-flow-subheading{margin-top:28px!important;padding-top:24px;border-top:1px solid var(--ua-line)}
html body .bnp-flow-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:4px}
html body .bnp-flow-section-heading h2{margin-bottom:12px!important}
html body .bnp-flow-fields .form-row{margin:0 0 14px!important;padding:0!important}
html body .bnp-flow-fields label{font-size:11px!important;letter-spacing:.06em;text-transform:uppercase;font-weight:600;margin-bottom:6px!important;color:var(--ua-muted)}
html body .bnp-flow-fields .input-text,html body .bnp-flow-fields select,html body .bnp-flow-checkout-page .select2-selection--single{height:50px!important;border-radius:12px!important;border:1px solid var(--ua-line)!important;font-size:15px!important;padding:0 14px!important;box-sizing:border-box}
html body .bnp-flow-checkout-page .select2-selection--single .select2-selection__rendered{line-height:48px!important;padding:0!important;color:var(--ua-ink)!important}
html body .bnp-flow-checkout-page .select2-selection--single .select2-selection__arrow{height:48px!important;right:10px!important}
html body .bnp-flow-fields .input-text:focus,html body .bnp-flow-fields select:focus{border-color:var(--ua-sage)!important;box-shadow:0 0 0 3px rgba(83,99,79,.12)!important;outline:0}
html body .bnp-field-error .input-text,html body .bnp-field-error select{border-color:#b3261e!important}
html body .bnp-checkout-validation:not(:empty){background:#fdf1f0;border:1px solid #f1c9c5;color:#8c1d18;border-radius:12px;padding:12px 16px;margin:0 0 14px;font-size:14px}
html body .bnp-flow-steps{margin:8px 0 18px!important;padding:14px 8px!important;background:#fff;border:1px solid var(--ua-line);border-radius:16px}
html body .bnp-flow-steps button{font-size:12px!important;gap:6px}
html body .bnp-flow-steps button span{width:26px!important;height:26px!important;font-size:12px!important;display:inline-flex!important;align-items:center;justify-content:center}
html body .bnp-flow-steps button.is-complete span{background:var(--ua-sage)!important;border-color:var(--ua-sage)!important;color:#fff!important}
html body .bnp-flow-step-actions{display:flex;gap:12px;margin-top:22px!important;padding-top:0!important}
html body .bnp-flow-step-actions .button{flex:1 1 0;min-height:54px;display:inline-flex;align-items:center;justify-content:center}
html body .bnp-flow-step-actions .bnp-flow-back{background:transparent!important;color:var(--ua-ink)!important;border:1px solid var(--ua-ink)!important}
html body .bnp-flow-step-actions .bnp-flow-back:hover{background:var(--ua-ink)!important;color:#fff!important}
html body .bnp-flow-step-actions-right{justify-content:flex-end}
html body .bnp-flow-method-card{border-radius:12px!important;padding:16px!important;font-size:15px}
html body .bnp-flow-checkout-page #payment{background:transparent!important;border-radius:12px}
html body .bnp-flow-checkout-page #payment ul.payment_methods{padding:0!important;border:0!important}
html body .bnp-flow-checkout-page #payment div.payment_box{border-radius:12px!important}
html body .bnp-flow-checkout-page .bnp-research-attestation{background:#f6f3ec;border:1px solid var(--ua-line);border-radius:12px;padding:14px 16px!important;margin:6px 0 16px!important}
html body .bnp-flow-checkout-page .bnp-research-attestation label{display:flex!important;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.5;text-transform:none!important;letter-spacing:0!important;color:var(--ua-ink)!important;font-weight:400!important}
html body .bnp-flow-checkout-page .bnp-research-attestation input{margin-top:3px;width:18px;height:18px;accent-color:var(--ua-sage);flex:0 0 18px}
html body .bnp-flow-checkout-page #place_order{width:100%;min-height:56px;border-radius:999px!important;font-size:15px!important;letter-spacing:.05em}
html body .bnp-review-mirror{border:0!important;padding:0!important;margin-bottom:16px;display:flex;flex-direction:column;gap:12px}
html body .bnp-review-mirror table{width:100%}
html body .bnp-review-mirror table th{text-align:left}
html body .bnp-review-mirror table td{text-align:right!important}
html body .bnp-flow-checkout-page .woocommerce-privacy-policy-text,html body .bnp-flow-checkout-page .woocommerce-privacy-policy-text p{font-size:13px!important;line-height:1.55!important;color:var(--ua-muted)}
html body .bnp-flow-checkout-page #place_order.sps-stripe-place-order{background:var(--ua-ink)!important;border-color:var(--ua-ink)!important;color:#fff!important;box-shadow:none!important}
html body .bnp-flow-checkout-page #place_order.sps-stripe-place-order:hover{background:#000!important}
html body .bnp-secure-order-note{border-radius:12px;padding:14px 16px!important;margin-bottom:16px}
/* mobile summary toggle: replace the plain-text 'v' chevron */
html body .bnp-mobile-summary-toggle{padding:16px 20px!important;display:flex!important;align-items:center;justify-content:space-between;letter-spacing:.06em;font-weight:700!important}
html body .bnp-mobile-summary-chevron{font-size:0!important;width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px);transition:transform .2s}
html body .bnp-mobile-summary-toggle[aria-expanded="true"] .bnp-mobile-summary-chevron{transform:rotate(-135deg) translateY(-2px)}
html body .bnp-mobile-summary-totals>div{padding-top:12px!important;padding-bottom:12px!important}
@media (max-width:600px){
  html body .bnp-flow-section{padding:18px!important}
  html body .bnp-flow-step-actions{flex-direction:column-reverse}
  html body .bnp-flow-steps button{font-size:10px!important}
}

/* 6b. Thank-you page */
.ua-ty{background:var(--ua-cream);padding:28px 16px 64px;color:var(--ua-ink)}
.ua-ty__wrap{max-width:1080px;margin:0 auto}
.ua-ty__hero{text-align:center;max-width:640px;margin:8px auto 26px;animation:uaTyIn .5s ease both}
.ua-ty__badge{width:72px;height:72px;border-radius:50%;background:var(--ua-sage);display:inline-flex;align-items:center;justify-content:center;margin-bottom:18px;box-shadow:0 0 0 10px rgba(83,99,79,.12)}
.ua-ty__badge svg{width:34px;height:34px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:30;stroke-dashoffset:30;animation:uaTyDraw .6s .25s ease forwards}
.ua-ty__hero.is-pending .ua-ty__badge{background:#b7791f;box-shadow:0 0 0 10px rgba(183,121,31,.14)}
.ua-ty__eyebrow{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ua-muted);font-weight:600;margin-bottom:8px}
.ua-ty__hero h1{font-family:Jost,system-ui,sans-serif;font-weight:400;font-size:clamp(28px,4.4vw,42px);line-height:1.15;margin:0 0 12px;letter-spacing:-.01em}
.ua-ty__hero p{color:var(--ua-muted);font-size:16px;line-height:1.6;margin:0 auto}
.ua-ty__actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:22px}
.ua-ty__actions--stack{flex-direction:column;margin-top:18px}
.ua-ty__btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;background:var(--ua-ink);color:#fff!important;text-decoration:none!important;font-family:Jost,system-ui,sans-serif;font-weight:500;letter-spacing:.04em;font-size:15px;border:1px solid var(--ua-ink);transition:transform .15s,background .15s}
.ua-ty__btn:hover{transform:translateY(-1px);background:#000}
.ua-ty__btn--ghost{background:transparent;color:var(--ua-ink)!important}
.ua-ty__btn--ghost:hover{background:var(--ua-ink);color:#fff!important}
.ua-ty__progress{list-style:none;margin:0 auto 26px;padding:18px 12px;max-width:760px;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--ua-line);border-radius:16px;position:relative}
.ua-ty__progress li{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;position:relative;color:var(--ua-muted);font-size:12.5px}
.ua-ty__progress li:not(:last-child)::after{content:"";position:absolute;top:15px;left:calc(50% + 22px);right:calc(-50% + 22px);height:2px;background:var(--ua-line)}
.ua-ty__progress li.is-done:not(:last-child)::after{background:var(--ua-sage)}
.ua-ty__progress span{width:32px;height:32px;border-radius:50%;border:2px solid var(--ua-line);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;background:#fff}
.ua-ty__progress li.is-done{color:var(--ua-ink)}
.ua-ty__progress li.is-done span{background:var(--ua-sage);border-color:var(--ua-sage);color:#fff}
.ua-ty__progress em{font-style:normal;font-weight:500}
.ua-ty__grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px;align-items:start}
.ua-ty__col{display:flex;flex-direction:column;gap:20px}
.ua-ty__card{background:#fff;border:1px solid var(--ua-line);border-radius:16px;padding:24px}
.ua-ty__card h2{font-family:Jost,system-ui,sans-serif;font-weight:400;font-size:21px;margin:0 0 16px;letter-spacing:-.01em}
.ua-ty__facts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ua-ty__facts small{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ua-muted);margin-bottom:6px;font-weight:600}
.ua-ty__facts strong{font-size:15px;font-weight:600;word-break:break-word}
.ua-ty__info{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}
.ua-ty__info h3{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ua-muted);margin:0 0 6px;font-weight:600;font-family:Inter,system-ui,sans-serif}
.ua-ty__info p{margin:0;font-size:14.5px;line-height:1.55;word-break:break-word}
.ua-ty__next ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.ua-ty__next li{display:flex;gap:12px;align-items:flex-start;font-size:14.5px;line-height:1.5}
.ua-ty__next b{flex:0 0 26px;height:26px;border-radius:50%;background:var(--ua-mint);color:var(--ua-sage);display:inline-flex;align-items:center;justify-content:center;font-size:12px}
.ua-ty__help{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--ua-line);font-size:14px;color:var(--ua-muted)}
.ua-ty__help a{color:var(--ua-ink);font-weight:600}
.ua-ty__summary{position:sticky;top:24px}
.ua-ty__items{display:flex;flex-direction:column;gap:14px;padding-bottom:16px;border-bottom:1px solid var(--ua-line)}
.ua-ty__item{display:grid;grid-template-columns:64px 1fr auto;gap:14px;align-items:center}
.ua-ty__thumb{position:relative;width:64px;height:64px;border-radius:12px;background:#f3efe7;border:1px solid var(--ua-line)}
.ua-ty__thumb img{width:100%!important;height:100%!important;object-fit:cover;border-radius:11px;display:block}
.ua-ty__thumb span{position:absolute;top:-8px;right:-8px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--ua-ink);color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.ua-ty__item-name{font-weight:600;font-size:14.5px;line-height:1.35}
.ua-ty__item-price{font-weight:600;font-size:14.5px}
.ua-ty__totals{padding-top:12px;display:flex;flex-direction:column}
.ua-ty__totals>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:14.5px;color:var(--ua-muted)}
.ua-ty__totals>div strong{color:var(--ua-ink);font-weight:600;text-align:right}
.ua-ty__totals>div.order_total{border-top:1px solid var(--ua-line);margin-top:6px;padding-top:14px;color:var(--ua-ink);font-size:17px}
.ua-ty__totals>div.order_total strong{font-size:20px}
.ua-ty__note{margin:16px 0 0;font-size:12.5px;color:var(--ua-muted);text-align:center}
@keyframes uaTyIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes uaTyDraw{to{stroke-dashoffset:0}}
@media (max-width:860px){
  .ua-ty__grid{grid-template-columns:1fr}
  .ua-ty__summary{position:static;order:-1}
  .ua-ty__facts{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
  .ua-ty{padding:20px 14px 90px}
  .ua-ty__card{padding:18px}
  .ua-ty__info{grid-template-columns:1fr}
  .ua-ty__progress{padding:14px 4px}
  .ua-ty__progress em{font-size:11px}
  .ua-ty__progress li:not(:last-child)::after{left:calc(50% + 19px);right:calc(-50% + 19px)}
}
@media (prefers-reduced-motion:reduce){.ua-ty__hero,.ua-ty__badge svg{animation:none;stroke-dashoffset:0}}

/* Empty cart page */
html body.woocommerce-cart .bnp-main>.woocommerce:has(.wc-empty-cart-message){max-width:640px;margin:0 auto;padding:72px 20px 96px;text-align:center}
html body.woocommerce-cart .wc-empty-cart-message .cart-empty{margin:0 0 24px!important;border-radius:16px!important;justify-content:center}
html body.woocommerce-cart .return-to-shop{text-align:center;margin:0}
html body.woocommerce-cart .return-to-shop .button{min-height:52px;padding:0 32px!important;display:inline-flex!important;align-items:center}

/* Thank-you: show normal site header so customers can keep browsing */
html body.woocommerce-order-received .bnp-site-header,html body.woocommerce-order-received .bnp-announcement{display:block!important}
html body .ua-ty__badge svg,html body .ua-ty__badge svg path{fill:none!important;stroke:#fff!important;stroke-width:2.4!important}
html body .ua-ty__progress span{color:inherit}
html body .ua-ty__progress li.is-done span{color:#fff!important}
html body .ua-ty .ua-ty__info h3{font-size:11px!important;line-height:1.3!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:var(--ua-muted)!important;margin:0 0 6px!important;font-weight:600!important;font-family:Inter,system-ui,sans-serif!important}
html body .ua-ty .ua-ty__card h2{font-size:21px!important;margin:0 0 16px!important;text-transform:none!important}
html body .ua-ty .ua-ty__hero h1{text-transform:none!important}
