.lg-none {
  display: none;
}

.sm-none {
  display: block;
}


/*=================my account===================*/
section.profile_page {
  padding: 3rem 0;
}

.profile_container {
  display: flex;
  width: 1400px;
  margin: 0px auto;
  padding-bottom: 20px;
  align-items: self-start;
}

.profile_sidebar {
  width: 25%;
}

.profile_sidebar .acc_tab {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin: 12px 0;
  cursor: pointer;
  color: #333;
  gap: 20px;
  padding-left: 20px;
  border-radius: 6px;
}

.profile_sidebar .acc_tab:hover {
  color: #009688;
}

.profile_sidebar .profile_user {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #CDCDCD;
  padding-bottom: 20px;
}

.profile_sidebar .profile_user span {
  background: #730d18;
  color: white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-weight: 500;
  font-size: 16px;
  color: #F9B170;
  text-transform: uppercase;
}

.profile_content {
  width: 75%;
  padding: 1px 0px 0px 55px;
  box-sizing: border-box;
}

.profile_content h2 {
  margin-bottom: 30px;
  text-align: center;
  line-height: 36px;
  font-size: 42px;
}

.profile_field_group {
  margin-bottom: 20px;
}

.account_row {
  display: flex;
  gap: 20px;
}

.profile_field_group input {
  padding: 10px 10px;
  border: 1px solid #236255;
  border-radius: 10px;
  font-size: 14px;
  line-height: 35px;
  width: 100%;
}

.profile_field_group .profile_inline {
  display: flex;
  gap: 20px;
}

.profile_field_group {
  font-size: 12px;
  color: #1b7f79;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 5px;
  display: inline-block;
}

.profile_change {
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  color: #730D18;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 7px;
  display: block;
  text-align: right;
}

.profile_checkbox {
  display: flex;
  align-items: baseline;
}

.profile_checkbox input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #730D18;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  cursor: pointer;
}

.profile_checkbox input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 9px;
  height: 9px;
  background: #730D18;
  ;
  border-radius: 50%;
}

.profile_proceed_btn {
  padding: 14px 50px;
  background: #1E1E1E;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0%;
  text-align: center;
  display: inline-block;
  min-width: 200px;
}

/* Modal Popup */
.profile_modal_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9999;
}

.profile_modal_overlay.active {
  opacity: 1;
  visibility: visible;
}

.profile_modal {
  background: white;
  border-radius: 12px;
  padding: 50px 30px;
  width: 40%;
  max-width: 90%;
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.profile_modal_overlay.active .profile_modal {
  transform: scale(1);
  opacity: 1;
}

.profile_modal h3 {
  text-align: center;
  font-family: "Erode", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 33px;
  padding-bottom: 3px;
}

.profile_modal_close {
  position: absolute;
  right: 15px;
  top: 20px;
  cursor: pointer;
  font-size: 18px;
  color: #000000;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 30px;
}

.checkout_ph.modal-rows input {
  margin-bottom: 0;
}

section.profile_page .checkout_ph.modal-rows {
  margin-bottom: 35px;
}

section.profile_page .profile_modal .checkout_ph {
  margin-bottom: 20px;
}

.profile_modal input {
  width: 100%;
  padding: 10px;
  border: 1px solid #5e968f;
  border-radius: 5px;
  margin-bottom: 20px;
}

section.profile_page .profile_modal input {
  margin-bottom: 0px;
}

.profile_modal button {
  display: block;
  margin: 0 auto;
  padding: 13px 20px;
  background: #1E1E1E;
  color: #ffffff;
  min-width: 170px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
}

.profile_modal p {
  text-align: center;
  padding: 4px 0px 15px 0px;
}

.profile_btm {
  padding-bottom: 10px;
}

.profile_tab_content {
  display: none;
}

.profile_tab_content.active {
  display: block;
}

.profile_user p {
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
}

.acc_tab h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 17px;
  line-height: 41px;
  color: #1E1E1E;
}

.acc_tab img {
  width: 25px;
}

.acc_tab:hover {
  background-color: #f0eae5;
}

.profile_content label {
  padding-bottom: 10px;
}

.profile_content .account_group {
  padding-bottom: 20px;
}

.center {
  text-align: center;
}

button.profile_proceed_btn:hover {
  background: #730D18;
  color: #ffffff;
  transition: background 0.3s ease-in-out;
}

input::placeholder,
textarea::placeholder {
  color: #7C7C7C;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
  vertical-align: middle;
}

/*=================address detail===================*/
.add-new {
  text-align: right;
  margin-bottom: 20px;
}

.add-new a {
  color: #00795c;
  text-decoration: none;
  font-weight: bold;
}

.address-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.address-card {
  border: 1px solid #9A9A9A;
  border-radius: 8px;
  padding: 20px;
  width: 49%;
  position: relative;
  background: #F7F7F7;

}

.address-card.selected {
  border: 2px solid #730d18 !important;
}

.address-actions img {
  width: 15px;
  padding-right: 5px;
}


