* {
  margin: 0;
  padding: 0;
  font-family: "Quicksand", sans-serif;
}

body {
  position: relative;
  z-index: 0;
  background-color: #fff;
}

.hero-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
  background: linear-gradient(to bottom, #c0e8f9 0%, #f7c0ce 100%);
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.floating-elements .float {
  position: absolute;
  font-size: 3rem;
  animation: floatUp linear infinite;
  bottom: -50px;
  opacity: 0.5;
}

.floating-elements .float1 {
  left: 10%;
  animation-duration: 6s;
  animation-delay: 0s;
  color: rgba(255, 255, 255, 0.5);
}
.floating-elements .float2 {
  left: 25%;
  animation-duration: 8s;
  animation-delay: 1s;
  color: rgba(255, 255, 255, 0.5);
}
.floating-elements .float3 {
  left: 45%;
  animation-duration: 7s;
  animation-delay: 2s;
  color: rgba(255, 255, 255, 0.5);
}
.floating-elements .float4 {
  left: 65%;
  animation-duration: 9s;
  animation-delay: 3s;
  color: rgba(255, 255, 255, 0.5);
}
.floating-elements .float5 {
  left: 85%;
  animation-duration: 6s;
  animation-delay: 4s;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) scale(1.2);
    opacity: 0;
  }
}

.sweet-dreams {
  text-align: center;
  padding: 50px 20px;
  max-width: 700px;
  margin: 0 auto;
  z-index: 1;
}

.heart-container {
  display: inline-block;
  background-color: #f97fa0;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 70px;
  margin-bottom: 20px;
  animation: jump 1s infinite;
  z-index: 2;
  position: relative;
}

.heart-container i {
  color: #fff;
  font-size: 28px;
}

@keyframes jump {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.sweet-title {
  font-family: "Unbounded", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #6b3e2e;
}

.sweet-title .highlight {
  font-family: "Unbounded", sans-serif;
  color: #f97fa0;
}

.sweet-subtitle {
  margin: 2rem 1rem 0 1rem;
  font-weight: 500;
  color: #6b3e2e;
  font-size: 1.3rem;
}

.cart-section {
  padding: 50px;
  background-color: #fff;
  min-height: 50vh;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
}

.section-title {
  font-family: "Unbounded", sans-serif;
  font-size: 1.5rem;
  color: #6b3e2e;
  margin-bottom: 20px;
}

.cart-items {
  background-color: #fffafc;
  border: 2px solid #fbc0d3;
  border-radius: 15px;
  padding: 30px;
}

.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.clear-cart-btn {
  background-color: #f97fa0;
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.clear-cart-btn:hover {
  background-color: #e56c8c;
  border-color: #e56c8c;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border: 2px solid #fbc0d3;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: box-shadow 0.3s ease;
}

.cart-item:hover {
  box-shadow: 0 5px 15px rgba(249, 127, 160, 0.2);
}

.item-image {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.item-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6b3e2e;
}

.item-category {
  font-size: 0.9rem;
  color: #f97fa0;
  font-weight: 500;
}

.item-code {
  font-size: 0.85rem;
  color: #999;
}

.item-colors {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.item-colors:has(.color-select:only-of-type),
.variation-colors:has(.color-select:only-of-type) {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.item-colors:has(.color-select:only-of-type) .colors-label,
.variation-colors:has(.color-select:only-of-type) .colors-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b3e2e;
  white-space: nowrap;
}

.item-colors:has(.color-select:nth-of-type(2)),
.variation-colors:has(.color-select:nth-of-type(2)) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.item-colors:has(.color-select:nth-of-type(2)) .colors-label,
.variation-colors:has(.color-select:nth-of-type(2)) .colors-label {
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b3e2e;
}

.item-colors .colors-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b3e2e;
}

.colors-display {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fffafc;
  border: 2px solid #fbc0d3;
  border-radius: 50px;
  padding: 5px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background-color: #f97fa0;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.qty-btn:hover {
  background-color: #e56c8c;
}

.qty-input {
  width: 30px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: #6b3e2e;
  outline: none;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 100px;
}

.unit-price {
  font-size: 0.85rem;
  color: #999;
}

.total-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f97fa0;
}

.remove-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #fbc0d3;
  background-color: #fff;
  color: #f97fa0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  background-color: #f97fa0;
  color: #fff;
  border-color: #f97fa0;
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  color: #6b3e2e;
}

