@media (max-width: 767px) {
  /* Compact the product-page chrome so purchase controls reach a real mobile browser viewport sooner. */
  body.single-product.psd-mobile-pdp-ready .psd-header-v2__announcement {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
  }

  body.single-product.psd-mobile-pdp-ready .psd-header-v2__mobile {
    box-sizing: border-box !important;
    height: 56px !important;
    min-height: 56px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Preserve artwork dominance while recovering a little vertical room on real phones. */
  body.single-product.psd-mobile-pdp-ready div.product .woocommerce-product-gallery {
    width: 92% !important;
    max-width: 92% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 6px !important;
    float: none !important;
  }

  body.single-product.psd-mobile-pdp-ready .summary .entry-summary-inner {
    display: flex;
    flex-direction: column;
  }

  body.single-product.psd-mobile-pdp-ready .summary .entry-summary-inner > * {
    order: 70;
  }

  body.single-product.psd-mobile-pdp-ready .summary .product-themes {
    display: none !important;
  }

  body.single-product.psd-mobile-pdp-ready .summary .product_title {
    order: 20 !important;
  }

  body.single-product.psd-mobile-pdp-ready .summary > .entry-summary-inner > .price,
  body.single-product.psd-mobile-pdp-ready .summary .psd-mobile-pdp-summary-price {
    order: 25 !important;
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.single-product.psd-mobile-pdp-ready div.product .summary form.variations_form {
    order: 40 !important;
    margin-top: 0 !important;
  }

  body.single-product.psd-mobile-pdp-ready .summary .woocommerce-product-details__short-description {
    order: 50 !important;
    margin-top: 10px;
  }

  body.single-product.psd-mobile-pdp-ready .summary .psd-product-trust {
    display: none !important;
  }

  body.single-product.psd-mobile-pdp-ready .variations_form .variations {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-options {
    display: grid;
    gap: 4px;
    margin: 0 0 8px;
  }

  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-options__format,
  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-options__frame-finishes,
  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-options__sizes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
  }

  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-options__frame-finishes[hidden] {
    display: none;
  }

  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-options__size-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: -4px;
    color: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-option {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: inherit;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    min-height: 30px;
    padding: 3px 0 4px;
    margin: 0;
    line-height: 1.2;
    cursor: pointer;
  }

  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-option--format {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-option--frame,
  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-option--size {
    font-size: 13px;
    font-weight: 500;
  }

  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-option.is-active {
    border-bottom-color: currentColor;
  }

  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-option:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
  }

  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-option:disabled,
  body.single-product.psd-mobile-pdp-ready .psd-mobile-pdp-option[aria-disabled="true"] {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: none;
  }

  body.single-product.psd-mobile-pdp-ready .variations_form .single_variation_wrap {
    margin-top: 0;
  }

  body.single-product.psd-mobile-pdp-ready .variations_form .woocommerce-variation-price {
    display: none !important;
  }

  body.single-product.psd-mobile-pdp-ready .variations_form .single_add_to_cart_button {
    background: #4b3732 !important;
    border-color: #4b3732 !important;
    color: #ffffff !important;
  }

  body.single-product.psd-mobile-pdp-ready .variations_form .single_add_to_cart_button:hover,
  body.single-product.psd-mobile-pdp-ready .variations_form .single_add_to_cart_button:focus {
    background: #3d2c28 !important;
    border-color: #3d2c28 !important;
  }

  body.single-product.psd-mobile-pdp-ready .summary .woocommerce-product-details__short-description p:last-child,
  body.single-product.psd-mobile-pdp-ready .summary .psd-product-trust > :last-child {
    margin-bottom: 0;
  }

  /* Only wrapped mobile product titles enter compact mode. One-line titles remain unchanged. */
  body.single-product.psd-mobile-pdp-ready.psd-mobile-pdp-title-wraps div.product .woocommerce-product-gallery {
    margin-bottom: 0 !important;
  }

  body.single-product.psd-mobile-pdp-ready.psd-mobile-pdp-title-wraps .summary .product_title {
    font-size: clamp(30px, 8vw, 31px) !important;
    line-height: 1.02 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body.single-product.psd-mobile-pdp-ready.psd-mobile-pdp-title-wraps .summary .psd-mobile-pdp-summary-price {
    margin-top: -4px !important;
    line-height: 1.05 !important;
  }

  body.single-product.psd-mobile-pdp-ready.psd-mobile-pdp-title-wraps div.product .summary form.variations_form {
    margin-top: -6px !important;
    padding-top: 2px !important;
  }

  body.single-product.psd-mobile-pdp-ready.psd-mobile-pdp-title-wraps .psd-mobile-pdp-options {
    gap: 2px;
    margin-bottom: 2px;
  }

  body.single-product.psd-mobile-pdp-ready.psd-mobile-pdp-title-wraps .psd-mobile-pdp-option--format,
  body.single-product.psd-mobile-pdp-ready.psd-mobile-pdp-title-wraps .psd-mobile-pdp-option--size {
    min-height: 28px;
    padding-top: 2px;
    padding-bottom: 3px;
  }

  body.single-product.psd-mobile-pdp-ready.psd-mobile-pdp-title-wraps .psd-mobile-pdp-option--size.is-active {
    border-bottom-color: transparent !important;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }

  /* Keep the mobile recommendation layout aligned with current LIVE. */
  body.single-product.psd-mobile-pdp-ready .psd-related-products__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 10px !important;
    overflow: visible !important;
  }

  body.single-product.psd-mobile-pdp-ready .psd-related-product {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  body.single-product.psd-mobile-pdp-ready .psd-related-product__link,
  body.single-product.psd-mobile-pdp-ready .psd-related-product__image,
  body.single-product.psd-mobile-pdp-ready .psd-related-product__image img {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product.psd-mobile-pdp-ready .psd-related-product__image img {
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  /* Beat the legacy V5 mobile copy color while preserving inherited brand typography. */
  body.single-product.psd-mobile-pdp-ready div.product .psd-product-secondary-slot .psd-product-artwork-description__content,
  body.single-product.psd-mobile-pdp-ready div.product .psd-product-secondary-slot .psd-product-artwork-description__content p,
  body.single-product.psd-mobile-pdp-ready div.product .psd-product-secondary-slot .psd-left-features p,
  body.single-product.psd-mobile-pdp-ready div.product .psd-product-secondary-slot .psd-left-features ul,
  body.single-product.psd-mobile-pdp-ready div.product .psd-product-secondary-slot .psd-left-features li {
    color: #555555 !important;
    opacity: 1 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body.single-product.psd-mobile-pdp-ready div.product .psd-product-secondary-slot .psd-product-artwork-description__title,
  body.single-product.psd-mobile-pdp-ready div.product .psd-product-secondary-slot .psd-left-features h3 {
    color: #4e423d !important;
    opacity: 1 !important;
  }
}
