@media (max-width:768px){
  /* hero headline: smaller + medium weight */
  .ep-home .ep-home-hero__title{font-size:22px !important;font-weight:500 !important;line-height:1.22 !important;letter-spacing:-0.02em !important;}
  .ep-home-products{padding:34px 16px 30px;}
  .ep-home .ep-home-sechead{margin:0 auto 20px;}
  .ep-home .ep-home-sechead__kicker{font-size:13px !important;font-weight:700 !important;color:#1473e6 !important;letter-spacing:-0.01em;}
  .ep-home .ep-home-sechead__title{font-size:28px !important;font-weight:700 !important;letter-spacing:-0.035em !important;line-height:1.1 !important;}

  /* category chips — single horizontal scroll row (flex, with grid fallbacks) */
  .ep-home #ep-tabs-nav{display:flex !important;flex-wrap:nowrap !important;grid-template-columns:none !important;grid-auto-flow:column !important;grid-auto-columns:max-content !important;justify-content:flex-start !important;align-items:center !important;overflow-x:auto !important;gap:8px !important;margin:0 -16px 14px !important;padding:2px 16px 6px !important;scrollbar-width:none;-ms-overflow-style:none;}
  .ep-home #ep-tabs-nav::-webkit-scrollbar{display:none;}
  .ep-home #ep-tabs-nav li{flex:0 0 auto !important;width:auto !important;margin:0 !important;}
  .ep-home #ep-tabs-nav li a{border-radius:25px !important;}
  .ep-home #ep-tabs-nav a{display:inline-block;border-radius:25px !important;padding:9px 16px;font-size:13px;font-weight:600;letter-spacing:-0.01em;color:#1d1d1f;background:rgba(255,255,255,0.78);border:1px solid rgba(0,0,0,0.06);box-shadow:0 4px 14px rgba(0,0,0,0.04);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);white-space:nowrap;transition:all .2s ease;}
  .ep-home #ep-tabs-nav li.ep-active a{background:linear-gradient(180deg,#3478f6 0%,#1f6eea 100%) !important;color:#fff !important;border-color:transparent !important;box-shadow:0 8px 24px rgba(31,110,234,.28) !important;}

  /* carousel arrows */
  .ep-cv-arrows{display:flex;justify-content:flex-end;gap:10px;margin:0 0 10px;}
  .ep-cv-arrow{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,0.82);border:1px solid rgba(15,23,42,0.08);box-shadow:0 8px 24px rgba(15,23,42,0.08);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;color:#1f2937;cursor:pointer;padding:0;transition:transform .15s ease,opacity .2s ease;}
  .ep-cv-arrow:active{transform:scale(.92);}
  .ep-cv-arrow:disabled{opacity:.32;cursor:default;}

  /* product carousel: 1.15-card peek */
  .ep-home-tabpane.ep-active .products{display:flex !important;flex-wrap:nowrap !important;grid-template-columns:none !important;overflow-x:auto;overflow-y:visible;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;gap:14px;margin:0 -16px !important;padding:6px 16px 20px !important;scrollbar-width:none;-ms-overflow-style:none;}
  .ep-home-tabpane.ep-active .products::-webkit-scrollbar{display:none;}
  .ep-home-tabpane.ep-active .products > .product,
  .ep-home-tabpane.ep-active .products > .wd-product{flex:0 0 78% !important;width:78% !important;min-width:78% !important;max-width:78% !important;margin:0 !important;scroll-snap-align:start;height:70vh !important;max-height:70vh !important;}

  /* glass card — fixed height (<=70vh), image fills */
  .ep-home .wd-product .wd-product-wrapper{background:rgba(255,255,255,0.86) !important;border:1px solid rgba(15,23,42,0.06) !important;border-radius:24px !important;box-shadow:0 1px 2px rgba(15,23,42,.04),0 18px 45px rgba(15,23,42,.08) !important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);overflow:hidden;transition:transform .26s ease,box-shadow .26s ease;display:flex !important;flex-direction:column !important;height:100% !important;max-height:70vh !important;}
  .ep-home .wd-product:hover .wd-product-wrapper{transform:translateY(-6px);box-shadow:0 8px 20px rgba(15,23,42,.08),0 28px 70px rgba(15,23,42,.14) !important;}

  /* image area fills available height */
  .ep-home .wd-product .wd-product-thumb{background:radial-gradient(circle at 50% 32%,rgba(255,255,255,.95),rgba(255,255,255,0) 42%),linear-gradient(180deg,#eef7ff 0%,#f8fbff 100%);border-radius:22px 22px 0 0;padding:16px 16px 8px;flex:1 1 auto !important;min-height:0 !important;display:flex !important;align-items:center;justify-content:center;}
  .ep-home .wd-product .wd-product-thumb .wd-product-img-link{display:flex !important;align-items:center;justify-content:center;width:100%;height:100%;}
  .ep-home .wd-product .wd-product-thumb img{max-height:100% !important;width:auto !important;max-width:100% !important;object-fit:contain;margin:0 auto;filter:drop-shadow(0 16px 26px rgba(30,90,160,.18));}

  /* badge: subtle Featured pill + soft Sold out */
  .ep-home .wd-product .product-labels{top:12px;left:12px;}
  .ep-home .wd-product .product-labels .product-label{background:rgba(255,102,0,.12) !important;color:#ff6a00 !important;border:1px solid rgba(255,102,0,.18);border-radius:999px;padding:5px 10px;font-size:10px;font-weight:800;letter-spacing:.03em;box-shadow:none !important;}
  .ep-home .wd-product .product-labels .product-label.ep-soldout{background:rgba(15,23,42,.08) !important;color:#475569 !important;border:1px solid rgba(15,23,42,.12);}

  /* typography + tight vertical rhythm */
  .ep-home .wd-product .product-element-bottom,.ep-home .wd-product .wd-product-detail{padding:8px 14px 0 !important;text-align:left;display:block !important;}
  .ep-home .wd-product .wd-entities-title{font-size:15px !important;font-weight:700 !important;letter-spacing:-0.02em;margin:0 0 3px !important;min-height:0 !important;line-height:1.3 !important;}
  .ep-home .wd-product .wd-product-cats{font-size:12px !important;color:#6b7280 !important;margin:0 !important;line-height:1.35 !important;}
  .ep-home .wd-product .wd-product-cats a{color:#6b7280 !important;}
  .ep-home .wd-product .star-rating{font-size:12px !important;margin:5px 0 0 !important;}
  .ep-home .wd-product .price{font-size:16px !important;font-weight:700 !important;color:#0b72f0 !important;margin:6px 0 0 !important;padding-top:0 !important;}
  .ep-home .wd-product .price ins,.ep-home .wd-product .price ins .amount{color:#0b72f0 !important;}
  .ep-home .wd-product .ep-cta-row{padding:10px 14px 14px !important;}

  /* hide native action icon row (we add one CTA + heart) */
  .ep-home .wd-product .wrapp-buttons{display:none !important;}
  .ep-home .ep-home-arrow{display:none !important;}

  /* CTA footer */
  .ep-cta-row{display:flex;align-items:center;gap:10px;padding:12px 14px 16px;}
  .ep-cta{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;height:42px;border-radius:25px;background:linear-gradient(180deg,#3478f6 0%,#1f6eea 100%);color:#fff !important;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 8px 22px rgba(31,110,234,.26);transition:transform .15s ease;}
  .ep-cta:active{transform:scale(.98);}
  .ep-cta-heart{flex:0 0 auto;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.7);border:1px solid rgba(15,23,42,.10);color:#e0322b;font-size:18px;line-height:1;cursor:pointer;padding:0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .15s ease;}
  .ep-cta-heart:active{transform:scale(.9);}

  /* fix overlapping floating buttons: stack the 10% welcome offer ABOVE the chat bubble */
  .epai-fab{right:24px !important;bottom:70px !important;}
  #ep-mini{right:24px !important;bottom:140px !important;transform:scale(1.35) !important;transform-origin:bottom right !important;}
  #ep-launch{right:24px !important;bottom:140px !important;}
}
