@font-face {
  font-family: "Noto Sans Bengali";
  src: url("../fonts/NotoSansBengali-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Bengali";
  src: url("../fonts/NotoSansBengali-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Bengali";
  src: url("../fonts/NotoSansBengali-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Bengali";
  src: url("../fonts/NotoSansBengali-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: hsl(40, 20%, 98%);
  --foreground: hsl(150, 20%, 10%);
  --card: hsl(0, 0%, 100%);
  --primary: hsl(142, 40%, 28%);
  --primary-dark: hsl(142, 45%, 22%);
  --primary-soft: hsla(142, 40%, 28%, 0.1);
  --secondary: hsl(80, 20%, 92%);
  --muted: hsl(80, 15%, 93%);
  --muted-foreground: hsl(150, 10%, 45%);
  --border: hsl(80, 15%, 87%);
  --destructive: hsl(0, 84%, 60%);
  --radius: 8px;
  --shadow: 0 12px 30px rgba(18, 31, 24, 0.08);
  --font-body: "Noto Sans Bengali", "Source Sans 3", sans-serif;
  --font-heading: "Noto Sans Bengali", "Playfair Display", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1400px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(10px);
}

.navbar {
  min-height: 64px;
  padding-block: 0;
}

.navbar-brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  color: var(--muted-foreground);
  font-size: 15px;
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--foreground);
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: var(--foreground);
}

.icon-button:hover {
  background: var(--muted);
}

.icon-button.sm {
  width: 28px;
  height: 28px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.order-status-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 700;
}

.order-status-link:hover,
.order-status-link.active {
  background: var(--muted);
  color: var(--foreground);
}

.auth-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  order: 10;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 700;
}

.cart-trigger {
  order: 20;
}

.auth-inline:has(.logout-btn) {
  order: 30;
}

.auth-inline a,
.auth-inline .logout-btn {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 700;
  padding: 0;
  text-decoration: none;
}

.auth-inline a:hover,
.auth-inline .logout-btn:hover {
  color: var(--foreground);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 112px;
  background: linear-gradient(135deg, hsla(142, 40%, 28%, 0.1), var(--background) 50%, hsla(80, 20%, 92%, 0.85));
  background-position: center;
  background-size: cover;
}

.hero-section::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 32, 24, .48), rgba(6, 32, 24, .2) 48%, rgba(6, 32, 24, .06));
  content: "";
  opacity: 0;
  transition: opacity .2s ease;
}

.hero-section.has-image::before {
  opacity: 1;
}

.hero-section.has-image {
  background-image: var(--hero-image);
}

.hero-section.has-image .hero-pill {
  background: rgba(255, 255, 255, .9);
}

.hero-section.has-image h1,
.hero-section.has-image p {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .38);
}

.hero-section.has-image h1 span {
  color: #dcfce7;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 780px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.hero-section h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
}

.hero-section h1 span {
  color: var(--primary);
}

.hero-section p {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted-foreground);
  font-size: 20px;
  line-height: 1.55;
}

.feature-band {
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  background: var(--background);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.feature-item i {
  color: var(--primary);
  font-size: 32px;
}

.feature-item h3 {
  margin: 0;
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}

.feature-item p,
.site-footer p,
.footer-list,
.footer-list a,
.cart-description {
  color: var(--muted-foreground);
}

.offers-section {
  padding: 48px 0;
  background: linear-gradient(90deg, hsla(142, 40%, 28%, 0.05), hsla(80, 20%, 92%, 0.55));
}

.products-section {
  padding: 64px 0;
}

.main-section-title {
  margin-bottom: 32px;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.section-title.centered {
  justify-content: center;
}

.section-title i {
  color: var(--primary);
  font-size: 24px;
}

.section-title h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
}

.product-filters {
  margin-bottom: 40px;
}

.search-wrap {
  position: relative;
  max-width: 448px;
}

.search-wrap > i,
.input-icon > i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--muted-foreground);
}

.search-wrap .form-control,
.input-icon .form-control {
  padding-left: 40px;
}

.clear-search {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-50%);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.filter-row .form-select {
  width: 180px;
}

.form-control,
.form-select {
  border-color: var(--border);
  border-radius: 6px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem hsla(142, 40%, 28%, 0.14);
}

.loading-state {
  display: flex;
  justify-content: center;
  padding: 80px 0;
}

.product-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid hsla(80, 15%, 87%, 0.65);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--secondary);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.no-image,
.out-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted-foreground);
}

