/*
 Theme Name:   Woostify Child
 Theme URI:    https://woostify.com/
 Description:  Child theme for Woostify
 Author:       Your Name
 Template:     woostify
 Version:      1.0.0
*/

/* =========================================
   HAMPER BUILDER – FINAL STABLE VERSION
========================================= */

.hamper-builder-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 120px;
  min-height: 500px;
}

.hamper-builder-wrapper * {
  box-sizing: border-box;
}

/* ================= STEP BAR ================= */

.hamper-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 50px;
  counter-reset: step;
}

.hamper-steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ddd;
  z-index: 0;
}

.hamper-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  cursor: pointer;
}

.hamper-step span {
  width: 45px;
  height: 45px;
  background: #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
}

.hamper-step.active span {
  background: #000;
  color: #fff;
  transform: scale(1.1);
}

.hamper-step p {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}

.hamper-step.active p {
  color: #000;
  font-weight: 600;
}

/* ================= STEP CONTENT ================= */

.hamper-step-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hamper-step-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.hamper-step-content h2 {
  margin-bottom: 10px;
  font-size: 28px;
  color: #000;
  font-weight: 600;
}

.hamper-step-content > p {
  color: #666;
  margin-bottom: 40px;
  font-size: 16px;
}

/* ================= GRID ================= */

/* DESKTOP: Show exactly 3 cards per row */
.hamper-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns */
  gap: 30px;
  margin-bottom: 30px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .hamper-grid {
    grid-template-columns: repeat(3, 1fr); /* Still 3 on tablets */
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .hamper-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hamper-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 15px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ================= CARD ================= */

.hamper-card {
  border: 1.5px solid #e0e0e0;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  min-height: 400px;
}

.hamper-card:hover {
  border-color: #000;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.hamper-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
  background: #f8f9fa;
  padding: 15px;
}

.hamper-card h4 {
  margin: 10px 0 8px;
  font-size: 15px; /* Smaller font size */
  color: #333;
  line-height: 1.4;
  flex-grow: 1;
  min-height: 42px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hamper-card .price {
  font-weight: 700;
  color: #000;
  font-size: 18px; /* Slightly smaller price */
  margin: 8px 0 15px;
  letter-spacing: 0.5px;
}

.hamper-card .original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  margin-right: 8px;
}

.hamper-card .sale-price {
  color: #d63031;
  font-weight: 700;
}

.hamper-card.selected {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,.1);
  background-color: #fff;
}

/* All add-to-box buttons - SMALLER BUTTONS */
.add-to-box {
  margin-top: auto;
  padding: 10px 16px; /* Smaller padding */
  border: 1.5px solid #000;
  background: #000;
  color: #fff;
  border-radius: 6px; /* Smaller border radius */
  cursor: pointer;
  font-size: 13px; /* Smaller font size */
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  min-height: 40px;
}

.add-to-box:hover {
  background: #fff;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.add-to-box.added {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
}

.add-to-box.added:hover {
  background: #218838;
  border-color: #218838;
  color: #fff;
}

.add-to-box:disabled {
  background: #ccc;
  border-color: #ccc;
  color: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Product and Greeting card controls */
.product-card-controls,
.greeting-card-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
}

.product-qty,
.greeting-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.product-qty button,
.greeting-qty button {
  width: 32px; /* Smaller buttons */
  height: 32px;
  border: 1.5px solid #000;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.product-qty button:hover,
.greeting-qty button:hover {
  background: #000;
  color: #fff;
}

.product-qty button:disabled,
.greeting-qty button:disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
}

.product-qty button:disabled:hover,
.greeting-qty button:disabled:hover {
  background: #fff;
  color: #ccc;
}

.product-qty .qty,
.greeting-qty .qty {
  font-size: 15px;
  font-weight: 600;
  min-width: 36px;
  text-align: center;
}

/* ================= PERSONALIZE SECTION ================= */

.hamper-personalize {
  max-width: 600px;
  margin: 0 auto;
}

.hamper-personalize label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.hamper-personalize textarea {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.hamper-personalize textarea:focus {
  outline: none;
  border-color: #000;
}

.hamper-personalize input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

.hamper-error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
  display: none;
}

.hamper-error.show {
  display: block;
}

/* ================= BOTTOM NAV BAR ================= */

.hamper-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 12px 20px;
  border-top: 1.5px solid #e0e0e0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
}

.hamper-summary-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.hamper-selected-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  flex-wrap: wrap;
}

.hamper-selected-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  border: 1.5px solid #e0e0e0;
  position: relative;
}

.hamper-selected-item.current-step-item {
  border-color: #000;
  background: #fff;
}

