
/* ========================================
   ELLIZA FOUNDATION — FEATURED PRODUCT
   ======================================== */

#MainContent .shopify-section:has(
  [data-product-handle="elliza-foundation-t-shirt"]
) {

  /* 1. Section spacing */
  .section-padding {
    padding-top: 8px !important;
    padding-bottom: 12px !important;
  }

  /* 2. Heading */
  .section__heading,
  .section__title,
  .section-header,
  .section-title {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  .kicker-flourished {
    padding-top: 16px !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
  }

  /* 3. Remove heading dividers */
  .section__heading::before,
  .section__heading::after,
  .section__title::before,
  .section__title::after,
  .section-title::before,
  .section-title::after,
  .section-header::before,
  .section-header::after,
  .kicker-flourished::after,
  .wrapper:has(> .kicker-flourished)::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
  }

  .section-header hr,
  .section__heading hr {
    display: none !important;
  }

  /* 4. Remove breadcrumbs */
  .breadcrumb {
    display: none !important;
  }

  /* 5. Product information */
  .product__inner {
    padding-top: 6px !important;
  }

  .product__block__title {
    margin: 0 !important;
    padding: 0 !important;
    --PB: 0px !important;
  }

  .product__title,
  .product__title__wrapper {
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 6. Center price */
  .product__block__price {
    margin: 4px 0 0 !important;
    padding: 0 !important;
    --PB: 0px !important;
    text-align: center !important;
  }

  .product__price__wrap,
  .product__price__main {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* 7. OVERSIZED FIT */
  .product__block__price::after {
    content: "OVERSIZED FIT" !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.2px !important;
    text-align: center !important;
    color: #444 !important;
    text-transform: uppercase !important;
  }

  /* Hide duplicate fit labels */
  .product__block__variants
  .radio__legend__label.elliza-fit-summary,
  .elliza-fit-label {
    display: none !important;
  }

  /* 8. Product highlight */
  .elliza-product-highlight {
    margin: 5px 0 6px !important;
    padding: 0 !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  /* 9. Size selector */
  .product__block__variants {
    margin: 3px 0 7px !important;
    padding: 0 !important;
    --PB: 0px !important;
  }

  .radio__legend {
    margin-bottom: 4px !important;
    padding-bottom: 0 !important;
  }

  .radio__legend::before,
  .radio__legend::after,
  .elliza-fit-summary::before,
  .elliza-fit-summary::after {
    content: none !important;
    display: none !important;
  }

  /* 10. Hide quantity selector */
  .product__block__quantity,
  .product-form__quantity,
  .product__quantity,
  quantity-input {
    display: none !important;
  }

  /* 11. Pre-order button */
  .product__block__buttons {
    margin-top: 5px !important;
    margin-bottom: 8px !important;
    --PB: 0px !important;
  }

  /* 12. Foundation donation */
  .elliza-foundation-service {
    margin: 4px 0 6px !important;
  }

  .elliza-foundation-service summary {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .elliza-foundation-service .elliza-cross {
    display: inline-flex !important;
    flex-shrink: 0 !important;
  }

  .elliza-foundation-service .elliza-cross img {
    width: 13px !important;
    height: 13px !important;
    object-fit: contain !important;
  }

  .elliza-foundation-service .toggle {
    margin-left: auto !important;
  }

  /* 13. Service information */
  .elliza-service {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
  }

  .elliza-service .release-date {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
}

/* ========================================
   MOBILE — COMPACT EDITORIAL LAYOUT
   ======================================== */

@media screen and (max-width: 749px) {

  #MainContent .shopify-section:has(
    [data-product-handle="elliza-foundation-t-shirt"]
  ) {

    /* Section spacing */
    .section-padding {
      padding-top: 4px !important;
      padding-bottom: 8px !important;
    }

    /* Heading */
    .kicker-flourished {
      padding-top: 16px !important;
      margin-bottom: 6px !important;
    }

    .section__heading,
    .section__title,
    .section-header {
      margin-bottom: 5px !important;
    }

    /* Product information */
    .product__inner {
      padding-top: 4px !important;
    }

    /* Price */
    .product__block__price {
      margin: 3px 0 0 !important;
    }

    /* Fit label */
    .product__block__price::after {
      margin-top: 6px !important;
      font-size: 11px !important;
      line-height: 1.4 !important;
    }

    /* Product highlight */
    .elliza-product-highlight {
      margin: 4px 0 6px !important;
    }

    /* Size selector spacing */
    .product__block__variants {
      margin: 10px 0 6px !important;
      padding: 0 !important;
    }

    /* Remove empty mobile size legend */
    .elliza-size-legend {
      display: none !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    /* Keep size buttons visible */
    .radio__inputs {
      margin-top: 0 !important;
      padding-top: 0 !important;
    }

    /* Pre-order button */
    .product__block__buttons {
      margin: 6px 0 7px !important;
    }

    /* Service information */
    .elliza-service {
      margin-top: 3px !important;
      margin-bottom: 3px !important;
    }
  }
}