.address-card.default {
  border: 1px solid #9A9A9A;
}

.address-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.address-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  border-bottom: solid 3px #730d18;
}

.profile_wishlist ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1%;
}

.profile_wishlist ul li {
  width: 24%;
}

.center_explore {
  text-align: center;
  padding-top: 40px;
}

.address-details p {
  margin: 5px 0;
  font-size: 16px;
}

.address-actions {
  margin-top: 15px;
  padding-top: 10px;
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}

.address-actions button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  font-size: 14px;
  font-size: 15px;
  font-weight: 500;
  color: #00795c;
  gap: 10px;
}

.address-actions button:hover {
  color: #730D18;
}

.address-header-row a {
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  color: #730D18;
  text-decoration: underline;
  cursor: pointer;
  margin-top: -44px;
  display: block;
  text-align: right;
  padding-bottom: 25px;
}

.address-details a {
  color: #000;
  margin-top: 10px;
  display: inline-block;
}

.profile_modal_overlay.new_addres form {
  max-height: 400px;
  overflow: auto;
  padding-right: 15px;
}

/*=================order history===================*/
.order_container.border {
  border: 1px solid #73b8aa;
}

.order_container {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin: auto;
}

.order_header h3 {
  color: #000000;
  font-weight: 600;
  font-size: 20px;
}

.order_header p {
  color: #95aaa5;
  font-weight: 500;
  font-size: 19px;
  line-height: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #73b8aa;
}

.order_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #73b8aa;
  padding-bottom: 10px;
}

.order_date {
  text-align: left;
  color: #236255;
  min-width: 7%;
  border-right: 1px solid #73b8aa;
}

.order_value {
  width: 90%;
  margin: 0 auto;
}

.order_info_num {
  width: 80%;
}

.order_date strong {
  display: block;
  font-size: 18px;
}

.order_info {
  flex: 1;
}

.order_info strong {
  font-weight: bold;
}

.item_price p {
  color: #000;
  font-family: "GeneralSans-Variable", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
}

.checkout_product-price span {
  color: #95aaa5;
}

span.checkout_product-price-current {
  color: #000;
}

.order_items {
  color: #95aaa5;
  font-size: 14px;
  font-weight: 500;
  font-size: 18px;
  line-height: 34px;
  text-align: center;
  padding-top: 30px;
}

.order_info_num h3 {
  line-height: 30px;
}

.order_arrow {
  font-size: 20px;
  color: #255a52;
}

.order_progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 20px 0;
}

.order_progress::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: #eee;
  z-index: 1;
  transform: translateY(-50%);
}

.order_status-tracker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0px 10px 0px;
  gap: 20px;
  border-bottom: 1px solid #73b8aa;
  padding-bottom: 15px;
}

.order_status p {
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  color: #95aaa5;
}

.order_status-tracker-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  gap: 20px;
  padding-bottom: 15px;
}

.order_step {
  text-align: center;
  flex: 1;
}

.order_line {
  height: 4px;
  background-color: #f0f0f0;
  border-radius: 2px;
  margin-bottom: 6px;
}

.order_step span {
  color: #95aaa5;
  font-size: 14px;
  font-weight: 500;
  font-size: 18px;
  line-height: 34px;
  text-align: center;
}

.order_active .order_line {
  background-color: #97c200;
}

.order_active span {
  color: #1b4c48;
}

.order_status h3 {
  font-weight: 600;
  font-size: 27px;
  line-height: 40px;
  padding-top: 20px;
}

