.nav {
  width: 100%;
  border-bottom: 1px #aaa solid;
  background-color: #fff;
}

.clear {
  clear: both;
}

.nav1 {
  list-style-type: none;
  margin: 0;
  padding: 0 15%;
  overflow: hidden;

  width: 100%;
}


.nav1 li {
  float: right;
}

.nav1 li a {
  display: block;
  color: #999;
  text-align: center;
  padding: 0.5em;
  text-decoration: none;
  transition: all 0.3s;
}

.nav1 .cart {

  background-color: #343a40;
  padding-bottom: 0.5%;
  border-radius: 0 0 5px 5px;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.nav1 .cart:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav1 .cart a i {
  float: left;
  color: white;
}

.nav1 .cart a span {

  margin-left: 0.5em;
  margin-right: 0.5em;
  float: left;
  color: white;
  font-weight: 600;
}


.nav1 li a:hover {
  color: #666;
}




.nav_logo {
  width: 100%;
  margin-bottom: 1em;
}

.nav_logo img {
  width: 15%;
  cursor: pointer;


}

.nav2 {
  background-color: #fff;
  list-style-type: none;
  margin: 0;
  padding: 0 15%;
  overflow: hidden;

  width: 100%;
}


.nav2 li {
  width: 20%;
  float: left;
}

.nav2 li a {
  display: block;
  color: #000;
  text-align: center;
  padding: 0.5em;
  text-decoration: none;
  transition: all 0.3s;
  border-bottom: 2px solid #fff;
  font-weight: bold;
}

.nav2 li a:hover {
  border-bottom: 2px solid #000;
}

.div {
  width: 100%;
  padding: 2% 5em;
}

.div2 {
  width: 100%;
  padding: 2% 15%;
}

.div2 a {

  color: #666;
  transition: all 0.3s;
}

.div2 a:hover {
  color: #000;
}

.w33 {
  width: 33%;
  float: left;
  padding: 1%;
}

.w33_div {
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  width: 100%;
  height: auto;
}

.w33_div_text {
  display: table;
  height: 100px;
  width: 50%;
  text-align: center;
  float: left;
}

.w33_div_text span {
  display: table-cell;
  vertical-align: middle;
}

.w33_div_img {
  width: 50%;
  align-items: center;
  float: left;

}

.w33_div_img img {
  width: 100%;


}

.w16 {
  width: 16.6%;
  float: left;
  padding: 1%;
  border-radius: 1em;
}

.w16 .w16_img {
  width: 100%;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border-radius: 1em;

}

.w16 .w16_img img {
  width: 100%;
  border-radius: 1em;
}

.footer {
  width: 100%;
  align-items: center;
  padding: 2% 15% 1% 15%;
  /* background-color: #FFF; */
  background-image: url("../img/footer_Enroll-to-Dr.Olivia_Uni.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.footer i {
  font-size: 24px;
  padding-right: 8px;
}

.footer .w30 {
  width: 30%;
  float: left;
  padding: 1% 2%;
}

.footer .w40 {
  width: 40%;
  float: left;
  padding: 1% 2%;
}

.footer .w20 {
  width: 20%;
  float: left;
  padding: 1% 2%;
}

/* .footer .w25{
    width: 25%;
    float: left;
    padding: 1% 2%;
  } */
.footer .div70 {
  width: 70%;
  float: left;
  padding: 1% 1% 1% 0;
}

.footer .div30 {
  width: 30%;
  float: left;
  padding: 1% 0 1% 1%;
}

.footer .alink {
  text-decoration: none;
  color: #999;
  transition: all 0.3s;
}

.footer .alink:hover {
  color: black;

}

.card_w3 {
  width: 33%;
  padding: 1%;
  float: left;

}

.card_w3_2 {
  width: 33%;
  padding: 0.75%;
  margin-bottom: 0.5%;
  float: left;
}

.card_w4 {
  width: 25%;
  padding: 1%;
  float: left;
}

.card_ {
  height: 280px;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(15, 14, 14, 0.125);
  border-radius: 1em;
  padding: 10%;
}

.card_relate {
  height: 390px;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(15, 14, 14, 0.125);
  border-radius: 1em;
  padding: 10%;
}

.card_:hover {
  border: #999 1px solid;
}

.card_ img {
  width: 100%;
  border-radius: 5px;
  display: flex;

  height: 200px;
  object-fit: cover;
}

.card_ .header {
  margin-top: 1.5em;
  font-weight: bold;
  font-size: 1em;
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.card_ .header2 {
  margin-top: 1em;
  font-weight: bold;
  font-size: 1em;
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card_ .subhead {
  display: flex;
  color: #666;
  font-size: 1em;
}

.card_ .subhead2 {

  color: #999;
  font-size: 1em;
  display: flex;
}

/* product page */
.w25_2 {
  width: 20%;
  float: left;
  padding-right: 1%;
}

.w75 {
  width: 80%;
  float: left;
  padding-left: 0.5%;
}

.w25_2 .card2 {
  padding: 6% 6%;
  background-color: #f5f5f5;
  border-radius: 1em;
}

.w75 .card2 {
  padding: 1.5% 2%;
  background-color: #f5f5f5;
  border-radius: 1em;
}

.card2 .alink {
  text-decoration: none;
  color: #999;
  transition: all 0.3s;
}

.card2 .alink:hover {
  color: black;

}

.form_card2 {
  padding: 3% 1%;
}

.form_card2 span {
  padding-left: 1%;
}

.div_search {
  background-color: #fff;
  margin: 0 0 1% 0;
  padding: 1% 1.5%;
  border-radius: 1em;
  width: 97%;
}

.p_w50 {
  width: 50%;
  float: left;
  padding: 2%;
}

.sub_img_wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.sub_img {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-behavior: smooth;
  width: 100%;
}

.sub_img::-webkit-scrollbar {
  display: none;
  /* ซ่อน scrollbar */
}

.p_w20 {
  flex: 0 0 auto;
  width: 120px;
}

.p_w20 img {
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.p_w20 img:hover {
  box-shadow: #bbb 2px 2px 5px;
}

/* ปุ่มลูกศร */
.scroll_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.scroll_btn.left {
  left: -15px;
}

.scroll_btn.right {
  right: -15px;
}

.scroll_btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.p_w50 img {
  width: 100%;
  border-radius: 5px;

}

.p_detail {
  text-align: center;
  padding: 10% 4%;
  border-radius: 5px;
  border: solid 1px #999;
}

.p_detail h2 {
  margin: 2% 0;
}

.p_detail h5 {
  margin: 1% 0;
}

.p_detail h6 {
  margin: 2% 0;
}

.p_detail .review {
  margin: 2% 0;
  width: 100%;
}

.divToggle {
  cursor: pointer;
  color: #000;
  background-color: #fefefe;
  ;
  width: 100%;
  padding: 3% 2% 0 2%;
  border-radius: 5px 5px 0 0;

}

.divToggle2 {

  background-color: #fefefe;
  ;
  width: 100%;
  height: 8px;
  border-radius: 0 0 5px 5px;
  margin-bottom: 1%;

}

.contentToggle {
  display: none;
  color: #000;
  background-color: #fefefe;
  ;
  width: 100%;
  padding: 3%;

}

.div_review {
  background-color: #fefefe;
  ;
  padding: 2%;
  border-radius: 5px;
}

.card_review {
  margin: 2%;
  border-bottom: #ddd solid 1px;
}

.card_review .img {
  width: 15%;
  padding: 2%;
  float: left;
  position: relative;

}

.card_review .img img {
  width: 100%;
  border-radius: 50%;

}

.card_review .txt {
  width: 85%;
  padding: 1%;
  float: left;
}

.login_block {
  background-image: url("../img/bg_login.webp");
  /* background: rgb(220,244,255);
background: linear-gradient(325deg, rgba(220,244,255,1) 0%, rgba(130,142,207,1) 30%, rgba(130,142,207,1) 60%, rgba(220,244,255,1) 100%); */
  padding: 5% 20%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}

.login_div {
  border-radius: 5px;
  background-color: #fff;
  box-shadow: #000 1px 1px 10px;
}

.login_div_w5 {
  width: 65%;
  float: left;
  padding: 10%;
  text-align: center;
}

.img_div_w5 {
  width: 35%;
  float: left;
}

.div1_cart {
  width: 65%;
  float: left;
  padding: 2%;
  background-color: #eee;
  border-radius: 5px;
}

.div2_cart {
  width: 35%;
  float: left;
  padding: 0 2%;
}

.div_incart {
  width: 100%;
}

.div_incart img {
  width: 20%;
  float: left;
  border-radius: 20px;
  height: 130px;

}

.div_incart .text_incart {
  width: 50%;
  float: left;
  padding: 5%;
}

.div_incart .text h4 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
}

.div_incart .quan {
  width: 30%;
  float: left;
  padding: 5%;
}

.div_usermenu {
  width: 25%;
  float: left;
  padding: 1%;
}

.div_usermenu_card {
  padding: 5%;
  border-radius: 5px;
  background-color: #eee;
}

.vertical-menu {
  width: 100%;
}

.vertical-menu .a2 {
  background-color: #eee;
  color: black;
  display: block;
  padding: 12px;
  text-decoration: none;
}

.vertical-menu .a2:hover {
  background-color: #ccc;
  border-radius: 5px;
}

.vertical-menu .active {
  background-color: #000;
  color: white;
  border-radius: 5px;
}

.vertical-menu .ac {
  background-color: #eee;
  color: red;
  display: block;
  padding: 12px;
  text-decoration: none;
}

.vertical-menu .ac:hover {
  background-color: red;
  color: white;
  border-radius: 5px;
}


.div2_usermenu {
  width: 75%;
  float: left;
  padding: 1%;
}

.div2_usermenu_card {
  padding: 5%;
  border-radius: 5px;
  background-color: #eee;
}

.admin_link {
  color: #fff;
  transition: all 2s;
  display: block;
  margin-top: 6%;

}

.admin_link:hover {
  color: #999;

}

.nav-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8c8c8c;
  text-decoration: none;
}

.nav-profile i {
  font-size: 22px;
}

.nav-profile span {
  position: relative;
  top: -6px;
}

/* image Profile */

.image-upload>input {
  display: none;
}

.image-upload .iconpic {
  border-radius: 0%;
}

.image-upload img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;


}

.containerimg {
  position: relative;
  width: 100%;
  max-width: 300px;
  box-shadow: 1;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #000000;
  border-radius: 50%;
}

.containerimg:hover .overlay {
  opacity: 0.7;
  cursor: pointer;
  box-shadow: 5px 5px 15px 5px rgba(50, 50, 50, .5);
}

.text {
  color: white;
  font-size: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.active a:active {
  background: #000000;
  color: white;
}

span.active {
  background-color: #000000;
  border-color: #000000;
}

#fullpage {
  display: none;
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: contain;
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-color: black;
}




/* image Profile */

.statusbar_red {
  width: 100%;
  color: #761b18;
  font-weight: bold;
  padding: 2% 1%;
  text-align: left;
  background-color: #f9d6d5;
  border: #f7c6c5 solid 1px;
  border-radius: 5px;
  cursor: pointer;
}

.statusbar_green {
  width: 100%;
  color: #1d643b;
  font-weight: bold;
  padding: 2% 1%;
  text-align: left;
  background-color: #d7f3e3;
  border: #c7eed8 solid 1px;
  border-radius: 5px;
  cursor: pointer;
}

.div_vdo {
  width: 100%;
  padding: 1% 15%;
}

.div_vdo center {
  margin-bottom: 2%;
}

.div_vdo .btn {
  width: 50%;
}

.pc {
  display: block;
}

.mb {
  display: none;
}

.cat_div {
  background-color: #FFF;
  border-radius: 1em 1em 0 0;
  padding: 1em 1em 0.1em 1em;
}

.cat_div h6 {
  margin-bottom: 0;
}

.cat_div2 {
  background-color: #FFF;
  padding: 0 1em;
  display: none;
}

.cat_div2 a {
  margin: 0.2em 0;
}

.review1 {
  width: 50%;
  float: left;
  text-align: center;
}

.review2 {
  width: 25%;
  float: left;
  text-align: center;
}

.p_detail h5 {
  margin-bottom: 1em;
}

.quan_text {
  font-weight: bolder;
  float: left;
  padding: 0.375rem 0.75rem;
}

/* .cart_sub{
    padding: 2% 5%;
    width: 100%;
    border:5px solid #343a40;
    border-radius: 1em;
  } */
.cart_sub {
  position: relative;
  border-radius: 0 0 1em 1em;
  background: #ffffff;
  padding: 3% 5%;

}

.cart_sub::after {
  content: '';
  height: 6px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;

  background-image: repeating-linear-gradient(45deg, #6fa6d6, #6fa6d6 33px, transparent 0, transparent 41px, #f18d9b 0, #f18d9b 74px, transparent 0, transparent 82px);
}

.address_div {

  border-radius: 1em;
  background: #eee;
  padding: 3% 5%;

}

.address_tbl {
  width: 100%;
  margin-top: 1em;
}

.address_tbl tr {
  border-bottom: 1px solid #999;

}

.address_tbl td {
  padding: 0.5em 0;
}

.cart_sub2 {
  margin-top: 1.5em;
  border-radius: 1em;
  background: #fff;
  padding: 3% 5%;
}

.cart_sub3 {
  margin-top: 1.5em;
  border-radius: 1em;
  background: #ffffff;
  padding: 3% 5%;
}

.div_incart2 {

  width: 100%;
}

.div_incart2 .img {
  float: left;
  width: 10%;

}

.div_incart2 .img img {
  width: 100%;
  border-radius: 1em;
}

.div_incart2 .text_incart {
  width: 70%;
  float: left;
  padding: 3.5%;
  font-weight: bold;
}

.div_incart2 .quan {
  width: 25%;
  float: left;
  padding: 3.5%;
  font-weight: bold;
}

.w50 {
  float: right;
  width: 50%;
  padding: 1% 0;

}

.w50 .d1 {
  width: 50%;
  float: left;
  padding: 1.5%;
  font-weight: bold;
}

.w50 .d2 {
  width: 50%;
  float: left;
}

.w50 .d3 {
  clear: both;
}

.order_menu_div {
  margin: .5em 0;
  width: 100%;
  background-color: #fff;
  border-radius: 1em;

}

.order_menu_a {
  width: 14.28%;
  transition: all .3s;
  float: left;
  text-align: center;
  padding: 0.5em 0.5em;
  font-weight: bold;
  background-color: #fff;
}

.order_menu_a:hover {
  background-color: #bbb;
}

.order_card {
  cursor: pointer;
  background-color: #fff;
  padding: 1em;
}

.circle_o {
  width: 16%;
  float: left;
  height: 110px;
  background-color: red;
  border-radius: 50%;
}

.div_paynow {
  width: 100%;
  padding: 0.2em 0.5em;
}

.div_paynow form {
  width: 50%;
  background-color: white;
  border-radius: 1em;
  box-shadow: #bbb 1px 1px 1px;
  padding: 1em;
}

.card_w3 {
  width: 33%;
  padding: 1%;

}


.card_w3 img {
  height: 250px;
}

.card_w3_2 img {
  height: 150px;
}

.KEYINGREDIENTS {
  width: 60%;
  float: left;
}

.stepuse {
  width: 40%;
  float: left;
  padding: 2em;
}

.ResultLab {
  width: 50%;
  float: left;
}

.ResultLabpic {
  width: 50%;
  float: left;
  padding: 1em;
}

.contact_w60 {
  width: 60%;
  float: left;
}

.contact_w40 {
  width: 40%;
  float: left;
  padding: 5% 4%;
}

.likePIC {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.likePIC i {
  font-size: 36px;
}

.div_mb {
  display: flex;
  overflow: scroll hidden;
  white-space: nowrap;
  padding-bottom: 3%;
}

.card_mb {
  min-width: 75%;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 1em;
  padding: 10%;
  margin: .5em 1em;
}

.card_mb:hover {
  border: #999 1px solid;
}

.card_mb img {
  width: 100%;
  border-radius: 5px;
  display: flex;

  height: 200px;
  object-fit: cover;
}

.card_mb .header {
  margin-top: 1.5em;
  font-weight: bold;
  font-size: 1em;
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.card_mb .subhead {
  display: flex;
  color: #666;
  font-size: 1em;
}

.card_mb .subhead2 {

  color: #999;
  font-size: 1em;
  display: flex;
}

.Home_headcatagory {
  width: 40%;
}

.divttc {
  float: left;
  border-radius: 1em;
  padding: 0.3% 1% 0.3% 1%;
  color: white;
  margin-right: 0.5em;
}

.div_skinschool1 {
  width: 100%;
  padding: 0 0.5%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.Ingredients_div {
  width: 100%;
  background: white;
  margin-top: 2%;
  border-radius: 1em;
  padding: 2% 3%;
}

.card_in {
  min-height: 300px;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 1em;
  padding: 0%;
}

.card_in img {
  width: 100%;
  border-radius: 1em;
}

.card_in .header {
  margin: 2% 4%;
  font-weight: bold;
  font-size: 1em;
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.div_skinschool1 .card_w3 {
  width: 33%;
  padding: 0.75%;
  margin-bottom: 0.5%;
  float: none;
  display: flex;
  flex-direction: column;
}

.div_skinschool1 .card_w3 .card_skinschool1 {
  flex: 1;
}

/* follow card img — ห้าม stretch บิด */
.div_skinschool1>img.card_w3 {
  object-fit: cover;
  align-self: stretch;
  border-radius: 2em;
}

/* .mb hidden on desktop — specificity สูงกว่า .mb { display:none } */
.div_skinschool1 .card_w3.mb {
  display: none;
}

.card_skinschool1 {
  min-height: 420px;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 2em;
  padding: 5%;
}

.header_in {
  margin-top: 1.5em;
}








/* ===== PROFILE PAGE ===== */
.profile-page .div_usermenu {
  width: 26%;
  float: left;
  padding: 0 1% 0 0;
}

.profile-page .div_usermenu_card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 0;
}

.profile-page .profile-avatar-section {
  background: linear-gradient(145deg, #1a1a1a 0%, #3a3a3a 100%);
  padding: 2rem 1rem 1.5rem;
  text-align: center;
}

.profile-page .profile-avatar-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 0.75rem;
  cursor: pointer;
}

.profile-page .profile-avatar-wrap img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.25);
  display: block;
}

.profile-page .profile-avatar-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.profile-page .profile-avatar-wrap:hover .profile-avatar-overlay {
  opacity: 1;
}

.profile-page .profile-username {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.profile-page .profile-useremail {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.profile-page .profile-sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
}

.profile-page .profile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: #555;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all 0.15s;
  letter-spacing: 0.3px;
}

.profile-page .profile-nav-link:hover {
  background: #f7f7f7;
  color: #1a1a1a;
  border-left-color: #1a1a1a;
}

.profile-page .profile-nav-link.active {
  background: #f7f7f7;
  color: #1a1a1a;
  border-left-color: #1a1a1a;
}

.profile-page .profile-nav-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: #e53935;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all 0.15s;
  margin-top: 0.25rem;
  border-top: 1px solid #f0f0f0;
}

.profile-page .profile-nav-logout:hover {
  background: #fff5f5;
  border-left-color: #e53935;
}

.profile-page .div2_usermenu {
  width: 74%;
  float: left;
  padding: 0 0 0 1%;
}

.profile-page .div2_usermenu_card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 2rem 2.5rem;
}

.profile-page .profile-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-page .form-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.35rem;
  display: block;
}

.profile-page .form-control {
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.92rem;
  color: #1a1a1a;
  background: #fafafa;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.profile-page .form-control:focus {
  border-color: #1a1a1a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  outline: none;
}

.profile-page .form-control:disabled {
  background: #f2f2f2;
  color: #aaa;
  cursor: not-allowed;
  border-color: #ebebeb;
}

.profile-page select.form-control {
  cursor: pointer;
}

.profile-page textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.profile-page .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.profile-page .status-active {
  background: #e8f5e9;
  color: #2e7d32;
}

.profile-page .status-inactive {
  background: #ffebee;
  color: #c62828;
}

.profile-page .btn-profile-save {
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.profile-page .btn-profile-save:hover {
  background: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.profile-page .btn-profile-back {
  background: #f5f5f5;
  color: #666;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  margin-left: 0.5rem;
}

.profile-page .btn-profile-back:hover {
  background: #e8e8e8;
}

/* ===== ORDER FILTER TABS & CARDS ===== */
.order-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.order-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  background: #f5f5f5;
  text-decoration: none;
  transition: all 0.15s;
  border: 1.5px solid transparent;
}

.order-tab:hover {
  background: #ebebeb;
  color: #1a1a1a;
}

.order-tab.active {
  background: #1a1a1a;
  color: #fff;
}

.order-tab-badge {
  background: #e53935;
  color: #fff;
  border-radius: 10px;
  font-size: 0.7rem;
  padding: 1px 6px;
  font-weight: 700;
}

.order-card-modern {
  background: #fafafa;
  border: 1.5px solid #f0f0f0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
}

.order-card-modern:hover {
  border-color: #1a1a1a;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
}

.order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.order-status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-grey {
  background: #eee;
  color: #555;
}

.badge-orange {
  background: #fff3e0;
  color: #e65100;
}

.badge-darkorange {
  background: #fbe9e7;
  color: #bf360c;
}

.badge-teal {
  background: #e0f2f1;
  color: #00695c;
}

.badge-green {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-red {
  background: #ffebee;
  color: #c62828;
}

.order-date {
  font-size: 0.78rem;
  color: #aaa;
}

.order-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-code {
  font-size: 0.85rem;
  color: #888;
  font-family: monospace;
}

.order-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
}

/* ===== ORDER STEPPER ===== */
.order-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1rem;
  background: #fafafa;
  border-radius: 14px;
  border: 1.5px solid #f0f0f0;
}

.order-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.order-step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: #e8e8e8;
  color: #bbb;
  transition: all 0.2s;
}

