/*
Theme Name: Threadpk Brand Store
Theme URI: https://threadpk.com/
Author: Threadpk
Description: A clean, responsive WooCommerce storefront starter for Threadpk.
Version: 2.0.0
Text Domain: threadpk
Requires at least: 6.0
Requires PHP: 7.4
*/
:root{--tp-ink:#171717;--tp-muted:#6b6b6b;--tp-accent:#9b6b45;--tp-bg:#fff;--tp-soft:#f6f3f0;--tp-border:#e9e5e1;--tp-width:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--tp-bg);color:var(--tp-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:var(--tp-accent)}img{max-width:100%;height:auto;display:block}.tp-container{width:min(var(--tp-width),calc(100% - 36px));margin-inline:auto}
.tp-announcement{background:#171717;color:#fff;text-align:center;padding:8px 12px;font-size:12px;letter-spacing:.04em}
.tp-header{background:#fff;border-bottom:1px solid var(--tp-border);position:sticky;top:0;z-index:50}.tp-header-main{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:22px}.tp-logo{font-size:30px;font-weight:800;letter-spacing:.08em}.tp-logo span{color:var(--tp-accent)}.tp-nav{display:flex;gap:24px;align-items:center;font-size:13px;text-transform:uppercase;letter-spacing:.06em}.tp-actions{display:flex;gap:16px;font-size:13px;align-items:center}.tp-mobile-toggle{display:none;border:0;background:none;font-size:24px}
.tp-hero{background:linear-gradient(110deg,rgba(0,0,0,.58),rgba(0,0,0,.08)),linear-gradient(135deg,#c9b5a2,#eee4da);min-height:480px;display:flex;align-items:center;color:#fff}.tp-hero-inner{padding-block:72px}.tp-eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px}.tp-hero h1{font-size:clamp(38px,6vw,68px);line-height:1.06;max-width:650px;margin:14px 0}.tp-hero p{max-width:520px;font-size:17px}.tp-button,.button,button.single_add_to_cart_button{display:inline-block;background:var(--tp-ink);color:#fff!important;border:1px solid var(--tp-ink);padding:13px 24px;text-transform:uppercase;letter-spacing:.08em;font-size:12px;cursor:pointer}.tp-button:hover,.button:hover{background:var(--tp-accent);border-color:var(--tp-accent);color:#fff}
.tp-section{padding:64px 0}.tp-section-head{text-align:center;margin-bottom:30px}.tp-section-head h2{font-size:30px;margin:0 0 6px}.tp-section-head p{color:var(--tp-muted);margin:0}.tp-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tp-cat{background:var(--tp-soft);padding:42px 22px;text-align:center;min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column}.tp-cat h3{font-size:21px;margin:0 0 6px}.tp-cat p{margin:0;color:var(--tp-muted);font-size:13px}
.tp-products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0!important;padding:0!important}.tp-products ul.products:before,.tp-products ul.products:after{display:none!important}.tp-products ul.products li.product{width:auto!important;float:none!important;margin:0!important;list-style:none}.tp-products ul.products li.product a img{margin:0 0 12px!important;background:var(--tp-soft);aspect-ratio:4/5;object-fit:cover}.tp-products .woocommerce-loop-product__title{font-size:14px!important;color:var(--tp-ink);padding:0!important}.tp-products .price{color:var(--tp-accent)!important;font-weight:700!important}.tp-products .button{margin-top:8px!important;padding:10px 14px!important;font-size:10px!important}
.tp-promo{background:var(--tp-soft);padding:48px 30px;text-align:center}.tp-promo h2{font-size:30px;margin:0 0 8px}.tp-promo p{color:var(--tp-muted);margin:0 auto 20px;max-width:650px}
.tp-footer{background:#171717;color:#fff;padding:48px 0 22px}.tp-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px}.tp-footer p,.tp-footer a{color:#c9c9c9;font-size:13px}.tp-footer h3{font-size:14px;text-transform:uppercase;letter-spacing:.1em}.tp-footer-bottom{border-top:1px solid #444;margin-top:30px;padding-top:18px;color:#aaa;font-size:12px}
.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--tp-muted)}.woocommerce div.product .product_title{font-size:30px}.woocommerce div.product p.price{color:var(--tp-accent)}.woocommerce span.onsale{background:var(--tp-accent);padding:5px 10px}.woocommerce-message,.woocommerce-info{border-top-color:var(--tp-accent)}.woocommerce-message:before,.woocommerce-info:before{color:var(--tp-accent)}
.tp-page{padding:44px 0;min-height:40vh}.tp-page h1{font-size:34px}
@media(max-width:900px){.tp-nav{gap:12px;font-size:11px}.tp-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.tp-header-main{min-height:66px}.tp-mobile-toggle{display:block}.tp-nav{display:none;position:absolute;top:66px;left:0;right:0;background:#fff;padding:18px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--tp-border)}.tp-nav.is-open{display:flex}.tp-actions{gap:10px}.tp-logo{font-size:24px}.tp-hero{min-height:390px}.tp-hero-inner{padding-block:55px}.tp-cats{grid-template-columns:1fr}.tp-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tp-section{padding:44px 0}.tp-footer-grid{grid-template-columns:1fr;gap:18px}}

.tp-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tp-blog-grid article img{width:100%;aspect-ratio:4/3;object-fit:cover}
.tp-blog-grid h2{font-size:20px}
.woocommerce ul.products li.product .star-rating{color:var(--tp-accent)}
.woocommerce div.product div.images img{background:var(--tp-soft)}
.woocommerce div.product form.cart .variations select{min-width:150px;padding:10px;border:1px solid var(--tp-border)}
.woocommerce table.shop_table{border-color:var(--tp-border)}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{padding:11px;border:1px solid var(--tp-border);border-radius:0}
.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--tp-ink)}
@media(max-width:680px){.tp-blog-grid{grid-template-columns:1fr}}

/* Threadpk homepage v2 */
:root{--tp-navy:#142744;--tp-gold:#d69a3b;--tp-cream:#f4eee7}
.tp-announcement{background:var(--tp-navy);font-size:12px;letter-spacing:.02em}
.tp-header-main{min-height:82px}
.tp-logo{font-family:Georgia,serif;font-size:32px;letter-spacing:-.04em;color:var(--tp-navy)}
.tp-logo span{color:var(--tp-gold)}
.tp-nav{font-weight:600}
.tp-hero-v2{background:linear-gradient(100deg,#eee5da,#f8f5f1);overflow:hidden}
.tp-hero-v2-inner{min-height:390px;display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:28px;padding-block:34px}
.tp-hero-copy{padding:30px 0}
.tp-hero-copy .tp-eyebrow{color:#92704f;font-weight:700}
.tp-hero-copy h1{font-family:Georgia,serif;color:var(--tp-navy);font-size:clamp(40px,5vw,65px);line-height:1.02;margin:16px 0}
.tp-hero-copy h1 em{color:#a7794e;font-weight:400}
.tp-hero-copy p{max-width:470px;color:#5e5a55;font-size:16px;margin-bottom:25px}
.tp-button-gold{background:var(--tp-navy);border-color:var(--tp-navy)}
.tp-button-gold:hover{background:var(--tp-gold);border-color:var(--tp-gold)}
.tp-button-gold span{padding-left:15px}
.tp-hero-art{min-height:310px;border-radius:5px;background:radial-gradient(ellipse at 55% 45%,#fff 0%,#dfcbbb 43%,#b89b83 100%);position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:flex-end;padding:24px}
.tp-hero-art:before{content:"";position:absolute;width:78%;height:65%;left:8%;top:12%;border-radius:48% 48% 8px 8px;background:repeating-linear-gradient(135deg,#20395c 0 18px,#2e4b70 18px 36px);box-shadow:0 18px 35px #594b4050;transform:rotate(-5deg)}
.tp-hero-art:after{content:"";position:absolute;width:24%;height:26%;left:18%;top:8%;background:#f5eee5;border-radius:8px;box-shadow:180px 8px 0 #f5eee5}
.tp-hero-art-label,.tp-hero-art-note{position:relative;z-index:2;background:#fffE;padding:12px 16px;color:var(--tp-navy)}
.tp-hero-art-label{margin-right:auto;align-self:flex-start;display:flex;flex-direction:column}
.tp-hero-art-label strong{font-family:Georgia,serif;letter-spacing:.12em}
.tp-hero-art-label span,.tp-hero-art-note{font-size:11px}
.tp-category-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;padding-block:22px}
.tp-category-tile{border:1px solid #e9e4df;border-radius:7px;overflow:hidden;text-align:center;background:#fff;padding-bottom:10px;font-size:13px}
.tp-category-tile img{width:100%;height:104px;object-fit:cover;background:var(--tp-cream);margin-bottom:8px}
.tp-category-placeholder{height:104px;display:grid;place-items:center;background:var(--tp-cream);font: bold 28px Georgia;color:var(--tp-gold);margin-bottom:8px}
.tp-product-section{padding-block:30px}
.tp-section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}
.tp-section-heading h2{font-size:27px;margin:0;color:var(--tp-navy)}
.tp-section-heading p{margin:2px 0 0;color:var(--tp-muted);font-size:13px}
.tp-section-heading>a{font-size:12px;font-weight:700;color:var(--tp-navy)}
.tp-product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.tp-product-card{border:1px solid #e8e5e1;border-radius:7px;overflow:hidden;background:#fff;min-width:0;box-shadow:0 2px 8px #00000008}
.tp-product-photo{display:block;position:relative;background:#f5f1ed}
.tp-product-image{width:100%;aspect-ratio:1/1.05;object-fit:cover;margin:0!important}
.tp-sale-badge{position:absolute;z-index:2;top:9px;left:9px;background:#b52b2b;color:white;padding:4px 7px;border-radius:3px;font-size:10px;font-weight:700}
.tp-product-info{padding:10px}
.tp-product-info h3{font-size:13px;line-height:1.35;margin:0 0 6px;min-height:35px}
.tp-product-info h3 a{color:#202020}
.tp-product-price{font-size:14px;font-weight:700;color:var(--tp-navy);min-height:23px}
.tp-product-price del{color:#999;font-size:11px;font-weight:400;margin-right:4px}
.tp-product-price ins{text-decoration:none;color:#a56c30}
.tp-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:9px}
.tp-product-actions .button{padding:9px 4px!important;text-align:center;font-size:10px!important;line-height:1.2!important;margin:0!important;white-space:normal;border-radius:4px}
.tp-add-cart{background:var(--tp-navy)!important;border-color:var(--tp-navy)!important;color:#fff!important}
.tp-buy-now{background:var(--tp-gold)!important;border-color:var(--tp-gold)!important;color:#171717!important}
.tp-product-actions .button:hover{filter:brightness(.93)}
.tp-promo-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding-block:16px}
.tp-promo-card{min-height:145px;padding:22px;display:flex;flex-direction:column;justify-content:center;border-radius:7px;color:#fff!important;background:linear-gradient(110deg,#172e50,#486080)}
.tp-promo-card span{font-size:10px;letter-spacing:.13em}
.tp-promo-card strong{font: bold 25px Georgia,serif;margin:5px 0}
.tp-promo-card small{font-size:12px}
.tp-promo-kids{background:linear-gradient(110deg,#a97856,#e2c8ad);color:#211b18!important}
.tp-promo-home{background:linear-gradient(110deg,#565c68,#aab1b8)}
.tp-benefits{background:#f7f5f2;margin-top:25px;padding:25px 0}
.tp-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.tp-benefit-grid>div{display:grid;grid-template-columns:38px 1fr;column-gap:8px;align-items:center}
.tp-benefit-grid b{grid-row:span 2;font-size:23px}
.tp-benefit-grid strong{font-size:13px;color:var(--tp-navy)}
.tp-benefit-grid span{font-size:11px;color:var(--tp-muted)}
.tp-footer{background:var(--tp-navy)}
@media(max-width:900px){.tp-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tp-category-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.tp-hero-v2-inner{grid-template-columns:1fr;gap:8px;padding-block:20px}.tp-hero-art{min-height:190px}.tp-hero-copy{padding:18px 0 0}.tp-hero-copy h1{font-size:43px}.tp-category-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tp-category-tile{font-size:11px}.tp-category-tile img,.tp-category-placeholder{height:75px}.tp-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tp-product-info{padding:8px}.tp-product-info h3{font-size:12px;min-height:32px}.tp-product-actions .button{font-size:9px!important;padding:9px 2px!important}.tp-promo-row{grid-template-columns:1fr}.tp-promo-card{min-height:105px}.tp-benefit-grid{grid-template-columns:repeat(2,1fr);row-gap:18px}.tp-section-heading h2{font-size:22px}}

/* Product price and customer rating presentation */
.tp-product-price del{color:#888!important;font-size:11px!important;font-weight:400!important;opacity:1!important}
.tp-product-price ins{color:#a56c30!important;text-decoration:none!important;font-size:15px!important;font-weight:800!important}
.tp-product-rating{display:flex;align-items:center;gap:5px;min-height:20px;margin-top:3px;font-size:11px}
.tp-product-rating .star-rating{float:none!important;margin:0!important;width:5.5em!important;font-size:11px!important;color:#e49b27!important}
.tp-product-rating .star-rating:before{color:#d8d2ca!important}
.tp-product-rating .star-rating span:before{color:#e49b27!important}
.tp-rating-number{font-weight:700;color:#252525}
.tp-review-count,.tp-no-rating{color:#777;font-size:10px}
