/* ====== SPECIFIC HEIGHT FOR COLLECTION PAGE ====== */
.mobile-only.collection-page {
  height: 1632px;
  padding-bottom: 50px;
  position: relative;
  display: block;
}

/* ====== HEADER ====== */
.mobile-only .collection-header {
  position: relative;
  z-index: 10;
  padding-top: 50px;
  text-align: center;
}

.mobile-only .back-home {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: "Dreamy Notes Script";
  color: #5b1133;
  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: #ffcbe5;
  color: white;
}

.mobile-only .page-title {
  font-family: "Dreamy Notes Script";
  font-size: 30px;
  color: #5b1133;
  margin-bottom: 5px;
}

.mobile-only .page-subtitle {
  font-family: "Single Day", cursive;
  font-size: 13px;
  color: #5b1133;
  margin-bottom: 30px;
}

/* =========================================================== */
/*  SECTION STYLES                                              */
/* =========================================================== */

.mobile-only .section-block {
  position: relative;
  z-index: 10;
  max-width: 880px;
  margin: 0 auto 45px;
  padding: 0 15px;
}

.mobile-only .section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;
}

.mobile-only .section-title {
  font-family: "Dreamy Notes Script";
  font-size: 24px;
  color: #5b1133;
  margin: 0;
}

.mobile-only .section-subtitle {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 12px;
  color: #8a6a7a;
  text-align: center;
  margin-bottom: 20px;
}

/* =========================================================== */
/*  CARD ROW - 4 PER ROW                                        */
/* =========================================================== */

.mobile-only .card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* =========================================================== */
/*  PRODUCT CARD                                                */
/* =========================================================== */

.mobile-only .product-card {
  width: 190px;
  background: #ffffff;
  border-radius: 34.6px;
  padding: 16px 16px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 125, 125, 0.08);
  border: 1px solid #ffe8f3;
  transition: all 0.4s ease;
}

.mobile-only .product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 125, 125, 0.15);
}

.mobile-only .product-image {
  width: 100%;
  height: 150px;
  background-color: #ffcbe5;
  border-radius: 20px;
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid #ffe8f3;
}

.mobile-only .product-name {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 14px;
  color: #5b1133;
  margin-bottom: 4px;
  font-weight: normal;
  letter-spacing: 0.5px;
}

.mobile-only .product-desc {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 11px;
  color: #8a6a7a;
  margin-bottom: 14px;
}

.mobile-only .product-btn {
  background: #ffe8f3;
  border: 1px solid #ffadd6;
  border-radius: 34.6px;
  padding: 6px 16px;
  font-family: "Vividly-Regular", Helvetica;
  color: #5b1133;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.mobile-only .product-btn:hover {
  background: #ffcbe5;
  color: white;
  transform: scale(1.05);
}

/* =========================================================== */
/*  FOOTER - EXACTLY FROM MAIN PAGE                             */
/* =========================================================== */

.mobile-only .footer-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  margin-top: 30px;
  min-height: 120px;
}

.mobile-only .rectangle-19 {
  top: auto !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: 32px !important;
  bottom: 45px !important;
  left: calc(50.00% - 84px) !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: 850px) {
  .mobile-only .product-card {
    width: 170px;
  }
}

@media (max-width: 600px) {
  .mobile-only .back-home {
    font-size: 11px;
    padding: 5px 12px;
    top: 29px;
    left: 15px;
  }

  .mobile-only .page-title {
    font-size: 24px;
  }

  .mobile-only .page-subtitle {
    font-size: 11px;
  }

  .mobile-only .section-block {
    margin-bottom: 30px;
  }

  .mobile-only .section-title {
    font-size: 20px;
  }

  .mobile-only .section-subtitle {
    font-size: 11px;
  }

  .mobile-only .card-row {
    gap: 12px;
  }

  .mobile-only .product-card {
    width: 160px;
    padding: 12px 12px 16px;
  }

  .mobile-only .product-image {
    height: 120px;
  }

  .mobile-only .product-name {
    font-size: 12px;
  }

  .mobile-only .product-desc {
    font-size: 10px;
  }

  .mobile-only .product-btn {
    font-size: 10px;
    padding: 5px 12px;
  }
}

@media (max-width: 450px) {
  .mobile-only .product-card {
    width: 140px;
    padding: 10px 10px 14px;
  }

  .mobile-only .product-image {
    height: 100px;
  }
}

/* ============================================================ */
/* ===== 🖥️ 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: 1200px;
        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: 16px;
        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 {
        font-family: "Dreamy Notes Script";
        font-size: 38px;
        margin: 0;
        color: #5b1133;
    }

    /* ===== SECTIONS ===== */
    .d-section {
        padding: 30px 0;
    }
    .d-section-title {
        font-family: "Dreamy Notes Script";
        font-size: 32px;
        text-align: center;
        margin-bottom: 5px;
        color: #5b1133;
    }
    .d-sub {
        text-align: center;
        color: #8a6a7a;
        font-size: 14px;
        margin-bottom: 25px;
    }

    /* ===== GRID ===== */
    .d-grid-4 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    /* ===== CARDS ===== */
    .d-card {
        background: #ffffff;
        border-radius: 30px;
        padding: 20px 20px 25px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(255, 125, 125, 0.05);
        border: 1px solid #ffe8f3;
        transition: all 0.4s ease;
    }
    .d-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(255, 125, 125, 0.15);
    }
    .d-img {
        width: 100%;
        height: 180px;
        border-radius: 20px;
        background-size: cover !important;
        background-position: center !important;
        margin-bottom: 12px;
        background-color: #ffcbe5;
        border: 1px solid #ffe8f3;
    }
    .d-card h3 {
        font-family: "Vividly-Regular", Helvetica;
        font-size: 16px;
        color: #5b1133;
        margin-bottom: 4px;
    }
    .d-card p {
        font-family: "Vividly-Regular", Helvetica;
        font-size: 12px;
        color: #8a6a7a;
        margin-bottom: 15px;
    }
    .d-btn {
        background: #ffe8f3;
        border: 1px solid #ffadd6;
        border-radius: 30px;
        padding: 8px 20px;
        font-family: "Vividly-Regular", Helvetica;
        color: #5b1133;
        font-size: 13px;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-block;
    }
    .d-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;
    }
}