@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

.form-box-div {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 40px 36px;
}

.form-box-div h2 {
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #1f2026;
  margin-bottom: 6px;
  text-align: left;
  position: relative;
}

.form-box-div h2::before {
  display: none;
}

.form-subtitle {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  margin-bottom: 28px;
}

.d-none {
  display: none;
}

.form-field {
  margin-bottom: 16px;
}

.form-action {
  margin-top: 24px;
  margin-bottom: 0;
}

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

.input-icon > i {
  position: absolute;
  left: 14px;
  color: #9ca3af;
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}

.input-icon input {
  padding-left: 40px !important;
}

.form-box-div .password-wrapper input {
  padding-right: 44px !important;
}

.form-box-div .toggle-password {
  position: absolute;
  right: 14px;
  cursor: pointer;
  color: #9ca3af;
  font-size: 14px;
  display: flex;
  align-items: center;
  z-index: 1;
  transition: color 0.2s ease;
}

.form-box-div .toggle-password:hover {
  color: #4b5563;
}

.form-box-div .error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 20px;
}

.form-box-div .success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 20px;
}

.form-box-div input[type="text"],
.form-box-div input[type="email"],
.form-box-div input[type="password"],
.form-box-div input[type="number"] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #1f2026;
  background-color: #f9fafb;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-box-div input[type="text"]:focus,
.form-box-div input[type="email"]:focus,
.form-box-div input[type="password"]:focus,
.form-box-div input[type="number"]:focus {
  border: 1px solid #a22c29;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(162, 44, 41, 0.08);
  outline: none;
}

.form-checkbox label {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #4b5563;
}

.form-box-div input::placeholder {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #9ca3af;
}

.form-box-div .form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.form-box-div .form-links {
  text-align: center;
  margin-top: 24px;
}

.form-box-div .form-links a {
  text-decoration: none;
  color: inherit;
}

.form-box-div .form-links a:hover {
  text-decoration: underline;
}

.betweenItemsform {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.loginSubmit {
  background-color: #a22c29;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  border: none;
  border-radius: 10px;
  height: 48px;
  width: 100%;
  transition: background-color 0.2s ease, transform 0.1s ease;
  cursor: pointer;
}

.loginSubmit:hover {
  background-color: #8b2523;
}

.loginSubmit:active {
  transform: scale(0.98);
}

.form-forget a {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: #a22c29;
  text-decoration: none;
  transition: color 0.2s ease;
}

.form-forget a:hover {
  color: #8b2523;
  text-decoration: underline;
}

.form-links a {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  color: #a22c29 !important;
  transition: color 0.2s ease;
}

.form-links a:hover {
  text-decoration: underline !important;
  color: #8b2523 !important;
}

.form-links {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #6b7280 !important;
}

.product-checkbox_baskettt {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  user-select: none;
  background-color: #d9d9d9;
}

.product-checkbox_baskettt:checked::before {
  content: "✔";
  color: rgb(0, 0, 0);
  font-size: 12px;
  position: absolute;
  top: 8px;
  left: 54%;
  transform: translate(-50%, -50%);
  user-select: none;
  font-family: Inter;
}

.agreement_rules {
  font-family: Inter;
  font-size: 14.18px;
  font-weight: 400;
  line-height: 18px;
  color: #333333;
}
.agreement_rules a {
  font-family: Inter;
  font-size: 14.18px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: underline;
  color: #333333;
}

/* İstiafdeci melumatlari tabs */

.pb-75 {
  padding-bottom: 75px;
}

.pt-75 {
  padding-top: 75px;
}

/* =============================================
   Profile Page - Sidebar & Content
   ============================================= */

/* Sidebar Nav */
.myaccount-tab-menu {
  flex-direction: column;
  gap: 4px;
}

.nav-account {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.myaccount-tab-menu a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: 10px;
  background: transparent;
  border: none;
  transition: all 0.15s ease;
}

.myaccount-tab-menu a:hover {
  background-color: #f3f4f6;
  color: #1f2026;
}

.myaccount-tab-menu a.active,
.myaccount-tab-menu a.active.text-dark {
  background-color: #a22c29 !important;
  color: #fff !important;
  font-weight: 600;
}

/* Content Area */
.myaccount-content {
  padding: 0;
}

.form-group label {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #6b7280;
  margin-bottom: 6px;
}

.animate-on-scroll {
  padding: 15px 0;
}

.fade {
  transition: opacity 0.15s linear;
}

/* Card Header */
.card-header {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1f2026;
  padding: 0 0 16px;
  margin: 0;
  background: none;
  border: none;
}

.card-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 0 0 20px;
}

