/* =========================================================== */
/*  BAG PAGE - NO CUTTING OFF, EXPANDS PERFECTLY               */
/* =========================================================== */

.bag-page {
  padding-bottom: 50px;
  height: auto !important;  /* <--- Let it shrink to fit content */
  min-height: auto !important;
  position: relative;
}
/* ====== HEADER ====== */
.bag-header {
  position: relative;
  z-index: 20;
  padding-top: 80px;
  text-align: center;
  width: 100%;
}

.back-home {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: "Dreamy Notes Script";
  color: #000000;
  font-size: 13px;
  text-decoration: none;
  background: #ffe8f3;
  padding: 6px 16px;
  border-radius: 34.6px;
  border: 1px solid #ffadd6;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-home:hover {
  transform: scale(1.05);
  background: #ffd1e8;
  color: white;
}

.page-title {
  font-family: "Dreamy Notes Script";
  font-size: 30px;
  color: #5b1133;
  margin-bottom: 5px;
}

.page-subtitle {
  font-size: 13px;
  color: #5b1133;
  margin-bottom: 30px;
  font-family: "Vividly-Regular", Helvetica;
}

/* =========================================================== */
/*  BAG ITEMS                                                   */
/* =========================================================== */

.bag-items {
  position: relative;
  z-index: 20;
  max-width: 700px;
  width: 100%;
  margin: 0 auto 30px;
  padding: 0 15px;
}

.bag-item {
  display: flex;
  gap: 20px;
  background: #ffffff;
  border-radius: 34.6px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(255, 125, 125, 0.08);
  border: 1px solid #ffe8f3;
  align-items: center;
  transition: all 0.3s ease;
}

.bag-item:hover {
  box-shadow: 0 6px 20px rgba(255, 125, 125, 0.15);
}

.bag-item-image {
  width: 100px;
  height: 100px;
  background-color: #ffd1e8;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid #ffe8f3;
}

.bag-item-details {
  flex: 1;
}

.bag-item-details h3 {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 16px;
  color: #5b1133;
  margin-bottom: 4px;
}

.bag-item-details p {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 12px;
  color: #8a6a7a;
  margin-bottom: 12px;
}

.bag-item-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.bag-price {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 16px;
  color: #5b1133;
  font-weight: bold;
  min-width: 60px;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffe8f3;
  border-radius: 34.6px;
  padding: 4px 12px;
  border: 1px solid #ffadd6;
}

.qty-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #5b1133;
  cursor: pointer;
  padding: 0 4px;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  color: #ffa6d3;
  transform: scale(1.1);
}

.qty-num {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 14px;
  color: #ffa6d3;
  min-width: 20px;
  text-align: center;
}

.remove-btn {
  background: transparent;
  border: none;
  font-family: "Vividly-Regular", Helvetica;
  font-size: 12px;
  color: #ffa6d3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  color: #ffa6d3;
  transform: scale(1.05);
}

/* =========================================================== */
/*  ORDER SUMMARY                                               */
/* =========================================================== */

.order-summary {
  position: relative;
  z-index: 20;
  max-width: 700px;
  width: 100%;
  margin: 0 auto 30px;
  padding: 0 15px;
}

.summary-box {
  background: #ffffff;
  border-radius: 34.6px;
  padding: 25px 25px 30px;
  box-shadow: 0 4px 15px rgba(255, 125, 125, 0.08);
  border: 1px solid #ffe8f3;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-family: "Vividly-Regular", Helvetica;
  font-size: 14px;
  color: #5b1133;
  padding: 8px 0;
}

.summary-row.total {
  border-top: 1px solid #ffe8f3;
  margin-top: 10px;
  padding-top: 15px;
  font-weight: bold;
  font-size: 16px;
}

.checkout-btn {
  display: block;
  text-align: center;
  background: #ffe8f3;
  border: 1px solid #ffadd6;
  border-radius: 34.6px;
  padding: 12px 0;
  font-family: "Vividly-Regular", Helvetica;
  color: #5b1133;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
  width: 100%;
}

.checkout-btn:hover {
  background: #ffcbe5;
  color: white;
  transform: scale(1.02);
}

/* =========================================================== */
/*  YOU MIGHT ALSO LIKE                                         */
/* =========================================================== */

.also-like {
  position: relative;
  z-index: 20;
  max-width: 700px;
  width: 100%;
  margin: 0 auto 40px;
  padding: 0 15px;
  text-align: center;
}

.also-like h3 {
  font-family: "Dreamy Notes Script";
  font-size: 15px;
  color: #5b1133;
  margin-bottom: 20px;
}

.also-like-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mini-product {
  background: #ffffff;
  border-radius: 34.6px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(255, 125, 125, 0.08);
  border: 1px solid #ffe8f3;
  width: 180px;
  text-align: center;
  transition: all 0.3s ease;
}

.mini-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 125, 125, 0.15);
}

.mini-image {
  width: 100%;
  height: 120px;
  background-color: #ffcbe5;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
  border: 1px solid #ffe8f3;
}

.mini-info {
  margin-bottom: 12px;
}

.mini-info span {
  display: block;
  font-family: "Vividly-Regular", Helvetica;
  font-size: 12px;
  color: #5b1133;
}

.mini-info .mini-price {
  font-size: 14px;
  font-weight: bold;
  margin-top: 4px;
}

.mini-btn {
  background: #ffe8f3;
  border: 1px solid #ffadd6;
  border-radius: 34.6px;
  padding: 6px 20px;
  font-family: "Vividly-Regular", Helvetica;
  color: #5b1133;
  font-size: 11px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mini-btn:hover {
  background: #ffcbe5;
  color: white;
  transform: scale(1.05);
}

/* =========================================================== */
/*  FOOTER - NATURAL FLOW (NO OVERLAP)                         */
/* =========================================================== */

.footer-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 700px;
  margin: 30px auto 0;
  padding-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ====== MODIFIED FOOTER ELEMENTS ====== */

.clio .rectangle-19 {
  top: 10px !important;
  bottom: 0 !important;
  left: calc(50.00% - 259px) !important;
  width: 516px !important;
  height: 103px !important;
  background-color: #ffe8f3 !important;
  position: absolute !important;
  border-radius: 34.6px !important;
}

.clio .text-wrapper-22 {
  top: 31px !important;
  bottom: 45px !important;
  left: calc(50.00% - 77px) !important;
  width: 177px !important;
  font-size: 8.9px !important;
  text-align: center !important;
  line-height: 7.9px !important;
  position: absolute !important;
  font-family: "Single Day", cursive !important;
  font-weight: 400 !important;
  color: #5b1133 !important;
  letter-spacing: 0 !important;
  z-index: 99999 !important;
}

/* =========================================================== */
/*  MOBILE RESPONSIVE                                          */
/* =========================================================== */

@media (max-width: 600px) {
  .back-home {
    font-size: 11px;
    padding: 5px 12px;
    top: 29px;
    left: 15px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-subtitle {
    font-size: 11px;
  }

  .bag-item {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }

  .bag-item-image {
    width: 140px;
    height: 140px;
  }

  .bag-item-actions {
    justify-content: center;
  }

  .mini-product {
    width: 150px;
    padding: 12px;
  }

  .mini-image {
    height: 100px;
  }

  /* Mobile footer */
  .footer-wrapper .rectangle-19 {
    width: 90%;
    height: 80px;
  }

  .footer-wrapper .text-wrapper-22 {
    font-size: 8px;
    line-height: 10px;
  }
}