@media(max-width:1024px){.main-header{grid-template-columns:210px 1fr auto}.category-grid{grid-template-columns:repeat(4,1fr)}.deal-grid,.store-grid{grid-template-columns:repeat(3,1fr)}.why-grid{grid-template-columns:repeat(2,1fr)}.footer-main{grid-template-columns:2fr 1fr 1fr}.category-panel-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){.container{width:min(100% - 24px,640px)}.topbar{display:none}.main-header{grid-template-columns:1fr auto;padding:12px 0}.header-search{display:none}.hamburger{display:block}.nav{display:none}.category-toggle{display:none}.primary-menu{display:none}.mobile-menu{position:fixed;inset:0 0 0 auto;width:min(340px,88vw);background:#fff;box-shadow:-10px 0 30px rgba(0,0,0,.18);padding:18px;transform:translateX(105%);transition:.25s;display:block;z-index:1000}.mobile-menu.is-open{transform:translateX(0)}.mobile-menu-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:15px;border-bottom:1px solid #eee}.mobile-close{border:0;background:none;font-size:28px}.mobile-menu-list{list-style:none;padding:10px 0;margin:0}.mobile-menu-list a{display:block;padding:12px;border-bottom:1px solid #f0f2f5}.hero-grid{grid-template-columns:1fr;padding:45px 0}.hero-visual{height:250px;overflow:hidden}.hero-visual img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}.hero h1{font-size:40px}.trust-grid,.feature-grid{grid-template-columns:repeat(2,1fr)}.category-grid,.category-grid.large{grid-template-columns:repeat(2,1fr)}.promo-grid,.testimonial-grid,.blog-grid{grid-template-columns:1fr}.deal-grid,.store-grid{grid-template-columns:repeat(2,1fr)}.newsletter-box,.newsletter-inner{display:grid}.subscribe-form{min-width:0;width:100%;height:48px}.footer-main{grid-template-columns:1fr 1fr}.archive-grid,.single-layout{grid-template-columns:1fr}.filter-sidebar{order:-1}.product-detail{grid-template-columns:1fr}.account-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.coupon-card{grid-template-columns:1fr}.coupon-action{justify-content:flex-start}.page-hero h1{font-size:30px}}
@media(max-width:480px){.container{width:calc(100% - 20px)}.brand{font-size:16px}.brand-mark{width:30px;height:30px}.header-actions{gap:7px;font-size:20px}.hero h1{font-size:34px}.hero p{font-size:15px}.trust-grid,.feature-grid,.category-grid,.deal-grid,.store-grid,.why-grid{grid-template-columns:1fr 1fr;gap:10px}.category-card{padding:14px 8px}.section{padding:38px 0}.section-head{align-items:flex-start;display:block}.section-head>a{display:inline-block;margin-top:10px}.footer-main{grid-template-columns:1fr}.single-card{padding:18px}.single-head h1{font-size:30px}.coupon-action{flex-wrap:wrap}.promo-overlay strong{font-size:22px}}
@media(max-width:900px){.store-offer-card{grid-template-columns:90px 1fr 130px}.offer-action{grid-column:2 / -1}.store-highlights{grid-template-columns:repeat(2,1fr)}.store-about-grid{grid-template-columns:1fr}.store-popular-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.store-detail-hero{padding:25px 20px}.store-detail-brand{grid-template-columns:1fr;gap:18px}.store-detail-logo{width:105px;height:105px}.store-detail-hero h1{font-size:29px}.store-offer-card{grid-template-columns:1fr;gap:11px;padding:16px}.offer-value{border-left:0;border-top:1px solid #edf0f3;padding:10px 0 0;text-align:left}.offer-action{grid-column:auto}.store-highlights{grid-template-columns:1fr 1fr}.store-popular-grid{grid-template-columns:repeat(2,1fr)}.store-section-title{display:block}.store-section-title>a{display:inline-block;margin-top:10px}}

@media(max-width:768px){.store-detail-page{width:min(100% - 20px,640px)}.store-offers-section{padding:18px 12px;border-radius:16px}.store-offer-card{grid-template-columns:82px 1fr;gap:12px;padding:12px}.offer-value-tile{min-height:70px}.offer-value-tile strong{font-size:16px}.offer-main h3{font-size:15px}.offer-action{grid-column:1/-1;justify-content:stretch}.store-code-btn{width:100%;min-width:0;padding:12px}.store-detail-hero{border-radius:16px}.store-detail-hero h1{font-size:27px}.store-highlights{gap:10px}.highlight-box{padding:14px 10px}.store-product-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}.store-popular-grid{gap:10px!important}.store-card-logo-only{padding:12px}.store-card-logo-only .store-logo-inner{height:82px;padding:0;overflow:hidden}.store-card-logo-only .store-logo img{height:100%;width:100%;object-fit:cover;padding:0;margin:0}.help-grid{grid-template-columns:1fr;padding-bottom:35px}.contact-card{padding:17px;margin-bottom:35px}}
@media(max-width:480px){.store-offer-card{grid-template-columns:1fr}.offer-value-tile{min-height:62px;align-items:flex-start;text-align:left;padding:10px 13px}.offer-value-tile strong{font-size:18px}.offer-action{grid-column:auto}.store-highlights{grid-template-columns:1fr 1fr}.store-product-grid{grid-template-columns:1fr!important}.store-popular-grid{grid-template-columns:1fr 1fr!important}.store-section-title h2{font-size:22px}.store-section-title p{font-size:13px}.help-card{padding:20px}}


/* v2.9.4 — clean mobile header: logo left, menu right */
@media(max-width:768px){
  .site-header{z-index:1000}
  .main-header{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 46px;align-items:center;gap:12px;min-height:58px;padding:8px 0}
  .main-header .brand{grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;min-width:0;font-size:16px;gap:7px;white-space:nowrap;overflow:hidden}
  .main-header .brand .custom-logo{max-height:36px;width:auto}
  .main-header .brand-mark{width:30px;height:30px;flex:0 0 30px;border-radius:8px;font-size:10px}
  .main-header>.hamburger{grid-column:2;grid-row:1;display:flex;justify-self:end;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #e4e9ef;background:#fff;border-radius:11px;padding:7px;box-shadow:0 4px 14px rgba(6,26,58,.07);cursor:pointer}
  .main-header>.hamburger span{width:22px;height:2px;background:#061A3A;margin:3px 0;border-radius:3px;transition:transform .2s,opacity .2s}
  .main-header>.chh-search-wrap,.main-header .header-actions{display:none}
  .nav{display:none}.topbar{display:none}
  .mobile-menu{position:fixed;left:0;right:0;top:58px;width:100%;max-height:calc(100vh - 58px);overflow-y:auto;overflow-x:hidden;padding:0;background:rgba(255,255,255,.99);border-top:1px solid #edf0f4;box-shadow:0 18px 40px rgba(3,19,41,.16);transform:translateY(-10px);opacity:0;visibility:hidden;pointer-events:none;transition:transform .22s ease,opacity .22s ease,visibility .22s ease;display:block;z-index:1001}
  .mobile-menu.is-open{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto}
  .mobile-menu-head{min-height:58px;display:flex;align-items:center;justify-content:center;position:relative;padding:10px 54px;border-bottom:1px solid #edf0f4}
  .mobile-menu-brand{display:flex;align-items:center;gap:8px;font-weight:850;color:#061A3A;font-size:17px;white-space:nowrap}
  .mobile-menu-brand b{color:#FF6B00}.mobile-menu-brand .custom-logo{max-height:34px;width:auto}.mobile-menu-brand .brand-mark{width:30px;height:30px;font-size:10px}
  .mobile-close{display:flex;align-items:center;justify-content:center;position:absolute;right:10px;top:9px;width:40px;height:40px;border:1px solid #e6eaf0;background:#fff;border-radius:11px;color:#061A3A;font-size:27px;line-height:1;cursor:pointer}
  .mobile-menu-label{margin:18px 18px 8px;color:#8993a2;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
  .mobile-menu-list{list-style:none!important;margin:0!important;padding:0 12px 20px!important}
  .mobile-menu-list li{list-style:none!important;margin:0!important}
  .mobile-menu-list a{display:grid;grid-template-columns:44px 1fr 20px;align-items:center;gap:12px;padding:15px 8px;border-bottom:1px solid #edf0f4;color:#061A3A;border-radius:12px;transition:background .18s,transform .18s}
  .mobile-menu-list a:active,.mobile-menu-list a:hover{background:#fff5ed;transform:translateX(2px)}
  .mobile-menu-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#fff1e8;color:#FF6B00;font-size:20px;font-weight:900}
  .mobile-menu-list a span:nth-child(2){display:flex;flex-direction:column;min-width:0}.mobile-menu-list strong{font-size:15px;line-height:1.25}.mobile-menu-list small{font-size:11px;color:#8993a2;margin-top:2px}
  .mobile-menu-list a>b{color:#a4adba;font-size:24px;font-weight:500;text-align:right}
  body.menu-open{overflow:hidden}
  body.menu-open:after{content:"";position:fixed;inset:58px 0 0;background:rgba(3,19,41,.34);z-index:1000;pointer-events:none}
}
@media(max-width:480px){
  .main-header{min-height:56px;grid-template-columns:minmax(0,1fr) 44px;padding:7px 0}
  .main-header .brand{font-size:15px}.main-header .brand-mark{width:28px;height:28px;flex-basis:28px}.main-header>.hamburger{width:40px;height:40px}
  .mobile-menu{top:56px;max-height:calc(100vh - 56px)}body.menu-open:after{inset:56px 0 0}
}

/* Premium mobile hamburger */
@media (max-width: 768px){
  .main-header>.hamburger{
    appearance:none;-webkit-appearance:none;
    display:flex!important;flex-direction:column!important;
    align-items:center;justify-content:center;gap:0;
    width:44px!important;height:44px!important;
    padding:0!important;margin:0;
    border:1px solid #e7ebf0!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 5px 16px rgba(6,26,58,.08);
    position:relative;overflow:hidden;
  }
  .main-header>.hamburger span{
    display:block!important;
    width:22px!important;height:2px!important;
    margin:3px 0!important;
    background:#061A3A!important;
    border-radius:999px!important;
    transform:none!important;
    opacity:1!important;
    transition:width .18s ease,background .18s ease;
  }
  .main-header>.hamburger:hover span:nth-child(2){width:17px!important}
  .main-header>.hamburger:active{transform:scale(.96)}
  .main-header>.hamburger:focus-visible{outline:3px solid rgba(255,107,0,.22);outline-offset:2px}
}
@media (max-width: 480px){
  .main-header>.hamburger{width:42px!important;height:42px!important;border-radius:11px!important}
  .main-header>.hamburger span{width:21px!important;height:2px!important;margin:3px 0!important}
}


/* CouponHunterHub HERO FIX: never crop uploaded hero images */
.hero .hero-visual,
.hero-visual {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
}
.hero .hero-visual img,
.hero-visual img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* v2.9.12 — store detail responsive */
@media(max-width:980px){.chh-store-content-grid{grid-template-columns:minmax(0,1fr) 240px;gap:16px}.chh-modern-offer{grid-template-columns:82px minmax(0,1fr)!important}.chh-modern-offer .offer-action{grid-column:1/-1;justify-content:flex-end}.chh-modern-offer .store-code-btn{min-width:190px}}
@media(max-width:760px){.chh-store-v2912{width:min(100% - 18px,680px);padding-bottom:42px}.chh-store-header-card{padding:18px!important}.chh-store-header-card .store-detail-brand{grid-template-columns:80px minmax(0,1fr);gap:15px}.chh-store-header-card .store-detail-logo{width:80px;height:80px;padding:12px}.chh-store-header-card .store-detail-logo span{font-size:30px}.chh-store-header-card h1{font-size:25px}.chh-store-header-card .store-visit-btn{margin-top:11px;padding:9px 13px;font-size:12px}.chh-store-content-grid{grid-template-columns:1fr}.chh-store-offers-main{padding:17px 14px}.chh-store-sidebar{grid-template-columns:1fr 1fr}.chh-highlight-card{grid-column:1/-1}.chh-popular-sidebar{grid-column:1/-1}.chh-modern-offer{grid-template-columns:78px minmax(0,1fr)!important;padding:11px!important;gap:11px!important}.chh-offer-type-tile{width:78px;min-height:68px}.chh-modern-offer .offer-main h3{font-size:15px}.chh-modern-offer .offer-action{grid-column:1/-1;justify-content:stretch}.chh-modern-offer .store-code-btn{width:100%;min-width:0}.chh-summary-strip{grid-template-columns:1fr 1fr}.chh-sidebar-stores{grid-template-columns:1fr 1fr}.chh-sidebar-store-row{min-width:0}.chh-sidebar-store-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-about-grid{grid-template-columns:1fr}.store-section-title{display:block}}
@media(max-width:480px){.chh-store-header-card .store-detail-brand{grid-template-columns:1fr}.chh-store-header-card .store-detail-logo{width:86px;height:86px}.chh-store-header-card h1{font-size:23px}.chh-store-header-card p{font-size:13px}.chh-store-sidebar{grid-template-columns:1fr}.chh-highlight-card,.chh-popular-sidebar{grid-column:auto}.chh-sidebar-stores{grid-template-columns:1fr}.chh-modern-offer{grid-template-columns:1fr!important}.chh-offer-type-tile{width:100%;min-height:62px;align-items:flex-start;text-align:left;padding:10px 13px}.chh-modern-offer .offer-action{grid-column:auto}.chh-summary-strip{grid-template-columns:1fr 1fr}.highlight-box{padding:13px 8px}.highlight-box strong{font-size:18px}}


/* v2.9.13 — cleaner Store page on phones */
@media (max-width:760px){
  .chh-store-v2912{width:100%!important;max-width:none!important;padding:10px 10px 38px!important;box-sizing:border-box}
  .chh-store-v2912 .store-breadcrumbs{font-size:11px;gap:6px;margin:3px 3px 11px;white-space:nowrap;overflow:hidden}
  .chh-store-v2912 .store-breadcrumbs strong{overflow:hidden;text-overflow:ellipsis}
  .chh-store-header-card{padding:16px!important;border-radius:16px!important;box-shadow:0 10px 28px rgba(6,26,58,.12)!important}
  .chh-store-header-card .store-detail-brand{display:grid;grid-template-columns:68px minmax(0,1fr)!important;gap:12px!important;align-items:start}
  .chh-store-header-card .store-detail-logo{width:68px!important;height:68px!important;border-radius:14px!important;padding:10px!important}
  .chh-store-header-card .store-detail-logo span{font-size:27px!important}
  .chh-store-header-card .store-kicker{font-size:9px;letter-spacing:.07em}
  .chh-store-header-card h1{font-size:21px!important;line-height:1.16!important;margin:4px 0 7px!important}
  .chh-store-header-card p{font-size:12px!important;line-height:1.45!important;margin-bottom:7px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .chh-store-header-card .store-rating-line{font-size:11px;gap:5px;flex-wrap:wrap}
  .chh-store-header-card .store-rating-line .stars{font-size:12px}
  .chh-store-header-card .verified-pill{font-size:9px;padding:4px 7px}
  .chh-store-header-card .store-visit-btn{grid-column:1/-1;width:100%;justify-content:center;margin-top:10px!important;padding:10px 12px!important;border-radius:8px;font-size:12px}
  .chh-store-content-grid{display:block!important}
  .chh-store-offers-main{padding:17px 0 8px!important}
  .chh-offers-heading{margin:0 3px 12px!important}
  .chh-offers-heading h2{font-size:21px!important;margin:4px 0 5px!important}
  .chh-offers-heading p{font-size:12px!important;line-height:1.4}
  .chh-offer-tabs{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:2px 2px 8px!important;margin:0!important;scrollbar-width:none}
  .chh-offer-tabs::-webkit-scrollbar{display:none}
  .chh-offer-tabs a{flex:0 0 auto!important;padding:8px 11px!important;border-radius:999px!important;font-size:11px!important}
  .chh-offer-list{gap:10px!important}
  .chh-modern-offer{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:10px!important;padding:12px!important;border-radius:12px!important;min-height:0!important;box-shadow:0 5px 16px rgba(6,26,58,.06)!important}
  .chh-offer-type-tile{width:58px!important;min-height:58px!important;height:auto!important;border-radius:9px!important;padding:7px 4px!important;align-self:start!important;box-sizing:border-box!important;justify-content:center!important;align-items:center!important;text-align:center!important}
  .chh-offer-type-tile strong{font-size:14px!important;line-height:1.05!important}
  .chh-offer-type-tile span{font-size:7px!important;letter-spacing:.05em!important}
  .chh-modern-offer .offer-main{min-width:0!important}
  .chh-modern-offer .offer-main h3{font-size:14px!important;line-height:1.3!important;margin:0 0 5px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .chh-modern-offer .offer-meta-line{font-size:9px!important;gap:5px!important;line-height:1.3}
  .chh-modern-offer .offer-meta-line small{font-size:9px!important}
  .chh-modern-offer .chh-offer-description{font-size:11px!important;line-height:1.4!important;margin:5px 0 4px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .chh-modern-offer .chh-discount-chip{font-size:9px!important;padding:4px 6px!important}
  .chh-modern-offer .offer-action{grid-column:1/-1!important;display:block!important;margin-top:1px!important}
  .chh-modern-offer .store-code-btn{width:100%!important;min-width:0!important;padding:10px!important;border-radius:8px!important;font-size:11px!important}
  .chh-store-sidebar{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:8px}
  .chh-sidebar-card{border-radius:12px!important;padding:13px!important}
  .chh-sidebar-heading span{font-size:9px!important}.chh-sidebar-heading small,.chh-sidebar-heading a{font-size:9px!important}
  .chh-highlight-card{grid-column:1/-1!important}
  .chh-highlight-list{grid-template-columns:repeat(4,1fr)!important;gap:6px!important}
  .chh-highlight-list>div{padding:8px 4px!important;border-radius:8px!important}
  .chh-highlight-list span{font-size:8px!important}.chh-highlight-list strong{font-size:12px!important;line-height:1.2!important}
  .chh-rating-card{display:grid!important;grid-template-columns:42px 1fr!important;column-gap:9px!important;align-items:center}
  .chh-rating-card .chh-sidebar-store-logo{grid-row:span 3;width:42px!important;height:42px!important}
  .chh-rating-card strong{font-size:12px!important}.chh-rating-stars{font-size:10px!important}.chh-rating-number{font-size:10px!important}.chh-sidebar-verified{font-size:8px!important;padding:3px 6px!important}
  .chh-popular-sidebar{grid-column:1/-1!important}
  .chh-sidebar-stores{grid-template-columns:1fr 1fr!important;gap:7px!important}
  .chh-sidebar-store-row{padding:8px!important;border-radius:9px!important;gap:7px!important}
  .chh-sidebar-store-logo.small{width:30px!important;height:30px!important}
  .chh-sidebar-store-row strong{font-size:10px!important}.chh-sidebar-store-row small{font-size:8px!important}
  .chh-summary-strip{display:none!important}
  .store-about-grid{grid-template-columns:1fr!important;gap:10px!important;margin-top:10px!important}
  .store-about-card,.store-tip-card{padding:16px!important;border-radius:12px!important}
  .store-about-card h2{font-size:19px!important}.store-about-content{font-size:12px!important;line-height:1.6}
  .store-tip-card h3{font-size:16px!important}.store-tip-card p{font-size:11px!important;line-height:1.5}
}
@media(max-width:420px){
  .chh-store-v2912{padding-left:8px!important;padding-right:8px!important}
  .chh-store-header-card .store-detail-brand{grid-template-columns:58px minmax(0,1fr)!important;gap:10px!important}
  .chh-store-header-card .store-detail-logo{width:58px!important;height:58px!important;padding:8px!important}
  .chh-store-header-card h1{font-size:19px!important}
  .chh-highlight-list{grid-template-columns:1fr 1fr!important}
  .chh-store-sidebar{grid-template-columns:1fr!important}
  .chh-rating-card,.chh-popular-sidebar{grid-column:auto!important}
  .chh-sidebar-stores{grid-template-columns:1fr!important}
}

/* Store detail logo: enlarge the logo tile and let the uploaded logo use the full tile. */
.chh-store-header-card .store-detail-brand{grid-template-columns:140px minmax(0,1fr)!important;gap:26px!important}
.chh-store-header-card .store-detail-logo{width:140px!important;height:140px!important;padding:4px!important;overflow:hidden!important;box-sizing:border-box!important}
.chh-store-header-card .store-detail-logo img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:0!important}
@media(max-width:760px){
  .chh-store-header-card .store-detail-brand{grid-template-columns:104px minmax(0,1fr)!important;gap:16px!important}
  .chh-store-header-card .store-detail-logo{width:104px!important;height:104px!important;padding:3px!important}
}
@media(max-width:420px){
  .chh-store-header-card .store-detail-brand{grid-template-columns:88px minmax(0,1fr)!important;gap:12px!important}
  .chh-store-header-card .store-detail-logo{width:88px!important;height:88px!important;padding:2px!important}
}