.order_products {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.order_product_card {
  width: 100px;
  position: relative;
  background-color: #f2f2f2;
  width: 130px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.order_product_card img {
  width: 100%;
  border-radius: 6px;
}

.order_quantity {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #e97228;
  color: white;
  border-radius: 3px 0px 3px 0px;
  padding: 2px 5px;
  font-size: 12px;
}

.order_delivery_estimate {
  color: #95aaa5;
  font-size: 14px;
  border-top: 1px solid #73b8aa;
  padding-top: 10px;
  margin-top: 10px;
}

.order_product_card img {
  width: 60%;
}



.order_item {
  display: flex;
  padding: 10px;
  margin-bottom: 10px;
}

.item_details {
  flex-grow: 1;
  padding-left: 20px;
}

.order_list_items {
  border: 1px solid #73b8aa;
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
}

.order_items h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 40px;
  text-align: left;
  color: #000;
}

.item_price {
  text-align: right;
}

.item_price .old_price {
  text-decoration: line-through;
  font-size: 12px;
  color: #888;
}

.order_info {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  flex-direction: column;
}

.order_summary {
  margin-top: 30px;
  border: 1px solid #73b8aa;
  padding: 15px;
  width: 60%;
  margin-left: 20px;
  border-radius: 12px;
}

.order_summary p {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

.discount {
  color: #e53935;
}

.tax_included {
  text-align: right;
  color: #4caf50;
  font-size: 12px;
}

.order_summary-row {
  display: flex;
  align-items: self-start;
}

.contact_info {
  display: flex;
  gap: 15px;
  align-items: baseline;
}

.shipping_address {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 15px;
}

.contact_txt {
  padding-bottom: 15px;
}

.order_info img {
  width: 25px;
}

.contact_mobile img {
  width: 15px;
}

.order_info h3 {
  font-weight: 500;
  font-size: 18px;
  line-height: 33px;
}

.order_info p {
  text-align: left;
  font-size: 17px;
  line-height: 26px;
}

.order_header h3 img {
  padding-left: 10px;
  cursor: pointer;
}

.order_list_items .order_item {
  border-bottom: 1px solid #73b8aa;
  padding-bottom: 20px;
}

.order_list_items .order_item:last-child {
  border-bottom: none;
  padding-bottom: 0px;
}

.order_item_details {
  padding-left: 20px;
  width: 80%;
}

.order_item_details .item_price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.order_item_details .item_price .item_price p {
  color: #000;
}

.order_inr h4 {
  font-weight: 500;
  font-size: 19px;
  line-height: 28px;
  color: #95aaa5;
}

.order_container.border .order_info {
  margin: 0;
}

.order_container.border .order_status-tracker {
  border: none;
}

.order_top h3 {
  color: #000000;
  font-weight: 600;
  font-size: 20px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2.4px;
  background: #236255;
  position: relative;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2.4px;
  background: #236255;
  transition: all 0.3s ease-in-out;
  left: 0;
  border-radius: 3px;


}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(8px);
}


button.address-remove {
  color: #CE3539;
}

.checkout_row {
  display: flex;
  gap: 20px;
}

.account_group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.account_input {
  padding: 10px 10px;
  border: 1px solid #9A9A9A;
  border-radius: 10px;
  font-size: 14px;
  line-height: 35px;
  width: 100%;
  background: #EDEDED;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  padding-left: 20px;
}

.account_input:focus {
  outline: #730d18;
  border-color: #730d18;
}

.acc_tab.active {
  background-color: #FFE2C8;
}

/* Custom  select Styles */
.custom_dropdown {
  position: relative;
}

.custom_dropdown-toggle {
  border: 1px solid #9a9a9a;
  border-radius: 10px;
  padding: 14px 45px 14px 15px;
  background: #EDEDED;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  color: #95aaa5;
  position: relative;
}

.custom_dropdown-toggle img {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: auto;
  pointer-events: none;
}

.custom_dropdown-menu {
  position: absolute;
  top: 90%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #000000;
  border-radius: 10px;
  background-color: white;
  display: none;
  z-index: 1000;
  margin-top: 4px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}


/* Chrome, Safari, Opera */
.custom_dropdown-menu::-webkit-scrollbar {
  display: none;
}


.custom_dropdown.open .custom_dropdown-menu {
  display: block;
}

.custom_dropdown-item {
  padding: 5px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.custom_dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.custom_dropdown-menu::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.custom_dropdown-item:hover {
  background-color: #730d18;
  color: #fff;
}

.custom_dropdown-toggle {
  color: gray;
}

.custom_dropdown-toggle.selected {
  color: black;
}

.error-sect {
  padding-bottom: 40px;
}

/*new*/

.default_toggle_wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.default_label {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: #730D18;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
}

/* Hide checkbox */
.default_input {
  opacity: 0;
  width: 0;
  height: 0;
}

.default_slider {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: #9A9A9A;
  border-radius: 20px;
  margin-left: 10px;
  border: 0.5px solid #575354;
  transition: background-color 0.3s ease;
}

.default_slider::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  top: 3px;
  background-color: #6b1d1d;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.default_input:checked+.default_slider {
  background-color: #ffdfc9;
  border: 0.5px solid #730D18;
}

.default_input:checked+.default_slider::before {
  transform: translateX(20px);
  background-color: #6b1d1d;
  /* dark red tone */
}

.account_radio {
  width: 100%;
}

.default_toggle_address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Hide checkbox */
.default_input {
  opacity: 0;
  width: 0;
  height: 0;
}

.default_toggle_address .default_slider {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 20px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.default_toggle_address .default_slider::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  top: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.default_toggle_address .default_input:checked+.default_slider {
  background-color: #fcd9c6;
}

.default_toggle_address .default_input:checked+.default_slider::before {
  transform: translateX(20px);
  background-color: #6b1d1d;
}

.profile_side_box_one {
  background: #FFF4F5;
  padding: 20px 20px 20px 15px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 0.7px solid #730D18;
  margin-bottom: 20px;
}

.profile_side_box_two {
  background: #FFF4F5;
  padding: 20px 20px 20px 15px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 0.7px solid #730D18;
}

.profile_empty_wishlist {
  text-align: center;
}

.profile_empty_wishlist img {
  padding: 15px 0 30px 0;

}

.profile_empty_wishlist h3 {
  font-family: "Erode", sans-serif;
  font-weight: 600;
  font-size: 30px;
  padding-bottom: 10px;
}



.account_group.btms {
  padding-bottom: 0;
}



/*--rewards--*/
.rewards_card_section {
  display: flex;
  justify-content: center;
  background: #fff;
}

.rewards_card_container {
  display: flex;
  gap: 22px;
  width: 100%;
  background: #FFF4F5;
  border: 1px solid #730D18;
  border-radius: 16px;
  padding: 25px 20px;

}

.rewards_card_left {
  border-radius: 14px;
  width: 50%;
}

.rewards_card_leftTop {
  background: #FFE2C8;
  padding: 16px 18px;
  border-radius: 15px 15px 0px 0px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start
}

.rewards_card_leftTop h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  color: #1E1E1E;

}

.rewards_card_points {
  font-family: "Erode", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #1E1E1E;
  letter-spacing: .2px
}

.rewards_card_points span {
  margin-left: 3px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  color: #1E1E1E;
}



.rewards_card_leftBottom {
  background: linear-gradient(263.96deg, #730D18 42.9%, #4A0910 96.26%);
  color: #fff;
  padding: 16px 18px;
  border-radius: 0px 0px 15px 15px;
}

.rewards_card_tierTitle {
  font-weight: 500;
  margin-bottom: 25px;
  font-size: 20px;
}

.left-2 {
  margin-left: 10px;
}

.right-2 {
  margin-right: 10px;
}

/* ---- PROGRESS (updated to match design) ---- */
.rewards_card_progress {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #daa39b;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
  overflow: visible;
}

.rewards_card_progressfill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: #FFE2C8;
  border-radius: 999px;
  transform: translateZ(0);
  will-change: width;
}

.rewards_card_marks {
  position: absolute;
  left: 0;
  right: 0;
  top: 110%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none
}

.rewards_card_dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #ffe9e1;
  display: grid;
  place-items: center;
  border: 2px solid #730D18;
  translate: 0 -8px;
  font-size: 12px;
  font-weight: 800
}

