/*
Theme Name: Hirakawa Astra Child
Theme URI: https://hirakawaservices.com/
Description: Astra child theme for HIRAKAWA SERVICES.
Author: OpenAI for HIRAKAWA SERVICES
Template: astra
Version: 7.0.0
Text Domain: hirakawa-astra-child
*/

:root{
  --hk-yellow:#FFE600;
  --hk-yellow-soft:#FFF36A;
  --hk-black:#060606;
  --hk-black-2:#0B0B0B;
  --hk-charcoal:#141414;
  --hk-panel:#1B1B1B;
  --hk-border:#303030;
  --hk-white:#FFFFFF;
  --hk-muted:#B7B7B7;
  --hk-max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--hk-black)!important;color:var(--hk-white)!important;font-family:Arial,Helvetica,sans-serif;margin:0}
a{color:var(--hk-yellow)}
a:hover{color:var(--hk-yellow-soft)}
.site-content,.ast-container{max-width:none!important;padding:0!important}

/* Astra header */
.ast-primary-header-bar{
  background:#050505!important;
  border-bottom:1px solid #232323!important;
  min-height:64px!important;
}
.site-header-section{min-height:64px!important}
.site-branding{padding:0!important}
.site-title,.site-description{display:none!important}
.custom-logo-link img,.site-logo-img img{
  max-height:52px!important;
  width:auto!important;
}
.main-header-menu>.menu-item>.menu-link{
  color:#fff!important;
  font-weight:700!important;
  letter-spacing:.035em;
}
.main-header-menu>.menu-item>.menu-link:hover,
.main-header-menu>.current-menu-item>.menu-link{color:var(--hk-yellow)!important}

/* Remove Astra default footer completely */
.site-primary-footer-wrap,
.site-above-footer-wrap,
.site-below-footer-wrap,
.ast-small-footer,
.site-footer,
footer.site-footer{display:none!important}

