/* =========================
   1. CÀI ĐẶT CHUNG
========================= */

:root {
  --primary: #087f9a;
  --primary-dark: #07566e;
  --primary-light: #e1f4f3;
  --navy: #10374b;
  --text: #304b59;
  --muted: #718894;
  --white: #ffffff;
  --background: #f2f8f8;
  --border: #dcebed;
  --shadow: 0 14px 38px rgba(11, 58, 78, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--header-height, 114px);
}

html:has(.site-header-wrapper:focus-within) {
  scroll-padding-top: 0 !important;
  scroll-padding-block-start: 0 !important;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 85px 0;
}

.categories-section,
.products-section,
.catalog-section {
  padding: 65px 0;
}

.eyebrow {
  display: inline-block; /*đặt phần tử thành khối nội tuyến để có thể áp dụng các thuộc tính chiều rộng và chiều cao*/
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.7px; /*định nghĩa khoảng cách giữa các ký tự trong văn bản*/
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2,
.about-text h2,
.newsletter h2 {
  color: var(--navy);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.8px;
}

.section-heading p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  flex-shrink: 0; /*đảm bảo liên kết không bị co lại khi không gian hạn chế*/
  color: var(--primary); /*đặt màu của liên kết thành màu chính*/
  font-size: 13px;
  font-weight: 700;
}

.text-link:hover {
  color: var(--primary-dark);
}

/* =========================
   2. THANH THÔNG BÁO
========================= */

.topbar {
  padding: 8px 20px;
  background: var(--primary-dark);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2px;
}

/* =========================
   3. HEADER
========================= */

.header {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--navy);
}

.logo img {
  width: 84px;
  height: 84px;
  border-radius: 6px;
  object-fit: contain;
}

.search-form {
  display: flex;
  flex: 0 1 340px;
  width: 100%;
  height: 44px;
  overflow: hidden;
  border: 1px solid #dce7e9;
  border-radius: 8px;
  background: #f8fbfb;
}

.search-form input {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}

.search-form input:focus {
  box-shadow: inset 0 0 0 1px var(--primary);
}

.search-form button,
.newsletter-form button {
  padding: 0 20px;
  border: 0;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.search-form button:hover,
.newsletter-form button:hover {
  background: var(--primary-dark);
}

.auth-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.auth-links .auth-profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  aspect-ratio: 1 / 1;
  flex: 0 0 44px;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px -1px rgba(15, 23, 42, 0.12), 0 0 0 1.5px rgba(2, 132, 199, 0.25);
  color: var(--white);
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-profile-avatar:hover,
.auth-profile-avatar:focus-visible {
  box-shadow: 0 0 0 2.5px var(--primary);
  transform: scale(1.05);
}

.auth-links .auth-profile-avatar img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
  flex-shrink: 0;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.cart-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 700;
}

.cart-icon {
  color: var(--primary);
  font-size: 21px;
}

.cart-link:hover {
  color: var(--primary);
}

/* =========================
   4. MENU ĐIỀU HƯỚNG
========================= */

.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 220px;
  flex-direction: column;
}

.nav-content {
  position: static;
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 20px;
  height: 20px;
}

.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-link {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
  min-height: 0;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-link-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-link:hover,
.nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* =========================
   5. BANNER CHÍNH
========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(172, 229, 225, 0.55),
      transparent 28%
    ),
    linear-gradient(120deg, #f0fbfa 0%, #f8fcfc 55%, #e4f5f4 100%);
}

.hero::before {
  position: absolute;
  top: -120px;
  left: -100px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(8, 126, 139, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.hero-image {
  position: relative;
  min-width: 0;
  width: 100%;
  flex: 1;
}

.hero-image > img {
  height: auto;
  min-height: 180px;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(16, 65, 77, 0.17);
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.28s ease,
    transform 0.4s ease;
}

.hero-image.is-changing > img {
  opacity: 0;
  transform: scale(1.015);
}

.banner-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(18, 52, 72, 0.48);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  transition: background 0.2s ease;
}

.banner-arrow:hover {
  background: rgba(18, 52, 72, 0.78);
}

.banner-previous {
  left: 14px;
}

.banner-next {
  right: 14px;
}

.banner-pagination {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.banner-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(18, 52, 72, 0.25);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.banner-dot.active {
  transform: scale(1.1);
  background: var(--white);
}

/* =========================
   7. DANH MỤC HẢI SẢN
========================= */

.categories-section {
  background: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 12px;
  background: #dce9e9;
  isolation: isolate;
}

.category-card::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 31, 42, 0.88) 0%,
    rgba(5, 31, 42, 0.15) 65%,
    transparent 100%
  );
  content: "";
}

.category-card img {
  height: 100%;
  transition: transform 0.45s ease;
}

.category-card:hover img {
  transform: scale(1.07);
}

.category-overlay {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: var(--white);
}

.category-overlay h3 {
  font-size: 20px;
}

.category-overlay span {
  display: inline-block;
  margin-top: 6px;
  color: #d9f6f2;
  font-size: 11px;
  font-weight: 600;
}

/* =========================
   8. SẢN PHẨM
========================= */

.products-section {
  background: var(--background);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  border: 1px solid #e9eff0;
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #edf4f4;
}

.product-image-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-image-trigger img {
  height: 100%;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-trigger img {
  transform: scale(1.05);
}

.product-image-trigger:focus-visible,
.product-name-trigger:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}

.product-name-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: left;
}

.product-name-trigger:hover {
  color: var(--primary);
}

.product-tag {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--primary);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
}

.tag-new {
  background: #e8a03c;
}