.out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 247, 0.65);
}

.out-overlay span {
  border-radius: 6px;
  background: rgba(250, 249, 247, 0.88);
  color: var(--foreground);
  font-weight: 700;
  padding: 4px 12px;
}

.sale-badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  border-radius: 6px;
  background: var(--destructive);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
}

.sale-badge.inline {
  position: static;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.product-compare-price {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 600;
  text-decoration: line-through;
}

.product-save-text {
  display: block;
  margin-top: 3px;
  color: var(--destructive);
  font-size: 13px;
  font-weight: 700;
}

.product-card-body {
  padding: 16px;
}

.product-card h3 {
  overflow: hidden;
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card p {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  margin: 0 0 16px;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.product-price-sm,
.product-price {
  color: var(--primary);
  font-weight: 800;
}

.product-price-sm {
  display: block;
  font-size: 20px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  border: 1px solid hsla(142, 40%, 28%, 0.3);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 8px;
}

.stock-badge.out {
  border-color: hsla(0, 84%, 60%, 0.3);
  background: hsla(0, 84%, 60%, 0.1);
  color: var(--destructive);
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--border);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  --bs-btn-hover-color: #fff;
}

.empty-state {
  padding: 80px 0;
  text-align: center;
}

.empty-state i {
  display: block;
  color: var(--muted-foreground);
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-state h3,
.empty-state h1 {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
}

.empty-state p {
  color: var(--muted-foreground);
}

.about-section {
  padding: 64px 0;
  background: hsla(80, 20%, 92%, 0.35);
}

.narrow {
  max-width: 720px;
}

.about-section h2 {
  margin-bottom: 16px;
  font-size: 36px;
  font-weight: 700;
}

.about-section p {
  color: var(--muted-foreground);
  font-size: 17px;
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 40px 0 0;
}

.footer-logo {
  width: auto;
  height: 32px;
  margin-bottom: 12px;
}

.site-footer h4 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
}

.footer-list {
  display: grid;
  gap: 8px;
  font-size: 15px;
}

.footer-list a:hover {
  color: var(--foreground);
}

.footer-list i {
  width: 22px;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 15px;
  margin-top: 32px;
  padding: 24px 0;
  text-align: center;
}

.cart-canvas {
  width: min(100%, 512px) !important;
}

.offcanvas-header {
  align-items: flex-start;
}

.offcanvas-title {
  font-family: var(--font-body);
  font-weight: 700;
}

.cart-description {
  margin: 2px 0 0;
  font-size: 14px;
}

.offcanvas-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.cart-empty {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--muted-foreground);
  min-height: 320px;
}

.cart-empty i {
  font-size: 48px;
  margin-bottom: 16px;
}

.cart-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 8px;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--secondary);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-main {
  min-width: 0;
  flex: 1;
}

.cart-item-main h4 {
  overflow: hidden;
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-main p {
  margin: 2px 0;
  color: var(--muted-foreground);
  font-size: 14px;
}

.cart-item-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.qty-controls .btn {
  width: 26px;
  height: 26px;
  padding: 0;
}

.qty-controls span {
  width: 32px;
  text-align: center;
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.promo-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.input-icon {
  position: relative;
  flex: 1;
}

.promo-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 16px;
  padding: 8px 12px;
}

.promo-applied span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-total span {
  font-size: 20px;
  font-weight: 700;
}

.cart-total strong {
  font-size: 24px;
}

.product-page {
  padding: 32px 0 64px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-foreground);
  font-size: 15px;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--foreground);
}

.main-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--secondary);
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.main-image-wrap:hover img {
  transform: scale(1.12);
}

.thumb-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
}

.thumb-button {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--secondary);
  padding: 0;
}

.thumb-button.active {
  border-color: var(--primary);
}

.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  display: grid;
  gap: 24px;
}

.product-info h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
}

.price-stock-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-price {
  margin: 0;
  font-size: 30px;
}

.product-offer-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.product-offer-line .product-compare-price,
.product-offer-line .product-save-text {
  margin: 0;
}

.product-sections {
  display: grid;
  gap: 12px;
}

.product-section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-section h2 {
  margin: 0;
  color: var(--foreground);
  font-size: 17px;
  font-weight: 700;
  padding: 16px;
}

.product-section-body {
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.65;
  padding: 0 16px 16px;
  white-space: normal;
}