.rewards_card_dot img {
  width: 20px;
}

.rewards_card_legend {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11px;
}

.rewards_card_note {
  margin-top: 25px;
  font-size: 13px;
  color: #fff;
}

.rewards_card_right {
  padding-left: 22px;
  border-left: 1px solid #730D18;
  width: 50%;
}

.rewards_card_right h3 {
  margin: 2px 0 12px;
  font-size: 23px;
  text-align: left;
}

.rewards_card_swiper {
  width: 100%;
}

.rewards_card_slide_item ul {
  list-style: none;
  margin: 0;
  padding: 9px 0px;
}

.rewards_card_slide_item li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: #1E1E1E;

}

.rewards_card_bullet {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 0.8px solid #730D18;
  font-size: 13px
}

.rewards_card_bullet img {
  width: 20px;
}

.rewards_card_pagination {
  position: static;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  padding-bottom: 25px;
}

.rewards_card_pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin: 0 4px;
  opacity: 1;
  border: 1px solid #7a6865;
  transition: transform .25s ease, background .25s ease
}

.rewards_card_pagination .swiper-pagination-bullet-active {
  background: #730D18;
  transform: scale(1.15)
}

.rewards_card_tiers {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px
}

.rewards_card_tier span {
  font-weight: 700
}

.rewards_card_legend span {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 12px;
}

span.f-500 {
  font-weight: 600;
}

span.f-400 {
  font-weight: 400;
}



/*--table--*/
.profile_table {
  background: #fff;
  border: 1px solid #9A9A9A;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 3rem;
  max-width: 100%;
}

.profile_table h3 {
  text-align: center;
  font-size: 25px;
  background: #ffffff;
  margin: 0;
  padding: 25px;
  border-bottom: 1px solid #9A9A9A;
}



.profile_table table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 600px;
}

.profile_table th {
  background: #FFE2C8;
  font-size: 14px;
  padding: 10px;
  color: #730D18;

}

.profile_table td {
  padding: 10px;
  font-size: 16px;
  border-top: 1px solid #9A9A9A;
  white-space: nowrap;
  color: #1E1E1E;
  font-weight: 400;
}

.profile_table td:nth-child(3) {
  font-weight: 500;
}

.profile_table td .plus {
  color: #0E8756;
  font-weight: 500;

}

.profile_table td .minus {
  color: #172B85;
  font-weight: 500;

}


/*--wallet---*/
.wallet_balance {
  background-image: url(../images/wallet.png);
  background-repeat: no-repeat;
  min-height: 200px;
  padding: 25px;
  background-size: 100%;
}

.wallet_balance h3 {
  color: #FFFFFF;
  text-align: left;
  font-weight: 500;
  padding-bottom: 10px;
}

.blance_wallet {
  font-family: "Erode", sans-serif;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  font-size: 53px;
  font-weight: 600;
}

.wallet_balance img {
  width: 45px;
}


.wallet_benefit_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  width: 100%;
}

.wallet_benefit_card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFF4F5;
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.3s ease;
  border: 1px solid #730D18;
  flex-wrap: wrap;
  align-items: center;
}

