/* Mobile storefront: shared category rail, balanced cards and compact spacing. */
@media(max-width:800px){
 html{scroll-padding-top:150px}
 header{height:auto;min-height:0;display:flex;flex-wrap:wrap;padding:5px 4% 0;gap:0 8px}
 header .brand{width:clamp(112px,34vw,165px);height:64px;margin-right:auto}
 .header-actions{flex-wrap:nowrap;gap:5px}
 .header-actions #currency{max-width:88px;font-size:.75rem;padding-inline:0;min-height:44px}
 .header-actions #language{min-width:28px;min-height:44px}
 #menu-toggle{min-width:36px;min-height:44px;padding:7px}
 header #main-nav,header #main-nav.menu-open{display:grid;position:relative;top:auto;left:auto;order:3;grid-template-columns:1fr 1fr;align-items:start;gap:0;width:100%;padding:0;margin:0;border:0;border-top:1px solid var(--line);box-shadow:none;background:var(--paper);overflow:visible;max-height:none;font-size:.875rem}
 header #main-nav>.nav-link,header #main-nav>.mobile-search{display:none!important}
 header #main-nav>.nav-accessories{position:static;grid-row:1;min-width:0}
 header #main-nav .nav-category-label{justify-content:center;min-height:46px;gap:4px}
 header #main-nav .category-toggle{width:44px;height:44px;padding:0;font-size:20px}
 header #main-nav .nav-accessories+.nav-accessories>.nav-category-label{border-left:1px solid var(--line)}
 header #main-nav .category-dropdown{position:absolute;left:0;right:0;top:100%;width:100%;min-width:0;max-height:calc(100dvh - 170px);overflow:auto;overscroll-behavior:contain;padding:10px;border:1px solid var(--line);border-radius:0 0 12px 12px;box-shadow:0 12px 24px #62334315;background:var(--paper)}
 header #main-nav .category-dropdown a{white-space:normal;text-align:left;min-height:44px;font-size:.875rem;line-height:1.45;display:flex!important;align-items:center}
 header #main-nav .dress-group-toggle{min-width:44px;min-height:44px}
 header #main-nav.menu-open>.nav-link{display:flex!important;min-height:44px;padding:10px 12px;font-size:.875rem}
 header #main-nav.menu-open>.mobile-search{display:flex!important;grid-column:1/-1;padding:10px 0 14px}
 .accessory-group{scroll-margin-top:150px}
 .editorial-footer{grid-template-columns:1fr;gap:24px;padding:32px 6% 24px}
 .editorial-footer>div:first-child{text-align:center}
 .editorial-footer .social-links{justify-content:center;margin-top:12px;gap:14px}
 .editorial-footer .social-links a{width:44px;height:44px}
 .editorial-footer .footer-nav{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;padding:18px 0;border-block:1px solid var(--line)}
 .editorial-footer .footer-nav a{min-height:44px;display:flex;align-items:center;font-size:.875rem;line-height:1.4}
 .editorial-footer>div:nth-child(3){grid-column:1/-1;text-align:center}
 .editorial-footer>div:nth-child(3)>a{display:inline-block;font-size:.875rem}
 .editorial-footer h3{margin-bottom:10px}
 .editorial-footer .admin-footer-link{justify-self:center;margin-top:0;font-size:.8rem}
 .bibi-doodle-divider{padding:8px 24px}.bibi-doodle-divider img{height:70px;width:180px}
 .bibi-star-row{margin:8px auto 18px;max-width:320px}.section-stars{margin:0 auto 18px}
}
@media(max-width:650px){
 .section{padding-block:40px}
 .hero-copy{padding:30px 6% 32px}.hero h1{font-size:clamp(3rem,13vw,3.8rem);line-height:1.02;margin-bottom:22px}
 .hero .eyebrow{font-size:.75rem;letter-spacing:.12em;margin-bottom:18px}
 .hero .intro{font-size:1rem;line-height:1.65;margin-bottom:24px}
 .hero-buttons{display:grid;grid-template-columns:1fr;gap:10px}.hero-buttons .button{width:100%;min-height:46px;font-size:.875rem}
 .hero-photo{min-height:0;height:112vw;max-height:520px}
 .section h2{font-size:clamp(2rem,9vw,2.7rem);line-height:1.1}
 .editorial-intro{position:relative;gap:24px;padding-bottom:40px}
 .editorial-intro>.intro-sewing{position:absolute;right:3%;bottom:22px;width:100px;height:94px;margin:0;transform:scaleX(-1)}
 .editorial-intro>img:not(.intro-sewing){width:86%;justify-self:start;max-height:410px}
 .craft{gap:22px}.craft>.bibi-doodle-heading{display:none}.craft-images{gap:12px}.craft-images img:last-child{margin-top:0}
 .instagram-section{gap:24px}.instagram-images{gap:12px}
 .catalog,.accessory-group .catalog{gap:26px 14px}
 .card h3{font-size:1.25rem;line-height:1.2;min-height:3.6em;margin:12px 0 8px;overflow-wrap:anywhere}
 .card-price,.accessory-group .card-price{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:48px;font-size:.9rem;margin-bottom:10px;line-height:1.4}
 .card-price .usd{font-size:.8rem;white-space:nowrap}
 .card-buttons{grid-template-columns:1fr;gap:4px}.card-buttons .card-action{justify-content:center;min-height:44px;font-size:.875rem;text-align:center}
 .card-buttons .add-card{min-height:46px;font-size:.875rem;padding:10px 5px;border-radius:5px}
 .card-size{font-size:.8rem;line-height:1.4;min-height:2.8em}
 .accessory-group{margin-top:34px}.accessory-group>h3{font-size:2.2rem;padding-bottom:14px;margin-bottom:18px}
 .category-nav{gap:8px;margin:18px 0 26px}.category-nav a{font-size:.875rem;padding:8px 14px}
 .accessory-tile h3{font-size:1.45rem}.home-accessories-grid{gap:24px 14px}
 .collection-card{column-gap:18px}.collection-card h3{font-size:1.65rem}
 body[data-page="home"] #colecciones .collection-grid{row-gap:44px}
 .collection-card .collection-photo-wrap>.bibi-leaning{width:85px;height:72px;right:-15px;top:-51px}
 .bibi-pointing{width:80px;height:95px;top:-49px;right:5%}
 .bibi-peeking{width:52px;height:74px;left:-20px}
 .contact{padding-block:32px}.contact .bibi-doodle-heading{display:none}
 .contact>p{font-size:1rem}.fairy-contact-accent{width:55px;height:64px;margin-bottom:16px}
 .custom-accessory-cta strong{font-size:1.35rem}
}
/* Small, scattered brand sparkles occupy the margins without adding empty rows. */
body[data-page="home"] #colecciones, .made-accent-section, .instagram-section{position:relative}
.brand-sparkles{position:absolute;pointer-events:none;user-select:none;width:94px;height:84px;left:3%;bottom:8px;z-index:0}
.brand-sparkles span{position:absolute;line-height:1;color:#c38d9c;font-size:34px}
.brand-sparkles span:nth-child(1){left:5px;top:25px;transform:rotate(-13deg)}
.brand-sparkles span:nth-child(2){left:39px;top:0;color:#cbb488;font-size:27px}
.brand-sparkles span:nth-child(3){left:58px;top:38px;color:#c4acbd;font-size:21px}
.made-accent-section>.brand-sparkles{left:auto;right:3%;bottom:16px}
.instagram-section>.brand-sparkles{left:auto;right:3%;bottom:5px}
@media(prefers-reduced-motion:no-preference){.brand-sparkles span{animation:brand-twinkle 4.5s ease-in-out infinite}.brand-sparkles span:nth-child(2){animation-delay:1.2s}.brand-sparkles span:nth-child(3){animation-delay:2.4s}}
@keyframes brand-twinkle{0%,100%{opacity:.55}50%{opacity:1}}
@media(max-width:650px){.brand-sparkles{width:62px;height:46px;left:auto;right:5%;bottom:4px}.brand-sparkles span{font-size:22px}.brand-sparkles span:nth-child(1){left:0;top:17px}.brand-sparkles span:nth-child(2){left:25px;top:0;font-size:18px}.brand-sparkles span:nth-child(3){left:43px;top:25px;font-size:15px}}
