/*
Theme Name: THJUCE Streetwear
Template: astra
Author: THJUCE
Description: Dark premium streetwear child theme for THJUCE. ASCII only.
Version: 1.0.0
*/

/* ============ Design tokens ============ */
:root{
  --thj-bg:#0b0b0d;
  --thj-bg-2:#131316;
  --thj-card:#17171b;
  --thj-text:#f4f4f5;
  --thj-muted:#a1a1aa;
  --thj-accent:#d4ff00;      /* acid lime */
  --thj-accent-2:#ff2d55;    /* hot pink/red */
  --thj-border:#26262b;
  --thj-radius:14px;
}

/* ============ Base ============ */
html,body{
  background:var(--thj-bg) !important;
  color:var(--thj-text) !important;
}
body,p,li,span,a,input,textarea,select,button{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
h1,h2,h3,h4,.thj-display{
  font-family:'Bebas Neue','Anton',Impact,sans-serif !important;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:var(--thj-text);
}
a{color:var(--thj-text);}
a:hover{color:var(--thj-accent);}

/* Selection */
::selection{background:var(--thj-accent);color:#000;}

/* ============ Header ============ */
.ast-primary-header-bar,
.main-header-bar,
header.site-header{
  background:var(--thj-bg) !important;
  border-bottom:1px solid var(--thj-border);
}
.main-header-menu a,
.ast-header-break-point .main-header-menu a{
  color:var(--thj-text) !important;
  text-transform:uppercase;
  font-weight:600;
  letter-spacing:.6px;
  font-size:14px;
}
.main-header-menu a:hover{color:var(--thj-accent) !important;}
.site-title a,.site-title{
  font-family:'Bebas Neue',Impact,sans-serif !important;
  font-size:30px !important;
  letter-spacing:2px;
  color:var(--thj-text) !important;
}

/* ============ Announcement bar ============ */
.thj-announce{
  background:var(--thj-accent);
  color:#000;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:13px;
  overflow:hidden;
  white-space:nowrap;
  padding:8px 0;
}
.thj-announce .thj-track{
  display:inline-block;
  padding-left:100%;
  animation:thj-marquee 18s linear infinite;
}
.thj-announce span{margin:0 40px;}
@keyframes thj-marquee{
  0%{transform:translateX(0);}
  100%{transform:translateX(-100%);}
}

/* ============ Hero ============ */
.thj-hero{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(212,255,0,.14), transparent 60%),
    linear-gradient(180deg,#0b0b0d 0%,#0f0f12 100%);
  border-bottom:1px solid var(--thj-border);
  overflow:hidden;
}
.thj-hero:before{
  content:"THJUCE";
  position:absolute;
  font-family:'Bebas Neue',Impact,sans-serif;
  font-size:26vw;
  color:rgba(255,255,255,.03);
  white-space:nowrap;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  pointer-events:none;
}
.thj-hero-inner{position:relative;z-index:2;padding:40px 20px;max-width:900px;}
.thj-eyebrow{
  color:var(--thj-accent);
  font-weight:700;text-transform:uppercase;letter-spacing:3px;font-size:13px;
  margin-bottom:14px;
}
.thj-hero h1{
  font-size:clamp(48px,9vw,120px);
  line-height:.92;
  margin:0 0 18px;
}
.thj-hero p{
  color:var(--thj-muted);
  font-size:clamp(15px,2vw,19px);
  max-width:620px;margin:0 auto 28px;
}

/* ============ Buttons ============ */
.thj-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.wp-block-button__link,
.ast-button{
  display:inline-block;
  background:var(--thj-accent) !important;
  color:#000 !important;
  font-weight:800 !important;
  text-transform:uppercase;
  letter-spacing:1px;
  border:2px solid var(--thj-accent) !important;
  border-radius:100px !important;
  padding:14px 30px !important;
  transition:all .2s ease;
  text-decoration:none;
}
.thj-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wp-block-button__link:hover{
  background:transparent !important;
  color:var(--thj-accent) !important;
}
.thj-btn.thj-btn-ghost{
  background:transparent !important;color:var(--thj-text) !important;
  border-color:var(--thj-border) !important;
}
.thj-btn.thj-btn-ghost:hover{border-color:var(--thj-accent) !important;color:var(--thj-accent) !important;}

/* ============ Section wrap ============ */
.thj-section{padding:70px 20px;max-width:1200px;margin:0 auto;}
.thj-section h2{
  font-size:clamp(30px,5vw,56px);
  margin:0 0 6px;
}
.thj-section .thj-sub{color:var(--thj-muted);margin-bottom:34px;}

/* ============ Product cards ============ */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  background:var(--thj-card);
  border:1px solid var(--thj-border);
  border-radius:var(--thj-radius);
  padding:12px !important;
  transition:transform .25s ease,border-color .25s ease;
  overflow:hidden;
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-6px);
  border-color:var(--thj-accent);
}
.woocommerce ul.products li.product img{
  border-radius:10px;
  transition:transform .4s ease;
}
.woocommerce ul.products li.product:hover img{transform:scale(1.05);}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  color:var(--thj-text);
  font-family:'Bebas Neue',Impact,sans-serif;
  letter-spacing:.5px;
  font-size:20px;
  padding-top:10px !important;
}
.woocommerce ul.products li.product .price{color:var(--thj-accent) !important;font-weight:700;}
.woocommerce span.onsale{
  background:var(--thj-accent-2) !important;
  color:#fff !important;
  border-radius:100px;
  font-weight:800;text-transform:uppercase;
}