.wallet_benefit_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wallet_benefit_icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #FFE2C8;
  display: grid;
  place-items: center;
}

.wallet_benefit_icon img {
  width: 30px;
}

.wallet_benefit_content h3 {
  font-size: 22px;
  margin: 2px 0 6px;
  text-align: left;
  font-weight: 600;
}

.wallet_benefit_content p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: var(--wb-muted);
}



.profile_table th img {
  width: 14px;
}

.btn-blue {
  color: #172B85;
  border: 1px solid #172B85;
  display: inline-block;
  padding: 4px 15px;
  border-radius: 20px;
  font-size: 14px;
  min-width: 100px;
}

.btn-red {
  color: #0E8756;
  border: 1px solid #0E8756;
  display: inline-block;
  padding: 4px 15px;
  border-radius: 20px;
  font-size: 14px;
  min-width: 100px;
}

.btn-green {
  color: #CE3539;
  border: 1px solid #CE3539;
  display: inline-block;
  padding: 4px 15px;
  min-width: 100px;
  border-radius: 20px;
  font-size: 14px;
}

.profile_table table tr:hover {
  background-color: #fbf0f1;
  cursor: pointer;
}

.rewards_card_slide_item ul li:hover .rewards_card_bullet {
  background-color: #ffe2c8;
}

.myorder_arrow img {
  width: 9px;
}

/* Tabs */
.myorder_tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
}

.myorder_tab {
  border: 1px solid #730d18;
  background: #FFF4F5;
  color: #232322;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s ease;
}

.myorder_tab:hover {
  border-color: #000000;
}

.myorder_tab.active {
  background: #730d18;
  color: #fff;
  border-color: #730d18;
}

/* Tab Content Wrapper */
.myorder_content {
  width: 100%;
}

.myorder_section {
  display: none;
}

.myorder_section.active {
  display: block;
}

/* Orders list */
.myorder_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Order Card */
.myorder_card {
  border: 1px solid #9A9A9A;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .25s ease;
}

.myorder_card:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06)
}

.myorder_date {
  font-size: 13px;
  color: #7C7C7C;
  font-weight: 400;
  padding-bottom: 5px;
  text-align: left;
}

/* main row */
.myorder_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.myorder_info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.myorder_imgbox {
  width: 100px;
  height: 90px;
  border-radius: 10px;
  background: #f8f4f4;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.myorder_imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.myorder_text {
  flex: 1;
}

.myorder_text p {
  margin: 2px 0;
  font-size: 14px;
  text-align: left;
  font-weight: 500;
}

.myorder_text p:first-child {
  color: #730D18;
  font-weight: 600;
}

.myorder_text p:last-child {
  color: #1E1E1E;
  font-size: 13px;
}

.myorder_price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 6px;
}

.price_amount {
  color: #730D18;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  display: block;
}

.price_amount img {
  width: 17px;
}

.myorder_more {
  display: inline-block;
  font-size: 11px;
  color: #0E8756;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  border: solid 1px #0E8756;
}

.account-tel-code {
  display: flex;
  padding: 10px 10px;
  border: 1px solid #9A9A9A;
  border-radius: 10px;
  font-size: 14px;
  line-height: 35px;
  width: 100%;
  background: #ededed;
}

.account-tel-code input {
  border: none;
  padding: 0;
}

.account-tel-code input.account_input.phone-code {
  width: 45px !important;
  margin-right: 0;
}

.myorder_arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0px 4px 20.9px 0px #00000040;
  background: #fff;
  flex-shrink: 0;
  transition: all .25s ease;
  margin-top: 15px !important;
  cursor: pointer;
}

.myorder_arrow:hover {
  background: #fff4f5;
  color: #fff;
}

/* Delivered message */
.myorder_message {
  text-align: center;
  font-size: 14px;
  padding: 30px 10px;
}


/*--order details-----*/
.order_detail_back {
  display: inline-block;
  background: #EDEDED;
  color: #730D18;
  font-weight: 600;
  border: none;
  padding: 6px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.order_detail_back:hover {
  background: #730d18;
  color: #fff;
}

.order_detail_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
  flex-wrap: wrap;
}

.order_detail_status {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000000;
}

.order_detail_status_text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #0E8756;
  background: #EDEDED;
  font-weight: 600;
  border: none;
  padding: 7px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.order_detail_status_dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0E8756;
}

.order_detail_delivery {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000000;
}

.order_detail_delivery span {
  font-weight: 400;
}

.order_detail_list {
  border: 1px solid #9A9A9A;
  border-radius: 10px;
  padding: 12px 0;
  background: #fff;
}

.order_detail_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0px;
  border-bottom: 1px solid #9A9A9A;
  margin: 0 20px;
}

.order_detail_price span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  color: #730d18;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 5px;
}

.order_detail_price img {
  width: 16px;
}

.order_detail_item:last-child {
  border-bottom: none;
}

.order_detail_img {
  width: 100px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
}