.empty-icon {
  font-size: 5rem;
  color: #fbc0d3;
  margin-bottom: 20px;
}

.empty-cart h3 {
  font-family: "Unbounded", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.empty-cart p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #999;
}

.shop-btn {
  display: inline-block;
  background-color: #f97fa0;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.shop-btn:hover {
  background-color: #e56c8c;
}

.cart-summary {
  background-color: #fffafc;
  border: 2px solid #fbc0d3;
  border-radius: 15px;
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: #6b3e2e;
  font-size: 1rem;
}

.summary-row.discount {
  color: #76d7ea;
}

.summary-divider {
  height: 2px;
  background: linear-gradient(to right, #fbc0d3, transparent);
  margin: 15px 0;
}

.summary-row.total {
  font-size: 1.3rem;
  font-weight: 700;
  color: #6b3e2e;
  padding-top: 15px;
}

.summary-row.total span:last-child {
  color: #f97fa0;
}

.checkout-btn {
  width: 100%;
  background-color: #f97fa0;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.checkout-btn:hover {
  background-color: #e56c8c;
}

.continue-shopping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  color: #6b3e2e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.continue-shopping:hover {
  color: #f97fa0;
}

.discount-code-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #e8d4c8;
}

.discount-title {
  font-size: 1rem;
  font-weight: 600;
  color: #6b3e2e;
  margin-bottom: 15px;
}

.discount-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.discount-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: "Quicksand", sans-serif;
  transition: border-color 0.3s ease;
}

.discount-input:focus {
  outline: none;
  border-color: #f97fa0;
  box-shadow: 0 0 0 3px rgba(249, 127, 160, 0.1);
}

.discount-apply-btn {
  padding: 12px 20px;
  background-color: #f97fa0;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.discount-apply-btn:hover {
  background-color: #f26a92;
}

.discount-apply-btn:active {
  transform: translateY(0);
}

.discount-message {
  font-size: 0.85rem;
  min-height: 20px;
  padding-top: 5px;
}

.discount-message.success {
  color: #10b981;
}

.discount-message.error {
  color: #dc3545;
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-100%);
  }
}

.remove-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.remove-modal-content {
  background: #fffafc;
  border: 2px solid #fbc0d3;
  border-radius: 20px;
  padding: 40px 50px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(249, 127, 160, 0.2);
  animation: popUp 0.3s ease;
  max-width: 400px;
  width: 90%;
}

.modal-icon {
  color: #f97fa0;
  font-size: 3rem;
  margin-bottom: 10px;
}

.modal-title {
  font-family: "Unbounded", sans-serif;
  font-size: 1.6rem;
  color: #6b3e2e;
  margin-bottom: 10px;
}

.modal-text {
  font-size: 1rem;
  color: #6b3e2e;
  margin-bottom: 25px;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.modal-btn {
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn.confirm {
  background-color: #f97fa0;
  color: white;
}

.modal-btn.confirm:hover {
  background-color: #e56c8c;
}

.modal-btn.cancel {
  background-color: #fff;
  border: 2px solid #fbc0d3;
  color: #6b3e2e;
}

.modal-btn.cancel:hover {
  background-color: #fbc0d3;
  color: #6b3e2e;
}

@keyframes popUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.item-notes {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 8px;
  background-color: #f5f5f5;
  border-left: 3px solid #f97fa0;
  border-radius: 4px;
}

.notes-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b3e2e;
  white-space: nowrap;
}

.notes-text {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  word-break: break-word;
}

.cart-item-group {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #fbc0d3;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.cart-item-group:hover {
  box-shadow: 0 5px 15px rgba(249, 127, 160, 0.2);
}

.cart-item-main {
  display: grid;
  grid-template-columns: 120px 1fr auto auto auto auto;
  gap: 15px;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cart-item-main.has-variations {
  cursor: pointer;
}

.cart-item-main:hover {
  background-color: #fffafc;
}

.cart-item-main .item-image {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
}

.cart-item-main .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-main .item-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cart-item-main .item-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6b3e2e;
}

.cart-item-main .item-category {
  font-size: 0.9rem;
  color: #f97fa0;
  font-weight: 500;
}

.variations-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 12px;
  background-color: #fff3f7;
  border-left: 3px solid #f97fa0;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f97fa0;
}

