:root {
  --bg: #f8f9fa;
  --panel: #ffffff;
  --line: #d9dde8;
  --line-soft: #edf0f5;
  --text: #20242b;
  --muted: #5d6472;
  --primary: #002b6f;
  --primary-2: #0b45b7;
  --sun: #f6c400;
  --sun-deep: #c7861b;
  --danger: #c91f1f;
  --danger-bg: #fff1f1;
  --ok: #15803d;
  --footer: #202834;
  --shadow: 0 8px 24px rgba(0, 43, 111, 0.08);
  --deep-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
  --max: 1280px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft JhengHei", "PingFang TC", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body.drawer-open {
  overflow: hidden;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

img,
svg {
  display: block;
}

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

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

select {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

select:hover {
  transform: translateY(-1px);
}

select:focus {
  outline: 0;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(11, 69, 183, 0.12);
}

button {
  cursor: pointer;
}

#app > * {
  animation: page-enter 0.24s ease both;
}

:focus-visible {
  outline: 3px solid rgba(11, 69, 183, 0.28);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 250, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100%, var(--max));
  min-height: 76px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto minmax(230px, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  color: var(--primary);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  width: 82px;
  height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
}

.main-nav > a,
.nav-menu-button,
.header-select,
.language-wrap,
.account-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

.main-nav > a:hover,
.nav-menu-button:hover,
.header-select:hover,
.language-wrap:hover,
.account-link:hover {
  color: var(--primary-2);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.search-form {
  width: 270px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 16px;
  border: 1px solid #b8c0d5;
  border-radius: 14px;
  background: #fff;
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-form button,
.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
}

.search-form button {
  width: 30px;
  height: 30px;
}

.icon-button:hover {
  background: #eef2f8;
}

.header-select,
.language-wrap {
  white-space: nowrap;
  color: var(--muted);
}

.language-wrap select {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
  outline: 0;
}

.cart-button {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sun);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

.account-link {
  padding: 0 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.mobile-menu-button {
  display: none;
}

.icon-line {
  width: 19px;
  height: 2px;
  margin: 2px 0;
  border-radius: 99px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 16px 16px;
  gap: 8px;
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font-weight: 800;
}

.announce-bar {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 16px;
  background: #002A6C;
  color: #fff;
  font-size: 13px;
  overflow: hidden;
}

.announce-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.announce-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
}

.announce-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: announce-scroll 32s linear infinite;
}

.announce-track span {
  padding-right: 64px;
  color: #eef3ff;
  font-weight: 700;
}

.announce-bar:hover .announce-track {
  animation-play-state: paused;
}

@keyframes announce-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track {
    animation: none;
    padding-left: 0;
  }
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: #f1f3f7;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.section-title-row h2,
.center-title h2 {
  margin: 0;
  color: var(--primary);
  font-size: 30px;
}

.center-title {
  margin-bottom: 30px;
  text-align: center;
}

.center-title p {
  max-width: 660px;
  margin: 8px auto 0;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.link-arrow,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-2);
  font-weight: 900;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease;
}

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

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

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

.btn.secondary {
  border-color: var(--primary);
  background: #fff;
  color: var(--primary);
}

.btn.success {
  background: var(--ok);
  color: #fff;
}

.home-hero-wrap {
  padding-top: 22px;
}

.home-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
}

.category-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.category-menu h2 {
  margin: 0;
  padding: 16px 20px;
  background: #eef3fb;
  color: var(--primary);
  font-size: 16px;
}

.category-menu a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-weight: 700;
}

.category-menu a:hover {
  background: #eaf4ff;
  color: var(--primary-2);
}

.category-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-panel {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 430px;
  overflow: hidden;
}

.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #002A6C, #2d5f8d);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-50%) scale(0.94);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  pointer-events: none;
}

.hero-carousel:hover .hero-carousel-btn,
.hero-carousel:focus-within .hero-carousel-btn {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}

.hero-carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.hero-carousel-prev {
  left: 20px;
}

.hero-carousel-prev svg {
  transform: rotate(180deg);
}