.hamper-selected-item .item-name {
  font-weight: 500;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.hamper-selected-item .item-price {
  color: #000;
  font-weight: 600;
  white-space: nowrap;
  font-size: 13px;
}

/* REMOVED QUANTITY CONTROLS FROM BOTTOM BAR */
.hamper-selected-item .item-qty-controls {
  display: none; /* Hide quantity controls */
}

/* Style for showing quantity inline with name */
.hamper-selected-item .item-name {
  font-weight: 500;
}

/* Remove the static quantity span if it exists */
.hamper-selected-item .item-qty-static {
  display: none;
}

.hamper-selected-item .remove-item {
  margin-left: 5px;
  color: #dc3545;
  cursor: pointer;
  font-size: 16px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  background: #fff;
  border: 1px solid #dc3545;
}

.hamper-selected-item .remove-item:hover {
  background: #dc3545;
  color: #fff;
}

.hamper-total {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  margin-right: 15px;
}

/* ================= NAVIGATION BUTTONS ================= */

.hamper-btn-back,
.hamper-btn-next,
.hamper-btn-complete {
  padding: 10px 25px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 100px;
}

.hamper-btn-back {
  background: #f8f9fa;
  color: #333;
  border: 1.5px solid #ddd;
}

.hamper-btn-back:hover:not(:disabled) {
  background: #e9ecef;
}

.hamper-btn-back:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hamper-btn-next {
  background: #000;
  color: #fff;
  border: 1.5px solid #000;
}

.hamper-btn-next:hover:not(:disabled) {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hamper-btn-next:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ================= "ADD TO CART" BUTTON - MATCHING REFERENCE ================= */

.hamper-btn-complete {
  background: #000;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1.5px solid #000;
  padding: 10px 30px;
  border-radius: 6px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.hamper-btn-complete:hover:not(:disabled) {
  background: #fff;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hamper-btn-complete:disabled {
  background: #ccc;
  border-color: #ccc;
  color: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hamper-btn-complete::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: -1;
  transition: transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: right;
}

.hamper-btn-complete:hover:not(:disabled)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hamper-action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================= MODAL ================= */

.hamper-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hamper-modal.active {
  display: flex;
}

.hamper-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  max-width: 800px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border: 1.5px solid #e0e0e0;
}

.hamper-modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  z-index: 10;
  border: 1.5px solid #e0e0e0;
}

.hamper-modal-close:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.hamper-modal-body {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .hamper-modal-body {
    flex-direction: row;
  }
}

.hamper-modal-image {
  flex: 1;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamper-modal-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  background: #f8f9fa;
  padding: 15px;
  border: 1.5px solid #e0e0e0;
}

.hamper-modal-details {
  flex: 1;
  padding: 25px;
  border-left: 1.5px solid #e0e0e0;
  background: #f9f9f9;
}

.hamper-modal-details h3 {
  margin: 0 0 12px 0;
  font-size: 24px;
  color: #000;
  line-height: 1.3;
  font-weight: 600;
}

.hamper-modal-prices {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hamper-modal-original-price {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
}

.hamper-modal-sale-price {
  font-size: 24px;
  font-weight: 700;
  color: #d63031;
}

/* FIXED MODAL DESCRIPTION STYLING */
.hamper-modal-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 14px;
  max-height: 180px;
  overflow-y: auto;
  padding: 15px;
  background: #fff;
  border-radius: 6px;
  border: 1.5px solid #e0e0e0;
}

.hamper-modal-description p {
  margin-bottom: 12px;
  font-size: 14px;
}

.hamper-modal-description p:last-child {
  margin-bottom: 0;
}

.hamper-modal-controls {
  margin-top: 25px;
}

.modal-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-qty label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.modal-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-qty-controls button {
  width: 36px;
  height: 36px;
  border: 1.5px solid #000;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-qty-controls button:hover {
  background: #000;
  color: #fff;
}

.modal-qty-controls button:disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
}

.modal-qty-controls button:disabled:hover {
  background: #fff;
  color: #ccc;
}

.modal-qty-controls .qty {
  font-size: 16px;
  font-weight: 600;
  min-width: 40px;
  text-align: center;
}

.hamper-modal-add-btn {
  padding: 12px 25px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hamper-modal-add-btn:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hamper-modal-add-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ================= REVIEW SECTION ================= */

.hamper-review {
  max-width: 700px;
  margin: 0 auto;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  border: 1.5px solid #e0e0e0;
}

.hamper-review-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid #e0e0e0;
}

.hamper-review-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hamper-review-section h4 {
  margin: 0 0 12px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.hamper-review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-radius: 6px;
  margin-bottom: 8px;
  border: 1.5px solid #e0e0e0;
}

.hamper-review-item:last-child {
  margin-bottom: 0;
}

.hamper-review-item .item-name {
  flex: 1;
  font-size: 14px;
}

.hamper-review-item .item-price {
  font-weight: 600;
  color: #000;
  font-size: 14px;
}

/* ================= LOADING STATE ================= */

.hamper-loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.95);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hamper-loading.active {
  display: flex;
}

