/* Little Wonder — isolated visual layer for the template_2 copy. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');
.little-wonder { --text-main: #332743; --section-bg: #f4ede4; --bg-color: #fcf9f3; background: #fcf9f3; color: #332743; font-family: 'DM Sans', sans-serif; }
.little-wonder h1,.little-wonder h2,.little-wonder h3,.little-wonder h4 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -.035em; }
.little-wonder a:focus-visible,.little-wonder button:focus-visible,.little-wonder input:focus-visible { outline: 3px solid #956a86; outline-offset: 4px; }
.little-wonder .main-content { max-width: 1440px !important; padding: 32px 48px 56px !important; background: transparent !important; min-width: 0; }
.little-wonder .store-header { background: #fcf9f3 !important; box-shadow: none !important; padding: 0 !important; }
.wonder-announcement { text-align: center; background: #704760; color: #fff8ec; font-size: 11px; letter-spacing: .07em; padding: 8px 16px; }
.wonder-announcement span { color: #e9bc72; margin: 0 12px; }
.little-wonder .header-container { width: 100%; max-width: 1440px !important; padding: 18px 48px !important; gap: 36px !important; }
.little-wonder .logo { font-family: 'Fraunces', Georgia, serif; color: #332743 !important; letter-spacing: -.045em; }
.wonder-logo-mark { display: inline-grid; place-items: center; width: 33px; height: 33px; margin-right: 4px; color: #bd6c59; font-family: Georgia, serif; font-size: 33px; }
.little-wonder .search-input { background: #f5efe7; border: 1px solid #e9e0d7 !important; font-size: 13px !important; }
.little-wonder .header-actions { gap: 16px !important; }
.little-wonder .cart-btn { background: #704760 !important; border-radius: 50px !important; }
.little-wonder .cart-count { background: #f2d9a9 !important; color: #332743 !important; }
.little-wonder .top-nav-menu-bar { margin-top: 0 !important; background: transparent !important; }
.little-wonder .top-nav-menu-bar>div { max-width: 1440px !important; padding: 10px 48px !important; gap: 32px !important; scrollbar-width: thin; }
.little-wonder .nav-link-item { font-size: 12px !important; font-weight: 500 !important; }
.little-wonder .nav-link-item:hover { color: #995d4d !important; }
.wonder-hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 40px; padding: 16px 0 36px; }
.wonder-hero-copy { padding: 24px 0 24px 16px; }
.wonder-eyebrow { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .17em; display: inline-block; margin-bottom: 16px; color: #796976; }
.wonder-spark { font-size: 22px; vertical-align: middle; color: #bd6c59; margin-right: 10px; }
.wonder-hero h1 { font-size: clamp(44px,5.5vw,79px); font-weight: 500; line-height: 1.08; margin: 6px 0 24px; letter-spacing: -.055em; }
.wonder-hero h1 em { font-weight: 500; color: #a65e50; }
.wonder-hero-copy>p { max-width: 365px; font-size: 15px; line-height: 1.8; color: #776e79; }
.wonder-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin: 30px 0; }
.wonder-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 15px 23px; border-radius: 50px; background: #704760; color: #fffaf3; font-size: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.wonder-button:hover { background: #543449; transform: translateY(-2px); color: #fffaf3; }
.wonder-button>span { font-size: 19px; }
.wonder-text-link { display: inline-flex; gap: 14px; align-items: center; font-size: 12px; font-weight: 600; color: #704760; text-decoration: none; padding: 5px 0; border-bottom: 1px solid #cbbac5; }
.wonder-text-link:hover { color: #995d4d; border-color: #995d4d; }
.wonder-hero-note { margin-top: 24px; color: #82747b; font-size: 11px; }
.wonder-hero-note>span { font-size: 22px; vertical-align: middle; margin-right: 8px; }
.wonder-hero-art { position: relative; min-width: 0; }
.wonder-hero-art>img { width: 100%; border-radius: 120px 120px 20px 20px; }
.wonder-art-stamp { position: absolute; right: -14px; top: 25px; width: 100px; height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f0c46d; border: 1px dashed #81563a; outline: 6px solid #f0c46d; border-radius: 50%; transform: rotate(12deg); font-size: 12px; color: #664132; line-height: 1.2; }
.wonder-art-stamp strong { font-family: 'Fraunces', serif; font-size: 26px; }
.wonder-art-stamp>span { font-size: 19px; }
.wonder-art-caption { position: absolute; bottom: 20px; left: 0; width: 100%; text-align: center; font-size: 8px; letter-spacing: .2em; color: #835f4d; }
.wonder-ribbon { display: flex; align-items: center; justify-content: space-evenly; gap: 20px; padding: 19px 0; border-top: 1px solid #e9e0d7; border-bottom: 1px solid #e9e0d7; font-size: 11px; font-weight: 500; color: #6d5d6e; }
.wonder-ribbon span:nth-child(even) { color: #bd6c59; font-size: 22px; }
.wonder-section { margin: 56px 0; }
.wonder-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.wonder-section-heading .wonder-eyebrow { margin-bottom: 8px; font-size: 9px; }
.wonder-section-heading h2 { font-size: clamp(27px,3vw,37px); font-weight: 500; line-height: 1.2; }
.wonder-section-heading p { color: #776e79; font-size: 13px; margin-top: 12px; }
.wonder-categories { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.wonder-category { min-width: 0; }
.wonder-category-image { background: #efe1d6; border-radius: 80px 80px 16px 16px; aspect-ratio: 1.25; overflow: hidden; display: grid; place-items: center; transition: transform .25s; }
.wonder-category:hover .wonder-category-image { transform: translateY(-4px); }
.wonder-tint-1 .wonder-category-image { background: #e7e9df; }
.wonder-tint-2 .wonder-category-image { background: #ece1ec; }
.wonder-tint-3 .wonder-category-image { background: #f3e9cc; }
.wonder-category-image>img { width: 100%; height: 100%; object-fit: cover; }
.wonder-category-image>i { font-size: 58px; color: #997865; opacity: .75; }
.wonder-category>span { display: flex; align-items: center; justify-content: space-between; padding: 14px 3px; font-size: 13px; font-weight: 500; }
.little-wonder .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.little-wonder .product-card { border-color: #e9e0d7 !important; border-radius: 18px !important; box-shadow: none; min-width: 0; }
.little-wonder .product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #46313d0c; }
.little-wonder .product-card .card-img { background: #f4efe7 !important; }
.little-wonder .product-card .card-img>img { object-fit: contain !important; padding: 15px; mix-blend-mode: multiply; }
.little-wonder .product-card .p-price { font-size: 17px !important; color: #704760 !important; }
.little-wonder .product-card .p-name { font-size: 14px !important; line-height: 1.4 !important; letter-spacing: -.01em; font-weight: 500 !important; }
.little-wonder .product-card .card-info { padding: 18px !important; }
.little-wonder .inline-add-btn { background: #eee3ec !important; color: #704760 !important; }
.little-wonder .product-card .social-proof-tag { color: #704760 !important; }
.wonder-bundle-section { padding: 32px; border-radius: 24px; background: #f1e9f0; }
.wonder-story { margin-top: 56px; padding: 45px 38px; border-radius: 22px; background: #704760; color: #fff7e9; display: flex; align-items: center; gap: 32px; }
.wonder-story .wonder-eyebrow { color: #e6c7d3; font-size: 9px; margin-bottom: 10px; }
.wonder-story h2 { font-weight: 500; font-size: 31px; line-height: 1.3; }
.wonder-story p { margin-top: 13px; font-size: 12px; color: #e3d2dc; max-width: 400px; }
.wonder-story-mark { color: #efc775; font-size: 105px; line-height: 1; }
.wonder-story .wonder-button { margin-left: auto; flex-shrink: 0; }
.wonder-button-light { color: #704760; background: #fff7e9; }
.wonder-button-light:hover { background: #f0dcc2; color: #543449; }
.wonder-empty { text-align: center; padding: 35px 15px; }
.wonder-empty>span { color: #bd6c59; font-size: 40px; }
.wonder-empty h2 { font-weight: 500; font-size: 30px; margin: 10px; }
.wonder-empty p { color: #776e79; margin-bottom: 20px; }
.little-wonder .store-footer { background: #f3ede4; color: #332743; border-top: 1px solid #e9e0d7; padding-bottom: 20px; }
.little-wonder .footer-container { max-width: 1440px; padding: 0 48px; }
.little-wonder .footer-brand p,.little-wonder .footer-links a,.little-wonder .footer-bottom { color: #776e79; }
.little-wonder .footer-heading { color: #332743; font-size: 19px; font-weight: 500; }
.little-wonder .footer-bottom { border-color: #e9e0d7; }
.wonder-footer-note { color: #776e79; font-size: 13px; line-height: 1.8; }
.wonder-footer-note .wonder-text-link { margin-top: 12px; }
@media(min-width: 769px) and (max-width: 1100px) {
    .wonder-hero { gap: 20px; }
    .wonder-hero-actions { gap: 14px; }
    .little-wonder .header-container { gap: 22px !important; }
    .little-wonder .header-actions { gap: 8px !important; }
    .wonder-story-mark { display: none; }
    .little-wonder .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width: 768px) {
    .little-wonder { --header-height: 92px; }
    .little-wonder .header-container { padding: 12px 18px !important; gap: 12px !important; }
    .little-wonder .header-container .logo { font-size: 22px !important; max-width: 80%; overflow-wrap: anywhere; }
    .wonder-announcement { font-size: 9px; padding: 7px 10px; letter-spacing: .03em; }
    .wonder-announcement span { margin: 0 6px; }
    .little-wonder .main-content { padding: 18px 18px 36px !important; }
    .wonder-hero { grid-template-columns: 1fr; gap: 14px; padding: 0 0 24px; }
    .wonder-hero-copy { padding: 14px 5px 4px; }
    .wonder-eyebrow { font-size: 8px; margin-bottom: 8px; }
    .wonder-hero h1 { font-size: clamp(42px,10vw,62px); margin: 10px 0 16px; }
    .wonder-hero-copy>p { max-width: 100%; font-size: 13px; line-height: 1.7; }
    .wonder-hero-actions { gap: 18px; margin: 20px 0 12px; }
    .wonder-button { font-size: 11px; padding: 12px 17px; gap: 14px; }
    .wonder-hero-note { margin-top: 14px; font-size: 10px; }
    .wonder-hero-art { margin: 6px 8px 0; }
    .wonder-hero-art>img { max-height: 360px; object-fit: cover; border-radius: 85px 85px 18px 18px; }
    .wonder-art-stamp { width: 70px; height: 70px; right: -5px; top: 16px; font-size: 9px; }
    .wonder-art-stamp strong { font-size: 20px; }
    .wonder-ribbon { gap: 12px; justify-content: center; font-size: 10px; flex-wrap: wrap; padding: 12px 2px; }
    .wonder-ribbon span:nth-child(n+4) { display: none; }
    .wonder-ribbon span:nth-child(even) { font-size: 17px; }
    .wonder-section { margin: 35px 0; }
    .wonder-section-heading { align-items: flex-start; gap: 14px; margin-bottom: 18px; }
    .wonder-section-heading h2 { font-size: 26px; }
    .wonder-section-heading>.wonder-text-link { font-size: 10px; gap: 6px; flex-shrink: 0; margin-top: 22px; max-width: 100px; }
    .wonder-section-heading .wonder-eyebrow { font-size: 7px; letter-spacing: .12em; }
    .wonder-categories { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
    .wonder-category>span { font-size: 12px; }
    .wonder-category-image { border-radius: 55px 55px 12px 12px; }
    .little-wonder .product-grid,.little-wonder .product-grid.grid-cols-mobile-2 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .little-wonder .product-grid.grid-cols-mobile-1 { grid-template-columns: 1fr; }
    .little-wonder .product-grid.grid-cols-mobile-3 { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
    .little-wonder .product-card .card-info { padding: 11px !important; }
    .little-wonder .product-card .p-name { font-size: 12px !important; }
    .little-wonder .product-card .p-price { font-size: 15px !important; }
    .little-wonder .product-card .card-img>img { padding: 10px; }
    .wonder-bundle-section { padding: 18px 12px; border-radius: 16px; }
    .wonder-story { margin-top: 30px; padding: 27px 22px; gap: 18px; flex-wrap: wrap; }
    .wonder-story h2 { font-size: 27px; }
    .wonder-story-mark { font-size: 48px; }
    .wonder-story .wonder-button { margin: 0; }
    .little-wonder .footer-container { padding: 0 22px; }
    .little-wonder .collection-title { font-size: 30px !important; }
}
@media(prefers-reduced-motion: reduce) {
    .little-wonder *,.little-wonder *::before,.little-wonder *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.little-wonder .logo { text-transform: none; }
.wonder-mobile-cart { display: none; }
@media(max-width: 768px) {
    .little-wonder .header-container .logo { font-size: 21px !important; flex: 1; min-width: 0; max-width: none; }
    .little-wonder .mobile-search-toggle.show-on-mobile { display: flex !important; align-items: center; justify-content: center; width: 30px; height: 36px; flex-shrink: 0; }
    .wonder-mobile-cart { display: flex; align-items: center; justify-content: center; width: 30px; height: 36px; flex-shrink: 0; background: transparent; color: #704760; border: 0; font-size: 19px; cursor: pointer; }
    .little-wonder .wonder-hero { grid-template-columns: minmax(0,1fr); }
    .wonder-hero-copy { min-width: 0; }
    .wonder-hero h1 { overflow-wrap: anywhere; }
}
.little-wonder .product-core-grid>* { min-width: 0; }
.little-wonder .breadcrumb { flex-wrap: wrap; }
.little-wonder .collection-layout-grid>* { min-width: 0; }
@media(max-width: 768px) {
    .little-wonder .product-core-grid { grid-template-columns: minmax(0,1fr) !important; gap: 22px !important; }
    .little-wonder .product-details-panel { padding: 20px !important; }
    .little-wonder .deal-card { flex-wrap: wrap; gap: 12px; }
    .little-wonder .p-actions-row { flex-wrap: wrap; }
    .little-wonder .p-actions-row .qty-control { flex-shrink: 0; }
}
.little-wonder #main-product-actions { height: auto !important; min-height: 50px; align-items: stretch; }
.little-wonder #main-product-actions .qty-control { display: flex; flex-direction: row; width: 110px !important; height: 50px !important; padding: 0 4px !important; gap: 0; flex-shrink: 0; }
.little-wonder #main-product-actions .qty-control>div { display: contents !important; }
.little-wonder #main-product-actions .qty-control>span { order: 2; margin: 0 !important; width: 30px; font-size: 15px !important; }
.little-wonder #main-product-actions .qty-control button { width: 30px; height: 44px; padding: 0 !important; font-size: 12px !important; }
.little-wonder #main-product-actions .qty-control button:first-child { order: 3; }
.little-wonder #main-product-actions .qty-control button:last-child { order: 1; }
.little-wonder #main-product-actions>.btn-add-to-cart { width: auto !important; flex: 1 1 140px; height: auto !important; min-height: 50px; padding: 12px !important; font-size: 12px !important; }
/* Mobile navigation and the admin-managed hero carousel. */
.wonder-menu-toggle { display: none; }
.wonder-mobile-menu { position: fixed; inset: 0 auto 0 0; width: min(340px,90vw); height: 100dvh; max-height: 100%; max-width: 100%; margin: 0; padding: 24px; border: 0; background: #fcf9f3; color: #332743; overflow-y: auto; }
.wonder-mobile-menu::backdrop { background: #33274388; }
.wonder-menu-heading { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-bottom: 22px; }
.wonder-menu-heading h2 { font-size: 25px; font-weight: 500; }
.wonder-menu-close { border: 0; background: #efe5ec; color: #704760; border-radius: 50%; width: 38px; height: 38px; flex-shrink: 0; font-size: 18px; cursor: pointer; }
.wonder-mobile-menu nav>a,.wonder-menu-signin { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 0; border: 0; border-bottom: 1px solid #e9e0d7; background: transparent; color: #332743; font: 500 14px 'DM Sans',sans-serif; text-decoration: none; cursor: pointer; text-align: left; }
.wonder-mobile-menu nav>.wonder-eyebrow { margin: 28px 0 4px; font-size: 9px; }
.wonder-hero-slider { margin: 0 0 30px; min-width: 0; }
.wonder-slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; }
.wonder-slider-track::-webkit-scrollbar { display: none; }
.wonder-slide { flex: 0 0 100%; width: 100%; min-width: 0; scroll-snap-align: start; }
.wonder-slide picture,.wonder-slide img { display: block; width: 100%; height: auto; }
.wonder-slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.wonder-slider-prev,.wonder-slider-next { width: 38px; height: 38px; border: 1px solid #e9e0d7; border-radius: 50%; background: #fffaf3; color: #704760; font-size: 20px; cursor: pointer; }
.wonder-slider-dots { display: flex; gap: 10px; }
.wonder-slider-dots button { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #d6c6d0; cursor: pointer; }
.wonder-slider-dots button[aria-current="true"] { background: #704760; }
@media(max-width: 768px) {
    .wonder-menu-toggle { display: flex; align-items: center; justify-content: center; width: 30px; height: 38px; border: 0; background: transparent; color: #704760; font-size: 20px; flex-shrink: 0; cursor: pointer; }
    .little-wonder .header-container { gap: 7px !important; }
    .little-wonder .header-container .logo { font-size: clamp(15px,4.8vw,21px) !important; gap: 3px !important; }
    .little-wonder .header-container .logo img { max-width: 100%; max-height: 38px !important; }
    .wonder-logo-mark { font-size: 25px; width: 24px; margin: 0; }
    .wonder-slider-track { border-radius: 16px; }
    .wonder-hero-slider { margin-bottom: 22px; }
}
/* Keep the original split hero; admin banners replace only its right-hand image. */
.wonder-hero-art .wonder-hero-slider { position: relative; margin: 0; }
.wonder-hero-art .wonder-slider-track { aspect-ratio: 760 / 640; border-radius: 120px 120px 20px 20px; }
.wonder-hero-art .wonder-slide picture,.wonder-hero-art .wonder-slide img { height: 100%; object-fit: cover; }
.wonder-hero-art .wonder-slider-controls { position: absolute; bottom: 42px; left: 0; right: 0; margin: 0; z-index: 2; }
.wonder-hero-art .wonder-slider-prev,.wonder-hero-art .wonder-slider-next { background: #fffaf3e6; }
@media(max-width: 768px) {
    .wonder-hero-art .wonder-slider-track { border-radius: 85px 85px 18px 18px; max-height: 360px; }
}
/* Compact catalog cards: avoid stacking outer, image, and text padding. */
.little-wonder .product-card { padding: 8px; }
.little-wonder .product-card .card-img { padding-top: 0 !important; aspect-ratio: 4 / 3; margin-bottom: 0; }
.little-wonder .product-card .card-img>img { padding: 8px; }
.little-wonder .product-card .card-info { flex-grow: 0; padding: 10px 4px 6px !important; gap: 5px !important; }
.little-wonder .product-card .p-price { margin-bottom: 0; }
.little-wonder .product-card .p-name { height: auto !important; min-height: 0; margin-bottom: 0 !important; -webkit-line-clamp: 2; }
.little-wonder .product-card .p-meta { min-height: 32px; line-height: 32px; }
@media(max-width: 768px) {
    .little-wonder .product-card { padding: 6px; }
    .little-wonder .product-card .card-info { padding: 8px 2px 4px !important; gap: 4px !important; }
    .little-wonder .product-card .card-img>img { padding: 6px; }
    .little-wonder .product-card .p-meta { min-height: 28px; line-height: 28px; }
}
