/* ThemePlace – WooCommerce styles */

/* Notices */
.woocommerce-notices-wrapper{margin-bottom:18px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;margin:0 0 14px;padding:8px 14px;border-radius:10px;font-size:14px;line-height:1.4;background:var(--tp-tint);border:1px solid var(--tp-tint-line);color:var(--tp-ink);display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-weight:500}
.woocommerce-message{background:#e6f8ee;border-color:#bfe9d0}
.woocommerce-error{background:#ffecec;border-color:#ffc9c9;display:block}
.woocommerce-error li{margin:0;line-height:1.4;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.woocommerce-error li .button{margin-left:auto!important}
.woocommerce-error .button,.woocommerce-message a.button,.woocommerce-info a.button{padding:4px 14px!important;font-size:13px!important;line-height:1.4!important;min-height:0!important;height:auto!important;vertical-align:middle}
.woocommerce-message .button,.woocommerce-info .button{margin-left:auto!important;background:var(--tp-primary);color:#fff;padding:4px 14px;border-radius:50px;font-weight:700;font-size:13px;line-height:1.4}
.woocommerce-message .button:hover{color:#fff;background:color-mix(in srgb,var(--tp-primary) 82%,#000)}
/* WooCommerce focuses notices after add-to-cart; hide the purple focus ring */
.woocommerce-message:focus,.woocommerce-message:focus-visible,.woocommerce-info:focus,.woocommerce-info:focus-visible,.woocommerce-error:focus,.woocommerce-error:focus-visible,.woocommerce-notice:focus,.woocommerce-notice:focus-visible,.woocommerce-notices-wrapper:focus,.woocommerce-notices-wrapper:focus-visible,.woocommerce-NoticeGroup:focus,.woocommerce-NoticeGroup:focus-visible,.woocommerce-error[tabindex]:focus,.woocommerce-message[tabindex]:focus{outline:0!important;box-shadow:none!important}

/* Shop archive */
.woocommerce-products-header{margin-bottom:10px}
.woocommerce-products-header__title,.page-title{font-size:clamp(26px,3.4vw,38px);margin:0 0 6px}
.term-description{color:var(--tp-muted)}
.woocommerce-result-count{float:left;margin:8px 0 18px;color:var(--tp-muted);font-size:14px}
.woocommerce-ordering{float:right;margin:0 0 18px}
.woocommerce-ordering select{width:auto;min-width:200px}
/* Shop toolbar card */
.tp-shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid var(--tp-line);border-radius:20px;padding:14px 20px;margin:0 0 24px;box-shadow:var(--tp-shadow);clear:both}
.tp-shop-count{margin:0;color:var(--tp-muted);font-size:15px;line-height:1.2}
.tp-shop-count strong{color:var(--tp-ink);font-size:18px;font-weight:800;margin-right:1px}
.tp-shop-toolbar .woocommerce-ordering{float:none;margin:0}
.tp-shop-toolbar .woocommerce-ordering select{appearance:auto;min-width:200px;width:auto;padding:12px 16px;border:1px solid var(--tp-line);border-radius:14px;background:var(--tp-bg);color:var(--tp-ink);font-weight:700;font-size:14.5px;cursor:pointer}
.tp-shop-toolbar .woocommerce-ordering select:hover{border-color:var(--tp-tint-line)}
@media (max-width:520px){.tp-shop-toolbar{padding:12px 14px;border-radius:16px}.tp-shop-toolbar .woocommerce-ordering{flex:1 1 auto}.tp-shop-toolbar .woocommerce-ordering select{width:100%;min-width:0}}
ul.products{clear:both}
.woocommerce-pagination{margin-top:10px}
.woocommerce nav.woocommerce-pagination{text-align:center;margin:28px 0 10px}
.woocommerce nav.woocommerce-pagination ul,.woocommerce-pagination ul.page-numbers{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;list-style:none;margin:0;padding:0;border:0;background:none;width:auto;min-width:0;height:auto}
.woocommerce nav.woocommerce-pagination ul li{float:none;display:block;margin:0;padding:0;border:0;overflow:visible}
.woocommerce nav.woocommerce-pagination ul li a.page-numbers,.woocommerce nav.woocommerce-pagination ul li span.page-numbers{display:grid;place-items:center;min-width:40px;height:40px;padding:0 12px;margin:0;line-height:1;border:1px solid var(--tp-line);border-radius:10px;background:#fff;color:var(--tp-ink);font-weight:600}
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover,.woocommerce nav.woocommerce-pagination ul li span.page-numbers.current{background:var(--tp-primary);border-color:var(--tp-primary);color:#fff}

/* Single product */
.tp-single__top{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:30px;align-items:start;margin-bottom:26px}
.tp-single__top>*{min-width:0;max-width:100%}
.tp-gallery-box{padding:14px;min-width:0}
.tp-gallery__thumbs{min-width:0}
.tp-gallery__track{min-width:0}
.tp-gallery__main{border-radius:14px;overflow:hidden;background:#1a1240;aspect-ratio:3/2}
.tp-gallery__main img{width:100%;height:100%;object-fit:cover;object-position:top}
.tp-gallery__thumbs{display:flex;align-items:center;gap:8px;margin-top:12px}
.tp-gallery__arrow{flex:none;width:30px;height:30px;border-radius:50%;border:1px solid var(--tp-line);background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--tp-ink)}
.tp-gallery__arrow:hover{color:var(--tp-primary);border-color:var(--tp-primary)}
.tp-gallery__track{display:flex;gap:10px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;flex:1}
.tp-gallery__track::-webkit-scrollbar{display:none}
.tp-gallery__track button{flex:none;width:92px;height:64px;padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#1a1240;cursor:pointer;opacity:.85}
.tp-gallery__track button.is-active{border-color:var(--tp-primary);opacity:1}
.tp-gallery__track img{width:100%;height:100%;object-fit:cover;object-position:top}
.tp-gallery__btns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.tp-gallery__btns .tp-btn:only-child{grid-column:1/-1}
.tp-summary{padding:26px 28px}
.tp-summary__title{font-size:clamp(22px,2.6vw,30px);margin:0 0 12px}
.tp-summary__rate{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--tp-muted);font-size:14px;margin-bottom:12px}
.tp-summary__rate a{color:var(--tp-muted)}
.tp-summary__rate .sep{width:1px;height:14px;background:var(--tp-line)}
.tp-summary__price{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.tp-summary__price strong{font-size: clamp(30px, 3.6vw, 38px); font-weight: 800; line-height: 1; background: var(--tp-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--tp-primary);}
.tp-summary__price strong .woocommerce-Price-amount{color:inherit}
.tp-summary__price del{color:#9a9ec0;font-size:20px;font-weight:600}
.tp-off{background: color-mix(in srgb, var(--tp-accent) 12%, #fff);color:var(--tp-accent);font-weight:800;font-size:15px;padding:6px 14px;border-radius:10px}
.tp-short{margin:0 0 18px;color:var(--tp-text);font-size:15px;line-height:1.7}
.tp-short>:last-child{margin-bottom:0}
.tp-short p{margin:0 0 8px}
.tp-short ul,.tp-short ol{margin:0 0 8px;padding-left:22px}
.tp-short ul{list-style:disc}
.tp-short ol{list-style:decimal}
.tp-short li{margin:0 0 4px}
.tp-ticks{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin-bottom:20px}
.tp-ticks li{display:flex;align-items:center;gap:10px;font-weight:500;color:var(--tp-text)}
.tp-ticks li svg,.tp-checks li svg{background:#1fa463;color:#fff;border-radius:50%;padding:3px;width:20px;height:20px;flex:none}
.tp-countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}
.tp-countdown div{background:var(--tp-soft);border-radius:12px;padding:12px 6px;text-align:center}
.tp-countdown b{display:block;font-size:26px;color:var(--tp-primary);line-height:1.1;font-variant-numeric:tabular-nums}
.tp-countdown span{font-size:13px;color:var(--tp-muted)}
.tp-buy{display:grid;gap:12px}
.tp-buy__row{display:flex;gap:10px}
.tp-buy form.cart{display:flex;gap:10px;flex-wrap:wrap}

/* Tabs */
.tp-tabs{padding:14px 18px 26px;margin-bottom:34px}
.tp-tabs__nav{display:flex;gap:0;overflow-x:auto;margin-bottom:18px;scrollbar-width:none}
.tp-tabs__nav::-webkit-scrollbar{display:none}
.tp-tabs__nav::after{content:'';flex:1 0 0;border-bottom:1px solid var(--tp-line)}
.tp-tabs__nav button{flex:none;border:0;border-right:1px solid var(--tp-line);border-bottom:1px solid var(--tp-line);background:transparent;color:var(--tp-ink);font-family:inherit;font-weight:700;font-size:16px;line-height:1.2;padding:22px 30px;border-radius:0;cursor:pointer;white-space:nowrap;transition:color .15s}
.tp-tabs__nav button:hover{color:var(--tp-accent)}
.tp-tabs__nav button.is-active{color:var(--tp-accent);border-bottom-color:var(--tp-accent);box-shadow:inset 0 -1px 0 var(--tp-accent)}
@media (max-width:640px){.tp-tabs__nav button{font-size:15px;padding:16px 18px}}
.tp-tabs__panel{display:none;padding:10px 6px}
.tp-tabs__panel.is-active{display:block}
.tp-tabs .tp-prose h2{font-size:22px;margin:.2em 0 .5em}
.tp-checks{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px 28px;margin:0 0 1.2em!important}
.tp-checks li{display:flex;align-items:center;gap:12px}
.tp-checks li svg{background:var(--tp-soft);color:var(--tp-primary);width:22px;height:22px}
.tp-steps{list-style:none;counter-reset:s;display:grid;gap:12px;margin:0 0 1em!important}
.tp-steps li{counter-increment:s;display:flex;align-items:center;gap:12px}
.tp-steps li::before{content:counter(s);width:24px;height:24px;border-radius:50%;background:var(--tp-primary);color:#fff;font-size:13px;font-weight:700;display:grid;place-items:center;flex:none}
.tp-related{margin-top:10px}

/* Reviews */
#reviews{display:grid;gap:24px}
#reviews h2,.woocommerce-Reviews-title{font-size:20px}
#reviews .commentlist{list-style:none;margin:0;display:grid;gap:16px}
#reviews .comment_container{display:flex;gap:14px;background:#f8f9ff;border-radius:12px;padding:16px}
#reviews .avatar{border-radius:50%;width:48px;height:48px}
#reviews .comment-text{flex:1}
#reviews .meta{margin:4px 0;color:var(--tp-muted);font-size:13px}
#reviews .description p:last-child{margin:0}
.comment-form-rating label{display:block;font-weight:700;margin-bottom:6px}
p.stars a{position:relative;display:inline-block;width:1.15em;height:1.15em;font-size:26px;text-indent:-999em;overflow:hidden}
p.stars a::before{content:"★";position:absolute;left:0;top:0;text-indent:0;line-height:1.15;color:#d4d7ee}
p.stars:hover a::before{color:#f7a90b}
p.stars a:hover~a::before{color:#d4d7ee}
p.stars.selected a.active::before,p.stars.selected a.active~a::before{color:#d4d7ee}
p.stars.selected a:not(.active)::before,p.stars.selected a.active::before{color:#f7a90b}
p.stars.selected a.active~a::before{color:#d4d7ee}
.comment-form p{margin-bottom:14px}.comment-form label{font-weight:600;display:block;margin-bottom:4px}
.comment-form .submit,#respond input#submit{background:var(--tp-primary);color:#fff;border:0;padding:12px 24px;border-radius:50px;font-weight:700;cursor:pointer}

/* Quantity */
.quantity{display:inline-flex;align-items:center;border:1.5px solid var(--tp-line);border-radius:99px;background:#fff;overflow:hidden}
.quantity input.qty{width:46px;text-align:center;border:0;background:none;padding:10px 0;box-shadow:none;-moz-appearance:textfield;font-weight:700}
.quantity input.qty::-webkit-outer-spin-button,.quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.tp-qty-btn{width:36px;height:36px;border:0;background:none;font-size:20px;line-height:1;cursor:pointer;color:var(--tp-primary);border-radius:50%}
.tp-qty-btn:hover{background:var(--tp-soft)}

/* Cart */
.tp-cart{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:26px;align-items:start}
.tp-cart__box{padding:6px 0 0;overflow:hidden}
.tp-cart__table{width:100%;border-collapse:collapse}
.tp-cart__table th{text-align:left;padding:18px 16px;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--tp-muted);border-bottom:1px solid var(--tp-line);font-weight:700}
.tp-cart__table td{padding:18px 16px;border-bottom:1px solid var(--tp-line);vertical-align:middle;color:var(--tp-ink);font-weight:600}
.tp-cart__table th.product-name{padding-left:24px}
.tp-cart__table td.product-name{padding-left:24px}
.tp-cart__prod{display:flex;align-items:center;gap:16px}
.tp-cart__thumb{width:76px;height:76px;border-radius:12px;overflow:hidden;border:1px solid var(--tp-line);flex:none;background:#fff}
.tp-cart__thumb img{width:100%;height:100%;object-fit:cover}
.tp-cart__info{display:flex;flex-direction:column;gap:2px}
.tp-cart__info a{color:var(--tp-ink);font-weight:700;font-size:16px}
.tp-cart__info a:hover{color:var(--tp-primary)}
.tp-cart__info small{color:var(--tp-muted);font-weight:500;font-size:13.5px}
.tp-cart__table .product-remove{width:70px;text-align:center}
a.remove{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid #ffd3dc;background:#fff5f7;color:#e5365a}
a.remove:hover{background:#e5365a;color:#fff}
.tp-cart__table .actions{border-bottom:0;padding:22px 24px}
.tp-cart__actions{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.tp-cart__actions .coupon{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.tp-coupon__field{display:flex;align-items:center;gap:8px;border:1.5px solid var(--tp-line);border-radius:12px;padding:0 14px;background:#fff;color:var(--tp-muted)}
.tp-coupon__field input{border:0;box-shadow:none!important;padding:13px 4px;width:190px;background:none}
.cart_totals{padding:26px 24px;position:sticky;top:110px}
.cart_totals h2{font-size:22px;margin-bottom:18px}
.cart_totals table,.woocommerce-checkout-review-order-table{width:100%;border-collapse:collapse}
.cart_totals th,.cart_totals td{padding:12px 0;text-align:left;font-weight:500;color:var(--tp-text);border:0}
.cart_totals td{text-align:right;color:var(--tp-ink);font-weight:700}
.cart_totals .order-total th,.cart_totals .order-total td{border-top:1px solid var(--tp-line);padding-top:18px;font-size:18px;color:var(--tp-ink);font-weight:800}
.cart_totals .order-total td{font-size:26px;color:var(--tp-primary)}
.cart_totals .order-total .woocommerce-Price-amount{color:var(--tp-primary)}
.wc-proceed-to-checkout{margin:16px 0}
.tp-secure{display:flex;align-items:center;gap:12px;color:var(--tp-muted);font-size:14px;margin:16px 0 12px}
.tp-secure::before,.tp-secure::after{content:"";flex:1;height:1px;background:var(--tp-line)}
.tp-paylogos{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between;margin-bottom:18px}
.tp-paylogos b{flex:1;min-width:52px;height:42px;display:grid;place-items:center;border:1px solid var(--tp-line);border-radius:9px;font-size:14px;background:#fff;grid-auto-flow:column;gap:4px}
.tp-paylogos .visa{color:#1a2fb0;font-style:italic;font-weight:800}
.tp-paylogos .mc{position:relative;display:flex;align-items:center;justify-content:center}
.tp-paylogos .mc i{width:20px;height:20px;border-radius:50%;background:#eb001b}
.tp-paylogos .mc i+i{background:#f79e1b;margin-left:-8px;opacity:.9}
.tp-paylogos .pp{color:#1b3b8f;font-style:italic;font-weight:800;font-size:12.5px}
.tp-paylogos .st{color:#635bff;font-weight:800}
.tp-paylogos .ssl{font-size:12px;font-weight:800;color:var(--tp-ink)}
.cart-empty{text-align:center;padding:50px 20px;display:block;font-size:18px}
.return-to-shop{text-align:center}
.return-to-shop .button{display:inline-flex;background:var(--tp-grad);color:#fff;padding:13px 26px;border-radius:50px;font-weight:700}

/* Checkout */
.woocommerce-form-coupon-toggle .woocommerce-info{background:#e8f0ff;border:1px solid #cfdcff;border-radius:14px;padding:16px 22px;margin-bottom:22px;position:relative;cursor:pointer}
.woocommerce-form-coupon-toggle .woocommerce-info::before{content:"";flex:0 0 28px;width:28px;height:19px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 202'%3E%3Cpath fill='%231a3fe0' d='M33 25h239v152H33a8 8 0 0 1-8-8v-40a25 25 0 0 0 0-50V33a8 8 0 0 1 8-8Z'/%3E%3Cpath fill='%23e8f0ff' d='M103 25h12v24a6 6 0 0 1-12 0V25Zm0 39h12v24h-12V64Zm0 45h12v24h-12v-24Zm0 45h12v24h-12v-24Z'/%3E%3Cpath fill='%23e8f0ff' d='M159.2 140.5a6 6 0 0 1-5-9.4l49-70a6 6 0 1 1 9.8 6.8l-49 70a6 6 0 0 1-4.8 2.6Z'/%3E%3Ccircle cx='159.5' cy='78.5' r='19.5' fill='%23e8f0ff'/%3E%3Ccircle cx='159.5' cy='78.5' r='7' fill='%231a3fe0'/%3E%3Ccircle cx='212.5' cy='123.5' r='19.5' fill='%23e8f0ff'/%3E%3Ccircle cx='212.5' cy='123.5' r='7' fill='%231a3fe0'/%3E%3C/svg%3E") center/contain no-repeat}
.woocommerce-form-coupon-toggle a.showcoupon{font-weight:700;color:#1a3fe0}
.woocommerce-form-coupon{background:#fff;border:1px solid var(--tp-line);border-radius:14px;padding:18px 22px;margin-bottom:22px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.woocommerce-form-coupon p{margin:0}
.woocommerce-form-coupon .form-row-first{flex:1}
.woocommerce-form-coupon .button{background:var(--tp-primary);color:#fff;border:0;padding:12px 22px;border-radius:50px;font-weight:700;cursor:pointer}
.woocommerce-form-login-toggle .woocommerce-info{margin-bottom:22px}
.tp-checkout{display:grid;grid-template-columns:minmax(0,1.80fr) minmax(0,1fr);gap:26px;align-items:start}
/* Validation notices injected by WooCommerce JS must span the full width, not take a grid cell */
.tp-checkout>.woocommerce-NoticeGroup,.tp-checkout>.woocommerce-NoticeGroup-checkout,.tp-checkout>.woocommerce-error,.tp-checkout>.woocommerce-message,.tp-checkout>.woocommerce-info{grid-column:1/-1;grid-row:1;margin:0}
.tp-checkout>.woocommerce-NoticeGroup .woocommerce-error{margin:0}
.tp-checkout__main{grid-column:1;grid-row:2}
.tp-checkout__side{grid-column:2;grid-row:2}
.tp-checkout__main{display:block;min-width:0}
.tp-checkout__main>:empty,.tp-checkout__main>.woocommerce-NoticeGroup:empty{display:none}
.tp-checkout__main>.woocommerce-billing-fields~.woocommerce-additional-fields,.tp-checkout__main>.woocommerce-billing-fields~.woocommerce-account-fields{margin-top:24px}
.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-account-fields{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-r);box-shadow:var(--tp-shadow);padding:26px 24px}
.woocommerce-shipping-fields,.woocommerce-account-fields:empty{display:none}
.tp-checkout h3{font-size:22px;margin:0 0 20px;padding-left:14px;position:relative}
.tp-checkout h3::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:4px;border-radius:4px;background:var(--tp-primary)}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
.woocommerce-billing-fields__field-wrapper .form-row,.woocommerce-shipping-fields__field-wrapper .form-row{grid-column:1/-1;margin:0}
.woocommerce-billing-fields__field-wrapper .form-row-first,.woocommerce-billing-fields__field-wrapper .form-row-last,.woocommerce-shipping-fields__field-wrapper .form-row-first,.woocommerce-shipping-fields__field-wrapper .form-row-last,
#billing_state_field,#billing_postcode_field,#billing_phone_field,#billing_email_field,#billing_first_name_field,#billing_last_name_field{grid-column:auto}
.woocommerce-billing-fields__field-wrapper .clear,.woocommerce-shipping-fields__field-wrapper .clear{display:none}
.form-row{margin:0 0 16px}
.form-row label{display:block;font-weight:700;font-size:14px;color:var(--tp-ink);margin-bottom:7px}
.form-row .required,abbr.required{color:#e5365a;text-decoration:none;border:0}
.form-row .optional{color:var(--tp-muted);font-weight:500}
.form-row input.input-text,.form-row select,.form-row textarea{height:46px}
.form-row textarea{height:auto;min-height:130px}
.form-row.woocommerce-invalid input.input-text,.form-row.woocommerce-invalid select{border-color:#e5365a}
.screen-reader-text+input{margin-top:0}
#billing_address_2_field label,#shipping_address_2_field label{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.select2-container{width:100%!important}
.select2-container--default .select2-selection--single{height:46px;border:1.5px solid #dcdff2;border-radius:10px;display:flex;align-items:center}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:1;padding-left:14px;color:var(--tp-ink);width:100%}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:44px;right:8px}
.select2-dropdown{border:1.5px solid var(--tp-primary);border-radius:10px;overflow:hidden}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--tp-primary)}
.tp-checkout__side{padding:26px 24px;position:sticky;top:110px}
.tp-checkout__side h3{margin-bottom:18px}
.woocommerce-checkout-review-order-table thead th{padding:12px 14px;font-size:12.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--tp-muted);text-align:left}
.woocommerce-checkout-review-order-table thead th:first-child{border-radius:10px 0 0 10px}
.woocommerce-checkout-review-order-table thead th:last-child{border-radius:0 10px 10px 0;text-align:right}
.woocommerce-checkout-review-order-table td,.woocommerce-checkout-review-order-table tfoot th{padding:14px 6px;border-bottom:1px solid var(--tp-line);vertical-align:middle;text-align:left;font-weight:600}
.woocommerce-checkout-review-order-table td.product-total,.woocommerce-checkout-review-order-table tfoot td{text-align:right;font-weight:800;color:var(--tp-ink)}
.woocommerce-checkout-review-order-table td.product-name{display:flex;align-items:center;gap:12px;color:var(--tp-ink);border-bottom:1px solid var(--tp-line)}
.tp-rev__media{position:relative;flex:none;display:block}
.tp-rev__remove{position:absolute;top:-10px;left:-5px;z-index:2;display:inline-grid;place-items:center;width:18px;height:18px;box-shadow:0 1px 4px rgba(15,16,51,.15);border-radius:50%;border:1px solid #ffd3dc;background:#fff5f7;color:#e5365a;transition:background .15s,color .15s}
.tp-rev__remove:hover{background:#e5365a;color:#fff}
.tp-rev__remove.is-loading{opacity:.5;pointer-events:none}
.tp-rev__thumb{display:block;width:75px;height:60px;border-radius:7px;overflow:hidden;flex:none;border:1px solid var(--tp-line)}
.tp-rev__thumb img{width:100%;height:100%;object-fit:cover}
.tp-rev__name{font-weight:600;font-size:14px}
.product-quantity{color:var(--tp-muted);font-weight:500}
.tp-cart__table td.tp-qty-none{padding:0}
@media(max-width:768px){.tp-cart__table td.tp-qty-none{display:none}}
.woocommerce-checkout-review-order-table .order-total th{font-size:20px;font-weight:800;color:var(--tp-ink);border-bottom:0}
.woocommerce-checkout-review-order-table .order-total td{font-size: 26px; background: var(--tp-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--tp-primary); border-bottom: 0;}
#payment{margin-top:16px}
#payment ul.payment_methods{list-style:none;display:grid;gap:10px;margin:0 0 14px;padding:0}
#payment ul.payment_methods>li{border:1.5px solid var(--tp-line);border-radius:12px;padding:12px 14px}
#payment ul.payment_methods>li>label{display:inline;font-weight:700;margin-left:6px}
#payment .payment_box{background:var(--tp-soft);border-radius:10px;padding:12px 14px;margin-top:10px;font-size:14px}
#payment .payment_box p:last-child{margin:0}
#payment ul.payment_methods li.woocommerce-notice,.woocommerce-notice--info.woocommerce-info{list-style:none;background:var(--tp-soft);border:0;border-radius:12px;padding:18px;color:var(--tp-text);font-weight:500;display:block;position:relative;padding-left:56px}
#payment ul.payment_methods li.woocommerce-notice::before{content:"i";position:absolute;left:18px;top:18px;width:26px;height:26px;border-radius:50%;background:var(--tp-violet);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px}
.woocommerce-privacy-policy-text{color:var(--tp-text);font-size:14.5px;margin:16px 0}
.woocommerce-terms-and-conditions-wrapper{margin:12px 0}
#place_order{margin-top:6px}
.blockUI.blockOverlay{background:rgba(255,255,255,.7)!important}

/* Order received + account */
.woocommerce-order{max-width:900px;margin:0 auto}
.woocommerce-thankyou-order-received{background:#e6f8ee;border-radius:12px;padding:16px 20px;font-weight:700;color:#14693d}
ul.order_details{list-style:none;display:flex;gap:14px;flex-wrap:wrap;margin:20px 0}
ul.order_details li{background:#fff;border:1px solid var(--tp-line);border-radius:12px;padding:12px 18px;font-size:13px;color:var(--tp-muted)}
ul.order_details li strong{display:block;color:var(--tp-ink);font-size:16px}
table.shop_table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--tp-line);border-radius:12px;overflow:hidden}
.woocommerce-order table.shop_table th,.woocommerce-order table.shop_table td,.woocommerce-account table.shop_table th,.woocommerce-account table.shop_table td{padding:12px 16px;border-bottom:1px solid var(--tp-line);text-align:left}
.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px 1fr;gap:26px;align-items:start}
.woocommerce-MyAccount-navigation ul{list-style:none;background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-r);padding:10px;display:grid;gap:4px}
.woocommerce-MyAccount-navigation a{display:block;padding:11px 14px;border-radius:10px;color:var(--tp-ink);font-weight:600}
.woocommerce-MyAccount-navigation .is-active a,.woocommerce-MyAccount-navigation a:hover{background:var(--tp-soft);color:var(--tp-primary)}
.woocommerce-MyAccount-content{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-r);padding:26px;box-shadow:var(--tp-shadow)}
.woocommerce-account:not(.logged-in) .woocommerce,.woocommerce-account .woocommerce:has(#customer_login){display:block}
.u-columns{display:grid;grid-template-columns:1fr 1fr;gap:26px}

/* Account details (edit-account) form */
.woocommerce-EditAccountForm .form-row{
  display:block;
  float:none;
  width:100%;
  margin:0 0 18px;
}
.woocommerce-EditAccountForm .form-row-first,
.woocommerce-EditAccountForm .form-row-last{
  width:100%;
  float:none;
}
.woocommerce-EditAccountForm .form-row input.input-text,
.woocommerce-EditAccountForm .form-row input[type="password"]{
  width:100%;
  height:46px;
}
.woocommerce-EditAccountForm .form-row em,
.woocommerce-EditAccountForm #account_display_name_description{
  display:block;
  margin-top:6px;
  font-size:13px;
  font-style:normal;
  color:var(--tp-muted);
}
.woocommerce-EditAccountForm fieldset{
  margin:26px 0 8px;
  padding:22px 22px 6px;
  border:1px solid var(--tp-line);
  border-radius:var(--tp-r);
  background:var(--tp-bg);
  min-width:0;
}
.woocommerce-EditAccountForm fieldset legend{
  padding:0 12px;
  margin-left:-4px;
  font-size:15px;
  font-weight:800;
  color:var(--tp-ink);
}
.woocommerce-EditAccountForm fieldset input.input-text,
.woocommerce-EditAccountForm fieldset input[type="password"]{
  background:#fff;
}

/* Password field + show/hide eye button */
.woocommerce-EditAccountForm .password-input{
  position:relative;
  display:block;
  width:100%;
}
.woocommerce-EditAccountForm .password-input input{
  padding-right:48px;
}
.woocommerce-EditAccountForm .show-password-input{
  position:absolute;
  top:0;
  right:0;
  width:46px;
  height:46px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0 10px 10px 0;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6f8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  box-shadow:none;
  cursor:pointer;
  font-size:0;
  line-height:0;
  overflow:hidden;
}
.woocommerce-EditAccountForm .show-password-input.display-password{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b2cf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19'/%3E%3Cpath d='M1 1l22 22'/%3E%3C/svg%3E");
}
.woocommerce-EditAccountForm .show-password-input:hover{
  background-color:var(--tp-soft);
}
.woocommerce-EditAccountForm .show-password-input::before,
.woocommerce-EditAccountForm .show-password-input::after{
  display:none;
  content:none;
}

/* Save button */
.woocommerce-EditAccountForm > p:last-child{
  margin:22px 0 0;
}
.u-columns>div,.woocommerce-form-login,.woocommerce-form-register{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-r);padding:26px}
.woocommerce-form-login,.woocommerce-form-register{max-width:460px}
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce-Button{display:inline-flex;align-items:center;justify-content:center;background:var(--tp-grad);color:#fff;border:0;border-radius:50px;padding:11px 20px;font-weight:700;cursor:pointer}

/* Responsive */
@media (max-width:1000px){
  .tp-single__top,.tp-cart,.tp-checkout{grid-template-columns:minmax(0,1fr)}
  .cart_totals,.tp-checkout__side{position:static}
  .tp-checkout__main,.tp-checkout__side{grid-column:1;grid-row:auto}
  .woocommerce-account .woocommerce{grid-template-columns:1fr}
}
@media (max-width:700px){
  .tp-ticks,.tp-checks,.u-columns{grid-template-columns:1fr}
  .woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}
  #billing_state_field,#billing_postcode_field,#billing_phone_field,#billing_email_field,#billing_first_name_field,#billing_last_name_field{grid-column:1/-1}
  .tp-countdown b{font-size:20px}
  /* cart table -> stacked cards */
  .tp-cart__table thead{display:none}
  .tp-cart__table,.tp-cart__table tbody,.tp-cart__table tr,.tp-cart__table td{display:block;width:100%}
  .tp-cart__table tr.cart_item{position:relative;border-bottom:1px solid var(--tp-line);padding:12px 0}
  .tp-cart__table td{border:0;padding:8px 16px;display:flex;justify-content:space-between;align-items:center}
  .tp-cart__table td.product-name{padding-left:16px;display:block}
  .tp-cart__table td::before{content:attr(data-title);color:var(--tp-muted);font-weight:500;font-size:13px}
  .tp-cart__table td.product-name::before,.tp-cart__table td.product-remove::before,.tp-cart__table td.actions::before{display:none}
  .tp-cart__table td.product-remove{position:absolute;top:8px;right:6px;width:auto;padding:0}
  .tp-cart__actions,.tp-cart__actions .coupon{flex-direction:column;align-items:stretch}
  .tp-coupon__field input{width:100%}
}

/* ===== Order received (thank you) ===== */
.tp-ty{max-width:1100px;margin:10px auto 0;display:grid;gap:22px}
.tp-ty__hero{position:relative;overflow:hidden;text-align:center;padding:44px 28px 30px}
.tp-ty__hero::before{content:"";position:absolute;inset:0 0 auto 0;height:130px;background:linear-gradient(180deg,color-mix(in srgb,var(--tp-primary) 9%,transparent),color-mix(in srgb,var(--tp-accent) 3%,transparent) 70%,transparent)}
.tp-ty__hero>*{position:relative}
.tp-ty__badge{display:inline-grid;place-items:center;width:78px;height:78px;border-radius:50%;background:var(--tp-grad);color:#fff;margin-bottom:18px;box-shadow:0 12px 28px color-mix(in srgb,var(--tp-primary) 32%,transparent),0 0 0 10px color-mix(in srgb,var(--tp-primary) 8%,transparent);animation:tp-ty-pop .6s cubic-bezier(.2,1.4,.4,1) both}
.tp-ty__badge .tp-i{stroke-width:2.6}
.tp-ty__badge--wait{background:linear-gradient(135deg,#f7a928,#f0709a)}
.tp-ty__badge--warn{background:linear-gradient(135deg,#f7a928,#f0709a)}
.tp-ty__badge--bad{background:linear-gradient(135deg,#e5365a,#f0709a);box-shadow:0 12px 28px rgba(229,54,90,.3),0 0 0 10px rgba(229,54,90,.08)}
@keyframes tp-ty-pop{0%{transform:scale(.4);opacity:0}100%{transform:scale(1);opacity:1}}
.tp-ty__title{font-size:clamp(26px,4vw,38px);margin:0 0 10px}
.tp-ty__lead{max-width:600px;margin:0 auto 18px;color:var(--tp-text);font-size:16px}
.tp-ty__lead strong{color:var(--tp-ink)}
.tp-ty__receipt{display:inline-flex;align-items:center;gap:10px;max-width:100%;margin:0 auto 26px;padding:8px 16px;border-radius:99px;background:var(--tp-soft);color:var(--tp-text);font-size:14px;text-align:left}
.tp-ty__receipt .tp-i{color:var(--tp-ink)}
.tp-ty__receipt span{min-width:0;overflow-wrap:anywhere}
.tp-ty__receipt strong{color:var(--tp-ink);font-weight:800}
.tp-ty__meta{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;background:var(--tp-line);border:1px solid var(--tp-line);border-radius:14px;overflow:hidden;margin:0;text-align:left}
.tp-ty__meta li{background:#fff;padding:14px 18px;display:grid;gap:2px}
.tp-ty__meta span{font-size:12px;font-weight:600;color:var(--tp-muted);text-transform:uppercase;letter-spacing:.04em}
.tp-ty__meta strong{color:var(--tp-ink);font-size:16px;word-break:break-word}
.tp-ty__status{display:inline-block;justify-self:start;padding:2px 12px;border-radius:99px;background:var(--tp-soft);color:var(--tp-primary)!important;font-size:14px!important}
.tp-ty__status--completed,.tp-ty__status--processing{background:#e6f8ee;color:#14693d!important}
.tp-ty__status--pending,.tp-ty__status--on-hold{background:#fff3df;color:#9a5b00!important}
.tp-ty__actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.tp-ty__card{padding:24px 26px}
.tp-ty__h{display:flex;align-items:center;gap:10px;font-size:19px;margin:0 0 18px}
.tp-ty__h .tp-i{color:var(--tp-primary)}
.tp-ty__grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:22px;align-items:start}
.tp-ty__side{display:grid;gap:22px}

/* downloads */
.tp-ty__dl{border-color:var(--tp-tint-line);background:linear-gradient(180deg,var(--tp-tint),#fff)}
.tp-ty__dl-list{list-style:none;display:grid;gap:10px;margin:0}
.tp-ty__dl-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid var(--tp-line);border-radius:12px;padding:12px 16px}
.tp-ty__dl-name{display:grid;min-width:0}
.tp-ty__dl-name strong{color:var(--tp-ink);overflow-wrap:anywhere}
.tp-ty__dl-name small{color:var(--tp-muted);font-size:13px}
.tp-ty__gateway{overflow-x:auto}
.tp-ty__gateway h2,.tp-ty__gateway h3{font-size:19px}
.tp-ty__gateway ul{list-style:none;display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.tp-ty__gateway ul li{background:var(--tp-bg);border-radius:10px;padding:8px 14px;font-size:13px;color:var(--tp-muted)}
.tp-ty__gateway ul li strong{display:block;color:var(--tp-ink);font-size:15px}

/* items + totals */
.tp-ty__items{list-style:none;display:grid;margin:0}
.tp-ty__items li{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--tp-line)}
.tp-ty__items li:first-child{padding-top:0}
.tp-ty__items .tp-rev__thumb{width:84px;height:66px}
.tp-ty__item-name{flex:1;min-width:0;font-weight:600;color:var(--tp-ink)}
.tp-ty__item-name a{color:var(--tp-ink)}
.tp-ty__item-name a:hover{color:var(--tp-primary)}
.tp-ty__item-name b{color:var(--tp-muted);font-weight:600}
.tp-ty__item-name .wc-item-meta{list-style:none;font-size:13px;color:var(--tp-muted);font-weight:500;margin:4px 0 0}
.tp-ty__item-total{font-weight:700;color:var(--tp-ink);white-space:nowrap}
.tp-ty__totals{margin:14px 0 0}
.tp-ty__totals>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;color:var(--tp-text)}
.tp-ty__totals dt,.tp-ty__totals dd{margin:0}
.tp-ty__totals dd{font-weight:600;color:var(--tp-ink)}
.tp-ty__totals .is-total{margin-top:10px;padding:16px 0 0;border-top:1px solid var(--tp-line);align-items:center}
.tp-ty__totals .is-total dt{font-weight:800;color:var(--tp-ink)}
.tp-ty__totals .is-total dd{font-size:20px;font-weight:800;color:var(--tp-primary)}
.tp-ty__note{margin:16px 0 0;padding:12px 14px;background:var(--tp-bg);border-radius:10px;font-size:14px}

/* next steps + billing */
.tp-ty__next{list-style:none;display:grid;gap:16px;margin:0}
.tp-ty__next li{display:flex;gap:14px;align-items:flex-start}
.tp-ty__next-i{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--tp-soft);color:var(--tp-primary)}
.tp-ty__next strong{display:block;color:var(--tp-ink);line-height:1.3}
.tp-ty__next small{display:block;color:var(--tp-muted);font-size:13.5px;line-height:1.45;margin-top:2px}
.tp-ty__contact{list-style:none;display:grid;gap:14px;margin:0 0 22px;font-size:15px;overflow-wrap:anywhere}
.tp-ty__contact li{display:flex;align-items:center;gap:14px;color:var(--tp-ink);font-weight:600}
.tp-ty__contact .tp-i{color:var(--tp-primary)}
.tp-ty__contact strong{font-weight:600}
.tp-ty__sub{font-size:19px;margin:0 0 14px}
.tp-ty__bill .tp-ty__h{margin-bottom:16px}
.tp-ty__actions--side{flex-direction:column}
.tp-ty__actions--side .tp-btn{width:100%}

@media (max-width:1000px){
  .tp-ty__grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
  .tp-ty__hero{padding:34px 16px 22px}
  .tp-ty__card{padding:20px 16px}
  .tp-ty__meta{grid-template-columns:1fr 1fr}
  .tp-ty__dl-list li{flex-direction:column;align-items:stretch}
  .tp-ty__dl-list .tp-btn{width:100%}
  .tp-ty__items .tp-rev__thumb{width:64px;height:52px}
}
@media (prefers-reduced-motion:reduce){.tp-ty__badge{animation:none}}

/* Shop sidebar layout */
.tp-shop-layout{display:grid;gap:28px;align-items:start;grid-template-columns:290px minmax(0,1fr);grid-template-areas:"side main"}
.tp-shop-layout--right{grid-template-columns:minmax(0,1fr) 290px;grid-template-areas:"main side"}
.tp-shop-side{grid-area:side;position:sticky;top:90px;display:flex;flex-direction:column;gap:18px}
.tp-shop-main{grid-area:main;min-width:0}
.tp-sbcard{background:#fff;border:1px solid var(--tp-line);border-radius:20px;padding:20px;box-shadow:var(--tp-shadow);margin:0}
.tp-sbcard__title{margin:0 0 14px;font-size:17px;font-weight:800;color:var(--tp-ink)}
.tp-sbcats__list,.tp-sbcats__sub{list-style:none;margin:0;padding:0}
.tp-sbcats__sub{margin:2px 0 6px 12px;padding-left:10px;border-left:2px solid var(--tp-line)}
.tp-sbcats__list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:12px;color:var(--tp-text);font-weight:600;font-size:14.5px}
.tp-sbcats__list a:hover{background:var(--tp-tint);color:var(--tp-primary)}
.tp-sbcats__list em{font-style:normal;font-size:12px;font-weight:700;min-width:28px;text-align:center;padding:2px 8px;border-radius:50px;background:var(--tp-bg);color:var(--tp-muted)}
.tp-sbcats__list li.is-active>a{background:var(--tp-primary);color:#fff}
.tp-sbcats__list li.is-active>a em{background:rgba(255,255,255,.22);color:#fff}
.tp-sbprice__row{display:flex;gap:10px}
.tp-sbprice__row label{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:var(--tp-muted)}
.tp-sbprice__row input{width:100%;padding:10px 12px;border:1px solid var(--tp-line);border-radius:12px;background:var(--tp-bg);color:var(--tp-ink);font-size:14px}
.tp-sbprice__btns{display:flex;align-items:center;gap:14px;margin-top:14px}
.tp-sbprice__btns .tp-btn{flex:1;justify-content:center}
.tp-sbprice__reset{font-size:13.5px;font-weight:700;color:var(--tp-muted)}
@media (max-width:900px){
	.tp-shop-layout,.tp-shop-layout--right{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "side"}
	.tp-shop-side{position:static}
}

/* Empty notices wrapper must not add a gap above the toolbar / sidebar row */
.woocommerce-notices-wrapper:empty{margin:0}
.tp-shop-main>.woocommerce-notices-wrapper:empty{display:none}