/* Storefront layout follows the two Lalashop reference screens. */
:root { --shop-brown: #573426; --shop-pink: #ee7f9c; --shop-coral: #eb584d; --shop-line: #eee5e0; }
body { background: #fff; color: #322823; }
.shop-announcement { height: 28px; background: #f8eee9; color: #694b3f; font-size: 11px; }
.shop-announcement .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header { height: 64px; background: #fff; border-bottom: 1px solid #f2ece9; }
.header .nav { gap: 18px; }
.header .brand { font-size: 25px; }
.header .bunny { width: 36px; height: 42px; border: 0; border-radius: 0; background: none; color: #eb7396; }
.header .bunny svg { width: 33px; height: 39px; }
.header .nav-links { display: none; }
.header .catalog-search { margin-left: auto; width: min(270px, 34vw); }
.header .catalog-search input { height: 38px; border-radius: 24px; font-size: 12px; }
.header .nav-actions { gap: 10px; }
.header .nav-actions button { border: 0; width: 38px; height: 38px; padding: 0; border-radius: 50%; }
.header .nav-action-label { display: none; }
.support-link { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #593c32; text-decoration: none; font-size: 25px; line-height: 1; }
.support-link:hover, .support-link:focus-visible { background: #f8eee9; }

.hero.container { width: min(1160px, calc(100% - 40px)); height: 260px; min-height: 260px; aspect-ratio: auto; margin-top: 12px; border-radius: 14px; gap: 10px; }
.hero.container .hero-art img { width: min(100%, 355px); }
.hero.container .hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 10px 4px 26px 8px; }
.hero.container .hero-copy h1 { max-width: 430px; margin: 0 0 10px; font: 700 clamp(25px, 2.5vw, 34px)/1.06 Fredoka, "Be Vietnam Pro", sans-serif; }
.hero.container .hero-copy h1 strong { display: block; font-size: 1.48em; }
.hero.container #hero-cta { min-height: 36px; padding: 7px 17px; border-radius: 18px; background: #f4e2ce; color: var(--shop-brown); box-shadow: none; font-size: 12px; }
.hero.container #hero-dots { bottom: 8px; left: 65%; gap: 5px; }
.hero.container #hero-prev, .hero.container #hero-next { width: 36px; height: 36px; }

.benefit-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 54px; margin-top: 10px; padding: 5px 12px; background: #fbf7f4; border: 1px solid #f4eae5; border-radius: 11px; }
.benefit-strip > div { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 3px 9px; }
.benefit-strip > div + div { border-left: 1px solid #eadbd2; }
.benefit-strip > div > span { color: var(--shop-brown); font: 700 25px/1 Fredoka, sans-serif; }
.benefit-strip p { margin: 0; line-height: 1.28; }
.benefit-strip strong, .benefit-strip small { display: block; }
.benefit-strip strong { font-size: 11px; }
.benefit-strip small { margin-top: 2px; color: #746159; font-size: 9px; }

.products-section { padding-top: 20px; }
.catalog-controls { margin-bottom: 9px; }
.catalog-controls .brand-tabs { gap: 25px; }
.catalog-controls .brand-tabs .tab { min-width: 112px; min-height: 42px; font-size: 17px; }
.section-heading { margin: 11px 0 12px; }
.section-heading h2 { font: 700 19px/1.3 Fredoka, "Be Vietnam Pro", sans-serif; color: #3d281f; }
.section-heading > a { color: #50372e; font-size: 11px; font-weight: 650; text-decoration: none; }
.section-heading > a:hover { text-decoration: underline; }
.section-heading > a[hidden] { display: none; }
#products { display: block; }
.featured-products, .all-products-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
#products .product { display: block; min-width: 0; border: 1px solid #eee5e0; border-radius: 9px; background: #fff; box-shadow: 0 3px 10px #4b2c1d0a; }
#products .product:hover { transform: translateY(-2px); box-shadow: 0 8px 18px #4b2c1d18; }
#products .product-open { height: 100%; }
#products .product-image { height: auto; aspect-ratio: 1.42; background: #fbf7f3; }
#products .product-image img { object-fit: cover; width: 100%; height: 100%; }
#products .product-info { min-height: 92px; padding: 8px 10px 10px; }
#products .product-info h3 { min-height: 2.55em; max-height: 2.55em; margin: 0; overflow: hidden; font-size: 11px; line-height: 1.28; font-weight: 600; }
#products .product-info .pricing { margin-top: 6px; }
#products .product-info .price { color: var(--shop-coral); font-size: 14px; }
#products .product-info .old-price { font-size: 10px; }
#products .product-meta small { font-size: 10px; }
#products .product-badge { background: #f4829a; color: #fff; border-radius: 5px; font-size: 9px; }
#products .product-badge[data-state=demo] { background: #f4829a; color: #fff; }

.catalog-promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; }
.catalog-promo { position: relative; min-height: 76px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; padding: 10px 18px; border: 0; border-radius: 10px; color: #604035; text-align: left; font: inherit; cursor: pointer; }
.catalog-promo::after { content: '♡'; position: absolute; top: -21px; right: 21px; color: #d9967a77; font: 700 98px/1 Fredoka, sans-serif; transform: rotate(-18deg); }
.catalog-promo span { font-size: 11px; font-weight: 600; }
.catalog-promo strong { position: relative; z-index: 1; margin-top: 1px; font: 700 16px/1.22 Fredoka, "Be Vietnam Pro", sans-serif; }
.catalog-promo small { position: relative; z-index: 1; margin-top: 4px; font-size: 10px; }
.catalog-promo-warm { background: #fff0e3; }
.catalog-promo-blue { background: #e9f3fb; color: #345776; }
.catalog-promo-blue::after { color: #8db9d57a; }
.catalog-promo-pink { background: #fcebf0; color: #92475e; }
.catalog-promo-pink::after { color: #d897b27a; }
.catalog-promo:hover, .catalog-promo:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.catalog-all { margin-top: 42px; scroll-margin-top: 82px; }
.catalog-all-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.catalog-all-heading h2 { margin: 0; color: #3d281f; font: 700 19px Fredoka, "Be Vietnam Pro", sans-serif; }
.catalog-all-heading span { color: #79675d; font-size: 11px; }

#shop-dialog:has(.purchase-detail-panel) { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow-y: auto; overflow-x: hidden; border: 0; border-radius: 0; background: #fff; }
#shop-dialog:has(.purchase-detail-panel)::backdrop { background: #fff; }
#shop-dialog .purchase-detail-panel { position: relative; inset: auto; left: auto; top: auto; transform: none; width: min(1160px, calc(100% - 40px)); min-height: 100dvh; margin: 0 auto; padding: 0 0 50px; border-radius: 0; background: #fff; box-shadow: none; }
#shop-dialog .purchase-detail-panel .panel-close { top: 11px; right: 0; z-index: 5; width: 42px; height: 42px; border-radius: 50%; }
.detail-sitebar { display: flex; align-items: center; gap: 20px; min-height: 64px; padding-right: 55px; border-bottom: 1px solid #f0e9e5; }
.detail-sitebrand { color: #31231e; text-decoration: none; font: 700 27px/1 Fredoka, sans-serif; }
.detail-sitebrand span { color: var(--shop-pink); }
.detail-sitebar > span { color: #886f64; font-size: 11px; }
.product-breadcrumb { display: flex; align-items: center; gap: 10px; min-height: 52px; color: #665249; font-size: 12px; }
.product-breadcrumb button { padding: 4px 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.product-breadcrumb button:hover { text-decoration: underline; }
.product-breadcrumb strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3d2b25; }
#shop-dialog .purchase-detail-panel .product-detail { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 32px; }
#shop-dialog .purchase-detail-panel .product-media { display: grid; grid-template-columns: 70px minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; gap: 8px 14px; }
#shop-dialog .purchase-detail-panel .product-media:has(.gallery:empty) { grid-template-columns: 1fr; }
#shop-dialog .purchase-detail-panel .detail-image { grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 1; max-height: 510px; border: 0; border-radius: 11px; }
#shop-dialog .purchase-detail-panel .product-media:has(.gallery:empty) .detail-image { grid-column: 1; }
#shop-dialog .purchase-detail-panel .gallery { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 8px; width: 70px; max-height: 510px; overflow: auto; padding: 0 2px; }
#shop-dialog .purchase-detail-panel .gallery button { flex: 0 0 70px; width: 66px; height: 70px; border-radius: 9px; }
#shop-dialog .purchase-detail-panel .gallery img { width: 100%; height: 100%; object-fit: cover; }
#shop-dialog .purchase-detail-panel .gallery-scope { grid-column: 2; grid-row: 2; position: static; width: max-content; max-width: 100%; }
#shop-dialog .purchase-detail-panel .detail-info h2 { margin: 8px 0 4px; padding: 0; font: 700 clamp(23px, 2.4vw, 30px)/1.2 "Be Vietnam Pro", sans-serif; color: #251e1a; }
.purchase-detail-panel .eyebrow { display: inline-block; margin: 0; padding: 5px 12px; border-radius: 18px; background: #f8ede7; color: #654432; font-size: 11px; font-weight: 700; text-transform: none; }
.product-sku { margin: 6px 0 14px; color: #856f64; font-size: 12px; }
.product-sku strong { color: #6c4e41; }
.purchase-detail-panel .detail-price { margin: 0 0 12px; padding: 14px 16px; background: #fbf9f8; }
.purchase-detail-panel .detail-price strong { color: var(--shop-coral); font-size: 28px; }
.purchase-detail-panel .detail-price small { color: #b35058; }
.purchase-detail-panel .purchase-status { color: #755b50; font-size: 12px; }
.purchase-detail-panel .purchase-line { border-bottom: 0; padding: 9px 0; }
.purchase-detail-panel .variant-options { gap: 8px; }
.purchase-detail-panel .variant-chip { min-height: 42px; padding: 7px 11px; border-radius: 8px; background: #fff; color: #493a34; }
.purchase-detail-panel .variant-chip[aria-pressed=true] { border-color: #e7758f; background: #fff8f9; color: #8c334f; }
.purchase-detail-panel .quantity-line { margin-top: 3px; }
.purchase-detail-panel .quantity-control, .purchase-detail-panel .quantity-control button { border-radius: 7px; }
.purchase-detail-panel .purchase-footer { margin-top: 14px; }
.purchase-detail-panel .purchase-footer .purchase-submit { min-width: 200px; border-radius: 10px; background: #ee829e; }
.purchase-detail-panel .purchase-footer .purchase-submit:not(:disabled):hover { background: #df6f8e; }
.detail-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 18px; padding: 11px; border-radius: 9px; background: #fbf4f1; }
.detail-benefits > div { display: flex; align-items: center; gap: 7px; min-width: 0; }
.detail-benefits b { flex: 0 0 auto; color: #805145; font-size: 21px; }
.detail-benefits span { color: #553c33; font-size: 10px; font-weight: 700; line-height: 1.25; }
.detail-benefits small { display: block; margin-top: 2px; color: #8b746a; font-size: 9px; font-weight: 400; }
.purchase-detail-panel .product-notes { display: grid; grid-template-columns: 1fr; gap: 14px; width: calc(49% - 16px); margin: 24px 0 0 auto; padding-top: 14px; }
.purchase-detail-panel .product-notes h3 { display: inline-block; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid #794735; color: #473027; font-size: 14px; }
.purchase-detail-panel .product-notes .detail-copy { font-size: 12px; line-height: 1.7; }

@media (max-width: 850px) {
  .hero.container { height: 230px; min-height: 230px; }
  .benefit-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-strip > div:nth-child(3) { border-left: 0; }
  .featured-products, .all-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #shop-dialog .purchase-detail-panel .product-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
  #shop-dialog .purchase-detail-panel .product-media { grid-template-columns: 50px minmax(0, 1fr); gap: 8px; }
  #shop-dialog .purchase-detail-panel .gallery { width: 50px; }
  #shop-dialog .purchase-detail-panel .gallery button { flex-basis: 50px; width: 48px; height: 50px; }
}
@media (max-width: 620px) {
  .shop-announcement { height: 25px; font-size: 9px; }
  .shop-announcement .container span:nth-child(2) { display: none; }
  .header { height: auto; }
  .header .nav { min-height: 62px; grid-template-columns: 1fr auto; }
  .header .catalog-search { width: 100%; }
  .hero.container { width: calc(100% - 24px); height: 178px; min-height: 178px; margin-top: 10px; }
  .hero.container .hero-copy { padding: 8px 1px 30px; }
  .hero.container .hero-copy h1 { font-size: clamp(15px, 4vw, 21px); }
  .hero.container .hero-copy h1 strong { font-size: 1.38em; }
  .hero.container #hero-cta { min-height: 31px; padding: 5px 8px; font-size: 10px; }
  .hero.container #hero-dots { left: 62%; }
  .benefit-strip { width: calc(100% - 24px); padding: 6px; }
  .benefit-strip > div { justify-content: flex-start; padding: 4px; }
  .benefit-strip > div > span { font-size: 18px; }
  .benefit-strip strong { font-size: 9px; }
  .benefit-strip small { font-size: 8px; }
  .products-section { width: calc(100% - 24px); padding-top: 15px; }
  .featured-products, .all-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #products .product-image { aspect-ratio: 1.14; }
  #products .product-info { min-height: 95px; padding: 7px 8px; }
  .catalog-promos { grid-template-columns: 1fr; gap: 8px; }
  .catalog-promo { min-height: 67px; }
  .catalog-all { margin-top: 30px; }
  #shop-dialog .purchase-detail-panel { width: calc(100% - 24px); }
  .detail-sitebar { min-height: 57px; }
  .detail-sitebrand { font-size: 23px; }
  .detail-sitebar > span { display: none; }
  .product-breadcrumb { min-height: 43px; font-size: 10px; }
  .product-breadcrumb button, .product-breadcrumb span { flex: 0 0 auto; white-space: nowrap; }
  .product-breadcrumb strong { flex: 1 1 auto; }
  #shop-dialog .purchase-detail-panel .product-detail { display: block; }
  #shop-dialog .purchase-detail-panel .product-media { display: flex; flex-direction: column; gap: 8px; }
  #shop-dialog .purchase-detail-panel .detail-image { width: 100%; max-height: none; }
  #shop-dialog .purchase-detail-panel .gallery { width: 100%; max-height: none; flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  #shop-dialog .purchase-detail-panel .gallery button { flex: 0 0 58px; width: 58px; height: 58px; }
  #shop-dialog .purchase-detail-panel .gallery-scope { width: auto; }
  #shop-dialog .purchase-detail-panel .detail-info { margin-top: 18px; }
  #shop-dialog .purchase-detail-panel .detail-info h2 { font-size: 22px; }
  .detail-benefits { grid-template-columns: 1fr 1fr; }
  .detail-benefits > div:last-child { grid-column: 1 / -1; }
  .purchase-detail-panel .product-notes { width: 100%; margin-top: 19px; }
}
.hero.container.is-campaign { display: block; padding: 0; background: #f7ede7; aspect-ratio: 4 / 1; height: auto; min-height: 0; overflow: hidden; }
.hero.container.is-campaign .hero-copy { display: none; }
.hero.container.is-campaign .hero-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.hero.container.is-campaign .hero-art img { width: 100%; max-width: none; height: 100%; object-fit: cover; mix-blend-mode: normal; border-radius: 0; }
.hero-campaign-link { position: absolute; inset: 0; z-index: 3; }
#campaign-popup { position: fixed; max-width: min(92vw, 700px); max-height: 86dvh; padding: 8px; overflow: visible; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 18px 60px #32201655; }
#campaign-popup::backdrop { background: #24181799; }
#campaign-popup-link { display: block; line-height: 0; }
#campaign-popup-image { display: block; max-width: 100%; max-height: calc(86dvh - 16px); border-radius: 10px; object-fit: contain; }
.campaign-popup-close { position: absolute; top: -17px; right: -17px; z-index: 2; width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #723f4e; font-size: 23px; box-shadow: 0 3px 14px #2f1c2833; }
@media (max-width: 600px) { .hero.container.is-campaign { aspect-ratio: 2.2 / 1; height: auto; min-height: 0; } }

/* Keep the compact storefront readable on narrow screens. */
#products .product-info h3 { min-height: 3.9em; max-height: 3.9em; font-size: 12px; line-height: 1.3; }
#products .product-info { min-height: 112px; }
#products .product-meta small { font-size: 11px; }
#products .product-badge { font-size: 10px; }
.benefit-strip small { font-size: 10px; }
.catalog-more { display: block; min-width: min(260px, 100%); min-height: 44px; margin: 22px auto 0; padding: 10px 22px;
  border: 1px solid #e7c9c4; border-radius: 24px; background: #fffaf6; color: #71423d; font-weight: 700; cursor: pointer; }
.catalog-more:hover, .catalog-more:focus-visible { border-color: #b7647e; background: #fceef2; }
@media (max-width: 600px) {
  .benefit-strip { gap: 4px 8px; padding: 9px; }
  .benefit-strip > div { gap: 6px; padding: 7px 4px; }
  .benefit-strip strong { font-size: 10px; line-height: 1.3; }
  .benefit-strip small { font-size: 10px; line-height: 1.3; }
  #products .product-info { min-height: 119px; padding: 9px; }
  #products .product-info h3 { font-size: 12px; }
  #products .product-info .price { font-size: 16px; }
  #products .product-info .old-price { font-size: 11px; }
  #products .product-meta small { font-size: 11px; }
  .section-heading > a { min-height: 40px; display: inline-flex; align-items: center; }
}
.detail-benefits small { font-size: 10px; }

@media (max-width: 260px) {
  .header .nav { grid-template-columns: minmax(0,1fr) auto; gap: 3px; }
  .header .brand { gap: 3px; font-size: 16px; }
  .header .bunny { flex: 0 0 23px; width: 23px; height: 27px; font-size: 16px; }
  .header .nav-actions { gap: 0; }
  .header .nav-actions button { width: 30px; min-width: 30px; min-height: 34px; padding: 0; }
  .header .catalog-search { min-width: 0; max-width: 100%; }
  .header .catalog-search input { min-width: 0; }
  .catalog-controls .brand-tabs { gap: 4px; justify-content: space-between; }
  .catalog-controls .brand-tabs .tab { min-width: 0; padding-inline: 4px; font-size: 17px; }
  .featured-products, .all-products-grid { grid-template-columns: 1fr; }
  .hero.container:not(.is-campaign) { height: 250px; min-height: 250px; grid-template-columns: 1fr; grid-template-rows: 105px 1fr; }
  .hero.container:not(.is-campaign) .hero-art { width: 100%; height: 100%; }
  .hero.container:not(.is-campaign) .hero-copy { padding: 8px 14px 12px; }
  .hero.container:not(.is-campaign) .hero-copy h1 { font-size: 15px; }
  .hero.container:not(.is-campaign) .hero-copy h1 strong { font-size: 1.2em; }
  .hero.container:not(.is-campaign) #hero-dots { left: 50%; }
}

/* Give the product photography and typography the same weight as the sample storefront. */
.header .catalog-search input { font-size: 13px; }
.hero.container { box-shadow: 0 8px 30px #714c2a10; }
.benefit-strip { min-height: 62px; background: #fffaf7; }
.benefit-strip strong { font-size: 12px; }
.benefit-strip small { font-size: 10px; }
.products-section { padding-top: 26px; }
.section-heading h2, .catalog-all-heading h2 { font-size: 21px; }
.featured-products, .all-products-grid { gap: 14px; }
#products .product { overflow: hidden; border-color: #efe6e0; border-radius: 12px; transition: transform .16s ease, box-shadow .16s ease; }
#products .product-image { aspect-ratio: 1.18; background: #fffaf7; }
#products .product-image img { object-fit: contain; }
#products .product-info { min-height: 132px; padding: 12px 12px 13px; }
#products .product-info h3 { min-height: 3.9em; max-height: 3.9em; font-size: 13px; line-height: 1.3; }
#products .product-info .pricing { margin-top: 9px; }
#products .product-info .price { font-size: 17px; }
#products .product-info .old-price { font-size: 11px; }
#products .product-meta small { font-size: 11px; }
#products .product-badge { top: 9px; left: 9px; padding: 5px 8px; font-size: 10px; }
.catalog-promos { margin-top: 22px; }
.catalog-promo { min-height: 88px; border-radius: 12px; }
.catalog-all { margin-top: 46px; }
.purchase-detail-panel .variant-chip { min-height: 42px; }
.purchase-detail-panel .purchase-footer .purchase-submit { min-height: 48px; }
@media (max-width: 850px) {
  .featured-products, .all-products-grid { gap: 11px; }
}
@media (max-width: 620px) {
  .hero.container { box-shadow: none; }
  .benefit-strip { min-height: 0; }
  .benefit-strip strong, .benefit-strip small { font-size: 10px; }
  .products-section { padding-top: 18px; }
  .section-heading h2, .catalog-all-heading h2 { font-size: 19px; }
  .featured-products, .all-products-grid { gap: 9px; }
  #products .product-image { aspect-ratio: 1.04; }
  #products .product-info { min-height: 139px; padding: 10px; }
  #products .product-info h3 { font-size: 12px; line-height: 1.35; }
  #products .product-info .price { font-size: 16px; }
  .catalog-promos { margin-top: 18px; }
  .catalog-promo { min-height: 72px; }
  #shop-dialog .purchase-detail-panel { padding-bottom: calc(106px + env(safe-area-inset-bottom)); }
  #shop-dialog .purchase-detail-panel .purchase-footer {
    position: fixed; inset: auto 0 0; z-index: 6; display: grid;
    grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px;
    width: 100%; margin: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #eee3dd; background: #fffdfbf5; box-shadow: 0 -6px 20px #60413112;
  }
  #shop-dialog .purchase-detail-panel .purchase-review { min-width: 0; }
  #shop-dialog .purchase-detail-panel .quote-summary { display: block; max-height: 3.2em; overflow: hidden; line-height: 1.45; }
  #shop-dialog .purchase-detail-panel .purchase-footer .purchase-submit {
    flex-basis: auto; width: auto; min-width: 138px; min-height: 46px; padding-inline: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #products .product { transition: none; }
}
