/* Tasha's Fresh Produce: layer on top of Ekomart style.css. Replaces template stock backgrounds (which do not ship). */
:root { --tp-green: #629D23; --tp-deep: #2C3C28; --tp-sun: #F6C343; --tp-leaf: #EAF4DF; }
html, body { overflow-x: hidden; }
body { max-width: 100vw; }

/* ---------- TEST MODE bar ---------- */
.tp-testbar { background: #B4261A; color: #fff; font-size: 13px; line-height: 1.4; padding: 7px 14px; text-align: center; position: relative; z-index: 60; }
.tp-testbar strong { background: #fff; color: #B4261A; padding: 1px 7px; border-radius: 3px; margin-right: 6px; letter-spacing: .5px; }
.tp-sample-toggle { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 0 10px; cursor: pointer; font-weight: 600; color: #fff; }
.tp-sample-toggle input { width: 14px; height: 14px; margin: 0; }
.tp-small { font-size: 13px; color: #6E777D; line-height: 1.5; }

/* ---------- header ---------- */
.tp-logo { height: 62px; width: auto; max-width: 100%; }
.after-md-device-header .tp-logo { height: 50px; }
.tp-caticon { width: 30px; height: 30px; object-fit: contain; margin-right: 8px; }
.category-sub-menu .menu-item { display: flex; align-items: center; }
.tp-active > a { color: var(--tp-green) !important; }
.header-top-area .discount-area p.disc { color: #fff; }
.tp-jmd { color: #6E777D; font-size: 14px; }
.accont-wishlist-cart-area-header .cart { position: relative; }
.accont-wishlist-cart-area-header .cart .over_link { position: absolute; inset: 0; z-index: 2; }

/* ---------- banner (replaces stock bg) ---------- */
.banner-bg-image.bg_one-banner { background-image: none !important; position: relative; overflow: hidden; border-radius: 6px; }
.banner-bg-image.tp-hero-a { background: radial-gradient(circle at 78% 55%, #FFF6D6 0, #F4E7B0 30%, #DCEBC6 60%, #CFE3B3 100%) !important; }
.banner-bg-image.tp-hero-b { background: radial-gradient(circle at 78% 55%, #FFFFFF 0, #E8F3DA 45%, #CFE3B3 100%) !important; }
.banner-one-inner-content { position: relative; z-index: 2; max-width: 560px; }
.banner-one-inner-content .pre { color: var(--tp-deep) !important; font-weight: 600; }
.banner-one-inner-content .title { color: var(--tp-deep) !important; }
.tp-hero-pics { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 46%; height: 88%; z-index: 1; pointer-events: none; }
.tp-hero-pic { position: absolute; width: 52%; height: auto; filter: drop-shadow(0 18px 18px rgba(40, 60, 20, .25)); }
.tp-hero-pic.p0 { left: 2%; top: 0; width: 46%; }
.tp-hero-pic.p1 { left: 36%; top: 26%; width: 44%; z-index: 2; }
.tp-hero-pic.p2 { left: 60%; top: 2%; width: 40%; }
@media (max-width: 991px) {
  .tp-hero-pics { width: 44%; right: 1%; opacity: .95; }
  .banner-one-inner-content { max-width: 62%; }
}
@media (max-width: 575px) {
  .banner-bg-image.bg_one-banner { padding-top: 34px !important; padding-bottom: 170px !important; }
  .banner-one-inner-content { max-width: 100%; padding: 0 18px; }
  .banner-one-inner-content .title { font-size: 28px !important; line-height: 1.2 !important; }
  .tp-hero-pics { top: auto; bottom: 6px; transform: none; width: 92%; height: 160px; left: 4%; right: 4%; }
  .tp-hero-pic.p0 { width: 34%; left: 6%; top: 10%; }
  .tp-hero-pic.p1 { width: 34%; left: 34%; top: 16%; }
  .tp-hero-pic.p2 { width: 30%; left: 64%; top: 4%; }
}
.single-category-one img { height: 80px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0,0,0,.12)); }

/* ---------- features ---------- */
.tp-feat-icon i, .tp-svc-icon i { font-size: 36px; color: var(--tp-green); }
.tp-svc-icon { width: 80px; height: 80px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 80px; }

/* ---------- product cards ---------- */
.single-shopping-card-one .thumbnail-preview img { width: 100%; height: auto; aspect-ratio: 600 / 521; object-fit: contain; }
.single-shopping-card-one .thumbnail-preview { background: radial-gradient(circle at 50% 45%, #fff 0, #F6F8F3 70%); }
.single-shopping-card-one .price-area .current { font-size: 14px !important; color: #6E777D !important; font-weight: 500 !important; }
.single-shopping-card-one .price-area .current.tp-priced { font-size: 18px !important; color: var(--tp-green) !important; font-weight: 700 !important; }
.tp-sample-tag { display: inline-block; font-size: 10px; font-weight: 700; color: #B4261A; border: 1px solid #B4261A; border-radius: 3px; padding: 0 4px; margin-left: 6px; vertical-align: middle; }
.single-shopping-card-one .badge span { font-size: 11px; line-height: 1.1; }
.single-shopping-card-one .body-content .title { min-height: 2.4em; }
.single-shopping-card-one .availability { display: block; min-height: 2.6em; font-size: 13px; }
.tranding-product .tp-add-mini { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-weight: 600; color: var(--tp-green); }
.tranding-product .thumbnail-preview img { aspect-ratio: auto; }
@media (max-width: 575px) {
  .single-shopping-card-one { padding: 10px !important; }
  .single-shopping-card-one .body-content .title { font-size: 15px !important; }
  .single-shopping-card-one .cart-counter-action { flex-wrap: wrap; gap: 6px; }
  .single-shopping-card-one .cart-counter-action .rts-btn { width: 100%; justify-content: center; }
  .single-shopping-card-one .cart-counter-action .quantity-edit { width: 100%; }
}

/* ---------- order window banners (replace stock discount bgs) ---------- */
.single-discount-with-bg { background-image: none !important; position: relative; overflow: hidden; min-height: 200px; }
.single-discount-with-bg.tp-win-a { background: linear-gradient(120deg, #2C3C28 0, #3F6B1F 100%) !important; }
.single-discount-with-bg.tp-win-b { background: linear-gradient(120deg, #7A5A12 0, #C79A23 100%) !important; }
.single-discount-with-bg .inner-content { position: relative; z-index: 2; max-width: 62%; }
.single-discount-with-bg .inner-content .title, .single-discount-with-bg .price-area span { color: #fff !important; }
.single-discount-with-bg .price-area .title { font-size: 18px !important; }
.tp-disc-pic { position: absolute; right: -10px; bottom: -6px; width: 46%; filter: drop-shadow(0 14px 14px rgba(0,0,0,.35)); }
.tp-win-text.tp-open-now { color: var(--tp-sun) !important; }

/* ---------- category feature cards (replace stock bgs) ---------- */
.single-feature-card { background-image: none !important; position: relative; overflow: hidden; min-height: 300px; }
.single-feature-card.one { background: linear-gradient(160deg, #F7EBD3, #EBD3A6) !important; }
.single-feature-card.two { background: linear-gradient(160deg, #FFF2CC, #FBD77A) !important; }
.single-feature-card.three { background: linear-gradient(160deg, #E6F3D8, #C2DFA2) !important; }
.single-feature-card.four { background: linear-gradient(160deg, #F2F4F7, #DADFE6) !important; }
.tp-fcard-pic { position: absolute; right: -12px; bottom: -8px; width: 58%; filter: drop-shadow(0 14px 14px rgba(0,0,0,.22)); z-index: 1; }
.single-feature-card .content-area { position: relative; z-index: 2; }
.single-feature-card .content-area .title { color: var(--tp-deep) !important; }

/* ---------- how to order (blog cards) ---------- */
.tp-step-thumb { display: flex !important; align-items: center; justify-content: center; height: 170px; background: linear-gradient(140deg, var(--tp-leaf), #fff); border-radius: 6px; }
.tp-step-thumb i { font-size: 64px; color: var(--tp-green); }
.tp-step-text { font-size: 15px; color: #6E777D; margin: 6px 0 14px; }

/* ---------- placeholder visuals ---------- */
.thumbnail-preview.is-ph img, .product-thumb-area img { }

/* ---------- welcome popup (#myModal-1, replaces stock popover bg) ---------- */
#myModal-1 .modal-dialog.tp-welcome { background-image: url(../img/products/mango.png), url(../img/products/pineapple.png), linear-gradient(120deg, #2C3C28 0, #4C7F22 100%) !important; background-repeat: no-repeat; background-size: 230px auto, 210px auto, cover; background-position: right 40px bottom 30px, right 230px bottom 60px, center; height: auto !important; min-height: 460px; }
#myModal-1 .modal-body { padding: 50px 60px; }
#myModal-1 .inner-content .content { max-width: 560px; }
#myModal-1 .pre-title { color: var(--tp-sun); font-weight: 700; font-size: 16px; display: block; }
#myModal-1 .content .title { color: #fff; font-size: 44px; line-height: 1.15; margin: 12px 0 14px; }
#myModal-1 .content p.disc { color: #EEF5E6 !important; font-size: 16px; line-height: 1.6; }
#myModal-1 .rts-btn-banner-area { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
#myModal-1 .tp-welcome-chat { background: var(--tp-sun) !important; color: var(--tp-deep) !important; }
@media (max-width: 767px) {
  #myModal-1 { top: 0; transform: none; }
  #myModal-1 .modal-dialog.tp-welcome { margin: 56px 12px; max-width: calc(100vw - 24px) !important; min-height: 0; background-size: 120px auto, 0 0, cover; background-position: right 12px bottom 12px, 0 0, center; }
  #myModal-1 .modal-body { padding: 26px 20px 120px; }
  #myModal-1 .content .title { font-size: 30px; }
  #myModal-1 .content p.disc { font-size: 14px; }
}

/* ---------- quick view ---------- */
.tp-qv-body { display: flex; gap: 30px; }
.tp-qv-body .tp-qv-img { flex: 0 0 45%; background: radial-gradient(circle at 50% 45%, #fff 0, #F3F6EE 70%); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.tp-qv-body .tp-qv-img img { width: 100%; max-width: 420px; height: auto; }
.tp-qv-body .contents { flex: 1; }
.tp-unit-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.tp-chip { border: 1px solid #DCE3D3; background: #fff; border-radius: 30px; padding: 6px 14px; font-size: 14px; cursor: pointer; color: var(--tp-deep); }
.tp-chip.on { background: var(--tp-green); color: #fff; border-color: var(--tp-green); }
@media (max-width: 767px) { .tp-qv-body { flex-direction: column; gap: 14px; } .tp-qv-body .tp-qv-img { flex: none; } .tp-qv-body .tp-qv-img img { max-width: 220px; } .product-details-popup-wrapper .product-details-popup { max-height: 92vh; overflow-y: auto; } }

/* ---------- cart sidebar (added; template has no cart sidebar) ---------- */
#cart-side.side-bar { width: 400px; max-width: 100vw; padding: 30px 26px; }
.tp-cart-side-body h4 { margin: 0 0 16px; font-size: 22px; }
.tp-cs-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #EEF0EA; }
.tp-cs-line img { width: 64px; height: 56px; object-fit: contain; flex: 0 0 64px; }
.tp-cs-line .tp-cs-info { flex: 1; min-width: 0; }
.tp-cs-line .tp-cs-info b { display: block; font-size: 15px; color: var(--tp-deep); }
.tp-cs-line .tp-cs-info span { font-size: 13px; color: #6E777D; }
.tp-qtybox { display: inline-flex; align-items: center; border: 1px solid #E2E6DD; border-radius: 4px; margin-top: 4px; }
.tp-qtybox button { border: none; background: #F3F5EF; width: 26px; height: 26px; line-height: 26px; font-size: 14px; color: var(--tp-deep); }
.tp-qtybox span { min-width: 30px; text-align: center; font-size: 14px; }
.tp-x { border: none; background: none; color: #B4261A; font-size: 15px; padding: 4px 6px; }
.tp-cs-totals { margin-top: 16px; font-size: 15px; }
.tp-cs-totals .row-t { display: flex; justify-content: space-between; padding: 4px 0; }
.tp-cs-totals .row-t.total { font-weight: 700; font-size: 17px; border-top: 1px solid #E2E6DD; margin-top: 6px; padding-top: 10px; }
.tp-cs-btns { display: flex; gap: 10px; margin-top: 16px; }
.tp-cs-btns .rts-btn { flex: 1; justify-content: center; }
.tp-progress { height: 6px; background: #EEF0EA; border-radius: 4px; overflow: hidden; margin: 8px 0 4px; }
.tp-progress > div { height: 100%; background: var(--tp-green); }
.tp-note { background: #FFF8E1; border: 1px solid #F3DE9B; color: #6B5300; border-radius: 6px; padding: 10px 12px; font-size: 13px; line-height: 1.5; margin-top: 12px; }
.tp-note.err { background: #FDECEA; border-color: #F5C2BE; color: #8A1C12; }
.tp-note.ok { background: #EAF4DF; border-color: #C4DFA6; color: #2C5410; }
.tp-empty-cart { color: #6E777D; padding: 20px 0; }
.tp-cart-dropdown .tp-dd-empty { padding: 14px; color: #6E777D; font-size: 14px; }

/* cart page rows */
.single-cart-area-list.main .thumbnail img { width: 70px; height: 60px; object-fit: contain; }
.tp-cart-totals .tp-note { margin: 10px 0; }

/* ---------- checkout ---------- */
.tp-window-banner .tp-wb { border-radius: 8px; padding: 18px 20px; margin-bottom: 26px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.tp-wb.open { background: #EAF4DF; border: 1px solid #C4DFA6; }
.tp-wb.closed { background: #FDECEA; border: 1px solid #F5C2BE; }
.tp-wb i { font-size: 30px; }
.tp-wb.open i { color: var(--tp-green); } .tp-wb.closed i { color: #B4261A; }
.tp-wb .tp-wb-text { flex: 1; min-width: 200px; }
.tp-wb .tp-wb-text b { display: block; font-size: 17px; color: var(--tp-deep); }
.tp-wb .tp-cd { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 18px; color: var(--tp-deep); }
.tp-place[disabled] { opacity: .5; cursor: not-allowed; }
.tp-place { width: 100%; justify-content: center; }
.tp-profile-card { border: 1px solid #E2E6DD; border-radius: 6px; padding: 14px 16px; margin-bottom: 20px; font-size: 15px; line-height: 1.7; }
.tp-linkbox { word-break: break-all; background: #F3F5EF; border: 1px dashed var(--tp-green); padding: 10px 12px; border-radius: 6px; margin-top: 12px; font-size: 14px; }
.tp-linkbox .tp-tm { display: inline-block; background: #B4261A; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; margin-right: 6px; }
.right-card-sidebar-checkout .single-shop-list .left-area .thumbnail img { width: 50px; height: 44px; object-fit: contain; }
.registration-wrapper-1 select { width: 100%; height: 50px; border: 1px solid #EBEBEB; border-radius: 5px; padding: 0 14px; background: #fff; }
.registration-wrapper-1 .input-wrapper.tp-bad input, .registration-wrapper-1 .input-wrapper.tp-bad select, .registration-wrapper-1 .input-wrapper.tp-bad .nice-select { border-color: #B4261A !important; }
.tp-reg-logo { height: 70px; width: auto; }
.registration-wrapper-1 .nice-select { width: 100%; height: 50px; line-height: 50px; float: none; }
.registration-wrapper-1 .nice-select .list { width: 100%; }
.rts-billing-details-area .nice-select { width: 100%; float: none; height: 50px; line-height: 50px; }

/* ---------- shop page ---------- */
.tp-q-note:not(:empty) { margin-top: 14px; font-size: 15px; }
.tp-gitem[hidden] { display: none !important; }
.tp-empty { padding: 30px 0; font-size: 16px; }
.tp-catn { color: #9AA19A; font-size: 13px; }
.filter-select-area .nice-select-wrapper-1 { flex-wrap: wrap; gap: 10px; }
@media (max-width: 575px) {
  .filter-select-area .top-filter { flex-wrap: wrap; gap: 10px; }
  .nice-select-area-wrapper-and-button { flex-wrap: wrap; gap: 10px; }
  .nice-select-area-wrapper-and-button .button-area { width: 100%; }
}

/* ---------- product detail ---------- */
.tp-pd-thumbs .product-thumb-area { background-size: 200%; background-repeat: no-repeat; background-color: #fff; border-radius: 8px; }
.tp-pd-thumbs .product-thumb { width: 100%; height: auto; display: block; }
.tp-confirm-badge { display: inline-block; margin-left: 10px; font-size: 12px; font-weight: 600; color: #7A5A12; background: #FFF4D6; border-radius: 4px; padding: 2px 8px; }
.tp-pd-price { font-size: 18px !important; color: #6E777D !important; }
.tp-pd-price.tp-priced { color: var(--tp-green) !important; font-size: 26px !important; }
.tp-custom-wrap { margin-bottom: 15px; } .tp-custom-wrap input { height: 46px; border: 1px solid #E2E6DD; border-radius: 4px; padding: 0 12px; width: 100%; max-width: 360px; }
.variable-product-type .single-select .nice-select { min-width: 200px; }
@media (max-width: 575px) { .product-bottom-action { flex-wrap: wrap; gap: 10px; } .product-bottom-action .ml--20 { margin-left: 0 !important; } }

/* ---------- footer ---------- */
.copyright-between-1 { flex-wrap: wrap; gap: 8px; }
.tp-credit a, .tp-dash-foot a { color: var(--tp-green); font-weight: 600; }
.payment-access { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tp-pay-note { color: #6E777D; }

/* ---------- toast ---------- */
.successfully-addedin-wishlist.tp-show { display: block !important; opacity: 1 !important; visibility: visible !important; transform: translate(-50%, 0) !important; }
.successfully-addedin-wishlist { z-index: 10050; }

/* ---------- back to top sits above chat launcher ---------- */
.progress-wrap { bottom: 100px !important; }

/* ---------- chat assistant ---------- */
.tp-chat-launch { position: fixed; right: 20px; bottom: 22px; z-index: 9990; width: 62px; height: 62px; border-radius: 50%; border: none; background: var(--tp-green); color: #fff; box-shadow: 0 10px 24px rgba(44, 60, 40, .35); font-size: 26px; display: flex; align-items: center; justify-content: center; }
.tp-chat-launch .tp-badge { position: absolute; top: -2px; right: -2px; background: #B4261A; color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; min-width: 20px; height: 20px; line-height: 20px; text-align: center; padding: 0 5px; }
.tp-nudge { position: fixed; right: 92px; bottom: 30px; z-index: 9989; background: #fff; color: var(--tp-deep); border-radius: 14px 14px 2px 14px; box-shadow: 0 8px 26px rgba(0,0,0,.16); padding: 12px 34px 12px 14px; max-width: 250px; font-size: 15px; font-weight: 600; line-height: 1.35; cursor: pointer; animation: tpPop .35s ease; }
.tp-nudge small { display: block; font-weight: 400; color: #6E777D; font-size: 12px; margin-top: 3px; }
.tp-nudge .tp-nudge-x { position: absolute; top: 6px; right: 8px; border: none; background: none; color: #9AA19A; font-size: 14px; }
@keyframes tpPop { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.tp-chat-panel { position: fixed; right: 20px; bottom: 96px; z-index: 9995; width: 380px; max-width: calc(100vw - 24px); height: min(620px, calc(100vh - 120px)); background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.25); display: none; flex-direction: column; overflow: hidden; }
.tp-chat-panel.open { display: flex; }
.tp-chat-head { background: var(--tp-deep); color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.tp-chat-head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; }
.tp-chat-head b { display: block; font-size: 15px; } .tp-chat-head span { font-size: 12px; opacity: .85; }
.tp-chat-head .tp-chat-close { margin-left: auto; border: none; background: none; color: #fff; font-size: 20px; }
.tp-chat-log { flex: 1; overflow-y: auto; padding: 14px; background: #F6F8F3; display: flex; flex-direction: column; gap: 10px; }
.tp-msg { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; }
.tp-msg.bot { background: #fff; color: var(--tp-deep); border-bottom-left-radius: 3px; align-self: flex-start; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.tp-msg.me { background: var(--tp-green); color: #fff; border-bottom-right-radius: 3px; align-self: flex-end; }
.tp-mcard { background: #fff; border: 1px solid #DCE3D3; border-radius: 12px; padding: 10px; align-self: flex-start; width: 86%; }
.tp-mcard .tp-mc-top { display: flex; gap: 10px; align-items: center; }
.tp-mcard img { width: 74px; height: 64px; object-fit: contain; flex: 0 0 74px; }
.tp-mcard b { display: block; color: var(--tp-deep); font-size: 15px; }
.tp-mcard .tp-mc-q { font-size: 14px; color: var(--tp-deep); }
.tp-mcard .tp-mc-p { font-size: 12.5px; color: #6E777D; }
.tp-mcard .tp-mc-ask { font-weight: 600; margin: 8px 0 6px; font-size: 14px; }
.tp-mc-btns { display: flex; gap: 8px; }
.tp-mc-btns button, .tp-opt { border: 1px solid var(--tp-green); background: #fff; color: var(--tp-green); border-radius: 20px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.tp-mc-btns .tp-yes { background: var(--tp-green); color: #fff; }
.tp-mcard.done { opacity: .75; } .tp-mcard.done .tp-mc-btns { display: none; }
.tp-mc-change { margin-top: 8px; border-top: 1px dashed #DCE3D3; padding-top: 8px; }
.tp-mc-change .tp-unit-chips { margin: 4px 0 8px; }
.tp-opts { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 92%; }
.tp-basket { background: #fff; border: 1px solid #DCE3D3; border-radius: 12px; padding: 10px 12px; align-self: flex-start; width: 86%; font-size: 14px; }
.tp-basket .tp-bl { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid #F0F2EC; }
.tp-basket .tp-bl:last-of-type { border-bottom: none; }
.tp-basket .tp-btot { margin-top: 6px; font-weight: 700; }
.tp-wa-btn { display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: #fff !important; border-radius: 20px; padding: 7px 14px; font-weight: 600; font-size: 14px; margin-top: 6px; }
.tp-chat-quick { display: flex; gap: 6px; padding: 8px 10px 0; overflow-x: auto; background: #fff; scrollbar-width: none; }
.tp-chat-quick button { flex: 0 0 auto; border: 1px solid #DCE3D3; background: #fff; border-radius: 16px; padding: 4px 10px; font-size: 13px; color: var(--tp-deep); }
.tp-chat-form { display: flex; gap: 8px; padding: 10px; background: #fff; border-top: 1px solid #EEF0EA; }
.tp-chat-form input { flex: 1; height: 44px; border: 1px solid #DCE3D3; border-radius: 22px; padding: 0 16px; font-size: 16px; min-width: 0; }
.tp-chat-form button { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--tp-green); color: #fff; font-size: 17px; flex: 0 0 44px; }
@media (max-width: 575px) {
  .tp-chat-panel { right: 0; left: 0; bottom: 0; top: 0; width: 100vw; max-width: 100vw; height: 100%; height: 100dvh; border-radius: 0; }
  .tp-chat-launch { right: 14px; bottom: 16px; width: 56px; height: 56px; }
  .tp-nudge { right: 80px; bottom: 22px; max-width: calc(100vw - 100px); }
  .tp-chat-open .tp-chat-launch, .tp-chat-open .tp-nudge { display: none; }
}

/* ---------- dashboard (account / admin) ---------- */
body.tp-dash { background: #F3F4F6; }
.tp-dash .sidebar_left .logo img.tp-dlogo { height: 60px; width: auto; }
.tp-dicon { font-size: 18px; width: 22px; color: #6E777D; }
.tp-dnav-active { background: var(--tp-leaf); border-radius: 6px; }
.tp-dnav-active p, .tp-dnav-active .tp-dicon { color: var(--tp-green) !important; }
.tp-dash-title { margin: 0 0 0 14px; }
.tp-dash .headerleft { display: flex; align-items: center; }
.tp-dash-user { font-size: 14px; color: #6E777D; }
.tp-dash-foot { padding: 20px 30px 30px; font-size: 14px; color: #6E777D; }
.tp-dash .tp-sec { background: #fff; border-radius: 8px; padding: 24px; margin-bottom: 24px; }
.tp-dash .tp-sec h4 { margin: 0 0 14px; font-size: 20px; }
.tp-dash table td, .tp-dash table th { vertical-align: middle; font-size: 14px; }
.tp-pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.tp-pill.editable { background: #EAF4DF; color: #2C5410; } .tp-pill.locked { background: #FFF4D6; color: #7A5A12; } .tp-pill.closed { background: #ECEFF3; color: #4A525A; } .tp-pill.cancelled { background: #FDECEA; color: #8A1C12; }
.tp-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tp-form-grid label { display: block; font-size: 13px; color: #6E777D; margin-bottom: 4px; }
.tp-form-grid input, .tp-form-grid select { width: 100%; height: 42px; border: 1px solid #E2E6DD; border-radius: 4px; padding: 0 10px; background: #fff; }
.tp-dash .rts-btn { padding: 10px 20px; }
.tp-price-in { width: 100px; height: 34px; border: 1px solid #E2E6DD; border-radius: 4px; padding: 0 8px; }
@media (max-width: 1199px) {
  .tp-dash .sidebar_left { transform: translateX(-100%); transition: transform .3s; z-index: 1000; }
  .tp-dash .sidebar_left.tp-open { transform: none; }
  .tp-dash .right-area-body-content { margin-left: 0 !important; width: 100% !important; }
}
@media (max-width: 575px) {
  .tp-dash .body-root-inner { padding: 14px !important; }
  .tp-dash .tp-sec { padding: 16px; }
  .tp-dash .single-over-fiew-card { padding: 16px !important; }
  .tp-testbar { font-size: 12px; }
  .tp-sample-toggle { margin: 4px 0 0; }
}

/* v2 polish: trending cards, footer grid */
.tranding-product .thumbnail-preview { flex: 0 0 110px; width: 110px; max-width: 110px; }
.tranding-product .thumbnail-preview img { width: 100%; height: auto; }
@media (min-width: 992px) { .tp-footer-grid { display: grid !important; grid-template-columns: 1.4fr 1fr 1fr 1fr 2fr; gap: 40px; } .tp-footer-grid > * { width: auto !important; max-width: none !important; } }
@media (max-width: 991px) { .tp-footer-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 28px; } .tp-footer-grid > * { width: auto !important; max-width: none !important; } .tp-footer-grid > :first-child, .tp-footer-grid > :last-child { grid-column: 1 / -1; } }
.tp-footer-grid .footer-title { word-break: normal; overflow-wrap: normal; }
@media (max-width: 767px) {
  #order-window .col-xl-8 .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  #order-window .col-xl-8 .row { --bs-gutter-x: 10px; }
  #order-window .col-xl-8 .single-shopping-card-one { padding: 10px; }
  #order-window .col-xl-8 .single-shopping-card-one .thumbnail-preview { margin-bottom: 8px; }
  .category-feature-area .col-12, .top-tranding-product .col-12 { flex: 0 0 50%; max-width: 50%; }
  .category-feature-area .row, .top-tranding-product .row.g-4 { --bs-gutter-x: 10px; --bs-gutter-y: 10px; }
  .category-feature-area .single-feature-card { min-height: 190px; padding: 14px !important; }
  .category-feature-area .single-feature-card .title { font-size: 15px; }
  .category-feature-area .single-feature-card .rts-btn { font-size: 11px; padding: 6px 8px; }
  .tranding-product { flex-direction: column; align-items: flex-start !important; padding: 10px !important; }
  .tranding-product .thumbnail-preview { flex: none; width: 100%; max-width: 100%; }
}

/* v2 polish: template button widths, dashboard tables, toast, full height */
.tp-x, #side-bar .tp-x { width: auto !important; min-width: 0 !important; flex: 0 0 auto !important; max-width: none !important; padding: 6px 8px !important; height: auto !important; background: none !important; border: none !important; }
.tp-dash .table td, .tp-dash .table th { line-height: 1.45 !important; vertical-align: middle; }
.tp-dash .table td .tp-small { display: block; }
.tp-dash .rts-btn.border-only { color: var(--tp-deep) !important; border: 1px solid #C9D3C2 !important; background: #fff !important; }
.tp-dash .rts-btn.border-only:hover { background: var(--tp-green) !important; color: #fff !important; }
html:has(body.tp-dash), body.tp-dash { overflow-y: visible !important; overflow-x: clip !important; height: auto !important; }
.tp-toast { position: fixed !important; left: 50% !important; bottom: 110px !important; top: auto !important; transform: translate(-50%, 0) !important; z-index: 10050 !important; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 12px 18px; display: none; max-width: calc(100vw - 32px); }
.tp-toast.tp-show { display: block !important; }
@media (max-width: 767px) {
  .tp-dash .table-responsive table, .tp-dash .table-responsive thead, .tp-dash .table-responsive tbody, .tp-dash .table-responsive tr, .tp-dash .table-responsive td { display: block; width: 100% !important; }
  .tp-dash .table-responsive thead { display: none; }
  .tp-dash .table-responsive tr { border-bottom: 1px solid #E8ECE4; padding: 10px 14px; }
  .tp-dash .table-responsive td { border: none !important; padding: 3px 0 !important; text-align: left !important; }
  .tp-dash .table-responsive td[data-h]::before { content: attr(data-h) ": "; font-weight: 600; color: var(--tp-deep); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
}
.tp-dash .table td { white-space: normal !important; }
@media (min-width: 1200px) { body.tp-dash { background: linear-gradient(to right, #fff 0, #fff 273px, #E8ECE4 273px, #E8ECE4 274px, transparent 274px) #F3F4F6; } }
@media (max-width: 767px) {
  .tp-dash .tp-pick .table-responsive table { display: table; } .tp-dash .tp-pick .table-responsive thead { display: table-header-group; } .tp-dash .tp-pick .table-responsive tbody { display: table-row-group; }
  .tp-dash .tp-pick .table-responsive tr { display: table-row; padding: 0; } .tp-dash .tp-pick .table-responsive td, .tp-dash .tp-pick .table-responsive th { display: table-cell; width: auto !important; padding: 8px 10px !important; }
  .tp-dash .tp-pick .table-responsive td[data-h]::before { content: none; }
}
@media (max-width: 767px) {
  .tp-dash .table-responsive, .tp-dash .table-responsive table { min-width: 0 !important; width: 100% !important; }
  .tp-dash .table-responsive tr { box-sizing: border-box; }
}

/* Hide the chat launcher while the mobile menu or cart drawer is open, so it never sits on top of them */
body:has(#side-bar.show) .tp-chat-launch, body:has(#side-bar.show) .tp-nudge,
body:has(#cart-side.show) .tp-chat-launch, body:has(#cart-side.show) .tp-nudge { display: none !important; }

/* Cart page totals: same 28px inner padding as the template's Cart Totals blocks */
.tp-cart-totals .tp-cs-totals { margin: 0; padding: 22px 28px; border-bottom: 1px solid #E2E2E2; }
.tp-cart-totals .tp-note { margin: 14px 28px 0; }
.tp-cart-totals .tp-note + .bottom { margin-top: 22px; }

/* Product page gallery: keep the photo inside the card on small screens (template sizes it to the column) */
@media (max-width: 900px) {
  .in-shopdetails > .rts-product-details-section, .in-shopdetails .product-details-popup,
  .in-shopdetails .details-product-area, .in-shopdetails .details-product-area .product-thumb,
  .in-shopdetails .product-thumb-area { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin-right: 0 !important; }
  .in-shopdetails .product-thumb-area img.product-thumb { width: 100%; max-width: 100%; height: auto; }
}

/* ===================== v3 ===================== */
.tp-tbc { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #7A5A12; background: #FFF4D6; border-radius: 4px; padding: 1px 6px; vertical-align: 1px; white-space: nowrap; }
.tp-ph-tag { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: #B4261A; border-radius: 4px; padding: 1px 7px; margin-right: 6px; text-transform: uppercase; letter-spacing: .04em; }

/* No hover zoom anywhere: photos open in the lightbox instead */
.single-shopping-card-one .thumbnail-preview img, .single-shopping-card-one:hover .thumbnail-preview img, .single-shopping-card-one .image-and-action-area-wrapper:hover img { transform: none !important; }
button.thumbnail-preview { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: 6px; position: relative; }
.tp-lb { cursor: zoom-in; }

/* ---------- product cards: Shopify-style buy row ---------- */
.tp-card { height: 100%; display: flex; flex-direction: column; }
.tp-card .body-content { display: flex; flex-direction: column; flex: 1; }
.tp-card .body-content .title { min-height: 0 !important; margin-bottom: 4px !important; font-size: 17px; line-height: 1.25; }
.tp-card .price-area { margin: 0 0 8px !important; }
.tp-uchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.tp-uchips .tp-chip { padding: 6px 12px; min-height: 34px; font-size: 13px; font-weight: 600; line-height: 1.2; }
.tp-uchips-lg .tp-chip { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.tp-buy { display: flex; gap: 8px; margin-top: auto; align-items: stretch; }
.tp-step { display: inline-flex; align-items: center; border: 1px solid #DCE3D3; border-radius: 6px; background: #fff; height: 44px; flex: 0 0 auto; }
.tp-step .tp-st { width: 38px; height: 100%; border: 0; background: transparent; font-size: 20px; color: var(--tp-deep); line-height: 1; }
.tp-step .tp-st:active { background: var(--tp-leaf); }
.tp-step .tp-st-v { width: 38px; height: 100%; border: 0; text-align: center; font-weight: 700; font-size: 16px; color: var(--tp-deep); padding: 0; background: transparent; }
.tp-step.tp-dim { opacity: .4; pointer-events: none; }
.tp-buy .tp-add { flex: 1; justify-content: center; height: 44px; padding: 0 10px !important; font-size: 15px; font-weight: 700; gap: 6px; min-width: 0; white-space: nowrap; border-radius: 6px; }
.tp-add.tp-added { background: var(--tp-deep) !important; }
.tp-card .action-share-option { bottom: auto !important; top: 10px !important; right: 10px !important; left: auto !important; transform: none !important; opacity: 1 !important; visibility: visible !important; width: auto !important; }
.tp-card .action-share-option .single-action { width: 38px; height: 38px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
@media (max-width: 575px) {
  .tp-card { padding: 10px !important; }
  .tp-card .body-content .title { font-size: 15px !important; }
  .tp-buy { flex-direction: column; gap: 6px; }
  .tp-step { width: 100%; justify-content: space-between; }
  .tp-step .tp-st { width: 46px; }
  .tp-uchips .tp-chip { padding: 5px 10px; font-size: 12.5px; min-height: 32px; }
  .tp-card .action-share-option .single-action { width: 34px; height: 34px; }
}

/* ---------- catalog tools ---------- */
.tp-catalog { padding-top: 40px; }
.tp-cat-head { flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px !important; }
.tp-cat-head .title-left { margin: 0 !important; }
.tp-showing { color: #6E777D; font-size: 14px; }
.tp-cat-tools { position: sticky; top: 0; z-index: 20; background: #fff; padding: 10px 0 12px; margin-bottom: 16px; }
.tp-search { position: relative; margin: 0 0 10px; }
.tp-search i.fa-magnifying-glass { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #6E777D; }
.tp-search input { width: 100%; height: 50px; border: 1px solid #DCE3D3; border-radius: 30px; padding: 0 48px 0 44px; font-size: 16px; background: #F6F8F3; }
.tp-search input:focus { border-color: var(--tp-green); background: #fff; outline: none; }
.tp-q-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: #6E777D; font-size: 18px; }
.tp-fchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.tp-fchips::-webkit-scrollbar { display: none; }
.tp-fchip { flex: 0 0 auto; height: 42px; padding: 0 16px; border-radius: 22px; border: 1px solid #DCE3D3; background: #fff; color: var(--tp-deep); font-weight: 600; font-size: 14px; white-space: nowrap; }
.tp-fchip span { color: #9AA19A; font-weight: 500; margin-left: 2px; }
.tp-fchip.on { background: var(--tp-green); border-color: var(--tp-green); color: #fff; }
.tp-fchip.on span { color: #E3F1D2; }
.tp-empty { text-align: center; padding: 40px 10px; }
.tp-empty p { font-size: 16px; margin-bottom: 14px; }
.tp-shop-chat, .tp-repeat-sec { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--tp-leaf); border-radius: 10px; padding: 18px 20px; }
.tp-shop-chat > i { font-size: 32px; color: var(--tp-green); }
.tp-shop-chat > div { flex: 1; min-width: 200px; } .tp-shop-chat b { display: block; font-size: 17px; color: var(--tp-deep); } .tp-shop-chat span { font-size: 14px; color: #55605A; }

/* ---------- home: info strip + type your list ---------- */
.tp-home-top .banner-bg-image.bg_one-banner { padding-top: 70px !important; padding-bottom: 70px !important; }
.tp-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tp-hero-chat { background: #fff !important; color: var(--tp-deep) !important; border: 1px solid #C9D3C2; display: inline-flex; align-items: center; gap: 8px; }
.tp-ticker .single-category-one { padding: 12px 6px !important; }
.tp-ticker .single-category-one img { height: 56px; }
.tp-ticker .single-category-one p { font-size: 13px; margin-top: 6px; }
.tp-info-strip { background: var(--tp-deep); color: #fff; padding: 16px 0; }
.tp-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tp-info-item { display: flex; gap: 12px; align-items: flex-start; }
.tp-info-item i { font-size: 24px; color: var(--tp-sun); margin-top: 2px; }
.tp-info-item b { display: block; font-size: 15px; color: #fff; line-height: 1.3; }
.tp-info-item span { font-size: 13px; color: #D5E2CB; line-height: 1.4; }
.tp-info-item a { color: var(--tp-sun); font-weight: 700; text-decoration: underline; }
.tp-info-strip .tp-tbc { background: rgba(246,195,67,.18); color: var(--tp-sun); }
.tp-chat-entry { padding: 28px 0 0; }
.tp-ce-box { background: linear-gradient(135deg, #FFFBEB 0, #EAF4DF 100%); border: 2px solid var(--tp-green); border-radius: 14px; padding: 22px; box-shadow: 0 10px 30px rgba(44,60,40,.08); }
.tp-ce-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.tp-ce-head img { width: 76px; height: auto; flex: 0 0 76px; }
.tp-ce-head h2 { font-size: 26px; margin: 0 0 2px; color: var(--tp-deep); }
.tp-ce-head p { margin: 0; font-size: 15px; color: #55605A; line-height: 1.45; }
.tp-ce-form { display: flex; gap: 10px; align-items: stretch; }
.tp-ce-input { flex: 1; border: 1px solid #C9D3C2; border-radius: 10px; padding: 12px 14px; font-size: 16px; resize: vertical; min-height: 56px; background: #fff; line-height: 1.4; }
.tp-ce-input:focus { border-color: var(--tp-green); outline: none; }
.tp-ce-send { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; justify-content: center; border-radius: 10px; font-size: 16px; font-weight: 700; }
.tp-ce-extra { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.tp-ce-extra:empty { display: none; }
.tp-repeat-last { background: var(--tp-sun) !important; color: var(--tp-deep) !important; font-weight: 700; display: inline-flex !important; gap: 8px; align-items: center; border-radius: 8px; }
.tp-repeat-last[hidden] { display: none !important; }
.tp-load-saved { border: 1px solid var(--tp-green); background: #fff; color: var(--tp-deep); border-radius: 20px; height: 40px; padding: 0 14px; font-weight: 600; font-size: 14px; margin: 0 6px 6px 0; }
.tp-ce-saved { display: contents; }
.tp-ce-try { margin-top: 10px; font-size: 13px; color: #6E777D; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tp-ce-ex { border: 1px dashed #B9C7AE; background: rgba(255,255,255,.7); border-radius: 16px; padding: 4px 10px; font-size: 13px; color: var(--tp-deep); }
@media (max-width: 991px) { .tp-info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) {
  .tp-home-top .banner-bg-image.bg_one-banner { padding-top: 26px !important; padding-bottom: 150px !important; }
  .tp-hero-btns .rts-btn { padding: 12px 16px; font-size: 14px; }
  .tp-info-strip { padding: 12px 0; }
  .tp-info-grid { gap: 12px 10px; }
  .tp-info-item { gap: 8px; } .tp-info-item i { font-size: 18px; }
  .tp-info-item b { font-size: 13px; } .tp-info-item span { font-size: 12px; }
  .tp-chat-entry { padding-top: 16px; }
  .tp-ce-box { padding: 16px; }
  .tp-ce-head img { width: 56px; flex-basis: 56px; }
  .tp-ce-head h2 { font-size: 22px; } .tp-ce-head p { font-size: 14px; }
  .tp-ce-form { flex-direction: column; }
  .tp-ce-send { height: 52px; }
  .tp-catalog { padding-top: 26px; }
}

/* ---------- product page ---------- */
.tp-pd-photo { display: block; width: 100%; border: 0; padding: 20px; background: radial-gradient(circle at 50% 45%, #fff 0, #F3F6EE 75%); border-radius: 12px; position: relative; }
.tp-pd-photo img { width: 100%; height: auto; max-width: 560px; margin: 0 auto; display: block; }
.tp-pd-zoomhint { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: 20px; padding: 6px 12px; font-size: 13px; color: var(--tp-deep); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tp-pd-buy .product-title { font-size: 36px; margin: 8px 0 6px; }
.tp-pd-buy .product-catagory { color: var(--tp-green); font-weight: 600; }
.tp-pd-label { font-weight: 700; color: var(--tp-deep); margin: 18px 0 8px; font-size: 15px; }
.tp-pd-row { display: flex; align-items: center; gap: 14px; }
.tp-step-lg { height: 52px; } .tp-step-lg .tp-st { width: 52px; font-size: 22px; } .tp-step-lg .tp-st-v { width: 54px; font-size: 18px; }
.tp-pd-sum { color: #6E777D; font-size: 15px; }
.tp-add-pd { width: 100%; height: 56px; justify-content: center; font-size: 17px; font-weight: 700; margin-top: 20px; gap: 10px; border-radius: 8px; display: flex !important; align-items: center; }
.tp-pd-chat { width: 100%; height: 50px; justify-content: center; margin-top: 10px; gap: 8px; display: flex !important; align-items: center; border: 1px solid #C9D3C2 !important; background: #fff !important; color: var(--tp-deep) !important; border-radius: 8px; }
.tp-pd-facts { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid #E2E6DD; }
.tp-pd-facts li { display: flex; gap: 10px; padding: 10px 0; font-size: 14px; color: #55605A; border-bottom: 1px solid #EEF0EA; margin: 0; }
.tp-pd-facts i { color: var(--tp-green); width: 18px; margin-top: 3px; }
.tp-sticky-add { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.12); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 10px; transform: translateY(110%); transition: transform .25s ease; }
.tp-sticky-add img { width: 46px; height: 40px; object-fit: contain; flex: 0 0 46px; }
.tp-sa-info { flex: 1; min-width: 0; line-height: 1.2; } .tp-sa-info b { display: block; font-size: 14px; color: var(--tp-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tp-sa-info span { font-size: 12px; color: #6E777D; }
.tp-sticky-add .tp-step { height: 44px; } .tp-sticky-add .tp-st { width: 34px; } .tp-sticky-add .tp-st-v { width: 30px; }
.tp-add-sa { height: 44px; padding: 0 14px !important; font-weight: 700; white-space: nowrap; border-radius: 6px; }
@media (max-width: 991px) { .tp-sticky-add { display: flex; } .tp-sticky-add.show { transform: none; } body.tp-sa-on .tp-chat-launch { bottom: 84px !important; } body.tp-sa-on .progress-wrap { display: none; } }
@media (max-width: 575px) { .tp-pd-buy .product-title { font-size: 28px; } .tp-sa-info { display: none; } .tp-sticky-add .tp-add-sa { flex: 1; } .tp-pd { padding-top: 24px !important; } }

/* ---------- lightbox ---------- */
.tp-lightbox { position: fixed; inset: 0; z-index: 10060; background: rgba(20, 28, 18, .88); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .2s; }
.tp-lightbox[hidden] { display: none; }
.tp-lightbox.show { opacity: 1; }
.tp-lightbox figure { margin: 0; max-width: min(900px, 100%); width: 100%; background: #fff; border-radius: 14px; overflow: hidden; }
.tp-lightbox img { width: 100%; height: auto; max-height: 72vh; object-fit: contain; display: block; background: radial-gradient(circle at 50% 45%, #fff 0, #F3F6EE 75%); }
.tp-lightbox figcaption { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 14px 18px; }
.tp-lightbox figcaption b { font-size: 18px; color: var(--tp-deep); }
.tp-lightbox figcaption span { flex: 1 1 200px; font-size: 13px; color: #6E777D; }
.tp-lightbox .tp-lb-link { padding: 10px 18px; }
.tp-lb-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--tp-deep); font-size: 22px; z-index: 2; }
body.tp-lb-open { overflow: hidden; }

/* ---------- slide-out cart drawer ---------- */
#cart-side.side-bar { width: 420px; max-width: 100vw; padding: 0 !important; display: flex; flex-direction: column; }
#cart-side .tp-close-cart { position: absolute; top: 14px; right: 14px; z-index: 3; }
.tp-cart-side-body { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.tp-cd-head { display: flex; align-items: baseline; gap: 10px; padding: 22px 70px 14px 22px; border-bottom: 1px solid #EEF0EA; }
.tp-cd-head h4 { margin: 0; font-size: 22px; } .tp-cd-n { color: #6E777D; font-size: 14px; }
.tp-cd-win { margin: 12px 22px 0; font-size: 13px; background: #FDF1EF; color: #8A1C12; border-radius: 8px; padding: 8px 12px; line-height: 1.4; }
.tp-cd-win.open { background: #EAF4DF; color: #2C5410; }
.tp-cd-lines { flex: 1; overflow-y: auto; padding: 4px 22px; min-height: 80px; }
.tp-cs-line { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #EEF0EA; }
.tp-cs-line .tp-cs-img { flex: 0 0 64px; background: #F6F8F3; border-radius: 8px; }
.tp-cs-line img { width: 64px; height: 56px; object-fit: contain; display: block; }
.tp-cs-line .tp-cs-info b { font-size: 15px; } .tp-cs-line .tp-cs-info > span { display: block; font-size: 13px; color: #6E777D; margin-bottom: 6px; }
.tp-cs-row { display: flex; align-items: center; gap: 14px; }
.tp-cs-price { font-weight: 700; color: var(--tp-deep); font-size: 14px; text-align: right; max-width: 90px; }
.tp-qtybox { display: inline-flex; align-items: center; border: 1px solid #DCE3D3; border-radius: 6px; background: #fff; }
.tp-qtybox button { border: none; background: transparent; width: 36px; height: 36px; line-height: 36px; font-size: 18px; color: var(--tp-deep); }
.tp-qtybox span { min-width: 30px; text-align: center; font-size: 15px; font-weight: 700; }
.tp-rm-text { border: 0; background: none; color: #8A1C12; font-size: 13px; text-decoration: underline; padding: 6px 0; }
.tp-cd-foot { border-top: 1px solid #E2E6DD; padding: 14px 22px calc(18px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 16px rgba(0,0,0,.04); }
.tp-cd-foot .tp-cs-totals { margin: 0; }
.tp-cd-min { font-size: 13px; color: #6B5300; margin: 4px 0 10px; } .tp-cd-min.ok { color: #2C5410; } .tp-cd-min.err { color: #8A1C12; }
.tp-cd-checkout { width: 100%; height: 52px; justify-content: center; font-size: 16px; font-weight: 700; display: flex !important; align-items: center; border-radius: 8px; }
.tp-cd-btns { display: flex; gap: 8px; margin-top: 8px; } .tp-cd-btns .rts-btn { flex: 1; justify-content: center; padding: 12px 8px; font-size: 14px; }
.tp-cart-side .rts-btn.border-only, .tp-cd-empty .rts-btn.border-only { border: 1px solid #C9D3C2 !important; color: var(--tp-deep) !important; background: #fff !important; }
.tp-cd-savebox { margin-top: 10px; font-size: 14px; }
.tp-cd-savebox summary { cursor: pointer; color: var(--tp-green); font-weight: 600; list-style: none; }
.tp-save-form, .tp-save-after { display: flex; gap: 8px; margin-top: 8px; }
.tp-save-form input, .tp-save-after input { flex: 1; min-width: 0; height: 44px; border: 1px solid #DCE3D3; border-radius: 6px; padding: 0 12px; font-size: 16px; }
.tp-save-form .rts-btn, .tp-save-after .rts-btn { padding: 0 16px; height: 44px; }
.tp-save-box { margin-top: 20px; background: var(--tp-leaf); border-radius: 10px; padding: 16px; }
.tp-save-box b { display: block; color: var(--tp-deep); } .tp-save-box > .tp-small { display: block; }
.tp-cd-empty { text-align: center; padding: 40px 26px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.tp-cd-empty > i { font-size: 54px; color: var(--tp-green); }
.tp-cd-empty b { font-size: 18px; color: var(--tp-deep); } .tp-cd-empty p { color: #6E777D; margin: 0 0 6px; }
.tp-cd-empty .rts-btn { width: 100%; justify-content: center; }
.tp-cd-empty-page { padding: 30px 10px; }
@media (max-width: 575px) { #cart-side.side-bar { width: 100vw; } }

/* ---------- about / how to order ---------- */
.tp-prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.65; color: #3E4A3B; }
.tp-prose h1 { font-size: 38px; margin-bottom: 14px; }
.tp-prose h3 { font-size: 22px; margin: 30px 0 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tp-lead { font-size: 19px; color: var(--tp-deep); }
.tp-kicker { color: var(--tp-green); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.tp-about-hero { display: flex; gap: 24px; align-items: center; background: var(--tp-leaf); border-radius: 14px; padding: 22px; margin-bottom: 24px; }
.tp-about-hero img { width: 200px; height: auto; flex: 0 0 200px; }
.tp-about-hero h1 { font-size: 30px; margin: 4px 0 6px; }
.tp-list { padding-left: 20px; } .tp-list li { margin-bottom: 6px; }
.tp-ph-box { border: 2px dashed #E3B9B4; border-radius: 10px; padding: 16px 18px; background: #FFF9F8; }
.tp-ph-box p { margin: 6px 0; font-size: 15px; }
.tp-prose-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.tp-prose-cta .border-only { border: 1px solid #C9D3C2 !important; color: var(--tp-deep) !important; }
@media (max-width: 575px) { .tp-about-hero { flex-direction: column; text-align: center; } .tp-about-hero img { width: 180px; flex-basis: auto; } .tp-prose h1 { font-size: 30px; } .tp-prose { font-size: 16px; } }

/* ---------- checkout fields ---------- */
.tp-co-fields { margin-bottom: 20px; }
.tp-co-fields .single-input { margin: 0 !important; }
.tp-co-fields input, .tp-co-fields select, .tp-native { width: 100%; height: 50px; border: 1px solid #E2E6DD; border-radius: 6px; padding: 0 12px; background: #fff; font-size: 16px; display: block !important; }
.tp-span2 { grid-column: 1 / -1; }
.tp-check { display: flex !important; gap: 8px; align-items: center; font-size: 14px; color: var(--tp-deep); }
.tp-check input { width: 18px; height: 18px; }
.tp-co-fields .tp-bad input, .tp-co-fields .tp-bad select { border-color: #B4261A; }
select.tp-native + .nice-select { display: none !important; }

/* ---------- account ---------- */
.tp-empty-state { text-align: center; padding: 30px 10px; }
.tp-empty-state > i { font-size: 46px; color: var(--tp-green); display: block; margin-bottom: 10px; }
.tp-empty-state b { font-size: 18px; color: var(--tp-deep); display: block; } .tp-empty-state p { color: #6E777D; max-width: 460px; margin: 6px auto 14px; }
.tp-es-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: inherit; }
.tp-empty-state .tp-es-btns { justify-content: center; }
.tp-repeat-sec { background: #FFFBEB !important; border: 1px solid #F3DE9B; justify-content: space-between; }
.tp-repeat-sec h4 { margin: 0 0 4px !important; } .tp-repeat-sec p { margin: 0; }
.tp-saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tp-saved-card { border: 1px solid #E2E6DD; border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.tp-saved-card b { font-size: 17px; color: var(--tp-deep); }
.tp-saved-imgs { display: flex; gap: 4px; margin-bottom: 6px; } .tp-saved-imgs img { width: 48px; height: 42px; object-fit: contain; background: #F6F8F3; border-radius: 6px; }
.tp-prof-view { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 20px; }
.tp-prof-view span { display: block; font-size: 12px; color: #6E777D; text-transform: uppercase; letter-spacing: .03em; } .tp-prof-view b { color: var(--tp-deep); font-weight: 600; word-break: break-word; }
.tp-act { display: flex; flex-wrap: wrap; gap: 6px; } .tp-act .rts-btn { padding: 7px 12px !important; font-size: 13px; }
.tp-ostatus { margin-top: 6px; height: 34px; border: 1px solid #E2E6DD; border-radius: 4px; padding: 0 6px; font-size: 13px; }
.tp-pill.locked { white-space: nowrap; }

/* ---------- chat v3 ---------- */
.tp-chat-launch { width: auto !important; min-width: 62px; padding: 0 20px 0 18px; border-radius: 32px !important; gap: 8px; font-size: 22px !important; }
.tp-launch-txt { font-size: 15px; font-weight: 700; }
.tp-chat-head .tp-chat-cart { margin-left: auto; border: 0; background: rgba(255,255,255,.14); color: #fff; height: 38px; border-radius: 20px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.tp-chat-head .tp-chat-close { margin-left: 4px; width: 40px; height: 40px; }
.tp-chat-panel { width: 420px; height: min(680px, calc(100vh - 120px)); }
.tp-chat-form textarea { flex: 1; min-height: 46px; max-height: 120px; border: 1px solid #DCE3D3; border-radius: 22px; padding: 11px 16px; font-size: 16px; min-width: 0; resize: none; line-height: 1.35; }
.tp-chat-form button { width: 46px; height: 46px; flex-basis: 46px; align-self: flex-end; }
.tp-chat-quick button { height: 34px; padding: 0 12px; }
.tp-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.tp-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9AA19A; animation: tpDot 1s infinite ease-in-out; }
.tp-typing span:nth-child(2) { animation-delay: .15s; } .tp-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes tpDot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.tp-sum { background: #fff; border: 1px solid #DCE3D3; border-radius: 12px; align-self: stretch; overflow: hidden; }
.tp-sum-title { background: var(--tp-leaf); color: #2C5410; font-weight: 700; font-size: 14px; padding: 9px 12px; }
.tp-sum-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #F0F2EC; }
.tp-sum-row.gone { opacity: .45; } .tp-sum-row.gone .tp-qtybox, .tp-sum-row.gone .tp-sum-rm { visibility: hidden; }
.tp-sum-img { flex: 0 0 48px; border: 0; padding: 0; background: #F6F8F3; border-radius: 6px; }
.tp-sum-img img { width: 48px; height: 42px; object-fit: contain; display: block; }
.tp-sum-info { flex: 1; min-width: 0; line-height: 1.25; } .tp-sum-info b { display: block; font-size: 14px; color: var(--tp-deep); } .tp-sum-info span { display: block; font-size: 12.5px; color: #6E777D; }
.tp-sum .tp-qtybox button { width: 32px; height: 32px; line-height: 32px; } .tp-sum .tp-qtybox span { min-width: 24px; font-size: 14px; }
.tp-sum-rm { border: 0; background: none; color: #B4261A; width: 32px; height: 32px; }
.tp-sum-foot { padding: 10px 12px; font-size: 13px; color: #55605A; }
.tp-sum-btns { display: flex; gap: 8px; margin-top: 8px; }
.tp-sum-btns button, .tp-chat-go { flex: 1; height: 40px; border-radius: 20px; border: 1px solid var(--tp-green); background: #fff; color: var(--tp-green); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; }
.tp-sum-btns .tp-sum-cart, .tp-chat-go { background: var(--tp-green); color: #fff !important; }
.tp-chat-go.alt { background: #fff; color: var(--tp-green) !important; }
.tp-chat-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tp-chat-save { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; align-self: stretch; background: #fff; border: 1px solid #DCE3D3; border-radius: 12px; padding: 8px; }
.tp-chat-save span { font-size: 13px; width: 100%; } .tp-chat-save input { flex: 1; height: 38px; border: 1px solid #DCE3D3; border-radius: 19px; padding: 0 12px; font-size: 16px; min-width: 0; } .tp-chat-save button { height: 38px; border: 0; border-radius: 19px; background: var(--tp-green); color: #fff; padding: 0 16px; font-weight: 700; }
.tp-pcard { width: 92% !important; }
.tp-pcard .tp-mc-img { flex: 0 0 84px; border: 0; padding: 0; background: #F6F8F3; border-radius: 8px; }
.tp-pcard .tp-mc-img img { width: 84px; height: 72px; flex: none; }
.tp-pcard .tp-mc-ask { color: var(--tp-deep); margin: 4px 0 0; }
.tp-pcard .tp-unit-chips { margin: 10px 0 8px; } .tp-pcard .tp-chip { min-height: 36px; }
.tp-mc-buy { display: flex; gap: 8px; align-items: center; }
.tp-qtybox-lg input.tp-cqv { width: 40px; border: 0; text-align: center; font-weight: 700; font-size: 16px; height: 38px; }
.tp-pc-add { flex: 1; height: 40px; border: 0; border-radius: 20px; background: var(--tp-green); color: #fff; font-weight: 700; }
.tp-mc-ok { color: #2C5410; font-weight: 600; font-size: 14px; margin-top: 8px; }
.tp-pcard.done { opacity: 1; }
.tp-sugg .tp-pick { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; min-height: 40px; }
.tp-sugg .tp-pick img { width: 32px; height: 28px; object-fit: contain; }
.tp-sugg .tp-pick.on { background: var(--tp-green); color: #fff; }
.tp-opt { min-height: 38px; }
.tp-inline { border: 0; background: none; color: var(--tp-green); font-weight: 700; text-decoration: underline; padding: 0; }
.tp-chat-cd { margin: 6px 0; font-size: 15px; } .tp-chat-cd b { font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .tp-chat-panel { right: 0 !important; left: 0; bottom: 0 !important; top: 0; width: 100vw !important; max-width: 100vw !important; height: 100% !important; height: 100dvh !important; border-radius: 0 !important; }
  .tp-chat-open .tp-chat-launch, .tp-chat-open .tp-nudge { display: none !important; }
  body.tp-chat-open { overflow: hidden; }
  .tp-chat-launch { right: 14px; bottom: 16px; height: 56px; }
  .tp-chat-head { padding-top: calc(12px + env(safe-area-inset-top)); }
  .tp-chat-form { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}
body.tp-lb-open .tp-chat-launch, body.tp-cart-open .tp-chat-launch { display: none !important; }
/* template sets every <button> to width:100%; undo it for our compact controls */
.tp-chip, .tp-fchip, .tp-st, .tp-q, .tp-rm-text, .tp-sq, .tp-sum-rm, .tp-cq, .tp-opt, .tp-pick, .tp-inline, .tp-ce-ex, .tp-load-saved, .tp-q-clear, .tp-lb-close, .tp-chat-cart, .tp-chat-close, .tp-chat-quick button, .tp-repeat-last, .tp-sum-img, .tp-mc-img, .tp-chat-launch, .tp-ostatus { width: auto !important; }
.tp-chip { display: inline-flex !important; align-items: center; justify-content: center; border: 1px solid #DCE3D3 !important; background: #fff !important; color: var(--tp-deep) !important; border-radius: 30px !important; }
.tp-chip.on { background: var(--tp-green) !important; color: #fff !important; border-color: var(--tp-green) !important; }
.tp-fchip { border: 1px solid #DCE3D3 !important; } .tp-fchip.on { border-color: var(--tp-green) !important; background: var(--tp-green) !important; }
.tp-buy .tp-add, .tp-add-sa, .tp-pc-add, .tp-add-pd, .tp-pd-chat { display: flex !important; align-items: center; justify-content: center; color: #fff; background: var(--tp-green); border: 0; }
.tp-buy .tp-add { width: auto !important; }
@media (max-width: 575px) { .tp-buy .tp-add { width: 100% !important; flex: none; } }
.tp-card .action-share-option { top: auto !important; bottom: 8px !important; right: 8px !important; left: auto !important; display: flex !important; }
.tp-card .action-share-option .single-action { background: #fff !important; color: var(--tp-green) !important; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center; }
.tp-card .action-share-option .single-action i { color: var(--tp-green) !important; }
.tp-card .thumbnail-preview .badge { left: 12px !important; top: -6px !important; }
.tp-empty-ico { font-size: 48px; color: var(--tp-green); display: block; margin-bottom: 10px; }
@media (max-width: 991px) { .progress-wrap { display: none !important; } }
.tp-card .image-and-action-area-wrapper .action-share-option { background: transparent !important; padding: 0 !important; height: auto !important; transform: none !important; }
.tp-buy .tp-add, .tp-add-pd, .tp-pd-chat, .tp-cd-checkout, .tp-ce-send, .tp-cd-empty .rts-btn, .tp-cd-btns .rts-btn, .tp-place { max-width: none !important; }
.tp-ce-send { width: auto; }
@media (max-width: 575px) { .tp-ce-send { width: 100%; } }
.tp-sticky-add .tp-step { flex: 0 0 auto !important; width: auto !important; display: inline-flex !important; }
.tp-sticky-add .tp-step input, .tp-sticky-add .tp-st-v { width: 34px !important; flex: none !important; }
.tp-sticky-add .tp-add-sa { flex: 1 1 auto; min-width: 0; width: auto !important; max-width: none !important; height: 44px; padding: 0 12px !important; white-space: nowrap; }
.tp-step input { min-width: 0; }

body.tp-cart-open .tp-sticky-add { transform: translateY(110%) !important; }
body.tp-cart-open .tp-toast { bottom: auto !important; top: 16px !important; }
body.tp-cart-open .tp-chat-launch { display: none !important; }
.banner-one-inner-content { text-align: left !important; max-width: 600px; }
.banner-one-inner-content .pre { display: block; white-space: normal; line-height: 1.4; }
@media (min-width: 992px) { .banner-one-inner-content { padding-left: 50px; } }
#cart-side .tp-close-cart { position: absolute !important; top: 14px !important; right: 14px !important; width: 40px !important; height: 40px !important; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center; padding: 0 !important; z-index: 3; }
#cart-side .tp-cd-head { padding-right: 60px; }
body.tp-cart-open .tp-toast { top: 76px !important; }
#cart-side button.tp-close-cart { margin: 0 !important; max-width: none !important; background: #F1F5EC !important; border: 0 !important; }
#cart-side button.tp-close-cart i { margin: 0 !important; width: 40px !important; height: 40px !important; color: var(--tp-deep) !important; background: transparent !important; font-size: 18px; }
body.tp-cart-open .tp-toast { display: none !important; }
.tp-chat-log > * { flex-shrink: 0; }
.tp-linkbox { word-break: normal; border-style: solid; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tp-linkbox .tp-magic { width: auto !important; padding: 10px 18px !important; }
.tp-confirm-screen { text-align: center; background: #fff; border: 1px solid #DCE3D3; border-radius: 14px; padding: 28px 18px; margin: 10px 0 16px; }
.tp-confirm-screen > i { font-size: 52px; color: var(--tp-green); display: block; margin-bottom: 12px; }
.tp-confirm-screen h3 { font-size: 22px; margin-bottom: 8px; }
.tp-confirm-screen p { margin-bottom: 16px; }
.tp-confirm-screen .rts-btn { display: inline-flex !important; width: auto !important; max-width: none !important; margin: 4px; }
.tp-confirm-screen .rts-btn.border-only { color: var(--tp-deep) !important; border: 1px solid #C9D3BE !important; background: #fff !important; }
.tp-confirm-screen .rts-btn { padding: 12px 20px !important; }
.tp-save-after, .tp-save-form { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-save-after .tp-save-name, .tp-save-form .tp-save-name { flex: 1 1 160px !important; min-width: 0; width: auto !important; height: 46px; padding: 0 12px; border-radius: 8px; background: #fff !important; }
.tp-save-after button, .tp-save-form button { flex: 0 0 auto; width: auto !important; }
