/* ============================================================
   MPA — Products page-only styles
   Refactored from the original combined stylesheet.
============================================================ */

/* Base styles */

.product-page-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    color: #ffffff;
    background: radial-gradient(
        circle at 85% 15%,
        rgba(255, 255, 255, 0.18),
        transparent 27%
      ),
      linear-gradient(
        130deg,
        var(--brand-deep) 0%,
        var(--brand-dark) 45%,
        var(--brand) 100%
      );
  }
  
  .product-page-hero::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    top: -230px;
    right: -100px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
  }
  
  .product-page-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: 26%;
    bottom: -190px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
  }
  
  .product-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 75px;
    align-items: center;
  }
  
  .product-hero-eyebrow {
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    letter-spacing: 0.16em;
  }
  
  .product-hero-copy h1 {
    max-width: 670px;
    margin: 15px 0 23px;
    font-size: clamp(45px, 6vw, 74px);
    line-height: 1;
    letter-spacing: -0.045em;
  }
  
  .product-hero-copy h1 span {
    display: block;
    color: #ffd9d5;
  }
  
  .product-hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.75;
  }
  
  .product-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 31px;
  }
  
  .product-page-hero .btn-primary {
    background: #ffffff;
    color: var(--brand-dark);
    box-shadow: 0 12px 30px rgba(80, 0, 0, 0.22);
  }
  
  .product-page-hero .btn-primary:hover {
    background: #fff4f2;
  }
  
  .product-hero-note {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.73);
    font-size: 13px;
  }
  
  .product-hero-note span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #ffffff;
  }
  
  .product-hero-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    box-shadow: 0 30px 70px rgba(70, 0, 4, 0.28);
  }
  
  .product-panel-heading {
    padding: 26px 28px 21px;
    border-bottom: 1px solid #efd9da;
  }
  
  .product-panel-heading small {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  
  .product-panel-heading strong {
    color: var(--brand-dark);
    font-size: 25px;
  }
  
  .product-category-list {
    display: grid;
  }
  
  .product-category-list a {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    gap: 13px;
    align-items: center;
    padding: 18px 28px;
    border-bottom: 1px solid #f1dddd;
    transition: background 0.2s ease,
      padding-left 0.2s ease;
  }
  
  .product-category-list a:last-child {
    border-bottom: 0;
  }
  
  .product-category-list a:hover {
    padding-left: 34px;
    background: #fff6f4;
  }
  
  .product-category-index {
    color: var(--brand);
    font-size: 12px;
    font-weight: 850;
  }
  
  .product-category-name {
    color: var(--text);
    font-size: 15px;
    font-weight: 750;
  }
  
  .product-category-arrow {
    color: var(--brand-dark);
    font-size: 18px;
  }
  
  .products-section-eyebrow {
    color: var(--brand-dark);
    font-size: 14px;
    letter-spacing: 0.14em;
  }
  
  .product-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 78px;
    align-items: start;
  }
  
  .product-intro-title h2 {
    max-width: 520px;
    margin: 12px 0 0;
    color: var(--text);
    font-size: clamp(34px, 4.4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }
  
  .product-intro-copy p {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.78;
  }
  
  .product-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 55px;
  }
  
  .product-point {
    display: grid;
    grid-template-columns: 43px 1fr;
    gap: 17px;
    padding: 26px;
    border: 1px solid #efd7d8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(80, 0, 0, 0.045);
  }
  
  .product-point > span {
    color: var(--brand);
    font-size: 13px;
    font-weight: 850;
  }
  
  .product-point h3 {
    margin: 0 0 8px;
    color: var(--brand-dark);
    font-size: 19px;
  }
  
  .product-point p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
  }
  
  .dairy-products-section {
    background: var(--cream);
  }
  
  .catalogue-heading {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    gap: 55px;
    align-items: end;
    margin-bottom: 44px;
  }
  
  .catalogue-heading h2 {
    margin: 9px 0 0;
    color: var(--brand-dark);
    font-size: clamp(36px, 4.8vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.035em;
  }
  
  .catalogue-heading > p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
  }
  
  .product-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  
  .product-detail-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    overflow: hidden;
    padding: 31px;
    border: 1px solid #efd5d7;
    border-radius: 23px;
    background: #ffffff;
    box-shadow: 0 15px 38px rgba(80, 0, 0, 0.055);
    transition: transform 0.22s ease,
      box-shadow 0.22s ease;
  }
  
  .product-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(80, 0, 0, 0.1);
  }
  
  .product-detail-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    top: -95px;
    right: -80px;
    border-radius: 50%;
    background: rgba(200, 61, 67, 0.07);
  }
  
  .product-detail-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 27px;
  }
  
  .product-code {
    color: var(--brand);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.13em;
  }
  
  .product-monogram {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #fff0ef;
    color: var(--brand-dark);
    font-size: 15px;
    font-weight: 900;
  }
  
  .product-detail-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: var(--brand-dark);
    font-size: 27px;
    line-height: 1.2;
  }
  
  .product-detail-card > p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
  }
  
  .product-applications {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 23px;
  }
  
  .product-applications span {
    padding: 7px 11px;
    border: 1px solid #efd8da;
    border-radius: 999px;
    background: #fff9f7;
    color: #77585a;
    font-size: 11px;
    font-weight: 750;
  }
  
  .product-enquiry-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 27px;
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 850;
  }
  
  .product-enquiry-link span {
    transition: transform 0.2s ease;
  }
  
  .product-enquiry-link:hover span {
    transform: translateX(4px);
  }
  
  .product-custom-card {
    color: #ffffff;
    background: radial-gradient(
        circle at 90% 10%,
        rgba(255, 255, 255, 0.15),
        transparent 30%
      ),
      linear-gradient(
        135deg,
        var(--brand-deep),
        var(--brand)
      );
  }
  
  .product-custom-card::after {
    background: rgba(255, 255, 255, 0.08);
  }
  
  .product-custom-card .product-code,
  .product-custom-card h3,
  .product-custom-card .product-enquiry-link {
    color: #ffffff;
  }
  
  .product-custom-card .product-monogram {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
  }
  
  .product-custom-card > p {
    color: rgba(255, 255, 255, 0.85);
  }
  
  .product-custom-card .product-applications span {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
  
  .additional-products-section {
    background: #ffffff;
  }
  
  .ingredient-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 21px;
  }
  
  .ingredient-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 370px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid #efd6d7;
    border-radius: 22px;
    background: radial-gradient(
        circle at 100% 0%,
        rgba(200, 61, 67, 0.1),
        transparent 32%
      ),
      #ffffff;
    box-shadow: 0 14px 36px rgba(80, 0, 0, 0.05);
    transition: transform 0.22s ease,
      box-shadow 0.22s ease;
  }
  
  .ingredient-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(80, 0, 0, 0.1);
  }
  
  .ingredient-category-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -55px;
    bottom: -55px;
    border-radius: 50%;
    background: rgba(200, 61, 67, 0.08);
  }
  
  .ingredient-category-label {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 24px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff0ef;
    color: var(--brand-dark);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }
  
  .ingredient-category-symbol {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 16px;
    background: var(--brand-dark);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
  }
  
  .ingredient-category-card h3 {
    margin: 0 0 13px;
    color: var(--brand-dark);
    font-size: 22px;
    line-height: 1.28;
  }
  
  .ingredient-category-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
  }
  
  .ingredient-category-card a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 24px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 850;
  }
  
  .ingredient-category-card a span {
    transition: transform 0.2s ease;
  }
  
  .ingredient-category-card a:hover span {
    transform: translateX(4px);
  }
  
  .ingredient-availability-note {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 26px;
    align-items: center;
    margin-top: 31px;
    padding: 24px 27px;
    border: 1px solid #efd5d7;
    border-radius: 18px;
    background: #fff8f5;
  }
  
  .ingredient-availability-note strong {
    color: var(--brand-dark);
    font-size: 17px;
  }
  
  .ingredient-availability-note p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
  }
  
  .products-cta-section {
    padding-top: 30px;
    background: #ffffff;
  }
  
  .products-cta-panel {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 55px;
    align-items: center;
    padding: 55px;
    border-radius: 30px;
    color: #ffffff;
    background: radial-gradient(
        circle at 90% 10%,
        rgba(255, 255, 255, 0.15),
        transparent 30%
      ),
      linear-gradient(
        130deg,
        var(--brand-deep),
        var(--brand)
      );
    box-shadow: 0 25px 55px rgba(91, 9, 13, 0.24);
  }
  
  .products-cta-eyebrow {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
  }
  
  .products-cta-copy h2 {
    max-width: 670px;
    margin: 11px 0 17px;
    color: #ffffff;
    font-size: clamp(33px, 4.5vw, 49px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }
  
  .products-cta-copy p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.72;
  }
  
  .products-cta-action {
    display: grid;
    gap: 21px;
    justify-items: start;
    padding-left: 38px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
  }
  
  .products-cta-action > span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.45;
  }
  
  /* Responsive styles */
  
  @media (max-width: 980px) {
  
    .product-hero-grid,
    .product-intro-grid,
    .catalogue-heading,
    .products-cta-panel {
      grid-template-columns: 1fr;
    }
  
    .product-hero-grid {
      gap: 45px;
    }
  
    .product-hero-panel {
      max-width: 680px;
    }
  
    .product-intro-grid {
      gap: 30px;
    }
  
    .product-points {
      grid-template-columns: 1fr;
    }
  
    .catalogue-heading {
      gap: 25px;
    }
  
    .ingredient-category-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .products-cta-panel {
      gap: 32px;
    }
  
    .products-cta-action {
      padding-top: 28px;
      padding-left: 0;
      border-top: 1px solid rgba(255, 255, 255, 0.28);
      border-left: 0;
    }
  }
  
  @media (max-width: 760px) {
  
    .product-page-hero {
      padding: 75px 0;
    }
  
    .product-hero-copy h1 {
      font-size: 45px;
    }
  
    .product-hero-copy > p {
      font-size: 16px;
    }
  
    .product-hero-actions {
      align-items: stretch;
      flex-direction: column;
    }
  
    .product-hero-actions a {
      width: 100%;
    }
  
    .product-category-list a {
      padding: 16px 20px;
    }
  
    .product-category-list a:hover {
      padding-left: 24px;
    }
  
    .product-panel-heading {
      padding: 23px 20px 18px;
    }
  
    .product-detail-grid,
    .ingredient-category-grid {
      grid-template-columns: 1fr;
    }
  
    .product-detail-card,
    .ingredient-category-card {
      min-height: auto;
    }
  
    .product-detail-card {
      padding: 25px;
    }
  
    .ingredient-category-card {
      padding: 25px;
    }
  
    .ingredient-availability-note {
      grid-template-columns: 1fr;
      gap: 8px;
    }
  
    .products-cta-panel {
      padding: 34px 25px;
      border-radius: 23px;
    }
  }