.variations-badge i {
  font-size: 0.85rem;
}

.cart-item-main .item-notes {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 8px;
  background-color: #f5f5f5;
  border-left: 3px solid #f97fa0;
  border-radius: 4px;
}

.cart-item-main .notes-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b3e2e;
  white-space: nowrap;
}

.cart-item-main .notes-text {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  word-break: break-word;
}

.cart-item-main .item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fffafc;
  border: 2px solid #fbc0d3;
  border-radius: 50px;
  padding: 5px;
}

.cart-item-main .item-quantity .qty-input:disabled {
  color: #999;
  cursor: not-allowed;
}

.cart-item-main .item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 100px;
}

.cart-item-main .unit-price {
  font-size: 0.85rem;
  color: #999;
}

.cart-item-main .total-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f97fa0;
}

.variations-toggle {
  width: 40px;
  height: 40px;
  border: 2px solid #fbc0d3;
  background-color: #fff;
  color: #f97fa0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.variations-toggle:hover {
  background-color: #f97fa0;
  color: #fff;
  border-color: #f97fa0;
}

.variations-toggle i {
  transition: transform 0.3s ease;
}

.variations-toggle i.rotated {
  transform: rotate(180deg);
}

.cart-item-main .remove-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #fbc0d3;
  background-color: #fff;
  color: #f97fa0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cart-item-main .remove-btn:hover {
  background-color: #f97fa0;
  color: #fff;
  border-color: #f97fa0;
}

.variations-dropdown {
  display: none;
  background-color: #fffafc;
  border-top: 1px solid #fbc0d3;
  padding: 20px;
  max-height: auto;
  overflow-y: auto;
}

.variations-dropdown.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 600px;
  }
}

.variations-header {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b3e2e;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fbc0d3;
}

.variations-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.variation-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 15px;
  align-items: center;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #fbc0d3;
  border-radius: 10px;
  transition: box-shadow 0.2s ease;
}

.variation-item:hover {
  box-shadow: 0 3px 10px rgba(249, 127, 160, 0.15);
}

.variation-image {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
}

.variation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variation-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.variation-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b3e2e;
}

.variation-colors {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.variation-colors:has(.color-select:only-of-type) {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.variation-colors:has(.color-select:nth-of-type(2)) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.variation-colors:has(.color-select:nth-of-type(2)) .colors-label {
  margin-bottom: 4px;
}

.variation-colors .colors-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b3e2e;
}

.variation-notes {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px;
  background-color: #f5f5f5;
  border-left: 2px solid #f97fa0;
  border-radius: 3px;
}

.variation-notes .notes-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b3e2e;
  white-space: nowrap;
}

.variation-notes .notes-text {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  word-break: break-word;
}

.variation-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fffafc;
  border: 2px solid #fbc0d3;
  border-radius: 50px;
  padding: 4px;
}

.variation-quantity .qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background-color: #f97fa0;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  font-size: 0.8rem;
}

.variation-quantity .qty-btn:hover {
  background-color: #e56c8c;
}

.variation-quantity .qty-input {
  width: 45px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b3e2e;
  outline: none;
}

.variation-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  min-width: 90px;
}

.variation-price .unit-price {
  font-size: 0.8rem;
  color: #999;
}

.variation-price .total-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f97fa0;
}

