/* =========================================================== */
/*  BAG PAGE - NO CUTTING OFF, EXPANDS PERFECTLY               */
/* =========================================================== */

.mobile-only.bag-page {
  padding-bottom: 50px;
  height: auto !important;
  min-height: auto !important;
  position: relative;
  display: block;
}

/* ====== HEADER ====== */
.mobile-only .bag-header {
  position: relative;
  z-index: 20;
  padding-top: 80px;
  text-align: center;
  width: 100%;
}

.mobile-only .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;
}

.mobile-only .back-home:hover {
  transform: scale(1.05);
  background: #ffd1e8;
  color: white;
}

.mobile-only .page-title {
  font-family: "Dreamy Notes Script";
  font-size: 30px;
  color: #5b1133;
  margin-bottom: 5px;
}

.mobile-only .page-subtitle {
  font-size: 13px;
  color: #5b1133;
  margin-bottom: 30px;
  font-family: "Vividly-Regular", Helvetica;
}

/* =========================================================== */
/*  BAG ITEMS                                                   */
/* =========================================================== */

.mobile-only .bag-items {
  position: relative;
  z-index: 20;
  max-width: 700px;
  width: 100%;
  margin: 0 auto 30px;
  padding: 0 15px;
}

.mobile-only .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;
}

.mobile-only .bag-item:hover {
  box-shadow: 0 6px 20px rgba(255, 125, 125, 0.15);
}

.mobile-only .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;
}

.mobile-only .bag-item-details {
  flex: 1;
}

.mobile-only .bag-item-details h3 {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 16px;
  color: #5b1133;
  margin-bottom: 4px;
}

.mobile-only .bag-item-details p {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 12px;
  color: #8a6a7a;
  margin-bottom: 12px;
}

.mobile-only .bag-item-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.mobile-only .bag-price {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 16px;
  color: #5b1133;
  font-weight: bold;
  min-width: 60px;
}

.mobile-only .quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffe8f3;
  border-radius: 34.6px;
  padding: 4px 12px;
  border: 1px solid #ffadd6;
}

.mobile-only .qty-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #5b1133;
  cursor: pointer;
  padding: 0 4px;
  transition: all 0.2s ease;
}

.mobile-only .qty-btn:hover {
  color: #ffa6d3;
  transform: scale(1.1);
}

.mobile-only .qty-num {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 14px;
  color: #ffa6d3;
  min-width: 20px;
  text-align: center;
}

.mobile-only .remove-btn {
  background: transparent;
  border: none;
  font-family: "Vividly-Regular", Helvetica;
  font-size: 12px;
  color: #ffa6d3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-only .remove-btn:hover {
  color: #ffa6d3;
  transform: scale(1.05);
}

/* =========================================================== */
/*  ORDER SUMMARY                                               */
/* =========================================================== */

.mobile-only .order-summary {
  position: relative;
  z-index: 20;
  max-width: 700px;
  width: 100%;
  margin: 0 auto 30px;
  padding: 0 15px;
}

.mobile-only .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;
}

.mobile-only .summary-row {
  display: flex;
  justify-content: space-between;
  font-family: "Vividly-Regular", Helvetica;
  font-size: 14px;
  color: #5b1133;
  padding: 8px 0;
}

.mobile-only .summary-row.total {
  border-top: 1px solid #ffe8f3;
  margin-top: 10px;
  padding-top: 15px;
  font-weight: bold;
  font-size: 16px;
}

.mobile-only .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%;
}

.mobile-only .checkout-btn:hover {
  background: #ffcbe5;
  color: white;
  transform: scale(1.02);
}

/* =========================================================== */
/*  YOU MIGHT ALSO LIKE                                         */
/* =========================================================== */

.mobile-only .also-like {
  position: relative;
  z-index: 20;
  max-width: 700px;
  width: 100%;
  margin: 0 auto 40px;
  padding: 0 15px;
  text-align: center;
}

.mobile-only .also-like h3 {
  font-family: "Dreamy Notes Script";
  font-size: 15px;
  color: #5b1133;
  margin-bottom: 20px;
}

.mobile-only .also-like-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mobile-only .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;
}

.mobile-only .mini-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 125, 125, 0.15);
}

.mobile-only .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;
}

.mobile-only .mini-info {
  margin-bottom: 12px;
}

.mobile-only .mini-info span {
  display: block;
  font-family: "Vividly-Regular", Helvetica;
  font-size: 12px;
  color: #5b1133;
}

.mobile-only .mini-info .mini-price {
  font-size: 14px;
  font-weight: bold;
  margin-top: 4px;
}

