/* ==========================================================================
   NOMASOLE. Site Shell & Page Layouts
   Luxury – Modern – Basic – Minimal
   ========================================================================== */

html { scroll-behavior: auto; }
body { overflow-x: hidden; }

.main-nav .nav-link.active {
  color: var(--text-primary);
  font-weight: 800;
  box-shadow: inset 0 -2px 0 var(--text-primary);
}
.main-nav .nav-link.sale-link.active { box-shadow: inset 0 -2px 0 var(--accent-sale); }

.noma-footer-grid {
  grid-template-columns: 1.4fr repeat(4, 1fr) !important;
  gap: 32px !important;
}
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--accent-bronze-dark); }
@media (max-width: 960px) {
  .noma-footer-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .noma-footer-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Search Dialog ---------- */
.noma-search-dialog {
  width: min(680px, calc(100vw - 32px));
  margin: 12vh auto auto;
  padding: 20px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.noma-search-dialog::backdrop { background: rgba(20, 20, 20, 0.45); backdrop-filter: blur(3px); }
.noma-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}
.noma-search-form svg { width: 22px; height: 22px; color: #6B7280; flex-shrink: 0; }
.noma-search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-family: inherit;
  padding: 8px 0;
}
.noma-search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.8rem;
  color: #6B7280;
}
.noma-search-hints a {
  padding: 5px 12px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  color: var(--text-primary);
  text-decoration: none;
}
.noma-search-hints a:hover { background: var(--text-primary); color: #fff; }

/* ==========================================================================
   SUPPORT WIDGET
   ========================================================================== */
.noma-support {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.noma-support[hidden] { display: none; }
.noma-support > * { pointer-events: auto; }

.noma-support-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}
.noma-support[data-state="collapsed"] .noma-support-stack {
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  visibility: hidden;
}
.noma-support[data-state="expanded"] .noma-support-stack {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.noma-support-btn {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 10px;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.noma-support-btn[hidden] { display: none; }

.noma-support-icon {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.noma-support-icon svg { width: 22px; height: 22px; }
.noma-zalo .noma-support-icon { background: #0068FF; }
.noma-zalo-word { font-weight: 900; font-size: 0.8rem; letter-spacing: -0.02em; font-family: Arial, sans-serif; }
.noma-hotline .noma-support-icon { background: #12A150; }
.noma-chat .noma-support-icon { background: #141414; }

.noma-support-label {
  background: #fff;
  color: #141414;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  border: 1px solid #ECEAE4;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.noma-support-btn:hover .noma-support-icon,
.noma-support-btn:focus-visible .noma-support-icon {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}
.noma-support-btn:hover .noma-support-label,
.noma-support-btn:focus-visible .noma-support-label {
  opacity: 1;
  transform: none;
}
.noma-support-btn:focus-visible { outline: none; }
.noma-support-btn:focus-visible .noma-support-icon { outline: 3px solid rgba(173, 122, 89, 0.55); outline-offset: 3px; }

/* Rung nhẹ cho hotline: chỉ 0.6s mỗi 5s */
.noma-ring svg { animation: nomaRing 5s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes nomaRing {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-14deg); }
  92% { transform: rotate(14deg); }
  94% { transform: rotate(-10deg); }
  96% { transform: rotate(8deg); }
}

.noma-support-toggle {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--accent-bronze, #AD7A59);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(142, 95, 64, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
}
.noma-support-toggle:hover { transform: scale(1.05); background: var(--accent-bronze-dark, #8E5F40); }
.noma-support-toggle svg { width: 24px; height: 24px; }
.noma-support-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(173, 122, 89, 0.55);
  animation: nomaPulse 2.6s ease-out infinite;
}
.noma-support[data-state="expanded"] .noma-support-toggle::before { animation: none; opacity: 0; }
@keyframes nomaPulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0; }
}
.noma-toggle-close { display: none; }
.noma-support[data-state="expanded"] .noma-toggle-open { display: none; }
.noma-support[data-state="expanded"] .noma-toggle-close { display: flex; }
.noma-toggle-open, .noma-toggle-close { display: flex; }

.noma-unread {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #D9381E;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.noma-unread[hidden] { display: none; }
.noma-support[data-state="expanded"] .noma-unread-toggle { display: none; }

@media (prefers-reduced-motion: reduce) {
  .noma-ring svg, .noma-support-toggle::before { animation: none; }
}

/* ---------- Chat Window ---------- */
.noma-chat-window {
  position: fixed;
  right: 22px;
  bottom: 96px;
  width: 372px;
  max-width: calc(100vw - 24px);
  height: min(560px, calc(100vh - 130px));
  background: #fff;
  border-radius: 18px;
  border: 1px solid #E8E6E0;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 995;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}
.noma-chat-window[hidden] { display: none; }
.noma-chat-window.is-open { opacity: 1; transform: none; }

.noma-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #141414;
  color: #fff;
}
.noma-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-bronze, #AD7A59);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
}
.noma-chat-head-text { flex: 1; min-width: 0; }
.noma-chat-title { font-weight: 800; font-size: 0.9rem; }
.noma-chat-status { font-size: 0.72rem; color: #C9CDD3; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.noma-dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.noma-chat-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.noma-chat-close svg { width: 16px; height: 16px; }
.noma-chat-close:hover { background: rgba(255, 255, 255, 0.2); }

.noma-chat-intro {
  padding: 14px 16px;
  background: #FAF9F6;
  border-bottom: 1px solid #EFEDE7;
  display: grid;
  gap: 8px;
  font-size: 0.8rem;
  color: #4B5563;
}
.noma-chat-intro[hidden] { display: none; }
.noma-chat-intro p { margin: 0; }
.noma-chat-intro input {
  padding: 9px 12px;
  border: 1px solid #DDDAD3;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.84rem;
}
.noma-chat-intro .btn-primary-dark { justify-content: center; padding: 9px; font-size: 0.8rem; }

.noma-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #F8F7F4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.noma-msg { display: flex; flex-direction: column; max-width: 84%; }
.noma-msg-mine { align-self: flex-end; align-items: flex-end; }
.noma-msg-staff { align-self: flex-start; align-items: flex-start; }
.noma-msg-author { font-size: 0.68rem; font-weight: 700; color: #8E5F40; margin: 0 4px 3px; }
.noma-msg-bubble {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.5;
  word-break: break-word;
}
.noma-msg-mine .noma-msg-bubble { background: #141414; color: #fff; border-bottom-right-radius: 4px; }
.noma-msg-staff .noma-msg-bubble { background: #fff; color: #141414; border: 1px solid #ECEAE4; border-bottom-left-radius: 4px; }
.noma-msg-meta { font-size: 0.66rem; color: #9CA3AF; margin: 3px 4px 0; }
.noma-msg.is-pending { opacity: 0.65; }

.noma-chat-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 12px 0;
  background: #fff;
  border-top: 1px solid #EFEDE7;
  scrollbar-width: none;
}
.noma-chat-chips button {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #E5E2DA;
  background: #FAF9F6;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.noma-chat-chips button:hover { background: #141414; color: #fff; border-color: #141414; }

.noma-chat-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  background: #fff;
}
.noma-chat-input input {
  flex: 1;
  border: 1px solid #DDDAD3;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-family: inherit;
  outline: none;
}
.noma-chat-input input:focus { border-color: #141414; }
.noma-chat-input button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #141414;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.noma-chat-input button svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .noma-support { right: 14px; bottom: 14px; gap: 10px; }
  .noma-support-icon { width: 46px; height: 46px; }
  .noma-support-toggle { width: 52px; height: 52px; }
  .noma-support-label { display: none; }
  .noma-chat-window {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: min(82vh, 640px);
    border-radius: 18px 18px 0 0;
  }
  .noma-support.chat-open { display: none; }
}

/* ==========================================================================
   PAGE HERO (Category / Sale / Size / 404)
   ========================================================================== */
.noma-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: #9CA3AF;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.noma-breadcrumb a { color: inherit; text-decoration: none; }
.noma-breadcrumb a:hover { color: var(--text-primary); }

.cat-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1C1C1C;
  color: #fff;
}
.cat-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}
.cat-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.85) 0%, rgba(20, 20, 20, 0.35) 60%, rgba(20, 20, 20, 0.1) 100%);
}
.cat-hero .container { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 44px; width: 100%; }
.cat-hero .noma-breadcrumb { color: #C9CDD3; }
.cat-hero-eyebrow { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.18em; color: #D7B79F; text-transform: uppercase; }
.cat-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}
.cat-hero-desc { max-width: 560px; color: #E5E7EB; font-size: 0.95rem; line-height: 1.7; }

.cat-switcher {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 18px 0 4px;
  scrollbar-width: none;
}
.cat-switcher a {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.18s ease;
}
.cat-switcher a:hover { border-color: var(--text-primary); }
.cat-switcher a.active { background: var(--text-primary); border-color: var(--text-primary); color: #fff; }

.cat-toolbar {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0 12px;
}
.cat-toolbar input,
.cat-toolbar select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 0.84rem;
  color: var(--text-primary);
}
.cat-toolbar input:focus, .cat-toolbar select:focus { outline: none; border-color: var(--text-primary); }
.cat-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #6B7280;
  margin-bottom: 18px;
}
.cat-result-row button {
  background: none;
  border: none;
  color: var(--accent-bronze-dark);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
@media (max-width: 900px) {
  .cat-toolbar { grid-template-columns: 1fr 1fr; }
  .cat-toolbar > :first-child { grid-column: 1 / -1; }
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 36px 0 8px;
  flex-wrap: wrap;
}
.catalog-pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.catalog-pagination button:hover:not(:disabled) { border-color: var(--text-primary); }
.catalog-pagination button.active { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }
.catalog-pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

.noma-page-section { padding: 56px 0; }
.noma-section-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.noma-eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bronze-dark);
  margin-bottom: 8px;
}
.noma-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.noma-lead { color: #6B7280; font-size: 0.92rem; line-height: 1.7; margin: 0; }

/* ---------- Home: 5 categories ---------- */
.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.home-cat-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  color: #fff;
  text-decoration: none;
  background: #E9E5DE;
}
.home-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0) 55%);
}
.home-cat-card:hover img { transform: scale(1.06); }
.home-cat-card-body { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; }
.home-cat-card-title { font-family: var(--font-display); font-weight: 900; font-size: 1.02rem; letter-spacing: 0.02em; }
.home-cat-card-sub { font-size: 0.76rem; color: #E5E7EB; margin-top: 3px; }
.home-cat-card-cta { display: inline-flex; gap: 6px; margin-top: 10px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; border-bottom: 1px solid rgba(255,255,255,0.6); padding-bottom: 2px; }
@media (max-width: 1024px) { .home-cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .home-cat-grid { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .home-cat-card { scroll-snap-align: start; }
}

/* ---------- Home: size teaser ---------- */
.size-teaser {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #FAF9F6;
  border: 1px solid #EBE9E1;
  border-radius: 20px;
  padding: 44px;
}
.size-teaser-steps { display: grid; gap: 12px; margin: 22px 0 26px; }
.size-teaser-step { display: flex; gap: 14px; align-items: flex-start; font-size: 0.9rem; color: #374151; }
.size-teaser-step b {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: #141414; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.78rem;
}
.size-teaser-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 0.84rem; box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.size-teaser-table th { background: #141414; color: #fff; padding: 11px; font-weight: 700; text-align: center; }
.size-teaser-table td { padding: 10px; text-align: center; border-top: 1px solid #F0EEE9; }
@media (max-width: 860px) { .size-teaser { grid-template-columns: 1fr; padding: 28px 22px; } }

/* ---------- Home: reviews ---------- */
.home-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-review-card {
  background: #fff;
  border: 1px solid #ECEAE4;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-review-stars { color: var(--star-gold); letter-spacing: 2px; }
.home-review-text { font-size: 0.9rem; line-height: 1.65; color: #374151; flex: 1; margin: 0; }
.home-review-meta { font-size: 0.78rem; color: #6B7280; display: flex; justify-content: space-between; gap: 8px; }
.home-review-meta a { color: var(--accent-bronze-dark); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .home-reviews-grid { grid-template-columns: 1fr; } }

.home-service-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.home-service-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-radius: 12px;
  background: #FAF9F6;
  border: 1px solid #EBE9E1;
  font-size: 0.82rem;
  color: #4B5563;
}
.home-service-item strong { display: block; color: #141414; font-size: 0.88rem; }
.home-service-item span:first-child { font-size: 1.4rem; }
@media (max-width: 900px) { .home-service-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Sale page ---------- */
.sale-hero {
  background: #141414;
  color: #fff;
  overflow: hidden;
}
.sale-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 360px;
}
.sale-hero-text { padding: 56px 40px 56px 0; display: flex; flex-direction: column; justify-content: center; }
.sale-hero-big {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  color: #D7B79F;
  margin: 8px 0 14px;
}
.sale-hero-media { position: relative; }
.sale-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .sale-hero-grid { grid-template-columns: 1fr; }
  .sale-hero-media { min-height: 220px; order: -1; }
  .sale-hero-text { padding: 36px 0; }
}
.sale-voucher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.sale-voucher {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed #C9A88F;
  position: relative;
}
.sale-voucher-code { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; letter-spacing: 0.04em; }
.sale-voucher-desc { font-size: 0.78rem; color: #6B7280; margin-top: 4px; line-height: 1.5; }
.sale-voucher button {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: #141414;
  color: #fff;
  font-weight: 700;
  font-size: 0.76rem;
  cursor: pointer;
  font-family: inherit;
}
.sale-voucher button:hover { background: var(--accent-bronze-dark); }
.sale-campaigns { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sale-campaign {
  padding: 22px;
  border-radius: 14px;
  background: #FAF9F6;
  border: 1px solid #EBE9E1;
}
.sale-campaign h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 900; margin: 6px 0 8px; }
.sale-campaign p { font-size: 0.84rem; color: #4B5563; margin: 0; line-height: 1.6; }
.sale-badge { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; color: #fff; background: var(--accent-sale); padding: 3px 9px; border-radius: 6px; }

/* ---------- Size guide page ---------- */
.size-page-hero {
  background: #FAF9F6;
  border-bottom: 1px solid #EBE9E1;
  padding: 56px 0 44px;
}
.size-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 900;
  margin: 6px 0 12px;
  letter-spacing: -0.02em;
}
.size-method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.size-method-card {
  background: #fff;
  border: 1px solid #ECEAE4;
  border-radius: 14px;
  padding: 22px;
}
.size-method-card b {
  display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: #141414; color: #fff;
  align-items: center; justify-content: center; font-size: 0.82rem; margin-bottom: 12px;
}
.size-method-card h3 { font-size: 0.98rem; font-weight: 800; margin: 0 0 6px; }
.size-method-card p { font-size: 0.84rem; color: #4B5563; line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .size-method-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .size-method-grid { grid-template-columns: 1fr; } }

.size-full-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid #ECEAE4; background: #fff; }
.size-full-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
.size-full-table th { background: #141414; color: #fff; padding: 13px; text-align: center; font-weight: 700; }
.size-full-table td { padding: 12px; text-align: center; border-top: 1px solid #F0EEE9; }
.size-full-table tbody tr:hover { background: #FAF9F6; }

/* ---------- 404 ---------- */
.noma-404 { text-align: center; padding: 110px 0 120px; }
.noma-404-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; line-height: 1; color: #E9E5DE; }

/* ---------- Product page extras ---------- */
.pdp-qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 0.84rem; font-weight: 700; }
.pdp-qty-box { display: inline-flex; align-items: center; border: 1px solid #D1CFCA; border-radius: 8px; overflow: hidden; }
.pdp-qty-box button { width: 38px; height: 40px; border: none; background: #fff; font-size: 1.1rem; cursor: pointer; }
.pdp-qty-box button:hover { background: #F4F3EE; }
.pdp-qty-box span { min-width: 40px; text-align: center; font-weight: 800; }
.pdp-size-btn:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; background: #F3F4F6; }
.pdp-size-chart-panel { margin-top: 18px; border: 1px solid #EAE7DE; border-radius: 12px; overflow: hidden; }
.pdp-size-chart-panel summary { cursor: pointer; padding: 14px 18px; font-weight: 800; font-size: 0.86rem; background: #FAF9F6; list-style: none; }
.pdp-size-chart-panel summary::-webkit-details-marker { display: none; }
.pdp-size-chart-panel[open] summary { border-bottom: 1px solid #EAE7DE; }
.pdp-related { margin-top: 64px; }
