/* Sukanya Arts V6.4 — compact mobile/webview experience and reliable hero media */
.hero-section .hero-copy.reveal,
.hero-section .hero-art.reveal{opacity:1;transform:none}
.hero-art{min-width:0;isolation:isolate}
.hero-card img,.category-image img,.product-media img,.motion-banner img{background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--accent) 18%,#fff))}
.nav-icon{width:20px;height:20px;display:block;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.nav-action-label{font-size:11px;font-weight:800}
.icon-btn.compact{width:auto;padding:0 11px;gap:6px}
.mobile-bottom-nav{display:none}
.hero-media-fallback{object-fit:cover}

/* Keep a visible visual column on real desktop screens. */
@media(min-width:1001px){
  .hero-grid{grid-template-columns:minmax(0,1.02fr) minmax(420px,.98fr)}
  .hero-art{display:block!important;visibility:visible!important;opacity:1!important;transform:none!important}
  .hero-card.large{min-width:390px}
  .hero-copy h1{font-size:clamp(48px,5.3vw,82px);overflow-wrap:anywhere}
}

/* Tablets and embedded WebView landscape. */
@media(max-width:1000px){
  body{overflow-x:hidden}
  .hero-section{padding:34px 0 46px;min-height:auto!important}
  .hero-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
  .hero-art{order:-1;height:330px!important;transform:none!important}
  .hero-card.large{width:min(78%,520px)!important;height:300px!important;left:50%!important;top:8px!important;transform:translateX(-50%) rotate(-1deg)!important}
  .hero-card.small.top{right:3%!important;top:8px!important}
  .hero-card.small.bottom{left:3%!important;bottom:0!important}
  .hero-copy{max-width:760px;margin:auto;text-align:center}
  .hero-copy h1{max-width:none!important;font-size:clamp(38px,7.6vw,58px)!important;line-height:1!important;margin:12px auto 14px!important}
  .hero-copy p{margin-inline:auto;font-size:16px!important}
  .hero-actions,.trust-row{justify-content:center}
  .festival-ribbon{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;scrollbar-width:none}
  .festival-ribbon::-webkit-scrollbar{display:none}
  .festival-chip{flex:0 0 auto;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* Phones: intentionally compact so the first screen shows image, title and actions. */
@media(max-width:640px){
  :root{--mobile-nav-height:62px}
  body{padding-bottom:var(--mobile-nav-height)}
  .announcement{height:26px;font-size:10px}
  .marquee{gap:34px}
  .daily-event-inner{min-height:34px;padding:6px 12px;font-size:10px}
  .daily-event-inner em{display:none!important}
  .store-header{position:sticky!important;top:0!important;margin:0!important;max-width:none!important;border-radius:0!important}
  .nav-shell{height:58px;width:calc(100% - 18px);gap:8px}
  .brand{gap:8px;min-width:0;flex:1}
  .brand img{width:38px;height:38px;border-radius:12px}
  .brand b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}
  .brand small{display:none!important}
  .nav-actions{gap:5px}
  .nav-actions .icon-btn.compact{display:none}
  .cart-btn{height:36px;padding:0 9px;border-radius:11px;font-size:0;gap:5px}
  .cart-btn .nav-icon{width:18px;height:18px}
  .cart-btn span{min-width:18px;height:18px;font-size:10px}
  .menu-btn{height:36px;width:36px;border-radius:11px;font-size:17px}
  .mobile-menu{position:fixed;left:10px;right:10px;top:91px;z-index:1000;padding:14px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--surface) 94%,#fff);box-shadow:0 24px 70px #0003;max-height:calc(100vh - 170px);overflow:auto}
  .mobile-menu a{padding:9px 10px;border-radius:11px;font-size:13px}
  .mobile-menu a:active{background:color-mix(in srgb,var(--brand) 9%,transparent)}

  .hero-section{padding:14px 0 24px!important;border-radius:0 0 24px 24px!important;margin:0!important;min-height:auto!important;clip-path:none!important}
  .hero-section .container{width:calc(100% - 20px)}
  .hero-grid{gap:14px!important}
  .hero-art{height:216px!important;margin-top:2px}
  .hero-card{border-width:5px;border-radius:22px}
  .hero-card.large{width:100%!important;height:204px!important;left:0!important;top:0!important;transform:none!important;border-radius:24px!important}
  .hero-card.large img{object-position:center}
  .hero-card.small{display:none!important}
  .floating-label{left:9px;right:9px;bottom:9px;padding:9px 11px;border-radius:13px;text-align:left}
  .floating-label small{font-size:9px}.floating-label b{font-size:12px;line-height:1.25}
  .handmade-badge{display:none}
  .theme-asset-credit{position:absolute;right:8px;top:8px;margin:0;max-width:68%;font-size:8px;padding:5px 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hero-copy{text-align:left;padding:0 2px!important}
  .hero-copy .eyebrow{font-size:9px;letter-spacing:.12em}
  .hero-copy h1{font-size:clamp(29px,9.4vw,38px)!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:8px 0 9px!important;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  .hero-copy p{font-size:13px!important;line-height:1.45;margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .hero-actions{justify-content:flex-start;margin:14px 0 12px;gap:8px;flex-wrap:nowrap}
  .hero-actions .btn{min-height:40px;padding:0 13px;border-radius:12px;font-size:11px;white-space:nowrap;flex:1}
  .trust-row{justify-content:flex-start;gap:5px 10px;font-size:10px;max-height:32px;overflow:hidden}
  .festival-ribbon{margin-top:10px;gap:6px}
  .festival-chip{font-size:9px;padding:6px 9px;max-width:210px}

  .campaign-strip .container{min-height:58px;padding:9px 0;gap:8px;flex-wrap:nowrap}
  .campaign-strip .container>div{min-width:0}.campaign-strip small{font-size:8px}.campaign-strip b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
  .campaign-icon{width:32px;height:32px;border-radius:10px}.coupon-copy{padding:7px 9px;font-size:9px;white-space:nowrap}
  .section{padding:40px 0}
  .section-head{margin-bottom:17px;gap:8px}.section-head h2{font-size:26px}.section-head>a{font-size:10px;white-space:nowrap}
  .category-scroller{gap:9px;margin-right:-10px;padding-right:10px}.category-card{min-width:112px;padding:8px;border-radius:17px!important}.category-image{border-radius:13px;margin-bottom:8px}.category-card b{font-size:11px}.category-card small{font-size:9px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}.product-card{border-radius:16px!important;transform:none!important;clip-path:none!important}.product-media{aspect-ratio:1}.product-info{padding:9px}.product-info>small{font-size:8px}.product-info h3{font-size:11px;line-height:1.25;margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rating{display:none}.price b{font-size:13px}.price del{font-size:9px}.add-round{width:30px;height:30px;border-radius:10px;font-size:18px}.sale-badge{top:7px;left:7px;padding:5px 7px;font-size:8px}
  .animated-offer-grid{gap:10px}.offer-card-3d{min-height:230px;padding:22px;border-radius:22px}.offer-card-3d h3{font-size:30px}.offer-card-3d p{font-size:12px}.offer-mini-stack{gap:10px}.offer-mini{min-height:125px;padding:18px;border-radius:18px}.offer-mini h3{font-size:16px;margin:7px 0}
  .banner-carousel{min-height:260px;border-radius:22px}.banner-content{left:8%;right:8%;max-width:none}.banner-content h3{font-size:30px}.banner-content p{font-size:12px}.banner-content .btn{min-height:38px;font-size:10px}
  .story-section,.story-band{padding:45px 0}.story-collage{height:280px}.story-main{height:245px}.story-mini{width:96px;height:105px}.story-copy h2{font-size:31px}.story-copy p{font-size:13px}
  .newsletter-card{padding:22px;border-radius:22px!important}.newsletter-card h2{font-size:27px}.newsletter-card p{font-size:12px}
  .store-footer{padding-bottom:20px}.footer-grid{padding:42px 18px 22px}.footer-grid h4{margin-bottom:8px}.footer-grid a,.footer-grid p{font-size:12px}.footer-bottom{padding:14px 18px;font-size:10px}

  .mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:1500;height:var(--mobile-nav-height);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;padding:4px max(5px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));background:color-mix(in srgb,var(--surface) 92%,#fff);border-top:1px solid color-mix(in srgb,var(--brand) 14%,transparent);box-shadow:0 -10px 30px #00000014;backdrop-filter:blur(18px)}
  .mobile-bottom-nav a{min-width:0;height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:13px;color:var(--muted);font-size:9px;font-weight:800}
  .mobile-bottom-nav a.active,.mobile-bottom-nav a:active{color:var(--brand);background:color-mix(in srgb,var(--brand) 8%,transparent)}
  .mobile-bottom-nav svg{width:19px;height:19px}
  .ai-fab{right:12px!important;bottom:76px!important;width:44px!important;height:44px!important;font-size:0!important;padding:0!important;border-radius:50%!important}.ai-fab:after{content:'✦';font-size:17px}
  .whatsapp-fab{left:12px!important;bottom:76px!important;width:44px!important;height:44px!important;font-size:10px!important}
  .notification-fab{right:12px!important;bottom:128px!important;width:42px;height:42px;padding:0!important;font-size:0!important;border-radius:50%!important}.notification-fab:before{content:'🔔';font-size:15px}
  .ai-panel{left:8px!important;right:8px!important;bottom:72px!important;width:auto!important;max-height:72vh!important;border-radius:22px!important}
}

@media(max-width:380px){
  .brand b{max-width:112px;font-size:14px}.hero-copy h1{font-size:28px!important}.hero-actions .btn{padding:0 9px;font-size:10px}.product-grid{gap:6px!important}.product-info{padding:8px}
}
