/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* Header (1) */

.ml25-product-header-container-bg {
    background-color: var(--brand-white);
}
.ml25-product-header-container {
    display: grid;
    grid-template-columns: 35% 1fr;
}

.ml25-product-header-header {
    grid-column: 1; /* First column */
    grid-row: 1;    /* First row */
    margin-top: 16px;
}
.ml25-product-header-header-subtext {
  margin-top: 8px;
  margin-bottom: 16px;
}

.ml25-product-header-info {
  grid-column: 1; /* First column */
  grid-row: 2;    /* Second row */
}

.ml25-product-header-image {
  grid-column: 2; /* Second column */
  grid-row: 1 / span 2;    /* Span rows 1 and 2 */
   
}

.ml25-product-header-info-content {
  margin-top: 16px;
}

.ml25-product-header-info-header {
  margin-top: 32px;
  margin-bottom: 16px;
}

.ml25-product-header-info-item {
  margin: 8px 0px;
  padding-bottom: 4px;
  border-bottom: 1px solid black;
}

@media (min-width: 600px) {
  .ml25-product-header-info {
    /* position: relative; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .ml25-product-header-image {
    /* padding-left: 64px; */
    margin-left: 64px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><circle cx='1' cy='1' r='1' fill='gray' /></svg>");
    background-repeat: repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    /* aspect-ratio: 1 / 1; */

  }
  .ml25-product-header-image img {
    width: 55%;
    height: auto;
  }
}

/* Mobile layout */
@media (max-width: 600px) {
  .ml25-product-header-container {
    grid-template-columns: 1fr; /* Single column */
    /* Reset rows or let them flow automatically */
    grid-template-rows:  auto auto auto; /* Define rows for ordering */
    /* padding-right: 16px; */
  }

  /* Explicitly set grid positions for mobile order */
  .ml25-product-header-header {
      grid-column: 1 / 2;
      grid-row: 1 / 2; /* Top */
  }

  .ml25-product-header-image { /* Move Div 3 to the middle */
      grid-column: 1 / 2;
      grid-row: 2 / 3; /* Center */
      margin-top: 32px;
  }

  .ml25-product-header-image img {
    width: 100%;
    height: auto;
  }

  .ml25-product-header-info { /* Move Div 2 to the bottom */
      grid-column: 1 / 2;
      grid-row: 3 / 4; /* Bottom */
  }
}

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* Properties (2) */
.ml25-product-properties-container-bg {
  background-color: var(--brand-black);
}

.ml25-product-properties-container {
  color: var(--brand-white);
  background-color: var(--brand-black);

  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 600px) {
  .ml25-product-properties-container > .box {
    flex: 1 1 50%;
    padding-top: 16px;
  }
}
@media (max-width: 600px) {
  .ml25-product-properties-container > .box {
    flex: 1 1 100%;
    padding-top: 32px;
  }
}

.ml25-product-properties-item {
  margin: 8px 0px;
  padding-bottom: 4px;
  border-bottom: 1px solid white;
}

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* Produckt page list */
.ml25-product-page-list-container {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    gap: 32px;
}

.ml25-product-item {
    width: 260px;
    /* min-height: 400px; */
    background-color: white;
    margin-bottom: 32px;
    padding: 8px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .ml25-product-item {
        width: 100%;
        /* height: auto; */
        margin-bottom: 16px;
    }
}

.ml25-product-item .img-container {
    width: 100%;
    height: 260px;
    /* height: auto; */
    overflow: hidden;
    
    /* display: flex;
    align-items: center;
    justify-content: center; */
}

.ml25-product-item .btn-container {
  margin-top: auto;
  padding-top: 8px;
  padding-bottom: 16px;
  width: 60%;
}

@media (max-width: 600px) {
    .ml25-product-item .img-container {
        aspect-ratio: 1 / 1; /* Maintain square aspect ratio */
        height: auto;
    }
    .ml25-product-item .btn-container {
      padding-top: 32px;
    }
}

.ml25-product-item img {
    width: 100%;
    height: auto;
    display: block;
    /* height: 100px; */
    /* max-height: 300px;
    max-width: 100%; */
}


/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
