@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

* {
  font-family: Poppins, sans-serif;
}

body {
  background-color: #f6f1e5;
  margin: 0;
}
a {
  text-decoration: none;
}
img {
  width: 100%;
  height: auto;
}
.bold {
  font-weight: 800;
}
.x_larg {
  font-size: 32px;
}
.larg {
  font-size: 24px;
}
.small {
  font-size: 16px;
}
.dark_color {
  color: #9f6e5f;
}
.flex_colomn {
  display: flex;
  flex-direction: column;
}
.sign_top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.bg_darkest {
  background-color: #7a5247;
}
.bg_dark {
  background-color: #9f6e5f;
}
.bg_light {
  background-color: #9f6e5f80;
}
.bg_lightest {
  background-color: #9f6e5f40;
}
.header_main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 140px;
}
.tab {
  color: #9f6e5f;
}
.logo_tabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  margin-inline-start: 40px;
}
.tabs_div {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.logo_div {
  width: 110px;
  padding: 20px;
}
.tab {
  font-size: 18px;
}
.more_buttons_div {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-inline-end: 40px;
}
.profile_button {
  width: 18px;
}
.login_more_div {
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: center;
}
.login_buttons_div {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.login_button {
  padding: 8px 24px;
  border: 1px solid #9f6e5f;
}
.lang_button {
  padding: 8px;
  border: 1px solid #9f6e5f;
  max-width: 80px;
}
.light_button {
  color: #9f6e5f;
  background-color: #f6f1e5;
}
.trans_button {
  color: #9f6e5f;
  background-color: transparent;
  border: 1px solid #9f6e5f;
}
.dark_button {
  background-color: #9f6e5f;
  color: #f6f1e5;
  border: 1px solid #9f6e5f;
}
/***********************************/
.footer_main {
  background-color: #9f6e5f;
  color: #f6f1e5;
  padding: 40px 0px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.footer_content_div {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.footer_section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text_icon {
  display: flex;
  flex-direction: row;
  gap: 12px;
  color: #f6f1e5;
}
.text_icon img {
  width: 20px;
}
.social_media {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}
.social_media img {
  width: 40px;
}
.insta img {
  width: 46px;
}
.footer_bottom_div {
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #f6f1e5;
  margin: 0px 80px;
}
/***********************************/
.content_main {
  min-height: 500px;
}
.banner_aria {
  width: 100%;
  max-height: 600px;
  margin-top: -140px;
}
.banner_aria img {
  width: 100%;
  max-height: 600px;
}
.groups_section_div {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin: 40px;
  overflow: scroll;
  scrollbar-width: none;
}
.group_card {
  width: 250px;
  min-width: 250px;

  height: 250px;
  margin: 0px 20px;
}

.slider_section_title {
  font-weight: 800;
  color: #9f6e5f;
  text-align: center;
}
.cards_slider_div {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 8px;
  padding: 20px 0px;
  overflow: scroll;
  scrollbar-width: none;
}
.item_card {
  width: 300px;
  min-width: 300px;
  background-color: #9f6e5f;
  color: #f6f1e5;
  display: flex;
  flex-direction: column;
  position: relative;
}
.item_info_div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px;
  text-align: center;
}
.favorite {
  width: 20px;
  position: absolute;
  top: 16px;
  right: 16px;
}
/***********************************/
.all_cards_div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 40px 0px;
}
.page_number_div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.page_number {
  width: 32px;
  height: 32px;
  border: 1px solid #9f6e5f;
  border-radius: 100%;
  color: #9f6e5f;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.active_page {
  background-color: #9f6e5f;
  color: #f6f1e5;
}

/***********************************/
.item_details_page {
  display: flex;
  flex-direction: column;
}
.top_content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin: 40px;
  width: 100%;
}
.first_side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.item_image_div {
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
}
.item_image_div img {
  width: 500px;
  height: 500px;
}

.small_images_div {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}
.small_images {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 500px;
  justify-content: center;
}
.second_side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  color: #9f6e5f;
  font-size: 20px;
  padding: 0px 40px;
}
.details_list {
  display: flex;
  flex-direction: column;
  padding-inline-start: 0px;
  margin-block-start: 0px;
}
.buttons_div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.item_details_button {
  padding: 12px;
  font-size: 20px;
}
.similer_items_div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px;
}
.view_more_div {
  display: flex;
  justify-content: center;
  margin: 20px;
}
.view_more_button {
  padding: 12px 24px;
  font-size: 14px;
}
.my_orders_page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px;
  color: #9f6e5f;
}
.order_page_content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.orders_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.coupon_side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.order_card {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 12px;
  background-color: #9f6e5f4d;
}
.order_item_image {
  width: 30%;
}
.order_item_details {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 70%;
}
.coupon_div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #9f6e5f4d;
  padding: 16px 40px;
}
.input_button {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.coupon_input {
  padding: 8px 12px;
  border: 1px solid #9f6e5f;
  background-color: transparent;
  width: 75%;
}
.apply_coupon_button {
  padding: 8px;
  width: 25%;
}
.recipt_div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.recipt_group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: #9f6e5f 2px solid;
  padding-bottom: 12px;
}
.recipt_row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/************************************/
.profile_page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px;
  color: #9f6e5f;
  padding: 100px;
}
.profile_top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.user_data {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.user_image {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  overflow: hidden;
}
.edit_profile_button .item_details_button {
  font-size: 14px;
}
.profile_inputs_div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.input_group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile_inputs_div .input_group {
  width: 48%;
}
.input_field {
  padding: 8px 12px;
  border: 1px solid #9f6e5f;
  background-color: transparent;
}
.location_page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0px 40px 40px 40px;
  color: #9f6e5f;
  padding: 20px 100px;
}
.location_top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.map_div {
  border: #9f6e5f 1px solid;
  padding: 12px 16px;
}
.about_page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0px 40px 40px 40px;
  padding: 20px 100px;
}
.about_us_div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
}
.about_group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: #9f6e5f 1px solid;
  padding-bottom: 40px;
}
.about_title {
  font-weight: 800;
  font-size: 24px;
  color: #9f6e5f;
}
.privacy_page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #9f6e5f;
}
.privacy_top {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #f6f1e5;
  padding: 100px;
  border-bottom-right-radius: 100%;
  border-bottom-left-radius: 100%;
}
.privacy_title_div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 36px;
  color: #9f6e5f;
}
.privacy_div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 120px 100px 120px;
  color: #f6f1e5;
}
.privacy_group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 40px;
}
.background_image {
  width: 100%;
  height: auto;
  position: relative;
  margin-top: -150px;
  z-index: -1;
}
.sign_page_content {
  display: flex;
  position: absolute;
  z-index: 1;
  top: 200px;
  justify-content: center;
  width: 100%;
}
.sign_form_div {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  margin: auto;
  background-color: #f6f1e5;
  border: #9f6e5f 1px solid;
  width: 30%;
}
.forgot_password {
  text-align: end;
  color: #9f6e5f;
  cursor: pointer;
}
.submit_button {
  padding: 12px;
  background-color: #9f6e5f;
  color: #f6f1e5;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
}