.order-step.done .order-step-circle {
  background: #e8f5e9;
  color: #2e7d32;
}

.order-step.active .order-step-circle {
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.12);
}

.order-step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #bbb;
  text-align: center;
  white-space: nowrap;
}

.order-step.done .order-step-label {
  color: #2e7d32;
}

.order-step.active .order-step-label {
  color: #1a1a1a;
}

.order-step-line {
  flex: 1;
  height: 2px;
  background: #e8e8e8;
  margin: 0 6px;
  margin-bottom: 22px;
  border-radius: 2px;
  transition: background 0.2s;
}

.order-step-line.done {
  background: #a5d6a7;
}

.order-cancelled-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffebee;
  color: #c62828;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

/* ===== ORDER DETAIL PAGE ===== */
.order-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.15s;
  flex-shrink: 0;
}

.order-back-btn:hover {
  background: #e8e8e8;
  color: #1a1a1a;
}

.order-dt-info-card {
  display: flex;
  justify-content: space-between;
  background: #fafafa;
  border: 1.5px solid #f0f0f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.order-dt-info-left {
  flex: 1;
}

.order-dt-info-right {
  text-align: right;
}

.order-dt-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.order-dt-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

.order-dt-total {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
}

.order-paynow-box {
  margin-bottom: 1.25rem;
  text-align: center;
}