.order_detail_info {
  flex: 1;
  margin-left: 12px;
}

.order_detail_id {
  color: #730D18;
  font-weight: 600;
  font-size: 14px;
}

.order_detail_name {
  font-size: 14px;
  color: #333;
  margin-top: 4px;
  font-weight: 500;
}

.order_detail_price {
  text-align: right;
  font-weight: 600;
  font-size: 15px;
  color: #111;
  white-space: nowrap;
}

.order_detail_cancel {
  background: #ededed;
  border: none;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  margin-top: 4px;
  transition: 0.3s;
  color: #1E1E1E;
}

.order_detail_cancel:hover {
  background: #ececec;
}

.order_detail_summary_card {
  border: 1px solid #9A9A9A;
  border-radius: 10px;
  padding: 15px 20px;
  margin-top: 2rem;
}

.order_detail_summary_header span {
  color: #222;
  font-size: 22px;
  text-align: left;
  font-weight: 600;
  display: block;
}

.order_detail_address span {
  display: block;
  font-size: 14px;
  color: #1E1E1E;
  line-height: 25px;
  font-weight: 400;
}

.order_detail_address b {
  font-weight: 500;
}

.order_detail_address {
  border-bottom: 0.9px solid #9A9A9A;
  padding: 10px 0;
}

.order_detail_rows {
  display: block;
  border-bottom: 0.9px solid #9A9A9A;
  padding: 10px 0;
}

.order_detail_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: #000000;
}

.order_detail_row span {
  color: #000000;
  font-size: 15px;
  font-weight: 400;
}

.order_detail_value {
  color: #000000;
  font-weight: 600;
  white-space: nowrap;
}

.order_detail_row .order_detail_price_red {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  color: #730d18;
  font-family: 'Inter', sans-serif;
  font-weight: 600;

}

span.order_detail_value.order_detail_price_red img {
  width: 17px;
}

.order_detail_row .order_detail_shipping_free {
  color: #0E8756;
  font-weight: 600;
}

.order_detail_total_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
}

.order_detail_total_label {
  font-weight: 700;
  font-size: 20px;
}

.order_detail_total_value {
  font-weight: 600;
  color: #730d18;
  font-size: 20px;
  display: flex;
  gap: 4px;
  align-items: center;
}

section.checkout_section .profile_modal .center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

section.checkout_section .profile_modal button {
  margin: unset;
}

section.checkout_section .profile_modal button.checkout_btn_secondary {
  background-color: #700707;
}

section.checkout_section .profile_modal button.checkout_btn_secondary:hover {
  background-color: #000000;
}

