@media (max-width:1199px){
:root{--page-gutter:22px;--section-gap-lg:42px;}
.hero__inner,.hero__content{min-height:400px;}
.pd-editorial-row__intro{padding:22px 18px;}
.pd-editorial-row__title{font-size:36px;}
.pd-editorial-row__description{font-size:13px;}
.collection-tile{min-height:220px;}
}

@media (max-width:991px){
:root{--section-gap-lg:36px;}
.site-header__menu-toggle{display:block;z-index:4;}
.site-header__inner{grid-template-columns:44px 1fr auto;min-height:70px;}
.site-header__logo{justify-self:center;}
.site-header__logo img,.site-header__logo .custom-logo{height:56px;}
.site-header__actions{gap:16px;}
.site-header__nav{position:absolute;top:100%;left:calc(var(--page-gutter)*-1);z-index:3;width:100vw;height:calc(100vh - 70px);padding:18px var(--page-gutter) 40px;background:rgba(255,253,253,.99);overflow-y:auto;transform:translateX(-105%);transition:transform .28s ease;}
.site-header__nav.is-open{transform:translateX(0);}
.site-header__menu{display:block;font-size:20px;}
.site-header__menu>li,.site-header.is-scrolled .site-header__menu>li{display:block;min-height:0;width:100%;border-bottom:1px solid var(--color-border);}
.site-header__menu>li>a{justify-content:space-between;min-height:62px;padding:0;}
.site-header__menu .sub-menu{position:static;display:none;min-width:0;padding:0 0 12px 16px;border:0;border-radius:0;background:transparent;box-shadow:none;opacity:1;visibility:visible;transform:none;pointer-events:auto;}
.site-header__menu .menu-item-has-children:focus-within>.sub-menu,.site-header__menu .menu-item-has-children:hover>.sub-menu{display:grid;}
.site-header__menu .sub-menu a{min-height:42px;padding:8px 0;border:0;font-size:16px;}
.site-header.is-scrolled .site-header__inner{min-height:62px;}
.site-header.is-scrolled .site-header__logo img,.site-header.is-scrolled .site-header__logo .custom-logo{height:48px;}
.pd-preferences summary>span{display:none;}
.pd-preferences summary{width:38px;min-height:38px;padding:0;justify-content:center;}
.site-header__actions .pd-preferences__chevron{display:none;}
.pd-preferences__menu{right:-58px;}
.site-header__instagram{display:none;}
.collection-strip__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.collection-tile:last-child{grid-column:1/-1;}
.benefits__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.about-block{grid-template-columns:1fr;}
.about-block__media{min-height:430px;}
.about-block__content{padding:38px 30px;}
.pd-editorial-row{grid-template-columns:1fr;padding:12px;}
.pd-editorial-row--title-right .pd-editorial-row__intro,.pd-editorial-row--title-left .pd-editorial-row__intro{grid-column:1;grid-row:1;min-height:150px;}
.pd-editorial-row--title-right .pd-editorial-row__products-shell,.pd-editorial-row--title-left .pd-editorial-row__products-shell{grid-column:1;grid-row:2;}
.pd-editorial-row__products{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media (max-width:767px){
:root{--page-gutter:16px;--page-gutter-mobile:16px;--section-gap-sm:20px;--section-gap-md:28px;--section-gap-lg:32px;--space-8:48px;}
body{overflow-x:hidden;}
.site-header__bar{max-height:32px;min-height:32px;}
.site-header__bar-inner{display:block;min-height:32px;}
.site-header__bar p{display:none;min-height:32px;font-size:9px;}
.site-header__bar p:first-child{display:flex;justify-content:center;}
.site-header__inner{grid-template-columns:40px minmax(52px,1fr) auto;min-height:66px;gap:8px;}
.site-header__logo{justify-self:center;}
.site-header__logo img,.site-header__logo .custom-logo{height:50px;max-width:72px;}
.site-header__actions{gap:12px;}
.site-header__actions>a,.site-header__action-button{width:23px;height:23px;}
.site-header__account-link{display:grid;}
.site-header__actions>svg,.site-header__actions>a>svg,.site-header__action-button>svg{width:21px;height:21px;}
.site-header__cart-count,.site-header__wishlist-count{top:-8px;right:-8px;}
.site-header.is-scrolled .site-header__inner{min-height:58px;}
.site-header.is-scrolled .site-header__logo img,.site-header.is-scrolled .site-header__logo .custom-logo{height:44px;}
.site-header__nav{left:-16px;height:calc(100vh - 58px);padding:14px 22px 34px;}
.hero{padding-top:4px;}
.hero__inner{min-height:520px;border-radius:18px;}
.hero__media{background-image:linear-gradient(0deg,rgba(255,247,250,.98) 0%,rgba(255,247,250,.82) 45%,rgba(255,247,250,.08) 76%),url("../images/donuts-hero.webp");background-position:center top;}
.hero__content{min-height:520px;justify-content:flex-end;padding:28px 20px;}
.hero__title{max-width:10.5ch;font-size:clamp(2.35rem,10.8vw,3.35rem);line-height:.94;}
.hero__text{max-width:32ch;font-size:14px;}
.hero__actions,.hero__actions .button{width:100%;}
.pd-product-showcase--editorial{padding:12px 0 30px;}
.pd-product-showcase--editorial .pd-product-showcase__filters{margin:0 -16px 16px;padding:0 16px;overflow-x:auto;justify-content:flex-start;scrollbar-width:none;}
.pd-product-showcase__filters::-webkit-scrollbar{display:none;}
.pd-filter-chip{flex:0 0 auto;min-height:36px;padding-inline:16px;font-size:9px;}
.pd-editorial-rows{gap:14px;}
.pd-editorial-row{padding:10px;border-radius:20px;}
.pd-editorial-row__intro{min-height:0;padding:22px 18px;}
.pd-editorial-row__title{font-size:34px;}
.pd-editorial-row__description{margin-bottom:16px;}
.pd-editorial-row__products{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory;scrollbar-width:none;}
.pd-editorial-row__products::-webkit-scrollbar{display:none;}
.pd-editorial-row .pd-product-card{flex:0 0 min(78vw,300px);min-width:0;scroll-snap-align:start;}
.pd-product-card__media{border-radius:16px;}
.pd-product-card__media img{padding:12px;}
.pd-product-card__body{padding:11px 2px 0;}
.pd-product-card__title{font-size:15px;}
.pd-product-card__price{font-size:14px;}
.pd-product-card__button{min-height:38px;margin-top:10px;padding:0 12px;font-size:9px;white-space:nowrap;}
.pd-product-card__wishlist{top:8px;right:8px;width:34px;height:34px;}
.pd-product-card__badge{top:8px;left:8px;padding:5px 8px;font-size:8px;}
.collection-strip{padding-top:0;}
.collection-strip__grid{display:flex;gap:12px;margin-right:-16px;padding-right:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;}
.collection-strip__grid::-webkit-scrollbar{display:none;}
.collection-tile,.collection-tile:last-child{flex:0 0 82vw;min-height:230px;grid-column:auto;scroll-snap-align:start;}
.pd-home .pillowcase-banner{margin:10px auto 28px;min-height:340px;border-radius:20px;}
.pd-home .pillowcase-banner__content{min-height:340px;padding:28px 20px;}
.pillowcase-banner__title{font-size:clamp(2.2rem,11vw,3.3rem);}
.pd-home .benefits{padding-bottom:28px;}
.benefits__grid{grid-template-columns:1fr;border-radius:16px;}
.benefit{min-height:78px;padding:13px 15px;}
.benefit__icon{flex-basis:44px;width:44px;height:44px;}
.benefit__icon svg{width:20px;height:20px;}
.about-block,.pd-home .about-block{min-height:0;border-radius:20px;}
.about-block__media,.pd-home .about-block__media{min-height:300px;}
.about-block__wordmark{top:9%;font-size:clamp(3.3rem,17vw,5rem);}
.about-block__halo{top:18%;width:58%;}
.about-block__media img{left:50%;bottom:-1%;width:min(92%,430px);max-height:90%;transform:translateX(-50%);}
.about-block__caption{right:14px;bottom:12px;padding:6px 9px;font-size:8px;}
.about-block__content{padding:28px 20px 30px;}
.about-block__title{font-size:clamp(2.4rem,11vw,3.2rem);}
.about-block__tags{gap:7px;}
.about-block__tag{padding:7px 10px;font-size:9px;}
}

@media (max-width:390px){
.site-header__actions{gap:10px;}
.pd-editorial-row .pd-product-card{flex-basis:82vw;}
.hero__title{font-size:2.75rem;}
}

@media (prefers-reduced-motion:reduce){
.site-header__nav,.pd-product-card__media img,.pd-editorial-row{transition:none;}
}

/* Mobile carousel controls and sale menu item */
@media (max-width:991px){
.site-header__menu>.pd-menu-item--sale>a{width:max-content;min-height:44px;margin:9px 0;padding:10px 16px;justify-content:center;color:#fff;}
}
@media (max-width:767px){
.pd-editorial-row__products-shell.is-scrollable .pd-editorial-row__scroll{display:grid;}
.pd-editorial-row__scroll{top:44%;width:40px;height:40px;}
.pd-editorial-row__scroll--prev{left:6px;}
.pd-editorial-row__scroll--next{right:6px;}
.pd-editorial-row__products{padding-inline:2px 44px;scroll-padding-inline:2px 44px;}
}

@media (max-width:767px){
  .pd-cart-panel{width:100vw;}
  .pd-cart-panel__header{min-height:68px;padding:12px 16px;}
  .pd-cart-panel__header h2{font-size:21px;}
  .pd-cart-panel .woocommerce-mini-cart{padding:8px 16px 0;}
  .pd-cart-panel .pd-mini-cart-item{grid-template-columns:66px minmax(0,1fr) 32px;gap:11px;padding:14px 0;}
  .pd-cart-panel .pd-mini-cart-item__media{width:66px;height:72px;border-radius:12px;}
  .pd-cart-panel .pd-mini-cart-item__name{font-size:13px;}
  .pd-cart-panel .pd-mini-cart-summary{padding:16px 16px max(18px,env(safe-area-inset-bottom));}
  .pd-cart-panel .woocommerce-mini-cart__buttons{grid-template-columns:1fr;gap:8px;}
  .pd-cart-toast{top:auto;right:16px;bottom:16px;left:16px;width:auto;}
}

/* iPhone header alignment and product slides */
@media (max-width:767px){
  .site-header__inner{grid-template-columns:40px 64px minmax(0,1fr);gap:8px;}
  .site-header__menu-toggle{justify-self:start;width:40px;height:40px;padding:8px;color:#171416;-webkit-tap-highlight-color:transparent;}
  .site-header__menu-toggle span:not(.screen-reader-text){width:24px;background:#171416;}
  .site-header__logo{justify-self:start;width:64px;}
  .site-header__logo img,.site-header__logo .custom-logo{display:block;width:60px;max-width:60px;height:54px;}
  .site-header__actions{justify-self:end;gap:10px;min-width:0;}
  .site-header__actions a,.site-header__action-button,.pd-preferences summary{color:#171416;-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
  .site-header__actions a:focus,.site-header__action-button:focus,.pd-preferences summary:focus,.site-header__menu-toggle:focus{outline:0;}
  .site-header__actions a:focus-visible,.site-header__action-button:focus-visible,.pd-preferences summary:focus-visible,.site-header__menu-toggle:focus-visible{outline:2px solid #ef6799;outline-offset:4px;border-radius:999px;}
  .pd-product-card__wishlist{color:#171416;-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
  .pd-product-card__wishlist:focus{outline:0;}
  .pd-product-card__wishlist:focus-visible{outline:2px solid #ef6799;outline-offset:2px;}
  .pd-editorial-row__products-shell{width:100%;max-width:100%;overflow:hidden;}
  .pd-editorial-row__products{width:100%;gap:12px;scroll-padding-inline:0;overscroll-behavior-x:contain;}
  .pd-editorial-row .pd-product-card{flex:0 0 100%;width:100%;max-width:100%;scroll-snap-align:start;scroll-snap-stop:always;}
  .pd-editorial-row__scroll{display:grid;width:42px;height:42px;}
  .pd-editorial-row__scroll--prev{left:6px;}
  .pd-editorial-row__scroll--next{right:6px;}
}
@media (max-width:390px){
  .site-header__inner{grid-template-columns:38px 58px minmax(0,1fr);gap:6px;}
  .site-header__logo{width:58px;}
  .site-header__logo img,.site-header__logo .custom-logo{width:56px;max-width:56px;height:50px;}
  .site-header__actions{gap:7px;}
  .site-header__actions>a,.site-header__action-button{width:22px;height:22px;}
  .site-header__actions>svg,.site-header__actions>a>svg,.site-header__action-button>svg{width:20px;height:20px;}
  .pd-preferences summary{width:36px;min-height:36px;}
  .pd-editorial-row .pd-product-card{flex-basis:100%;}
}


/* iOS interaction reset and mobile purchase flow */
@media (max-width:767px){
  .site-header a,
  .site-header button,
  .site-footer a,
  .site-footer button,
  .pd-shop-page a,
  .pd-shop-page button,
  .pd-single-product a,
  .pd-single-product button,
  .pd-cart-panel a,
  .pd-cart-panel button,
  .pd-checkout a,
  .pd-checkout button,
  .pd-checkout input[type=button],
  .pd-checkout input[type=submit]{
    -webkit-tap-highlight-color:transparent;
    -webkit-appearance:none;
    appearance:none;
    text-decoration:none;
  }
  .pd-shop-toolbar__filter,
  .pd-shop-toolbar__filter span,
  .pd-shop-toolbar__sort select,
  .pd-drawer__close,
  .pd-cart-panel__header button,
  .pd-cart-panel .pd-mini-cart-item__remove,
  .pd-product-card__wishlist,
  .pd-editorial-row__scroll{
    color:#171416;
    -webkit-text-fill-color:currentColor;
  }
  .pd-shop-toolbar__filter:focus,
  .pd-drawer__close:focus,
  .pd-product-card__wishlist:focus,
  .pd-editorial-row__scroll:focus{outline:0;}
  .pd-shop-toolbar__filter:focus-visible,
  .pd-drawer__close:focus-visible,
  .pd-product-card__wishlist:focus-visible,
  .pd-editorial-row__scroll:focus-visible{outline:2px solid #ef6799;outline-offset:3px;}
  .pd-product-card__wishlist.is-active,
  .pd-product-card__wishlist[aria-pressed=true]{color:#fff;-webkit-text-fill-color:#fff;}
  .pd-editorial-row__products{padding-inline:0;scroll-padding-inline:0;}
  .pd-editorial-row .pd-product-card{flex:0 0 100%;width:100%;max-width:100%;}
  .pd-editorial-row__products::after{content:"";flex:0 0 1px;}
  .pd-product-buybox__cart{display:block;}
}


/* Mobile home, shop and product layout */
@media (max-width: 767px) {
  :root {
    --page-gutter: 16px;
    --page-gutter-mobile: 16px;
    --section-gap-sm: 18px;
    --section-gap-md: 26px;
    --section-gap-lg: 34px;
  }

  .container,
  .pd-shop-page > .container,
  .pd-single-product > .container {
    width: calc(100% - 32px);
    max-width: none;
  }

  /* Home rhythm */
  .pd-home main > section,
  .pd-home .pd-product-showcase--editorial,
  .pd-home .collection-strip,
  .pd-home .pillowcase-banner,
  .pd-home .benefits,
  .pd-home .about-block {
    scroll-margin-top: 72px;
  }
  .pd-product-showcase--editorial { padding-block: 8px 24px; }
  .pd-product-showcase--editorial .pd-product-showcase__filters {
    position: relative;
    margin-bottom: 12px;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }
  .pd-filter-chip { scroll-snap-align: start; }
  .pd-editorial-rows { gap: 12px; }
  .pd-editorial-row { padding: 8px; }
  .pd-editorial-row__intro { padding: 18px 14px 16px; }
  .pd-editorial-row__products-shell { min-width: 0; }
  .pd-editorial-row__products {
    gap: 10px;
    overscroll-behavior-inline: contain;
    scroll-snap-stop: always;
  }
  .pd-editorial-row .pd-product-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
  }
  .pd-editorial-row__products::after { flex-basis: 0; }
  .pd-editorial-row__scroll { top: 48%; }
  .collection-strip__grid {
    margin-right: 0;
    padding-right: 0;
    overscroll-behavior-inline: contain;
  }
  .collection-tile,
  .collection-tile:last-child {
    flex-basis: calc(100vw - 42px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .pd-home .pillowcase-banner { margin-block: 6px 24px; }
  .pd-home .benefits { padding-bottom: 24px; }
  .pd-home .about-block { margin-top: 0; }

  /* Shop archive */
  .pd-shop-page { padding: 10px 0 42px; }
  .pd-shop-hero {
    min-height: 178px;
    margin-bottom: 12px;
  }
  .pd-shop-hero > div:first-child { padding: 24px 18px; }
  .pd-shop-hero h1 { font-size: clamp(34px, 10vw, 42px); }
  .pd-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .pd-shop-grid .pd-product-card__body { padding-top: 9px; }
  .pd-shop-grid .pd-product-card__title { font-size: 14px; }
  .pd-shop-grid .pd-product-card__price { font-size: 14px; }
  .pd-shop-grid .pd-product-card__button {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 8px;
  }

  /* Product */
  .pd-single-product { padding: 10px 0 42px; }
  .pd-product-breadcrumbs { margin-bottom: 12px; }
  .pd-product-layout { gap: 18px; }
  .pd-product-gallery-wrap .woocommerce-product-gallery__wrapper { border-radius: 18px; }
  .pd-product-gallery-wrap .woocommerce-product-gallery__image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .pd-product-gallery-wrap .flex-control-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 6px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
  }
  .pd-product-gallery-wrap .flex-control-thumbs li {
    flex: 0 0 72px;
    scroll-snap-align: start;
  }
  .pd-product-gallery-wrap .woocommerce-product-gallery__trigger {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
  .pd-product-buybox { padding: 0; }
  .pd-product-buybox h1 {
    margin: 8px 0 8px;
    font-size: clamp(36px, 10vw, 44px);
  }
  .pd-product-buybox__price { margin: 10px 0; font-size: 24px; }
  .pd-product-buybox__intro { font-size: 14px; line-height: 1.55; }
  .pd-product-buybox__cart { margin: 18px 0; }
  .pd-product-buybox form.cart {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }
  .pd-product-buybox .quantity,
  .woocommerce .pd-product-buybox .single_add_to_cart_button.button {
    width: 100%;
  }
  .woocommerce .pd-product-buybox .single_add_to_cart_button.button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
  }
  .pd-product-trust { margin: 18px 0; }
  .pd-product-trust > div { padding: 12px 0; }
  .pd-product-accordions summary { min-height: 54px; align-items: center; padding: 14px 0; }
  .pd-product-story { margin: 30px 0; padding: 28px 18px; border-radius: 20px; }
  .pd-product-story h2 { font-size: clamp(34px, 10vw, 46px); }
  .pd-product-story p { font-size: 14px; }
  .pd-related-products { margin-top: 30px; padding-inline: 0; }
  .pd-section-heading { padding-inline: 0; }
  .pd-related-products__grid {
    gap: 10px;
    overscroll-behavior-inline: contain;
    scroll-snap-stop: always;
  }
  .pd-related-products__grid .pd-product-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
}

@media (max-width: 389px) {
  .pd-shop-grid { grid-template-columns: 1fr; }
  .pd-shop-toolbar { grid-template-columns: 1fr; }
  .pd-shop-toolbar__result { grid-column: auto; }
  .pd-product-gallery-wrap .flex-control-thumbs li { flex-basis: 64px; }
}

/* Global mobile spacing and interaction audit */
@media (max-width: 767px) {
    html { -webkit-text-size-adjust: 100%; }
    body { min-width: 320px; }
    main { min-width: 0; }
    a,
    button,
    input,
    select,
    textarea,
    summary { -webkit-tap-highlight-color: transparent; }
    img,
    svg { max-width: 100%; }
    .site-main > .container,
    .site-main > section.container { max-width: none; }
    .button,
    button,
    input[type="submit"] { touch-action: manipulation; }
}

/* Homepage editorial carousel */
@media (max-width:767px){
  .pd-editorial-row__intro{min-height:220px;justify-content:flex-end;padding:22px 18px 20px;}
  .pd-editorial-row__title{font-size:clamp(54px,16vw,74px);}
  .pd-editorial-row__link{margin-top:22px;}
  .pd-editorial-row__products{padding-right:0;scroll-padding-inline:0;overflow-x:auto;}
  .pd-editorial-row .pd-product-card{flex:0 0 calc(100% - 46px);width:calc(100% - 46px);max-width:none;}
  .pd-editorial-row .pd-product-card:last-child{flex-basis:100%;width:100%;}
  .pd-editorial-row__products::after{content:"";flex:0 0 1px;}
}
@media (max-width:390px){
  .pd-editorial-row .pd-product-card{flex-basis:calc(100% - 38px);width:calc(100% - 38px);}
  .pd-editorial-row .pd-product-card:last-child{flex-basis:100%;width:100%;}
}

/* Mobile editorial collection heading */
@media (max-width:767px){
  .pd-editorial-row{
    position:relative;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
  }
  .pd-editorial-row:hover{box-shadow:none;}
  .pd-editorial-row--title-right .pd-editorial-row__intro,
  .pd-editorial-row--title-left .pd-editorial-row__intro{
    position:relative;
    z-index:7;
    grid-column:1;
    grid-row:1;
    min-height:66px;
    padding:0 8px;
    border-radius:0;
    background:none;
    background-image:none;
    overflow:visible;
  }
  .pd-editorial-row__intro--image{background-image:none;}
  .pd-editorial-row__intro-bottom{
    position:relative;
    display:block;
    width:100%;
    height:66px;
  }
  .pd-editorial-row__title,
  .pd-editorial-row__intro--image .pd-editorial-row__title{
    position:absolute;
    z-index:9;
    bottom:-17px;
    left:2px;
    margin:0;
    color:#ed4f8a;
    font-family:"Brush Script MT","Segoe Script","Apple Chancery",cursive;
    font-size:clamp(50px,15vw,66px);
    font-style:italic;
    font-weight:400;
    line-height:.72;
    letter-spacing:-.055em;
    text-align:left;
    white-space:nowrap;
    text-shadow:none;
    transform:rotate(-7deg);
    transform-origin:left bottom;
    pointer-events:none;
  }
  .pd-editorial-row__link,
  .pd-editorial-row__intro--image .pd-editorial-row__link{
    position:absolute;
    z-index:9;
    right:4px;
    bottom:5px;
    margin:0;
    color:#d9537e;
    font-size:9px;
    font-weight:700;
    letter-spacing:.09em;
    text-shadow:none;
    text-transform:uppercase;
  }
  .pd-editorial-row--title-right .pd-editorial-row__products-shell,
  .pd-editorial-row--title-left .pd-editorial-row__products-shell{
    grid-column:1;
    grid-row:2;
    margin-top:0;
  }
}