.hamper-loading-spinner {
  width: 45px;
  height: 45px;
  border: 2.5px solid #f3f3f3;
  border-top: 2.5px solid #000;
  border-radius: 50%;
  animation: hamper-spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes hamper-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */

@media (max-width: 1024px) {
  .hamper-builder-wrapper {
    padding: 30px 15px 120px;
  }
  
  .hamper-grid {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .hamper-builder-wrapper {
    padding: 20px 15px 140px;
  }
  
  .hamper-steps {
    margin-bottom: 30px;
  }
  
  .hamper-step span {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  
  .hamper-step p {
    font-size: 12px;
  }
  
  .hamper-summary-inner {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .hamper-selected-box {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .hamper-selected-item {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .hamper-selected-item .item-name {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }
  
  .hamper-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  
  .hamper-total {
    text-align: center;
    width: 100%;
    margin-right: 0;
    margin-bottom: 8px;
    font-size: 16px;
  }
  
  .hamper-btn-back,
  .hamper-btn-next,
  .hamper-btn-complete {
    width: 100%;
    padding: 10px 20px;
  }
  
  .hamper-modal-body {
    flex-direction: column;
  }
  
  .hamper-modal-details {
    border-left: none;
    border-top: 1.5px solid #e0e0e0;
  }
  
  .product-card-controls,
  .greeting-card-controls {
    flex-direction: column;
  }
  
  .product-qty,
  .greeting-qty {
    justify-content: center;
    width: 100%;
  }
  
  .add-to-box {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hamper-step span {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .hamper-steps::before {
    top: 16px;
  }
  
  .hamper-card {
    padding: 15px;
    min-height: 380px;
  }
  
  .hamper-card img {
    height: 180px;
  }
  
  .hamper-card h4 {
    font-size: 14px;
    min-height: 40px;
  }
  
  .hamper-card .price {
    font-size: 16px;
  }
  
  .hamper-modal-image,
  .hamper-modal-details {
    padding: 20px;
  }
  
  .hamper-selected-item {
    padding: 6px 10px;
    font-size: 11px;
    gap: 5px;
  }
  
  .hamper-selected-item .item-name {
    max-width: 120px;
    font-size: 11px;
  }
  
  .hamper-btn-complete {
    font-size: 13px;
    padding: 8px 20px;
  }
}

/* ================= HAMPER BUILDER SPECIFIC STYLES ================= */

.hamper-packaging {
  border: 1.5px solid #e0e0e0;
}

.hamper-product {
  border: 1.5px solid #e0e0e0;
  cursor: pointer;
}

.hamper-greeting {
  border: 1.5px solid #e0e0e0;
}

/* Fix for quantity controls alignment */
.hamper-card .product-card-controls,
.hamper-card .greeting-card-controls {
  margin-top: auto;
}

/* Style for the Add to Cart button in review step - MATCHING REFERENCE */
.hamper-btn-complete {
  background: #000;
  border: 1.5px solid #000;
  font-weight: 600;
}

.hamper-btn-complete:hover:not(:disabled) {
  background: #fff;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Fix for modal description scroll */
.hamper-modal-description {
  line-height: 1.6;
}

.hamper-modal-description::-webkit-scrollbar {
  width: 6px;
}

.hamper-modal-description::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.hamper-modal-description::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.hamper-modal-description::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* Style for the logo preview */
#hamper-logo-preview img {
  border: 1.5px solid #ddd;
  padding: 5px;
  background: #fff;
  border-radius: 4px;
  max-width: 120px;
}

#remove-logo {
  font-size: 11px;
  padding: 4px 8px;
  margin-top: 5px;
  border-radius: 3px;
}

/* Ensure proper spacing in selected items */
.hamper-selected-item {
  margin-bottom: 4px;
}

.hamper-selected-item:last-child {
  margin-bottom: 0;
}

/* Style for no items message */
.hamper-selected-box .no-items {
  width: 100%;
  text-align: center;
  padding: 10px;
  color: #999;
  font-size: 13px;
  font-style: italic;
}

/* Additional styling to match reference design exactly */
.hamper-step-content h2 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 26px;
}

.hamper-step-content > p {
  font-size: 15px;
  color: #777;
  margin-bottom: 35px;
}

/* Make price bold in cards */
.hamper-card .price {
  font-weight: 700;
  margin-bottom: 15px;
}

/* Improve button contrast */
.add-to-box {
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Adjust bottom bar spacing */
.hamper-bottom-bar {
  padding: 10px 20px;
}

.hamper-summary-inner {
  align-items: center;
}

/* Center align grid on desktop */
@media (min-width: 769px) {
  .hamper-grid {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
  }
}

/* Ensure exactly 3 cards on desktop with proper spacing */
@media (min-width: 1025px) {
  .hamper-grid {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Card image container for consistent sizing */
.hamper-card .image-container {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

/* Product title styling for 2 lines */
.hamper-card .product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 42px;
  line-height: 1.4;
}