/* Single product */
.woocommerce div.product .product_title{font-size:clamp(30px,5vw,52px);}
.woocommerce div.product p.price,
.woocommerce div.product span.price{color:var(--thj-accent) !important;}

/* ============ Category chips ============ */
.thj-chips{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:10px;}
.thj-chip{
  background:var(--thj-bg-2);
  border:1px solid var(--thj-border);
  border-radius:100px;
  padding:10px 22px;
  text-transform:uppercase;
  font-weight:700;letter-spacing:.5px;font-size:13px;
  transition:all .2s ease;
}
.thj-chip:hover{background:var(--thj-accent);color:#000;border-color:var(--thj-accent);}

/* ============ Feature strip ============ */
.thj-features{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px;border-top:1px solid var(--thj-border);border-bottom:1px solid var(--thj-border);
  padding:26px 0;text-align:center;
}
.thj-feature h4{font-size:20px;margin:0 0 4px;color:var(--thj-accent);}
.thj-feature p{color:var(--thj-muted);margin:0;font-size:14px;}

/* ============ Footer ============ */
/* Hide Astra default footer; we render our own custom THJUCE footer */
footer.site-footer{display:none !important;}


/* ============ Inputs ============ */
input[type=text],input[type=email],input[type=password],input[type=tel],
input[type=number],textarea,select,.select2-container .select2-selection{
  background:var(--thj-bg-2) !important;
  border:1px solid var(--thj-border) !important;
  color:var(--thj-text) !important;
  border-radius:10px !important;
}

/* Cart/checkout tables */
.woocommerce table.shop_table{
  background:var(--thj-card);border:1px solid var(--thj-border);border-radius:var(--thj-radius);
}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{color:var(--thj-text);}

/* Notices */
.woocommerce-message,.woocommerce-info{
  border-top-color:var(--thj-accent) !important;background:var(--thj-card) !important;color:var(--thj-text) !important;
}

/* Scrollbar */
::-webkit-scrollbar{width:10px;height:10px;}
::-webkit-scrollbar-thumb{background:var(--thj-border);border-radius:10px;}
::-webkit-scrollbar-thumb:hover{background:var(--thj-accent);}

/* ============ Scroll reveal ============ */
.thj-reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease;}
.thj-reveal.thj-in{opacity:1;transform:none;}

/* ============ Loading screen ============ */
#thj-loader{
  position:fixed;inset:0;z-index:99999;background:var(--thj-bg);
  display:flex;align-items:center;justify-content:center;
  transition:opacity .5s ease,visibility .5s ease;
}
#thj-loader.thj-loaded{opacity:0;visibility:hidden;}
.thj-loader-logo{
  font-family:'Bebas Neue',Impact,sans-serif;font-size:14vw;letter-spacing:4px;color:var(--thj-text);
  position:relative;overflow:hidden;
}
.thj-loader-logo:after{
  content:"";position:absolute;left:-100%;top:0;height:100%;width:100%;
  background:linear-gradient(90deg,transparent,var(--thj-accent),transparent);
  animation:thj-shine 1.1s ease-in-out infinite;
}
@keyframes thj-shine{0%{left:-100%;}100%{left:100%;}}

/* ============ WhatsApp float ============ */
.thj-whatsapp{
  position:fixed;right:20px;bottom:20px;z-index:9000;
  width:56px;height:56px;border-radius:50%;
  background:#25d366;color:#fff !important;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.4);
  transition:transform .2s ease;
}
.thj-whatsapp:hover{transform:scale(1.08);color:#fff !important;}

/* ============ Wishlist FAB + header icon ============ */
.thj-wishfab{
  position:fixed;right:20px;bottom:88px;z-index:9000;
  width:56px;height:56px;border-radius:50%;border:none;cursor:pointer;
  background:var(--thj-card);color:var(--thj-accent);font-size:22px;
  box-shadow:0 8px 24px rgba(0,0,0,.4);
  display:flex;align-items:center;justify-content:center;transition:transform .2s ease;
}
.thj-wishfab:hover{transform:scale(1.08);}
.thj-header-wish{
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--thj-text) !important;font-size:20px;margin-left:14px;position:relative;text-decoration:none;
}
.thj-header-wish:hover{color:var(--thj-accent) !important;}