.variation-item .remove-btn {
  width: 36px;
  height: 36px;
  border: 2px solid #fbc0d3;
  background-color: #fff;
  color: #f97fa0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.variation-item .remove-btn:hover {
  background-color: #f97fa0;
  color: #fff;
  border-color: #f97fa0;
}

.variations-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #fbc0d3;
}

.remove-all-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f97fa0;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.remove-all-btn:hover {
  background-color: #e56c8c;
}

.cart-item-main .color-select {
  min-width: 140px;
}

.color-select {
  padding: 5px 10px;
  border: 2px solid #fbc0d3;
  border-radius: 12px;
  background-color: #ffffff;
  color: #6b3e2e;
  font-family: "Quicksand", sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(249, 127, 160, 0.12);
  transition: all 0.25s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='12' viewBox='0 0 20 20' fill='%23f97fa0' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7l5 5 5-5H5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  min-width: 175px;
  box-sizing: border-box;
}

.color-select:hover {
  border-color: #f97fa0;
  background-color: #fff8fb;
  box-shadow: 0 4px 10px rgba(249, 127, 160, 0.18);
}

.color-select:focus {
  outline: none;
  border-color: #f97fa0;
  box-shadow: 0 0 10px rgba(249, 127, 160, 0.35);
}

.color-select::-ms-expand {
  display: none;
}

.discount-row {
  position: relative;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6b3e2e;
  font-size: 1rem;
}

.discount-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b3e2e;
  font-weight: 500;
}

.discount-code-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #fff3f7, #ffe8f0);
  border: 1.5px solid #f97fa0;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f97fa0;
  letter-spacing: 0.5px;
  margin-left: 6px;
}

.discount-row .discount-amount {
  color: #10b981;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.remove-discount-btn {
  background: none;
  border: none;
  color: #f97fa0;
  cursor: pointer;
  padding: 4px;
  font-size: 12px;
  transition: all 0.2s ease;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.remove-discount-btn:hover {
  background-color: rgba(249, 127, 160, 0.15);
  opacity: 1;
  transform: scale(1.15);
}

.discount-input:disabled {
  background-color: #fffafc;
  border-color: #fbc0d3;
  cursor: not-allowed;
  color: #6b3e2e;
  opacity: 0.8;
}

.discount-apply-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background-color: #d4d4d4;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
  }
}

.discount-row {
  animation: slideDownFade 0.4s ease;
  overflow: hidden;
}

@media (min-width: 1440px) {
  .sweet-title {
    font-size: 3.5rem;
  }
  .sweet-subtitle {
    font-size: 1.5rem;
  }
  .cart-section {
    padding: 60px 80px;
  }
  .cart-container {
    max-width: 1400px;
    grid-template-columns: 1fr 420px;
  }
}

@media (max-width: 1024px) {
  .sweet-title {
    font-size: 2.4rem;
  }
  .sweet-subtitle {
    font-size: 1.1rem;
  }
  .cart-section {
    padding: 40px 30px;
  }
  .cart-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cart-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .sweet-dreams {
    padding: 40px 16px;
  }
  .sweet-title {
    font-size: 1.8rem;
  }
  .sweet-subtitle {
    font-size: 1rem;
    margin: 1.2rem 0 0;
  }
  .heart-container {
    width: 52px;
    height: 52px;
    line-height: 60px;
  }
  .heart-container i {
    font-size: 24px;
  }
  .cart-section {
    padding: 30px 20px;
  }
  .cart-items {
    padding: 16px;
  }
  .section-title {
    font-size: 1.2rem;
  }

  .cart-item-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px;
  }

  .cart-item-main .item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .cart-item-main .item-details {
    flex: 1;
    min-width: 0;
  }

  .cart-item-main .item-quantity {
    flex-shrink: 0;
  }

  .cart-item-main .item-price {
    min-width: 70px;
    flex-shrink: 0;
  }

  .cart-item-main .remove-btn,
  .cart-item-main .variations-toggle {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .cart-item-main .qty-btn {
    width: 28px;
    height: 28px;
  }
  .cart-item-main .qty-input {
    width: 24px;
    font-size: 0.9rem;
  }

  .color-select {
    min-width: unset !important;
    width: 100% !important;
    max-width: 200px;
    font-size: 0.8rem;
    box-sizing: border-box;
  }

  .item-colors {
    width: 100%;
    overflow: hidden;
  }

  .variation-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px;
  }

  .variation-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  .variation-details {
    flex: 1;
    min-width: 0;
  }
  .variation-quantity {
    flex-shrink: 0;
  }
  .variation-price {
    min-width: 60px;
    flex-shrink: 0;
  }
  .variation-item .remove-btn {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  .cart-summary {
    padding: 20px;
  }
  .floating-elements .float {
    font-size: 2rem;
    opacity: 0.3;
  }
}