/* Table */
.card-table {
  margin-bottom: 16px;
}

.card-table .table,
.myaccount-table table,
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.card-table .table thead tr,
.myaccount-table .table thead tr {
  background: #f9fafb;
}

.card-table .table th,
.myaccount-table .table th,
.myaccount-table table th {
  padding: 12px 16px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.card-table .table td,
.myaccount-table .table td,
.myaccount-table table td {
  padding: 14px 16px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #374151;
  vertical-align: middle;
  border-bottom: 1px solid #f3f4f6;
}

.card-table .table tbody tr:last-child td,
.myaccount-table .table tbody tr:last-child td {
  border-bottom: none;
}

.card-table .table tbody tr:hover,
.myaccount-table .table tbody tr:hover {
  background: #f9fafb;
}

.myaccount-table {
  white-space: nowrap;
  font-size: 14px;
}

table tbody td a {
  text-decoration: none !important;
}

/* Status badges */
.card-table .table td .text-warning b,
.text-warning b {
  color: #d97706;
}

.card-table .table td .text-dark b,
.text-dark b {
  color: #059669;
}

/* View order button */
.card-table .table td .btn-sm,
.btn-sm.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  transition: all 0.15s ease;
}

.card-table .table td .btn-sm:hover,
.btn-sm.btn-dark:hover {
  background: #e5e7eb;
  color: #1f2026;
}

/* Tab pane */
.tab-pane {
  display: none;
}

.tab-pane.show.active {
  display: block;
}

/* Content text */
.myaccount-content p {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 12px;
}

.myaccount-content p a {
  color: #a12c29;
  text-decoration: none;
  transition: color 0.2s ease;
}

.myaccount-content p a:hover {
  color: #8b2523;
}

.myaccount-content .welcome p {
  font-size: 15px;
  margin: 0 0 20px;
}

.myaccount-content .welcome p strong {
  font-weight: 700;
  color: #1f2026;
}

.myaccount-content.myaccount-address .myaccount-address-wrap {
  margin: 20px 0 0px;
}

.myaccount-content.myaccount-address .myaccount-address-wrap h3 {
  font-size: 25px;
  font-weight: 600;
  margin: 0;
  color: #333;
  line-height: 1.2;
}

.myaccount-content.myaccount-address
  .myaccount-address-wrap
  .myaccount-address-content {
  margin: 20px 0 0;
}

.myaccount-content.myaccount-address
  .myaccount-address-wrap
  .myaccount-address-content
  h4 {
  font-size: 18px;
  font-size: 500;
  margin: 0 0 5px;
  color: #333;
  line-height: 1.2;
  font-weight: 400;
}

.myaccount-content.myaccount-address
  .myaccount-address-wrap
  .myaccount-address-content
  p {
  font-size: 15px;
  color: #444;
  line-height: 1.74;
  margin: 0;
  font-weight: 400;
}

.myaccount-content.myaccount-address
  .myaccount-address-wrap
  .myaccount-address-content
  p {
  font-size: 15px;
  color: #444;
  line-height: 1.74;
  margin: 0;
  font-weight: 400;
}

.mb-30 {
  margin-bottom: 30px;
}

.myaccount-content .account-details-form .account-info label {
  font-size: 15px;
  color: #444;
  margin: 0 0 3px;
}

.account-info input {
  background-color: #f8f8f8;
  border: 1px solid #f8f8f8;
  height: 48px;
  color: #666;
  padding: 3px 20px;
  border-radius: 26px;
  font-size: 15px;
}