/* ============ Header cart icon ============ */
.thj-cart-link{
  display:inline-flex;align-items:center;justify-content:center;position:relative;
  color:var(--thj-text) !important;margin-left:16px;text-decoration:none;
}
.thj-cart-link:hover{color:var(--thj-accent) !important;}
.thj-cart-count{
  display:none;align-items:center;justify-content:center;
  position:absolute;top:-9px;right:-11px;min-width:18px;height:18px;padding:0 5px;
  background:var(--thj-accent);color:#000;border-radius:100px;font-size:11px;font-weight:800;line-height:1;
}
.thj-cart-count.thj-has{display:inline-flex;}

/* ============ Buy Now buttons ============ */
.woocommerce ul.products li.product .thj-buynow,
.thj-buynow{
  display:block !important;margin-top:8px !important;
  background:transparent !important;color:var(--thj-text) !important;
  border:2px solid var(--thj-accent) !important;
}
.woocommerce ul.products li.product .thj-buynow:hover,
.thj-buynow:hover{background:var(--thj-accent) !important;color:#000 !important;}
.thj-buynow-single{
  margin-left:10px !important;
  background:transparent !important;color:var(--thj-text) !important;
  border:2px solid var(--thj-accent) !important;
}
.thj-buynow-single:hover{background:var(--thj-accent) !important;color:#000 !important;}

.thj-wish-count{
  display:none;align-items:center;justify-content:center;
  position:absolute;top:-8px;right:-10px;min-width:18px;height:18px;padding:0 5px;
  background:var(--thj-accent);color:#000;border-radius:100px;font-size:11px;font-weight:800;
}
.thj-wishfab .thj-wish-count{top:-4px;right:-4px;}

/* ============ Wishlist drawer ============ */
#thj-wish-drawer{
  position:fixed;top:0;right:0;height:100%;width:360px;max-width:90vw;z-index:99998;
  background:var(--thj-bg-2);border-left:1px solid var(--thj-border);
  transform:translateX(100%);transition:transform .3s ease;padding:20px;overflow-y:auto;
}
#thj-wish-drawer.thj-open{transform:none;box-shadow:-20px 0 60px rgba(0,0,0,.5);}
.thj-wish-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--thj-border);padding-bottom:14px;margin-bottom:14px;}
.thj-wish-head h3{margin:0;}
.thj-wish-close{background:none;border:none;color:var(--thj-text);font-size:28px;cursor:pointer;line-height:1;}
.thj-wish-empty{color:var(--thj-muted);}
.thj-wish-item{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--thj-border);}
.thj-wish-item img{width:56px;height:56px;object-fit:cover;border-radius:8px;background:var(--thj-card);}
.thj-wish-item a{display:block;font-weight:600;color:var(--thj-text);text-decoration:none;}
.thj-wish-item span{display:block;color:var(--thj-accent);font-size:13px;}
.thj-wish-remove{margin-left:auto;background:none;border:none;color:var(--thj-muted);font-size:22px;cursor:pointer;}
.thj-wish-remove:hover{color:var(--thj-accent-2);}