/**********************************************/
.payment_page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px;
  color: #9f6e5f;
  padding: 0px 100px;
}
.payment_page_content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.contact_page_content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.contact_page_content .input_field {
  background-color: #f6f1e5;
}
.payment_side {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.contact_side {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.payment_method_div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact_method_div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact_active {
  background-color: #9f6e5f4d;
  padding: 12px;
  border: #9f6e5f 1px solid;
}
.send_button {
  padding: 12px;
  width: 150px;
  align-self: center;
}
.radio_image {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  max-height: 20px;
}
.card_details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.card_details .input_field {
  padding: 16px 12px;
  font-size: 14px;
}
.card_info_div {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
}
.small_input {
  width: 100%;
}
.orders_cards_div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.order_card_div {
  display: flex;
  flex-direction: row;
  gap: 20px;
  max-height: 100px;
  background-color: #f6f1e5;
  padding: 12px;
}
.order_card_image {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.order_card_details {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.icon_text_div {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.large_field {
  height: 100px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.circle_border {
  background-color: #9f6e5f4d;
  border: #9f6e5f 1px solid;
  padding: 1px;
  width: 24px;
  height: 24px;
}
.dark_bg_circle {
  background-color: #9f6e5f;
  color: #f6f1e5;
  padding: 2px 6px;
  border-radius: 100%;
}

/* Popup Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #f6f1e5;
  margin: 15% auto;
  padding: 30px;
  border: 1px solid #9f6e5f;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.close {
  color: #9f6e5f;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.close:hover {
  color: #7a5247;
}

.modal_check {
  width: 80px;
  padding: 20px;
  margin: auto;
  border: #9f6e5f 3px solid;
}
.modal_text {
  text-align: center;
  margin-top: 20px;
  color: #9f6e5f;
}
.border_none {
  border: none;
}
.orders_page {
  margin: 20px;
  padding: 40px 100px;
}
.orders_top_content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.color {
  width: 10px;
  height: 10px;
  border-radius: 100%;
}
.color_text {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.order_status {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.orders_div {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  gap: 16px;
}
.order_row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  color: #9f6e5f;
  border: #9f6e5f 1px solid;
  box-shadow: 0px 4px 4px 0px #00000040;
  padding: 8px;
}
.order_row .image_div {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  border: #9f6e5f 1px solid;
  padding: 5px;
}
.order_row .image_div img {
  width: 60px;
  height: 60px;
  border-radius: 100%;
}
.order_item_quantity {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}
.order_item_quantity img {
  width: 10px;
}
.qu_num {
  border: #9f6e5f 1px solid;
  padding: 0px 4px;
}

@media (max-width: 600px) {
  .banner_aria {
    width: 100%;
    max-height: 600px;
    margin-top: 140px;
  }
  .header_main {
    flex-direction: column;
    height: 50px;
    gap: 20px;
  }
  .logo_tabs {
    flex-direction: column;
    gap: 8px;
    margin-inline-start: 0px;
  }
  .tabs_div {
    gap: 16px;
  }
  .logo_div {
    width: 50px;
    padding: 8px;
  }
  .more_buttons_div {
    gap: 12px;
    margin-inline-end: 0px;
  }
  .groups_section_div {
    margin: 8px;
  }
  .group_card {
    height: auto;
    margin: 0px 20px;
  }
  .cards_slider_div {
    gap: 8px;
    padding: 20px 8px;
  }
  .footer_section {
    width: 50%;
  }
  .footer_main {
    padding: 40px 16px;
  }
  .content_main {
    margin-top: 140px;
  }
  .about_page {
    margin: 0px;
    padding: 20px;
  }
  .top_content {
    flex-direction: column;
    margin: auto;
  }
  .item_image_div img {
    width: 350px;
    height: 500px;
  }
  .first_side {
    width: 90%;
    padding: 5%;
  }
  .second_side {
    width: 90%;
    padding: 5%;
  }
  .order_page_content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .profile_page {
    margin: 20px;
    padding: 0px;
  }
  .location_page {
    margin: 20px;
    padding: 0px;
  }
  .privacy_top {
    padding: 75px;
  }
  .privacy_div {
    padding: 40px;
  }
  .background_image {
    width: 100%;
    height: 100vh;
    position: relative;
    margin-top: -200px;
    z-index: -1;
  }
  .background_image img {
    width: 100%;
    height: 100vh;
  }
  .sign_form_div {
    width: 60%;
  }
  .payment_page {
    margin: 20px;
    padding: 0px;
  }
  .payment_page_content {
    flex-direction: column;
  }
  .contact_page_content {
    flex-direction: column;
  }
  .modal-content {
    width: 75%;
  }
}

/* ===================================
   Toast Notification System
   Usage: Add to main_styles.css or create separate file
   =================================== */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    margin-bottom: 12px;
    min-width: 320px;
    max-width: 420px;
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: all;
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
}

.toast.hiding {
    animation: slideOut 0.3s ease-out forwards;
}

.toast-success::before {
    background: #4CAF50;
}

.toast-error::before {
    background: #f44336;
}

.toast-warning::before {
    background: #ff9800;
}

.toast-info::before {
    background: #2196F3;
}

.toast-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.toast-success .toast-icon {
    background: #e8f5e9;
    color: #4CAF50;
}

.toast-error .toast-icon {
    background: #ffebee;
    color: #f44336;
}

.toast-warning .toast-icon {
    background: #fff3e0;
    color: #ff9800;
}

.toast-info .toast-icon {
    background: #e3f2fd;
    color: #2196F3;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
    color: #2c3e50;
    line-height: 1.3;
}

.toast-message {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #bdc3c7;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: #ecf0f1;
    color: #2c3e50;
    transform: rotate(90deg);
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    transform-origin: left;
}

.toast-success .toast-progress {
    background: #4CAF50;
}

.toast-error .toast-progress {
    background: #f44336;
}

.toast-warning .toast-progress {
    background: #ff9800;
}

.toast-info .toast-progress {
    background: #2196F3;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(450px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(450px);
        opacity: 0;
    }
}

@keyframes progressBar {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* RTL Support */
[dir="rtl"] .toast-container {
    right: auto;
    left: 20px;
}

[dir="rtl"] .toast::before {
    left: auto;
    right: 0;
}

[dir="rtl"] @keyframes slideIn {
    from {
        transform: translateX(-450px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

[dir="rtl"] @keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-450px);
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }

    [dir="rtl"] .toast-container {
        left: 10px;
        right: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .toast-icon {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .toast-title {
        font-size: 14px;
    }

    .toast-message {
        font-size: 13px;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .toast {
        background: #2c3e50;
    }

    .toast-title {
        color: #ecf0f1;
    }

    .toast-message {
        color: #bdc3c7;
    }

    .toast-close {
        color: #7f8c8d;
    }

    .toast-close:hover {
        background: #34495e;
        color: #ecf0f1;
    }
}