@media (max-width: 600px) {
  .cart-section {
    padding: 20px 16px;
  }
  .cart-items {
    padding: 14px;
  }

  .cart-item-main {
    display: grid;
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "img  info"
      "img  controls";
    gap: 6px 12px;
    padding: 12px;
    align-items: start;
  }

  .cart-item-main .item-image {
    grid-area: img;
    width: 70px !important;
    height: 70px !important;
    align-self: center;
  }

  .cart-item-main .item-details {
    grid-area: info;
    min-width: 0;
    overflow: hidden;
  }

  .cart-item-main .item-quantity,
  .cart-item-main .item-price,
  .cart-item-main .remove-btn,
  .cart-item-main .variations-toggle {
    grid-area: controls;
  }

  .cart-item-main {
    grid-template-columns: 70px auto 1fr auto;
    grid-template-areas:
      "img  info  info   info"
      "img  qty   price  del";
  }

  .cart-item-main .item-image {
    grid-area: img;
    width: 70px !important;
    height: 70px !important;
    align-self: center;
  }
  .cart-item-main .item-details {
    grid-area: info;
    align-self: start;
    min-width: 0;
    overflow: hidden;
  }
  .cart-item-main .item-quantity {
    grid-area: qty;
    padding: 3px 6px;
    gap: 4px;
    align-self: center;
    flex-shrink: 0;
  }
  .cart-item-main .item-price {
    grid-area: price;
    min-width: unset;
    align-items: flex-start;
    align-self: center;
  }
  .cart-item-main .remove-btn,
  .cart-item-main .variations-toggle {
    grid-area: del;
    width: 28px !important;
    height: 28px !important;
    font-size: 0.72rem;
    align-self: center;
    justify-self: center;
  }

  .cart-item-main .qty-btn {
    width: 24px;
    height: 24px;
    font-size: 0.68rem;
  }
  .cart-item-main .qty-input {
    width: 18px;
    font-size: 0.8rem;
  }
  .cart-item-main .unit-price {
    font-size: 0.7rem;
  }
  .cart-item-main .total-price {
    font-size: 0.9rem;
  }
  .cart-item-main .item-name {
    font-size: 0.88rem;
  }
  .cart-item-main .item-category {
    font-size: 0.76rem;
  }

  .color-select {
    min-width: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.73rem;
    padding: 3px 22px 3px 6px;
    box-sizing: border-box;
  }

  .item-colors {
    width: 100%;
    overflow: hidden;
  }
  .cart-item-group {
    overflow: hidden;
  }

  .variation-item {
    display: grid;
    grid-template-columns: 56px auto 1fr auto;
    grid-template-areas:
      "img  info   info   info"
      "img  qty    price  del";
    gap: 4px 8px;
    padding: 10px;
    align-items: center;
    overflow: hidden;
  }

  .variation-image {
    grid-area: img;
    width: 56px !important;
    height: 56px !important;
    align-self: center;
  }
  .variation-details {
    grid-area: info;
    min-width: 0;
    overflow: hidden;
    align-self: start;
  }
  .variation-quantity {
    grid-area: qty;
    padding: 3px 5px;
    gap: 3px;
    align-self: center;
    flex-shrink: 0;
  }
  .variation-price {
    grid-area: price;
    min-width: unset;
    align-items: flex-start;
    align-self: center;
  }
  .variation-item .remove-btn {
    grid-area: del;
    width: 26px !important;
    height: 26px !important;
    font-size: 0.7rem;
    align-self: center;
    justify-self: center;
  }

  .variation-quantity .qty-btn {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }
  .variation-quantity .qty-input {
    width: 18px;
    font-size: 0.78rem;
  }
  .variation-price .unit-price {
    font-size: 0.68rem;
  }
  .variation-price .total-price {
    font-size: 0.88rem;
  }
  .variation-name {
    font-size: 0.84rem;
  }

  .variation-colors {
    overflow: hidden;
  }
  .variation-colors .color-select {
    min-width: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .variations-dropdown {
    padding: 10px;
    overflow: hidden;
  }
  .variations-list {
    overflow: hidden;
  }

  .cart-summary {
    padding: 16px;
    border-radius: 12px;
  }
  .summary-row {
    font-size: 0.9rem;
  }
  .summary-row.total {
    font-size: 1.1rem;
  }
  .checkout-btn {
    font-size: 0.95rem;
    padding: 12px;
  }
  .discount-input {
    font-size: 0.88rem;
    padding: 10px 12px;
  }
  .discount-apply-btn {
    font-size: 0.88rem;
    padding: 10px 14px;
  }
  .remove-modal-content {
    padding: 28px 20px;
  }
  .modal-title {
    font-size: 1.3rem;
  }

  .toastify {
    right: 12px !important;
    left: auto !important;
    bottom: 15px !important;
    transform: none !important;
    max-width: 280px !important;
    min-width: unset !important;
    font-size: 0.88rem !important;
    padding: 8px 14px !important;
  }

  .floating-elements .float {
    display: none;
  }
}

@media (max-width: 480px) {
  .sweet-title {
    font-size: 1.5rem;
  }
  .sweet-subtitle {
    font-size: 0.95rem;
  }
  .heart-container {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .heart-container i {
    font-size: 18px;
  }
  .cart-items-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .clear-cart-btn {
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  .cart-item-main {
    grid-template-columns: 64px auto 1fr auto;
    gap: 4px 6px;
    padding: 10px;
  }

  .cart-item-main .item-image {
    width: 64px !important;
    height: 64px !important;
  }
  .cart-item-main .qty-btn {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }
  .cart-item-main .qty-input {
    width: 16px;
    font-size: 0.78rem;
  }
  .cart-item-main .total-price {
    font-size: 0.85rem;
  }

  .variation-item {
    grid-template-columns: 50px auto 1fr auto;
    gap: 4px 6px;
    padding: 8px;
  }
  .variation-image {
    width: 50px !important;
    height: 50px !important;
  }
}

@media (max-width: 320px) {
  .sweet-title {
    font-size: 1.2rem;
  }
  .sweet-subtitle {
    font-size: 0.85rem;
  }
  .heart-container {
    width: 35px;
    height: 35px;
    line-height: 35px;
  }

  .heart-container i {
    font-size: 16px;
  }
  .cart-section {
    padding: 14px;
  }
  .cart-items {
    padding: 10px;
  }
  .section-title {
    font-size: 1rem;
  }

  .cart-item-main {
    grid-template-columns: 54px auto 1fr auto;
    gap: 4px 5px;
    padding: 8px;
  }
  .cart-item-main .item-image {
    width: 54px !important;
    height: 54px !important;
  }
  .cart-item-main .qty-btn {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }
  .cart-item-main .qty-input {
    width: 14px;
  }
  .cart-item-main .remove-btn,
  .cart-item-main .variations-toggle {
    width: 24px !important;
    height: 24px !important;
  }
  .cart-item-main .item-name {
    font-size: 0.8rem;
  }

  .variation-item {
    grid-template-columns: 46px auto 1fr auto;
    gap: 3px 5px;
    padding: 7px;
  }
  .variation-image {
    width: 46px !important;
    height: 46px !important;
  }
}