.btn-paynow {
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.btn-paynow:hover {
  background: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.btn-paid {
  background: #f5f5f5;
  color: #aaa;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
  cursor: not-allowed;
}

.nav-pending-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e74c3c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  padding: 0 4px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1;
}

.btn-cancel-order {
  display: block;
  width: 100%;
  text-align: center;
  background: #fff;
  color: #c0392b;
  border: 1.5px solid #e74c3c;
  border-radius: 12px;
  padding: 0.65rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-cancel-order:hover {
  background: #fdf0ef;
  color: #a93226;
  text-decoration: none;
}

.order-dt-section {
  margin-bottom: 1.25rem;
}

.order-dt-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-dt-section-body {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.6;
  background: #fafafa;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1.5px solid #f0f0f0;
}

.order-dt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 0;
}

.order-dt-item-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.order-dt-item-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a1a;
}

.order-dt-item-qty {
  font-size: 0.85rem;
  font-weight: 700;
  color: #888;
}

/* ===== END PROFILE PAGE ===== */

/* ===== PRODUCT LIST PAGE ===== */
.product-list-page .w25_2 {
  width: 22%;
  padding-right: 1.5%;
}

.product-list-page .w75 {
  width: 78%;
  padding-left: 0;
}

.product-list-page .w25_2 .card2 {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 0;
  overflow: hidden;
}

