/**
 * Mad Baits mobile / PWA app polish — max-width 768px only.
 * Desktop layout intentionally unchanged.
 */

.mad-mobile-urgency,
.mad-app-toast {
  display: none;
}

.mad-app-version-label {
  margin: 0;
  padding: 0;
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.34);
  pointer-events: none;
  user-select: none;
}

.site-footer--premium .site-footer__bottom--premium {
  position: relative;
}

.site-footer__app-version {
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0 clamp(0.5rem, 2vw, 1rem) 0.05rem;
  text-align: right;
}

/* App top bar markup is server-rendered; hide everywhere except narrow viewports below. */
.mad-app-top-bar {
  display: none !important;
}
@media (max-width: 768px) {
  :root {
    --mad-yellow: #fff202;
    --mad-yellow-hover: #fff76a;
    --mad-mobile-app-nav-h: 86px;
    --mad-mobile-nav-height: 86px;
    --mad-app-nav-safe: env(safe-area-inset-bottom, 0px);
    --mad-app-top-safe: env(safe-area-inset-top, 0px);
    --mad-app-top-bar-fill: 48px;
    --mad-app-top-bar-stack: calc(var(--mad-app-top-safe) + var(--mad-app-top-bar-fill));
  }

  body.is-mobile-app-shell.mad-app-has-top-back:not(.woocommerce-cart):not(.woocommerce-checkout) #content.site-main {
    scroll-margin-top: var(--mad-app-top-bar-stack);
  }
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  body {
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
  }

  a,
  button,
  .button,
  input,
  select,
  textarea,
  .mad-button {
    -webkit-tap-highlight-color: transparent;
  }

  /* Hide duplicate sticky sales bar when app bottom nav is active */
  body.is-mobile-app-shell:not(.mad-app-nav-hidden-context) .mad-mobile-sales-bar {
    display: none !important;
  }

  body.is-mobile-app-shell:not(.mad-app-nav-hidden-context) .site-main,
  body.is-mobile-app-shell:not(.mad-app-nav-hidden-context) main,
  body.is-mobile-app-shell:not(.mad-app-nav-hidden-context) .content-area {
    padding-bottom: calc(var(--mad-mobile-nav-height, 86px) + 16px + var(--mad-app-nav-safe));
  }

  /* Bundle builder PDP — reserve space for sticky CTA + bottom nav so pills stay tappable */
  body.is-mobile-app-shell.mbbb-product.single-product:not(.woocommerce-cart):not(.woocommerce-checkout) .site-main,
  body.is-mobile-app-shell.mbbb-product.single-product:not(.woocommerce-cart):not(.woocommerce-checkout) #content.site-main {
    padding-bottom: calc(11.5rem + var(--mad-app-nav-safe)) !important;
  }

  body.is-mobile-app-shell.mbbb-product.single-product .site-footer--premium {
    margin-bottom: calc(5rem + var(--mad-app-nav-safe));
  }

  body.is-mobile-app-shell.mbbb-product.single-product .mad-app-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }

  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-cart .site-main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-cart main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-cart #content.site-main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-checkout .site-main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-checkout main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-checkout #content.site-main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-order-pay .site-main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-order-pay main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-order-pay #content.site-main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-order-received .site-main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-order-received main,
  body.is-mobile-app-shell.mad-app-nav-hidden-context.woocommerce-order-received #content.site-main {
    padding-bottom: calc(1.25rem + var(--mad-app-nav-safe));
  }

  body.is-pwa .site-header,
  body.is-standalone-app .site-header {
    padding-top: var(--mad-app-top-safe);
  }

  body.is-mobile-app-shell.mad-app-has-top-back .mad-app-top-bar {
    display: block !important;
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 10145;
    padding-top: var(--mad-app-top-safe);
    background: rgba(8, 8, 10, 0.88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 242, 2, 0.15);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition:
      background 0.2s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease;
  }

  body.is-mobile-app-shell.mad-app-has-top-back .mad-app-top-bar::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 242, 2, 0), rgba(255, 242, 2, 0.7), rgba(255, 242, 2, 0));
    pointer-events: none;
  }

  body.is-mobile-app-shell.mad-app-has-top-back .mad-app-top-bar--compact {
    background: rgba(6, 6, 8, 0.94);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
  }

  body.is-mobile-app-shell.mad-app-has-top-back .mad-app-top-bar--compact .mad-app-top-bar__inner {
    min-height: 42px;
  }

  body.is-mobile-app-shell.mad-app-has-top-back .mad-app-top-bar--compact .mad-app-top-bar__title {
    font-size: 0.82rem;
  }

  body.is-mobile-app-shell.mad-app-has-top-back .site-header {
    display: none !important;
  }

  body.is-mobile-app-shell.mad-app-has-top-back:not(.home) #content.site-main {
    padding-top: calc(var(--mad-app-top-bar-stack) + 10px);
  }

  body.is-mobile-app-shell.mad-app-has-top-back.mad-app-nav-hidden-context:not(.home) #content.site-main {
    padding-top: calc(var(--mad-app-top-bar-stack) + 6px);
  }

  .mad-app-top-bar__inner {
    display: grid;
    grid-template-columns: minmax(44px, auto) 1fr auto;
    align-items: center;
    gap: 0.28rem;
    min-height: var(--mad-app-top-bar-fill);
    padding: 0 max(0.65rem, env(safe-area-inset-right)) 0 max(0.65rem, env(safe-area-inset-left));
    max-width: 100%;
  }

  .mad-app-top-bar__brand-wrap {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.22rem;
  }

  .mad-app-top-bar__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-decoration: none;
    color: #fff;
  }

  .mad-app-top-bar__logo {
    display: block;
    width: clamp(28px, 8.2vw, 36px);
    height: auto;
    max-width: clamp(28px, 8.2vw, 36px);
    object-fit: contain;
    filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.5));
  }

  .mad-app-top-bar__logo-text {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mad-app-top-bar__title {
    display: none;
  }

  .mad-app-top-bar__actions {
    display: flex;
    align-items: center;
    gap: 0.12rem;
  }

  .mad-mobile-app-links {
    margin: 0.9rem 0 0;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 242, 2, 0.16);
  }

  .mad-mobile-app-links__title {
    margin: 0 0 0.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 242, 2, 0.86);
  }

  .mad-mobile-app-links__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .mad-mobile-app-links__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.45rem 0.55rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: #f4f4f4;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  }

  .mad-mobile-app-links__item:active {
    transform: scale(0.98);
    border-color: rgba(255, 242, 2, 0.5);
    background: rgba(255, 242, 2, 0.14);
    color: #fff202;
  }

  .mad-app-top-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #f0f0f0;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition:
      transform 0.14s ease,
      background-color 0.14s ease,
      color 0.14s ease;
  }

  .mad-app-top-bar__btn:active {
    transform: scale(0.94);
    color: var(--mad-yellow);
  }

  .mad-app-top-bar__btn:focus-visible {
    outline: 2px solid var(--mad-yellow);
    outline-offset: 2px;
  }

  .mad-app-top-bar__btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mad-app-top-bar__btn-icon svg {
    display: block;
  }

  .mad-app-top-bar__btn-icon--cart {
    position: relative;
  }

  .mad-app-top-bar__cart-count {
    position: absolute;
    top: -0.2rem;
    right: -0.15rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.22rem;
    border-radius: 999px;
    background: var(--mad-yellow);
    color: #050505;
    font-size: 0.6rem;
    font-weight: 900;
    line-height: 1.05rem;
    text-align: center;
    box-shadow: 0 0 0 2px #0a0a0a;
  }

  .mad-app-top-bar__cart-count[hidden] {
    display: none !important;
  }

  .mad-app-top-bar__btn-icon--menu {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
  }

  .mad-app-top-bar__btn-icon--menu span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: currentColor;
  }

  body.mobile-menu-open .mad-app-top-bar {
    opacity: 0;
    pointer-events: none;
    z-index: 10120;
    transition: opacity 0.15s ease;
  }

  /* Bottom navigation */
  body.mad-app-nav-hidden-context .mad-app-bottom-nav,
  body.woocommerce-cart .mad-app-bottom-nav,
  body.woocommerce-checkout .mad-app-bottom-nav,
  body.woocommerce-order-pay .mad-app-bottom-nav,
  body.woocommerce-order-received .mad-app-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }

  body.is-mobile-app-shell:not(.mad-app-nav-hidden-context):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-pay):not(.woocommerce-order-received) .mad-app-bottom-nav {
    display: block;
    padding: 0.35rem 0.5rem calc(0.35rem + var(--mad-app-nav-safe));
  }

  .mad-app-bottom-nav__inner {
    border-radius: 20px;
    padding: 0.35rem 0.28rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  }

  .mad-app-bottom-nav__item {
    min-height: 52px;
    min-width: 44px;
    border-radius: 14px;
    transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  }

  .mad-app-bottom-nav__item.is-active {
    background: rgba(255, 242, 2, 0.18);
    color: var(--mad-yellow);
    box-shadow: inset 0 0 0 1.5px rgba(255, 242, 2, 0.55);
  }

  .mad-app-bottom-nav__item.is-active .mad-app-bottom-nav__label {
    color: var(--mad-yellow);
    font-weight: 800;
  }

  .mad-app-bottom-nav__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mad-app-bottom-nav__icon svg {
    width: 20px;
    height: 20px;
  }

  .mad-app-bottom-nav__label {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
  }

  .mad-app-bottom-nav__cart-count {
    position: absolute;
    top: -0.35rem;
    right: -0.55rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.22rem;
    border-radius: 999px;
    background: var(--mad-yellow);
    color: #050505;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1.05rem;
    text-align: center;
    box-shadow: 0 0 0 2px #0a0a0a;
  }

  .mad-app-bottom-nav__cart-count[hidden] {
    display: none !important;
  }

  .mad-app-bottom-nav__version {
    display: none;
    width: min(720px, 100%);
    margin: 0.12rem auto 0;
    padding: 0 0.72rem 0;
    text-align: right;
  }

  body.is-mobile-app-shell .mad-app-bottom-nav__version,
  body.is-pwa .mad-app-bottom-nav__version,
  body.is-standalone-app .mad-app-bottom-nav__version {
    display: block;
  }

  /* Product grid + cards */
  .product-grid.is-loading-skeleton .mad-product-card,
  .woocommerce ul.products.is-loading-skeleton .mad-product-card {
    pointer-events: none;
  }

  .product-grid.is-loading-skeleton .mad-product-card__image-link,
  .woocommerce ul.products.is-loading-skeleton .mad-product-card__image-link {
    background: linear-gradient(110deg, #1a1a1a 8%, #2a2a2a 18%, #1a1a1a 33%);
    background-size: 200% 100%;
    animation: madMobileSkeleton 1.1s ease-in-out infinite;
  }

  .product-grid.is-loading-skeleton .mad-product-card__title,
  .product-grid.is-loading-skeleton .mad-product-card__price,
  .woocommerce ul.products.is-loading-skeleton .mad-product-card__title,
  .woocommerce ul.products.is-loading-skeleton .mad-product-card__price {
    color: transparent;
    border-radius: 6px;
    background: linear-gradient(110deg, #222 8%, #333 18%, #222 33%);
    background-size: 200% 100%;
    animation: madMobileSkeleton 1.1s ease-in-out infinite;
    min-height: 0.9rem;
  }

  @keyframes madMobileSkeleton {
    0% {
      background-position: 100% 0;
    }

    100% {
      background-position: -100% 0;
    }
  }

  .product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
  }

  .mad-product-card {
    min-height: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .mad-product-card:active {
    transform: scale(0.985);
  }

  .mad-product-card__image-link {
    min-height: 0;
    aspect-ratio: 1 / 1;
    background: #0a0a0a;
    overflow: hidden;
  }

  .mad-product-card__image {
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    padding: 0;
  }

  .mad-product-card__content {
    padding: 0.72rem 0.72rem 0.8rem;
    gap: 0.42rem;
    grid-template-rows: auto auto 1fr auto;
  }

  .mad-product-card__title {
    font-size: 0.86rem;
    line-height: 1.32;
    min-height: 2.55em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mad-product-card__price {
    color: var(--mad-yellow) !important;
    font-size: 1rem;
    font-weight: 900;
  }

  .mad-product-card__actions .mad-button,
  .mad-product-card__actions .button,
  .mad-product-card__variation-form .mad-button {
    min-height: 44px;
    background: var(--mad-yellow) !important;
    border-color: var(--mad-yellow) !important;
    color: #050505 !important;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.72rem;
    transition: transform 0.14s ease, background-color 0.14s ease;
  }

  .mad-product-card__actions .mad-button:active,
  .mad-product-card__actions .button:active {
    transform: scale(0.97);
    background: var(--mad-yellow-hover) !important;
  }

  .mad-product-card__variation-select {
    min-height: 44px;
    font-size: 0.82rem;
  }

  .mad-product-card__post-add.is-success {
    border-top: 1px solid rgba(255, 242, 2, 0.22);
    padding-top: 0.45rem;
  }

  /* Shop toolbar — archive pages use shop-archive-grid.css for layout */
  .mad-shop-toolbar .woocommerce-ordering,
  .mad-shop-toolbar .woocommerce-result-count {
    width: 100%;
  }

  .mad-shop-toolbar .woocommerce-ordering {
    margin-left: auto;
    margin-right: auto;
  }

  .mad-shop-toolbar .woocommerce-ordering select {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    background: #101010;
    color: #f2f2f2;
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    text-align-last: center;
  }

  .mad-mobile-shop-chips {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
  }

  .mad-mobile-shop-chips::-webkit-scrollbar {
    display: none;
  }

  .mad-mobile-shop-chips__item {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.4rem 0.85rem;
  }

  .mad-mobile-shop-chips__item.is-active {
    background: var(--mad-yellow);
    border-color: var(--mad-yellow);
    color: #050505;
  }

  /* Homepage mobile urgency */
  .mad-mobile-urgency {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0 auto;
    max-width: min(1120px, 100%);
    padding: 0.55rem clamp(0.72rem, 3vw, 1rem) 0;
  }

  .mad-mobile-urgency__pill {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.45rem 0.35rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 242, 2, 0.28);
    background: rgba(255, 242, 2, 0.08);
    color: #f5f5f5;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.25;
    text-decoration: none;
  }

  .mad-mobile-urgency__pill strong {
    color: var(--mad-yellow);
  }

  /* Free shipping progress */
  .mad-free-shipping-bar {
    margin: 0 0 0.85rem;
    padding: 0.72rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 242, 2, 0.28);
    background: rgba(255, 242, 2, 0.08);
  }

  .mad-free-shipping-bar__label {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f2f2f2;
    line-height: 1.35;
  }

  .mad-free-shipping-bar__label strong {
    color: var(--mad-yellow);
  }

  .mad-free-shipping-bar__track {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
  }

  .mad-free-shipping-bar__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fff202, #fff76a);
    transition: width 0.35s ease;
  }

  .mad-free-shipping-bar.is-qualified .mad-free-shipping-bar__label {
    color: var(--mad-yellow);
  }

  /* Cart / checkout sticky actions */
  .woocommerce-cart .wc-proceed-to-checkout,
  .woocommerce-cart .cart-collaterals .checkout-button {
    position: sticky;
    bottom: calc(var(--mad-mobile-nav-height, 86px) + 12px + var(--mad-app-nav-safe));
    z-index: 12;
    margin-top: 0.85rem;
    padding-top: 0.35rem;
  }

  body.mad-app-nav-hidden-context.woocommerce-cart .wc-proceed-to-checkout,
  body.mad-app-nav-hidden-context.woocommerce-cart .cart-collaterals .checkout-button {
    bottom: calc(12px + var(--mad-app-nav-safe));
  }

  body.woocommerce-checkout #place_order,
  body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
  body.woocommerce-order-pay #place_order {
    position: sticky;
    bottom: calc(12px + var(--mad-app-nav-safe));
    z-index: 12;
  }

  .woocommerce-cart .checkout-button,
  .woocommerce-checkout #place_order,
  .woocommerce .button.alt,
  .wc-block-components-checkout-place-order-button .wc-block-components-button {
    background: var(--mad-yellow) !important;
    border-color: var(--mad-yellow) !important;
    color: #050505 !important;
    min-height: 50px;
  }

  .woocommerce-cart .quantity .qty,
  .woocommerce-cart .quantity .plus,
  .woocommerce-cart .quantity .minus {
    min-height: 44px;
    min-width: 44px;
  }

  /* Toast feedback */
  .mad-app-toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--mad-mobile-app-nav-h) + 14px + var(--mad-app-nav-safe));
    transform: translateX(-50%) translateY(12px);
    z-index: 120;
    max-width: min(92vw, 360px);
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.94);
    border: 1px solid rgba(255, 242, 2, 0.45);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
  }

  .mad-app-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  body.mad-app-nav-hidden-context .mad-app-toast {
    bottom: calc(14px + var(--mad-app-nav-safe));
  }

  body.woocommerce-cart .mad-app-toast,
  body.woocommerce-checkout .mad-app-toast {
    bottom: calc(14px + var(--mad-app-nav-safe));
  }

  /* Mini cart drawer safe area */
  .mad-mini-cart-drawer {
    padding-bottom: var(--mad-app-nav-safe);
  }

  .mad-mobile-sticky-atc {
    bottom: calc(var(--mad-mobile-nav-height, 86px) + 10px + var(--mad-app-nav-safe));
  }

  body.mad-app-mobile.home .hero--immersive,
  body.is-mobile-app-shell.home .hero--immersive {
    margin-top: 0;
  }

  body.mad-app-mobile.home .site-header,
  body.is-mobile-app-shell.home .site-header {
    margin-bottom: 0;
  }

  body.mad-app-mobile.home .hero__actions,
  body.is-mobile-app-shell.home .hero__actions {
    padding-bottom: calc(0.35rem + var(--mad-app-nav-safe));
  }

  .single-product .site-main {
    padding-bottom: calc(150px + var(--mad-app-nav-safe));
  }

  /* Hero mobile CTA emphasis */
  .home .hero__actions {
    grid-template-columns: 1fr;
  }

  .home .hero__actions .mad-button:first-child {
    min-height: 52px;
    font-size: 0.92rem;
    background: var(--mad-yellow);
    color: #050505;
    border-color: var(--mad-yellow);
  }

  @media (max-width: 390px) {
    .mad-mobile-urgency {
      grid-template-columns: 1fr;
    }

    .product-grid,
    .woocommerce ul.products {
      grid-template-columns: 1fr;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  @media (max-width: 768px) {
    .mad-product-card,
    .mad-app-bottom-nav__item,
    .mad-app-toast,
    .mad-free-shipping-bar__fill,
    .mad-app-top-bar,
    .mad-app-top-bar__title {
      transition: none !important;
      animation: none !important;
    }
  }
}