.profile_modal .center {
  text-align: center;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.new_addres .profile_modal button {
  display: block;
  margin: unset;
}

a.profile_proceed_btn:hover {
  background-color: #700707;
}

.custom_dropdown-toggle {
  padding: 13px 45px 13px 15px;
}

/* Wrapper */
.phone_code_wrapper {
  position: relative;
  width: 120px;
  font-size: 14px;
}

.phone_code_selected {
  cursor: pointer;
  user-select: none;
  padding-left: 10px;
  position: relative;
}

/* Arrow icon */
.phone_code_selected::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: url("../images/icons/arrow-down.svg") no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.phone_code_wrapper.open .phone_code_selected::after {
  transform: translateY(-50%) rotate(180deg);
}


/* Dropdown */
.phone_code_dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: none;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.checkout_ph.moda-ph {
  margin-bottom: 20px;
}

@media only screen and (max-width: 1440px) {
  .profile_container {
    width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .order_status h3 {
    font-size: 24px;
    padding-top: 20px;
  }

  .profile_checkbox input[type="checkbox"]:checked::before {
    top: 2px;
    left: 2px;
    width: 9px;
    height: 9px;
  }

  .custom_dropdown-toggle {
    border: 1px solid #9a9a9a;
    border-radius: 10px;
    padding: 13px 44px 12px 15px;
  }

  .wallet_balance {
    min-height: max-content;
    padding: 25px;
    padding-bottom: 55px;
  }
}

@media (max-width: 769px) {
  .profile_sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    top: 125px;
    left: -100%;
    width: 100%;
    background: #fff;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-x: hidden;
    height: 100vh;
  }

  .profile_sidebar.active {
    left: 0;
  }

  .close_sidebar {
    background: none;
    border: none;
    font-size: 2rem;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    z-index: 1001;
  }

  span.hamburger-menu {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: all 0.3s ease-in-out;
  }

  .hamburger-menu::before,
  .hamburger-menu::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease-in-out;
  }

  .hamburger-menu::before {
    transform: translateY(-8px);
  }

  .hamburger-menu::after {
    transform: translateY(8px);
  }

  .nav.active .nav__wrapper {
    right: 0;
    z-index: 2;
    display: none;
  }

  .hamburger-menu.is-active {
    background: transparent;
  }

  .hamburger-menu.is-active::before {
    transform: rotate(45deg);
    top: 0;
  }

  .hamburger-menu.is-active::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .profile_content {
    width: 100%;
    padding: 0px 0px 0px 0px;
    box-sizing: border-box;
  }

  .account_group {
    flex: unset;
    width: 100%;
  }

  .profile_modal {
    width: 90%;
  }

  .profile_tab_content {
    display: none;
  }

  .profile_tab_content.active {
    display: block;
  }

  .profile_sidebar {
    position: fixed;
    left: -100%;
    transition: all 0.3s ease;
    z-index: 1000;
    width: 80%;
    background: #F2F2F2;
    height: 100%;
  }

  .profile_sidebar.active {
    left: 0;
    top: 0;
    width: 80%;
  }

  .close_account {
    display: none;
  }

  .close_account.show {
    display: block;
  }

  .hamburger-menu.is-active {
    background: transparent;
  }

  .hamburger-menu.is-active::before {
    transform: rotate(45deg);
    top: 0;
  }

  .hamburger-menu.is-active::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .address-card {
    width: 100%;
    margin-bottom: 25px;
  }

  .address-header-row.lg-none a {
    padding-top: 30px;
    text-align: center;
  }

  .order_container {
    padding: 0px;
    margin: auto;
  }

  .order_status-tracker {
    border-bottom: none;
  }

  .order_item_details .item_price {
    align-items: baseline;
    flex-direction: column;
  }

  .order_items h3 {
    font-size: 20px;
    line-height: 35px;
  }

  .checkout_product-price span {
    font-size: 16px;
    line-height: 24px;
  }

  .order_summary-row {
    flex-direction: column;
  }

  .order_summary {
    margin-top: 15px;
    padding: 15px;
    width: 100%;
    margin-left: 0px;
  }

  .order_step span {
    font-size: 14px;
  }

  .order_top h3 {
    font-size: 17px;
  }

  .order_container.border {
    padding: 13px 10px;
  }

  .order_date {
    min-width: 18%;
  }

  .profile_sidebar {
    position: fixed;
    top: 0;
    left: -470px;
    width: 250px;
    height: 100%;
    transition: left 0.3s ease-in-out;
    z-index: 9999;
    border-radius: 0px;
  }

  .profile_sidebar.active .close-sidebar {
    display: block;
    opacity: 1;
    padding: 20px;
    margin: 0;
  }

  .profile_side_box_one .acc_tab {
    padding-left: 35px;
  }

  .profile_sidebar .profile_user {
    padding-left: 20px;
  }

  .lg-none {
    display: block;
  }

  .sm-none {
    display: none;
  }

  /*--newcss*/
  .profile_sidebar {
    width: 25%;
    background: #FFF4F5;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 0.7px solid #730D18;
  }

  .profile_table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .profile_table table {
    min-width: 700px;
  }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
  .profile_container {
    width: 95%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media screen and (max-width: 768px) {

  .order_detail_row {
    flex-direction: row;
    gap: 6px;
    align-items: flex-start;
  }

  .order_detail_address span {
    font-size: 15px;
  }

  .order_detail_total_row {
    padding-top: 20px;
  }

  .order_detail_info {
    flex: unset;
    margin-left: 12px;
    width: 40%;
  }

  .order_detail_total_value {
    font-size: 16px;
  }

  .order_detail_item {
    align-items: flex-start;
    margin: 0 14px;
  }

  .order_detail_price {
    margin-top: 8px;
  }

  .nav__toggle {
    display: block;
    z-index: 100;
    order: 0;
    padding: 0;
  }

  .myorder_row {
    align-items: flex-start;
  }

  .myorder_text p {
    margin: 2px 0;
    font-size: 15px;
    text-align: left;
    font-weight: 500;
    line-height: 20px;
  }

  .myorder_imgbox {
    width: 100px;
    height: 100px;
  }

  .myorder_arrow {
    align-self: flex-start;
  }

  section.profile_page .profile_container {
    width: 95% !important;
    padding: 0;
  }

  .wallet_benefit_container {
    gap: 14px;
    padding-top: 20px;
  }

  .wallet_benefit_card {
    padding: 14px;
  }

  .back {
    display: block;
    text-align: right;
  }

  .order_detail_header {
    gap: 10px;
  }

  .order_detail_delivery {
    font-size: 16px;
  }

  .order_detail_status {
    font-size: 16px;
  }

  .order_detail_id {
    font-size: 12px;
  }

  .profile_tab_content {
    display: none;
  }

  .profile_tab_content.active {
    display: block;
  }

  .rewards_card_container {
    flex-wrap: wrap;
    border: none;
    border-radius: 0;
    padding: 0;
  }

  .rewards_card_left {
    border-radius: 14px;
    width: 100%;
    padding-bottom: 15px;
  }

  .rewards_card_slide_item li {
    font-size: 16px;
  }

  .rewards_card_right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #730D18;
    padding-top: 30px;
    width: 100%;
  }

  .profile_table h3 {
    padding: 20px;
  }

  .wallet_balance {
    background-image: url(../images/wallet.png);
    background-repeat: no-repeat;
    min-height: max-content;
    padding: 40px 25px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
  }

  .order_products {
    flex-wrap: wrap;
  }

  section.profile_page {
    padding: 2rem 0;
  }
}





.profile_mobile_trigger {
  display: none;
  /* hidden on desktop */
}

@media (max-width: 640px) {
  .profile_mobile_trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #882322;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(136, 35, 34, 0.4);
  }
}