.myaccount-content .account-details-form span {
  font-style: italic;
  font-size: 15px;
  color: #444;
  margin: 5px 0 0;
  display: block;
}

.myaccount-content .account-details-form fieldset {
  padding: 1.55em 1.625em 3em;
  border: 1px solid #eee;
  margin: 30px 0 36px;
}

.myaccount-content .account-details-form fieldset legend {
  font-size: 18px;
  width: auto;
  float: inherit;
  padding: 0;
  margin-bottom: 0.5rem;
  line-height: inherit;
  white-space: normal;
}

.myaccount-content .account-details-form .account-info label {
  font-size: 15px;
  color: #444;
  margin: 0 0 3px;
}

.myaccount-content .account-details-form .account-info-btn button {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background-color: #4e97fd;
  border-radius: 26px;
  padding: 11px 41px 13px;
  border: none;
  cursor: pointer;
  line-height: inherit;
  text-transform: none;
  overflow: visible;
  transition: all 0.3s ease 0s;
}

.myaccount-content .account-details-form .account-info-btn button:hover {
  background-color: #e4573d;
  transition: all 0.3s ease 0s;
}

/* =============================================
   Profile Form (User Details / Password)
   ============================================= */

.profile-form-wrap {
  max-width: 100%;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.profile-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-form-field label {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  line-height: 1;
}

.profile-form-field .form-control {
  height: 44px;
}

.profile-form-field .form-control:disabled,
.profile-form-field .form-control[readonly] {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.profile-form-hint {
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #9ca3af;
}

.profile-form-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 576px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* =============================================
   Favorites List
   ============================================= */

.fav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.fav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.1s ease;
}

.fav-item:last-child {
  border-bottom: none;
}

.fav-item:hover {
  background: #f9fafb;
}

.fav-item-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f9fafb;
}

.fav-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fav-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fav-item-name {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f2026;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-item-name:hover {
  color: #a12c29;
}

.fav-item-price {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #a12c29;
}

.fav-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.fav-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.fav-action-cart:hover {
  background: #a12c29;
  border-color: #a12c29;
  color: #fff;
}

.fav-action-remove:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}

.fav-empty {
  padding: 48px 20px;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #9ca3af;
}

@media (max-width: 480px) {
  .fav-item {
    gap: 12px;
    padding: 12px 14px;
  }

  .fav-item-img {
    width: 52px;
    height: 52px;
  }

  .fav-action-btn {
    width: 34px;
    height: 34px;
  }
}

/* =============================================
   Checkout Confirmation Page
   ============================================= */

.checkout-confirm-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.checkout-confirm-header {
  margin-bottom: 24px;
}

.checkout-confirm-header h2 {
  font-family: Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1f2026;
  margin: 0 0 4px;
}

.checkout-confirm-header p {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* Product Items */
.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item-img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f9fafb;
}

.checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-item-info {
  flex: 1;
  min-width: 0;
}

.checkout-item-name {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f2026;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-item-name:hover {
  color: #a12c29;
}

.checkout-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-item-qty {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #6b7280;
}

.checkout-item-price {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #9ca3af;
}

.checkout-item-total {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1f2026;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Summary */
.checkout-summary {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.checkout-summary-row span:first-child {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #6b7280;
}

.checkout-summary-row span:last-child {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f2026;
}

.checkout-summary-total {
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
  padding-top: 16px;
}

.checkout-summary-total span:first-child {
  font-size: 15px;
  font-weight: 600;
  color: #1f2026;
}

.checkout-summary-total span:last-child {
  font-size: 20px;
  font-weight: 700;
  color: #a12c29;
}

/* Confirm Button */
.checkout-confirm-actions {
  display: flex;
  justify-content: flex-end;
}

.checkout-confirm-btn {
  width: 100%;
  height: 52px;
  font-size: 16px !important;
}

@media (max-width: 576px) {
  .checkout-item {
    gap: 12px;
    padding: 12px 14px;
  }

  .checkout-item-img {
    width: 56px;
    height: 56px;
  }

  .checkout-item-total {
    font-size: 14px;
  }

  .checkout-summary {
    padding: 16px;
  }
}