.hero-carousel-next {
  right: 20px;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: scale(1.15);
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.product-grid {
  display: grid;
  gap: 22px;
}

.grid-six {
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.product-card,
.arrival-card,
.info-card,
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover,
.arrival-card:hover,
.info-card:hover,
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.image-box {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #eff3f8);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.28s ease;
}

.image-box.cover img {
  object-fit: cover;
  padding: 0;
}

.fallback-visual {
  position: absolute;
  color: rgba(0, 43, 111, 0.22);
}

.image-box.image-failed img {
  display: none;
}

.product-card.compact .image-box {
  height: 160px;
}

.product-card.standard .image-box {
  aspect-ratio: 1 / 1;
}

.product-card:hover img,
.arrival-card:hover img {
  transform: scale(1.04);
}

.card-body {
  min-height: 158px;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.product-brand {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.32;
}

.product-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.price-row,
.arrival-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  color: var(--primary);
  font-size: 21px;
  font-weight: 900;
}

.price.danger {
  color: var(--danger);
}

.original-price {
  display: block;
  color: #7a8393;
  font-size: 12px;
  text-decoration: line-through;
}

.add-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  background: var(--sun);
  color: var(--primary);
}

.badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 4px 9px;
  border-bottom-left-radius: 6px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 13px;
  font-weight: 900;
}

.flash-title {
  color: var(--danger) !important;
}

.arrival-card .image-box {
  height: 255px;
}

.arrival-card .card-body {
  min-height: 176px;
  padding: 22px;
}

.info-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.info-card,
.service-card {
  padding: 24px;
}

.info-card .round-icon,
.service-card .round-icon {
  margin-bottom: 16px;
}

.info-card h3,
.service-card h3 {
  margin: 0 0 8px;
  color: var(--primary);
}

.info-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
}

.promo-banner {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--primary);
  box-shadow: var(--shadow);
}

.promo-banner .image-box {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

.promo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #002A6C 0%, rgba(0, 42, 108, 0.86) 52%, transparent 100%);
}

.promo-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 48px;
  color: #fff;
}

.promo-copy h2 {
  margin: 16px 0 10px;
  font-size: 40px;
}

.promo-copy p {
  color: #e7edff;
}

.round-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--primary);
}

.catalog-page-title {
  margin: 36px 0 28px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.catalog-page-title h1 {
  margin: 0 0 8px;
  color: var(--primary);
}

.catalog-page-title p {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  margin-bottom: 72px;
}

.filters {
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.filter-panel {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 24px;
}

.filter-group h3 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 9px 0;
  color: var(--muted);
  cursor: pointer;
}

.check-row input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.catalog-tools select {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.filter-toggle {
  display: none;
}

.empty-state {
  padding: 46px 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 30px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  margin-bottom: 68px;
}

.detail-gallery-main {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-gallery-main .image-box {
  aspect-ratio: 1 / 1;
}

.delivery-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.thumb.is-active {
  border: 2px solid var(--primary);
}

.thumb .image-box {
  width: 100%;
  height: 100%;
}

.detail-info h1 {
  margin: 6px 0 10px;
  color: var(--text);
  font-size: 32px;
}

.rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
}

.stars {
  color: #e0b900;
}

.detail-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.tag {
  padding: 4px 9px;
  border-radius: 4px;
  background: #eaf1ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.tag.sale {
  background: var(--danger-bg);
  color: var(--danger);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  color: var(--muted);
}

.feature-list .check {
  color: var(--primary);
}

.swatch-row {
  display: flex;
  gap: 11px;
  margin: 10px 0 24px;
}

.swatch {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.swatch.is-active {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary);
}

.qty-row {
  display: inline-grid;
  grid-template-columns: 42px 48px 42px;
  height: 48px;
  margin: 10px 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.qty-row button {
  border: 0;
  background: transparent;
}

.qty-row span {
  display: grid;
  place-items: center;
}

.detail-actions {
  display: grid;
  gap: 10px;
}

.service-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.tab {
  min-height: 48px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tab:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: panel-enter 0.22s ease both;
}

.feature-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
  margin-bottom: 38px;
}

.feature-story h3 {
  margin: 0 0 10px;
  font-size: 25px;
}

.feature-story p {
  color: var(--muted);
  font-size: 17px;
}

.feature-story .image-box {
  min-height: 280px;
  border-radius: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
}

.spec-table th,
.spec-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table th {
  width: 32%;
  background: #f3f6fb;
  color: var(--primary);
}

.form-page {
  padding: 44px 0 74px;
}

.auth-page {
  display: flex;
  justify-content: center;
}

.auth-panel {
  width: 100%;
  max-width: 440px;
  padding: 40px 38px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-panel-wide {
  max-width: 640px;
}

.account-overview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-brand-head {
  margin-bottom: 26px;
  text-align: center;
}

.auth-brand-logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.auth-brand-logo img {
  width: 132px;
  height: auto;
  object-fit: contain;
}

.auth-brand-head h1 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 26px;
  line-height: 1.25;
}

.auth-brand-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 0;
}

.auth-required-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.auth-fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.auth-fieldset legend {
  width: 100%;
  margin-bottom: 14px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--primary);
  font-size: 15px;
  font-weight: 900;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

.auth-register-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.wide-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.account-overview {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
}

.member-profile-panel {
  display: grid;
  align-items: start;
}

.member-profile-form {
  width: 100%;
}

.store-page .section-title-row {
  align-items: flex-start;
}

.store-page .section-title-row p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

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

.store-info-panel,
.store-map-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.store-info-panel {
  padding: 28px;
}

.store-info-panel h2 {
  margin: 0;
  color: var(--primary);
  font-size: 26px;
}

.store-note {
  margin: 10px 0 22px;
  color: var(--muted);
}

.store-contact-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.store-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #f8fafc;
}

