html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  background: #faf9f7;
  color: #1f1a17;
  margin-bottom: 0;
}

.shop-page { max-width: 1120px; margin: 2.5rem auto; }
.page-heading { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.page-heading h1 { font-size: clamp(1.7rem, 4vw, 2.45rem); margin: 0; }
.eyebrow { color: #8a6047; font-size: .75rem; font-weight: 700; letter-spacing: .11em; margin-bottom: .4rem; }
.cart-layout { align-items: start; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) 340px; }
.cart-items, .checkout-form, .order-summary, .order-card, .empty-state { background: #fff; border: 1px solid #e9e0d9; border-radius: 12px; box-shadow: 0 4px 20px rgba(60, 36, 23, .04); }
.cart-item { align-items: center; border-bottom: 1px solid #eee7e1; display: grid; gap: 1rem; grid-template-columns: 72px minmax(120px, 1fr) 170px auto auto; padding: 1rem; }
.cart-item:last-child { border-bottom: 0; }
.cart-product-image { background: #f3ede8; border-radius: 8px; height: 72px; object-fit: cover; width: 72px; }
.image-placeholder { align-items: center; color: #806f64; display: flex; font-size: .7rem; justify-content: center; text-align: center; }
.cart-item-info h2 { font-size: 1rem; margin: 0 0 .3rem; }.price { color: #866047; margin: 0; }
.quantity-form { align-items: center; display: flex; gap: .4rem; }.quantity-form input { max-width: 62px; }
.item-total { white-space: nowrap; }.order-summary, .checkout-form { padding: 1.4rem; }.order-summary h2, .checkout-form h2 { font-size: 1.18rem; margin-bottom: 1.3rem; }
.order-summary > div { display: flex; gap: .5rem; justify-content: space-between; margin: .75rem 0; }.summary-total { font-size: 1.08rem; }.summary-line { font-size: .9rem; }.summary-line span { max-width: 68%; }
.checkout-note { color: #6c625c; font-size: .9rem; }.empty-state { margin: 2rem auto; max-width: 600px; padding: 3rem 1.5rem; text-align: center; }
.order-list { display: grid; gap: 1rem; }.order-card-header, .order-card-footer { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding: 1.1rem 1.25rem; }.order-card-body { border-bottom: 1px solid #eee7e1; border-top: 1px solid #eee7e1; padding: .65rem 1.25rem; }.order-line { display: flex; gap: 1rem; justify-content: space-between; padding: .45rem 0; }.order-card-footer { color: #665b54; font-size: .9rem; }.order-card-footer > strong { color: #1f1a17; }.status-badge { background: #fff0db; border-radius: 999px; color: #80511c; font-size: .8rem; font-weight: 600; padding: .35rem .7rem; }.status-cancelled { background: #f8e5e6; color: #972d38; }
.auth-page { align-items: center; display: flex; justify-content: center; min-height: 65vh; }.auth-card { background: #fff; border: 1px solid #e9e0d9; border-radius: 12px; box-shadow: 0 8px 28px rgba(60, 36, 23, .08); max-width: 440px; padding: 2rem; width: 100%; }.auth-card h1 { font-size: 2rem; margin-bottom: .5rem; }.demo-account { color: #76665a; font-size: .8rem; margin: 1.4rem 0 0; text-align: center; }

@media (max-width: 767.98px) {
  .shop-page { margin: 1.5rem auto; }.page-heading { align-items: start; flex-direction: column; }.cart-layout { grid-template-columns: 1fr; }.cart-item { grid-template-columns: 60px minmax(0, 1fr) auto; }.cart-product-image { height: 60px; width: 60px; }.quantity-form { grid-column: 2; }.item-total { grid-column: 3; grid-row: 1; }.cart-item > form:last-child { grid-column: 3; }.order-card-footer { align-items: start; flex-direction: column; }.order-card-footer form { width: 100%; }.order-card-footer form button { width: 100%; }
}

/* ==========================================================================
   Shopee-Style Order Progress Stepper (Lịch sử & Tiến trình đơn hàng)
   ========================================================================== */
.stepper-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 1.2rem 0;
  padding: 0;
}
.stepper-container::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 16.6667%;
  right: 16.6667%;
  height: 3px;
  background-color: #e5e7eb;
  z-index: 0;
}
.stepper-progress-bar {
  position: absolute;
  top: 20px;
  left: 16.6667%;
  height: 3px;
  background-color: #10b981;
  z-index: 1;
  transition: width 0.4s ease;
}
.stepper-step {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 0.25rem;
}
.stepper-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f3f4f6;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 1.1rem;
  border: 2px solid #e5e7eb;
}
.stepper-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
}
.stepper-step.active .stepper-circle {
  background-color: #111827;
  color: #ffffff;
  border-color: #111827;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.15);
}
.stepper-step.active .stepper-label {
  color: #111827;
  font-weight: 700;
}
.stepper-step.completed .stepper-circle {
  background-color: #10b981;
  color: #ffffff;
  border-color: #10b981;
}
.stepper-step.completed .stepper-label {
  color: #10b981;
}

/* ==========================================================================
   Footer Nâng Cấp - Đồng bộ phong cách Dark Luxury BASAU.BAGS
   ========================================================================== */
.site-footer {
    background-color: #18181b !important;
    color: #ffffff;
    border-top: 1px solid #27272a;
}

.footer-col-title {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 8px;
    font-weight: 700;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 22px;
    height: 2px;
    background: #dc3545;
    border-radius: 2px;
}

.footer-link {
    color: #a1a1aa !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    transition: all 0.25s ease;
}

.footer-link .bi-chevron-right {
    font-size: 0.75rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-link:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

.footer-link:hover .bi-chevron-right {
    color: #dc3545;
}

.footer-badge-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e4e4e7;
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-badge-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
    color: #a1a1aa;
}

.footer-contact-item i {
    flex-shrink: 0;
}

.footer-contact-link {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hover-white:hover {
    color: #ffffff !important;
}