.product-list-page .plp-sidebar-header {
  background: linear-gradient(145deg, #1a1a1a 0%, #3a3a3a 100%);
  padding: 1rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-list-page .plp-sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}

.product-list-page .plp-nav-link {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: #555;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}

.product-list-page .plp-nav-link:hover {
  background: #f7f7f7;
  color: #1a1a1a;
  border-left-color: #1a1a1a;
}

.product-list-page .plp-nav-link.active {
  background: #f7f7f7;
  color: #1a1a1a;
  border-left-color: #1a1a1a;
}

.product-list-page .w75 .card2 {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
}

.product-list-page .div_search {
  background: #fafafa;
  border: 1.5px solid #f0f0f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.product-list-page .div_search .form-control {
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.product-list-page .div_search .form-control:focus {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  outline: none;
}

.product-list-page .div_search .btn-dark {
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  padding: 0.55rem 0;
}

.product-list-page .card_w3_2 .card_ {
  border-radius: 16px;
  border: 1.5px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
  padding: 8%;
}

.product-list-page .card_w3_2 .card_:hover {
  border-color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
  transform: translateY(-3px);
}

.product-list-page .card_w3_2 .card_ img {
  border-radius: 10px;
  height: 160px;
  object-fit: cover;
}

.product-list-page .card_w3_2 .card_ .header {
  font-size: 0.88rem;
  color: #1a1a1a;
  margin-top: 1rem;
}

.product-list-page .card_w3_2 .card_ .subhead {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 0.3rem;
}

.product-list-page .card_w3_2 .card_ .subhead2 {
  font-size: 0.78rem;
  color: #bbb;
}

.product-list-page .plp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.product-list-page .plp-breadcrumb a {
  color: #888;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

.product-list-page .plp-breadcrumb a:hover {
  color: #1a1a1a;
}

.product-list-page .plp-breadcrumb .sep {
  color: #ccc;
}

.product-list-page .plp-breadcrumb .current {
  color: #1a1a1a;
  font-weight: 700;
}

/* ===== END PRODUCT LIST PAGE ===== */

.btn-buy-now {
  background-color: #c8953d;
  border-color: #c8953d;
  color: #fff !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.product-status-badge {
  position:absolute; top:12px; left:12px; z-index:2;
  display:inline-flex; align-items:center; padding:.3rem .65rem;
  border-radius:20px; font-size:.7rem; font-weight:700; line-height:1;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.product-detail-status {
  display:inline-flex; align-items:center; padding:.35rem .8rem;
  border-radius:20px; font-size:.76rem; font-weight:700; margin-bottom:.65rem;
}
.product-status-preorder { background:#fff3cd; color:#9a6700; border:1px solid #f0cf76; }
.product-status-out { background:#fde8e7; color:#c0392b; border:1px solid #f2b8b5; }
.plp-cart-btn:disabled { opacity:.4; cursor:not-allowed; }

/* Flash messages are displayed globally with SweetAlert2. */
.statusbar_green,
.statusbar_red { display:none !important; }

.btn-buy-now:hover,
.btn-buy-now:focus {
  background-color: #9f7028;
  border-color: #9f7028;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(89, 59, 18, .28);
}

/* Member pricing in cart and checkout */
.cart-item-prices { display:flex; flex-direction:column; align-items:flex-start; gap:.12rem; margin-top:.25rem; line-height:1.25; }
.cs-item-prices { display:flex; flex-direction:column; align-items:flex-start; gap:.12rem; margin-top:.25rem; line-height:1.25; }
.cart-price-regular,.cs-price-regular,.cs-line-regular,.cart-line-regular,.cart-total-regular,.cs-total-regular { color:#999; text-decoration:line-through; font-weight:400; }
.cart-price-member,.cs-price-member,.cs-line-member,.cart-line-member { color:#1a1a2e; font-weight:700; }
.cs-item-qty-wrap { margin-left:auto; min-width:110px; text-align:right; }
.cs-item-qty-wrap .cs-item-qty { margin-bottom:.28rem; }
.cart-price-regular,.cs-price-regular,.cs-line-regular { font-size:.7rem; }
.cart-price-member,.cs-price-member { font-size:.88rem; }
.cs-line-member { font-size:.82rem; }
.cart-total-prices,.cs-total-prices { display:flex; flex-direction:column; align-items:flex-end; line-height:1.3; }
.cart-total-regular,.cs-total-regular { font-size:.72rem; }
.cs-total-member { font-size:1.15rem; font-weight:700; }
.cart-line-totals { display:flex; width:100%; flex-direction:column; align-items:flex-end; margin-top:.35rem; line-height:1.3; }
.cart-line-regular { font-size:.72rem; }
.cart-line-member { font-size:.82rem; }

/* ===== GLOBAL RESPONSIVE FOUNDATION ===== */
*, *::before, *::after { box-sizing:border-box; }
html, body { max-width:100%; overflow-x:hidden; }
img, video, iframe, canvas, svg { max-width:100%; }
img, video { height:auto; }
iframe { border:0; }
pre, code, .table-responsive { max-width:100%; overflow-x:auto; }
.container, .container-fluid, main, section, article { min-width:0; }
.row > *, [class*="col-"] { min-width:0; }
.form-control, input:not([type="checkbox"]):not([type="radio"]), select, textarea { max-width:100%; }
h1, h2, h3, h4, h5, h6, p, a, td, th, label { overflow-wrap:anywhere; }
.modal .modal-content { width:calc(100% - 24px); max-height:calc(100vh - 24px); overflow-y:auto; }

@media screen and (max-width: 991px) {
  .container { width:100%; max-width:100%; padding-left:16px; padding-right:16px; }
  table { max-width:100%; }
  .cart-page .cart-card,
  .cart-submit-page .cs-card,
  .profile-page .div2_usermenu_card,
  .order-page .order-card-modern { max-width:100%; }
  .product-list-page .plp-breadcrumb,
  .cart-breadcrumb { line-height:1.7; }
}

@media screen and (max-width: 767px) {
  body { font-size:14px; }
  .modal { padding:12px 0; }
  .modal .modal-content { margin:0 auto; width:calc(100% - 24px) !important; max-width:420px !important; }
  .modal .modal-header { padding:.8rem 1rem; }
  .modal .modal-body { padding:1rem !important; }
  .modal .modal-body img { max-width:120px; max-height:120px; }
  .btn, button, input, select, textarea { max-width:100%; }
  table { display:block; width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  table thead, table tbody { white-space:nowrap; }
  .cart-breadcrumb,.plp-breadcrumb { font-size:.78rem !important; gap:5px !important; }
  .cart-page .cart-breadcrumb .sep,
  .cart-submit-page .cart-breadcrumb .sep { margin:0 .2rem; }
  .profile-page .div_usermenu,
  .profile-page .div2_usermenu { float:none !important; width:100% !important; padding:0 !important; }
  .profile-page .div_usermenu { margin-bottom:1rem; }
  .p_w50 { float:none !important; width:100% !important; padding-left:0 !important; padding-right:0 !important; }
  .sub_img_wrapper { max-width:100%; }
  .order-stepper { overflow-x:auto; padding-bottom:.5rem; }
  .modal .modal-title,.modal h6 { overflow-wrap:anywhere; }
  .modal .modal-footer { flex-wrap:wrap; gap:.5rem; }
  .modal .modal-footer .btn { margin:.2rem 0; }
  .contact_w60 table,
  .contact_w40 table { width:100% !important; }
}

@media screen and (max-width: 375px) {
  .container { padding-left:10px; padding-right:10px; }
  .modal .modal-content { width:calc(100% - 16px) !important; }
  .modal-title { font-size:1rem; }
  .product-list-page .plp-breadcrumb,
  .cart-breadcrumb { font-size:.72rem !important; }
}

@media screen and (max-width: 480px) {
  .card_w4,
  .card_w3_2,
  .w50in_mb { float:none; width:100%; }
  .card_w3_2 { padding-left:0; padding-right:0; }
  .product-list-page .card_w3_2 .card_ { height:auto; min-height:250px; }
  .product-list-page .card_w3_2 .card_ img { width:100%; height:auto; max-height:220px; object-fit:contain; }
  .profile-page .profile-sidebar-nav { flex-direction:column; }
  .profile-page .profile-nav-link,
  .profile-page .profile-nav-logout { width:100%; flex:none; }
  .btn { white-space:normal; }
}

/* ===== LOGIN PAGE ===== */
.login-page .login_block {
  padding: 4% 18%;
}

.login-page .login_div {
  display: flex;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  background: #fff;
}

.login-page .login-left {
  flex-shrink: 0;
}

.login-page .img_div_w5 {
  width: 40%;
  float: none;
}

.login-page .img_div_w5 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.login-page .login-brand-panel {
  width: 40%;
  background: linear-gradient(145deg, #1a1a1a 0%, #3a3a3a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  text-align: center;
}

.login-page .login-brand-logo {
  width: 130px;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.login-page .login-brand-tagline {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.login-page .login_div_w5 {
  flex: 1;
  width: auto;
  float: none;
  padding: 3rem 2.5rem;
  text-align: left;
}

.login-page .login-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
  letter-spacing: -0.3px;
}

.login-page .login-form-sub {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 2rem;
}

.login-page .login-error {
  background: #ffebee;
  border: 1.5px solid #ffcdd2;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  color: #c62828;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-page .login-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.35rem;
  display: block;
}

.login-page .form-group {
  margin-bottom: 1.25rem;
}

.login-page .form-control {
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  color: #1a1a1a;
  background: #fafafa;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login-page .form-control:focus {
  border-color: #1a1a1a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  outline: none;
}

.login-page .btn-login-submit {
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.login-page .btn-login-submit:hover {
  background: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.login-page .login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.25rem 0;
  color: #ccc;
  font-size: 0.78rem;
  font-weight: 600;
}

.login-page .login-divider::before,
.login-page .login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ebebeb;
}

.login-page .btn-login-register {
  width: 100%;
  background: #f5f5f5;
  color: #555;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  padding: 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.login-page .btn-login-register:hover {
  background: #ebebeb;
  color: #1a1a1a;
  border-color: #d8d8d8;
}

/* ===== END LOGIN PAGE ===== */

/* ===== END SKIN SCHOOL PAGE ===== */

/* ===== CART PAGE ===== */
.cart-page .cart-breadcrumb,
.cart-submit-page .cart-breadcrumb {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.75rem;
}

.cart-page .cart-breadcrumb a,
.cart-submit-page .cart-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.cart-page .cart-breadcrumb a:hover,
.cart-submit-page .cart-breadcrumb a:hover {
  color: #1a1a1a;
}

.cart-page .cart-breadcrumb .sep,
.cart-submit-page .cart-breadcrumb .sep {
  margin: 0 0.4rem;
  color: #ccc;
}

.cart-page .cart-breadcrumb .current {
  color: #1a1a1a;
  font-weight: 600;
}

.cart-submit-page .cart-breadcrumb .current { color:#1a1a1a; font-weight:700; }

/* --- Left panel --- */
.cart-page .div1_cart {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 1.5rem 2rem;
  border: none;
  float: left;
  width: 63%;
}

.cart-page .div_incart {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0;
  width: 100%;
}

.cart-page .div_incart img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  float: none;
  flex-shrink: 0;
}

.cart-page .div_incart .text_incart {
  flex: 1;
  float: none;
  width: auto;
  padding: 0;
}

.cart-page .cart-item-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.cart-page .cart-item-price {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-page .div_incart .quan {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  float: none;
  width: auto;
  padding: 0;
}

.cart-page .cart-qty-controls {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.75rem;
}

.cart-page .cart-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cart-page .cart-qty-btn:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.cart-page .cart-remove-btn {
  margin-left: 0.5rem;
  color: #c0392b;
  border-color: #f0d5d2;
}

.cart-page .cart-remove-btn:hover {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.plp-cart-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #14213d;
  color: #fff;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
}

.plp-cart-btn:hover {
  background: #223766;
  transform: translateY(-2px);
}

#addCartModalClose {
  float: none;
  align-self: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  opacity: 1;
  text-shadow: none;
  transition: all 0.2s;
}

#addCartModalClose:hover {
  background: #c0392b;
  color: #fff;
}

.cart-page .quan_text {
  font-size: 1rem;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
  float: none;
  padding: 0;
  background: none;
  border: none;
}

.cart-page .cart-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 0;
}

/* --- Empty state --- */
.cart-page .cart-empty {
  text-align: center;
  padding: 3rem 1rem;
}

.cart-page .cart-empty-icon {
  font-size: 3rem;
  color: #ddd;
  margin-bottom: 1rem;
  display: block;
}

.cart-page .cart-empty-text {
  color: #999;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.cart-page .btn-cart-shop {
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.7rem 2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-page .btn-cart-shop:hover {
  background: #333;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* --- Right panel (summary) --- */
.cart-page .div2_cart {
  float: left;
  width: 37%;
  padding: 0 0 0 1.5rem;
}

.cart-page .cart-summary-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 1.5rem;
}

.cart-page .cart-summary-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1.2rem;
  letter-spacing: 0.3px;
}

.cart-page .cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.cart-page .cart-summary-divider {
  border-top: 1px solid #f0f0f0;
  margin: 0.75rem 0;
}

.cart-page .cart-summary-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
}

.cart-page .btn-cart-order {
  display: block;
  width: 100%;
  background: linear-gradient(145deg, #1a1a1a 0%, #3a3a3a 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.4px;
  margin-bottom: 0.75rem;
}

.cart-page .btn-cart-order:hover:not([disabled]) {
  background: linear-gradient(145deg, #333 0%, #555 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.cart-page .btn-cart-order[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-page .btn-cart-continue {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.3rem 0;
}

.cart-page .btn-cart-continue:hover {
  color: #1a1a1a;
  text-decoration: none;
}

/* ===== END CART PAGE ===== */

/* ===== CART SUBMIT PAGE ===== */
.cart-submit-page .cs-left {
  float: left;
  width: 62%;
}

.cart-submit-page .cs-right {
  float: left;
  width: 38%;
  padding-left: 1.5rem;
}

.cart-submit-page .cs-card,
.cart-submit-page .cs-summary-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.cart-submit-page .cs-card-header {
  background: linear-gradient(145deg, #1a1a1a 0%, #3a3a3a 100%);
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.3px;
}

.cart-submit-page .cs-item-count {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 0.1em 0.65em;
  font-size: 0.8rem;
  margin-left: auto;
}

.cart-submit-page .cs-card-body {
  padding: 1.25rem 1.5rem;
}

/* envelope stripe — override dark header for address card */
.cart-submit-page .cs-address-card {
  position: relative;
}

.cart-submit-page .cs-address-card .cs-card-header {
  background: #fff;
  color: #1a1a1a;
  border-bottom: 1px solid #f0f0f0;
  padding-top: 1.35rem;
}

.cart-submit-page .cs-address-card::before {
  content: '';
  display: block;
  height: 7px;
  border-radius: 16px 16px 0 0;
  background-image: repeating-linear-gradient(45deg,
      #c0392b, #c0392b 12px,
      #fff 12px, #fff 22px,
      #2471a3 22px, #2471a3 34px,
      #fff 34px, #fff 44px);
}

.cart-submit-page .cs-address-text {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.cart-submit-page .cs-change-link {
  font-size: 0.82rem;
  color: #888;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1px;
}

.cart-submit-page .cs-change-link:hover {
  color: #1a1a1a;
}

/* items list */
.cart-submit-page .div_incart2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  width: 100%;
}

.cart-submit-page .div_incart2 img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  float: none;
}

.cart-submit-page .cs-item-info {
  flex: 1;
}

.cart-submit-page .cs-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.cart-submit-page .cs-item-sub {
  font-size: 0.82rem;
  color: #888;
  margin-top: 0.2rem;
}

.cart-submit-page .cs-item-qty {
  font-size: 0.88rem;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
}

/* summary card */
.cart-submit-page .cs-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 0.7rem;
}

.cart-submit-page .cs-summary-addr {
  font-size: 0.8rem;
  color: #999;
  text-align: right;
  max-width: 55%;
}

.cart-submit-page .cs-summary-divider {
  border-top: 1px solid #f0f0f0;
  margin: 0.8rem 0;
}

.cart-submit-page .cs-summary-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
}

.cart-submit-page .btn-cs-confirm {
  display: block;
  width: 100%;
  background: linear-gradient(145deg, #1a1a1a 0%, #3a3a3a 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.4px;
  margin-bottom: 0.8rem;
}

.cart-submit-page .btn-cs-confirm:hover {
  background: linear-gradient(145deg, #333 0%, #555 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.cart-submit-page .btn-cs-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.3rem 0;
}

.cart-submit-page .btn-cs-back:hover {
  color: #1a1a1a;
  text-decoration: none;
}

/* ===== END CART SUBMIT PAGE ===== */

/* ===== ADDRESS PAGE ===== */
.address-page .addr-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.address-page .addr-card-header {
  background: linear-gradient(145deg, #1a1a1a 0%, #3a3a3a 100%);
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.3px;
}

.address-page .addr-card-body {
  padding: 0.5rem 1.5rem 1.25rem;
}

.address-page .addr-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.address-page .addr-row-icon {
  font-size: 1.6rem;
  color: #ccc;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.address-page .addr-row-text {
  flex: 1;
}

.address-page .addr-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

.address-page .addr-detail {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 0.2rem;
}

.address-page .addr-tel {
  font-size: 0.82rem;
  color: #999;
}

.address-page .btn-addr-select {
  background: #fff;
  border: 1.5px solid #1a1a1a;
  color: #1a1a1a;
  border-radius: 10px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.address-page .btn-addr-select:hover {
  background: #1a1a1a;
  color: #fff;
}

/* add new address card — envelope stripe */
.address-page .addr-add-card {
  position: relative;
}

.address-page .addr-add-card::before {
  content: '';
  display: block;
  height: 7px;
  background-image: repeating-linear-gradient(45deg,
      #c0392b, #c0392b 12px,
      #fff 12px, #fff 22px,
      #2471a3 22px, #2471a3 34px,
      #fff 34px, #fff 44px);
}

.address-page .addr-add-card .addr-card-header {
  background: #fff;
  color: #1a1a1a;
  border-bottom: 1px solid #f0f0f0;
}

/* form grid */
.address-page .addr-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  padding-top: 0.5rem;
}

.address-page .addr-form-field {
  flex: 1;
  min-width: 140px;
}

.address-page .addr-form-wide {
  flex: 2.5;
  min-width: 220px;
}

.address-page .addr-form-action {
  flex-shrink: 0;
}

.address-page .addr-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #888;
  display: block;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.address-page .btn-addr-add {
  background: linear-gradient(145deg, #1a1a1a 0%, #3a3a3a 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.address-page .btn-addr-add:hover {
  background: linear-gradient(145deg, #333 0%, #555 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* ===== END ADDRESS PAGE ===== */

/* ===== MOBILE CART BUTTON ===== */
.mobile-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #343a40;
  border-radius: 8px;
  color: white;
  padding: 0.45em 0.55em;
  text-decoration: none;
  position: relative;
  line-height: 1;
}

.mobile-cart-btn i {
  color: white;
}

.mobile-cart-btn:hover,
.mobile-cart-btn:focus {
  color: white;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.mobile-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  font-size: 0.62em;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* ===== END MOBILE CART BUTTON ===== */

@media screen and (min-width:320px) and (max-width:1024px) {

  .pc {
    display: none;
  }

  .mb {
    display: block;
  }

  .image-upload img {
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
    height: auto;
  }

  .w40 {
    width: 100%;
  }

  .w30 {
    width: 100%;
  }

  .w20 {
    width: 100%;
  }

  .w25 {
    width: 100%;
  }

  .w70 {
    width: 100%;
  }

  .w50 {
    width: 100%;
  }

  .nav1 {
    padding: 0 1%;
  }

  .nav1 li a {
    font-size: 1em;
  }

  .nav1 li i {
    font-size: 1em;
  }

  .nav_logo img {
    width: 50%;
  }

  .nav2 {
    padding: 1.5% 1%;
  }

  .nav2 a {
    font-size: 0.5em;
  }

  .container {
    width: 100%;
  }

  .div {
    padding: 1%;
    font-size: 1em;
  }

  .w33 {
    width: 100%;
  }

  .w33_div_text span {
    font-size: 0.5em;
  }

  .w33_div_text {
    margin-top: 0%;
  }

  .w16 {
    width: 50%;
  }

  .div2 {
    padding: 1%;
    font-size: 1em;
  }

  .div2 h1 {
    font-size: 2em;
  }

  .card {
    min-height: 260px;
  }

  .card_w4 {
    width: 50%;
    margin: 1% 0;
  }

  .card_ img {
    height: 160px;
  }

  .card_ .header {
    margin-top: 1em;
    font-size: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .card_ .subhead {
    font-size: 1em;
  }

  .card_ .subhead2 {
    font-size: 1em;
  }

  .footer {
    padding: 10% 5%;
    background: rgb(37, 97, 209);
    background: linear-gradient(180deg, rgba(37, 97, 209, 0.5) 0%, rgba(37, 97, 209, 1) 50%, rgba(18, 85, 190, 1) 100%);
  }

  .footer .w40 {
    width: 100%;
  }

  .footer .w40 h6 {
    font-size: 1em;
  }

  .footer .w40 span {
    font-size: 1em;
  }

  .footer .w20 {
    width: 100%;
  }

  .footer .w20 h6 {
    font-size: 1em;
    margin: 2% 0;
  }

  .footer .w20 span {
    font-size: 1em;
    margin: 1% 0;
  }

  .footer .w20 a {
    font-size: 1em;
    margin: 1% 0;
  }

  .footer .div70 {
    width: 100%;
  }

  .footer .div70 input {
    font-size: 1em;
    margin: 1% 0;
  }

  .footer .div30 {
    width: 100%;
  }

  .footer i {
    font-size: 2em;
    padding: 0 0.1em;
  }

  .div_vdo h1 {
    font-size: 2em;
  }

  .div_vdo {
    font-size: 1em;
    padding: 1% 5%;
  }

  .div_vdo .btn {
    width: 95%;
    font-size: 1em;
  }

  .div2 .btn {
    width: 90%;
    font-size: 1em;
  }

  .w25_2 {
    width: 100%;
    padding: 0 1%;
    margin-bottom: 0.75em;
  }

  .w75 {
    width: 100%;
    padding: 0 1%;
  }

  .card_w3 {
    width: 100%;

  }

  .card_w3_2 {
    width: 50%;
    padding: 1%;
    margin-bottom: 0.5%;
  }

  .card_w3 img {
    height: 250px;
  }

  .card_w3_2 img {
    height: 150px;
  }

  .card_w3 .header {
    margin-top: 1em;
    font-size: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;

  }

  .card_w3 .subhead {
    font-size: 1em;
  }

  .card_w3 .subhead2 {
    font-size: 1em;
  }

  .login_block {
    padding: 5% 5%;
  }

  .login_block input {
    font-size: 1em;
    margin: 1% 0;
  }

  .login_block a {
    font-size: 1em;
  }

  .login_div_w5 {
    width: 100%;
  }

  .login_div img {
    display: none;
  }

  .p_w50 {
    width: 100%;
    padding: 5%;
  }

  .p_w50 img {
    padding: 5%;
  }

  .w25_2 .card2 {
    padding: 4% 5%;
  }

  .review1 {
    width: 100%;
  }

  .review2 {
    width: 50%;
  }

  .p_detail h5 {
    margin-bottom: 0.2em;
  }

  .KEYINGREDIENTS {
    width: 100%;
    padding: 5%;
  }

  .stepuse {
    width: 100%;

    padding: 5%;
  }

  .ResultLab {
    width: 100%;

    padding: 5%;
  }

  .ResultLabpic {
    width: 100%;

    padding: 5%;
  }

  .contact_w60 {
    width: 100%;

  }

  .contact_w40 {
    width: 100%;

  }

  .likePIC i {
    font-size: 20px;
  }

  .likePIC {
    right: 0px;
    bottom: 0px;
  }

  .Home_headcatagory {
    width: 90%;
  }

  .divttc {
    float: left;
    padding: 1% 3% 1% 3%;
    margin-bottom: 0.5em;
  }

  .div_skinschool1 {
    padding: 0 1%;
  }

  .card_in {
    min-height: 100px;
  }

  .div_skinschool1 .card_w3 {
    width: 100%;
    margin-bottom: 0.75em;
  }

  .w50in_mb {
    width: 50%;
    float: left;
    padding: 2% 3%;
  }

  .card_skinschool1 {
    min-height: 160px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 1.2em;
    padding: 3% 2%;
  }

  .w50in_mb img {
    width: 100%;
    border-radius: 0.8em;
    height: 150px;
    object-fit: cover;
  }

  .header_in {
    margin-top: 0.2em;
  }

  .profile-page .div_usermenu,
  .profile-page .div2_usermenu {
    width: 100%;
    float: none;
    padding: 0;
    margin-bottom: 1rem;
  }

  .profile-page .profile-sidebar-nav {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
  }

  .profile-page .profile-nav-link {
    flex: 1;
    justify-content: center;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .profile-page .profile-nav-link.active,
  .profile-page .profile-nav-link:hover {
    border-left: none;
    border-bottom-color: #1a1a1a;
  }

  .profile-page .profile-nav-logout {
    flex: 1;
    justify-content: center;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .profile-page .profile-nav-logout:hover {
    border-left: none;
    border-bottom-color: #e53935;
  }

  .profile-page .div2_usermenu_card {
    padding: 1.5rem;
  }

  .product-list-page .w25_2 {
    width: 100%;
    padding-right: 0;
    margin-bottom: 0.75rem;
  }

  .product-list-page .w75 {
    width: 100%;
    padding-left: 0;
  }

  .product-list-page .w25_2 .card2 {
    border-radius: 12px;
  }

  .product-list-page .w75 .card2 {
    border-radius: 12px;
    padding: 1rem;
  }

  .product-list-page .div_search {
    padding: 0.75rem;
  }

  .product-list-page .card_w3_2 .card_ {
    height: 250px;
  }

  .product-list-page .card_w3_2 .card_ img {
    height: 140px;
  }

  .login-page .login_block {
    padding: 5% 4%;
  }

  .login-page .login_div {
    flex-direction: column;
    border-radius: 16px;
  }

  .login-page .img_div_w5,
  .login-page .login-brand-panel {
    width: 100%;
    min-height: 180px;
  }

  .login-page .img_div_w5 img {
    height: 180px;
  }

  .login-page .login-brand-logo {
    width: 100px;
    margin-bottom: 1rem;
  }

  .login-page .login_div_w5 {
    padding: 1.75rem 1.5rem;
  }

  .login-page .login-form-title {
    font-size: 1.25rem;
  }

  .skinschool-page .ss-filter-area {
    gap: 6px;
    margin-bottom: 1rem;
  }

  .btn-ss-more {
    padding: 0.65rem 2rem;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  /* ---- CART PAGE ---- */
  .cart-page .div1_cart {
    width: 100%;
    float: none;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
  }

  .cart-page .div2_cart {
    width: 100%;
    float: none;
    padding-left: 0;
  }

  .cart-page .div_incart img {
    width: 68px;
    height: 68px;
  }

  .cart-page .cart-item-name {
    font-size: 0.88rem;
  }

  /* ---- CART SUBMIT PAGE ---- */
  .cart-submit-page .cs-left,
  .cart-submit-page .cs-right {
    width: 100%;
    float: none;
    padding-left: 0;
  }

  .cart-submit-page .cs-left {
    margin-bottom: 1rem;
  }

  .cart-submit-page .div_incart2 img {
    width: 52px;
    height: 52px;
  }

  /* ---- ADDRESS PAGE ---- */
  .address-page .addr-form-grid {
    flex-direction: column;
    gap: 0.6rem;
  }

  .address-page .addr-form-field,
  .address-page .addr-form-wide,
  .address-page .addr-form-action {
    flex: none;
    width: 100%;
  }

  .address-page .btn-addr-add {
    width: 100%;
  }

  .address-page .addr-row-icon {
    display: none;
  }

  /* ---- YOUR ORDER PAGE ---- */
  .order-filter-tabs {
    gap: 4px;
  }

  .order-tab {
    font-size: 0.75rem;
    padding: 0.45rem 0.7rem;
  }

  .order-card-modern {
    padding: 0.9rem 1rem;
  }



}

@media only screen and (min-width : 1599px) {

  /* Styles */
  .card_ img {
    height: 250px;
  }

  .card_ {
  height: 390px;

}

  .card_w3 img {
    height: 250px;
  }

  .card_w3_2 img {
    height: 250px;
  }

  .card_w3 {
    width: 33%;
    padding: 1%;
    float: left;
    
  }

  .likePIC {

    right: 30px;
    bottom: 30px;
  }

  .card_in {
    min-height: 400px;
  }

  .card_in .header {
    padding: 1% 2%;
  }

  .div_skinschool1 .card_w3 {

    padding: 1%;
    float: left;
  }

  .div_skinschool1 .card_w3 .card_ {
    min-height: 683px;

  }

  .div_skinschool1 .card_w3 .card_ img {
    height: 440px;

  }

  .card_skinschool1 {
    min-height: 564px;
    border-radius: 3em;
  }

  .w50in_mb img {
    width: 100%;
    border-radius: 1em;
    height: 300px;
    object-fit: cover;
  }

  .header_in {
    margin-top: 1em;
    font-size: 1.8em;
  }

  /* skinschool overrides at large screen */
  .skinschool-page .div_skinschool1 .card_w3 {
    float: none;
  }

  .skinschool-page .card_skinschool1 {
    min-height: unset;
    border-radius: 20px;
  }

  .skinschool-page .card_skinschool1 .w50in_mb:first-child img {
    height: 240px;
    border-radius: 0 !important;
  }

  .skinschool-page .header_in {
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }

  .skinschool-page .card_in {
    min-height: unset;
  }

  .skinschool-page .card_in img {
    height: 180px;
    border-radius: 0;
  }

  .product-list-page .card_w3_2 .card_ {
    height: 340px;
  }

  .product-list-page .card_w3_2 .card_ img {
    height: 210px;
  }
}

/* Final narrow-screen overrides must remain after the legacy breakpoint rules. */
@media screen and (max-width: 480px) {
  .card_w4,
  .card_w3_2,
  .w50in_mb { float:none; width:100%; }
  .card_w3_2 { padding-left:0; padding-right:0; }
  .product-list-page .card_w3_2 .card_ { height:auto; min-height:250px; }
  .product-list-page .card_w3_2 .card_ img { width:100%; height:auto; max-height:220px; object-fit:contain; }
  .profile-page .profile-sidebar-nav { flex-direction:column; }
  .profile-page .profile-nav-link,
  .profile-page .profile-nav-logout { width:100%; flex:none; }
}