.store-contact-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 69, 183, 0.1);
  color: var(--primary-2);
}

.store-contact-body {
  min-width: 0;
}

.store-contact-body h3 {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.store-contact-body p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  word-break: break-word;
}

.store-address-pt {
  margin-top: 4px !important;
  color: var(--muted) !important;
  font-size: 13px;
}

.store-map-panel {
  display: grid;
}

.store-map-frame {
  position: relative;
  width: 100%;
}

.store-map-image {
  width: 100%;
  height: auto;
  display: block;
}

.store-map-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(0, 43, 111, 0.08), rgba(246, 196, 0, 0.16)),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(0, 43, 111, 0.08) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(0, 43, 111, 0.08) 31px 32px);
  text-align: center;
}

.store-map-placeholder h2,
.store-map-placeholder p {
  margin: 0;
}

.store-map-placeholder h2 {
  color: var(--primary);
}

.store-map-placeholder p {
  max-width: 520px;
  color: var(--muted);
}

.checkout-modern {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.82fr);
  gap: 24px;
  align-items: start;
}

.checkout-items-panel,
.checkout-action-panel,
.order-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.checkout-items-panel,
.checkout-action-panel {
  padding: 24px;
}

.checkout-items-panel h2,
.checkout-action-panel h2,
.order-detail h2 {
  margin: 0 0 18px;
  color: var(--primary);
}

.checkout-item-list {
  display: grid;
  gap: 14px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #f8fafc;
}

.checkout-item .image-box {
  width: 76px;
  height: 76px;
  border-radius: 6px;
}

.checkout-item h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.checkout-item p {
  margin: 0;
  color: var(--muted);
}

.checkout-item > strong {
  color: var(--primary);
  white-space: nowrap;
}

.checkout-total-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: #f5f7fb;
}

.checkout-total-box.compact {
  margin: 22px 0 0;
}

.checkout-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.checkout-progress span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.checkout-progress .is-active {
  border-color: var(--primary);
  background: rgba(0, 43, 111, 0.08);
  color: var(--primary);
  transform: translateY(-1px);
}

.checkout-panel {
  animation: panel-enter 0.22s ease both;
}

.option-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option-row:hover {
  border-color: rgba(11, 69, 183, 0.35);
  box-shadow: 0 8px 20px rgba(0, 43, 111, 0.08);
  transform: translateY(-1px);
}

.option-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.option-row strong,
.option-row small {
  display: block;
}

.option-row strong {
  color: var(--primary);
}

.option-row small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.delivery-fields {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: #f8fafc;
  animation: panel-enter 0.2s ease both;
}

.jolly-date-field {
  position: relative;
}

.date-field-description {
  margin-top: -4px;
  color: var(--muted);
  font-size: 12px;
}

.jolly-date-picker {
  position: relative;
}

.jolly-date-trigger {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 12px;
  border: 1px solid #c5cad4;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jolly-date-trigger:hover,
.jolly-date-picker.is-open .jolly-date-trigger {
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(11, 69, 183, 0.1);
}

.jolly-date-trigger:hover {
  transform: translateY(-1px);
}

.jolly-date-value {
  font-weight: 700;
}

.jolly-date-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  color: var(--primary);
  background: rgba(0, 43, 111, 0.06);
}

