/* Taher Point Store Design – product, category and shop templates */

/* Old header/footer from other plugins are not used on these pages */
body.tps-on .tpmm-header,
body.tps-on #site-header,
body.tps-on #site-footer { display: none !important; }
body.tps-on { margin: 0; background: var(--bg, #E6ECF3); }
body.tps-on .tps-root { min-height: 100vh; }
body.tps-on .tps-root > .elementor { width: 100%; }

#tp4 .tps-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- shared ---------- */
#tp4 .tps-main { display: block; padding-bottom: 40px; }
#tp4 .tps-sec { padding: 26px 0; }
#tp4 .tps-head { margin-bottom: 18px; }
#tp4 .tps-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#tp4 .tps-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-600); }
#tp4 .tps-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
#tp4 .tps-h2 { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-top: 6px; color: var(--ink); }
#tp4 .tps-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--orange-600); font-size: 14.5px; }
#tp4 .tps-link .tps-ic { width: 16px; height: 16px; }

#tp4 .tps-crumb { font-size: 13px; color: var(--muted); padding: 18px 0 14px; }
#tp4 .tps-crumb a { color: var(--ink-2); }
#tp4 .tps-crumb a:hover { color: var(--orange-600); }
#tp4 .tps-sep { opacity: .45; margin: 0 7px; }

#tp4 .tps-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s; line-height: 1; text-decoration: none; }
#tp4 .tps-btn:active { transform: translateY(1px); }
#tp4 .tps-btn--orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(249,115,22,.7); }
#tp4 .tps-btn--orange:hover { background: var(--orange-600); color: #fff; }
#tp4 .tps-btn--wa { background: var(--green-50); color: #11823F; border-color: rgba(31,168,85,.35); }
#tp4 .tps-btn--wa:hover { background: var(--green); color: #fff; }
#tp4 .tps-btn--white { background: #fff; color: var(--navy-800); }
#tp4 .tps-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
#tp4 .tps-btn--ghost:hover { background: rgba(255,255,255,.1); }

#tp4 .tps-notices:empty { display: none; }
#tp4 .tps-notices .woocommerce-message,
#tp4 .tps-notices .woocommerce-info,
#tp4 .tps-notices .woocommerce-error { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--r-sm); padding: 14px 18px; margin: 0 0 16px; list-style: none; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#tp4 .tps-notices .woocommerce-error { border-left-color: #DC2626; }
#tp4 .tps-notices .woocommerce-message::before, #tp4 .tps-notices .woocommerce-info::before, #tp4 .tps-notices .woocommerce-error::before { display: none; }
#tp4 .tps-notices .button { order: 2; background: var(--navy-800); color: #fff; border-radius: 10px; padding: 9px 16px; font-weight: 600; font-size: 14px; }

/* ---------- trust strip ---------- */
#tp4 .tps-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 8px; }
#tp4 .tps-trust-i { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow); }
#tp4 .tps-trust-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--orange-50); color: var(--orange-600); display: inline-flex; align-items: center; justify-content: center; flex: none; }
#tp4 .tps-trust-i b { display: block; font-size: 14.5px; color: var(--ink); }
#tp4 .tps-trust-i div > span { display: block; font-size: 13px; color: var(--muted); }
#tp4 .tps-trust-ic .tps-ic { width: 20px; height: 20px; }

/* ---------- band ---------- */
#tp4 .tps-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 30px 34px; border-radius: var(--r-lg); color: #fff; background: radial-gradient(120% 120% at 90% 10%, #24477D 0%, var(--navy-800) 70%); box-shadow: var(--shadow-lg); margin-top: 26px; }
#tp4 .tps-band--orange { background: linear-gradient(110deg, var(--orange) 0%, var(--orange-600) 100%); box-shadow: 0 20px 40px -24px rgba(234,88,12,.8); }
#tp4 .tps-band h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; }
#tp4 .tps-band p { margin: 4px 0 0; color: rgba(255,255,255,.86); font-size: 15px; }
#tp4 .tps-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* =====================================================================
   PRODUCT PAGE
   ===================================================================== */
#tp4 .tps-pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }

/* gallery */
#tp4 .tps-gallery { position: sticky; top: 130px; }
#tp4 .tps-stage { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 28px; }
#tp4 .tps-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity .2s; }
#tp4 .tps-flags { position: absolute; left: 16px; top: 16px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
#tp4 .tps-flag { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
#tp4 .tps-flag--navy { background: var(--navy-800); color: #fff; }
#tp4 .tps-flag--ga { background: var(--green); color: #fff; }
#tp4 .tps-flag--gb { background: var(--orange); color: #fff; }
#tp4 .tps-flag--gc { background: #64748B; color: #fff; }
#tp4 .tps-savebadge { position: absolute; right: 16px; top: 16px; z-index: 2; background: var(--orange-50); color: var(--orange-600); font-weight: 700; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; }
#tp4 .tps-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
#tp4 .tps-thumb { width: 76px; height: 76px; flex: none; border-radius: 14px; border: 2px solid transparent; background: #fff; padding: 6px; cursor: pointer; box-shadow: var(--shadow); }
#tp4 .tps-thumb img { width: 100%; height: 100%; object-fit: contain; }
#tp4 .tps-thumb.is-active { border-color: var(--orange); }
#tp4 .tps-photo-note { font-size: 13px; color: var(--muted); margin: 10px 2px 0; }

/* info */
#tp4 .tps-info { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px; }
#tp4 .tps-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#tp4 .tps-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #E8EEF7; color: var(--navy-600); }
#tp4 .tps-chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
#tp4 .tps-chip--green { background: var(--green-50); color: #11823F; }
#tp4 .tps-chip--red { background: #FDECEC; color: #B91C1C; }
#tp4 .tps-chip--soft { background: var(--soft); color: var(--muted); font-weight: 500; }
#tp4 .tps-title { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; margin: 14px 0 14px; color: var(--ink); }

#tp4 .tps-pricebox { background: var(--soft); border-radius: var(--r-md); padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
#tp4 .tps-price, #tp4 .tps-price .price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
#tp4 .tps-price del { font-size: 17px; font-weight: 500; color: var(--muted); margin-right: 8px; opacity: 1; }
#tp4 .tps-price ins { text-decoration: none; background: none; }
#tp4 .tps-pill-save { background: var(--orange); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
#tp4 .tps-bnpl { flex-basis: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); padding-top: 10px; border-top: 1px dashed #CBD5E1; margin-top: 4px; }
#tp4 .tps-bnpl-logos { display: inline-flex; gap: 6px; }
#tp4 .tps-bnpl-logos em { font-style: normal; font-weight: 800; font-size: 12.5px; padding: 3px 9px; border-radius: 7px; }
#tp4 .tps-tabby { background: #3BFFC1; color: #0B1A33; }
#tp4 .tps-tamara { background: linear-gradient(90deg, #F8C8A8, #E9A8D8, #B8B0F0); color: #1E1B2E; }
#tp4 .tps-vat { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--muted); }

#tp4 .tps-short { margin: 16px 0 0; color: var(--ink-2); font-size: 15px; }
#tp4 .tps-short p { margin: 0 0 8px; }
#tp4 .tps-highlights { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
#tp4 .tps-highlights li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
#tp4 .tps-highlights .tps-ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-50); color: var(--green); stroke-width: 2.6; margin-top: 1px; }

#tp4 .tps-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 0; }
#tp4 .tps-facts div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
#tp4 .tps-facts dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
#tp4 .tps-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); font-size: 14.5px; }

/* add to cart */
#tp4 .tps-buy { margin-top: 20px; display: grid; gap: 10px; }
#tp4 .tps-buy form.cart { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; margin: 0; }
#tp4 .tps-buy form.variations_form { display: block; }
#tp4 .tps-buy .variations { width: 100%; margin-bottom: 12px; border: 0; }
#tp4 .tps-buy .variations th, #tp4 .tps-buy .variations td { border: 0; padding: 4px 0; text-align: left; background: none; }
#tp4 .tps-buy .variations select { height: 44px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; min-width: 200px; }
#tp4 .tps-buy .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
#tp4 .tps-buy .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; height: 50px; overflow: hidden; background: #fff; }
#tp4 .tps-buy .quantity .qty { width: 46px; height: 48px; border: 0; text-align: center; font-weight: 600; font-size: 16px; -moz-appearance: textfield; background: transparent; padding: 0; }
#tp4 .tps-buy .quantity .qty::-webkit-outer-spin-button, #tp4 .tps-buy .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#tp4 .tps-qbtn { width: 40px; height: 48px; border: 0; background: transparent; font-size: 20px; color: var(--ink-2); cursor: pointer; }
#tp4 .tps-qbtn:hover { background: var(--soft); }
#tp4 .tps-buy .single_add_to_cart_button { flex: 1; min-width: 180px; height: 50px; border-radius: 12px; border: 0; background: var(--orange) !important; color: #fff !important; font-weight: 700; font-size: 16px; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(249,115,22,.7); padding: 0 22px; }
#tp4 .tps-buy .single_add_to_cart_button:hover { background: var(--orange-600) !important; }
#tp4 .tps-buy .single_add_to_cart_button.disabled { opacity: .5; }
#tp4 .tps-buy .stock { margin: 0 0 8px; font-weight: 600; }
#tp4 .tps-buy .stock.out-of-stock { color: #B91C1C; }
#tp4 .tps-buy .tps-btn--wa { width: 100%; }

#tp4 .tps-delivery { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; }
#tp4 .tps-delivery > div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
#tp4 .tps-delivery .tps-ic { width: 22px; height: 22px; color: var(--navy-600); margin-top: 1px; }
#tp4 .tps-delivery b { display: block; color: var(--ink); font-size: 14.5px; }
#tp4 .tps-delivery a { color: var(--orange-600); font-weight: 500; }

/* condition report */
#tp4 .tps-cond { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#tp4 .tps-cond-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start; }
#tp4 .tps-cond-card b { display: block; font-size: 16px; color: var(--ink); }
#tp4 .tps-cond-card p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
#tp4 .tps-cond-card a { display: inline-block; margin-top: 8px; color: var(--orange-600); font-weight: 600; font-size: 14px; }
#tp4 .tps-gbig { width: 56px; height: 56px; border-radius: 16px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: #fff; background: var(--navy-800); }
#tp4 .tps-gbig.tps-ga { background: var(--green); }
#tp4 .tps-gbig.tps-gb { background: var(--orange); }
#tp4 .tps-gbig.tps-gc { background: #64748B; }
#tp4 .tps-cond-ic { width: 48px; height: 48px; border-radius: 14px; flex: none; background: var(--orange-50); color: var(--orange-600); display: inline-flex; align-items: center; justify-content: center; }
#tp4 .tps-cond-ic .tps-ic { width: 22px; height: 22px; }
#tp4 .tps-meter { display: block; height: 8px; border-radius: 99px; background: var(--soft); margin: 8px 0 2px; overflow: hidden; width: 100%; max-width: 220px; }
#tp4 .tps-meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green), #4ADE80); }
#tp4 .tps-ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
#tp4 .tps-ticks li { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
#tp4 .tps-ticks .tps-ic { width: 16px; height: 16px; color: var(--green); stroke-width: 2.6; }
#tp4 .tps-cond-note { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-2); background: #fff; border: 1px dashed #CBD5E1; border-radius: var(--r-md); padding: 12px 16px; }

/* tabs */
#tp4 .tps-tabs { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
#tp4 .tps-tablist { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
#tp4 .tps-tablist::-webkit-scrollbar { display: none; }
#tp4 .tps-tablist button { background: none; border: 0; padding: 18px 14px 16px; font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; margin-bottom: -1px; }
#tp4 .tps-tablist button.is-active { color: var(--ink); border-bottom-color: var(--orange); }
#tp4 .tps-tabpanel { padding: 26px 28px; border-top: 1px solid var(--line); }
#tp4 .tps-tabs.js-on .tps-tabpanel { display: none; border-top: 0; }
#tp4 .tps-tabs.js-on .tps-tabpanel.is-active { display: block; }
#tp4 .tps-prose { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; max-width: 820px; }
#tp4 .tps-prose h2, #tp4 .tps-prose h3 { font-weight: 700; color: var(--ink); margin: 18px 0 6px; font-size: 18px; }
#tp4 .tps-prose ul { padding-left: 20px; }
#tp4 .tps-spec { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0; border: 0; }
#tp4 .tps-spec th, #tp4 .tps-spec td { text-align: left; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; background: none; }
#tp4 .tps-spec tr:nth-child(odd) th, #tp4 .tps-spec tr:nth-child(odd) td { background: var(--soft); }
#tp4 .tps-spec th { width: 32%; color: var(--muted); font-weight: 600; }
#tp4 .tps-spec td { color: var(--ink); font-weight: 500; }
#tp4 .tps-box { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 760px; }
#tp4 .tps-box li { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 12px; padding: 12px 14px; font-weight: 500; color: var(--ink); }
#tp4 .tps-box .tps-ic { color: var(--green); stroke-width: 2.6; }
#tp4 .tps-shipgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
#tp4 .tps-shipgrid h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
#tp4 .tps-shipgrid p { font-size: 14.5px; color: var(--muted); margin: 0 0 8px; }
#tp4 .tps-shipgrid a { color: var(--orange-600); font-weight: 600; font-size: 14px; }

/* related */
#tp4 .tps-related section.related > h2 { display: none; }
#tp4 .tps-related ul.products, #tp4 .tps-grid ul.products { grid-template-columns: repeat(4, 1fr); }

/* sticky buy bar (mobile) */
#tp4 .tps-sticky { display: none; }

/* =====================================================================
   ARCHIVE
   ===================================================================== */
#tp4 .tps-hero { position: relative; overflow: hidden; color: #fff; padding: 6px 0 40px; background: radial-gradient(120% 90% at 85% 20%, #24477D 0%, var(--navy-700) 45%, var(--navy-800) 100%); }
#tp4 .tps-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 80%); mask-image: linear-gradient(90deg, transparent 30%, #000 80%); }
#tp4 .tps-hero--sm { padding-bottom: 26px; }
#tp4 .tps-hero-in { position: relative; display: grid; grid-template-columns: 1.4fr .8fr; gap: 30px; align-items: center; }
#tp4 .tps-hero-in.tps-hero-solo { grid-template-columns: 1fr; }
#tp4 .tps-hero .tps-crumb { color: #9FB2CF; }
#tp4 .tps-hero .tps-crumb a { color: #C9D5E8; }
#tp4 .tps-hero .tps-crumb a:hover { color: #fff; }
#tp4 .tps-hchip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: 5px 12px 5px 5px; border-radius: 999px; font-size: 13px; font-weight: 500; }
#tp4 .tps-hchip b { background: var(--orange); padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
#tp4 .tps-hero-h1 { display: block; font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin: 14px 0 10px; color: #fff; }
#tp4 .tps-hero-sub { color: #C9D5E8; font-size: 16px; max-width: 640px; }
#tp4 .tps-hero-sub p { margin: 0 0 6px; }
#tp4 .tps-hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13.5px; color: #E2E8F0; }
#tp4 .tps-hero-ticks span { display: inline-flex; align-items: center; gap: 7px; }
#tp4 .tps-hero-ticks .tps-ic { width: 17px; height: 17px; color: var(--orange); }
#tp4 .tps-hero-art { display: flex; justify-content: center; }
#tp4 .tps-hero-art img { max-height: 240px; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }

#tp4 .tps-pills { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: none; }
#tp4 .tps-pills::-webkit-scrollbar { display: none; }
#tp4 .tps-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); box-shadow: var(--shadow); }
#tp4 .tps-pill small { font-size: 11.5px; color: var(--muted); background: var(--soft); border-radius: 99px; padding: 1px 7px; font-weight: 600; }
#tp4 .tps-pill:hover { border-color: var(--orange); color: var(--orange-600); }
#tp4 .tps-pill.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
#tp4 .tps-pill.is-active small { background: rgba(255,255,255,.15); color: #fff; }

#tp4 .tps-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 16px 0 14px; }
#tp4 .tps-toolbar .woocommerce-result-count { margin: 0; color: var(--muted); font-size: 14px; float: none; }
#tp4 .tps-toolbar .woocommerce-ordering { margin: 0; float: none; }
#tp4 .tps-toolbar select.orderby { height: 42px; border-radius: 12px; border: 1px solid var(--line); padding: 0 38px 0 14px; font: inherit; font-size: 14px; font-weight: 500; background-color: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; }

#tp4 .tps-pagination .woocommerce-pagination { margin-top: 24px; text-align: center; }
#tp4 .tps-pagination ul.page-numbers { display: inline-flex; gap: 6px; border: 0; padding: 0; margin: 0; list-style: none; }
#tp4 .tps-pagination ul.page-numbers li { border: 0; float: none; }
#tp4 .tps-pagination .page-numbers a, #tp4 .tps-pagination .page-numbers span { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); padding: 0 10px; }
#tp4 .tps-pagination .page-numbers span.current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

#tp4 .tps-empty { background: #fff; border-radius: var(--r-lg); padding: 40px 28px; text-align: center; box-shadow: var(--shadow); margin-top: 18px; }
#tp4 .tps-empty h2 { font-size: 22px; font-weight: 700; }
#tp4 .tps-empty p { color: var(--muted); margin: 8px auto 18px; max-width: 460px; }

/* cart / checkout / account */
#tp4 .tps-pagecard { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px; margin-top: -10px; position: relative; }
#tp4 .tps-page .tps-hero { padding-bottom: 46px; }
#tp4 .tps-pagecard .button, #tp4 .tps-pagecard button.button { background: var(--orange); color: #fff; border-radius: 12px; font-weight: 600; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
	#tp4 .tps-related ul.products, #tp4 .tps-grid ul.products { grid-template-columns: repeat(3, 1fr); }
	#tp4 .tps-trust { grid-template-columns: repeat(2, 1fr); }
	#tp4 .tps-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	#tp4 .tps-pd { grid-template-columns: 1fr; }
	#tp4 .tps-gallery { position: static; }
	#tp4 .tps-cond, #tp4 .tps-shipgrid { grid-template-columns: 1fr; }
	#tp4 .tps-hero-in { grid-template-columns: 1fr; }
	#tp4 .tps-hero-art { display: none; }
}
@media (max-width: 767px) {
	#tp4 .tps-related ul.products, #tp4 .tps-grid ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	#tp4 .tps-info { padding: 20px; }
	#tp4 .tps-stage { padding: 16px; }
	#tp4 .tps-price, #tp4 .tps-price .price { font-size: 26px; }
	#tp4 .tps-trust { grid-template-columns: 1fr; }
	#tp4 .tps-box { grid-template-columns: 1fr; }
	#tp4 .tps-tabpanel { padding: 20px; }
	#tp4 .tps-band { padding: 24px 20px; }
	#tp4 .tps-band .tps-btn { flex: 1; }
	#tp4 .tps-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; box-shadow: 0 -10px 30px -12px rgba(11,26,51,.35); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s; }
	#tp4 .tps-sticky.is-show { transform: none; }
	#tp4 .tps-sticky-p { flex: 1; min-width: 0; }
	#tp4 .tps-sticky-p span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	#tp4 .tps-sticky-p b { font-size: 18px; color: var(--ink); }
	#tp4 .tps-sticky .tps-btn { height: 46px; }
	body.tps-on.single-product .tp-wa-float { bottom: 84px !important; }
}

/* Tabby / Tamara widgets from their plugins */
#tp4 .tps-info #tabbyPromo, #tp4 .tps-info .tamara-product-widget { margin: 14px 0 0; }
/* Cart block empty state */
#tp4 .tps-pagecard .wc-block-grid__products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
#tp4 .tps-pagecard .wc-block-grid__product { width: auto !important; max-width: none !important; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; margin: 0 !important; }
#tp4 .tps-pagecard .wc-block-grid__product-image img { max-height: 160px; width: auto; margin: 0 auto; }
@media (max-width: 767px) { #tp4 .tps-pagecard .wc-block-grid__products { grid-template-columns: repeat(2, 1fr); } #tp4 .tps-pagecard { padding: 18px; } }

/* variable products */
#tp4 .tps-buy .woocommerce-variation-price .price { font-size: 24px; font-weight: 800; color: var(--ink); display: block; margin: 6px 0 10px; }
#tp4 .tps-buy .reset_variations { font-size: 13px; color: var(--muted); }

/* Archive grid: always a full grid (home page rules hide items / scroll sideways) */
#tp4 .tps-main .tps-grid ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px; overflow: visible !important; margin: 0 !important; padding: 0 !important; scroll-snap-type: none; }
#tp4 .tps-main .tps-grid ul.products li.product { display: flex !important; flex: none !important; }
@media (max-width: 1100px) { #tp4 .tps-main .tps-grid ul.products { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 767px) {
	#tp4 .tps-main .tps-grid ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
	#tp4 .tps-main .tps-grid ul.products li.product { padding: 10px; }
	#tp4 .tps-main .tps-grid ul.products li.product .tp-media { height: 140px; }
	#tp4 .tps-main .tps-grid ul.products li.product .tp-p4 { display: none; }
	#tp4 .tps-toolbar .woocommerce-result-count { display: none; }
	#tp4 .tps-toolbar .woocommerce-ordering, #tp4 .tps-toolbar select.orderby { width: 100%; }
	#tp4 .tps-facts { grid-template-columns: repeat(2, 1fr); }
}