.product-section-body p,
.product-section-body ul,
.product-section-body ol {
  margin: 0 0 10px;
}

.product-section-body p:last-child,
.product-section-body ul:last-child,
.product-section-body ol:last-child {
  margin-bottom: 0;
}

.product-section-body .desc-text-sm,
.product-section-body span.desc-text-sm {
  font-size: 14px !important;
}

.product-section-body .desc-text-lg,
.product-section-body span.desc-text-lg {
  font-size: 17px !important;
}

.product-section-body .desc-text-xl,
.product-section-body span.desc-text-xl {
  font-size: 19px !important;
}

.variant-block > span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-options .btn.unavailable {
  opacity: 0.5;
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  gap: 12px;
}

.btn-whatsapp {
  --bs-btn-bg: hsl(142, 70%, 45%);
  --bs-btn-border-color: hsl(142, 70%, 45%);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: hsl(142, 70%, 38%);
  --bs-btn-hover-border-color: hsl(142, 70%, 38%);
  --bs-btn-hover-color: #fff;
}

.detail-extra {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 32px;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: var(--radius);
  background: hsla(80, 20%, 92%, 0.35);
  margin-bottom: 24px;
  padding: 16px;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: hsla(150, 10%, 45%, 0.35);
}

.review-summary p {
  margin: 4px 0 0;
  color: var(--muted-foreground);
  font-size: 14px;
}

.review-empty {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.review-empty i {
  display: block;
  color: hsla(150, 10%, 45%, 0.45);
  font-size: 40px;
  margin-bottom: 12px;
}

.review-empty p {
  margin: 0;
  color: var(--muted-foreground);
  font-weight: 700;
}

.review-empty span {
  color: var(--muted-foreground);
  font-size: 14px;
}

.toast {
  background: #fff;
  box-shadow: var(--shadow);
}

.checkout-page {
  padding: 32px 0 72px;
}

.products-page {
  padding: 48px 0 72px;
}

.products-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.products-heading h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
}

.products-heading p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted-foreground);
  font-size: 17px;
}

.product-filter-sidebar {
  position: sticky;
  top: 88px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 20px;
}

.filter-sidebar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.filter-sidebar-head i {
  color: var(--primary);
  font-size: 20px;
}

.filter-sidebar-head h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 800;
}

.filter-group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-group label {
  font-weight: 700;
}

.checkout-heading {
  margin-bottom: 28px;
}

.checkout-heading h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
}

.checkout-heading p {
  margin: 8px 0 0;
  color: var(--muted-foreground);
  font-size: 17px;
}

.checkout-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 24px;
}

.checkout-panel .form-label {
  font-weight: 700;
}

.phone-code-group {
  display: grid;
  grid-template-columns: minmax(112px, 0.34fr) 1fr;
  gap: 8px;
}

.section-title.compact {
  margin-bottom: 16px;
}

.section-title.compact h2 {
  font-family: var(--font-body);
  font-size: 20px;
}

.section-title.compact i {
  font-size: 20px;
}

.order-summary-stack {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
}

.order-summary-panel {
  position: static;
}

.checkout-items {
  display: grid;
  gap: 16px;
}

.checkout-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.checkout-item h4 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
}

.checkout-item p {
  margin: 2px 0;
  color: var(--muted-foreground);
}

.checkout-item span {
  font-weight: 700;
}

.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 20px;
  font-weight: 800;
}

.checkout-total strong {
  font-size: 24px;
}

.checkout-coupon {
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-top: 16px;
}

.checkout-lines {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 18px;
}

.checkout-lines > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-foreground);
}

.checkout-lines strong {
  color: var(--foreground);
}

.checkout-qty {
  margin-top: 8px;
}

.order-status-page {
  padding: 32px 0 72px;
}

.order-search-panel {
  margin-bottom: 28px;
}

.order-result {
  display: grid;
  gap: 0;
}

.order-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.order-result-head span {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 700;
}

.order-result-head h2 {
  margin: 2px 0 0;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 800;
}

.status-current {
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 6px 12px;
}

.order-steps {
  position: relative;
  display: grid;
  gap: 18px;
}

.order-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--muted-foreground);
}

.order-step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted-foreground);
}

.order-step.done .order-step-dot,
.order-step.current .order-step-dot {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.order-step strong {
  display: block;
  color: var(--foreground);
}

.order-step p {
  margin: 2px 0 0;
}

.order-success-page {
  padding: 48px 0 72px;
}

.content-page {
  padding: 40px 0 72px;
}

.content-hero {
  padding: 32px 0 24px;
  text-align: center;
}

.content-hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
}