.jolly-date-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: min(320px, calc(100vw - 56px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--deep-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.jolly-date-picker.is-open .jolly-date-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.jolly-calendar-header {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--primary);
}

.jolly-calendar-header strong {
  text-align: center;
  font-size: 15px;
}

.jolly-calendar-nav {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: #f5f7fb;
  color: var(--primary);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.jolly-calendar-nav:hover {
  background: rgba(0, 43, 111, 0.08);
}

.jolly-calendar-nav:first-child svg {
  transform: rotate(90deg);
}

.jolly-calendar-nav.next svg {
  transform: rotate(-90deg);
}

.jolly-calendar-weekdays,
.jolly-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.jolly-calendar-weekdays {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.jolly-calendar-weekdays span {
  min-height: 24px;
  display: grid;
  place-items: center;
}

.jolly-calendar-cell {
  aspect-ratio: 1;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.jolly-calendar-cell:hover:not(:disabled) {
  background: rgba(0, 43, 111, 0.08);
  color: var(--primary);
  transform: translateY(-1px);
}

.jolly-calendar-cell.is-outside {
  color: #a4abb8;
}

.jolly-calendar-cell.is-today {
  box-shadow: inset 0 0 0 1px var(--primary-2);
}

.jolly-calendar-cell.is-selected {
  background: var(--primary);
  color: #fff;
}

.jolly-calendar-cell:disabled {
  color: #c7ccd5;
  cursor: not-allowed;
}

.order-detail {
  padding: 30px;
}

.order-hero {
  margin-bottom: 24px;
}

.order-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
}

.order-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.order-meta-grid div {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #f8fafc;
}

.order-meta-grid span,
.order-meta-grid strong {
  display: block;
}

.order-meta-grid span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.order-meta-grid strong {
  color: var(--primary);
}

.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.order-address {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.order-address h3,
.order-address p {
  margin: 0 0 8px;
}

.order-empty {
  padding: 34px;
}

.order-history-list {
  display: grid;
  gap: 20px;
}

.order-history-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.order-history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: #f8fafc;
}

.order-id {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 900;
}

.order-date {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.order-meta-tags {
  display: flex;
  gap: 8px;
}

.order-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: #eef4ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.order-tag.delivery {
  background: #fff4bf;
  color: #735c00;
}

.order-tag.pickup {
  background: #eef4ff;
  color: var(--primary);
}

.order-history-items {
  padding: 18px 20px;
  display: grid;
  gap: 12px;
}

.order-history-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
}

.order-history-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.order-history-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.order-more {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.order-history-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
  background: #f8fafc;
}

.order-total {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.order-total strong {
  color: var(--primary);
  font-size: 18px;
}

.page-heading {
  margin: 0 0 20px;
  color: var(--primary);
  font-size: 30px;
  font-weight: 500;
}

.checkout-box,
.form-box {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.checkout-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.plain-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.required {
  margin-right: 4px;
  color: var(--danger);
  font-weight: 900;
}

.plain-field input,
.plain-field select,
.plain-field textarea {
  min-height: 34px;
  border: 1px solid #c5cad4;
  border-radius: 3px;
  padding: 7px 10px;
}

.plain-field.has-error input,
.plain-field.has-error select {
  border-color: var(--danger);
}

.plain-field.has-error .jolly-date-trigger {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(201, 31, 31, 0.1);
}

.field-error {
  color: var(--danger);
  font-size: 12px;
}

.form-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.captcha {
  display: inline-grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  width: 136px;
  height: 34px;
  margin-top: 6px;
  border: 1px solid #333;
  background: linear-gradient(135deg, #f0f6ff, #f7fff0);
  font-weight: 900;
  text-align: center;
}

.form-section {
  padding: 26px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-child {
  border-bottom: 0;
}

.form-section h2 {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 500;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 14px;
}

.site-footer {
  margin-top: 72px;
  background: var(--footer);
  color: #fff;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 56px 28px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-logo {
  width: 118px;
  margin-bottom: 10px;
}

.footer-inner h2,
.footer-inner h3 {
  margin: 0 0 14px;
  color: var(--sun);
}

.footer-inner p,
.footer-inner a {
  display: block;
  margin: 8px 0;
  color: #b9c2d0;
  font-size: 14px;
}

.footer-inner a:hover {
  color: var(--sun);
}

.footer-bottom {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 22px 28px 42px;
  border-top: 1px solid rgba(185, 194, 208, 0.22);
  color: #b9c2d0;
  font-size: 13px;
}

.social-row {
  display: flex;
  gap: 14px;
}

.social-row a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(430px, 100vw);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
  box-shadow: var(--deep-shadow);
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 80;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--deep-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) rotate(-90deg);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotate(-90deg);
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 150px;
  z-index: 82;
  width: 50px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: none;
  background: transparent;
  transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.floating-contact:hover {
  width: 220px;
  background: #fff;
  box-shadow: var(--deep-shadow);
  border-radius: 8px;
}

.fc-head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 12px;
  background: #002A6C;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: upright;
  border-radius: 25px;
  box-shadow: var(--deep-shadow);
  transition: all 0.32s ease;
  flex-shrink: 0;
}

.floating-contact:hover .fc-head {
  writing-mode: horizontal-tb;
  padding: 12px;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}

.fc-head strong {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 3px;
  white-space: nowrap;
}

.floating-contact:hover .fc-head strong {
  letter-spacing: 0.5px;
  font-size: 15px;
}

.fc-body {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #fff;
  border-radius: 0 0 8px 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.32s ease, opacity 0.32s ease, padding 0.32s ease;
}

.floating-contact:hover .fc-body {
  max-height: 280px;
  opacity: 1;
  padding: 8px 0 12px 0;
}

.fc-row {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 10px 16px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease;
}

.fc-row + .fc-row {
  border-top: 1px solid var(--line-soft);
}

.fc-row:hover,
.fc-row:focus-visible {
  background: #f3f7ff;
  outline: none;
}

.fc-row-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.fc-row-value {
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
  word-break: break-word;
}

.drawer-head,
.drawer-foot {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

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

.drawer-head h2 {
  margin: 0;
}

.drawer-body {
  overflow: auto;
  padding: 10px 22px 22px;
}

.cart-line {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line .image-box {
  width: 78px;
  height: 78px;
  border-radius: 6px;
}

.cart-line h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.cart-line p {
  margin: 0 0 9px;
  color: var(--primary);
  font-weight: 900;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-qty {
  display: inline-grid;
  grid-template-columns: 30px 34px 30px;
  height: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.mini-qty button {
  border: 0;
  background: #fff;
}

.mini-qty span {
  display: grid;
  place-items: center;
  font-weight: 900;
}

.remove-line {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 800;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--muted);
}

.summary-line.total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.drawer-foot .btn {
  width: 100%;
  margin-top: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--footer);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--deep-shadow);
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
  }

  .brand {
    min-width: 0;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
    padding-bottom: 12px;
  }

  .search-form {
    flex: 1;
  }
}

@media (max-width: 920px) {
  .mobile-nav.is-open {
    display: grid;
  }

  .home-hero,
  .hero-panel,
  .catalog-layout,
  .detail-grid,
  .feature-story,
  .checkout-columns,
  .store-layout,
  .checkout-modern,
  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .order-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-menu {
    display: none;
  }

  .hero-carousel {
    height: 320px;
  }

  .hero-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .hero-carousel-prev {
    left: 12px;
  }

  .hero-carousel-next {
    right: 12px;
  }

  .hero-carousel-dots {
    bottom: 12px;
  }

  .grid-six,
  .grid-four,
  .grid-three,
  .info-grid,
  .service-grid,
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters {
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .filters.is-open {
    display: block;
  }

  .filter-panel {
    position: static;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .container,
  .footer-inner,
  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    font-size: 22px;
  }

  .brand-logo {
    width: 68px;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .header-select {
    display: none;
  }

  .account-link {
    padding: 0;
    font-size: 14px;
  }

  .section-title-row,
  .price-row,
  .arrival-meta,
  .catalog-tools,
  .auth-register-line,
  .account-overview {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-info-panel {
    padding: 22px;
  }

  .auth-panel {
    padding: 28px 22px;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }

  .order-detail,
  .checkout-items-panel,
  .checkout-action-panel {
    padding: 20px;
  }

  .checkout-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .checkout-item > strong {
    grid-column: 2;
  }

  .order-meta-grid {
    grid-template-columns: 1fr;
  }

  .grid-six,
  .grid-four,
  .grid-three,
  .info-grid,
  .service-grid,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .tabs {
    overflow-x: auto;
    gap: 0;
  }

  .tab {
    min-width: max-content;
    padding: 0 14px;
  }

  .cart-drawer {
    width: 100vw;
  }

  .floating-contact {
    right: 12px;
    bottom: 78px;
    width: 200px;
  }

  .fc-row {
    padding: 8px 10px;
  }

  .fc-row-value {
    font-size: 13px;
  }

  .back-to-top {
    right: 14px;
    bottom: 18px;
  }
}
