
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
}


header, footer {
  background: #55185D;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 16px;
  width: 100%;
   font-weight: 500;
}
.container {
  max-width: 395px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* padding: 48px 24px 32px; */
  margin: 18px 0 32px 0;
  align-items: center;
}

.hero-logo {
  width: 140px;
}
.garland {
  max-width: 350px;
  width: 100%; /* Allows it to scale down */
  height: auto; /* Keeps aspect ratio intact */
}
.celebration{
  max-width: 200px;
  width: 100%; /* Allows it to scale down */
  height: auto; /* Keeps aspect ratio intact */
  margin-bottom: 24px;
}
.designvae{
    max-width: 120px;
  width: 100%; /* Allows it to scale down */
  height: auto; /* Keeps aspect ratio intact */
  margin: 1px 0 4px 0;
}

.hero-tagline {
  font-size: 16px;
  text-align: center;
  margin: 0;
  font-weight: 600;
}

.primary-btn, .primary-btn1 {
  display: inline-block;
  background: #55185D;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
.primary-btn1{
animation: bounceSlide 0.5s infinite alternate ease-in-out;
}
@keyframes bounceSlide {
      0% {
        transform: translateX(-5px);
      }
      100% {
        transform: translateX(5px);
      }
    }

.primary-btn1 span {
  color: #ffca00;
  font-weight: 700;
  font-size: 24px;
}


.light-btn {
  background: #E3E3E3;
  color: #0C0C0C;
}

.about-text {
  font-size: 16px;
  text-align: center;
  background: #ffca00;
  padding: 22px;
  border-radius: 10px;
  margin: 0 12px;
  margin-bottom: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.about-text span {
  font-size: 12px;
  color: #000000;
  letter-spacing: 1px;
}

.highlights, .steps, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin: 0 12px;
}
.highlights{
  margin-bottom: 32px;
}
.highlight-item, .step-item, .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.highlight-icon {
  width: 20px;
}
.collection {
  background-color: #EFEFEF;
  border-radius: 10px;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.category-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 32px;
  gap: 3px;
}

.category-header h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.category-header p {
  font-size: 16px;
  color: #000000;
  font-weight: 500;
  text-align: center;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  row-gap: 32px;
  padding: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.product-image {
  background: #ddd;
  border-radius: 8px;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 4 / 3; /* keeps the same shape for all images */
  overflow: hidden;    /* hide overflow for cropping effect */
}


.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Fill the box & crop if needed */
  object-position: center; /* Always center the image */
  border-radius: 8px;
  display: block;
}


.img-wide { height: 100px; }
.img-tall { height: 240px; }
.img-medium { height: 240px; }

.product-title {
  font-size: 14px;
  font-weight: 600;
}

.product-price {
  margin: 5px 0;
}

.price-current {
  font-size: 18px;
  font-weight: 700;
  color: #55185D;
}

.price-original {
  text-decoration: line-through;
  margin-left: 5px;
  font-size: 14px;
  font-weight: 500;
}

.price-discount {
  font-size: 14px;
  font-weight: 500;
}

.order-btn {
  display: inline-block;
  background: #28a745;
  color: #fff;
  padding: 10px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.order-btn:hover {
  background: #218838;
}

.how-to-order{
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  padding: 48px 0 0 0;
  font-weight: 500;
}
.step-item{
  font-size: 18px;
}
.contact{
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  padding: 0 0 48px 0;
  font-weight: 500;
}
.contact-item a {
  color: #55185D;
  text-decoration: underline;
}

.contact-item a:hover {
  color: #a0125c;
  text-decoration: none;
}
/* Popup Styling */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup.hidden {
  display: none;
}

.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 48px 10px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.popup-content video {
  width: 90%;
  border-radius: 8px;
}

.popup-content p {
  font-size: 16px;
  font-weight: 600;
  margin: 15px;
}

.popup-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 90%;
}

.popup-buttons button,
.popup-buttons a {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.popup-buttons button {
  background: #ccc;
}

.popup-buttons a {
  background: #28a745;
  color: #fff;
}

.popup-buttons a:hover {
  background: #218838;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
.hidden {
  display: none !important; /* Ensure hidden elements take zero space */
}
.popup-content img {
  max-width: 100%;     /* Fit horizontally */
  max-height: 70vh;    /* Fit vertically within the viewport */
  object-fit: contain; /* Preserve aspect ratio */
  border-radius: 8px;
}