.hhp-wrap {
  display: grid;
  gap: 1.5rem;
  font-size: 1.2rem;
  font-family: inherit;
  justify-items: center;
}

/* Preview stays centered on top */
.hhp-preview {
  position: relative;
  width: 380px;
  max-width: 95%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  background: #f7f7f7;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  border: 3px solid #eee;
}

/* Bigger price display */
.hhp-summary .hhp-price .label {
  font-size: 1.6rem !important;
  font-weight: 600;
}

.hhp-summary .hhp-price .val {
  font-size: 1.7rem !important;
  font-weight: 700;

}

/* Tablet */
@media (max-width: 900px) {
  .hhp-summary .hhp-price .label {
    font-size: 1.5rem !important;
  }
  .hhp-summary .hhp-price .val {
    font-size: 1.6rem !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hhp-summary .hhp-price .label {
    font-size: 1.4rem !important;
  }
  .hhp-summary .hhp-price .val {
    font-size: 1.5rem !important;
  }
}



.hhp-pizza { position: absolute; inset: 0; }
.hhp-pizza img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hhp-left-img  { clip-path: polygon(0 0,50% 0,50% 100%,0 100%); }
.hhp-right-img { clip-path: polygon(50% 0,100% 0,100% 100%,50% 100%); }

.hhp-overlay-divider {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 3px;
  background: rgba(0,0,0,.25);
  transform: translateX(-1.5px);
}

/* Controls now sit below the preview */
.hhp-controls {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hhp-select {
  position: relative;
  width: 220px;
}
.hhp-select label {
  display: block;
  font-weight: 700;
  margin-bottom: .4rem;
  font-size: 1.4rem;
}

.hhp-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: .8rem 2rem .8rem .8rem;
  border: 2px solid #bbb;
  border-radius: .5rem;
  background: #fff;
  font-size: 1.45rem;
  cursor: pointer;
}

.hhp-select::after {
  content: "▼";
  font-size: 0.85rem;
  color: #444;
  position: absolute;
  right: .8rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Summary below everything */
.hhp-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hhp-price .label { font-size: 1.2rem; opacity: .8; }
.hhp-price .val   { font-size: 1.4rem; font-weight: bold; }

/* Add to cart button style for Saldējums page */
.hhp-add {
  background: #F6BD60;         /* festive gold */
  
  color: #111;
  padding: 10px 18px;
  border-radius: 5px;
  border: none;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hhp-add:hover {
  background: #E63946;         /* Christmas red */
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}
.hhp-add:active  { transform: scale(.97); }

.hhp-msg { font-size: 1rem; }

/* Mobile & Tablet Font Adjustments */
@media (max-width: 900px) {
  .hhp-wrap {
    font-size: 1.2rem;
  }
  .hhp-select label {
    font-size: 1.4rem;
  }
  .hhp-select select {
    font-size: 1.4rem;
  }
  .hhp-price .label {
    font-size: 1.2rem;
  }
  .hhp-price .val {
    font-size: 1.4rem;
  }
  .hhp-add {
    font-size: 1.5rem;
  }
  .hhp-msg {
    font-size: 1.1rem;
  }
}

/* Mobile tweaks (existing + smaller font) */
@media (max-width: 600px) {
  .hhp-preview { width: 260px; }
  .hhp-controls { flex-direction: column; align-items: center; }
  .hhp-select { width: 100%; max-width: 260px; }

  /* Further reduce font size for mobile */
  .hhp-wrap {
    font-size: 1.1rem;
  }
  .hhp-select label {
    font-size: 1.2rem;
  }
  .hhp-select select {
    font-size: 1.2rem;
  }
  .hhp-price .label {
    font-size: 1.1rem;
  }
  .hhp-price .val {
    font-size: 1.3rem;
  }
  .hhp-add {
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
  }
  .hhp-msg {
    font-size: 1.15rem;
  }
}