@media (max-width: 640px) {
  .profile-mobile .profile_sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    z-index: 1005;
    background: white;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding: 20px;
  }

  .profile-mobile .profile_sidebar.active {
    left: 0;
  }

  .profile_sidebar_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1004;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .profile_sidebar_overlay.active {
    display: block;
    opacity: 1;
  }

}



@media (max-width: 640px) {
  .profile-mobile .profile_sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 80% !important;
    max-width: 300px !important;
    height: 100vh !important;
    z-index: 1005 !important;
    background: #FFF4F5 !important;
    overflow-y: auto !important;
    transition: left 0.3s ease !important;
    padding: 20px !important;
    border-radius: 0 !important;
  }

  .profile-mobile .profile_sidebar.active {
    left: 0 !important;
  }
}





/* ===== MOBILE PROFILE DRAWER — must be at bottom to win cascade ===== */
.profile-mobile {
  display: none;
}

@media (max-width: 768px) {
  .profile-mobile {
    display: block;
  }

  /* Overlay */
  .profile-mobile .profile_sidebar_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10003;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .profile-mobile .profile_sidebar_overlay.active {
    display: block;
    opacity: 1;
    pointer-events: all;
  }

  /* Sidebar drawer — these !important flags beat the 769px block above */
  .profile-mobile .profile_sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -320px !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    z-index: 10004 !important;
    background: #FFF4F5 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transition: left 0.3s ease !important;
    padding: 20px !important;
    border-radius: 0 !important;
    border: none !important;
  }

  .profile-mobile .profile_sidebar.active {
    left: 0 !important;
  }

  /* Close button inside the drawer */
  .profile-mobile .close-sidebar {
    display: block !important;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #730D18;
    margin-bottom: 15px;
    padding: 0;
  }
}

/* Change this breakpoint from 640px to 768px */
@media (max-width: 768px) {
  .profile_mobile_trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #730D18;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 80px;
    /* above the fixed bottom bar */
    right: 16px;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(115, 13, 24, 0.4);
  }
}



/* ===== FINAL MOBILE PROFILE DRAWER ===== */
.profile-mobile {
  display: none;
}

@media (max-width: 768px) {

  /* Show the mobile drawer container */
  .profile-mobile {
    display: block;
  }

  /* Fix tabs — only show active one */
  .profile_tab_content {
    display: none !important;
  }

  .profile_tab_content.active {
    display: block !important;
  }

  /* Overlay behind drawer */
  .profile-mobile .profile_sidebar_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10003;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .profile-mobile .profile_sidebar_overlay.active {
    display: block;
    opacity: 1;
    pointer-events: all;
  }

  /* The drawer itself */
  .profile-mobile .profile_sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -320px !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    z-index: 10004 !important;
    background: #ffffff !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transition: left 0.3s ease !important;
    padding: 20px !important;
    border-radius: 0 !important;
    border: none !important;
  }

  .profile_side_box_one {
    background: #ffffff;
  }

  .profile-mobile .profile_sidebar.active {
    left: 0 !important;
    padding-left: 0 !important;
    padding: 0 !important;
  }

  .profile_side_box_two {
    background: #ffffff;
  }

  /* Always show close button inside drawer */
  .profile-mobile .lg-none {
    display: flex !important;
    text-align: right;
    justify-content: end;
  }

  .profile-mobile .close-sidebar {
    display: block !important;
    background: none;
    border: none;
    padding: 0;
  }

  .profile_side_box_two {
    border: none;
    padding-top: 0;

  }

  .profile_side_box_one {
    margin-bottom: 0px;
    border: none;
    padding: 0;
  }

  .account_row {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
  }

  section.checkout_section .profile_modal .center {
    flex-wrap: wrap;
  }

  .account_row.row_wrap {
    flex-wrap: wrap;
    gap: 20px;
  }

  .center.row_wrap {
    flex-wrap: wrap;
  }

  .center.row_wrap button {
    width: 100%;
  }

  .center.row_wrap .checkout_btn_secondary {
    background-color: #700707;
  }

  .address-list {
    padding-bottom: 6px;
  }

  .cart_order_summary_row span.lg-none {
    display: inline-block;
  }
}





/* Prevent scroll anchoring for profile tabs */
.profile_tab_content:target {
  scroll-margin-top: 0;
  scroll-margin-bottom: 0;
}

/* Or more aggressively */
html {
  scroll-behavior: auto !important;
}

/* For profile page specifically */
.profile_page .profile_tab_content {
  scroll-margin-top: 0 !important;
}