.favorite {
  position: absolute;
  z-index: 1;
  top: 11px;
  right: 11px;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: #65757c;
  font-size: 23px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.favorite:hover {
  background: #fff0f0;
  color: #e24f5a;
}

.favorite.is-favorite {
  background: #fff0f0;
  color: #e24f5a;
}

.product-info {
  padding: 17px;
}

.product-category {
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.product-info h3 {
  margin-top: 6px;
  color: var(--navy);
  font-size: 15px;
}

.product-description {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.review-stars {
  color: #e7a52d;
  letter-spacing: 1px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.product-page-main {
  min-height: calc(100vh - 100px);
  padding: 54px 0 80px;
  background: var(--background);
}

.product-detail-page {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-detail-page[aria-busy="true"] {
  min-height: 320px;
}

.product-not-found {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 30px 0;
}

.product-not-found h1 {
  color: var(--navy);
}

.product-not-found p {
  color: var(--muted);
}

.product-not-found .button-primary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border-radius: 7px;
  color: var(--white);
  font-weight: 700;
}

.product-detail-content {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 34px;
}

.product-detail-image {
  overflow: hidden;
  border-radius: 12px;
  background: var(--background);
}

.product-detail-image img {
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail-info h2 {
  margin-bottom: 8px;
  color: #3d4144;
  font-size: clamp(24px, 3.5vw, 31px);
  font-weight: 500;
  line-height: 1.3;
}

.product-detail-code,
.product-detail-description {
  margin-top: 7px;
  color: #45494c;
  font-size: 14px;
  line-height: 1.65;
}

.product-detail-code strong,
.product-detail-description strong,
.product-detail-stock strong,
.product-detail-tag strong {
  color: #34383b;
}

.product-detail-stock,
.product-detail-tag {
  margin-top: 8px;
  color: #45494c;
  font-size: 13px;
}

.product-detail-price {
  margin-top: 17px;
  color: #f36f21;
  font-size: 29px;
  font-weight: 800;
}

.product-detail-price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.product-detail-stock {
  margin-bottom: 10px;
}

.product-detail-unit {
  margin-top: 1px;
  color: #888;
  font-size: 12px;
}

.product-detail-quantity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.product-detail-quantity > label {
  color: #414649;
  font-size: 13px;
  font-weight: 700;
}

.quantity-control {
  display: inline-flex;
  height: 38px;
  overflow: hidden;
  border: 1px solid #d9dfe1;
  border-radius: 5px;
}

.quantity-control button,
.quantity-control input {
  display: grid;
  width: 38px;
  place-items: center;
  border: 0;
  background: var(--white);
  color: #414649;
  text-align: center;
}

.quantity-control button {
  font-size: 17px;
}

.quantity-control button:hover {
  background: var(--primary-light);
}

.quantity-control input {
  width: 46px;
  border-right: 1px solid #d9dfe1;
  border-left: 1px solid #d9dfe1;
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.product-detail-feedback {
  min-height: 20px;
  margin-top: 8px;
  color: var(--primary-dark);
  font-size: 12px;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.product-detail-actions button {
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.product-detail-actions button:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.product-detail-buy-now {
  background: #31a0d1;
}

.product-detail-actions .product-detail-add-cart {
  width: auto;
  height: auto;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fb7100;
  color: var(--white);
}

.product-page-reviews {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.product-page-reviews > h2 {
  color: var(--navy);
  font-size: 23px;
}

.product-page-reviews .review-panel {
  margin-top: 16px;
}

.store-promotion-dialog {
  position: fixed;
  width: min(680px, calc(100% - 32px));
  max-width: none;
  max-height: min(90vh, 760px);
  margin: auto;
  padding: 0 0 18px;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  text-align: center;
  animation: newsletter-modal-appear 0.22s ease-out;
}

.store-promotion-dialog::backdrop {
  background: rgba(9, 28, 38, 0.72);
  backdrop-filter: blur(4px);
}

.store-promotion-dialog > img {
  width: 100%;
  max-height: calc(90vh - 80px);
  object-fit: contain;
}

.store-promotion-close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(16, 47, 64, 0.7);
  color: var(--white);
  font-size: 27px;
  line-height: 1;
}

.store-promotion-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 28px;
  border: 0;
  border-radius: 7px;
  background: #fb7100;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.store-promotion-link:hover {
  filter: brightness(0.93);
}

.zalo-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 5px 18px rgba(10, 52, 83, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: zalo-pulse 2s infinite;
}

@keyframes zalo-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(0, 104, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

.zalo-float:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 22px rgba(10, 52, 83, 0.35);
  animation: none;
}

.zalo-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price strong {
  color: var(--primary-dark);
  font-size: 15px;
}

.price span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
}

.add-cart {
  display: grid;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 24px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.add-cart:hover {
  background: var(--primary);
  color: var(--white);
}

.review-panel {
  margin-top: 12px;
}

.product-page-reviews .review-panel {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

.review-panel-heading,
.review-item-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-panel-heading h4 {
  color: var(--navy);
  font-size: 16px;
}

.review-panel-heading > span,
.review-item time,
.review-empty {
  color: var(--muted);
  font-size: 12px;
}

.review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.review-filter {
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.review-filter:hover,
.review-filter.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.review-filter:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.review-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
}

.review-item-heading strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 11px;
}

.review-item time {
  display: block;
  margin-top: 5px;
}

.review-item > p {
  margin-top: 9px;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
}

.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.review-images img,
.review-image-preview img {
  width: 88px;
  height: 88px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .product-page-reviews .review-panel {
    padding: 15px;
  }

  .review-list {
    grid-template-columns: 1fr;
  }
}

.review-empty {
  margin: 12px 0;
}

.review-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.review-form label {
  display: grid;
  gap: 4px;
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
}

.review-form select,
.review-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.review-form textarea {
  min-height: 88px;
  resize: vertical;
}

.review-image-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.review-image-field input {
  width: 100%;
  min-height: 40px;
  padding: 7px;
  border: 1px dashed var(--border);
  border-radius: 7px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 12px;
}

.review-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-submit {
  justify-self: start;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.review-submit:hover {
  background: var(--primary-dark);
}

.review-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.catalog-section {
  background: var(--white);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.catalog-filter {
  min-width: 76px;
  padding: 9px 17px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.catalog-filter:hover,
.catalog-filter.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.catalog-filter:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.catalog-empty {
  margin: 0 0 24px;
  padding: 20px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.catalog-card[hidden] {
  display: none;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.catalog-pagination[hidden] {
  display: none;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pagination-button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.pagination-button:hover:not(:disabled),
.pagination-button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* =========================
   9. GIỚI THIỆU
========================= */

.about-section {
  padding: 90px 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  align-items: center;
  gap: 75px;
}

.about-image {
  position: relative;
}

.about-image::before {
  position: absolute;
  z-index: 0;
  top: -17px;
  left: -17px;
  width: 65%;
  height: 65%;
  border-radius: 14px;
  background: var(--primary-light);
  content: "";
}

.about-image img {
  position: relative;
  z-index: 1;
  height: 400px;
  border-radius: 14px;
}

.about-text h2 {
  margin-bottom: 18px;
}

.about-text > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.about-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 28px;
  list-style: none;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #415560;
  font-size: 12px;
}

.about-list li span {
  display: grid;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

/* =========================
   10. ĐĂNG KÝ NHẬN TIN
========================= */

.newsletter {
  padding: 48px 0;
  background: #eaf7f6;
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.newsletter h2 {
  font-size: clamp(23px, 2.5vw, 30px);
}

.newsletter p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

.newsletter-form {
  display: flex;
  width: min(420px, 100%);
  min-height: 49px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #d4e5e5;
  border-radius: 8px;
  background: var(--white);
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  padding: 0 15px;
  border: 0;
  outline: none;
  font-size: 11px;
}

.newsletter-form input:focus {
  box-shadow: inset 0 0 0 1px var(--primary);
}

.newsletter-modal[hidden] {
  display: none;
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 35, 48, 0.58);
}

.newsletter-modal-box {
  width: min(100%, 400px);
  padding: 30px 26px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  text-align: center;
  animation: newsletter-modal-appear 0.18s ease-out;
}

.newsletter-modal-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 30px;
  font-weight: 700;
}

.newsletter-modal-box h2 {
  color: var(--navy);
  font-size: 22px;
}

.newsletter-modal-box p {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

@keyframes newsletter-modal-appear {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================
   11. FOOTER
========================= */

.footer {
  background: #102f40;
  color: #d2e0e5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 1.15fr;
  gap: 45px;
  padding-top: 58px;
  padding-bottom: 48px;
}

.footer-brand > p {
  margin-top: 20px;
  color: #b2c5cc;
  font-size: 11px;
  line-height: 1.9;
}

.footer-brand .footer-slogan {
  margin-top: 12px;
  color: #7edbd0;
  font-weight: 700;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-column h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 13px;
}

.footer-column a,
.footer-column p {
  color: #b2c5cc;
  font-size: 10px;
  line-height: 1.8;
}

.footer-column a {
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #7edbd0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.footer-bottom p {
  color: #9eb5bf;
  font-size: 10px;
}

/* =========================
   12. RESPONSIVE TABLET
========================= */

@media (min-width: 768px) and (max-width: 1023px) {
  .header-content {
    gap: 12px;
  }

  .search-form {
    flex-basis: 240px;
  }

  .header-actions {
    gap: 12px;
  }

  .auth-links {
    gap: 8px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .category-card {
    height: 220px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .product-image {
    height: 250px;
  }

  .about-content {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
}

/* =========================
   13. RESPONSIVE ĐIỆN THOẠI
========================= */

@media (max-width: 767.98px) {
  .container {
    width: calc(100% - 30px);
  }

  .section {
    padding: 55px 0;
  }

  .categories-section,
  .products-section,
  .catalog-section {
    padding: 42px 0;
  }

  .topbar {
    font-size: 10px;
  }

  .header-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: auto;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 12px;
  }

  .cart-link {
    font-size: 10px;
  }

  .search-form {
    min-width: 0;
    flex: initial;
    width: 100%;
    height: 42px;
  }

  .search-form button {
    padding: 0 13px;
    font-size: 11px;
  }

  .hero {
    padding: 45px 0 50px;
  }

  .hero-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .navbar {
    width: 100%;
    flex-basis: auto;
  }

  .nav-toggle {
    min-height: 52px;
  }

  .nav-content {
    position: static;
    display: none;
    flex: initial;
    width: 100%;
    margin-top: 8px;
  }

  .navbar.is-open .nav-content {
    display: block;
  }

  .navbar.is-open .nav-toggle {
    border-color: var(--primary);
  }

  .nav-toggle-icon {
    transition: transform 0.2s ease;
  }

  .navbar.is-open .nav-toggle-icon {
    transform: rotate(90deg);
  }

  .hero-image {
    width: 100%;
  }

  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .section-heading h2,
  .about-text h2 {
    font-size: 27px;
  }

  .section-heading p {
    font-size: 12px;
  }

  .section-heading > .text-link {
    margin-top: 30px;
    font-size: 10px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-card {
    height: 190px;
  }

  .category-overlay {
    right: 12px;
    bottom: 13px;
    left: 12px;
  }

  .category-overlay h3 {
    font-size: 16px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-detail-page {
    padding: 18px;
  }

  .product-detail-content {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-detail-image {
    height: 145px;
  }

  .product-detail-image img {
    height: 145px;
    aspect-ratio: auto;
  }

  .product-detail-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-detail-info h2 {
    font-size: 25px;
  }

  .product-page-main {
    padding: 30px 0 55px;
  }

  .product-page-reviews {
    margin-top: 28px;
    padding-top: 22px;
  }

  .catalog-filters {
    gap: 8px;
    margin-bottom: 20px;
  }

  .catalog-filter {
    min-width: 64px;
    padding: 8px 13px;
    font-size: 11px;
  }

  .product-image {
    height: 165px;
  }

  .product-info {
    padding: 12px;
  }

  .product-info h3 {
    font-size: 13px;
  }

  .product-description {
    min-height: 35px;
    font-size: 10px;
  }

  .product-bottom {
    gap: 5px;
    margin-top: 12px;
    padding-top: 11px;
  }

  .price strong {
    font-size: 12px;
  }

  .price span {
    font-size: 9px;
  }

  .add-cart {
    width: 31px;
    height: 31px;
  }

  .product-tag {
    top: 8px;
    left: 8px;
    padding: 4px 6px;
    font-size: 8px;
  }

  .favorite {
    top: 8px;
    right: 8px;
    width: 29px;
    height: 29px;
    font-size: 20px;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-image img {
    height: 290px;
  }

  .about-text > p {
    font-size: 12px;
  }

  .newsletter {
    padding: 40px 0;
  }

  .newsletter-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .newsletter-form {
    width: 100%;
    min-height: 46px;
  }

  .newsletter-form button {
    padding: 0 15px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    padding-top: 42px;
    padding-bottom: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column h3 {
    font-size: 12px;
  }

  .footer-column a,
  .footer-column p {
    font-size: 10px;
  }

  .footer-bottom-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

/* =========================
   TINH CHỈNH GIAO DIỆN
========================= */

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(8, 127, 140, 0.18);
  color: var(--navy);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(8, 127, 140, 0.38);
  outline-offset: 3px;
}

.topbar {
  padding: 9px 20px;
  background: linear-gradient(90deg, #075e6b, #087f8c);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35px;
}

.logo img {
  border-radius: 10px;
}

.search-form,
.newsletter-form {
  border-color: #dce7e8;
  border-radius: 10px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.search-form:focus-within,
.newsletter-form:focus-within {
  border-color: rgba(8, 127, 140, 0.58);
  box-shadow: 0 0 0 4px rgba(8, 127, 140, 0.08);
}

.search-form input,
.newsletter-form input {
  font-size: 13px;
}

.search-form button,
.newsletter-form button {
  font-size: 13px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.auth-link,
.cart-link {
  font-size: 12px;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  font-size: 11px;
}

.nav-content {
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(18, 52, 72, 0.13);
}

.nav-toggle {
  border-radius: 10px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-toggle:hover {
  border-color: rgba(8, 127, 140, 0.45);
  background: #fbfefe;
  box-shadow: 0 5px 16px rgba(18, 52, 72, 0.06);
}

.nav-link {
  flex: initial;
  min-height: 44px;
  border-radius: 8px;
}

.hero {
  padding-top: 64px;
  padding-bottom: 64px;
  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(172, 229, 225, 0.62),
      transparent 30%
    ),
    linear-gradient(120deg, #eef9f8 0%, #f8fcfc 55%, #e6f4f3 100%);
}

.hero-image > img {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  box-shadow: 0 28px 65px rgba(16, 65, 77, 0.19);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2,
.about-text h2,
.newsletter h2 {
  letter-spacing: -0.6px;
}

.section-heading p {
  font-size: 15px;
}

.text-link {
  font-size: 14px;
}

.category-card {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(18, 52, 72, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(18, 52, 72, 0.15);
}

.category-overlay h3 {
  font-size: 21px;
  letter-spacing: -0.2px;
}

.category-overlay span {
  font-size: 12px;
}

.product-grid {
  gap: 22px;
}

.product-card {
  border-color: #e6eded;
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(18, 52, 72, 0.035);
}

.product-card:hover {
  box-shadow: 0 18px 38px rgba(18, 52, 72, 0.12);
}

.product-image {
  background: #edf4f3;
}

.product-tag {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2px;
}

.product-info {
  padding: 19px;
}

.product-category {
  font-size: 10px;
}

.product-info h3 {
  font-size: 16px;
  line-height: 1.45;
}

.product-description {
  font-size: 12px;
  line-height: 1.65;
}

.price strong {
  font-size: 16px;
}

.price span {
  font-size: 11px;
}

.add-cart {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.catalog-filter {
  min-height: 42px;
  padding-right: 19px;
  padding-left: 19px;
  font-size: 13px;
}

.catalog-filter:hover {
  transform: translateY(-1px);
}

.about-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.about-image img {
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(18, 52, 72, 0.12);
}

.about-text > p {
  font-size: 15px;
}

.about-list li {
  font-size: 14px;
}

.btn {
  min-height: 50px;
  border-radius: 10px;
  font-size: 13px;
}

.btn-primary {
  box-shadow: 0 8px 18px rgba(8, 127, 140, 0.18);
}

.newsletter {
  background:
    radial-gradient(circle at 8% 100%, rgba(8, 127, 140, 0.08), transparent 35%),
    #edf7f6;
}

.newsletter p {
  font-size: 14px;
}

.newsletter-form {
  min-height: 52px;
}

.footer-brand > p,
.footer-column a,
.footer-column p {
  font-size: 12px;
}

.footer-column h3 {
  font-size: 14px;
}

.footer-bottom p {
  font-size: 11px;
}

@media (max-width: 1023px) {
  .section-heading p {
    font-size: 14px;
  }

  .product-grid {
    gap: 18px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .section-heading > .text-link {
    font-size: 11px;
  }

  .category-card {
    border-radius: 13px;
  }

  .category-overlay h3 {
    font-size: 16px;
  }

  .product-grid {
    gap: 12px;
  }

  .product-info {
    padding: 12px;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .product-description {
    font-size: 11px;
  }

  .catalog-filter {
    min-height: 38px;
    font-size: 12px;
  }

  .about-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .about-text > p {
    font-size: 13px;
  }

  .about-list li {
    font-size: 13px;
  }

  .newsletter p {
    font-size: 13px;
  }

  .footer-brand > p,
  .footer-column a,
  .footer-column p {
    font-size: 11px;
  }
}

/* =========================
   BẢNG MÀU ĐẠI DƯƠNG
========================= */

.topbar {
  background: linear-gradient(100deg, #073c58 0%, #075f78 52%, #07899a 100%);
}

.header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #d9e9eb;
  box-shadow: 0 6px 24px rgba(10, 62, 82, 0.06);
}

.hero {
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(89, 198, 190, 0.3),
      transparent 30%
    ),
    radial-gradient(
      circle at 8% 100%,
      rgba(83, 166, 198, 0.15),
      transparent 36%
    ),
    linear-gradient(125deg, #e6f5f5 0%, #f4fbfa 48%, #d9eff0 100%);
}

.hero::before {
  border-color: rgba(8, 127, 154, 0.12);
}

.nav-link:hover,
.nav-link.active {
  background: linear-gradient(110deg, #e4f5f4, #edf7fa);
  color: var(--primary-dark);
}

.nav-toggle:hover {
  border-color: rgba(8, 127, 154, 0.45);
  background: #f5fbfb;
}

.search-form button,
.newsletter-form button,
.btn-primary,
.button-primary {
  background: linear-gradient(115deg, #087f9a, #079b9d);
}

.search-form button:hover,
.newsletter-form button:hover,
.btn-primary:hover,
.button-primary:hover {
  background: linear-gradient(115deg, #07566e, #087f87);
}

.products-section,
.auth-page,
.admin-page {
  background: linear-gradient(180deg, #f2f8f8 0%, #f8fbfb 100%);
}

.category-card {
  background: #d7ecee;
}

.category-card::after {
  background: linear-gradient(
    to top,
    rgba(5, 38, 55, 0.88) 0%,
    rgba(5, 48, 62, 0.17) 66%,
    transparent 100%
  );
}

.product-card {
  border-color: #deebed;
}

.product-image {
  background: linear-gradient(145deg, #eaf5f5, #deeff1);
}

.product-tag {
  background: #087f9a;
}

.tag-new {
  background: #e88b57;
}

.price strong,
.cart-item-info strong,
.cart-item-total {
  color: #087789;
}

.add-cart {
  background: linear-gradient(145deg, #e4f5f3, #e5f1f7);
  color: #087789;
}

.add-cart:hover {
  background: linear-gradient(115deg, #087f9a, #079b9d);
  color: var(--white);
}

.catalog-filter:hover,
.catalog-filter.active {
  border-color: #087f9a;
  background: linear-gradient(115deg, #087f9a, #079b9d);
}

.about-image::before {
  background: linear-gradient(145deg, #dff2f1, #e6f2f7);
}

.about-list li span,
.newsletter-modal-icon,
.payment-success-icon {
  background: #e1f4f3;
  color: #087789;
}

.newsletter {
  background:
    radial-gradient(
      circle at 92% 20%,
      rgba(82, 184, 179, 0.18),
      transparent 32%
    ),
    linear-gradient(110deg, #e5f4f2, #edf7f8);
}

.footer {
  background: linear-gradient(120deg, #082d43 0%, #0b4359 58%, #075766 100%);
}

.footer-bottom {
  border-top-color: rgba(212, 244, 245, 0.15);
}

.cart-items,
.cart-summary,
.payment-success,
.auth-card,
.admin-stat,
.admin-section {
  border-color: #deebed;
  box-shadow: 0 12px 32px rgba(11, 58, 78, 0.07);
}

.cart-item-controls button,
.admin-cancel-edit,
.admin-product-actions button {
  border-color: #dcebed;
}

.cart-item-controls button:hover,
.admin-cancel-edit:hover,
.admin-product-actions button:hover {
  border-color: #83c5ca;
  background: #eef8f7;
}

.cart-summary .cart-summary-total strong,
.admin-stat strong {
  color: #087789;
}

@media (max-width: 767.98px) {
  .header {
    background: #ffffff;
  }

  .hero {
    background:
      radial-gradient(
        circle at 90% 8%,
        rgba(89, 198, 190, 0.24),
        transparent 32%
      ),
      linear-gradient(135deg, #e8f6f5, #f4fafa 62%, #e1f1f3);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================
   14. ĐIỆN THOẠI NHỎ
========================= */

@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }

  .header-actions {
    gap: 8px;
  }

  .auth-links {
    gap: 6px;
  }

  .auth-link {
    font-size: 10px;
  }

  .cart-link {
    gap: 3px;
  }

  .category-card {
    height: 160px;
  }

  .product-image {
    height: 135px;
  }

  .product-info {
    padding: 9px;
  }

  .price strong {
    font-size: 11px;
  }
}

/* =========================
   15. TRANG GIỎ HÀNG
========================= */

.cart-page {
  min-height: 100vh;
  background: var(--background);
}

.cart-page .header-content {
  min-height: 76px;
}

.cart-continue-link {
  margin-left: auto;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.cart-main {
  padding: 56px 0 80px;
}

.cart-page-heading {
  margin-bottom: 28px;
}

.cart-page-heading h1 {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.25;
}

.cart-page-heading p {
  margin-top: 8px;
  color: var(--muted);
}

.cart-feedback {
  margin: -12px 0 20px;
  color: #b23a48;
  font-size: 13px;
  font-weight: 600;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 24px;
}

.cart-items,
.cart-summary {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.cart-items {
  padding: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:first-child {
  padding-top: 0;
}

.cart-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cart-item > img {
  width: 92px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item-info > span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.cart-item-info h2 {
  margin: 2px 0 4px;
  color: var(--navy);
  font-size: 16px;
}

.cart-item-info strong,
.cart-item-total {
  color: var(--primary-dark);
  font-size: 14px;
  white-space: nowrap;
}

.cart-item-info small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 18px;
}

.cart-item-controls input {
  width: 58px;
  height: 32px;
  padding: 0 4px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.cart-item-controls input:focus {
  border-color: var(--primary);
  outline: 2px solid rgba(8, 127, 140, 0.15);
}

.cart-qty-form .qty-stepper-small {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-qty-form .btn-step {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 18px;
  cursor: pointer;
}

.cart-qty-form .btn-step:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-quantity-input {
  width: 58px;
  height: 32px;
  padding: 0 4px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.cart-quantity-input:focus {
  border-color: var(--primary);
  outline: 2px solid rgba(8, 127, 140, 0.15);
}

.cart-remove {
  border: 0;
  background: none;
  color: #b23a48;
  font-size: 12px;
}

.cart-summary {
  padding: 22px;
}

.cart-summary h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 18px;
}

.loyalty-checkout {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #dcebed;
  border-radius: 10px;
  background: #f5fbfa;
}

.cart-voucher-section {
  display: grid;
  gap: 9px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #dcebed;
  border-radius: 10px;
  background: #fffaf0;
}

.cart-voucher-section[hidden],
.cart-voucher-section [hidden] {
  display: none !important;
}

.cart-voucher-section h3 {
  color: var(--navy);
  font-size: 14px;
}

.cart-voucher-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.cart-voucher-field {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.cart-voucher-field select {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.cart-voucher-empty {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.cart-voucher-empty a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

.cart-voucher-discount-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
  font-size: 12px;
}

.cart-voucher-discount-row strong {
  color: var(--primary-dark);
  text-align: right;
}

.loyalty-checkout [hidden] {
  display: none !important;
}

.loyalty-checkout h3 {
  color: var(--navy);
  font-size: 14px;
}

.loyalty-checkout .loyalty-login-prompt,
.loyalty-checkout .loyalty-redemption-hint {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.loyalty-login-prompt a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

.loyalty-checkout .loyalty-balance-row,
.loyalty-checkout .loyalty-discount-row {
  margin: 0;
  font-size: 12px;
}

.loyalty-checkout .loyalty-balance {
  color: var(--primary-dark);
}

.loyalty-redemption-field {
  display: grid;
  gap: 5px;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.loyalty-points-input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
}

.loyalty-checkout .loyalty-discount-row strong {
  color: var(--primary-dark);
}

.cart-summary > .loyalty-earning-hint {
  margin: 8px 0 0;
}

.loyalty-success-note,
.customer-order-loyalty,
.customer-order-voucher {
  color: var(--primary-dark);
  font-size: 12px;
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 13px 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-summary > div strong {
  color: var(--text);
  text-align: right;
}

.cart-summary .cart-shipping-hint {
  margin: -5px 0 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.cart-summary .cart-summary-total {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.cart-summary .cart-summary-total strong {
  color: var(--primary-dark);
  font-size: 17px;
}

.cart-summary .checkout-button {
  width: 100%;
  margin-top: 10px;
}

.checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button-primary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.cart-summary > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.cart-empty {
  display: grid;
  min-height: 310px;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.cart-empty > span {
  margin-bottom: 12px;
  font-size: 42px;
}

.cart-empty h2 {
  color: var(--navy);
  font-size: 20px;
}

.cart-empty p {
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.cart-layout[hidden] {
  display: none;
}

.payment-success {
  display: grid;
  justify-items: center;
  padding: 42px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.payment-success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 32px;
  font-weight: 700;
}

.payment-success h2 {
  color: var(--navy);
  font-size: 24px;
}

.payment-success p {
  margin-top: 8px;
  color: var(--text);
  font-size: 14px;
}

.payment-success .payment-demo-note {
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 11px;
}

.payment-success .payment-track-link {
  margin-bottom: 10px;
}

.payment-delivery-details {
  display: grid;
  gap: 5px;
  width: min(100%, 520px);
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--background);
  text-align: left;
}

.payment-delivery-details h3 {
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 14px;
}

.payment-success .payment-delivery-details p {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.delivery-confirmation-dialog {
  position: fixed;
  inset: 0;
  width: min(520px, calc(100% - 32px));
  max-height: min(90vh, 760px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
  box-sizing: border-box;
}

.delivery-confirmation-dialog::backdrop {
  background: rgba(13, 35, 48, 0.58);
}

.delivery-confirmation-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.delivery-confirmation-form h2 {
  color: var(--navy);
  font-size: 21px;
}

.delivery-confirmation-form > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.delivery-confirmation-form label,
.profile-shipping-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.delivery-confirmation-form input,
.delivery-confirmation-form textarea,
.delivery-confirmation-form select,
.profile-shipping-form input,
.profile-shipping-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--border);
  border-radius: 7px;
  outline-color: var(--primary);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.delivery-confirmation-form textarea,
.profile-shipping-form textarea {
  min-height: 88px;
  resize: vertical;
}

.delivery-confirmation-form input:disabled,
.delivery-confirmation-form textarea:disabled {
  background: #f3f7f7;
  color: var(--muted);
  cursor: not-allowed;
}

.delivery-confirmation-form .delivery-confirmation-hint {
  margin-top: -5px;
  font-size: 11px;
}

.delivery-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}

.delivery-confirmation-actions button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.delivery-confirmation-actions .button-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.delivery-confirmation-actions .button-primary:hover {
  background: var(--primary-dark);
}

.orders-page,
.profile-page {
  min-height: 100vh;
  background: var(--background);
}

.orders-page .header-content,
.profile-page .header-content {
  min-height: 76px;
}

.orders-main {
  padding: 48px 0 72px;
}

.orders-page-heading {
  margin-bottom: 24px;
}

.orders-page-heading h1 {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.25;
}

.orders-page-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.profile-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 800;
}

.customer-orders {
  display: grid;
  gap: 16px;
}

.customer-order,
.customer-orders-empty {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.customer-order.is-highlighted {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 127, 154, 0.12);
}

.customer-order-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.customer-order-heading-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.customer-order-thumbnails {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
}

.customer-order-thumbnail {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--background);
  object-fit: cover;
}

.customer-order-thumbnail-placeholder {
  color: var(--primary);
}

.customer-order-thumbnail-placeholder svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.customer-order-thumbnail-count {
  display: grid;
  width: 40px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--background);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.customer-order-heading .eyebrow {
  margin-bottom: 2px;
  font-size: 9px;
}

.customer-order-heading h2 {
  color: var(--navy);
  font-size: 17px;
}

.customer-order-status {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.customer-order-date {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.customer-order-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0;
  list-style: none;
}

.customer-order-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.customer-order-progress li::before {
  position: absolute;
  z-index: 0;
  top: 14px;
  left: calc(-50% + 14px);
  width: calc(100% - 28px);
  height: 2px;
  background: var(--border);
  content: "";
}

.customer-order-progress li:first-child::before {
  display: none;
}

.customer-order-progress li > span:first-child {
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.customer-order-progress li.is-complete,
.customer-order-progress li.is-current {
  color: var(--primary-dark);
  font-weight: 700;
}

.customer-order-progress li.is-complete::before {
  background: var(--primary);
}

.customer-order-progress li.is-complete > span:first-child,
.customer-order-progress li.is-current > span:first-child {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.customer-order-items {
  display: grid;
  gap: 8px;
  padding: 13px 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.customer-order-items li,
.customer-order-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-size: 12px;
}

.customer-order-shipping {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.customer-order-shipping strong {
  color: var(--text);
}

.customer-order-items li span {
  color: var(--muted);
  text-align: right;
}

.customer-order-items .customer-order-item {
  display: grid;
  gap: 10px;
}

.customer-order-item-summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 12px;
}

.customer-order-item-details {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.customer-order-item-details strong {
  color: var(--text);
  font-size: 13px;
}

.customer-order-item-details span {
  color: var(--muted);
  text-align: left;
}

.order-review-form {
  display: grid;
  width: min(100%, 620px);
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
}

.order-review-form label:first-of-type {
  grid-column: 1;
  grid-row: 1;
}

.order-review-form label:nth-of-type(2) {
  grid-column: 1 / -1;
}

.order-review-form .review-image-field {
  grid-column: 2;
  grid-row: 1;
}

.order-review-form .review-image-preview,
.order-review-form .review-submit,
.order-review-form .order-review-message {
  grid-column: 1 / -1;
}

.order-review-form .order-review-message {
  margin: 0;
}

.order-review-message:not(:empty) {
  color: var(--primary-dark);
  font-size: 11px;
}

@media (max-width: 560px) {
  .order-review-form {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .order-review-form label:first-of-type,
  .order-review-form .review-image-field,
  .order-review-form label:nth-of-type(2) {
    grid-column: 1;
    grid-row: auto;
  }
}

.customer-order-total {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-weight: 700;
}

.customer-order-total strong {
  color: var(--primary-dark);
}

.customer-order-cancel {
  min-height: 38px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid #d7a2a2;
  border-radius: 6px;
  background: var(--white);
  color: #a52a2a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.customer-order-cancel:hover,
.customer-order-cancel:focus-visible {
  background: #fff0f0;
}

.customer-order-message:not(:empty) {
  margin: 0 0 14px;
  color: #a52a2a;
  font-size: 12px;
}

.customer-order-cancel-dialog {
  width: min(460px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
}

.customer-order-cancel-dialog::backdrop {
  background: rgba(13, 35, 48, 0.55);
}

.customer-order-cancel-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.customer-order-cancel-form h2 {
  color: var(--navy);
  font-size: 20px;
}

.customer-order-cancel-form p {
  color: var(--muted);
  font-size: 13px;
}

.customer-order-cancel-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.customer-order-cancel-form .customer-order-cancel-other[hidden] {
  display: none;
}

.customer-order-cancel-form select,
.customer-order-cancel-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline-color: var(--primary);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.customer-order-cancel-form textarea {
  resize: vertical;
}

.customer-order-cancel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.customer-order-cancel-actions button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.customer-order-cancel-actions .customer-order-cancel-submit {
  border-color: #a52a2a;
  background: #a52a2a;
  color: var(--white);
}

.customer-order-cancelled {
  margin: 18px 0;
  padding: 12px;
  border-radius: 7px;
  background: #fff0f0;
  color: #a52a2a;
  font-size: 12px;
  font-weight: 700;
}

.customer-orders-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 42px 22px;
  text-align: center;
}

.customer-orders-empty h2 {
  color: var(--navy);
  font-size: 20px;
}

.customer-orders-empty p {
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   16. TÀI KHOẢN VÀ QUẢN TRỊ
========================= */

.auth-greeting {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.auth-logout {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.auth-page,
.admin-page {
  min-height: 100vh;
  background: var(--background);
}

.auth-page .header-content {
  min-height: 76px;
}

.auth-back-link {
  margin-left: auto;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.auth-main {
  display: grid;
  min-height: calc(100vh - 158px);
  place-items: center;
  padding: 42px 15px;
}

.auth-card {
  width: min(100%, 440px);
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  color: var(--navy);
  font-size: 30px;
  line-height: 1.25;
}

.auth-intro {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.auth-form {
  display: grid;
  gap: 9px;
}

.auth-form label {
  margin-top: 7px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  outline-color: var(--primary);
  background: var(--white);
  color: var(--text);
}

.auth-form .button-primary {
  width: 100%;
  margin-top: 5px;
}

.auth-message:not(:empty) {
  padding: 9px 11px;
  border-radius: 6px;
  background: #fff0f0;
  color: #a52a2a;
  font-size: 12px;
}

.auth-switch {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.auth-switch a {
  color: var(--primary-dark);
  font-weight: 700;
}

.admin-header-title {
  margin-left: 20px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.admin-main {
  padding: 42px 0 70px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
}

.admin-sidebar {
  position: sticky;
  top: 105px;
}

.admin-menu {
  display: grid;
  gap: 6px;
  padding: 16px 12px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff 0%, #f4fbfb 100%);
  box-shadow: 0 12px 30px rgba(11, 58, 78, 0.08);
  counter-reset: admin-menu-item;
}

.admin-menu::before {
  content: "ĐIỀU HƯỚNG";
  margin: 0 10px 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.admin-menu a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.admin-menu a::before {
  counter-increment: admin-menu-item;
  content: "0" counter(admin-menu-item);
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border-radius: 7px;
  background: #edf5f6;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.admin-menu a:hover,
.admin-menu a:focus-visible {
  outline: none;
  border-color: #d7ebed;
  background: #f1f9f9;
  color: var(--primary-dark);
  transform: translateX(2px);
}

.admin-menu a:hover::before,
.admin-menu a:focus-visible::before {
  background: var(--primary-dark);
  color: var(--white);
}

.admin-menu a[href="#admin-overview"],
.admin-layout:has(#admin-inventory:target) .admin-menu a[href="#admin-inventory"],
.admin-layout:has(#admin-orders:target) .admin-menu a[href="#admin-orders"],
.admin-layout:has(#admin-product-editor:target) .admin-menu a[href="#admin-product-editor"],
.admin-layout:has(#admin-products:target) .admin-menu a[href="#admin-products"],
.admin-layout:has(#admin-users:target) .admin-menu a[href="#admin-users"] {
  border-color: #d7ebed;
  background: linear-gradient(105deg, #e8f6f5, #f5fbfb);
  color: var(--primary-dark);
}

.admin-menu a[href="#admin-overview"]::before,
.admin-layout:has(#admin-inventory:target) .admin-menu a[href="#admin-inventory"]::before,
.admin-layout:has(#admin-orders:target) .admin-menu a[href="#admin-orders"]::before,
.admin-layout:has(#admin-product-editor:target) .admin-menu a[href="#admin-product-editor"]::before,
.admin-layout:has(#admin-products:target) .admin-menu a[href="#admin-products"]::before,
.admin-layout:has(#admin-users:target) .admin-menu a[href="#admin-users"]::before {
  background: var(--primary-dark);
  color: var(--white);
}

.admin-page-heading,
.admin-section {
  scroll-margin-top: 100px;
}

.admin-page-heading,
.admin-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-page-heading {
  margin-bottom: 26px;
}

.admin-page-heading h1 {
  color: var(--navy);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.25;
}

.admin-welcome {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat,
.admin-section {
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-stat {
  display: grid;
  gap: 5px;
  padding: 20px;
}

.admin-stat span,
.admin-section-heading span {
  color: var(--muted);
  font-size: 12px;
}

.admin-orders-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.admin-order-filter {
  display: grid;
  gap: 5px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.admin-order-filter select {
  min-width: 180px;
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline-color: var(--primary);
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.admin-stat strong {
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1.2;
}

.admin-section {
  margin-top: 18px;
  padding: 20px;
}

.admin-product-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-product-form-grid label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.admin-product-form-grid input,
.admin-product-form-grid select,
.admin-product-form-grid textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline-color: var(--primary);
  background: var(--white);
  color: var(--text);
  font-size: 12px;
  font-weight: 400;
}

.admin-product-form-grid textarea {
  resize: vertical;
}

.admin-form-description {
  grid-column: 1 / -1;
}

.admin-featured-toggle {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  align-self: end;
  min-height: 42px;
}

.admin-featured-toggle input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--primary);
}

.admin-product-form-actions {
  display: flex;
  gap: 10px;
}

.admin-cancel-edit,
.admin-product-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.admin-product-message:not(:empty) {
  margin: 12px 0;
  color: var(--primary-dark);
  font-size: 12px;
}

.admin-section-heading {
  margin-bottom: 14px;
}

.admin-product-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(2, minmax(150px, 0.8fr)) auto;
  align-items: end;
  gap: 12px;
  margin: 0 0 16px;
}

.admin-product-filters > label:not(.admin-product-search) {
  display: grid;
  gap: 5px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.admin-product-search {
  display: flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  color: var(--muted);
}

.admin-product-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.1);
}

.admin-product-search > span {
  font-size: 21px;
  line-height: 1;
}

.admin-product-search input,
.admin-product-filters select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
}

.admin-product-filters select {
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
}

.admin-product-filter-count {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.admin-product-filter-empty td {
  padding: 22px 10px;
  color: var(--muted);
  text-align: center;
}

.admin-products tbody tr[hidden] {
  display: none;
}

.admin-section-heading h2 {
  color: var(--navy);
  font-size: 18px;
}

.admin-report-date {
  display: grid;
  gap: 5px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.admin-report-date input,
.admin-order-status {
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline-color: var(--primary);
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.admin-report-summary {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 12px;
}

.admin-order-message:not(:empty) {
  margin-bottom: 12px;
  color: #a52a2a;
  font-size: 12px;
}

.admin-order-filter-empty {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.admin-order-cancel-reason {
  display: block;
  max-width: 220px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  white-space: normal;
}

.admin-orders tbody tr[hidden] {
  display: none;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  white-space: nowrap;
}

.admin-table th {
  color: var(--muted);
  font-size: 11px;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-products td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-products td:first-child img {
  width: 42px;
  height: 38px;
  border-radius: 5px;
}

.admin-product-actions {
  display: flex;
  gap: 6px;
}

.admin-product-actions .admin-edit-product {
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

.admin-product-actions .admin-delete-product {
  border-color: #f1d3d3;
  color: #a52a2a;
}

.profile-page {
  background: #f5f5f5;
}

.profile-topbar {
  padding: 0;
  background: #0879df;
  text-align: left;
}

.profile-topbar .container {
  display: flex;
  min-height: 42px;
  align-items: center;
}

.profile-topbar a {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.profile-main {
  min-height: calc(100vh - 42px);
  padding: 18px 0;
}

.profile-layout {
  display: grid;
  width: min(1140px, calc(100% - 32px));
  min-height: calc(100vh - 78px);
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  margin: 0 auto;
}

.profile-sidebar {
  display: flex;
  position: sticky;
  top: 18px;
  align-self: start;
  flex-direction: column;
  height: fit-content;
  padding: 8px;
  border: 1px solid #e9e9e9;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
}

.profile-sidebar-user {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #f3f4f6;
}

.profile-sidebar-user h1 {
  overflow: hidden;
  color: #17212b;
  font-size: 15px;
  text-overflow: ellipsis;
}

.profile-sidebar .profile-avatar {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  background: #0879df;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.profile-avatar-picker {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}

.profile-avatar-picker:focus-within {
  outline: 2px solid #0879df;
  outline-offset: 3px;
}

.profile-avatar-picker .profile-avatar {
  display: grid;
  margin: 0;
}

.profile-avatar-picker [hidden] {
  display: none !important;
}

.profile-avatar-image {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-avatar-edit-icon {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: #0879df;
  color: var(--white);
  font-size: 11px;
  line-height: 1;
}

.profile-avatar-input {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.profile-avatar-message {
  min-height: 0;
  padding: 0 12px;
  color: #0879df;
  font-size: 11px;
}

.profile-avatar-message:not(:empty) {
  padding-top: 7px;
}

.profile-navigation {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.profile-nav-link,
.profile-contact-link {
  display: grid;
  min-height: 52px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #253441;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.profile-nav-link[href] {
  text-decoration: none;
}

.profile-nav-link:hover,
.profile-nav-link.is-active {
  background: #f1f1f1;
}

.profile-logout {
  margin-top: 7px;
  border-top: 1px solid #eeeeee;
  border-radius: 0 0 9px 9px;
  color: #c13c3c;
}

.profile-logout .profile-nav-icon {
  color: #c13c3c;
}

.profile-logout:hover {
  background: #fff1f1;
}

.profile-nav-icon {
  color: #0879df;
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.profile-nav-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vertical-align: middle;
}

.profile-nav-arrow {
  color: #9aa2a8;
  font-size: 23px;
}

.profile-contact-link {
  cursor: pointer;
}

.profile-contact-link > span:last-child {
  color: #0879df;
  font-size: 12px;
  text-align: right;
}

.profile-home-link {
  display: grid;
  min-height: 44px;
  place-items: center;
  margin-top: auto;
  border-radius: 9px;
  background: #eeeeee;
  color: #17212b;
  font-size: 14px;
  font-weight: 700;
}

.profile-home-link:hover {
  background: #e5e5e5;
}

.profile-content {
  min-width: 0;
  padding-top: 2px;
}

.profile-panel[hidden],
.profile-filter-empty[hidden],
.profile-order-filter-empty[hidden],
.customer-order[hidden] {
  display: none !important;
}

.profile-panel > h2 {
  margin-bottom: 14px;
  color: #202831;
  font-size: 19px;
  line-height: 1.4;
}

.profile-order-search {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #d4d4d4;
  border-radius: 11px;
  background: var(--white);
  color: #818991;
}

.profile-order-search > span {
  font-size: 24px;
  line-height: 1;
}

.profile-order-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.profile-order-search input::placeholder {
  color: #94999e;
}

.profile-tabs {
  display: flex;
  gap: 0;
  margin: 14px 0 16px;
  border-bottom: 2px solid #d8d8d8;
}

.profile-tab {
  position: relative;
  min-height: 43px;
  padding: 0 17px;
  border: 0;
  background: transparent;
  color: #858b91;
  font-size: 14px;
  cursor: pointer;
}

.profile-tab.is-active {
  color: #0879df;
  font-weight: 700;
}

.profile-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 2px;
  background: #0879df;
  content: "";
}

.profile-content .customer-orders {
  gap: 13px;
}

.profile-content .customer-order,
.profile-content .customer-orders-empty {
  padding: 22px;
  border-color: #ededed;
  border-radius: 17px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
}

.profile-content .customer-orders-empty {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.profile-content .customer-orders-empty h2 {
  margin-bottom: 5px;
  color: #293b4b;
  font-size: 16px;
}

.profile-content .customer-orders-empty p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.profile-content .customer-orders-empty .button-primary {
  min-height: 38px;
  padding: 10px 16px;
}

.profile-filter-empty {
  margin: 20px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.profile-detail-card {
  display: grid;
  gap: 0;
  padding: 6px 20px;
  border: 1px solid #ededed;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.profile-detail-card > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #ededed;
  font-size: 14px;
}

.profile-detail-card > div:last-child {
  border-bottom: 0;
}

.profile-detail-card span,
.profile-panel-description {
  color: var(--muted);
}

.profile-detail-card strong {
  color: #253441;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.profile-detail-card .profile-detail-readonly {
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
}

.profile-inline-edit {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #eef7fb;
  color: #0879df;
  font-size: 18px;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.profile-inline-edit:hover {
  background: #dcefff;
  color: #055cae;
}

.profile-inline-edit:focus-visible,
.profile-inline-save:focus-visible,
.profile-inline-cancel:focus-visible {
  outline: 2px solid #0879df;
  outline-offset: 2px;
}

.profile-detail-card [hidden] {
  display: none !important;
}

.profile-inline-input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline-color: var(--primary);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

textarea.profile-inline-input {
  min-height: 72px;
  resize: vertical;
}

.profile-inline-actions {
  display: flex;
  grid-column: 2 / -1;
  justify-content: flex-end;
  gap: 8px;
}

.profile-inline-save,
.profile-inline-cancel {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid #dbe3e7;
  border-radius: 7px;
  background: var(--white);
  color: #46545e;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.profile-inline-save {
  border-color: #087f8c;
  background: #087f8c;
  color: var(--white);
}

.profile-account-message:not(:empty) {
  margin-top: 12px;
  color: var(--primary-dark);
  font-size: 12px;
}

.profile-account-message.is-error {
  color: #b23a48;
}

.profile-panel-description {
  margin: -5px 0 16px;
  font-size: 13px;
}

.profile-order-status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.profile-order-status-filter {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #e1e5e8;
  border-radius: 999px;
  background: var(--white);
  color: #59636c;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.profile-order-status-filter span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #eef1f3;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
}

.profile-order-status-filter:hover,
.profile-order-status-filter.is-active {
  border-color: #0879df;
  background: #eef7ff;
  color: #0879df;
}

.profile-order-status-filter.is-active span {
  background: #d8ebff;
}

.profile-order-status-filter:focus-visible {
  outline: 2px solid #0879df;
  outline-offset: 2px;
}

.profile-order-filter-empty {
  margin: 20px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.profile-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #f0f2f4;
  color: #0879df;
  font-size: 36px;
  line-height: 1;
}

.profile-empty-icon svg {
  width: 34px;
  fill: #cbd1d7;
  stroke: #aeb6bf;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.profile-shipping-form {
  display: grid;
  max-width: 680px;
  gap: 15px;
  padding: 22px;
  border: 1px solid #ededed;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.profile-shipping-form h3 {
  color: var(--navy);
  font-size: 16px;
}

.profile-address-list {
  display: grid;
  max-width: 680px;
  gap: 10px;
  margin: 16px 0 22px;
}

.profile-address-card {
  display: grid;
  gap: 5px;
  padding: 15px 18px;
  border: 1px solid #dcebed;
  border-radius: 10px;
  background: var(--white);
}

.profile-address-card strong {
  color: var(--navy);
  font-size: 13px;
}

.profile-address-card span,
.profile-address-card a,
.profile-address-empty {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.profile-address-card a {
  color: var(--primary-dark);
  text-decoration: none;
}

.membership-overview,
.membership-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.membership-current-tier,
.membership-monthly-spend,
.membership-benefit-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid #dcebed;
  border-radius: 12px;
  background: var(--white);
}

.membership-current-tier > span,
.membership-monthly-spend > span {
  color: var(--muted);
  font-size: 12px;
}

.membership-tier-name {
  color: var(--primary-dark);
  font-size: 26px;
}

.membership-month-spend {
  color: var(--navy);
  font-size: 24px;
}

.membership-monthly-spend small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.membership-progress-section,
.membership-benefits-section {
  margin-top: 24px;
}

.membership-progress-section h3,
.membership-benefits-section h3 {
  color: var(--navy);
  font-size: 17px;
}

.membership-benefits-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.membership-progress-section p,
.membership-progress-section li,
.membership-benefit-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.membership-progress-section ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.membership-benefit-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.membership-benefit-card h4 {
  color: var(--navy);
  font-size: 15px;
}

.membership-benefit-card.is-current {
  border-color: var(--primary);
  background: #f2fbf9;
  box-shadow: 0 0 0 2px rgba(8, 127, 140, 0.08);
}

.profile-shipping-form .button-primary {
  justify-self: start;
  min-height: 42px;
  padding: 0 16px;
}

.profile-shipping-message:not(:empty) {
  margin: 0;
  color: var(--primary-dark);
  font-size: 12px;
}

.customer-order-delivery {
  display: grid;
  gap: 5px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #dcebed;
  border-radius: 8px;
  background: #f5fbfa;
  color: var(--text);
  font-size: 12px;
}

.customer-order-delivery strong {
  color: var(--navy);
}

.customer-order-delivery span {
  overflow-wrap: anywhere;
}

.customer-order-delivery a,
.admin-orders a {
  color: var(--primary-dark);
}

.voucher-page {
  min-height: 100vh;
  background: var(--background);
}

.voucher-page .header-content {
  min-height: 76px;
}

.voucher-main {
  padding: 48px 0 72px;
}

.voucher-intro {
  margin-bottom: 38px;
  padding: 30px;
  border: 1px solid #dcebed;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 8%, rgba(89, 198, 190, 0.2), transparent 34%),
    linear-gradient(120deg, #f4fbfa, #ffffff 68%, #edf8f6);
  box-shadow: 0 12px 32px rgba(11, 58, 78, 0.06);
}

.voucher-intro h1 {
  margin-top: 7px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 38px);
}

.voucher-intro > p:not(.voucher-feedback) {
  margin-top: 8px;
  color: var(--muted);
}

.voucher-intro > .voucher-point-rule {
  font-size: 12px;
}

.voucher-points {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid #dcebed;
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
}

.voucher-points > span,
.voucher-points strong {
  color: var(--primary-dark);
}

.voucher-feedback:not(:empty) {
  margin-top: 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
}

.voucher-feedback.is-error {
  color: #b23a48;
}

.voucher-catalog-section,
.voucher-wallet-section {
  margin-top: 38px;
}

.voucher-catalog-section .section-heading,
.voucher-wallet-section .section-heading {
  align-items: flex-end;
}

.voucher-grid {
  display: grid;
  gap: 28px;
}

.voucher-type-group {
  display: grid;
  gap: 12px;
}

.voucher-type-heading h3,
.voucher-wallet-group > h3 {
  color: var(--navy);
  font-size: 18px;
}

.voucher-type-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.voucher-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.voucher-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid #d6e9ec;
  border-left: 5px solid #0788a1;
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0%, rgba(28, 167, 177, 0.13), transparent 34%),
    linear-gradient(120deg, #fff 0%, #f5fcfc 100%);
  box-shadow: 0 8px 24px rgba(11, 58, 78, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.voucher-card::before {
  position: absolute;
  z-index: -1;
  top: -36px;
  right: -30px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(8, 136, 161, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 14px rgba(8, 136, 161, 0.035),
    0 0 0 29px rgba(8, 136, 161, 0.025);
  content: "";
  pointer-events: none;
}

.voucher-card:hover {
  transform: translateY(-3px);
  border-color: #a9d6dc;
  box-shadow: 0 14px 30px rgba(11, 58, 78, 0.12);
}

.voucher-card--percent {
  border-color: #e6ddf3;
  border-left-color: #8b5cc3;
  background:
    radial-gradient(circle at 100% 0%, rgba(156, 116, 202, 0.15), transparent 36%),
    linear-gradient(120deg, #fff 0%, #fbf8ff 100%);
}

.voucher-card--percent::before {
  border-color: rgba(139, 92, 195, 0.12);
  box-shadow:
    0 0 0 14px rgba(139, 92, 195, 0.035),
    0 0 0 29px rgba(139, 92, 195, 0.025);
}

.voucher-card--percent:hover {
  border-color: #d0b8e9;
}

.voucher-card--discount {
  border-left-color: #df8d36;
  background:
    radial-gradient(circle at 100% 0%, rgba(235, 174, 93, 0.17), transparent 36%),
    linear-gradient(120deg, #fff 0%, #fffaf3 100%);
}

.voucher-card--discount::before {
  border-color: rgba(223, 141, 54, 0.13);
  box-shadow:
    0 0 0 14px rgba(223, 141, 54, 0.035),
    0 0 0 29px rgba(223, 141, 54, 0.025);
}

.voucher-card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(8, 136, 161, 0.12);
  border-radius: 15px;
  background: linear-gradient(145deg, #e3f8f5, #ccefeb);
  color: #087c91;
  font-size: 23px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(8, 136, 161, 0.1);
}

.voucher-card--percent .voucher-card-icon {
  border-color: #e4d5f3;
  background: linear-gradient(145deg, #f3eafa, #e8d9f6);
  color: #8150b5;
  box-shadow: 0 4px 10px rgba(139, 92, 195, 0.1);
}

.voucher-card--discount .voucher-card-icon {
  border-color: #f3dfc5;
  background: linear-gradient(145deg, #fff2dd, #ffe4bd);
  color: #b66b1c;
  box-shadow: 0 4px 10px rgba(223, 141, 54, 0.1);
}

.voucher-card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.voucher-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 92px;
  align-content: start;
  gap: 6px;
}

.voucher-card-label {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e6f6f4;
  color: #087c91;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.voucher-card--percent .voucher-card-label {
  background: #f1e9f8;
  color: #8150b5;
}

.voucher-card--discount .voucher-card-label {
  background: #fff0db;
  color: #a85c12;
}

.voucher-card-content h2 {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.3;
}

.voucher-card-content p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.voucher-cost {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid #d6ece9;
  border-radius: 7px;
  background: #f1faf8;
  color: #087c68;
  font-size: 12px;
  font-weight: 800;
}

.voucher-cost s {
  color: #859398;
  font-weight: 400;
}

.voucher-redeem-button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  background: linear-gradient(100deg, #078a9e, #087a96);
  box-shadow: 0 4px 11px rgba(8, 122, 150, 0.18);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.voucher-redeem-button:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 7px 15px rgba(8, 122, 150, 0.25);
}

.voucher-redeem-button:disabled {
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.55;
}

.voucher-wallet {
  display: grid;
  gap: 22px;
}

.voucher-wallet-group {
  display: grid;
  gap: 10px;
}

.voucher-wallet-group > div {
  display: grid;
  gap: 10px;
}

.voucher-wallet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #dcebed;
  border-radius: 12px;
  background: var(--white);
}

.voucher-wallet-item > div {
  display: grid;
  gap: 5px;
}

.voucher-wallet-item strong {
  color: var(--navy);
  font-size: 14px;
}

.voucher-wallet-item code {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.voucher-wallet-status {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.voucher-wallet-item.is-used {
  opacity: 0.62;
}

.voucher-wallet-item.is-used .voucher-wallet-status {
  color: var(--muted);
}

.voucher-wallet-item.is-expired {
  border-color: #e3d8d1;
  background: #faf7f5;
  opacity: 0.68;
}

.voucher-wallet-item.is-expired .voucher-wallet-status {
  color: #8b5e4b;
}

.voucher-wallet-empty {
  padding: 22px;
  border: 1px dashed #b9d4d7;
  border-radius: 12px;
  background: var(--white);
  text-align: center;
}

.voucher-wallet-empty p {
  color: var(--navy);
  font-weight: 700;
}

.voucher-wallet-empty span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.profile-voucher-wallet {
  gap: 24px;
}

.profile-voucher-wallet .voucher-wallet-group {
  gap: 12px;
}

.profile-voucher-wallet .voucher-wallet-group > h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0879df;
  font-size: 15px;
}

.profile-voucher-wallet .voucher-wallet-group > h3::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.profile-voucher-wallet .voucher-wallet-group:nth-child(2) > h3 {
  color: #8a55c5;
}

.profile-voucher-wallet .voucher-wallet-item {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 18px 20px 18px 24px;
  border-color: #d8eafa;
  border-left: 5px solid #1684e8;
  border-radius: 15px;
  background: linear-gradient(110deg, #fff 0%, #f2f8ff 100%);
  box-shadow: 0 5px 16px rgba(15, 83, 139, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.profile-voucher-wallet .voucher-wallet-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(15, 83, 139, 0.13);
}

.profile-voucher-wallet .voucher-wallet-group:nth-child(2) .voucher-wallet-item {
  border-color: #e6dcf3;
  border-left-color: #9564cb;
  background: linear-gradient(110deg, #fff 0%, #faf6ff 100%);
}

.profile-voucher-wallet .voucher-wallet-item > div {
  gap: 7px;
  padding-right: 142px;
}

.profile-voucher-wallet .voucher-wallet-item strong {
  font-size: 16px;
}

.profile-voucher-wallet .voucher-wallet-item > div > span {
  color: #667582;
  font-size: 12px;
  line-height: 1.45;
}

.profile-voucher-wallet .voucher-wallet-item code {
  display: inline-block;
  margin-left: 3px;
  padding: 4px 9px;
  border: 1px dashed #8bb9e2;
  border-radius: 6px;
  background: #fff;
  color: #075eae;
  font-size: 13px;
  letter-spacing: 0.07em;
}

.profile-voucher-wallet .voucher-wallet-item::after {
  position: absolute;
  top: 16px;
  right: 130px;
  bottom: 16px;
  border-left: 1px dashed #b8d1e8;
  content: "";
}

.profile-voucher-wallet .voucher-wallet-status {
  min-width: 112px;
  padding: 8px 11px;
  border: 1px solid #bce6d0;
  border-radius: 999px;
  background: #eaf8f0;
  color: #187344;
  text-align: center;
}

.profile-voucher-wallet .voucher-wallet-group:nth-child(2) .voucher-wallet-status {
  border-color: #ddcbed;
  background: #f3ebfb;
  color: #70439f;
}

.profile-voucher-wallet .voucher-wallet-item.is-used,
.profile-voucher-wallet .voucher-wallet-item.is-expired {
  filter: saturate(0.55);
}

.profile-voucher-wallet .voucher-wallet-item.is-used .voucher-wallet-status,
.profile-voucher-wallet .voucher-wallet-item.is-expired .voucher-wallet-status {
  border-color: #d8dde1;
  background: #f0f2f4;
  color: #66717a;
}

.profile-voucher-wallet .voucher-wallet-empty {
  padding: 34px 22px;
  border-color: #b9d4e9;
  background: linear-gradient(135deg, #fff 0%, #f2f8ff 100%);
  box-shadow: 0 5px 16px rgba(15, 83, 139, 0.06);
}

.voucher-page .voucher-wallet {
  gap: 24px;
}

.voucher-page .voucher-wallet-group {
  gap: 12px;
}

.voucher-page .voucher-wallet-group > h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #087c91;
  font-size: 16px;
}

.voucher-page .voucher-wallet-group > h3::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(8, 124, 145, 0.1);
  content: "";
}

.voucher-page .voucher-wallet-group:nth-child(2) > h3 {
  color: #8150b5;
}

.voucher-page .voucher-wallet-group > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.voucher-page .voucher-wallet-item {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  align-items: flex-start;
  padding: 17px 17px 17px 20px;
  border-color: #d3e9ec;
  border-left: 5px solid #0788a1;
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(28, 167, 177, 0.13), transparent 38%),
    linear-gradient(120deg, #fff 0%, #f5fcfc 100%);
  box-shadow: 0 6px 18px rgba(11, 58, 78, 0.06);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.voucher-page .voucher-wallet-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 58, 78, 0.11);
}

.voucher-page .voucher-wallet-group:nth-child(2) .voucher-wallet-item {
  border-color: #e5d9f2;
  border-left-color: #8b5cc3;
  background:
    radial-gradient(circle at 100% 0%, rgba(156, 116, 202, 0.14), transparent 38%),
    linear-gradient(120deg, #fff 0%, #fbf8ff 100%);
}

.voucher-page .voucher-wallet-item > div {
  gap: 7px;
  padding-right: 106px;
}

.voucher-page .voucher-wallet-item strong {
  font-size: 15px;
}

.voucher-page .voucher-wallet-item > div > span {
  color: #667582;
  font-size: 12px;
  line-height: 1.45;
}

.voucher-page .voucher-wallet-item code {
  display: inline-block;
  margin-left: 4px;
  padding: 4px 8px;
  border: 1px dashed #8bb9c7;
  border-radius: 6px;
  background: #fff;
  color: #08758a;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.voucher-page .voucher-wallet-item::after {
  position: absolute;
  top: 15px;
  right: 112px;
  bottom: 15px;
  border-left: 1px dashed #bad5db;
  content: "";
}

.voucher-page .voucher-wallet-status {
  min-width: 98px;
  padding: 7px 9px;
  border: 1px solid #bce6d0;
  border-radius: 999px;
  background: #eaf8f0;
  color: #187344;
  text-align: center;
}

.voucher-page .voucher-wallet-group:nth-child(2) .voucher-wallet-status {
  border-color: #ddcbed;
  background: #f3ebfb;
  color: #70439f;
}

.voucher-page .voucher-wallet-item.is-used,
.voucher-page .voucher-wallet-item.is-expired {
  filter: saturate(0.55);
}

.voucher-page .voucher-wallet-item.is-used .voucher-wallet-status,
.voucher-page .voucher-wallet-item.is-expired .voucher-wallet-status {
  border-color: #d8dde1;
  background: #f0f2f4;
  color: #66717a;
}

.voucher-page .voucher-wallet-empty {
  padding: 32px 22px;
  border-color: #b9d4d7;
  background: linear-gradient(135deg, #fff 0%, #f2f9fa 100%);
  box-shadow: 0 6px 18px rgba(11, 58, 78, 0.05);
}

@media (max-width: 760px) {
  .profile-main {
    padding: 14px 0 24px;
  }

  .profile-layout {
    width: min(100% - 24px, 600px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-sidebar {
    position: static;
    min-height: auto;
  }

  .profile-sidebar-user {
    min-height: 64px;
  }

  .profile-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .profile-nav-link,
  .profile-contact-link {
    min-height: 48px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px;
    padding: 0 8px;
    font-size: 12px;
  }

  .profile-nav-arrow,
  .profile-contact-link > span:last-child {
    display: none;
  }

  .profile-home-link {
    min-height: 40px;
    margin-top: 12px;
  }

  .profile-content .customer-order,
  .profile-content .customer-orders-empty {
    padding: 16px;
  }

  .profile-shipping-form {
    padding: 16px;
  }

  .profile-detail-card > div {
    grid-template-columns: minmax(86px, 0.55fr) minmax(0, 1fr) auto;
    gap: 8px;
    font-size: 12px;
  }

  .profile-detail-card .profile-detail-readonly {
    grid-template-columns: minmax(86px, 0.55fr) 1fr;
  }

  .profile-inline-edit {
    width: 30px;
    height: 30px;
  }

  .membership-overview,
  .membership-benefit-list {
    grid-template-columns: 1fr;
  }

  .profile-voucher-wallet .voucher-wallet-item {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 17px 17px;
  }

  .profile-voucher-wallet .voucher-wallet-item > div {
    padding-right: 0;
  }

  .profile-voucher-wallet .voucher-wallet-item::after {
    top: auto;
    right: 16px;
    bottom: 58px;
    left: 16px;
    border-top: 1px dashed #b8d1e8;
    border-left: 0;
  }

  .profile-voucher-wallet .voucher-wallet-status {
    min-width: 0;
    padding: 6px 10px;
  }

  .voucher-main {
    padding: 28px 0 48px;
  }

  .voucher-intro {
    margin-bottom: 28px;
    padding: 22px 18px;
  }

  .voucher-type-grid {
    grid-template-columns: 1fr;
  }

  .voucher-page .voucher-wallet-group > div {
    grid-template-columns: 1fr;
  }

  .voucher-page .voucher-wallet-item {
    min-height: 0;
    flex-direction: column;
    gap: 14px;
    padding: 16px 17px;
  }

  .voucher-page .voucher-wallet-item > div {
    padding-right: 0;
  }

  .voucher-page .voucher-wallet-item::after {
    top: auto;
    right: 16px;
    bottom: 57px;
    left: 16px;
    border-top: 1px dashed #bad5db;
    border-left: 0;
  }

  .voucher-page .voucher-wallet-status {
    min-width: 0;
    padding: 6px 10px;
  }

  .voucher-card {
    padding: 16px;
  }

  .voucher-catalog-section,
  .voucher-wallet-section {
    margin-top: 28px;
  }
}

@media (max-width: 480px) {
  .delivery-confirmation-form {
    padding: 18px;
  }

  .delivery-confirmation-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .delivery-confirmation-actions button {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .cart-page .header-content {
    display: flex;
    flex-wrap: wrap;
    min-height: 72px;
  }

  .cart-page .logo img {
    width: 64px;
    height: 64px;
  }

  .cart-continue-link {
    font-size: 11px;
  }

  .product-page .header-content {
    column-gap: 8px;
  }

  .cart-main {
    padding: 38px 0 55px;
  }

  .orders-main {
    padding: 34px 0 52px;
  }

  .customer-order,
  .customer-orders-empty {
    padding: 16px;
  }

  .customer-order-progress {
    gap: 3px;
    margin: 18px 0;
  }

  .customer-order-progress li {
    font-size: 9px;
  }

  .customer-order-items li,
  .customer-order-total {
    font-size: 11px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-items {
    padding: 12px;
  }

  .cart-item {
    grid-template-columns: 66px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .cart-item > img {
    width: 66px;
    height: 66px;
  }

  .cart-item-info h2 {
    font-size: 13px;
  }

  .cart-item-info strong,
  .cart-item-total {
    font-size: 12px;
  }

  .cart-item-controls {
    grid-column: 2;
    grid-row: 2;
    gap: 7px;
  }

  .cart-item-controls button {
    width: 26px;
    height: 26px;
  }

  .cart-item-controls input {
    width: 52px;
    height: 28px;
  }

  .cart-qty-form .btn-step {
    width: 26px;
    height: 26px;
  }

  .cart-quantity-input {
    width: 52px;
    height: 28px;
  }

  .cart-item-total {
    grid-column: 3;
    grid-row: 2;
  }

  .cart-remove {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .cart-summary {
    padding: 18px;
  }

  .auth-page .header-content {
    display: flex;
  }

  .auth-main {
    min-height: calc(100vh - 146px);
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .auth-card {
    padding: 24px 20px;
  }

  .auth-card h1 {
    font-size: 26px;
  }

  .admin-header-title {
    display: none;
  }

  .admin-main {
    padding: 30px 0 50px;
  }

  .admin-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .admin-content {
    min-width: 0;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-menu {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
    padding: 7px;
    scrollbar-width: thin;
  }

  .admin-menu::before {
    display: none;
  }

  .admin-menu a {
    flex-shrink: 0;
    min-height: 38px;
    gap: 7px;
    padding: 0 9px;
    font-size: 11px;
  }

  .admin-menu a::before {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 8px;
  }

  .admin-page-heading {
    align-items: flex-start;
  }

  .admin-page-heading > .button-primary {
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }

  .admin-stats {
    gap: 9px;
  }

  .admin-stat {
    padding: 13px 10px;
  }

  .admin-stat span {
    font-size: 10px;
  }

  .admin-stat strong {
    font-size: 22px;
  }

  .admin-section {
    padding: 14px;
  }

  .admin-product-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-description {
    grid-column: auto;
  }

  .admin-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .admin-product-filters {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .admin-product-search {
    grid-column: auto;
  }

  .admin-product-filter-count {
    grid-column: auto;
    margin: 0;
  }

  .admin-orders-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .admin-order-filter,
  .admin-order-filter select {
    width: 100%;
  }

  .admin-report-date,
  .admin-report-date input {
    width: 100%;
  }
}