/* Global typography protection against Astra/Spectra conflicts */
.hk-wrap h1,.hk-wrap h2,.hk-wrap h3,.hk-wrap h4,
.hk-wrap p,.hk-wrap strong,.hk-wrap span{color:inherit}
.hk-wrap h1,.hk-wrap h2,.hk-wrap h3,.hk-wrap h4{color:#fff!important}
.hk-wrap .accent,.hk-wrap .hk-kicker,.hk-wrap .hk-proof-item b{color:var(--hk-yellow)!important}
.hk-wrap .hk-lead,.hk-wrap .hk-card p,.hk-wrap .hk-badge span,
.hk-wrap .hk-card-cta p,.hk-wrap .hk-panel p{color:var(--hk-muted)!important}

.hk-wrap{
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 7%,rgba(255,230,0,.10),transparent 26rem),
    linear-gradient(180deg,#060606,#0b0b0b 45%,#070707);
}
.hk-container{width:min(var(--hk-max),calc(100% - 40px));margin:0 auto}
.hk-section{padding:72px 0}
.hk-kicker{
  display:inline-flex;align-items:center;gap:8px;color:var(--hk-yellow)!important;
  font-size:.82rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase;margin-bottom:14px
}
.hk-kicker:before{content:"";width:32px;height:3px;background:var(--hk-yellow)}
.hk-title{
  font-size:clamp(2.2rem,4.5vw,4.8rem);line-height:.95;margin:0 0 18px!important;color:#fff!important;
  font-weight:900!important;letter-spacing:-.05em;text-transform:uppercase
}
.hk-title .accent{color:var(--hk-yellow)!important}
.hk-lead{max-width:680px;color:#d0d0d0!important;font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.68;margin:0!important}

.hk-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.hk-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;
  border-radius:11px;text-decoration:none!important;font-weight:900;text-transform:uppercase;
  letter-spacing:.045em;border:1px solid var(--hk-yellow);transition:.18s ease
}
.hk-btn.primary{background:var(--hk-yellow)!important;color:#050505!important}
.hk-btn.secondary{background:#101010!important;color:#fff!important}
.hk-btn.ghost{background:transparent!important;color:#ddd!important;border-color:#494949}
.hk-btn:hover{transform:translateY(-1px);filter:brightness(1.04)}

.hk-hero{min-height:640px;display:grid;align-items:center;padding:46px 0 46px;border-bottom:1px solid #222}
.hk-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:38px;align-items:center}
.hk-hero-copy{padding:8px 0}
.hk-hero-brand{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.hk-mini-logo{
  width:70px;height:70px;border-radius:16px;background:#0d0d0d;border:1px solid #2a2a2a;
  display:flex;align-items:center;justify-content:center;padding:8px;overflow:hidden
}
.hk-mini-logo img{width:100%;height:100%;object-fit:contain}
.hk-brand-text strong{display:block;font-size:1.05rem;letter-spacing:.06em;text-transform:uppercase;color:#fff!important}
.hk-brand-text span{display:block;margin-top:4px;color:var(--hk-yellow)!important;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}

.hk-hero-card{
  position:relative;background:linear-gradient(180deg,rgba(255,230,0,.03),transparent 28%),#050505;
  border:1px solid #2d2d2d;border-radius:24px;padding:18px;min-height:430px;
  display:flex;align-items:center;justify-content:center;overflow:hidden
}
.hk-hero-card:before{
  content:"";position:absolute;width:300px;height:300px;border-radius:50%;
  background:rgba(255,230,0,.08);filter:blur(60px);right:-80px;top:-50px
}
.hk-hero-logo{width:100%;height:auto;display:block;position:relative;z-index:1}
.hk-proof{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:24px}
.hk-proof-item{border:1px solid #2e2e2e;background:#101010;border-radius:13px;padding:13px}
.hk-proof-item b{display:block;color:var(--hk-yellow)!important;font-size:1.03rem}
.hk-proof-item span{display:block;color:#aaa!important;font-size:.8rem;margin-top:4px}

.hk-strip{background:var(--hk-yellow);color:#080808}
.hk-strip .hk-container{
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding-top:14px;padding-bottom:14px;font-weight:900;text-transform:uppercase;letter-spacing:.06em
}
.hk-strip span{color:#080808!important}

.hk-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:32px}
.hk-card{background:linear-gradient(180deg,#191919,#101010);border:1px solid var(--hk-border);border-radius:18px;padding:26px}
.hk-card .num{font-size:.8rem;color:var(--hk-yellow)!important;font-weight:900;letter-spacing:.12em}
.hk-card h3{color:#fff!important;margin:16px 0 10px!important;font-size:1.38rem;text-transform:uppercase}
.hk-card p{color:#bcbcbc!important;line-height:1.65;margin:0!important}
.hk-card .line{width:44px;height:4px;background:var(--hk-yellow);margin-top:20px}

.hk-dark{background:#0d0d0d}
.hk-split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.hk-panel{background:linear-gradient(145deg,#181818,#0e0e0e);border:1px solid #303030;border-radius:20px;padding:28px}
.hk-panel h3{color:#fff!important}
.hk-list{display:grid;gap:12px;margin-top:22px}
.hk-list-item{display:flex;gap:12px;align-items:flex-start;color:#d0d0d0!important}
.hk-list-item i{width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:var(--hk-yellow);display:inline-block;margin-top:2px}
.hk-list-item strong{color:#fff!important}

.hk-coverage{background:linear-gradient(90deg,rgba(255,230,0,.07),transparent 28%),#111}
.hk-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.hk-badge{border:1px solid #333;border-radius:16px;padding:20px;background:#171717}
.hk-badge strong{display:block;color:#fff!important;font-size:1.1rem}
.hk-badge span{display:block;color:#aaa!important;margin-top:5px}

.hk-contact-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px}
.hk-contact-panel{background:#151515;border:1px solid #333;border-radius:22px;padding:28px}
.hk-contact-panel h2,.hk-card-cta h2{color:#fff!important}
.hk-contact-line{padding:12px 0;border-bottom:1px solid #2d2d2d}
.hk-contact-line:last-child{border-bottom:0}
.hk-contact-line small{display:block;color:#8f8f8f!important;text-transform:uppercase;letter-spacing:.08em}
.hk-contact-line a,.hk-contact-line strong{display:block;color:#fff!important;margin-top:4px;font-size:1.05rem;text-decoration:none}
.hk-card-cta{
  display:grid;place-items:center;text-align:center;min-height:100%;
  background:linear-gradient(135deg,rgba(255,230,0,.13),transparent 50%),#111;
  border:1px solid #343434;border-radius:22px;padding:30px
}

.hk-footer{border-top:1px solid #262626;background:#050505;padding:30px 0;color:#999!important}
.hk-footer-grid{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}
.hk-footer strong{color:#fff!important}
.hk-footer a{color:var(--hk-yellow)!important;text-decoration:none}

/* Global inner pages */
.hk-page-shell{background:#080808;min-height:70vh;padding:54px 0 78px}
.hk-page-hero{border-bottom:1px solid #292929;padding:10px 0 32px;margin-bottom:34px}
.hk-page-title{font-size:clamp(2.2rem,5vw,4.8rem);line-height:.98;margin:0!important;color:#fff!important;text-transform:uppercase;font-weight:900!important;letter-spacing:-.04em}
.hk-page-content{background:#111;border:1px solid #2d2d2d;border-radius:20px;padding:clamp(22px,4vw,44px);color:#d3d3d3!important}
.hk-page-content h2,.hk-page-content h3,.hk-page-content h4{color:#fff!important}
.hk-page-content p,.hk-page-content li{color:#d3d3d3!important;line-height:1.72}
.hk-page-content a{color:var(--hk-yellow)!important}
.hk-page-content img{border-radius:14px}

/* Smaller floating mobile bar */
.hk-mobile-cta{display:none}

@media(max-width:900px){
  .hk-hero{min-height:auto;padding:36px 0 40px}
  .hk-hero-grid,.hk-split,.hk-contact-grid{grid-template-columns:1fr}
  .hk-grid-3,.hk-badges{grid-template-columns:1fr}
  .hk-proof{grid-template-columns:1fr 1fr}
  .hk-section{padding:56px 0}
  .hk-hero-card{min-height:280px;order:-1}
}
@media(max-width:600px){
  .ast-primary-header-bar{min-height:56px!important}
  .site-header-section{min-height:56px!important}
  .custom-logo-link img,.site-logo-img img{max-height:42px!important}
  .hk-container{width:min(100% - 28px,var(--hk-max))}
  .hk-hero{padding:18px 0 30px}
  .hk-hero-card{min-height:230px;border-radius:18px;padding:10px;margin-bottom:4px}
  .hk-hero-brand{display:none}
  .hk-kicker{font-size:.72rem;letter-spacing:.11em}
  .hk-title{font-size:clamp(2.15rem,10.7vw,3.6rem);line-height:.99;margin-bottom:15px!important}
  .hk-lead{font-size:.98rem;line-height:1.55}
  .hk-btns{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}
  .hk-btn{width:100%;min-height:47px;padding:0 11px;font-size:.86rem}
  .hk-btn.ghost{grid-column:1/-1}
  .hk-proof{grid-template-columns:1fr 1fr;margin-top:16px}
  .hk-proof-item{padding:10px}
  .hk-section{padding:48px 0}
  .hk-contact-panel,.hk-card-cta,.hk-panel{padding:22px}
  .hk-mobile-cta{position:fixed;display:flex;left:10px;right:10px;bottom:8px;z-index:99999;gap:8px}
  .hk-mobile-cta a{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:10px;text-decoration:none;font-weight:900;font-size:.9rem}
  .hk-mobile-cta .call{background:var(--hk-yellow);color:#080808}
  .hk-mobile-cta .wa{background:#171717;color:#fff;border:1px solid #3a3a3a}
  body{padding-bottom:58px}
  .hk-page-shell{padding:34px 0 62px}
  .hk-page-content{border-radius:16px}
}

/* =========================================================
   HIRAKAWA x MOTORS — inventory / motorcycle listings
   ========================================================= */
body.post-type-archive-listings,
body.single-listings,
body.tax-listing_category,
body[class*="stm-listings"]{
  background:#080808!important;
  color:#fff!important;
}
.stm-listings-page,
.stm-inventory-page,
.stm-listing-directory-list-loop,
.listing-list-loop,
.stm-isotope-listing-item,
.stm-listing-single,
.stm-single-car-page{
  color:#fff!important;
}
.stm-listing-directory-list-loop,
.listing-list-loop,
.stm-isotope-listing-item,
.stm-listing-single,
.stm-single-car-page .stm-single-car-content{
  background:#131313!important;
  border:1px solid #303030!important;
  border-radius:18px!important;
  overflow:hidden;
}
.stm-listing-directory-list-loop h3,
.stm-listing-directory-list-loop h4,
.listing-list-loop h3,
.listing-list-loop h4,
.stm-isotope-listing-item h3,
.stm-isotope-listing-item h4,
.stm-single-car-page h1,
.stm-single-car-page h2,
.stm-single-car-page h3,
.stm-listing-single h1,
.stm-listing-single h2,
.stm-listing-single h3{
  color:#fff!important;
}
.stm-listing-directory-list-loop .price,
.listing-list-loop .price,
.stm-listing-single-price-title,
.stm-listing-single-price,
.stm-car-listing-data-single .stm-label,
.stm-listing-info-table .price{
  color:#FFE600!important;
  font-weight:900!important;
}
.stm-listing-directory-list-loop a,
.listing-list-loop a,
.stm-isotope-listing-item a,
.stm-single-car-page a,
.stm-listing-single a{
  color:#FFE600!important;
}
.stm-listing-directory-list-loop .button,
.stm-listing-directory-list-loop button,
.listing-list-loop .button,
.listing-list-loop button,
.stm-single-car-page .button,
.stm-single-car-page button,
.stm-listing-single .button,
.stm-listing-single button{
  background:#FFE600!important;
  color:#080808!important;
  border:0!important;
  border-radius:10px!important;
  font-weight:900!important;
}
.stm_dynamic_listing_filter,
.stm-listing-filter,
.stm-listing-filter-sidebar{
  background:#111!important;
  border:1px solid #303030!important;
  border-radius:18px!important;
  color:#fff!important;
}
.stm_dynamic_listing_filter input,
.stm_dynamic_listing_filter select,
.stm-listing-filter input,
.stm-listing-filter select,
.stm-listing-filter-sidebar input,
.stm-listing-filter-sidebar select{
  background:#1a1a1a!important;
  color:#fff!important;
  border:1px solid #3a3a3a!important;
  border-radius:9px!important;
}
.stm-isotope-sorting,
.stm-listing-sort-by{color:#fff!important}
.stm-isotope-sorting a.active,
.stm-isotope-sorting a:hover{color:#FFE600!important}
.stm-listing-directory-list-loop img,
.listing-list-loop img,
.stm-isotope-listing-item img,
.stm-single-car-page img{border-radius:12px}
.stm-single-car-page .stm-car-price,
.stm-listing-single .stm-car-price{
  background:#FFE600!important;
  color:#080808!important;
  border-radius:12px!important;
}
.stm-single-car-page .stm-car-price *,
.stm-listing-single .stm-car-price *{color:#080808!important}
@media(max-width:768px){
  .stm-listing-directory-list-loop,
  .listing-list-loop,
  .stm-isotope-listing-item{border-radius:14px!important}
}

/* V6 — Home motorcycle stock */
.hk-motorcycles{background:#0b0b0b;border-top:1px solid #242424;border-bottom:1px solid #242424}
.hk-bike-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:32px}
.hk-bike-card{background:#121212;border:1px solid #303030;border-radius:18px;overflow:hidden}
.hk-bike-image{display:block;aspect-ratio:4/3;background:#181818;overflow:hidden}
.hk-bike-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.hk-bike-card:hover .hk-bike-image img{transform:scale(1.025)}
.hk-bike-placeholder{height:100%;display:grid;place-items:center;color:#FFE600;font-weight:900;letter-spacing:.08em}
.hk-bike-body{padding:20px}.hk-bike-body h3{font-size:1.35rem;margin:0 0 12px}.hk-bike-body h3 a{color:#fff;text-decoration:none}
.hk-bike-price{font-size:1.55rem;font-weight:900;color:#FFE600;margin:0 0 16px}
.hk-bike-body .hk-btn{width:100%;text-align:center}.hk-stock-actions{margin-top:26px}
@media(max-width:900px){.hk-bike-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.hk-bike-grid{grid-template-columns:1fr}.hk-bike-body{padding:18px}}


/* ===============================
   HIRAKAWA MOTORCYCLE SALES V7
   =============================== */
.hk-stock-shell{background:#080808;min-height:70vh;padding:52px 0 80px}
.hk-stock-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.hk-bike-card{background:#121212;border:1px solid #303030;border-radius:18px;overflow:hidden}
.hk-bike-card-media{aspect-ratio:4/3;background:#090909;overflow:hidden}
.hk-bike-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.hk-bike-card-body{padding:20px}
.hk-bike-card h2,.hk-bike-card h3{color:#fff!important;margin:0 0 8px!important}
.hk-bike-price{color:#FFE600!important;font-size:1.45rem;font-weight:900;margin:8px 0 14px}
.hk-bike-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.hk-bike-meta span{background:#1c1c1c;border:1px solid #343434;border-radius:999px;padding:7px 10px;color:#cfcfcf!important;font-size:.82rem}
.hk-bike-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.hk-bike-actions a{flex:1;min-width:130px}

.hk-single-bike{background:#080808;padding:46px 0 80px}
.hk-bike-top{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:start}
.hk-bike-gallery{display:grid;gap:12px}
.hk-bike-main-image{background:#101010;border:1px solid #303030;border-radius:20px;overflow:hidden}
.hk-bike-main-image img{display:block;width:100%;height:auto}
.hk-bike-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.hk-bike-thumbs img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;border:1px solid #303030}
.hk-bike-summary{background:#111;border:1px solid #303030;border-radius:20px;padding:26px}
.hk-bike-summary h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1;margin:0 0 14px!important;color:#fff!important}
.hk-bike-summary .hk-bike-price{font-size:2rem}
.hk-bike-specs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}
.hk-bike-spec{background:#181818;border:1px solid #303030;border-radius:12px;padding:12px}
.hk-bike-spec small{display:block;color:#898989!important;text-transform:uppercase;letter-spacing:.06em}
.hk-bike-spec strong{display:block;color:#fff!important;margin-top:4px}
.hk-bike-description{margin-top:28px;background:#111;border:1px solid #303030;border-radius:20px;padding:26px}
.hk-bike-description h2{color:#fff!important}
.hk-bike-description p,.hk-bike-description li{color:#d1d1d1!important;line-height:1.7}
.hk-sale-back{display:inline-flex;margin-bottom:18px;color:#FFE600!important;text-decoration:none;font-weight:800}
.hk-stock-empty{padding:30px;border:1px solid #303030;border-radius:16px;background:#111;color:#ccc}

@media(max-width:900px){
 .hk-stock-grid{grid-template-columns:1fr 1fr}
 .hk-bike-top{grid-template-columns:1fr}
}
@media(max-width:600px){
 .hk-stock-shell,.hk-single-bike{padding:28px 0 64px}
 .hk-stock-grid{grid-template-columns:1fr}
 .hk-bike-summary,.hk-bike-description{padding:20px}
 .hk-bike-specs{grid-template-columns:1fr 1fr}
}
