[section="single-collection"] {
  display: grid;
  gap: var(--spacing-12);

  /* Head */
}

[section="single-collection"] .collection-head {
    min-height: 164px;
    padding: var(--spacing-40) var(--spacing-64);
    border-radius: var(--radius-md);
    background-color: var(--color-surface-container-low);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-16);
  }

:is([section="single-collection"] .collection-head) .title {
      font: var(--font-headline-md);
    }

:is([section="single-collection"] .collection-head) .description {
      opacity: 0.8;
      text-wrap: balance;
    }

:is([section="single-collection"] .collection-head) .links {
      display: flex;
      gap: var(--spacing-16);
      flex-wrap: wrap;
    }

:is(:is([section="single-collection"] .collection-head) .links) [ui-link] {
        color: var(--color-on-background);
      }

/* Path */

[section="single-collection"] .collection-path {
    display: grid;
    gap: var(--spacing-12);
    grid-template-columns: 56px auto auto;
  }

:is([section="single-collection"] .collection-path) [ui-button]:not(:first-child) {
      justify-content: space-between;
    }

/* Core */

[section="single-collection"] .collection-core {
    display: grid;
    gap: var(--spacing-12);

    /* Products */
  }

:is([section="single-collection"] .collection-core) .collection-products {
      display: grid;
      gap: var(--spacing-12);
      grid-template-columns: repeat(4, 1fr);
    }

/* Responsive */
@media (max-width: 1024px) {
    [section="single-collection"] .collection-head {
      min-height: 100px;
      padding: var(--spacing-14) calc(var(--spacing-24) - var(--spacing-2));
    }
      :is([section="single-collection"] .collection-core) .collection-products {
        grid-template-columns: repeat(2, 1fr);
      }
}

@media (max-width: 769px) {
    [section="single-collection"] .collection-path {
      grid-template-columns: 1fr;
    }

      :is([section="single-collection"] .collection-path) > [ui-button]:first-child {
        width: 100%;
        justify-content: start;
      }
}

/* HAYYAK brand – single collection page */
[section="single-collection"] .collection-head {
  background: #FFFFFF !important;
  border: 1px solid #C79442 !important;
  border-radius: 16px !important;
  color: #1A1A1A !important;
}
[section="single-collection"] .collection-head .title {
  color: #1A1A1A !important;
  font-weight: 800 !important;
}
[section="single-collection"] .collection-head .description {
  color: #5A5248 !important;
  opacity: 1 !important;
}
[section="single-collection"] .collection-head .links [ui-link],
[section="single-collection"] .collection-head a {
  color: #B07A2E !important;
}
[section="single-collection"] .collection-core .collection-products {
  gap: 12px !important;
}
[section="single-collection"] [block="product"] {
  background: #FFFDF8 !important;
  border: 1px solid #E0D4C0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
[section="single-collection"] [block="product"] .title {
  color: #2A322E !important;
  font-weight: 800 !important;
}
[section="single-collection"] [block="product"] .price {
  color: #2A322E !important;
  font-weight: 900 !important;
}
[section="single-collection"] [block="product"] .action,
[section="single-collection"] [block="product"] button.add-to-cart,
[section="single-collection"] [block="product"] .add-to-cart {
  background: linear-gradient(100deg, #C79442, #E0BF72, #B07A2E) !important;
  color: #2A322E !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 10px !important;
}
@media (max-width: 769px) {
  [section="single-collection"] .collection-core .collection-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Stronger collection = homepage product language */
[section="single-collection"] .collection-head {
  background: #FFFFFF !important;
  border: 1px solid #E8E4DC !important;
  border-inline-start: 4px solid #C79442 !important;
  border: 2px solid #C79442 !important;
  border-radius: 16px !important;
  padding: 20px 18px !important;
}
[section="single-collection"] .collection-head .title {
  color: #1A1A1A !important;
  font-weight: 900 !important;
  font-size: clamp(20px, 5vw, 26px) !important;
}
[section="single-collection"] .collection-head .description {
  color: #5A5248 !important;
}
[section="single-collection"] .collection-path [ui-button],
[section="single-collection"] .collection-path a {
  background: #FFFDF8 !important;
  border: 1px solid #E0D4C0 !important;
  border-radius: 12px !important;
  color: #2A322E !important;
  font-weight: 700 !important;
}
[section="single-collection"] [block="product"] {
  background: #FFFDF8 !important;
  border: 1px solid #E0D4C0 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(42, 50, 46, 0.06) !important;
}
[section="single-collection"] [block="product"] .info .action,
[section="single-collection"] [block="product"] .action,
[section="single-collection"] [block="product"] button {
  background: linear-gradient(100deg, #C79442, #E0BF72, #B07A2E) !important;
  color: #2A322E !important;
  font-weight: 900 !important;
  border-radius: 10px !important;
  min-height: 40px !important;
}