/* ============ Product heart on cards ============ */
.thj-heart{
  position:absolute;top:18px;right:18px;z-index:5;
  width:38px;height:38px;border-radius:50%;border:none;cursor:pointer;
  background:rgba(0,0,0,.55);color:#fff;font-size:17px;
  display:flex;align-items:center;justify-content:center;transition:all .2s ease;
  backdrop-filter:blur(4px);
}
.thj-heart:hover{background:rgba(0,0,0,.8);}
.thj-heart.thj-active{background:var(--thj-accent);color:#000;}

/* ============ Product badges ============ */
.thj-badges{position:absolute;top:16px;left:16px;z-index:4;display:flex;flex-direction:column;gap:6px;}
.thj-badge{
  font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;
  padding:5px 10px;border-radius:100px;color:#000;
}
.thj-badge-new{background:var(--thj-accent);}
.thj-badge-sale{background:var(--thj-accent-2);color:#fff;}
.thj-badge-low{background:#fff;color:#000;}
.woocommerce ul.products li.product{position:relative;}

/* ============ Sticky add to cart ============ */
.thj-sticky-atc{
  position:fixed;left:0;right:0;bottom:0;z-index:9500;
  background:var(--thj-bg-2);border-top:1px solid var(--thj-border);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:12px 20px;transform:translateY(120%);transition:transform .3s ease;
}
.thj-sticky-atc.thj-show{transform:none;box-shadow:0 -10px 30px rgba(0,0,0,.4);}
.thj-sticky-info strong{display:block;font-family:'Bebas Neue',Impact,sans-serif;letter-spacing:.5px;font-size:18px;}
.thj-sticky-info span{color:var(--thj-accent);font-weight:700;}
.thj-sticky-btn{
  background:var(--thj-accent);color:#000;border:none;border-radius:100px;
  font-weight:800;text-transform:uppercase;letter-spacing:1px;padding:12px 26px;cursor:pointer;white-space:nowrap;
}

/* ============ Pincode checker ============ */
.thj-pincode-box{margin:18px 0;padding:16px;border:1px solid var(--thj-border);border-radius:var(--thj-radius);background:var(--thj-card);}
.thj-pincode-box label{display:block;font-weight:700;text-transform:uppercase;letter-spacing:.5px;font-size:13px;margin-bottom:8px;}
.thj-pincode-row{display:flex;gap:10px;}
.thj-pincode-row input{flex:1;}
.thj-pincode-row .thj-btn{padding:12px 20px !important;}
.thj-pin-out{margin-top:10px;font-size:14px;}
.thj-pin-ok{color:var(--thj-accent);}
.thj-pin-bad{color:var(--thj-accent-2);}

/* ============ Trust badges (single) ============ */
.thj-trust{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:20px 0;}
.thj-trust-item{border:1px solid var(--thj-border);border-radius:10px;padding:12px;background:var(--thj-card);}
.thj-trust-item b{display:block;color:var(--thj-text);font-size:14px;}
.thj-trust-item span{color:var(--thj-muted);font-size:12px;}

/* ============ Free shipping bar (cart) ============ */
.thj-freeship{background:var(--thj-card);border:1px solid var(--thj-border);border-radius:var(--thj-radius);padding:14px 16px;margin-bottom:20px;}
.thj-freeship-track{height:8px;background:var(--thj-bg);border-radius:100px;margin-top:8px;overflow:hidden;}
.thj-freeship-track span{display:block;height:100%;background:var(--thj-accent);transition:width .4s ease;}

/* ============ Email popup ============ */
#thj-popup{
  position:fixed;inset:0;z-index:99997;display:none;align-items:center;justify-content:center;
  background:rgba(0,0,0,.7);backdrop-filter:blur(4px);padding:20px;
}
#thj-popup.thj-open{display:flex;}
.thj-popup-card{
  position:relative;max-width:440px;width:100%;background:var(--thj-bg-2);
  border:1px solid var(--thj-border);border-radius:18px;padding:34px;text-align:center;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
}
.thj-popup-card h3{font-size:44px;margin:6px 0 8px;}
.thj-popup-card p{color:var(--thj-muted);margin:0 0 18px;}
.thj-popup-card small{color:var(--thj-muted);display:block;margin-top:12px;font-size:12px;}
.thj-popup-close{position:absolute;top:12px;right:16px;background:none;border:none;color:var(--thj-muted);font-size:26px;cursor:pointer;}
.thj-popup-form{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;}
.thj-popup-form input{flex:1;min-width:180px;}

/* ============ Custom footer ============ */
.thj-footer{background:var(--thj-bg-2);border-top:1px solid var(--thj-border);padding:50px 20px 24px;}
.thj-footer-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:30px;}
.thj-footer-logo{font-family:'Bebas Neue',Impact,sans-serif;font-size:34px;letter-spacing:2px;color:var(--thj-text);}
.thj-footer-brand p{color:var(--thj-muted);margin:10px 0 16px;max-width:320px;}
.thj-footer-col h4{color:var(--thj-text);text-transform:uppercase;letter-spacing:.5px;font-size:16px;margin:0 0 14px;}
.thj-footer-col a{display:block;color:var(--thj-muted);text-decoration:none;margin-bottom:8px;font-size:14px;}
.thj-footer-col a:hover{color:var(--thj-accent);}
.thj-footer-col .thj-popup-form input{width:100%;margin-bottom:8px;}
.thj-footer-bottom{max-width:1200px;margin:30px auto 0;padding-top:20px;border-top:1px solid var(--thj-border);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;color:var(--thj-muted);font-size:13px;}
@media(max-width:900px){
  .thj-footer-grid{grid-template-columns:1fr 1fr;}
  .thj-trust{grid-template-columns:1fr;}
}
@media(max-width:560px){
  .thj-footer-grid{grid-template-columns:1fr;}
}


