/* Trofa purchase application: shared with native and editorial pages. */
:root{--tp-green:#17633c;--tp-deep:#103f2a;--tp-ink:#243c30;--tp-muted:#526459;--tp-line:#dce5de;--tp-soft:#f0f6f1;--tp-error:#813a2f}
.trofa-basket *,.trofa-cart-feedback *,.trofa-site-footer *{box-sizing:border-box}
.trofa-basket,.trofa-cart-feedback,.trofa-site-footer{font-family:IRANSans,sans-serif;font-variant-numeric:tabular-nums}
.trofa-basket ::selection,.trofa-site-footer ::selection{background:#c7df83;color:#103f2a}
.trofa-basket :focus-visible,.trofa-cart-feedback :focus-visible{outline:3px solid var(--tp-green);outline-offset:4px}
.trofa-basket input{caret-color:var(--tp-green)}
body.trofa-shared-shell .trofa-product-card .trofa-product-details .trofa-product-status{position:static;align-self:flex-start;display:inline-flex;width:auto;max-width:100%;min-height:20px;height:auto;margin:0 0 5px!important;padding:1px 6px;border:0;border-radius:4px;background:var(--tp-soft);font:400 11px/1.7 IRANSans,sans-serif;white-space:nowrap}
body.trofa-shared-shell .trofa-product-card .trofa-product-status.is-unavailable{color:#71503b;background:#f7f2ec}
.trofa-quick-add{width:100%;margin:auto 0 0}
.trofa-quick-add .button{display:flex!important;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;font-family:inherit}
.trofa-quick-add svg{width:18px;height:18px;flex-shrink:0}
body.trofa-commerce-app .trofa-product-page.woocommerce div.product form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:20px;border-radius:12px;background:var(--tp-soft)}
body.trofa-commerce-app .trofa-product-page.woocommerce div.product form.cart .trofa-quantity-label{flex:1 0 100%;margin:0;color:var(--tp-ink);font-size:13px}
body.trofa-commerce-app .trofa-product-page.woocommerce div.product form.cart .quantity{margin:0}
body.trofa-commerce-app .trofa-product-page.woocommerce div.product form.cart .single_add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;flex:1;margin:0;padding:10px 18px;border-radius:8px;font:700 14px/1.8 IRANSans,sans-serif;background:var(--tp-green)}
body.trofa-commerce-app .trofa-product-page.woocommerce div.product form.variations_form{display:block}
body.trofa-commerce-app .trofa-product-page.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
body.trofa-commerce-app .trofa-product-page.woocommerce div.product form.cart button:disabled{opacity:.6;cursor:wait}
/* An order list, with a separate decision column. */
.trofa-cart-page>h1{margin-bottom:8px}
.trofa-basket{color:var(--tp-ink);line-height:1.9}
.trofa-basket-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.trofa-basket-heading p{margin:0;color:var(--tp-muted);font-size:14px}
.trofa-basket-heading strong{color:var(--tp-green);font-size:20px}
.trofa-basket-heading>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;color:var(--tp-green);text-decoration:none}
.trofa-basket-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:28px}
.trofa-basket-products{min-width:0}
.trofa-basket-form{margin:0}
.trofa-basket-list{padding:0;margin:0;list-style:none;border-top:1px solid var(--tp-line)}
.trofa-basket-line{display:grid;grid-template-columns:112px minmax(0,1fr) auto;grid-template-areas:'image info remove' 'image quantity total';gap:16px 20px;padding:24px 0;border-bottom:1px solid var(--tp-line)}
.trofa-basket-image{grid-area:image;display:flex;align-items:center;align-self:start;justify-content:center;height:120px;padding:8px;background:#f7faf7;border-radius:12px}
.trofa-basket-image img{width:100%;height:100%;object-fit:contain}
.trofa-basket-info{grid-area:info;min-width:0}
.trofa-basket-info h2{margin:0 0 5px;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.trofa-basket-info h2 a{color:var(--tp-ink);text-decoration:none}
.trofa-basket-info h2 a:hover{color:var(--tp-green);text-decoration:underline;text-underline-offset:4px}
.trofa-basket-info dl.variation{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 5px;font-size:12px;color:var(--tp-muted)}
.trofa-basket-info dl.variation dd,.trofa-basket-info dl.variation p{margin:0}
.trofa-basket .trofa-basket-unit{margin:6px 0 0;color:var(--tp-muted);font-size:12px}
.trofa-basket-remove{grid-area:remove;display:inline-flex;align-items:center;align-self:start;gap:5px;min-width:44px;min-height:44px;padding:6px;color:var(--tp-muted);text-decoration:none;font-size:12px}
.trofa-basket-remove svg,.trofa-cart-feedback svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.trofa-basket-remove:hover{color:var(--tp-error);background:#fff5f1;border-radius:8px}
.trofa-basket-quantity{grid-area:quantity;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.trofa-basket-quantity-label{color:var(--tp-muted);font-size:12px}
body.trofa-commerce-app .trofa-basket .quantity{display:inline-flex;align-items:center;float:none;gap:0;width:auto;margin:0;overflow:hidden;border:1px solid #a8b8ac;border-radius:8px;background:white}
body.trofa-commerce-app .trofa-basket .quantity .qty{width:44px;height:44px;min-height:44px;padding:4px;margin:0;border:0;border-radius:0;background:white;font-size:15px;text-align:center;box-shadow:none;-moz-appearance:textfield}
.trofa-basket .qty::-webkit-inner-spin-button,.trofa-basket .qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.trofa-commerce-app .trofa-basket .trofa-quantity-step{width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:white;color:var(--tp-green);font-size:21px}
body.trofa-commerce-app .trofa-basket .trofa-quantity-step:hover:not(:disabled){background:var(--tp-soft)}
body.trofa-commerce-app .trofa-basket .trofa-quantity-step:disabled{color:#89968e;background:#f5f7f5;cursor:not-allowed}
.trofa-basket-line-total{grid-area:total;display:flex;flex-direction:column;justify-content:end;align-items:end;white-space:nowrap}
.trofa-basket-line-total>span{color:var(--tp-muted);font-size:11px}
.trofa-basket-line-total strong{font-size:15px}
.trofa-basket .woocommerce-Price-currencySymbol{font-size:.78em;font-weight:400}
.trofa-cart-save{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-block:12px 20px}
.trofa-cart-save p{margin:0;font-size:12px;color:var(--tp-muted)}
.trofa-cart-save button{min-height:44px;font-family:inherit}
.trofa-basket-assistance{display:flex;gap:12px;align-items:center;padding-block:16px;color:var(--tp-muted)}
.trofa-basket-assistance>svg{color:var(--tp-green);flex-shrink:0}
.trofa-basket-assistance p{margin:0;font-size:13px}
.trofa-basket-assistance a{display:block;width:fit-content;min-height:44px;padding-top:6px;color:var(--tp-green);text-decoration:none}
.trofa-basket-summary{position:sticky;top:24px;padding:24px;border-radius:14px;background:var(--tp-soft)}
.trofa-basket-summary h2{margin:0 0 20px;font-size:19px}
.trofa-basket-summary dl{margin:0}
.trofa-basket-summary dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-block:12px;font-size:13px}
.trofa-basket-summary dt{color:var(--tp-muted);font-weight:400}
.trofa-basket-summary dd{margin:0;text-align:end}
.trofa-basket-summary dd small{display:block}
.trofa-basket-summary .trofa-basket-grand-total{padding-top:16px;margin-top:20px;border-top:1px solid #c9d8cc}
.trofa-basket-grand-total dt{color:var(--tp-ink)}
.trofa-basket-grand-total dd{font-size:19px;font-weight:700}
.trofa-basket-discount dt a{display:inline-block;min-height:44px;padding-inline:8px;color:var(--tp-error);font-size:12px}
.trofa-basket-discount dd{color:var(--tp-green)}
.trofa-basket-coupon{border-top:1px solid #c9d8cc;margin:18px 0;padding-top:8px}
.trofa-basket-coupon summary{min-height:44px;padding-block:8px;cursor:pointer;font-size:13px;color:var(--tp-green)}
.trofa-basket-coupon label{display:block;margin:8px 0;font-size:12px}
.trofa-basket-coupon form>div{display:flex;gap:8px}
.trofa-basket-coupon input{min-width:0;width:100%;min-height:44px;padding:8px;border:1px solid #a8b8ac;border-radius:6px;background:white;font-family:inherit}
.trofa-basket-coupon button{min-height:44px;flex-shrink:0;padding:8px 12px;border:1px solid var(--tp-green);border-radius:6px;background:white;color:var(--tp-green);font:700 12px/1.8 IRANSans,sans-serif}
.trofa-basket .trofa-basket-checkout{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:52px;margin-top:20px;padding:12px 16px;border-radius:8px;background:var(--tp-green);color:white;font-size:14px;font-weight:700;text-decoration:none}
.trofa-basket .trofa-basket-checkout:hover{background:var(--tp-deep)}
.trofa-basket .trofa-basket-next{margin:14px 0 0;font-size:12px;line-height:2;color:var(--tp-muted)}
.trofa-basket .trofa-basket-local{margin:14px 0 0;padding-top:12px;border-top:1px solid #c9d8cc;font-size:11px;color:var(--tp-muted)}
.trofa-basket .trofa-line-error{margin:8px 0;color:var(--tp-error);font-size:13px}
.trofa-basket-backorder{color:#71503b;font-size:12px}
.trofa-basket-empty{text-align:center;padding:56px 24px 64px}
.trofa-empty-icon{display:inline-flex;justify-content:center;align-items:center;width:88px;height:88px;margin-bottom:20px;border-radius:50%;color:var(--tp-green);background:var(--tp-soft)}
.trofa-empty-icon svg{width:38px;height:38px}
.trofa-basket-empty h2{margin:0 0 12px;font-size:25px;line-height:1.7}
.trofa-basket-empty p{margin:0 0 26px;color:var(--tp-muted);font-size:14px}
.trofa-basket-empty .trofa-button{display:inline-flex;align-items:center;gap:16px;min-height:48px}
.trofa-empty-help{display:block;width:fit-content;min-height:44px;margin:12px auto 0;padding-top:8px;font-size:13px;color:var(--tp-green)}
.trofa-cart-busy .trofa-basket{opacity:.72;cursor:progress}
.trofa-cart-busy .trofa-basket-form,.trofa-cart-busy .trofa-basket-coupon,.trofa-cart-busy [data-trofa-cart-action]{pointer-events:none}
.trofa-cart-busy .trofa-basket input{pointer-events:none}
.trofa-cart-busy [data-trofa-checkout]{pointer-events:none;opacity:.6}
/* Nonmodal confirmation does not take focus away from buying. */
.trofa-cart-feedback{position:fixed;inset-inline-end:24px;bottom:24px;width:min(420px,calc(100vw - 32px));padding:20px;z-index:100001;border-radius:14px;background:white;color:var(--tp-ink);box-shadow:0 14px 60px rgba(16,63,42,.23);line-height:1.8}
.trofa-cart-feedback[hidden],.trofa-cart-feedback [hidden]{display:none!important}
.trofa-feedback-body{display:flex;align-items:start;gap:12px}
[data-trofa-feedback-icon]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;height:36px;border-radius:50%;background:var(--tp-soft);color:var(--tp-green)}
.trofa-feedback-body>div{flex:1;min-width:0}
.trofa-feedback-body strong{display:block;padding-top:3px;font-size:14px}
.trofa-feedback-body p{margin:6px 0 0;font-size:12px;color:var(--tp-muted);overflow-wrap:anywhere}
.trofa-feedback-body>button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;height:44px;margin:-8px -8px 0;padding:0;border:0;background:transparent;color:var(--tp-muted);cursor:pointer}
.trofa-feedback-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}
.trofa-feedback-actions a,.trofa-feedback-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:0;border-radius:7px;font:400 12px/1.8 IRANSans,sans-serif;text-decoration:none;cursor:pointer}
.trofa-feedback-actions a{flex:1 1 auto;background:var(--tp-green);color:white}
.trofa-feedback-actions button{background:var(--tp-soft);color:var(--tp-green)}
.trofa-cart-feedback.is-error [data-trofa-feedback-icon]{color:var(--tp-error);background:#fff5f1}
.trofa-cart-feedback.is-error [data-trofa-feedback-icon] svg{display:none}
.trofa-cart-feedback.is-error [data-trofa-feedback-icon]::after{content:'!';font-size:22px;font-weight:700}
/* Grounded Trofa footer; factual business information only. */
body.trofa-shared-shell .trofa-site-footer{margin-top:64px;padding:0 24px;background:#103f2a;color:#f5faf4;border:0;border-radius:0;line-height:1.9}
.trofa-footer-inner{max-width:1160px;margin:auto}
.trofa-site-footer .trofa-footer-invitation{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:40px 0 32px;border-bottom:1px solid #39654c}
.trofa-site-footer .trofa-footer-invitation h2{margin:0 0 6px;color:#f5faf4;font-size:28px;font-weight:700;line-height:1.6}
.trofa-site-footer .trofa-footer-invitation p{margin:0;color:#c9ddce;font-size:14px}
.trofa-site-footer a{color:#e5f0e5;text-decoration:none;text-underline-offset:5px}
.trofa-site-footer a:hover{color:#d8ed9e;text-decoration:underline}
.trofa-site-footer :focus-visible{outline:3px solid #d8ed9e;outline-offset:5px}
.trofa-site-footer .trofa-footer-call{display:flex;flex-direction:column;gap:4px;flex-shrink:0;min-height:68px;padding:8px 0 8px 4px;color:#d8ed9e}
.trofa-footer-call>span{display:inline-flex;align-items:center;gap:9px;font-size:12px}
.trofa-footer-call bdi{font-size:29px;font-weight:700;line-height:1.6;letter-spacing:.01em}
.trofa-footer-columns{display:grid;grid-template-columns:1.2fr .8fr .8fr 1.2fr;gap:40px;padding-block:36px 40px}
.trofa-site-footer .trofa-footer-brand{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;color:#f5faf4}
.trofa-footer-brand svg{width:36px;height:36px;color:#d8ed9e}
.trofa-footer-brand strong{font-size:38px;line-height:1.5}
.trofa-site-footer .trofa-footer-identity p{margin:0 0 10px;font-size:13px;color:#e5f0e5}
.trofa-site-footer .trofa-footer-identity .trofa-footer-description{max-width:30ch;color:#c9ddce;font-size:12px}
.trofa-site-footer .trofa-footer-columns h3{margin:8px 0 16px;color:#f5faf4;font-size:14px;font-weight:700}
.trofa-footer-columns nav a{display:flex;align-items:center;min-height:44px;font-size:13px}
.trofa-footer-contact address{margin-bottom:12px;color:#c9ddce;font-size:13px;font-style:normal;line-height:2}
.trofa-footer-contact>a{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px}
.trofa-footer-contact>a svg{width:18px;height:18px}
.trofa-footer-contact-link span{margin-inline-start:8px}
.trofa-footer-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding-block:20px;border-top:1px solid #39654c}
.trofa-site-footer .trofa-footer-bottom p{flex:1;margin:0;color:#c9ddce;font-size:11px}
.trofa-footer-bottom a{display:inline-flex;align-items:center;min-height:44px;gap:8px;font-size:11px}
@media(max-width:1023px){.trofa-basket-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.trofa-basket-line{grid-template-columns:86px minmax(0,1fr) auto;gap:12px}.trofa-basket-image{height:100px}.trofa-basket-quantity-label,.trofa-basket-remove span{display:none}.trofa-basket-summary{padding:20px}.trofa-footer-columns{grid-template-columns:1.1fr 1fr;gap:28px 48px}}
@media(max-width:767px){
.trofa-basket-layout{grid-template-columns:minmax(0,1fr);gap:24px}.trofa-basket-heading{align-items:start;gap:12px}.trofa-basket-heading>a{font-size:11px}
.trofa-basket-line{grid-template-columns:88px minmax(0,1fr) 44px;grid-template-areas:'image info remove' 'quantity quantity total';gap:14px 10px;padding-block:20px}
.trofa-basket-info h2{font-size:14px}.trofa-basket-image{height:92px}.trofa-basket-info dl.variation{font-size:11px}.trofa-basket-line-total{align-self:end}.trofa-basket-line-total strong{font-size:14px}.trofa-basket-line-total .woocommerce-Price-amount{white-space:nowrap}
body.trofa-commerce-app .trofa-basket .trofa-quantity-step{width:44px;min-width:44px;height:44px}body.trofa-commerce-app .trofa-basket .quantity .qty{width:38px}
.trofa-basket-quantity{z-index:1}.trofa-basket-line-total{padding-inline-start:8px}
.trofa-basket-summary{position:static;padding:24px 20px}.trofa-basket-summary dl>div{font-size:14px}.trofa-basket-summary .trofa-basket-grand-total dd{font-size:22px}
.trofa-basket-empty{padding:36px 0 44px}.trofa-basket-empty h2{font-size:21px}.trofa-basket-empty p{font-size:13px}
.trofa-cart-feedback{inset-inline:16px;bottom:calc(88px + env(safe-area-inset-bottom));width:auto;padding:16px}
body.trofa-shared-shell .trofa-site-footer{margin-top:40px;padding-inline:20px;padding-bottom:calc(80px + env(safe-area-inset-bottom))}
.trofa-site-footer .trofa-footer-invitation{align-items:start;flex-direction:column;gap:16px;padding-block:28px 24px}.trofa-site-footer .trofa-footer-invitation h2{font-size:23px}.trofa-site-footer .trofa-footer-invitation p{font-size:12px}.trofa-site-footer .trofa-footer-call{width:100%}.trofa-footer-call bdi{font-size:29px}
.trofa-footer-columns{grid-template-columns:1fr 1fr;gap:24px 18px;padding-block:28px}.trofa-footer-identity,.trofa-footer-contact{grid-column:1/-1}.trofa-site-footer .trofa-footer-identity .trofa-footer-description{max-width:46ch}.trofa-site-footer .trofa-footer-columns h3{margin-block:0 8px}
.trofa-footer-bottom{gap:4px 22px;padding-block:16px 8px}.trofa-site-footer .trofa-footer-bottom p{flex:1 0 100%;font-size:10px}
body.trofa-commerce-app .trofa-product-page.woocommerce div.product form.cart{padding:14px;gap:10px}body.trofa-commerce-app .trofa-product-page.woocommerce div.product form.cart .single_add_to_cart_button{min-width:130px;padding-inline:12px;font-size:13px}
}
@media(prefers-reduced-motion:no-preference){.trofa-cart-feedback{animation:trofa-receipt-in .22s cubic-bezier(.16,1,.3,1)}@keyframes trofa-receipt-in{from{transform:translateY(12px);opacity:.6}to{transform:translateY(0);opacity:1}}}