.mobile-only .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;
}

.mobile-only .mini-btn:hover {
  background: #ffcbe5;
  color: white;
  transform: scale(1.05);
}

/* =========================================================== */
/*  FOOTER - NATURAL FLOW (NO OVERLAP)                         */
/* =========================================================== */

.mobile-only .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;
}

.mobile-only .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;
}

.mobile-only .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) {
  .mobile-only .back-home {
    font-size: 11px;
    padding: 5px 12px;
    top: 29px;
    left: 15px;
  }

  .mobile-only .page-title {
    font-size: 22px;
  }

  .mobile-only .page-subtitle {
    font-size: 11px;
  }

  .mobile-only .bag-item {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }

  .mobile-only .bag-item-image {
    width: 140px;
    height: 140px;
  }

  .mobile-only .bag-item-actions {
    justify-content: center;
  }

  .mobile-only .mini-product {
    width: 150px;
    padding: 12px;
  }

  .mobile-only .mini-image {
    height: 100px;
  }

  .mobile-only .footer-wrapper .rectangle-19 {
    width: 90%;
    height: 80px;
  }

  .mobile-only .footer-wrapper .text-wrapper-22 {
    font-size: 8px;
    line-height: 10px;
  }
}

/* ============================================================ */
/* ===== 🖥️ BRAND NEW LAPTOP/TABLET DESIGN 🖥️ ===== */
/* ============================================================ */

/* Hide laptop version on phones */
@media (max-width: 767px) {
    .desktop-wrapper { display: none !important; }
}

