/*
Theme Name: Haha Clothing
Theme URI: https://haha-clothing.com
Author: Multiplatform International Tmi
Description: Modern green and white WooCommerce theme designed for Haha Clothing.
Version: 1.2.6
Text Domain: haha-clothing
Requires at least: 6.2
Requires PHP: 7.4
*/
:root{--hc-green:#16a34a;--hc-green-dark:#0f7a37;--hc-green-soft:#eaf8ef;--hc-text:#172019;--hc-muted:#677068;--hc-border:#e7ece8;--hc-white:#fff;--hc-shadow:0 14px 40px rgba(21,55,31,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--hc-text);background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1180px,calc(100% - 40px));margin:auto}
.hc-topbar{background:var(--hc-green);color:#fff;text-align:center;padding:9px 16px;font-size:14px;font-weight:700;letter-spacing:.02em}.hc-header{background:#fff;border-bottom:1px solid var(--hc-border);position:sticky;top:0;z-index:50}.hc-header-inner{min-height:86px;display:flex;align-items:center;gap:34px}.hc-brand{font-size:30px;font-weight:900;letter-spacing:.08em;line-height:1}.hc-brand span{color:var(--hc-green)}.hc-nav{display:flex;gap:28px;align-items:center;flex:1;justify-content:center}.hc-nav a{font-size:15px;font-weight:750}.hc-nav a:hover{color:var(--hc-green)}.hc-actions{display:flex;gap:14px;align-items:center}.hc-cart{background:var(--hc-green-soft);padding:11px 15px;border-radius:999px;font-weight:800;color:var(--hc-green-dark)}
.hc-hero{position:relative;min-height:560px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(0,0,0,.74) 0%,rgba(0,0,0,.22) 45%,rgba(0,0,0,.06) 70%),url('assets/images/hero.jpg') center/cover no-repeat;color:#fff}.hc-hero-content{max-width:650px;padding:90px 0}.hc-kicker{text-transform:uppercase;font-size:14px;letter-spacing:.14em;font-weight:900;color:#58e68b}.hc-hero h1{font-size:clamp(44px,6vw,78px);line-height:.98;margin:14px 0 20px;letter-spacing:-.045em}.hc-hero h1 span{color:#52d978}.hc-hero p{font-size:20px;line-height:1.55;max-width:560px;color:rgba(255,255,255,.92)}.hc-btn{display:inline-flex;align-items:center;gap:10px;background:var(--hc-green);color:#fff;padding:15px 24px;border-radius:10px;font-weight:900;margin-top:18px;box-shadow:0 12px 28px rgba(22,163,74,.28)}.hc-btn:hover{background:var(--hc-green-dark);transform:translateY(-1px)}
.hc-benefits{border-bottom:1px solid var(--hc-border);background:#fff}.hc-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.hc-benefit{padding:24px;display:flex;gap:13px;align-items:center;border-right:1px solid var(--hc-border)}.hc-benefit:last-child{border-right:0}.hc-benefit strong{display:block;font-size:14px}.hc-benefit small{color:var(--hc-muted)}.hc-icon{width:42px;height:42px;border-radius:12px;background:var(--hc-green-soft);color:var(--hc-green-dark);display:grid;place-items:center;font-size:21px}
.hc-section{padding:68px 0}.hc-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:26px}.hc-section h2{font-size:34px;margin:0}.hc-section-sub{color:var(--hc-muted);margin:8px 0 0}.hc-link{color:var(--hc-green-dark);font-weight:850}
.hc-carousel-wrap{position:relative}.hc-carousel{display:flex;gap:20px;overflow:hidden;scroll-behavior:smooth;padding:6px 2px 20px}.hc-card{min-width:calc((100% - 60px)/4);background:#fff;border:1px solid var(--hc-border);border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(20,50,28,.06);transition:.22s}.hc-card:hover{transform:translateY(-4px);box-shadow:var(--hc-shadow)}.hc-card-image{aspect-ratio:1/1;background:#f6f8f6;display:grid;place-items:center;overflow:hidden}.hc-card-image img{width:100%;height:100%;object-fit:cover}.hc-card-body{padding:18px}.hc-card h3{font-size:16px;margin:0 0 10px}.hc-price{font-weight:900;color:var(--hc-green-dark)}.hc-carousel-btn{position:absolute;top:43%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:#fff;box-shadow:var(--hc-shadow);font-size:23px;cursor:pointer;z-index:2}.hc-prev{left:-20px}.hc-next{right:-20px}.hc-empty{padding:34px;border:1px dashed var(--hc-border);border-radius:16px;color:var(--hc-muted);width:100%}
.hc-content{padding:50px 0}.site-main{min-height:50vh}.hc-footer{background:#10351d;color:#fff;margin-top:60px}.hc-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding:52px 0}.hc-footer p,.hc-footer a{color:rgba(255,255,255,.78)}.hc-footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0;color:rgba(255,255,255,.65);font-size:14px}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{border:1px solid var(--hc-border);border-radius:16px;padding:12px;background:#fff;box-shadow:0 8px 20px rgba(20,50,28,.05)}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--hc-green)!important;color:#fff!important;border-radius:9px!important}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--hc-green-dark)!important}
@media(max-width:900px){.hc-nav{display:none}.hc-header-inner{justify-content:space-between}.hc-benefit-grid{grid-template-columns:repeat(2,1fr)}.hc-card{min-width:calc((100% - 20px)/2)}.hc-footer-grid{grid-template-columns:1fr}.hc-hero{min-height:500px}.hc-carousel-btn{display:none}}
@media(max-width:600px){.container{width:min(100% - 24px,1180px)}.hc-brand{font-size:24px}.hc-hero{min-height:470px;background-position:60% center}.hc-hero-content{padding:70px 0}.hc-hero h1{font-size:44px}.hc-hero p{font-size:17px}.hc-benefit-grid{grid-template-columns:1fr}.hc-benefit{border-right:0;border-bottom:1px solid var(--hc-border)}.hc-card{min-width:82%}.hc-section{padding:48px 0}.hc-section-head{align-items:start;gap:12px;flex-direction:column}}
.hc-nav>ul{display:flex;gap:28px;align-items:center;list-style:none;margin:0;padding:0}.hc-nav li{margin:0}.hc-nav .sub-menu{display:none;position:absolute;background:#fff;padding:12px;box-shadow:var(--hc-shadow);border-radius:10px}.hc-nav li{position:relative}.hc-nav li:hover>.sub-menu{display:block}


/* Version 1.1 additions */
.hc-topbar{overflow:hidden;white-space:nowrap;padding:0;height:38px;display:flex;align-items:center}.hc-ticker-track{display:inline-flex;min-width:max-content;animation:hcTicker 24s linear infinite}.hc-ticker-track span{display:inline-block;padding-right:80px;font-size:14px;font-weight:800;letter-spacing:.03em}@keyframes hcTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.hc-brand small{display:block;font-size:11px;letter-spacing:.3em;margin-top:8px}.hc-header-carousel{background:#f4fbf6;border-bottom:1px solid var(--hc-border);padding:16px 0 20px}.hc-header-carousel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.hc-header-carousel-head strong{font-size:18px}.hc-header-carousel-head a{font-size:13px;font-weight:850;color:var(--hc-green-dark)}.hc-header-carousel .hc-carousel{gap:14px;padding-bottom:4px;overflow-x:auto;scrollbar-width:none}.hc-header-carousel .hc-carousel::-webkit-scrollbar{display:none}.hc-mini-card{min-width:190px;max-width:190px;border-radius:14px}.hc-mini-card .hc-card-image{aspect-ratio:4/3}.hc-mini-card .hc-card-body{padding:11px 12px}.hc-mini-card h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:5px}.hc-mini-card .hc-price{font-size:13px}.hc-header-carousel .hc-carousel-btn{width:36px;height:36px;font-size:20px;top:53%}.hc-header-carousel .hc-prev{left:-17px}.hc-header-carousel .hc-next{right:-17px}
.hc-hero{min-height:610px;background-position:center;background-size:cover;background-repeat:no-repeat}.hc-office-section{padding:64px 0;background:var(--hc-green-soft)}.hc-office-card{background:#fff;border:1px solid #dcebe0;border-radius:22px;padding:32px;display:flex;align-items:flex-start;gap:22px;box-shadow:var(--hc-shadow)}.hc-office-card h2{margin:4px 0 8px;font-size:30px}.hc-office-card p{margin:0;color:var(--hc-muted);line-height:1.6}.hc-office-card a,.hc-office-link{display:inline-block;margin-top:12px;color:var(--hc-green-dark);font-weight:850}.hc-office-pin{width:58px;height:58px;border-radius:18px;background:var(--hc-green);color:#fff;display:grid;place-items:center;font-size:30px;flex:0 0 auto}.hc-office-eyebrow{font-size:12px;letter-spacing:.14em;font-weight:900;color:var(--hc-green-dark)}.hc-office-widget{background:var(--hc-green-soft);border-radius:16px;padding:20px}.hc-office-widget .hc-office-pin{width:44px;height:44px;font-size:23px;margin-bottom:12px}
@media(max-width:900px){.hc-header-carousel .hc-carousel-btn{display:block}.hc-mini-card{min-width:170px;max-width:170px}.hc-hero{min-height:540px}}
@media(max-width:600px){.hc-topbar{height:34px}.hc-ticker-track span{font-size:12px}.hc-header-carousel{padding-top:12px}.hc-mini-card{min-width:145px;max-width:145px}.hc-header-carousel .hc-carousel-btn{display:none}.hc-hero{min-height:500px}.hc-office-card{padding:24px;flex-direction:column}}

/* Three benefit cards after removing the free-shipping promise. */
.hc-benefit-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.hc-benefit-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.hc-benefit-grid{grid-template-columns:1fr}}

/* Version 1.2.0: WordPress widget areas, shop sidebar and footer menu */
.hc-shop-layout,.hc-page-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;align-items:start}
.hc-shop-layout.has-sidebar.sidebar-right{grid-template-columns:minmax(0,1fr) 300px}.hc-shop-layout.has-sidebar.sidebar-left{grid-template-columns:300px minmax(0,1fr)}
.hc-page-layout.has-sidebar{grid-template-columns:minmax(0,1fr) 300px}
.hc-shop-sidebar,.hc-sidebar{position:sticky;top:110px}
.widget{margin:0 0 22px;padding:22px;background:#fff;border:1px solid var(--hc-border);border-radius:16px;box-shadow:0 8px 22px rgba(20,50,28,.05)}
.widget-title{font-size:18px;margin:0 0 15px;color:var(--hc-green-dark)}
.widget ul{list-style:none;margin:0;padding:0}.widget li{padding:8px 0;border-bottom:1px solid var(--hc-border)}.widget li:last-child{border-bottom:0}
.widget select,.widget input[type=search],.widget input[type=text]{width:100%;padding:10px 12px;border:1px solid var(--hc-border);border-radius:9px}
.hc-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hc-footer-column{min-width:0}.hc-footer .widget{padding:0;margin:0;background:transparent;border:0;box-shadow:none}.hc-footer .widget-title{color:#fff}.hc-footer .widget li{border-color:rgba(255,255,255,.12)}
.hc-footer-menu{border-top:1px solid rgba(255,255,255,.12);padding:20px 0}.hc-footer-menu-list{display:flex;flex-wrap:wrap;gap:22px;list-style:none;margin:0;padding:0}.hc-footer-menu-list a{font-weight:750;color:rgba(255,255,255,.82)}.hc-footer-menu-list a:hover{color:#fff}
@media(max-width:980px){.hc-shop-layout.has-sidebar,.hc-page-layout.has-sidebar{grid-template-columns:1fr}.hc-shop-sidebar,.hc-sidebar{position:static}.hc-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hc-footer-grid{grid-template-columns:1fr}.hc-footer-menu-list{flex-direction:column;gap:12px}}

/* Version 1.2.2 */
.hc-admin-card select{width:100%;margin-top:7px}.hc-shop-layout.sidebar-none{grid-template-columns:minmax(0,1fr)}

/* Version 1.2.3: slow automatic product-carousel movement */
.hc-header-carousel .hc-carousel{scroll-behavior:auto}
.hc-header-carousel-wrap:hover .hc-carousel{cursor:grab}
.hc-header-carousel-wrap:active .hc-carousel{cursor:grabbing}
@media (prefers-reduced-motion:reduce){.hc-header-carousel .hc-carousel{scroll-behavior:auto}}


/* Version 1.2.5: lightweight carousel, product-based hero, OSM map and reliable sidebar order */
.hc-osm-map{margin-top:18px}.hc-osm-map iframe{display:block;width:100%;height:280px;border:0;border-radius:14px;background:#edf3ee}.hc-osm-map a{display:inline-block;margin-top:9px;font-weight:800;color:var(--hc-green-dark)}
.hc-office-widget .hc-osm-map iframe{height:220px}
.hc-shop-layout.sidebar-left .hc-shop-sidebar{grid-column:1;grid-row:1}.hc-shop-layout.sidebar-left .hc-shop-main{grid-column:2;grid-row:1}.hc-shop-layout.sidebar-right .hc-shop-main{grid-column:1;grid-row:1}.hc-shop-layout.sidebar-right .hc-shop-sidebar{grid-column:2;grid-row:1}

/* Version 1.2.6: hero uses one complete banner image; no product cards over the hero */
@media(max-width:980px){.hc-shop-layout.sidebar-left .hc-shop-sidebar,.hc-shop-layout.sidebar-left .hc-shop-main,.hc-shop-layout.sidebar-right .hc-shop-sidebar,.hc-shop-layout.sidebar-right .hc-shop-main{grid-column:1;grid-row:auto}}
@media(max-width:600px){.hc-osm-map iframe{height:230px}}