.content-hero p {
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.7;
  margin: 16px auto 0;
}

.content-section {
  padding-top: 24px;
}

.content-panel {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 24px;
}

.content-panel > p,
.content-list p {
  color: var(--muted-foreground);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.content-list {
  display: grid;
  gap: 12px;
}

.content-list p {
  display: flex;
  gap: 10px;
}

.content-list i,
.contact-method i {
  color: var(--primary);
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.contact-side-rail {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.contact-method {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 2px 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.contact-method:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-method i {
  grid-row: span 2;
  font-size: 24px;
}

.contact-method span {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 800;
}

.contact-method strong {
  color: var(--foreground);
  font-size: 18px;
}

.success-panel {
  text-align: center;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 34px;
  margin-bottom: 18px;
}

.success-panel h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
}

.success-panel p {
  color: var(--muted-foreground);
  margin: 10px 0 0;
}

.order-number-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  margin: 24px auto 0;
  max-width: 520px;
  padding: 12px;
}

.order-number-copy span {
  flex: 1;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.success-address {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 18px;
}

.success-address h3 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
}

.success-address p {
  margin: 0;
  color: var(--muted-foreground);
}

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  background: linear-gradient(135deg, hsla(142, 40%, 28%, 0.1), var(--background) 50%, hsla(80, 20%, 92%, 0.85));
  padding: 96px 24px 32px;
}

.auth-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.auth-back-link {
  margin-left: auto;
}

.auth-card {
  width: min(100%, 460px);
}

@media (max-height: 760px) {
  .auth-page {
    align-items: flex-start;
  }
}

.auth-logo img {
  height: 58px;
  width: auto;
  margin-bottom: 18px;
}

.auth-card h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
}

.auth-card > p {
  color: var(--muted-foreground);
  margin: 8px 0 22px;
}

.auth-switch {
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  margin-top: 20px;
  padding-top: 18px;
  text-align: center;
}

.auth-switch a {
  color: var(--primary);
  font-weight: 800;
}

.auth-form-link {
  margin: -4px 0 16px;
  text-align: right;
}

.auth-form-link a {
  color: var(--primary);
  font-weight: 800;
}

.account-page {
  padding: 40px 0 72px;
}

.account-nav {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 88px;
}

.account-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-foreground);
  font-weight: 800;
  padding: 10px 12px;
  text-align: left;
}

.account-tab:hover,
.account-tab.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.account-kpis .checkout-panel {
  display: grid;
  gap: 4px;
  min-height: 112px;
}

.account-kpis span,
.account-muted,
.empty-mini {
  color: var(--muted-foreground);
}

.account-kpis strong {
  font-size: 28px;
}

.account-list {
  display: grid;
  gap: 12px;
}

.account-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.account-list-item:last-child {
  border-bottom: 0;
}

.account-list-item strong {
  display: block;
}

.account-list-item p {
  margin: 2px 0 0;
  color: var(--muted-foreground);
}

.account-list-total {
  font-weight: 800;
  text-align: right;
}

.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-form-wide,
.account-form-actions {
  grid-column: 1 / -1;
}

.account-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-address-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.account-address-card p {
  margin: 8px 0 0;
  color: var(--muted-foreground);
}

.account-address-head,
.account-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 64px 0 84px;
  }

  .hero-section h1 {
    font-size: 40px;
  }

  .hero-section p {
    font-size: 18px;
  }

  .filter-row .form-select {
    width: 100%;
  }

  .product-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card-actions,
  .product-card-footer .btn {
    width: 100%;
  }

  .product-card-actions {
    flex-direction: column;
  }

  .price-stock-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-status-link span {
    display: none;
  }

  .auth-inline span {
    display: none;
  }

  .checkout-panel {
    padding: 18px;
  }

  .order-summary-stack {
    position: static;
  }

  .phone-code-group {
    grid-template-columns: minmax(104px, 0.42fr) 1fr;
  }

  .product-filter-sidebar {
    position: static;
  }

  .account-nav {
    position: static;
  }

  .account-list-item {
    grid-template-columns: 1fr;
  }

  .account-list-total {
    text-align: left;
  }

  .account-form-grid {
    grid-template-columns: 1fr;
  }

  .account-address-card {
    flex-direction: column;
  }

  .contact-side-rail {
    position: static;
  }
}