/* Show laptop version on tablets and laptops */
@media (min-width: 768px) {
    .mobile-only { display: none !important; }
    
    body {
        background: #fff0f6;
        display: flex;
        justify-content: center;
        padding: 40px;
    }

    .desktop-wrapper {
        max-width: 1100px;
        width: 100%;
        background: #fff5fa;
        border-radius: 40px;
        box-shadow: 0 20px 60px rgba(255, 173, 214, 0.1);
        overflow: hidden;
        padding: 40px 50px 50px 50px;
        font-family: "Single Day", "KNMaiyuan-Regular", sans-serif;
        color: #5b1133;
    }

    /* ===== HEADER ===== */
    .d-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 20px;
        border-bottom: 1px solid #ffe8f3;
        margin-bottom: 30px;
    }
    .d-back {
        font-family: "Dreamy Notes Script";
        color: #5b1133;
        font-size: 15px;
        text-decoration: none;
        background: #ffe8f3;
        padding: 8px 20px;
        border-radius: 30px;
        border: 1px solid #ffadd6;
        transition: all 0.3s ease;
    }
    .d-back:hover { transform: scale(1.05); background: #ffcbe5; }
    .d-title-box {
        text-align: right;
    }
    .d-title {
        font-family: "Dreamy Notes Script";
        font-size: 32px;
        margin: 0;
        color: #5b1133;
    }
    .d-subtitle {
        font-family: "Vividly-Regular", Helvetica;
        font-size: 13px;
        color: #5b1133;
        margin-top: 2px;
    }

    /* ===== MAIN LAYOUT ===== */
    .d-main-layout {
        display: flex;
        gap: 40px;
        margin-bottom: 50px;
    }

    /* ===== LEFT: ITEMS ===== */
    .d-items-col {
        flex: 2;
    }
    .d-bag-item {
        display: flex;
        gap: 20px;
        background: #ffffff;
        border-radius: 30px;
        padding: 20px;
        margin-bottom: 15px;
        box-shadow: 0 4px 15px rgba(255, 125, 125, 0.05);
        border: 1px solid #ffe8f3;
        align-items: center;
        transition: all 0.3s ease;
    }
    .d-bag-item:hover { box-shadow: 0 6px 20px rgba(255, 125, 125, 0.15); }
    .d-bag-img {
        width: 120px;
        height: 120px;
        background-color: #ffd1e8;
        border-radius: 20px;
        background-size: cover !important;
        background-position: center !important;
        flex-shrink: 0;
        border: 1px solid #ffe8f3;
    }
    .d-bag-details { flex: 1; }
    .d-bag-details h3 {
        font-family: "Vividly-Regular", Helvetica;
        font-size: 18px;
        color: #5b1133;
        margin-bottom: 4px;
    }
    .d-bag-details p {
        font-family: "Vividly-Regular", Helvetica;
        font-size: 13px;
        color: #8a6a7a;
        margin-bottom: 12px;
    }
    .d-bag-actions {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    .d-bag-price {
        font-family: "Vividly-Regular", Helvetica;
        font-size: 18px;
        color: #5b1133;
        font-weight: bold;
        min-width: 70px;
    }
    .d-quantity-control {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #ffe8f3;
        border-radius: 30px;
        padding: 4px 14px;
        border: 1px solid #ffadd6;
    }
    .d-qty-btn {
        background: transparent;
        border: none;
        font-size: 18px;
        color: #5b1133;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .d-qty-btn:hover { color: #ffa6d3; transform: scale(1.1); }
    .d-qty-num {
        font-family: "Vividly-Regular", Helvetica;
        font-size: 15px;
        color: #ffa6d3;
        min-width: 20px;
        text-align: center;
    }
    .d-remove-btn {
        background: transparent;
        border: none;
        font-family: "Vividly-Regular", Helvetica;
        font-size: 13px;
        color: #ffa6d3;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .d-remove-btn:hover { color: #ffa6d3; transform: scale(1.05); }

    /* ===== RIGHT: SUMMARY ===== */
    .d-summary-col {
        flex: 1;
        min-width: 280px;
    }
    .d-summary-box {
        background: #ffffff;
        border-radius: 30px;
        padding: 30px 25px 35px;
        box-shadow: 0 4px 15px rgba(255, 125, 125, 0.05);
        border: 1px solid #ffe8f3;
        position: sticky;
        top: 40px;
    }
    .d-summary-box h3 {
        font-family: "Dreamy Notes Script";
        font-size: 22px;
        color: #5b1133;
        margin-bottom: 20px;
        text-align: center;
    }
    .d-summary-row {
        display: flex;
        justify-content: space-between;
        font-family: "Vividly-Regular", Helvetica;
        font-size: 15px;
        color: #5b1133;
        padding: 10px 0;
    }
    .d-summary-row.d-total {
        border-top: 1px solid #ffe8f3;
        margin-top: 15px;
        padding-top: 20px;
        font-weight: bold;
        font-size: 18px;
    }
    .d-checkout-btn {
        display: block;
        text-align: center;
        background: #ffe8f3;
        border: 1px solid #ffadd6;
        border-radius: 30px;
        padding: 14px 0;
        font-family: "Vividly-Regular", Helvetica;
        color: #5b1133;
        font-size: 15px;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-top: 25px;
        width: 100%;
    }
    .d-checkout-btn:hover {
        background: #ffcbe5;
        color: white;
        transform: scale(1.02);
    }

    /* ===== YOU MIGHT ALSO LIKE ===== */
    .d-section { margin-bottom: 40px; }
    .d-section-title {
        font-family: "Dreamy Notes Script";
        font-size: 24px;
        text-align: center;
        margin-bottom: 25px;
        color: #5b1133;
    }
    .d-grid-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 600px;
        margin: 0 auto;
    }
    .d-mini-product {
        background: #ffffff;
        border-radius: 30px;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(255, 125, 125, 0.05);
        border: 1px solid #ffe8f3;
        text-align: center;
        transition: all 0.3s ease;
    }
    .d-mini-product:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(255, 125, 125, 0.15);
    }
    .d-mini-img {
        width: 100%;
        height: 140px;
        background-color: #ffcbe5;
        border-radius: 20px;
        background-size: cover !important;
        background-position: center !important;
        margin-bottom: 12px;
        border: 1px solid #ffe8f3;
    }
    .d-mini-info { margin-bottom: 15px; }
    .d-mini-info span {
        display: block;
        font-family: "Vividly-Regular", Helvetica;
        font-size: 14px;
        color: #5b1133;
    }
    .d-mini-info .d-mini-price {
        font-size: 16px;
        font-weight: bold;
        margin-top: 4px;
    }
    .d-mini-btn {
        background: #ffe8f3;
        border: 1px solid #ffadd6;
        border-radius: 30px;
        padding: 8px 25px;
        font-family: "Vividly-Regular", Helvetica;
        color: #5b1133;
        font-size: 13px;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    .d-mini-btn:hover {
        background: #ffcbe5;
        color: white;
        transform: scale(1.05);
    }

    /* ===== FOOTER ===== */
    .d-footer {
        margin-top: 40px;
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #ffe8f3;
    }
    .d-footer-box {
        background: #ffe8f3;
        border-radius: 30px;
        padding: 30px 20px;
        max-width: 600px;
        margin: 0 auto;
    }
    .d-footer-text {
        font-family: "Single Day", cursive;
        color: #5b1133;
        font-size: 14px;
        line-height: 1.6;
    }
}